Gravity PDF - Version 6.5.0

Version Description

  • Housekeeping: Update Global Extension Settings UI to be Gravity Forms 2.5 compatible
  • Housekeeping: Adjust how admin Notices are handled on Gravity PDF pages
  • Housekeeping: Update JavaScript package bundle
  • Dev: Validate template filename when uploading via the PDF Template Manager (A-Za-z0-9_-)
  • Dev: Add filterable CSS class names to the PDF links in the admin area
  • Dev: Pass context to the gfpdf_core_template hook
  • Dev: Add gfpdf_core_template_{form_id} hook to target specific forms
  • Bug: Fix undefined rtl notice in Core PDF templates
  • Bug: Fix PHP8.1 notice when saving PDF settings
Download this release

Release Info

Developer Blue Liquid Designs
Plugin Icon 128x128 Gravity PDF
Version 6.5.0
Comparing to
See all releases

Code changes from version 6.4.7 to 6.5.0

Files changed (38) hide show
  1. README.txt +13 -2
  2. dist/assets/js/admin.min.js +1 -1
  3. dist/assets/js/app.bundle.min.js +10 -10
  4. dist/assets/js/chunk-142.988aa2760a0153882311.js +0 -1
  5. dist/assets/js/{chunk-291.1bffe2206b6fc15d1ea1.js → chunk-291.51bd6ead27d795b76da8.js} +1 -1
  6. dist/assets/js/chunk-299.1fdf7405a84ca5b5117f.js +1 -0
  7. dist/assets/js/{chunk-366.b79cfa9301292212ab1b.js → chunk-366.7e363cf3e253bf15052e.js} +2 -2
  8. dist/assets/js/{chunk-387.3910cac3d37c3b41392a.js → chunk-387.52e48aec20a21000c4ec.js} +5 -5
  9. dist/assets/js/{chunk-574.afb627ab66e1844b7932.js → chunk-574.e8df5093fdb37b32857e.js} +5 -5
  10. dist/assets/js/chunk-604.2ce3d257fe0b58a49cf4.js +0 -7
  11. dist/assets/js/chunk-604.67fc126baf3fa70ea4b2.js +7 -0
  12. dist/assets/js/{chunk-8.7f9cd7c302c223d62f3c.js → chunk-8.adcb74a42ec3dad1697e.js} +1 -1
  13. dist/assets/js/{chunk-872.1db5008e5ad375567658.js → chunk-872.d9934f8bdc2a871c5bb5.js} +1 -1
  14. dist/assets/js/{chunk-88.3fdd159572e48a92c54f.js → chunk-88.59f12724a752bfc35689.js} +1 -1
  15. pdf.php +2 -2
  16. src/Helper/Helper_Abstract_Addon.php +132 -17
  17. src/Helper/Helper_Interface_Extension_Settings.php +1 -1
  18. src/Helper/Helper_Notices.php +88 -59
  19. src/Model/Model_Form_Settings.php +1 -1
  20. src/Model/Model_PDF.php +1 -0
  21. src/Model/Model_Templates.php +8 -2
  22. src/View/View_Settings.php +46 -2
  23. src/View/html/PDF/core_template_styles.php +2 -1
  24. src/View/html/PDF/entry_detailed_pdf.php +2 -2
  25. src/View/html/PDF/entry_list_pdf_multiple.php +2 -0
  26. src/View/html/PDF/entry_list_pdf_single.php +5 -1
  27. src/View/html/Settings/extensions.php +20 -13
  28. src/View/html/Settings/help.php +2 -0
  29. src/View/html/Settings/licence.php +2 -0
  30. src/View/html/Settings/tools.php +2 -0
  31. src/assets/languages/gravity-forms-pdf-extended.pot +33 -33
  32. src/bootstrap.php +6 -2
  33. src/templates/blank-slate.php +2 -2
  34. src/templates/focus-gravity.php +2 -2
  35. src/templates/rubix.php +2 -2
  36. src/templates/zadani.php +2 -2
  37. vendor/autoload.php +15 -2
  38. vendor/composer/installed.php +6 -6
README.txt CHANGED
@@ -4,8 +4,8 @@ Plugin URI: https://gravitypdf.com/
4
  Donate link: https://gravitypdf.com/donate-to-plugin/
5
  Tags: gravityforms, gravity, forms, pdf, automation, attachment, email
6
  Requires at least: 5.3
7
- Tested up to: 6.0
8
- Stable tag: 6.4.7
9
  Requires PHP: 7.3
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl.txt
@@ -107,6 +107,17 @@ If you aren't able to meet the v6 minimum requirements [you can download v5 whic
107
 
108
  == Changelog ==
109
 
 
 
 
 
 
 
 
 
 
 
 
110
  = 6.4.7 =
111
  * Bug: Resolve blank PDF problem when a large HTML block is processed by mPDF
112
  * Bug: Resolve QueryPath deprecation notice about passing null to trim()
4
  Donate link: https://gravitypdf.com/donate-to-plugin/
5
  Tags: gravityforms, gravity, forms, pdf, automation, attachment, email
6
  Requires at least: 5.3
7
+ Tested up to: 6.1
8
+ Stable tag: 6.5.0
9
  Requires PHP: 7.3
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl.txt
107
 
108
  == Changelog ==
109
 
110
+ = 6.5.0 =
111
+ * Housekeeping: Update Global Extension Settings UI to be Gravity Forms 2.5 compatible
112
+ * Housekeeping: Adjust how admin Notices are handled on Gravity PDF pages
113
+ * Housekeeping: Update JavaScript package bundle
114
+ * Dev: Validate template filename when uploading via the PDF Template Manager (A-Za-z0-9_-)
115
+ * Dev: Add filterable CSS class names to the PDF links in the admin area
116
+ * Dev: Pass context to the `gfpdf_core_template` hook
117
+ * Dev: Add `gfpdf_core_template_{form_id}` hook to target specific forms
118
+ * Bug: Fix undefined `rtl` notice in Core PDF templates
119
+ * Bug: Fix PHP8.1 notice when saving PDF settings
120
+
121
  = 6.4.7 =
122
  * Bug: Resolve blank PDF problem when a large HTML block is processed by mPDF
123
  * Bug: Resolve QueryPath deprecation notice about passing null to trim()
dist/assets/js/admin.min.js CHANGED
@@ -1 +1 @@
1
- (()=>{var t={9662:(t,e,n)=>{var r=n(614),i=n(6330),o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not a function")}},9483:(t,e,n)=>{var r=n(4411),i=n(6330),o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not a constructor")}},6077:(t,e,n)=>{var r=n(614),i=String,o=TypeError;t.exports=function(t){if("object"==typeof t||r(t))return t;throw o("Can't set "+i(t)+" as a prototype")}},1530:(t,e,n)=>{"use strict";var r=n(8710).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},9670:(t,e,n)=>{var r=n(111),i=String,o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not an object")}},1318:(t,e,n)=>{var r=n(5656),i=n(1400),o=n(6244),a=function(t){return function(e,n,a){var s,c=r(e),f=o(c),u=i(a,f);if(t&&n!=n){for(;f>u;)if((s=c[u++])!=s)return!0}else for(;f>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},1589:(t,e,n)=>{var r=n(1400),i=n(6244),o=n(6135),a=Array,s=Math.max;t.exports=function(t,e,n){for(var c=i(t),f=r(e,c),u=r(void 0===n?c:n,c),p=a(s(u-f,0)),l=0;f<u;f++,l++)o(p,l,t[f]);return p.length=l,p}},4326:(t,e,n)=>{var r=n(1702),i=r({}.toString),o=r("".slice);t.exports=function(t){return o(i(t),8,-1)}},648:(t,e,n)=>{var r=n(1694),i=n(614),o=n(4326),a=n(5112)("toStringTag"),s=Object,c="Arguments"==o(function(){return arguments}());t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=s(t),a))?n:c?o(e):"Object"==(r=o(e))&&i(e.callee)?"Arguments":r}},9920:(t,e,n)=>{var r=n(2597),i=n(3887),o=n(1236),a=n(3070);t.exports=function(t,e,n){for(var s=i(e),c=a.f,f=o.f,u=0;u<s.length;u++){var p=s[u];r(t,p)||n&&r(n,p)||c(t,p,f(e,p))}}},8880:(t,e,n)=>{var r=n(9781),i=n(3070),o=n(9114);t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9114:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6135:(t,e,n)=>{"use strict";var r=n(4948),i=n(3070),o=n(9114);t.exports=function(t,e,n){var a=r(e);a in t?i.f(t,a,o(0,n)):t[a]=n}},7045:(t,e,n)=>{var r=n(6339),i=n(3070);t.exports=function(t,e,n){return n.get&&r(n.get,e,{getter:!0}),n.set&&r(n.set,e,{setter:!0}),i.f(t,e,n)}},8052:(t,e,n)=>{var r=n(614),i=n(3070),o=n(6339),a=n(3072);t.exports=function(t,e,n,s){s||(s={});var c=s.enumerable,f=void 0!==s.name?s.name:e;if(r(n)&&o(n,f,s),s.global)c?t[e]=n:a(e,n);else{try{s.unsafe?t[e]&&(c=!0):delete t[e]}catch(t){}c?t[e]=n:i.f(t,e,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},3072:(t,e,n)=>{var r=n(7854),i=Object.defineProperty;t.exports=function(t,e){try{i(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},9781:(t,e,n)=>{var r=n(7293);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:(t,e,n)=>{var r=n(7854),i=n(111),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},8113:(t,e,n)=>{var r=n(5005);t.exports=r("navigator","userAgent")||""},7392:(t,e,n)=>{var r,i,o=n(7854),a=n(8113),s=o.process,c=o.Deno,f=s&&s.versions||c&&c.version,u=f&&f.v8;u&&(i=(r=u.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=+r[1]),t.exports=i},748:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(t,e,n)=>{var r=n(7854),i=n(1236).f,o=n(8880),a=n(8052),s=n(3072),c=n(9920),f=n(4705);t.exports=function(t,e){var n,u,p,l,d,g=t.target,v=t.global,h=t.stat;if(n=v?r:h?r[g]||s(g,{}):(r[g]||{}).prototype)for(u in e){if(l=e[u],p=t.dontCallGetSet?(d=i(n,u))&&d.value:n[u],!f(v?u:g+(h?".":"#")+u,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;c(l,p)}(t.sham||p&&p.sham)&&o(l,"sham",!0),a(n,u,l,t)}}},7293:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},7007:(t,e,n)=>{"use strict";n(4916);var r=n(1702),i=n(8052),o=n(2261),a=n(7293),s=n(5112),c=n(8880),f=s("species"),u=RegExp.prototype;t.exports=function(t,e,n,p){var l=s(t),d=!a((function(){var e={};return e[l]=function(){return 7},7!=""[t](e)})),g=d&&!a((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[f]=function(){return n},n.flags="",n[l]=/./[l]),n.exec=function(){return e=!0,null},n[l](""),!e}));if(!d||!g||n){var v=r(/./[l]),h=e(l,""[t],(function(t,e,n,i,a){var s=r(t),c=e.exec;return c===o||c===u.exec?d&&!a?{done:!0,value:v(e,n,i)}:{done:!0,value:s(n,e,i)}:{done:!1}}));i(String.prototype,t,h[0]),i(u,l,h[1])}p&&c(u[l],"sham",!0)}},2104:(t,e,n)=>{var r=n(4374),i=Function.prototype,o=i.apply,a=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(o):function(){return a.apply(o,arguments)})},4374:(t,e,n)=>{var r=n(7293);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:(t,e,n)=>{var r=n(4374),i=Function.prototype.call;t.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},6530:(t,e,n)=>{var r=n(9781),i=n(2597),o=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=i(o,"name"),c=s&&"something"===function(){}.name,f=s&&(!r||r&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:c,CONFIGURABLE:f}},1702:(t,e,n)=>{var r=n(4374),i=Function.prototype,o=i.bind,a=i.call,s=r&&o.bind(a,a);t.exports=r?function(t){return t&&s(t)}:function(t){return t&&function(){return a.apply(t,arguments)}}},5005:(t,e,n)=>{var r=n(7854),i=n(614),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t]):r[t]&&r[t][e]}},8173:(t,e,n)=>{var r=n(9662);t.exports=function(t,e){var n=t[e];return null==n?void 0:r(n)}},647:(t,e,n)=>{var r=n(1702),i=n(7908),o=Math.floor,a=r("".charAt),s=r("".replace),c=r("".slice),f=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,r,p,l){var d=n+t.length,g=r.length,v=u;return void 0!==p&&(p=i(p),v=f),s(l,v,(function(i,s){var f;switch(a(s,0)){case"$":return"$";case"&":return t;case"`":return c(e,0,n);case"'":return c(e,d);case"<":f=p[c(s,1,-1)];break;default:var u=+s;if(0===u)return i;if(u>g){var l=o(u/10);return 0===l?i:l<=g?void 0===r[l-1]?a(s,1):r[l-1]+a(s,1):i}f=r[u-1]}return void 0===f?"":f}))}},7854:(t,e,n)=>{var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2597:(t,e,n)=>{var r=n(1702),i=n(7908),o=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},3501:t=>{t.exports={}},490:(t,e,n)=>{var r=n(5005);t.exports=r("document","documentElement")},4664:(t,e,n)=>{var r=n(9781),i=n(7293),o=n(317);t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},8361:(t,e,n)=>{var r=n(1702),i=n(7293),o=n(4326),a=Object,s=r("".split);t.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?s(t,""):a(t)}:a},9587:(t,e,n)=>{var r=n(614),i=n(111),o=n(7674);t.exports=function(t,e,n){var a,s;return o&&r(a=e.constructor)&&a!==n&&i(s=a.prototype)&&s!==n.prototype&&o(t,s),t}},2788:(t,e,n)=>{var r=n(1702),i=n(614),o=n(5465),a=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},9909:(t,e,n)=>{var r,i,o,a=n(8536),s=n(7854),c=n(1702),f=n(111),u=n(8880),p=n(2597),l=n(5465),d=n(6200),g=n(3501),v="Object already initialized",h=s.TypeError,m=s.WeakMap;if(a||l.state){var _=l.state||(l.state=new m),y=c(_.get),b=c(_.has),x=c(_.set);r=function(t,e){if(b(_,t))throw new h(v);return e.facade=t,x(_,t,e),e},i=function(t){return y(_,t)||{}},o=function(t){return b(_,t)}}else{var w=d("state");g[w]=!0,r=function(t,e){if(p(t,w))throw new h(v);return e.facade=t,u(t,w,e),e},i=function(t){return p(t,w)?t[w]:{}},o=function(t){return p(t,w)}}t.exports={set:r,get:i,has:o,enforce:function(t){return o(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!f(e)||(n=i(e)).type!==t)throw h("Incompatible receiver, "+t+" required");return n}}}},614:t=>{t.exports=function(t){return"function"==typeof t}},4411:(t,e,n)=>{var r=n(1702),i=n(7293),o=n(614),a=n(648),s=n(5005),c=n(2788),f=function(){},u=[],p=s("Reflect","construct"),l=/^\s*(?:class|function)\b/,d=r(l.exec),g=!l.exec(f),v=function(t){if(!o(t))return!1;try{return p(f,u,t),!0}catch(t){return!1}},h=function(t){if(!o(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return g||!!d(l,c(t))}catch(t){return!0}};h.sham=!0,t.exports=!p||i((function(){var t;return v(v.call)||!v(Object)||!v((function(){t=!0}))||t}))?h:v},4705:(t,e,n)=>{var r=n(7293),i=n(614),o=/#|\.prototype\./,a=function(t,e){var n=c[s(t)];return n==u||n!=f&&(i(e)?r(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=a.data={},f=a.NATIVE="N",u=a.POLYFILL="P";t.exports=a},111:(t,e,n)=>{var r=n(614);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},1913:t=>{t.exports=!1},7850:(t,e,n)=>{var r=n(111),i=n(4326),o=n(5112)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},2190:(t,e,n)=>{var r=n(5005),i=n(614),o=n(7976),a=n(3307),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return i(e)&&o(e.prototype,s(t))}},6244:(t,e,n)=>{var r=n(7466);t.exports=function(t){return r(t.length)}},6339:(t,e,n)=>{var r=n(7293),i=n(614),o=n(2597),a=n(9781),s=n(6530).CONFIGURABLE,c=n(2788),f=n(9909),u=f.enforce,p=f.get,l=Object.defineProperty,d=a&&!r((function(){return 8!==l((function(){}),"length",{value:8}).length})),g=String(String).split("String"),v=t.exports=function(t,e,n){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!o(t,"name")||s&&t.name!==e)&&(a?l(t,"name",{value:e,configurable:!0}):t.name=e),d&&n&&o(n,"arity")&&t.length!==n.arity&&l(t,"length",{value:n.arity});try{n&&o(n,"constructor")&&n.constructor?a&&l(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var r=u(t);return o(r,"source")||(r.source=g.join("string"==typeof e?e:"")),t};Function.prototype.toString=v((function(){return i(this)&&p(this).source||c(this)}),"toString")},4758:t=>{var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var r=+t;return(r>0?n:e)(r)}},133:(t,e,n)=>{var r=n(7392),i=n(7293);t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8536:(t,e,n)=>{var r=n(7854),i=n(614),o=n(2788),a=r.WeakMap;t.exports=i(a)&&/native code/.test(o(a))},30:(t,e,n)=>{var r,i=n(9670),o=n(6048),a=n(748),s=n(3501),c=n(490),f=n(317),u=n(6200),p=u("IE_PROTO"),l=function(){},d=function(t){return"<script>"+t+"</"+"script>"},g=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},v=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,e;v="undefined"!=typeof document?document.domain&&r?g(r):((e=f("iframe")).style.display="none",c.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F):g(r);for(var n=a.length;n--;)delete v.prototype[a[n]];return v()};s[p]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(l.prototype=i(t),n=new l,l.prototype=null,n[p]=t):n=v(),void 0===e?n:o.f(n,e)}},6048:(t,e,n)=>{var r=n(9781),i=n(3353),o=n(3070),a=n(9670),s=n(5656),c=n(1956);e.f=r&&!i?Object.defineProperties:function(t,e){a(t);for(var n,r=s(e),i=c(e),f=i.length,u=0;f>u;)o.f(t,n=i[u++],r[n]);return t}},3070:(t,e,n)=>{var r=n(9781),i=n(4664),o=n(3353),a=n(9670),s=n(4948),c=TypeError,f=Object.defineProperty,u=Object.getOwnPropertyDescriptor,p="enumerable",l="configurable",d="writable";e.f=r?o?function(t,e,n){if(a(t),e=s(e),a(n),"function"==typeof t&&"prototype"===e&&"value"in n&&d in n&&!n.writable){var r=u(t,e);r&&r.writable&&(t[e]=n.value,n={configurable:l in n?n.configurable:r.configurable,enumerable:p in n?n.enumerable:r.enumerable,writable:!1})}return f(t,e,n)}:f:function(t,e,n){if(a(t),e=s(e),a(n),i)try{return f(t,e,n)}catch(t){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},1236:(t,e,n)=>{var r=n(9781),i=n(6916),o=n(5296),a=n(9114),s=n(5656),c=n(4948),f=n(2597),u=n(4664),p=Object.getOwnPropertyDescriptor;e.f=r?p:function(t,e){if(t=s(t),e=c(e),u)try{return p(t,e)}catch(t){}if(f(t,e))return a(!i(o.f,t,e),t[e])}},8006:(t,e,n)=>{var r=n(6324),i=n(748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},5181:(t,e)=>{e.f=Object.getOwnPropertySymbols},7976:(t,e,n)=>{var r=n(1702);t.exports=r({}.isPrototypeOf)},6324:(t,e,n)=>{var r=n(1702),i=n(2597),o=n(5656),a=n(1318).indexOf,s=n(3501),c=r([].push);t.exports=function(t,e){var n,r=o(t),f=0,u=[];for(n in r)!i(s,n)&&i(r,n)&&c(u,n);for(;e.length>f;)i(r,n=e[f++])&&(~a(u,n)||c(u,n));return u}},1956:(t,e,n)=>{var r=n(6324),i=n(748);t.exports=Object.keys||function(t){return r(t,i)}},5296:(t,e)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);e.f=i?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},7674:(t,e,n)=>{var r=n(1702),i=n(9670),o=n(6077);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return i(n),o(r),e?t(n,r):n.__proto__=r,n}}():void 0)},2140:(t,e,n)=>{var r=n(6916),i=n(614),o=n(111),a=TypeError;t.exports=function(t,e){var n,s;if("string"===e&&i(n=t.toString)&&!o(s=r(n,t)))return s;if(i(n=t.valueOf)&&!o(s=r(n,t)))return s;if("string"!==e&&i(n=t.toString)&&!o(s=r(n,t)))return s;throw a("Can't convert object to primitive value")}},3887:(t,e,n)=>{var r=n(5005),i=n(1702),o=n(8006),a=n(5181),s=n(9670),c=i([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(s(t)),n=a.f;return n?c(e,n(t)):e}},2626:(t,e,n)=>{var r=n(3070).f;t.exports=function(t,e,n){n in t||r(t,n,{configurable:!0,get:function(){return e[n]},set:function(t){e[n]=t}})}},7651:(t,e,n)=>{var r=n(6916),i=n(9670),o=n(614),a=n(4326),s=n(2261),c=TypeError;t.exports=function(t,e){var n=t.exec;if(o(n)){var f=r(n,t,e);return null!==f&&i(f),f}if("RegExp"===a(t))return r(s,t,e);throw c("RegExp#exec called on incompatible receiver")}},2261:(t,e,n)=>{"use strict";var r,i,o=n(6916),a=n(1702),s=n(1340),c=n(7066),f=n(2999),u=n(2309),p=n(30),l=n(9909).get,d=n(9441),g=n(7168),v=u("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,m=h,_=a("".charAt),y=a("".indexOf),b=a("".replace),x=a("".slice),w=(i=/b*/g,o(h,r=/a/,"a"),o(h,i,"a"),0!==r.lastIndex||0!==i.lastIndex),S=f.BROKEN_CARET,O=void 0!==/()??/.exec("")[1];(w||O||S||d||g)&&(m=function(t){var e,n,r,i,a,f,u,d=this,g=l(d),E=s(t),j=g.raw;if(j)return j.lastIndex=d.lastIndex,e=o(m,j,E),d.lastIndex=j.lastIndex,e;var C=g.groups,P=S&&d.sticky,F=o(c,d),A=d.source,I=0,R=E;if(P&&(F=b(F,"y",""),-1===y(F,"g")&&(F+="g"),R=x(E,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==_(E,d.lastIndex-1))&&(A="(?: "+A+")",R=" "+R,I++),n=new RegExp("^(?:"+A+")",F)),O&&(n=new RegExp("^"+A+"$(?!\\s)",F)),w&&(r=d.lastIndex),i=o(h,P?n:d,R),P?i?(i.input=x(i.input,I),i[0]=x(i[0],I),i.index=d.lastIndex,d.lastIndex+=i[0].length):d.lastIndex=0:w&&i&&(d.lastIndex=d.global?i.index+i[0].length:r),O&&i&&i.length>1&&o(v,i[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)})),i&&C)for(i.groups=f=p(null),a=0;a<C.length;a++)f[(u=C[a])[0]]=i[u[1]];return i}),t.exports=m},7066:(t,e,n)=>{"use strict";var r=n(9670);t.exports=function(){var t=r(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},4706:(t,e,n)=>{var r=n(6916),i=n(2597),o=n(7976),a=n(7066),s=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in s||i(t,"flags")||!o(s,t)?e:r(a,t)}},2999:(t,e,n)=>{var r=n(7293),i=n(7854).RegExp,o=r((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),a=o||r((function(){return!i("a","y").sticky})),s=o||r((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:o}},9441:(t,e,n)=>{var r=n(7293),i=n(7854).RegExp;t.exports=r((function(){var t=i(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},7168:(t,e,n)=>{var r=n(7293),i=n(7854).RegExp;t.exports=r((function(){var t=i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},4488:t=>{var e=TypeError;t.exports=function(t){if(null==t)throw e("Can't call method on "+t);return t}},6340:(t,e,n)=>{"use strict";var r=n(5005),i=n(3070),o=n(5112),a=n(9781),s=o("species");t.exports=function(t){var e=r(t),n=i.f;a&&e&&!e[s]&&n(e,s,{configurable:!0,get:function(){return this}})}},6200:(t,e,n)=>{var r=n(2309),i=n(9711),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},5465:(t,e,n)=>{var r=n(7854),i=n(3072),o="__core-js_shared__",a=r[o]||i(o,{});t.exports=a},2309:(t,e,n)=>{var r=n(1913),i=n(5465);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.24.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE",source:"https://github.com/zloirock/core-js"})},6707:(t,e,n)=>{var r=n(9670),i=n(9483),o=n(5112)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[o])?e:i(n)}},8710:(t,e,n)=>{var r=n(1702),i=n(9303),o=n(1340),a=n(4488),s=r("".charAt),c=r("".charCodeAt),f=r("".slice),u=function(t){return function(e,n){var r,u,p=o(a(e)),l=i(n),d=p.length;return l<0||l>=d?t?"":void 0:(r=c(p,l))<55296||r>56319||l+1===d||(u=c(p,l+1))<56320||u>57343?t?s(p,l):r:t?f(p,l,l+2):u-56320+(r-55296<<10)+65536}};t.exports={codeAt:u(!1),charAt:u(!0)}},1400:(t,e,n)=>{var r=n(9303),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},5656:(t,e,n)=>{var r=n(8361),i=n(4488);t.exports=function(t){return r(i(t))}},9303:(t,e,n)=>{var r=n(4758);t.exports=function(t){var e=+t;return e!=e||0===e?0:r(e)}},7466:(t,e,n)=>{var r=n(9303),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},7908:(t,e,n)=>{var r=n(4488),i=Object;t.exports=function(t){return i(r(t))}},7593:(t,e,n)=>{var r=n(6916),i=n(111),o=n(2190),a=n(8173),s=n(2140),c=n(5112),f=TypeError,u=c("toPrimitive");t.exports=function(t,e){if(!i(t)||o(t))return t;var n,c=a(t,u);if(c){if(void 0===e&&(e="default"),n=r(c,t,e),!i(n)||o(n))return n;throw f("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},4948:(t,e,n)=>{var r=n(7593),i=n(2190);t.exports=function(t){var e=r(t,"string");return i(e)?e:e+""}},1694:(t,e,n)=>{var r={};r[n(5112)("toStringTag")]="z",t.exports="[object z]"===String(r)},1340:(t,e,n)=>{var r=n(648),i=String;t.exports=function(t){if("Symbol"===r(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},6330:t=>{var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},9711:(t,e,n)=>{var r=n(1702),i=0,o=Math.random(),a=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++i+o,36)}},3307:(t,e,n)=>{var r=n(133);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:(t,e,n)=>{var r=n(9781),i=n(7293);t.exports=r&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5112:(t,e,n)=>{var r=n(7854),i=n(2309),o=n(2597),a=n(9711),s=n(133),c=n(3307),f=i("wks"),u=r.Symbol,p=u&&u.for,l=c?u:u&&u.withoutSetter||a;t.exports=function(t){if(!o(f,t)||!s&&"string"!=typeof f[t]){var e="Symbol."+t;s&&o(u,t)?f[t]=u[t]:f[t]=c&&p?p(e):l(e)}return f[t]}},4603:(t,e,n)=>{var r=n(9781),i=n(7854),o=n(1702),a=n(4705),s=n(9587),c=n(8880),f=n(8006).f,u=n(7976),p=n(7850),l=n(1340),d=n(4706),g=n(2999),v=n(2626),h=n(8052),m=n(7293),_=n(2597),y=n(9909).enforce,b=n(6340),x=n(5112),w=n(9441),S=n(7168),O=x("match"),E=i.RegExp,j=E.prototype,C=i.SyntaxError,P=o(j.exec),F=o("".charAt),A=o("".replace),I=o("".indexOf),R=o("".slice),k=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,T=/a/g,M=/a/g,D=new E(T)!==T,L=g.MISSED_STICKY,N=g.UNSUPPORTED_Y,U=r&&(!D||L||w||S||m((function(){return M[O]=!1,E(T)!=T||E(M)==M||"/a/i"!=E(T,"i")})));if(a("RegExp",U)){for(var G=function(t,e){var n,r,i,o,a,f,g=u(j,this),v=p(t),h=void 0===e,m=[],b=t;if(!g&&v&&h&&t.constructor===G)return t;if((v||u(j,t))&&(t=t.source,h&&(e=d(b))),t=void 0===t?"":l(t),e=void 0===e?"":l(e),b=t,w&&"dotAll"in T&&(r=!!e&&I(e,"s")>-1)&&(e=A(e,/s/g,"")),n=e,L&&"sticky"in T&&(i=!!e&&I(e,"y")>-1)&&N&&(e=A(e,/y/g,"")),S&&(o=function(t){for(var e,n=t.length,r=0,i="",o=[],a={},s=!1,c=!1,f=0,u="";r<=n;r++){if("\\"===(e=F(t,r)))e+=F(t,++r);else if("]"===e)s=!1;else if(!s)switch(!0){case"["===e:s=!0;break;case"("===e:P(k,R(t,r+1))&&(r+=2,c=!0),i+=e,f++;continue;case">"===e&&c:if(""===u||_(a,u))throw new C("Invalid capture group name");a[u]=!0,o[o.length]=[u,f],c=!1,u="";continue}c?u+=e:i+=e}return[i,o]}(t),t=o[0],m=o[1]),a=s(E(t,e),g?this:j,G),(r||i||m.length)&&(f=y(a),r&&(f.dotAll=!0,f.raw=G(function(t){for(var e,n=t.length,r=0,i="",o=!1;r<=n;r++)"\\"!==(e=F(t,r))?o||"."!==e?("["===e?o=!0:"]"===e&&(o=!1),i+=e):i+="[\\s\\S]":i+=e+F(t,++r);return i}(t),n)),i&&(f.sticky=!0),m.length&&(f.groups=m)),t!==b)try{c(a,"source",""===b?"(?:)":b)}catch(t){}return a},$=f(E),z=0;$.length>z;)v(G,E,$[z++]);j.constructor=G,G.prototype=j,h(i,"RegExp",G,{constructor:!0})}b("RegExp")},8450:(t,e,n)=>{var r=n(9781),i=n(9441),o=n(4326),a=n(7045),s=n(9909).get,c=RegExp.prototype,f=TypeError;r&&i&&a(c,"dotAll",{configurable:!0,get:function(){if(this!==c){if("RegExp"===o(this))return!!s(this).dotAll;throw f("Incompatible receiver, RegExp required")}}})},4916:(t,e,n)=>{"use strict";var r=n(2109),i=n(2261);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},9714:(t,e,n)=>{"use strict";var r=n(6530).PROPER,i=n(8052),o=n(9670),a=n(1340),s=n(7293),c=n(4706),f="toString",u=RegExp.prototype.toString,p=s((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),l=r&&u.name!=f;(p||l)&&i(RegExp.prototype,f,(function(){var t=o(this);return"/"+a(t.source)+"/"+a(c(t))}),{unsafe:!0})},5306:(t,e,n)=>{"use strict";var r=n(2104),i=n(6916),o=n(1702),a=n(7007),s=n(7293),c=n(9670),f=n(614),u=n(9303),p=n(7466),l=n(1340),d=n(4488),g=n(1530),v=n(8173),h=n(647),m=n(7651),_=n(5112)("replace"),y=Math.max,b=Math.min,x=o([].concat),w=o([].push),S=o("".indexOf),O=o("".slice),E="$0"==="a".replace(/./,"$0"),j=!!/./[_]&&""===/./[_]("a","$0");a("replace",(function(t,e,n){var o=j?"$":"$0";return[function(t,n){var r=d(this),o=null==t?void 0:v(t,_);return o?i(o,t,r,n):i(e,l(r),t,n)},function(t,i){var a=c(this),s=l(t);if("string"==typeof i&&-1===S(i,o)&&-1===S(i,"$<")){var d=n(e,a,s,i);if(d.done)return d.value}var v=f(i);v||(i=l(i));var _=a.global;if(_){var E=a.unicode;a.lastIndex=0}for(var j=[];;){var C=m(a,s);if(null===C)break;if(w(j,C),!_)break;""===l(C[0])&&(a.lastIndex=g(s,p(a.lastIndex),E))}for(var P,F="",A=0,I=0;I<j.length;I++){for(var R=l((C=j[I])[0]),k=y(b(u(C.index),s.length),0),T=[],M=1;M<C.length;M++)w(T,void 0===(P=C[M])?P:String(P));var D=C.groups;if(v){var L=x([R],T,k,s);void 0!==D&&w(L,D);var N=l(r(i,void 0,L))}else N=h(R,s,k,T,D,i);k>=A&&(F+=O(s,A,k)+N,A=k+R.length)}return F+O(s,A)}]}),!!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!E||j)},3123:(t,e,n)=>{"use strict";var r=n(2104),i=n(6916),o=n(1702),a=n(7007),s=n(7850),c=n(9670),f=n(4488),u=n(6707),p=n(1530),l=n(7466),d=n(1340),g=n(8173),v=n(1589),h=n(7651),m=n(2261),_=n(2999),y=n(7293),b=_.UNSUPPORTED_Y,x=4294967295,w=Math.min,S=[].push,O=o(/./.exec),E=o(S),j=o("".slice);a("split",(function(t,e,n){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var o=d(f(this)),a=void 0===n?x:n>>>0;if(0===a)return[];if(void 0===t)return[o];if(!s(t))return i(e,o,t,a);for(var c,u,p,l=[],g=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),h=0,_=new RegExp(t.source,g+"g");(c=i(m,_,o))&&!((u=_.lastIndex)>h&&(E(l,j(o,h,c.index)),c.length>1&&c.index<o.length&&r(S,l,v(c,1)),p=c[0].length,h=u,l.length>=a));)_.lastIndex===c.index&&_.lastIndex++;return h===o.length?!p&&O(_,"")||E(l,""):E(l,j(o,h)),l.length>a?v(l,0,a):l}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:i(e,this,t,n)}:e,[function(e,n){var r=f(this),a=null==e?void 0:g(e,t);return a?i(a,e,r,n):i(o,d(r),e,n)},function(t,r){var i=c(this),a=d(t),s=n(o,i,a,r,o!==e);if(s.done)return s.value;var f=u(i,RegExp),g=i.unicode,v=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(b?"g":"y"),m=new f(b?"^(?:"+i.source+")":i,v),_=void 0===r?x:r>>>0;if(0===_)return[];if(0===a.length)return null===h(m,a)?[a]:[];for(var y=0,S=0,O=[];S<a.length;){m.lastIndex=b?0:S;var C,P=h(m,b?j(a,S):a);if(null===P||(C=w(l(m.lastIndex+(b?S:0)),a.length))===y)S=p(a,S,g);else{if(E(O,j(a,y,S)),O.length===_)return O;for(var F=1;F<=P.length-1;F++)if(E(O,P[F]),O.length===_)return O;S=y=C}}return E(O,j(a,y)),O}]}),!!y((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),b)},3753:(t,e,n)=>{"use strict";var r=n(2109),i=n(6916);r({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this)}})}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={exports:{}};return t[r](o,o.exports,n),o.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";const t=jQuery;var e=n.n(t);n(3753);function r(t,n){return e().ajax({type:"post",dataType:"json",url:GFPDF.ajaxUrl,data:t,success:n,error:n})}function i(t){return e()("<img alt="+GFPDF.spinnerAlt+" src="+GFPDF.spinnerUrl+" class="+t+" />")}function o(t){var n=e()("#gfpdf-settings-field-wrapper-font, #gfpdf-settings-field-wrapper-font_size, #gfpdf-settings-field-wrapper-font_colour");"legacy"===t?n.hide():n.show()}function a(t,e,n,r){var i="submit-container-"+n;if(!t.classList.contains("gform-settings-panel--collapsed")){var o=e.querySelector("#submit").cloneNode(!0);o.setAttribute("id","submit_"+n);var a=document.createElement("div");return a.setAttribute("class",i),a.innerHTML=o.outerHTML,t.parentNode.insertBefore(a,t.nextSibling)}r||document.querySelector(".".concat(i)).remove()}function s(){e()("#gfpdf_settings\\[template\\]").off("change").on("change",(function(){var t=i("gfpdf-spinner-template");e()(this).next().after(t),r({action:"gfpdf_get_template_fields",nonce:GFPDF.ajaxNonce,template:e()(this).val(),type:e()(this).attr("id"),id:e()("#gform_id").val(),gform_pdf_id:e()("#gform_pdf_id").val()},(function(n){var r,i,s=e()(".submit-container-2")[0];t.remove(),e()('input[name="gfpdf_settings[advanced_template]"][value="No"]').prop("checked",!0).trigger("change"),n.fields?(e().each(n.editors,(function(t,e){var n=tinyMCE.get(e);if(null!==n)try{tinyMCE.remove(n)}catch(t){}})),s||a(e()("#gfpdf-fieldset-gfpdf_form_settings_template")[0],e()("#gfpdf_pdf_form")[0],"2"),e()("#gfpdf-fieldset-gfpdf_form_settings_template").show().find(".gform-settings-panel__content").html(n.fields),r=n.editors,null!=(i=n.editor_init)&&(i.body_class="id post-type-post post-status-publish post-format-standard",i.formats={alignleft:[{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"left"}},{selector:"img,table,dl.wp-caption",classes:"alignleft"}],aligncenter:[{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"center"}},{selector:"img,table,dl.wp-caption",classes:"aligncenter"}],alignright:[{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"right"}},{selector:"img,table,dl.wp-caption",classes:"alignright"}],strikethrough:{inline:"del"}},i.content_style='body#tinymce { max-width: 100%; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;}'),e().each(r,(function(t,e){i.selector="#"+e,tinyMCE.init(i),tinyMCE.execCommand("mceAddEditor",!1,e),"function"==typeof QTags&&(QTags({id:e}),QTags._buttonsInit(),"function"==typeof switchEditors.switchto&&switchEditors.switchto(jQuery("#wp-"+e+"-wrap").find(".wp-switch-editor.switch-"+("html"===getUserSetting("editor")?"html":"tmce"))[0]))})),c.runElements(),window.gfMergeTags&&"undefined"!=typeof form&&e()("#gfpdf-fieldset-gfpdf_form_settings_template .merge-tag-support").length>=0&&(e()("#gfpdf-fieldset-gfpdf_form_settings_template .merge-tag-support").each((function(){new gfMergeTagsObj(form,e()(this))})),e()("#gfpdf-fieldset-gfpdf_form_settings_template .gform-settings-field").each((function(){e()(this).find(".merge-tag-support, .merge-tag-support + span").wrapAll('<div class="gform-settings-input__container gform-settings-input__container--with-merge-tag"></div>'),e()(this).find(".all-merge-tags.textarea").parent().wrapAll('<div class="gform-settings-input__container gform-settings-input__container--with-merge-tag gfpdf-merge-tag-container"></div>')}))),gform_initialize_tooltips()):(s&&s.remove(),e()("#gfpdf-fieldset-gfpdf_form_settings_template").hide().find(".gform-settings-panel__content").html("")),n.template_type&&o(n.template_type),e()(document).trigger("gfpdf_template_loaded",[n])}))}))}var c=new class{runElements(){var t;"undefined"!=typeof gf_vars&&(gf_vars.thisFormButton=GFPDF.conditionalText,gf_vars.show=GFPDF.enable,gf_vars.hide=GFPDF.disable),window.formfield="",e()("body").off("click",".gfpdf_settings_upload_button").on("click",".gfpdf_settings_upload_button",(function(n){n.preventDefault();var r=e()(this);window.formfield=e()(this).prev(),t||(t=wp.media.frames.file_frame=wp.media({title:r.data("uploader-title"),button:{text:r.data("uploader-button-text")},multiple:!1})).on("select",(function(){t.state().get("selection").each((function(t){t=t.toJSON(),window.formfield.val(t.url).trigger("change")}))})),t.open()})),e()(".gfpdf-color-picker").each((function(){e()(this).wpColorPicker({width:300}),e()(this).parents(".wp-picker-container").find(".wp-color-result").addClass("ed_button")})),e()(".gfpdf_paper_size").each((function(){var t=e()(this).nextAll(".gfpdf_paper_size_other").first();e()(this).find("select").off("change").on("change",(function(){"CUSTOM"===e()(this).val()?t.fadeIn():t.fadeOut()})).trigger("change")})),e()("form").off("change",".gfpdf-input-toggle").on("change",".gfpdf-input-toggle",(function(){var t=e()(this).parent().next();e()(this).prop("checked")?t.slideDown("slow"):(t.slideUp("slow"),t.find(".wp-editor-area").each((function(){var t=tinyMCE.get(e()(this).attr("id"));null!==t&&t.setContent("")})),t.find("textarea").each((function(){e()(this).val("")})))})),s(),e()(".gfpdf-deactivate-license").on("click",(function(){var t=e()(this).parent(),n=i("gfpdf-spinner");e()(this).append(n);var o=e()(this).data("addon-name");return r({action:"gfpdf_deactivate_license",addon_name:o,nonce:e()(this).data("nonce")},(function(r){n.remove(),r.success?(e()("#gfpdf_settings\\[license_"+o+"\\]").val(""),e()("#gfpdf_settings\\[license_"+o+"_message\\]").val(""),e()("#gfpdf_settings\\[license_"+o+"_status\\]").val(""),t.find("button").remove(),t.find("#message").removeClass("error").addClass("success").html(r.success)):t.find("#message").removeClass("success").addClass("error").html(r.error)})),!1}))}};n(4603),n(8450),n(4916),n(9714),n(5306);function f(t){t.attr("novalidate","novalidate"),t.find('input[type="submit"]').on("click",(function(){t.addClass("formSubmitted")})),t.find(':input[required=""], :input[required]').each((function(){var t=e()(this).parent();t.find(".gform-settings-panel__title a").length?t.find(".gform-settings-panel__title a").before('<span class="gfield_required">(required)</span>'):t.find(".gform-settings-panel__title").append('<span class="gfield_required">(required)</span>')}))}function u(t,n,r){n=void 0!==n?n:4500,r=void 0!==r&&r;var i=e()('<div id="message">').html("<p>"+t+"</p>");!0===r?i.addClass("error"):i.addClass("updated"),e()(".wrap > h2").after(i),setTimeout((function(){i.slideUp()}),n)}function p(){function t(t){t.append(i("gfpdf-spinner gfpdf-spinner-small")).closest(".row-actions").attr("style","position:static; visibility: visible;"),r({action:"gfpdf_list_delete",nonce:t.data("nonce"),fid:t.data("fid"),pid:t.data("id")},(function(n){n.msg&&(t.closest(".row-actions").attr("style","").find(".gfpdf-spinner").remove(),u(n.msg),t.parents("tr").css("background","#ffb8b8").fadeOut(400,(function(){this.remove(),function(){var t=e()("#gfpdf_list_form tbody");if(0===t.find("tr").length){var n=e()("<tr>").addClass("no-items"),r=e()("<td>").attr("colspan","5").addClass("colspanchange"),i=e()("<a>").attr("href",e()("#gfpdf_list_form a.button:first").attr("href")).append(GFPDF.letsGoCreateOne+".");r.append(GFPDF.thisFormHasNoPdfs).append(" ").append(i),n.append(r),t.append(n)}}()})))}))}e()("#gfpdf_list_form").on("click","a.submitdelete",(function(){String(e()(this).data("id")).length>0&&window.confirm(GFPDF.pdfDeleteWarning)&&t(e()(this));return!1}))}n(3123);var l=new class{setupAJAXListListener(){p(),e()("#gfpdf_list_form").on("click","a.submitduplicate",(function(t){t.preventDefault();var n=String(e()(this).data("id")),o=this;e()(this).after(i("gfpdf-spinner gfpdf-spinner-small")).parent().parent().attr("style","position:static; visibility: visible;"),n.length>0&&r({action:"gfpdf_list_duplicate",nonce:e()(this).data("nonce"),fid:e()(this).data("fid"),pid:e()(this).data("id")},(function(t){if(t.msg){e()(o).parent().parent().attr("style","").find(".gfpdf-spinner").remove(),u(t.msg);var r=e()(o).parents("tr"),i=r.clone();i.find(".column-name > a, .edit a").each((function(){var n=e()(this).attr("href");n=function(t,e,n){var r="",i=t.split("?"),o=i[0],a=i[1],s="";if(a){i=a.split("&");for(var c=0;c<i.length;c++)i[c].split("=")[0]!==e&&(r+=s+i[c],s="&")}return o+"?"+r+s+e+"="+n}(n,"pid",t.pid),e()(this).attr("href",n)})),i.find(".column-name > a").html(t.name);var a=i.find(".duplicate a"),s=i.find(".delete a"),c=i.find(".check-column button"),f=i.find(".column-shortcode");a.data("id",t.pid),a.data("nonce",t.dup_nonce),s.data("id",t.pid),s.data("nonce",t.del_nonce),c.data("id",t.pid),c.data("nonce",t.state_nonce),c[0].setAttribute("data-status","inactive");var p=f.find("button").attr("data-clipboard-text");p=p.replace(n,t.pid),f.find("button").attr("data-clipboard-text",p),f.find("input").attr("id",t.pid).attr("value",p),c.removeClass("gform-status--active").addClass("gform-status--inactive").find(".gform-status-indicator-status").html(t.status),i.hide().insertAfter(r).fadeIn()}}))})),e()("#gfpdf_list_form").on("click",".check-column button",(function(){var t=String(e()(this).data("id")),n=e()(this),i=n.find("span.gform-status-indicator-status");t.length>0&&(n.addClass("gform_status--pending").removeClass("gform-status--active gform-status--inactive"),r({action:"gfpdf_change_state",nonce:e()(this).data("nonce"),fid:e()(this).data("fid"),pid:e()(this).data("id")},(function(t){i.html(t.state),"active"===n.data("status")?(n[0].setAttribute("data-status","inactive"),n.data("status","inactive").removeClass("gform_status--pending").addClass("gform-status--inactive")):(n[0].setAttribute("data-status","active"),n.data("status","active").removeClass("gform_status--pending").addClass("gform-status--active"))})))}))}};function d(){var t,n,r,i,a,s,c,u;f(e()("#gfpdf_pdf_form")),t=e()("#gfpdf-fieldset-gfpdf_form_settings_advanced"),n=t.find('input[name="gfpdf_settings[security]"]'),r=t.find('input[name="gfpdf_settings[format]"]'),i=t.find("#gfpdf-settings-field-wrapper-security"),a=t.find("#gfpdf-settings-field-wrapper-password,#gfpdf-settings-field-wrapper-privileges,#gfpdf-settings-field-wrapper-master_password:not(.gfpdf-hidden)"),n.on("change",(function(){var t=r.filter(":checked").val();"No"===e()(this).val()||"Standard"!==t?a.hide():e()(this).is(":checked")?a.show():a.hide(),"Standard"!==t?i.hide():i.show()})).trigger("change"),r.on("change",(function(){e()(this).is(":checked")&&n.trigger("change")})).trigger("change"),gform.addFilter("gform_conditional_object",(function(t,e){return"gfpdf"===e?window.gfpdf_current_pdf:t})),e()("#gfpdf_conditional_logic").on("change",(function(){void 0===window.gfpdf_current_pdf.conditionalLogic&&e()(this).prop("checked")?window.gfpdf_current_pdf.conditionalLogic=new ConditionalLogic:e()(this).prop("checked")||(window.gfpdf_current_pdf.conditionalLogic=null),ToggleConditionalLogic(!1,"gfpdf")})).trigger("change"),s=e()("#gfpdf-fieldset-gfpdf_form_settings_advanced").find('input[name="gfpdf_settings[public_access]"]'),c=e()("#gfpdf-settings-field-wrapper-restrict_owner"),s.on("change",(function(){e()(this).is(":checked")?c.hide():c.show()})).trigger("change"),o(e()("#gfpdf_settings\\[template\\]").data("template_group")),u=e()("#gfpdf-fieldset-gfpdf_form_settings_appearance"),e()('input[name="gfpdf_settings[advanced_template]"]').on("change",(function(){"Yes"===e()(this).val()?u.hide():u.show()})),e()('input[name="gfpdf_settings[advanced_template]"]:checked').trigger("change"),e()(".gform-settings-field").each((function(){e()(this).find(".merge-tag-support, .merge-tag-support + span").wrapAll('<div class="gform-settings-input__container gform-settings-input__container--with-merge-tag"></div>'),e()(this).find(".all-merge-tags.textarea").parent().wrapAll('<div class="gform-settings-input__container gform-settings-input__container--with-merge-tag gfpdf-merge-tag-container"></div>')}));var p=e()("#gfpdf-fieldset-gfpdf_form_settings_template");0===p.find(".gform-settings-panel__content").children().length&&p.hide(),e()(".gform-settings__wrapper > .alert").detach().prependTo("#tab_PDF"),e()("#gfpdf_pdf_form").on("submit",(function(){try{tinyMCE.triggerSave()}catch(t){}})),e()("#gfpdf_pdf_form").on("submit",(function(){e()("#gfpdf_settings\\[conditionalLogic\\]").val(e().toJSON(window.gfpdf_current_pdf.conditionalLogic))}))}var g=new class{isSettings(){return e()("#pdfextended-settings").length}isFormSettings(){return e()(".gforms_edit_form").length}isFormSettingsList(){return e()("#gfpdf_list_form").length}isFormSettingsEdit(){return e()("#gfpdf_pdf_form").length}};var v=new class{init(){c.runElements(),g.isSettings()&&this.processSettings(),g.isFormSettings()&&this.processFormSettings()}getCurrentSettingsPage(){return g.isSettings()?e()(".gform-settings-tabs__navigation a.active:first").data("id"):""}processSettings(){if(e()("#gform_tabs a").each((function(){var t=e()(this).attr("href"),n=new RegExp("&tab=[^&;]*","g");e()(this).attr("href",t.replace(n,""))})),"general"===this.getCurrentSettingsPage())!function(){f(e()("#pdfextended-settings > form"));var t=e()("#pdf-general-security");t.find('input[name="gfpdf_settings[default_restrict_owner]"]').on("change",(function(){e()(this).is(":checked")&&("Yes"===e()(this).val()?t.find("tr:nth-child(3)").hide():t.find("tr:nth-child(3)").show())})).trigger("change")}()}processFormSettings(){g.isFormSettingsList()&&l.setupAJAXListListener(),g.isFormSettingsEdit()&&d()}};e()((function(){v.init()}))})()})();
1
+ (()=>{var t={9662:(t,e,r)=>{var n=r(614),i=r(6330),o=TypeError;t.exports=function(t){if(n(t))return t;throw o(i(t)+" is not a function")}},6077:(t,e,r)=>{var n=r(614),i=String,o=TypeError;t.exports=function(t){if("object"==typeof t||n(t))return t;throw o("Can't set "+i(t)+" as a prototype")}},1530:(t,e,r)=>{"use strict";var n=r(8710).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},9670:(t,e,r)=>{var n=r(111),i=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw o(i(t)+" is not an object")}},1318:(t,e,r)=>{var n=r(5656),i=r(1400),o=r(6244),a=function(t){return function(e,r,a){var s,f=n(e),c=o(f),u=i(a,c);if(t&&r!=r){for(;c>u;)if((s=f[u++])!=s)return!0}else for(;c>u;u++)if((t||u in f)&&f[u]===r)return t||u||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},4326:(t,e,r)=>{var n=r(84),i=n({}.toString),o=n("".slice);t.exports=function(t){return o(i(t),8,-1)}},648:(t,e,r)=>{var n=r(1694),i=r(614),o=r(4326),a=r(5112)("toStringTag"),s=Object,f="Arguments"==o(function(){return arguments}());t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=s(t),a))?r:f?o(e):"Object"==(n=o(e))&&i(e.callee)?"Arguments":n}},9920:(t,e,r)=>{var n=r(2597),i=r(3887),o=r(1236),a=r(3070);t.exports=function(t,e,r){for(var s=i(e),f=a.f,c=o.f,u=0;u<s.length;u++){var p=s[u];n(t,p)||r&&n(r,p)||f(t,p,c(e,p))}}},8880:(t,e,r)=>{var n=r(9781),i=r(3070),o=r(9114);t.exports=n?function(t,e,r){return i.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},9114:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},7045:(t,e,r)=>{var n=r(6339),i=r(3070);t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),i.f(t,e,r)}},8052:(t,e,r)=>{var n=r(614),i=r(3070),o=r(6339),a=r(3072);t.exports=function(t,e,r,s){s||(s={});var f=s.enumerable,c=void 0!==s.name?s.name:e;if(n(r)&&o(r,c,s),s.global)f?t[e]=r:a(e,r);else{try{s.unsafe?t[e]&&(f=!0):delete t[e]}catch(t){}f?t[e]=r:i.f(t,e,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},3072:(t,e,r)=>{var n=r(7854),i=Object.defineProperty;t.exports=function(t,e){try{i(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},9781:(t,e,r)=>{var n=r(7293);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:t=>{var e="object"==typeof document&&document.all,r=void 0===e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:r}},317:(t,e,r)=>{var n=r(7854),i=r(111),o=n.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},8113:(t,e,r)=>{var n=r(5005);t.exports=n("navigator","userAgent")||""},7392:(t,e,r)=>{var n,i,o=r(7854),a=r(8113),s=o.process,f=o.Deno,c=s&&s.versions||f&&f.version,u=c&&c.v8;u&&(i=(n=u.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=+n[1]),t.exports=i},748:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(t,e,r)=>{var n=r(7854),i=r(1236).f,o=r(8880),a=r(8052),s=r(3072),f=r(9920),c=r(4705);t.exports=function(t,e){var r,u,p,l,d,g=t.target,v=t.global,h=t.stat;if(r=v?n:h?n[g]||s(g,{}):(n[g]||{}).prototype)for(u in e){if(l=e[u],p=t.dontCallGetSet?(d=i(r,u))&&d.value:r[u],!c(v?u:g+(h?".":"#")+u,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;f(l,p)}(t.sham||p&&p.sham)&&o(l,"sham",!0),a(r,u,l,t)}}},7293:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},7007:(t,e,r)=>{"use strict";r(4916);var n=r(1702),i=r(8052),o=r(2261),a=r(7293),s=r(5112),f=r(8880),c=s("species"),u=RegExp.prototype;t.exports=function(t,e,r,p){var l=s(t),d=!a((function(){var e={};return e[l]=function(){return 7},7!=""[t](e)})),g=d&&!a((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[c]=function(){return r},r.flags="",r[l]=/./[l]),r.exec=function(){return e=!0,null},r[l](""),!e}));if(!d||!g||r){var v=n(/./[l]),h=e(l,""[t],(function(t,e,r,i,a){var s=n(t),f=e.exec;return f===o||f===u.exec?d&&!a?{done:!0,value:v(e,r,i)}:{done:!0,value:s(r,e,i)}:{done:!1}}));i(String.prototype,t,h[0]),i(u,l,h[1])}p&&f(u[l],"sham",!0)}},2104:(t,e,r)=>{var n=r(4374),i=Function.prototype,o=i.apply,a=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(o):function(){return a.apply(o,arguments)})},4374:(t,e,r)=>{var n=r(7293);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:(t,e,r)=>{var n=r(4374),i=Function.prototype.call;t.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},6530:(t,e,r)=>{var n=r(9781),i=r(2597),o=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=i(o,"name"),f=s&&"something"===function(){}.name,c=s&&(!n||n&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:f,CONFIGURABLE:c}},84:(t,e,r)=>{var n=r(4374),i=Function.prototype,o=i.call,a=n&&i.bind.bind(o,o);t.exports=function(t){return n?a(t):function(){return o.apply(t,arguments)}}},1702:(t,e,r)=>{var n=r(4326),i=r(84);t.exports=function(t){if("Function"===n(t))return i(t)}},5005:(t,e,r)=>{var n=r(7854),i=r(614),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t]):n[t]&&n[t][e]}},8173:(t,e,r)=>{var n=r(9662),i=r(8554);t.exports=function(t,e){var r=t[e];return i(r)?void 0:n(r)}},647:(t,e,r)=>{var n=r(1702),i=r(7908),o=Math.floor,a=n("".charAt),s=n("".replace),f=n("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,r,n,p,l){var d=r+t.length,g=n.length,v=u;return void 0!==p&&(p=i(p),v=c),s(l,v,(function(i,s){var c;switch(a(s,0)){case"$":return"$";case"&":return t;case"`":return f(e,0,r);case"'":return f(e,d);case"<":c=p[f(s,1,-1)];break;default:var u=+s;if(0===u)return i;if(u>g){var l=o(u/10);return 0===l?i:l<=g?void 0===n[l-1]?a(s,1):n[l-1]+a(s,1):i}c=n[u-1]}return void 0===c?"":c}))}},7854:(t,e,r)=>{var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},2597:(t,e,r)=>{var n=r(1702),i=r(7908),o=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},3501:t=>{t.exports={}},490:(t,e,r)=>{var n=r(5005);t.exports=n("document","documentElement")},4664:(t,e,r)=>{var n=r(9781),i=r(7293),o=r(317);t.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},8361:(t,e,r)=>{var n=r(1702),i=r(7293),o=r(4326),a=Object,s=n("".split);t.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?s(t,""):a(t)}:a},9587:(t,e,r)=>{var n=r(614),i=r(111),o=r(7674);t.exports=function(t,e,r){var a,s;return o&&n(a=e.constructor)&&a!==r&&i(s=a.prototype)&&s!==r.prototype&&o(t,s),t}},2788:(t,e,r)=>{var n=r(1702),i=r(614),o=r(5465),a=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},9909:(t,e,r)=>{var n,i,o,a=r(4811),s=r(7854),f=r(111),c=r(8880),u=r(2597),p=r(5465),l=r(6200),d=r(3501),g="Object already initialized",v=s.TypeError,h=s.WeakMap;if(a||p.state){var m=p.state||(p.state=new h);m.get=m.get,m.has=m.has,m.set=m.set,n=function(t,e){if(m.has(t))throw v(g);return e.facade=t,m.set(t,e),e},i=function(t){return m.get(t)||{}},o=function(t){return m.has(t)}}else{var _=l("state");d[_]=!0,n=function(t,e){if(u(t,_))throw v(g);return e.facade=t,c(t,_,e),e},i=function(t){return u(t,_)?t[_]:{}},o=function(t){return u(t,_)}}t.exports={set:n,get:i,has:o,enforce:function(t){return o(t)?i(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!f(e)||(r=i(e)).type!==t)throw v("Incompatible receiver, "+t+" required");return r}}}},614:(t,e,r)=>{var n=r(4154),i=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===i}:function(t){return"function"==typeof t}},4705:(t,e,r)=>{var n=r(7293),i=r(614),o=/#|\.prototype\./,a=function(t,e){var r=f[s(t)];return r==u||r!=c&&(i(e)?n(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},f=a.data={},c=a.NATIVE="N",u=a.POLYFILL="P";t.exports=a},8554:t=>{t.exports=function(t){return null==t}},111:(t,e,r)=>{var n=r(614),i=r(4154),o=i.all;t.exports=i.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:n(t)||t===o}:function(t){return"object"==typeof t?null!==t:n(t)}},1913:t=>{t.exports=!1},7850:(t,e,r)=>{var n=r(111),i=r(4326),o=r(5112)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},2190:(t,e,r)=>{var n=r(5005),i=r(614),o=r(7976),a=r(3307),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return i(e)&&o(e.prototype,s(t))}},6244:(t,e,r)=>{var n=r(7466);t.exports=function(t){return n(t.length)}},6339:(t,e,r)=>{var n=r(7293),i=r(614),o=r(2597),a=r(9781),s=r(6530).CONFIGURABLE,f=r(2788),c=r(9909),u=c.enforce,p=c.get,l=Object.defineProperty,d=a&&!n((function(){return 8!==l((function(){}),"length",{value:8}).length})),g=String(String).split("String"),v=t.exports=function(t,e,r){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!o(t,"name")||s&&t.name!==e)&&(a?l(t,"name",{value:e,configurable:!0}):t.name=e),d&&r&&o(r,"arity")&&t.length!==r.arity&&l(t,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?a&&l(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=u(t);return o(n,"source")||(n.source=g.join("string"==typeof e?e:"")),t};Function.prototype.toString=v((function(){return i(this)&&p(this).source||f(this)}),"toString")},4758:t=>{var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},30:(t,e,r)=>{var n,i=r(9670),o=r(6048),a=r(748),s=r(3501),f=r(490),c=r(317),u=r(6200),p=u("IE_PROTO"),l=function(){},d=function(t){return"<script>"+t+"</"+"script>"},g=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},v=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e;v="undefined"!=typeof document?document.domain&&n?g(n):((e=c("iframe")).style.display="none",f.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F):g(n);for(var r=a.length;r--;)delete v.prototype[a[r]];return v()};s[p]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(l.prototype=i(t),r=new l,l.prototype=null,r[p]=t):r=v(),void 0===e?r:o.f(r,e)}},6048:(t,e,r)=>{var n=r(9781),i=r(3353),o=r(3070),a=r(9670),s=r(5656),f=r(1956);e.f=n&&!i?Object.defineProperties:function(t,e){a(t);for(var r,n=s(e),i=f(e),c=i.length,u=0;c>u;)o.f(t,r=i[u++],n[r]);return t}},3070:(t,e,r)=>{var n=r(9781),i=r(4664),o=r(3353),a=r(9670),s=r(4948),f=TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,p="enumerable",l="configurable",d="writable";e.f=n?o?function(t,e,r){if(a(t),e=s(e),a(r),"function"==typeof t&&"prototype"===e&&"value"in r&&d in r&&!r.writable){var n=u(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:l in r?r.configurable:n.configurable,enumerable:p in r?r.enumerable:n.enumerable,writable:!1})}return c(t,e,r)}:c:function(t,e,r){if(a(t),e=s(e),a(r),i)try{return c(t,e,r)}catch(t){}if("get"in r||"set"in r)throw f("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},1236:(t,e,r)=>{var n=r(9781),i=r(6916),o=r(5296),a=r(9114),s=r(5656),f=r(4948),c=r(2597),u=r(4664),p=Object.getOwnPropertyDescriptor;e.f=n?p:function(t,e){if(t=s(t),e=f(e),u)try{return p(t,e)}catch(t){}if(c(t,e))return a(!i(o.f,t,e),t[e])}},8006:(t,e,r)=>{var n=r(6324),i=r(748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},5181:(t,e)=>{e.f=Object.getOwnPropertySymbols},7976:(t,e,r)=>{var n=r(1702);t.exports=n({}.isPrototypeOf)},6324:(t,e,r)=>{var n=r(1702),i=r(2597),o=r(5656),a=r(1318).indexOf,s=r(3501),f=n([].push);t.exports=function(t,e){var r,n=o(t),c=0,u=[];for(r in n)!i(s,r)&&i(n,r)&&f(u,r);for(;e.length>c;)i(n,r=e[c++])&&(~a(u,r)||f(u,r));return u}},1956:(t,e,r)=>{var n=r(6324),i=r(748);t.exports=Object.keys||function(t){return n(t,i)}},5296:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);e.f=i?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},7674:(t,e,r)=>{var n=r(1702),i=r(9670),o=r(6077);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return i(r),o(n),e?t(r,n):r.__proto__=n,r}}():void 0)},2140:(t,e,r)=>{var n=r(6916),i=r(614),o=r(111),a=TypeError;t.exports=function(t,e){var r,s;if("string"===e&&i(r=t.toString)&&!o(s=n(r,t)))return s;if(i(r=t.valueOf)&&!o(s=n(r,t)))return s;if("string"!==e&&i(r=t.toString)&&!o(s=n(r,t)))return s;throw a("Can't convert object to primitive value")}},3887:(t,e,r)=>{var n=r(5005),i=r(1702),o=r(8006),a=r(5181),s=r(9670),f=i([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(s(t)),r=a.f;return r?f(e,r(t)):e}},2626:(t,e,r)=>{var n=r(3070).f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},7651:(t,e,r)=>{var n=r(6916),i=r(9670),o=r(614),a=r(4326),s=r(2261),f=TypeError;t.exports=function(t,e){var r=t.exec;if(o(r)){var c=n(r,t,e);return null!==c&&i(c),c}if("RegExp"===a(t))return n(s,t,e);throw f("RegExp#exec called on incompatible receiver")}},2261:(t,e,r)=>{"use strict";var n,i,o=r(6916),a=r(1702),s=r(1340),f=r(7066),c=r(2999),u=r(2309),p=r(30),l=r(9909).get,d=r(9441),g=r(7168),v=u("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,m=h,_=a("".charAt),y=a("".indexOf),b=a("".replace),x=a("".slice),w=(i=/b*/g,o(h,n=/a/,"a"),o(h,i,"a"),0!==n.lastIndex||0!==i.lastIndex),S=c.BROKEN_CARET,O=void 0!==/()??/.exec("")[1];(w||O||S||d||g)&&(m=function(t){var e,r,n,i,a,c,u,d=this,g=l(d),E=s(t),j=g.raw;if(j)return j.lastIndex=d.lastIndex,e=o(m,j,E),d.lastIndex=j.lastIndex,e;var C=g.groups,P=S&&d.sticky,A=o(f,d),F=d.source,I=0,k=E;if(P&&(A=b(A,"y",""),-1===y(A,"g")&&(A+="g"),k=x(E,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==_(E,d.lastIndex-1))&&(F="(?: "+F+")",k=" "+k,I++),r=new RegExp("^(?:"+F+")",A)),O&&(r=new RegExp("^"+F+"$(?!\\s)",A)),w&&(n=d.lastIndex),i=o(h,P?r:d,k),P?i?(i.input=x(i.input,I),i[0]=x(i[0],I),i.index=d.lastIndex,d.lastIndex+=i[0].length):d.lastIndex=0:w&&i&&(d.lastIndex=d.global?i.index+i[0].length:n),O&&i&&i.length>1&&o(v,i[0],r,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)})),i&&C)for(i.groups=c=p(null),a=0;a<C.length;a++)c[(u=C[a])[0]]=i[u[1]];return i}),t.exports=m},7066:(t,e,r)=>{"use strict";var n=r(9670);t.exports=function(){var t=n(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},4706:(t,e,r)=>{var n=r(6916),i=r(2597),o=r(7976),a=r(7066),s=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in s||i(t,"flags")||!o(s,t)?e:n(a,t)}},2999:(t,e,r)=>{var n=r(7293),i=r(7854).RegExp,o=n((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),a=o||n((function(){return!i("a","y").sticky})),s=o||n((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:o}},9441:(t,e,r)=>{var n=r(7293),i=r(7854).RegExp;t.exports=n((function(){var t=i(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},7168:(t,e,r)=>{var n=r(7293),i=r(7854).RegExp;t.exports=n((function(){var t=i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},4488:(t,e,r)=>{var n=r(8554),i=TypeError;t.exports=function(t){if(n(t))throw i("Can't call method on "+t);return t}},6340:(t,e,r)=>{"use strict";var n=r(5005),i=r(3070),o=r(5112),a=r(9781),s=o("species");t.exports=function(t){var e=n(t),r=i.f;a&&e&&!e[s]&&r(e,s,{configurable:!0,get:function(){return this}})}},6200:(t,e,r)=>{var n=r(2309),i=r(9711),o=n("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},5465:(t,e,r)=>{var n=r(7854),i=r(3072),o="__core-js_shared__",a=n[o]||i(o,{});t.exports=a},2309:(t,e,r)=>{var n=r(1913),i=r(5465);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.25.5",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE",source:"https://github.com/zloirock/core-js"})},8710:(t,e,r)=>{var n=r(1702),i=r(9303),o=r(1340),a=r(4488),s=n("".charAt),f=n("".charCodeAt),c=n("".slice),u=function(t){return function(e,r){var n,u,p=o(a(e)),l=i(r),d=p.length;return l<0||l>=d?t?"":void 0:(n=f(p,l))<55296||n>56319||l+1===d||(u=f(p,l+1))<56320||u>57343?t?s(p,l):n:t?c(p,l,l+2):u-56320+(n-55296<<10)+65536}};t.exports={codeAt:u(!1),charAt:u(!0)}},6293:(t,e,r)=>{var n=r(7392),i=r(7293);t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},1400:(t,e,r)=>{var n=r(9303),i=Math.max,o=Math.min;t.exports=function(t,e){var r=n(t);return r<0?i(r+e,0):o(r,e)}},5656:(t,e,r)=>{var n=r(8361),i=r(4488);t.exports=function(t){return n(i(t))}},9303:(t,e,r)=>{var n=r(4758);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},7466:(t,e,r)=>{var n=r(9303),i=Math.min;t.exports=function(t){return t>0?i(n(t),9007199254740991):0}},7908:(t,e,r)=>{var n=r(4488),i=Object;t.exports=function(t){return i(n(t))}},7593:(t,e,r)=>{var n=r(6916),i=r(111),o=r(2190),a=r(8173),s=r(2140),f=r(5112),c=TypeError,u=f("toPrimitive");t.exports=function(t,e){if(!i(t)||o(t))return t;var r,f=a(t,u);if(f){if(void 0===e&&(e="default"),r=n(f,t,e),!i(r)||o(r))return r;throw c("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},4948:(t,e,r)=>{var n=r(7593),i=r(2190);t.exports=function(t){var e=n(t,"string");return i(e)?e:e+""}},1694:(t,e,r)=>{var n={};n[r(5112)("toStringTag")]="z",t.exports="[object z]"===String(n)},1340:(t,e,r)=>{var n=r(648),i=String;t.exports=function(t){if("Symbol"===n(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},6330:t=>{var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},9711:(t,e,r)=>{var n=r(1702),i=0,o=Math.random(),a=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++i+o,36)}},3307:(t,e,r)=>{var n=r(6293);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:(t,e,r)=>{var n=r(9781),i=r(7293);t.exports=n&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4811:(t,e,r)=>{var n=r(7854),i=r(614),o=n.WeakMap;t.exports=i(o)&&/native code/.test(String(o))},5112:(t,e,r)=>{var n=r(7854),i=r(2309),o=r(2597),a=r(9711),s=r(6293),f=r(3307),c=i("wks"),u=n.Symbol,p=u&&u.for,l=f?u:u&&u.withoutSetter||a;t.exports=function(t){if(!o(c,t)||!s&&"string"!=typeof c[t]){var e="Symbol."+t;s&&o(u,t)?c[t]=u[t]:c[t]=f&&p?p(e):l(e)}return c[t]}},4603:(t,e,r)=>{var n=r(9781),i=r(7854),o=r(1702),a=r(4705),s=r(9587),f=r(8880),c=r(8006).f,u=r(7976),p=r(7850),l=r(1340),d=r(4706),g=r(2999),v=r(2626),h=r(8052),m=r(7293),_=r(2597),y=r(9909).enforce,b=r(6340),x=r(5112),w=r(9441),S=r(7168),O=x("match"),E=i.RegExp,j=E.prototype,C=i.SyntaxError,P=o(j.exec),A=o("".charAt),F=o("".replace),I=o("".indexOf),k=o("".slice),T=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,R=/a/g,D=/a/g,M=new E(R)!==R,L=g.MISSED_STICKY,N=g.UNSUPPORTED_Y,U=n&&(!M||L||w||S||m((function(){return D[O]=!1,E(R)!=R||E(D)==D||"/a/i"!=E(R,"i")})));if(a("RegExp",U)){for(var $=function(t,e){var r,n,i,o,a,c,g=u(j,this),v=p(t),h=void 0===e,m=[],b=t;if(!g&&v&&h&&t.constructor===$)return t;if((v||u(j,t))&&(t=t.source,h&&(e=d(b))),t=void 0===t?"":l(t),e=void 0===e?"":l(e),b=t,w&&"dotAll"in R&&(n=!!e&&I(e,"s")>-1)&&(e=F(e,/s/g,"")),r=e,L&&"sticky"in R&&(i=!!e&&I(e,"y")>-1)&&N&&(e=F(e,/y/g,"")),S&&(o=function(t){for(var e,r=t.length,n=0,i="",o=[],a={},s=!1,f=!1,c=0,u="";n<=r;n++){if("\\"===(e=A(t,n)))e+=A(t,++n);else if("]"===e)s=!1;else if(!s)switch(!0){case"["===e:s=!0;break;case"("===e:P(T,k(t,n+1))&&(n+=2,f=!0),i+=e,c++;continue;case">"===e&&f:if(""===u||_(a,u))throw new C("Invalid capture group name");a[u]=!0,o[o.length]=[u,c],f=!1,u="";continue}f?u+=e:i+=e}return[i,o]}(t),t=o[0],m=o[1]),a=s(E(t,e),g?this:j,$),(n||i||m.length)&&(c=y(a),n&&(c.dotAll=!0,c.raw=$(function(t){for(var e,r=t.length,n=0,i="",o=!1;n<=r;n++)"\\"!==(e=A(t,n))?o||"."!==e?("["===e?o=!0:"]"===e&&(o=!1),i+=e):i+="[\\s\\S]":i+=e+A(t,++n);return i}(t),r)),i&&(c.sticky=!0),m.length&&(c.groups=m)),t!==b)try{f(a,"source",""===b?"(?:)":b)}catch(t){}return a},G=c(E),z=0;G.length>z;)v($,E,G[z++]);j.constructor=$,$.prototype=j,h(i,"RegExp",$,{constructor:!0})}b("RegExp")},8450:(t,e,r)=>{var n=r(9781),i=r(9441),o=r(4326),a=r(7045),s=r(9909).get,f=RegExp.prototype,c=TypeError;n&&i&&a(f,"dotAll",{configurable:!0,get:function(){if(this!==f){if("RegExp"===o(this))return!!s(this).dotAll;throw c("Incompatible receiver, RegExp required")}}})},4916:(t,e,r)=>{"use strict";var n=r(2109),i=r(2261);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},9714:(t,e,r)=>{"use strict";var n=r(6530).PROPER,i=r(8052),o=r(9670),a=r(1340),s=r(7293),f=r(4706),c="toString",u=RegExp.prototype.toString,p=s((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),l=n&&u.name!=c;(p||l)&&i(RegExp.prototype,c,(function(){var t=o(this);return"/"+a(t.source)+"/"+a(f(t))}),{unsafe:!0})},5306:(t,e,r)=>{"use strict";var n=r(2104),i=r(6916),o=r(1702),a=r(7007),s=r(7293),f=r(9670),c=r(614),u=r(8554),p=r(9303),l=r(7466),d=r(1340),g=r(4488),v=r(1530),h=r(8173),m=r(647),_=r(7651),y=r(5112)("replace"),b=Math.max,x=Math.min,w=o([].concat),S=o([].push),O=o("".indexOf),E=o("".slice),j="$0"==="a".replace(/./,"$0"),C=!!/./[y]&&""===/./[y]("a","$0");a("replace",(function(t,e,r){var o=C?"$":"$0";return[function(t,r){var n=g(this),o=u(t)?void 0:h(t,y);return o?i(o,t,n,r):i(e,d(n),t,r)},function(t,i){var a=f(this),s=d(t);if("string"==typeof i&&-1===O(i,o)&&-1===O(i,"$<")){var u=r(e,a,s,i);if(u.done)return u.value}var g=c(i);g||(i=d(i));var h=a.global;if(h){var y=a.unicode;a.lastIndex=0}for(var j=[];;){var C=_(a,s);if(null===C)break;if(S(j,C),!h)break;""===d(C[0])&&(a.lastIndex=v(s,l(a.lastIndex),y))}for(var P,A="",F=0,I=0;I<j.length;I++){for(var k=d((C=j[I])[0]),T=b(x(p(C.index),s.length),0),R=[],D=1;D<C.length;D++)S(R,void 0===(P=C[D])?P:String(P));var M=C.groups;if(g){var L=w([k],R,T,s);void 0!==M&&S(L,M);var N=d(n(i,void 0,L))}else N=m(k,s,T,R,M,i);T>=F&&(A+=E(s,F,T)+N,F=T+k.length)}return A+E(s,F)}]}),!!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!j||C)},3753:(t,e,r)=>{"use strict";var n=r(2109),i=r(6916);n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this)}})}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";const t=jQuery;var e=r.n(t);r(3753);function n(t,r){return e().ajax({type:"post",dataType:"json",url:GFPDF.ajaxUrl,data:t,success:r,error:r})}function i(t){return e()("<img alt="+GFPDF.spinnerAlt+" src="+GFPDF.spinnerUrl+" class="+t+" />")}function o(t){var r=e()("#gfpdf-settings-field-wrapper-font, #gfpdf-settings-field-wrapper-font_size, #gfpdf-settings-field-wrapper-font_colour");"legacy"===t?r.hide():r.show()}function a(t,e,r,n){var i="submit-container-"+r;if(!t.classList.contains("gform-settings-panel--collapsed")){var o=e.querySelector("#submit").cloneNode(!0);o.setAttribute("id","submit_"+r);var a=document.createElement("div");return a.setAttribute("class",i),a.innerHTML=o.outerHTML,t.parentNode.insertBefore(a,t.nextSibling)}n||document.querySelector(".".concat(i)).remove()}function s(){e()("#gfpdf_settings\\[template\\]").off("change").on("change",(function(){var t=i("gfpdf-spinner-template");e()(this).next().after(t),n({action:"gfpdf_get_template_fields",nonce:GFPDF.ajaxNonce,template:e()(this).val(),type:e()(this).attr("id"),id:e()("#gform_id").val(),gform_pdf_id:e()("#gform_pdf_id").val()},(function(r){var n,i,s=e()(".submit-container-2")[0];t.remove(),e()('input[name="gfpdf_settings[advanced_template]"][value="No"]').prop("checked",!0).trigger("change"),r.fields?(e().each(r.editors,(function(t,e){var r=tinyMCE.get(e);if(null!==r)try{tinyMCE.remove(r)}catch(t){}})),s||a(e()("#gfpdf-fieldset-gfpdf_form_settings_template")[0],e()("#gfpdf_pdf_form")[0],"2"),e()("#gfpdf-fieldset-gfpdf_form_settings_template").show().find(".gform-settings-panel__content").html(r.fields),n=r.editors,null!=(i=r.editor_init)&&(i.body_class="id post-type-post post-status-publish post-format-standard",i.formats={alignleft:[{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"left"}},{selector:"img,table,dl.wp-caption",classes:"alignleft"}],aligncenter:[{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"center"}},{selector:"img,table,dl.wp-caption",classes:"aligncenter"}],alignright:[{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"right"}},{selector:"img,table,dl.wp-caption",classes:"alignright"}],strikethrough:{inline:"del"}},i.content_style='body#tinymce { max-width: 100%; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;}'),e().each(n,(function(t,e){i.selector="#"+e,tinyMCE.init(i),tinyMCE.execCommand("mceAddEditor",!1,e),"function"==typeof QTags&&(QTags({id:e}),QTags._buttonsInit(),"function"==typeof switchEditors.switchto&&switchEditors.switchto(jQuery("#wp-"+e+"-wrap").find(".wp-switch-editor.switch-"+("html"===getUserSetting("editor")?"html":"tmce"))[0]))})),f.runElements(),window.gfMergeTags&&"undefined"!=typeof form&&e()("#gfpdf-fieldset-gfpdf_form_settings_template .merge-tag-support").length>=0&&(e()("#gfpdf-fieldset-gfpdf_form_settings_template .merge-tag-support").each((function(){new gfMergeTagsObj(form,e()(this))})),e()("#gfpdf-fieldset-gfpdf_form_settings_template .gform-settings-field").each((function(){e()(this).find(".merge-tag-support, .merge-tag-support + span").wrapAll('<div class="gform-settings-input__container gform-settings-input__container--with-merge-tag"></div>'),e()(this).find(".all-merge-tags.textarea").parent().wrapAll('<div class="gform-settings-input__container gform-settings-input__container--with-merge-tag gfpdf-merge-tag-container"></div>')}))),gform_initialize_tooltips()):(s&&s.remove(),e()("#gfpdf-fieldset-gfpdf_form_settings_template").hide().find(".gform-settings-panel__content").html("")),r.template_type&&o(r.template_type),e()(document).trigger("gfpdf_template_loaded",[r])}))}))}var f=new class{runElements(){var t;"undefined"!=typeof gf_vars&&(gf_vars.thisFormButton=GFPDF.conditionalText,gf_vars.show=GFPDF.enable,gf_vars.hide=GFPDF.disable),window.formfield="",e()("body").off("click",".gfpdf_settings_upload_button").on("click",".gfpdf_settings_upload_button",(function(r){r.preventDefault();var n=e()(this);window.formfield=e()(this).prev(),t||(t=wp.media.frames.file_frame=wp.media({title:n.data("uploader-title"),button:{text:n.data("uploader-button-text")},multiple:!1})).on("select",(function(){t.state().get("selection").each((function(t){t=t.toJSON(),window.formfield.val(t.url).trigger("change")}))})),t.open()})),e()(".gfpdf-color-picker").each((function(){e()(this).wpColorPicker({width:300}),e()(this).parents(".wp-picker-container").find(".wp-color-result").addClass("ed_button")})),e()(".gfpdf_paper_size").each((function(){var t=e()(this).nextAll(".gfpdf_paper_size_other").first();e()(this).find("select").off("change").on("change",(function(){"CUSTOM"===e()(this).val()?t.fadeIn():t.fadeOut()})).trigger("change")})),e()("form").off("change",".gfpdf-input-toggle").on("change",".gfpdf-input-toggle",(function(){var t=e()(this).parent().next();e()(this).prop("checked")?t.slideDown("slow"):(t.slideUp("slow"),t.find(".wp-editor-area").each((function(){var t=tinyMCE.get(e()(this).attr("id"));null!==t&&t.setContent("")})),t.find("textarea").each((function(){e()(this).val("")})))})),s(),e()(".gfpdf-deactivate-license").on("click",(function(){var t=e()(this).parent(),r=i("gfpdf-spinner");e()(this).append(r);var o=e()(this).data("addon-name");return n({action:"gfpdf_deactivate_license",addon_name:o,nonce:e()(this).data("nonce")},(function(n){r.remove(),n.success?(e()("#gfpdf_settings\\[license_"+o+"\\]").val(""),e()("#gfpdf_settings\\[license_"+o+"_message\\]").val(""),e()("#gfpdf_settings\\[license_"+o+"_status\\]").val(""),t.find("button").remove(),t.find("#message").removeClass("error").addClass("success").html(n.success)):t.find("#message").removeClass("success").addClass("error").html(n.error)})),!1}))}};r(4603),r(8450),r(4916),r(9714),r(5306);function c(t){t.attr("novalidate","novalidate"),t.find('input[type="submit"]').on("click",(function(){t.addClass("formSubmitted")})),t.find(':input[required=""], :input[required]').each((function(){var t=e()(this).parent();t.find(".gform-settings-panel__title a").length?t.find(".gform-settings-panel__title a").before('<span class="gfield_required">(required)</span>'):t.find(".gform-settings-panel__title").append('<span class="gfield_required">(required)</span>')}))}function u(t,r,n){r=void 0!==r?r:4500,n=void 0!==n&&n;var i=e()('<div id="message">').html("<p>"+t+"</p>");!0===n?i.addClass("error"):i.addClass("updated"),e()(".wrap > h2").after(i),setTimeout((function(){i.slideUp()}),r)}function p(){function t(t){t.append(i("gfpdf-spinner gfpdf-spinner-small")).closest(".row-actions").attr("style","position:static; visibility: visible;"),n({action:"gfpdf_list_delete",nonce:t.data("nonce"),fid:t.data("fid"),pid:t.data("id")},(function(r){r.msg&&(t.closest(".row-actions").attr("style","").find(".gfpdf-spinner").remove(),u(r.msg),t.parents("tr").css("background","#ffb8b8").fadeOut(400,(function(){this.remove(),function(){var t=e()("#gfpdf_list_form tbody");if(0===t.find("tr").length){var r=e()("<tr>").addClass("no-items"),n=e()("<td>").attr("colspan","5").addClass("colspanchange"),i=e()("<a>").attr("href",e()("#gfpdf_list_form a.button:first").attr("href")).append(GFPDF.letsGoCreateOne+".");n.append(GFPDF.thisFormHasNoPdfs).append(" ").append(i),r.append(n),t.append(r)}}()})))}))}e()("#gfpdf_list_form").on("click","a.submitdelete",(function(){String(e()(this).data("id")).length>0&&window.confirm(GFPDF.pdfDeleteWarning)&&t(e()(this));return!1}))}var l=new class{setupAJAXListListener(){p(),e()("#gfpdf_list_form").on("click","a.submitduplicate",(function(t){t.preventDefault();var r=String(e()(this).data("id")),o=this;e()(this).after(i("gfpdf-spinner gfpdf-spinner-small")).parent().parent().attr("style","position:static; visibility: visible;"),r.length>0&&n({action:"gfpdf_list_duplicate",nonce:e()(this).data("nonce"),fid:e()(this).data("fid"),pid:e()(this).data("id")},(function(t){if(t.msg){e()(o).parent().parent().attr("style","").find(".gfpdf-spinner").remove(),u(t.msg);var n=e()(o).parents("tr"),i=n.clone();i.find(".column-name > a, .edit a").each((function(){var r=e()(this).attr("href");r=function(t,e,r){var n="",i=t.split("?"),o=i[0],a=i[1],s="";if(a){i=a.split("&");for(var f=0;f<i.length;f++)i[f].split("=")[0]!==e&&(n+=s+i[f],s="&")}return o+"?"+n+s+e+"="+r}(r,"pid",t.pid),e()(this).attr("href",r)})),i.find(".column-name > a").html(t.name);var a=i.find(".duplicate a"),s=i.find(".delete a"),f=i.find(".check-column button"),c=i.find(".column-shortcode");a.data("id",t.pid),a.data("nonce",t.dup_nonce),s.data("id",t.pid),s.data("nonce",t.del_nonce),f.data("id",t.pid),f.data("nonce",t.state_nonce),f[0].setAttribute("data-status","inactive");var p=c.find("button").attr("data-clipboard-text");p=p.replace(r,t.pid),c.find("button").attr("data-clipboard-text",p),c.find("input").attr("id",t.pid).attr("value",p),f.removeClass("gform-status--active").addClass("gform-status--inactive").find(".gform-status-indicator-status").html(t.status),i.hide().insertAfter(n).fadeIn()}}))})),e()("#gfpdf_list_form").on("click",".check-column button",(function(){var t=String(e()(this).data("id")),r=e()(this),i=r.find("span.gform-status-indicator-status");t.length>0&&(r.addClass("gform_status--pending").removeClass("gform-status--active gform-status--inactive"),n({action:"gfpdf_change_state",nonce:e()(this).data("nonce"),fid:e()(this).data("fid"),pid:e()(this).data("id")},(function(t){i.html(t.state),"active"===r.data("status")?(r[0].setAttribute("data-status","inactive"),r.data("status","inactive").removeClass("gform_status--pending").addClass("gform-status--inactive")):(r[0].setAttribute("data-status","active"),r.data("status","active").removeClass("gform_status--pending").addClass("gform-status--active"))})))}))}};function d(){var t,r,n,i,a,s,f,u;c(e()("#gfpdf_pdf_form")),t=e()("#gfpdf-fieldset-gfpdf_form_settings_advanced"),r=t.find('input[name="gfpdf_settings[security]"]'),n=t.find('input[name="gfpdf_settings[format]"]'),i=t.find("#gfpdf-settings-field-wrapper-security"),a=t.find("#gfpdf-settings-field-wrapper-password,#gfpdf-settings-field-wrapper-privileges,#gfpdf-settings-field-wrapper-master_password:not(.gfpdf-hidden)"),r.on("change",(function(){var t=n.filter(":checked").val();"No"===e()(this).val()||"Standard"!==t?a.hide():e()(this).is(":checked")?a.show():a.hide(),"Standard"!==t?i.hide():i.show()})).trigger("change"),n.on("change",(function(){e()(this).is(":checked")&&r.trigger("change")})).trigger("change"),gform.addFilter("gform_conditional_object",(function(t,e){return"gfpdf"===e?window.gfpdf_current_pdf:t})),e()("#gfpdf_conditional_logic").on("change",(function(){void 0===window.gfpdf_current_pdf.conditionalLogic&&e()(this).prop("checked")?window.gfpdf_current_pdf.conditionalLogic=new ConditionalLogic:e()(this).prop("checked")||(window.gfpdf_current_pdf.conditionalLogic=null),ToggleConditionalLogic(!1,"gfpdf")})).trigger("change"),s=e()("#gfpdf-fieldset-gfpdf_form_settings_advanced").find('input[name="gfpdf_settings[public_access]"]'),f=e()("#gfpdf-settings-field-wrapper-restrict_owner"),s.on("change",(function(){e()(this).is(":checked")?f.hide():f.show()})).trigger("change"),o(e()("#gfpdf_settings\\[template\\]").data("template_group")),u=e()("#gfpdf-fieldset-gfpdf_form_settings_appearance"),e()('input[name="gfpdf_settings[advanced_template]"]').on("change",(function(){"Yes"===e()(this).val()?u.hide():u.show()})),e()('input[name="gfpdf_settings[advanced_template]"]:checked').trigger("change"),e()(".gform-settings-field").each((function(){e()(this).find(".merge-tag-support, .merge-tag-support + span").wrapAll('<div class="gform-settings-input__container gform-settings-input__container--with-merge-tag"></div>'),e()(this).find(".all-merge-tags.textarea").parent().wrapAll('<div class="gform-settings-input__container gform-settings-input__container--with-merge-tag gfpdf-merge-tag-container"></div>')}));var p=e()("#gfpdf-fieldset-gfpdf_form_settings_template");0===p.find(".gform-settings-panel__content").children().length&&p.hide(),e()(".gform-settings__wrapper > .alert").detach().prependTo("#tab_PDF"),e()("#gfpdf_pdf_form").on("submit",(function(){try{tinyMCE.triggerSave()}catch(t){}})),e()("#gfpdf_pdf_form").on("submit",(function(){e()("#gfpdf_settings\\[conditionalLogic\\]").val(e().toJSON(window.gfpdf_current_pdf.conditionalLogic))}))}var g=new class{isSettings(){return e()("#pdfextended-settings").length}isFormSettings(){return e()(".gforms_edit_form").length}isFormSettingsList(){return e()("#gfpdf_list_form").length}isFormSettingsEdit(){return e()("#gfpdf_pdf_form").length}};var v=new class{init(){f.runElements(),g.isSettings()&&this.processSettings(),g.isFormSettings()&&this.processFormSettings()}getCurrentSettingsPage(){return g.isSettings()?e()(".gform-settings-tabs__navigation a.active:first").data("id"):""}processSettings(){if(e()("#gform_tabs a").each((function(){var t=e()(this).attr("href"),r=new RegExp("&tab=[^&;]*","g");e()(this).attr("href",t.replace(r,""))})),"general"===this.getCurrentSettingsPage())!function(){c(e()("#pdfextended-settings > form"));var t=e()("#pdf-general-security");t.find('input[name="gfpdf_settings[default_restrict_owner]"]').on("change",(function(){e()(this).is(":checked")&&("Yes"===e()(this).val()?t.find("tr:nth-child(3)").hide():t.find("tr:nth-child(3)").show())})).trigger("change")}()}processFormSettings(){g.isFormSettingsList()&&l.setupAJAXListListener(),g.isFormSettingsEdit()&&d()}};e()((function(){v.init()}))})()})();
dist/assets/js/app.bundle.min.js CHANGED
@@ -1,4 +1,4 @@
1
- (()=>{var e,t,n={8363:(e,t)=>{"use strict";t.Z=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=(e.type||"").toLowerCase(),a=o.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?r.toLowerCase().endsWith(t):t.endsWith("/*")?a===t.replace(/\/.*$/,""):o===t}))}return!0}},7046:(e,t,n)=>{"use strict";n.d(t,{En:()=>h,IK:()=>c,Jh:()=>i,S2:()=>b,Tn:()=>s,Vn:()=>r,Zh:()=>v,_V:()=>E,cL:()=>m,dH:()=>g,fv:()=>a,gX:()=>w,hA:()=>p,io:()=>S,nX:()=>d,on:()=>u,qR:()=>f,qZ:()=>o,vQ:()=>y,xM:()=>l});var r="ADD_TO_CONSOLE",o="ADD_TO_RETRY_LIST",a="CLEAR_CONSOLE",i="CLEAR_BUTTON_CLICKED_AND_RETRY_LIST",l="GET_FILES_FROM_GITHUB",u="GET_FILES_FROM_GITHUB_SUCCESS",s="GET_FILES_FROM_GITHUB_FAILED",c="DOWNLOAD_FONTS_API_CALL",f="REQUEST_SENT_COUNTER",d="CLEAR_REQUEST_REMAINING_DATA",p=(e,t,n)=>({type:r,key:e,status:t,message:n}),h=()=>({type:a}),y=e=>({type:o,name:e}),m=()=>({type:i}),v=()=>({type:l}),g=e=>({type:u,payload:e}),b=e=>({type:s,payload:e}),w=e=>({type:c,payload:e}),E=()=>({type:f}),S=()=>({type:d})},368:(e,t,n)=>{"use strict";n.d(t,{Bh:()=>C,Bp:()=>F,D0:()=>l,EI:()=>_,EV:()=>m,F6:()=>h,Fk:()=>c,Fo:()=>v,Lw:()=>p,OM:()=>T,Oh:()=>g,Px:()=>u,QY:()=>d,Sc:()=>a,TQ:()=>A,aC:()=>y,bY:()=>j,cK:()=>o,eF:()=>S,gZ:()=>k,kT:()=>P,l6:()=>O,mU:()=>R,o6:()=>w,qO:()=>b,r9:()=>r,tY:()=>f,v4:()=>s,vQ:()=>E,w4:()=>D,xV:()=>i,yT:()=>x});var r="GET_CUSTOM_FONT_LIST",o="GET_CUSTOM_FONT_LIST_SUCCESS",a="GET_CUSTOM_FONT_LIST_ERROR",i="ADD_FONT",l="ADD_FONT_SUCCESS",u="ADD_FONT_ERROR",s="EDIT_FONT",c="EDIT_FONT_SUCCESS",f="EDIT_FONT_ERROR",d="VALIDATION_ERROR",p="DELETE_VARIANT_ERROR",h="DELETE_FONT",y="DELETE_FONT_SUCCESS",m="DELETE_FONT_ERROR",v="CLEAR_ADD_FONT_MSG",g="CLEAR_DROPZONE_ERROR",b="RESET_SEARCH_RESULT",w="SEARCH_FONT_LIST",E="SELECT_FONT",S="MOVE_SELECTED_FONT_TO_TOP",x=()=>({type:r}),k=e=>({type:i,payload:e}),O=e=>({type:s,payload:e}),F=()=>({type:d}),P=e=>({type:p,payload:e}),_=e=>({type:h,payload:e}),T=()=>({type:v}),C=e=>({type:g,payload:e}),j=e=>({type:w,payload:e}),R=()=>({type:b}),D=e=>({type:E,payload:e}),A=e=>({type:S,payload:e})},4738:(e,t,n)=>{"use strict";n.d(t,{$z:()=>i,Dy:()=>D,ES:()=>r,Ey:()=>y,Fo:()=>x,Fz:()=>E,Ic:()=>s,Ki:()=>P,Lt:()=>T,NC:()=>C,Np:()=>h,R7:()=>_,RW:()=>l,TU:()=>f,Tq:()=>p,Un:()=>b,WF:()=>w,Xc:()=>S,Xg:()=>u,ah:()=>d,er:()=>F,f7:()=>g,gk:()=>o,iL:()=>O,oJ:()=>m,qk:()=>R,vZ:()=>a,vc:()=>c,xD:()=>j,yz:()=>v,zR:()=>k});var r="SEARCH_TEMPLATES",o="SELECT_TEMPLATE",a="ADD_TEMPLATE",i="UPDATE_TEMPLATE_PARAM",l="DELETE_TEMPLATE",u="UPDATE_SELECT_BOX",s="UPDATE_SELECT_BOX_SUCCESS",c="TEMPLATE_PROCESSING",f="TEMPLATE_PROCESSING_SUCCESS",d="TEMPLATE_PROCESSING_FAILED",p="CLEAR_TEMPLATE_PROCESSING",h="POST_TEMPLATE_UPLOAD_PROCESSING",y="TEMPLATE_UPLOAD_PROCESSING_SUCCESS",m="TEMPLATE_UPLOAD_PROCESSING_FAILED",v="CLEAR_TEMPLATE_UPLOAD_PROCESSING",g=e=>({type:r,text:e}),b=e=>({type:o,id:e}),w=e=>({type:a,template:e}),E=(e,t,n)=>({type:i,id:e,name:t,value:n}),S=e=>({type:l,id:e}),x=()=>({type:u}),k=e=>({type:s,payload:e}),O=()=>({type:"UPDATE_SELECT_BOX_FAILED"}),F=e=>({type:c,payload:e}),P=e=>({type:f,payload:e}),_=e=>({type:d,payload:e}),T=()=>({type:p}),C=(e,t)=>({type:h,payload:{file:e,filename:t}}),j=e=>({type:y,payload:e}),R=e=>({type:m,payload:e}),D=()=>({type:v})},2896:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});n(6992),n(3948),n(4916),n(4765);var r=n(7294),o=n(5697),a=n.n(o),i=n(6706),l=n(5977),u=n(368);n(6699);var s=n(1020);function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
2
  /**
3
  * @package Gravity PDF
4
  * @copyright Copyright (c) 2022, Blue Liquid Designs
@@ -11,14 +11,14 @@
11
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
12
  * @since 6.0
13
  */
14
- return function(e,t){var n=document.querySelector(".gfpdf-font-manager select"),r=document.querySelector('optgroup[label="User-Defined Fonts"]'),o=n.options[n.selectedIndex].value,a=[],i=document.createElement("optgroup");i.setAttribute("label","User-Defined Fonts"),e.map((e=>{var t=document.createElement("option");return t.text=e.font_name,t.value=e.id,i.appendChild(t)})),t||null!==r&&(r.remove(),n.insertBefore(i,n.childNodes[0]),n.selectedIndex="0"),Array.from(document.querySelectorAll('optgroup[label="User-Defined Fonts"] > option')).map((e=>a.push(e.value))),null!==r&&r.remove();var l=[];return e.length>0&&e.map((e=>l.push(e.id))),l.length>0&&l.includes(t)?(n.insertBefore(i,n.childNodes[0]),n.value=t):l.length>0&&!l.includes(t)?(n.insertBefore(i,n.childNodes[0]),n.selectedIndex="0"):0===l.length&&a.length>0?n.selectedIndex="0":(n.insertBefore(i,n.childNodes[0]),n.value=t||o,void(0===a.length&&0===l.length&&(n.querySelector('optgroup[label="User-Defined Fonts"]').remove(),n.selectedIndex="0")))}(e,t)}render(){return r.createElement("button",{className:"close dashicons dashicons-no",tabIndex:"142",onClick:this.handleCloseDialog,"aria-label":"close"},r.createElement("span",{className:"screen-reader-text"},"Close dialog"))}}c(f,"propTypes",{id:a().string,closeRoute:a().string,getCustomFontList:a().func.isRequired,clearAddFontMsg:a().func.isRequired,templateList:a().arrayOf(a().object).isRequired,fontList:a().arrayOf(a().object).isRequired,selectedFont:a().string.isRequired,msg:a().object.isRequired,history:a().object.isRequired});const d=(0,l.EN)((0,i.$j)((e=>({templateList:e.template.list,fontList:e.fontManager.fontList,selectedFont:e.fontManager.selectedFont,msg:e.fontManager.msg})),{getCustomFontList:u.yT,clearAddFontMsg:u.OM})(f))},1581:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(7294),o=n(5697),a=e=>{var{style:t}=e;return r.createElement("img",{alt:GFPDF.spinnerAlt,src:GFPDF.spinnerUrl,className:"gfpdf-spinner "+t})};a.propTypes={style:n.n(o)().string};const i=a},1020:(e,t,n)=>{"use strict";
15
  /**
16
  * @package Gravity PDF
17
  * @copyright Copyright (c) 2022, Blue Liquid Designs
18
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
19
  * @since 6.0
20
  */
21
- function r(e,t){var n=document.querySelector(".update-font");if(t){var r=e.location.pathname;return r.substr(r.lastIndexOf("/")+1)===t?o(n,e):a(n,e,t)}return o(n,e)}function o(e,t){if(e.classList.remove("show"),"/fontmanager/"!==t.location.pathname)return t.push("/fontmanager/")}function a(e,t,n){return e.classList.add("show"),t.push("/fontmanager/"+n)}n.d(t,{cn:()=>a,kv:()=>r})},9662:(e,t,n)=>{var r=n(614),o=n(6330),a=TypeError;e.exports=function(e){if(r(e))return e;throw a(o(e)+" is not a function")}},9483:(e,t,n)=>{var r=n(4411),o=n(6330),a=TypeError;e.exports=function(e){if(r(e))return e;throw a(o(e)+" is not a constructor")}},6077:(e,t,n)=>{var r=n(614),o=String,a=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw a("Can't set "+o(e)+" as a prototype")}},1223:(e,t,n)=>{var r=n(5112),o=n(30),a=n(3070).f,i=r("unscopables"),l=Array.prototype;null==l[i]&&a(l,i,{configurable:!0,value:o(null)}),e.exports=function(e){l[i][e]=!0}},1530:(e,t,n)=>{"use strict";var r=n(8710).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},5787:(e,t,n)=>{var r=n(7976),o=TypeError;e.exports=function(e,t){if(r(t,e))return e;throw o("Incorrect invocation")}},9670:(e,t,n)=>{var r=n(111),o=String,a=TypeError;e.exports=function(e){if(r(e))return e;throw a(o(e)+" is not an object")}},1318:(e,t,n)=>{var r=n(5656),o=n(1400),a=n(6244),i=function(e){return function(t,n,i){var l,u=r(t),s=a(u),c=o(i,s);if(e&&n!=n){for(;s>c;)if((l=u[c++])!=l)return!0}else for(;s>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},9341:(e,t,n)=>{"use strict";var r=n(7293);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){return 1},1)}))}},1589:(e,t,n)=>{var r=n(1400),o=n(6244),a=n(6135),i=Array,l=Math.max;e.exports=function(e,t,n){for(var u=o(e),s=r(t,u),c=r(void 0===n?u:n,u),f=i(l(c-s,0)),d=0;s<c;s++,d++)a(f,d,e[s]);return f.length=d,f}},206:(e,t,n)=>{var r=n(1702);e.exports=r([].slice)},4362:(e,t,n)=>{var r=n(1589),o=Math.floor,a=function(e,t){var n=e.length,u=o(n/2);return n<8?i(e,t):l(e,a(r(e,0,u),t),a(r(e,u),t),t)},i=function(e,t){for(var n,r,o=e.length,a=1;a<o;){for(r=a,n=e[a];r&&t(e[r-1],n)>0;)e[r]=e[--r];r!==a++&&(e[r]=n)}return e},l=function(e,t,n,r){for(var o=t.length,a=n.length,i=0,l=0;i<o||l<a;)e[i+l]=i<o&&l<a?r(t[i],n[l])<=0?t[i++]:n[l++]:i<o?t[i++]:n[l++];return e};e.exports=a},7072:(e,t,n)=>{var r=n(5112)("iterator"),o=!1;try{var a=0,i={next:function(){return{done:!!a++}},return:function(){o=!0}};i[r]=function(){return this},Array.from(i,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var a={};a[r]=function(){return{next:function(){return{done:n=!0}}}},e(a)}catch(e){}return n}},4326:(e,t,n)=>{var r=n(1702),o=r({}.toString),a=r("".slice);e.exports=function(e){return a(o(e),8,-1)}},648:(e,t,n)=>{var r=n(1694),o=n(614),a=n(4326),i=n(5112)("toStringTag"),l=Object,u="Arguments"==a(function(){return arguments}());e.exports=r?a:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=l(e),i))?n:u?a(t):"Object"==(r=a(t))&&o(t.callee)?"Arguments":r}},9920:(e,t,n)=>{var r=n(2597),o=n(3887),a=n(1236),i=n(3070);e.exports=function(e,t,n){for(var l=o(t),u=i.f,s=a.f,c=0;c<l.length;c++){var f=l[c];r(e,f)||n&&r(n,f)||u(e,f,s(t,f))}}},4964:(e,t,n)=>{var r=n(5112)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},8544:(e,t,n)=>{var r=n(7293);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},4994:(e,t,n)=>{"use strict";var r=n(3383).IteratorPrototype,o=n(30),a=n(9114),i=n(8003),l=n(7497),u=function(){return this};e.exports=function(e,t,n,s){var c=t+" Iterator";return e.prototype=o(r,{next:a(+!s,n)}),i(e,c,!1,!0),l[c]=u,e}},8880:(e,t,n)=>{var r=n(9781),o=n(3070),a=n(9114);e.exports=r?function(e,t,n){return o.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},9114:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},6135:(e,t,n)=>{"use strict";var r=n(4948),o=n(3070),a=n(9114);e.exports=function(e,t,n){var i=r(t);i in e?o.f(e,i,a(0,n)):e[i]=n}},8052:(e,t,n)=>{var r=n(614),o=n(3070),a=n(6339),i=n(3072);e.exports=function(e,t,n,l){l||(l={});var u=l.enumerable,s=void 0!==l.name?l.name:t;if(r(n)&&a(n,s,l),l.global)u?e[t]=n:i(t,n);else{try{l.unsafe?e[t]&&(u=!0):delete e[t]}catch(e){}u?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return e}},3072:(e,t,n)=>{var r=n(7854),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},654:(e,t,n)=>{"use strict";var r=n(2109),o=n(6916),a=n(1913),i=n(6530),l=n(614),u=n(4994),s=n(9518),c=n(7674),f=n(8003),d=n(8880),p=n(8052),h=n(5112),y=n(7497),m=n(3383),v=i.PROPER,g=i.CONFIGURABLE,b=m.IteratorPrototype,w=m.BUGGY_SAFARI_ITERATORS,E=h("iterator"),S="keys",x="values",k="entries",O=function(){return this};e.exports=function(e,t,n,i,h,m,F){u(n,t,i);var P,_,T,C=function(e){if(e===h&&L)return L;if(!w&&e in D)return D[e];switch(e){case S:case x:case k:return function(){return new n(this,e)}}return function(){return new n(this)}},j=t+" Iterator",R=!1,D=e.prototype,A=D[E]||D["@@iterator"]||h&&D[h],L=!w&&A||C(h),N="Array"==t&&D.entries||A;if(N&&(P=s(N.call(new e)))!==Object.prototype&&P.next&&(a||s(P)===b||(c?c(P,b):l(P[E])||p(P,E,O)),f(P,j,!0,!0),a&&(y[j]=O)),v&&h==x&&A&&A.name!==x&&(!a&&g?d(D,"name",x):(R=!0,L=function(){return o(A,this)})),h)if(_={values:C(x),keys:m?L:C(S),entries:C(k)},F)for(T in _)(w||R||!(T in D))&&p(D,T,_[T]);else r({target:t,proto:!0,forced:w||R},_);return a&&!F||D[E]===L||p(D,E,L,{name:h}),y[t]=L,_}},5117:(e,t,n)=>{"use strict";var r=n(6330),o=TypeError;e.exports=function(e,t){if(!delete e[t])throw o("Cannot delete property "+r(t)+" of "+r(e))}},9781:(e,t,n)=>{var r=n(7293);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:(e,t,n)=>{var r=n(7854),o=n(111),a=r.document,i=o(a)&&o(a.createElement);e.exports=function(e){return i?a.createElement(e):{}}},8324:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8509:(e,t,n)=>{var r=n(317)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8886:(e,t,n)=>{var r=n(8113).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},7871:(e,t,n)=>{var r=n(3823),o=n(5268);e.exports=!r&&!o&&"object"==typeof window&&"object"==typeof document},3823:e=>{e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},256:(e,t,n)=>{var r=n(8113);e.exports=/MSIE|Trident/.test(r)},1528:(e,t,n)=>{var r=n(8113),o=n(7854);e.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==o.Pebble},6833:(e,t,n)=>{var r=n(8113);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},5268:(e,t,n)=>{var r=n(4326),o=n(7854);e.exports="process"==r(o.process)},1036:(e,t,n)=>{var r=n(8113);e.exports=/web0s(?!.*chrome)/i.test(r)},8113:(e,t,n)=>{var r=n(5005);e.exports=r("navigator","userAgent")||""},7392:(e,t,n)=>{var r,o,a=n(7854),i=n(8113),l=a.process,u=a.Deno,s=l&&l.versions||u&&u.version,c=s&&s.v8;c&&(o=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&i&&(!(r=i.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},8008:(e,t,n)=>{var r=n(8113).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},748:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(e,t,n)=>{var r=n(7854),o=n(1236).f,a=n(8880),i=n(8052),l=n(3072),u=n(9920),s=n(4705);e.exports=function(e,t){var n,c,f,d,p,h=e.target,y=e.global,m=e.stat;if(n=y?r:m?r[h]||l(h,{}):(r[h]||{}).prototype)for(c in t){if(d=t[c],f=e.dontCallGetSet?(p=o(n,c))&&p.value:n[c],!s(y?c:h+(m?".":"#")+c,e.forced)&&void 0!==f){if(typeof d==typeof f)continue;u(d,f)}(e.sham||f&&f.sham)&&a(d,"sham",!0),i(n,c,d,e)}}},7293:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},7007:(e,t,n)=>{"use strict";n(4916);var r=n(1702),o=n(8052),a=n(2261),i=n(7293),l=n(5112),u=n(8880),s=l("species"),c=RegExp.prototype;e.exports=function(e,t,n,f){var d=l(e),p=!i((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),h=p&&!i((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[s]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return t=!0,null},n[d](""),!t}));if(!p||!h||n){var y=r(/./[d]),m=t(d,""[e],(function(e,t,n,o,i){var l=r(e),u=t.exec;return u===a||u===c.exec?p&&!i?{done:!0,value:y(t,n,o)}:{done:!0,value:l(n,t,o)}:{done:!1}}));o(String.prototype,e,m[0]),o(c,d,m[1])}f&&u(c[d],"sham",!0)}},2104:(e,t,n)=>{var r=n(4374),o=Function.prototype,a=o.apply,i=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?i.bind(a):function(){return i.apply(a,arguments)})},9974:(e,t,n)=>{var r=n(1702),o=n(9662),a=n(4374),i=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:a?i(e,t):function(){return e.apply(t,arguments)}}},4374:(e,t,n)=>{var r=n(7293);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},6916:(e,t,n)=>{var r=n(4374),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},6530:(e,t,n)=>{var r=n(9781),o=n(2597),a=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,l=o(a,"name"),u=l&&"something"===function(){}.name,s=l&&(!r||r&&i(a,"name").configurable);e.exports={EXISTS:l,PROPER:u,CONFIGURABLE:s}},1702:(e,t,n)=>{var r=n(4374),o=Function.prototype,a=o.bind,i=o.call,l=r&&a.bind(i,i);e.exports=r?function(e){return e&&l(e)}:function(e){return e&&function(){return i.apply(e,arguments)}}},5005:(e,t,n)=>{var r=n(7854),o=n(614),a=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?a(r[e]):r[e]&&r[e][t]}},1246:(e,t,n)=>{var r=n(648),o=n(8173),a=n(7497),i=n(5112)("iterator");e.exports=function(e){if(null!=e)return o(e,i)||o(e,"@@iterator")||a[r(e)]}},8554:(e,t,n)=>{var r=n(6916),o=n(9662),a=n(9670),i=n(6330),l=n(1246),u=TypeError;e.exports=function(e,t){var n=arguments.length<2?l(e):t;if(o(n))return a(r(n,e));throw u(i(e)+" is not iterable")}},8173:(e,t,n)=>{var r=n(9662);e.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}},647:(e,t,n)=>{var r=n(1702),o=n(7908),a=Math.floor,i=r("".charAt),l=r("".replace),u=r("".slice),s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,f,d){var p=n+e.length,h=r.length,y=c;return void 0!==f&&(f=o(f),y=s),l(d,y,(function(o,l){var s;switch(i(l,0)){case"$":return"$";case"&":return e;case"`":return u(t,0,n);case"'":return u(t,p);case"<":s=f[u(l,1,-1)];break;default:var c=+l;if(0===c)return o;if(c>h){var d=a(c/10);return 0===d?o:d<=h?void 0===r[d-1]?i(l,1):r[d-1]+i(l,1):o}s=r[c-1]}return void 0===s?"":s}))}},7854:(e,t,n)=>{var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2597:(e,t,n)=>{var r=n(1702),o=n(7908),a=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(o(e),t)}},3501:e=>{e.exports={}},842:(e,t,n)=>{var r=n(7854);e.exports=function(e,t){var n=r.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},490:(e,t,n)=>{var r=n(5005);e.exports=r("document","documentElement")},4664:(e,t,n)=>{var r=n(9781),o=n(7293),a=n(317);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},8361:(e,t,n)=>{var r=n(1702),o=n(7293),a=n(4326),i=Object,l=r("".split);e.exports=o((function(){return!i("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?l(e,""):i(e)}:i},2788:(e,t,n)=>{var r=n(1702),o=n(614),a=n(5465),i=r(Function.toString);o(a.inspectSource)||(a.inspectSource=function(e){return i(e)}),e.exports=a.inspectSource},9909:(e,t,n)=>{var r,o,a,i=n(8536),l=n(7854),u=n(1702),s=n(111),c=n(8880),f=n(2597),d=n(5465),p=n(6200),h=n(3501),y="Object already initialized",m=l.TypeError,v=l.WeakMap;if(i||d.state){var g=d.state||(d.state=new v),b=u(g.get),w=u(g.has),E=u(g.set);r=function(e,t){if(w(g,e))throw new m(y);return t.facade=e,E(g,e,t),t},o=function(e){return b(g,e)||{}},a=function(e){return w(g,e)}}else{var S=p("state");h[S]=!0,r=function(e,t){if(f(e,S))throw new m(y);return t.facade=e,c(e,S,t),t},o=function(e){return f(e,S)?e[S]:{}},a=function(e){return f(e,S)}}e.exports={set:r,get:o,has:a,enforce:function(e){return a(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!s(t)||(n=o(t)).type!==e)throw m("Incompatible receiver, "+e+" required");return n}}}},7659:(e,t,n)=>{var r=n(5112),o=n(7497),a=r("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||i[a]===e)}},3157:(e,t,n)=>{var r=n(4326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},614:e=>{e.exports=function(e){return"function"==typeof e}},4411:(e,t,n)=>{var r=n(1702),o=n(7293),a=n(614),i=n(648),l=n(5005),u=n(2788),s=function(){},c=[],f=l("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=r(d.exec),h=!d.exec(s),y=function(e){if(!a(e))return!1;try{return f(s,c,e),!0}catch(e){return!1}},m=function(e){if(!a(e))return!1;switch(i(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(d,u(e))}catch(e){return!0}};m.sham=!0,e.exports=!f||o((function(){var e;return y(y.call)||!y(Object)||!y((function(){e=!0}))||e}))?m:y},4705:(e,t,n)=>{var r=n(7293),o=n(614),a=/#|\.prototype\./,i=function(e,t){var n=u[l(e)];return n==c||n!=s&&(o(t)?r(t):!!t)},l=i.normalize=function(e){return String(e).replace(a,".").toLowerCase()},u=i.data={},s=i.NATIVE="N",c=i.POLYFILL="P";e.exports=i},111:(e,t,n)=>{var r=n(614);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},1913:e=>{e.exports=!1},7850:(e,t,n)=>{var r=n(111),o=n(4326),a=n(5112)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==o(e))}},2190:(e,t,n)=>{var r=n(5005),o=n(614),a=n(7976),i=n(3307),l=Object;e.exports=i?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&a(t.prototype,l(e))}},408:(e,t,n)=>{var r=n(9974),o=n(6916),a=n(9670),i=n(6330),l=n(7659),u=n(6244),s=n(7976),c=n(8554),f=n(1246),d=n(9212),p=TypeError,h=function(e,t){this.stopped=e,this.result=t},y=h.prototype;e.exports=function(e,t,n){var m,v,g,b,w,E,S,x=n&&n.that,k=!(!n||!n.AS_ENTRIES),O=!(!n||!n.IS_RECORD),F=!(!n||!n.IS_ITERATOR),P=!(!n||!n.INTERRUPTED),_=r(t,x),T=function(e){return m&&d(m,"normal",e),new h(!0,e)},C=function(e){return k?(a(e),P?_(e[0],e[1],T):_(e[0],e[1])):P?_(e,T):_(e)};if(O)m=e.iterator;else if(F)m=e;else{if(!(v=f(e)))throw p(i(e)+" is not iterable");if(l(v)){for(g=0,b=u(e);b>g;g++)if((w=C(e[g]))&&s(y,w))return w;return new h(!1)}m=c(e,v)}for(E=O?e.next:m.next;!(S=o(E,m)).done;){try{w=C(S.value)}catch(e){d(m,"throw",e)}if("object"==typeof w&&w&&s(y,w))return w}return new h(!1)}},9212:(e,t,n)=>{var r=n(6916),o=n(9670),a=n(8173);e.exports=function(e,t,n){var i,l;o(e);try{if(!(i=a(e,"return"))){if("throw"===t)throw n;return n}i=r(i,e)}catch(e){l=!0,i=e}if("throw"===t)throw n;if(l)throw i;return o(i),n}},3383:(e,t,n)=>{"use strict";var r,o,a,i=n(7293),l=n(614),u=n(30),s=n(9518),c=n(8052),f=n(5112),d=n(1913),p=f("iterator"),h=!1;[].keys&&("next"in(a=[].keys())?(o=s(s(a)))!==Object.prototype&&(r=o):h=!0),null==r||i((function(){var e={};return r[p].call(e)!==e}))?r={}:d&&(r=u(r)),l(r[p])||c(r,p,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},7497:e=>{e.exports={}},6244:(e,t,n)=>{var r=n(7466);e.exports=function(e){return r(e.length)}},6339:(e,t,n)=>{var r=n(7293),o=n(614),a=n(2597),i=n(9781),l=n(6530).CONFIGURABLE,u=n(2788),s=n(9909),c=s.enforce,f=s.get,d=Object.defineProperty,p=i&&!r((function(){return 8!==d((function(){}),"length",{value:8}).length})),h=String(String).split("String"),y=e.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||l&&e.name!==t)&&(i?d(e,"name",{value:t,configurable:!0}):e.name=t),p&&n&&a(n,"arity")&&e.length!==n.arity&&d(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?i&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=c(e);return a(r,"source")||(r.source=h.join("string"==typeof t?t:"")),e};Function.prototype.toString=y((function(){return o(this)&&f(this).source||u(this)}),"toString")},4758:e=>{var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},5948:(e,t,n)=>{var r,o,a,i,l,u,s,c,f=n(7854),d=n(9974),p=n(1236).f,h=n(261).set,y=n(6833),m=n(1528),v=n(1036),g=n(5268),b=f.MutationObserver||f.WebKitMutationObserver,w=f.document,E=f.process,S=f.Promise,x=p(f,"queueMicrotask"),k=x&&x.value;k||(r=function(){var e,t;for(g&&(e=E.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?i():a=void 0,e}}a=void 0,e&&e.enter()},y||g||v||!b||!w?!m&&S&&S.resolve?((s=S.resolve(void 0)).constructor=S,c=d(s.then,s),i=function(){c(r)}):g?i=function(){E.nextTick(r)}:(h=d(h,f),i=function(){h(r)}):(l=!0,u=w.createTextNode(""),new b(r).observe(u,{characterData:!0}),i=function(){u.data=l=!l})),e.exports=k||function(e){var t={fn:e,next:void 0};a&&(a.next=t),o||(o=t,i()),a=t}},133:(e,t,n)=>{var r=n(7392),o=n(7293);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8536:(e,t,n)=>{var r=n(7854),o=n(614),a=n(2788),i=r.WeakMap;e.exports=o(i)&&/native code/.test(a(i))},8523:(e,t,n)=>{"use strict";var r=n(9662),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},3929:(e,t,n)=>{var r=n(7850),o=TypeError;e.exports=function(e){if(r(e))throw o("The method doesn't accept regular expressions");return e}},1574:(e,t,n)=>{"use strict";var r=n(9781),o=n(1702),a=n(6916),i=n(7293),l=n(1956),u=n(5181),s=n(5296),c=n(7908),f=n(8361),d=Object.assign,p=Object.defineProperty,h=o([].concat);e.exports=!d||i((function(){if(r&&1!==d({b:1},d(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!=d({},e)[n]||l(d({},t)).join("")!=o}))?function(e,t){for(var n=c(e),o=arguments.length,i=1,d=u.f,p=s.f;o>i;)for(var y,m=f(arguments[i++]),v=d?h(l(m),d(m)):l(m),g=v.length,b=0;g>b;)y=v[b++],r&&!a(p,m,y)||(n[y]=m[y]);return n}:d},30:(e,t,n)=>{var r,o=n(9670),a=n(6048),i=n(748),l=n(3501),u=n(490),s=n(317),c=n(6200),f=c("IE_PROTO"),d=function(){},p=function(e){return"<script>"+e+"</"+"script>"},h=function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t;y="undefined"!=typeof document?document.domain&&r?h(r):((t=s("iframe")).style.display="none",u.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F):h(r);for(var n=i.length;n--;)delete y.prototype[i[n]];return y()};l[f]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(d.prototype=o(e),n=new d,d.prototype=null,n[f]=e):n=y(),void 0===t?n:a.f(n,t)}},6048:(e,t,n)=>{var r=n(9781),o=n(3353),a=n(3070),i=n(9670),l=n(5656),u=n(1956);t.f=r&&!o?Object.defineProperties:function(e,t){i(e);for(var n,r=l(t),o=u(t),s=o.length,c=0;s>c;)a.f(e,n=o[c++],r[n]);return e}},3070:(e,t,n)=>{var r=n(9781),o=n(4664),a=n(3353),i=n(9670),l=n(4948),u=TypeError,s=Object.defineProperty,c=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",p="writable";t.f=r?a?function(e,t,n){if(i(e),t=l(t),i(n),"function"==typeof e&&"prototype"===t&&"value"in n&&p in n&&!n.writable){var r=c(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:d in n?n.configurable:r.configurable,enumerable:f in n?n.enumerable:r.enumerable,writable:!1})}return s(e,t,n)}:s:function(e,t,n){if(i(e),t=l(t),i(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw u("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},1236:(e,t,n)=>{var r=n(9781),o=n(6916),a=n(5296),i=n(9114),l=n(5656),u=n(4948),s=n(2597),c=n(4664),f=Object.getOwnPropertyDescriptor;t.f=r?f:function(e,t){if(e=l(e),t=u(t),c)try{return f(e,t)}catch(e){}if(s(e,t))return i(!o(a.f,e,t),e[t])}},8006:(e,t,n)=>{var r=n(6324),o=n(748).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},5181:(e,t)=>{t.f=Object.getOwnPropertySymbols},9518:(e,t,n)=>{var r=n(2597),o=n(614),a=n(7908),i=n(6200),l=n(8544),u=i("IE_PROTO"),s=Object,c=s.prototype;e.exports=l?s.getPrototypeOf:function(e){var t=a(e);if(r(t,u))return t[u];var n=t.constructor;return o(n)&&t instanceof n?n.prototype:t instanceof s?c:null}},7976:(e,t,n)=>{var r=n(1702);e.exports=r({}.isPrototypeOf)},6324:(e,t,n)=>{var r=n(1702),o=n(2597),a=n(5656),i=n(1318).indexOf,l=n(3501),u=r([].push);e.exports=function(e,t){var n,r=a(e),s=0,c=[];for(n in r)!o(l,n)&&o(r,n)&&u(c,n);for(;t.length>s;)o(r,n=t[s++])&&(~i(c,n)||u(c,n));return c}},1956:(e,t,n)=>{var r=n(6324),o=n(748);e.exports=Object.keys||function(e){return r(e,o)}},5296:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},7674:(e,t,n)=>{var r=n(1702),o=n(9670),a=n(6077);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return o(n),a(r),t?e(n,r):n.__proto__=r,n}}():void 0)},2140:(e,t,n)=>{var r=n(6916),o=n(614),a=n(111),i=TypeError;e.exports=function(e,t){var n,l;if("string"===t&&o(n=e.toString)&&!a(l=r(n,e)))return l;if(o(n=e.valueOf)&&!a(l=r(n,e)))return l;if("string"!==t&&o(n=e.toString)&&!a(l=r(n,e)))return l;throw i("Can't convert object to primitive value")}},3887:(e,t,n)=>{var r=n(5005),o=n(1702),a=n(8006),i=n(5181),l=n(9670),u=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=a.f(l(e)),n=i.f;return n?u(t,n(e)):t}},2534:e=>{e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},3702:(e,t,n)=>{var r=n(7854),o=n(2492),a=n(614),i=n(4705),l=n(2788),u=n(5112),s=n(7871),c=n(3823),f=n(1913),d=n(7392),p=o&&o.prototype,h=u("species"),y=!1,m=a(r.PromiseRejectionEvent),v=i("Promise",(function(){var e=l(o),t=e!==String(o);if(!t&&66===d)return!0;if(f&&(!p.catch||!p.finally))return!0;if(!d||d<51||!/native code/.test(e)){var n=new o((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((n.constructor={})[h]=r,!(y=n.then((function(){}))instanceof r))return!0}return!t&&(s||c)&&!m}));e.exports={CONSTRUCTOR:v,REJECTION_EVENT:m,SUBCLASSING:y}},2492:(e,t,n)=>{var r=n(7854);e.exports=r.Promise},9478:(e,t,n)=>{var r=n(9670),o=n(111),a=n(8523);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=a.f(e);return(0,n.resolve)(t),n.promise}},612:(e,t,n)=>{var r=n(2492),o=n(7072),a=n(3702).CONSTRUCTOR;e.exports=a||!o((function(e){r.all(e).then(void 0,(function(){}))}))},8572:e=>{var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}},e.exports=t},7651:(e,t,n)=>{var r=n(6916),o=n(9670),a=n(614),i=n(4326),l=n(2261),u=TypeError;e.exports=function(e,t){var n=e.exec;if(a(n)){var s=r(n,e,t);return null!==s&&o(s),s}if("RegExp"===i(e))return r(l,e,t);throw u("RegExp#exec called on incompatible receiver")}},2261:(e,t,n)=>{"use strict";var r,o,a=n(6916),i=n(1702),l=n(1340),u=n(7066),s=n(2999),c=n(2309),f=n(30),d=n(9909).get,p=n(9441),h=n(7168),y=c("native-string-replace",String.prototype.replace),m=RegExp.prototype.exec,v=m,g=i("".charAt),b=i("".indexOf),w=i("".replace),E=i("".slice),S=(o=/b*/g,a(m,r=/a/,"a"),a(m,o,"a"),0!==r.lastIndex||0!==o.lastIndex),x=s.BROKEN_CARET,k=void 0!==/()??/.exec("")[1];(S||k||x||p||h)&&(v=function(e){var t,n,r,o,i,s,c,p=this,h=d(p),O=l(e),F=h.raw;if(F)return F.lastIndex=p.lastIndex,t=a(v,F,O),p.lastIndex=F.lastIndex,t;var P=h.groups,_=x&&p.sticky,T=a(u,p),C=p.source,j=0,R=O;if(_&&(T=w(T,"y",""),-1===b(T,"g")&&(T+="g"),R=E(O,p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==g(O,p.lastIndex-1))&&(C="(?: "+C+")",R=" "+R,j++),n=new RegExp("^(?:"+C+")",T)),k&&(n=new RegExp("^"+C+"$(?!\\s)",T)),S&&(r=p.lastIndex),o=a(m,_?n:p,R),_?o?(o.input=E(o.input,j),o[0]=E(o[0],j),o.index=p.lastIndex,p.lastIndex+=o[0].length):p.lastIndex=0:S&&o&&(p.lastIndex=p.global?o.index+o[0].length:r),k&&o&&o.length>1&&a(y,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&P)for(o.groups=s=f(null),i=0;i<P.length;i++)s[(c=P[i])[0]]=o[c[1]];return o}),e.exports=v},7066:(e,t,n)=>{"use strict";var r=n(9670);e.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},2999:(e,t,n)=>{var r=n(7293),o=n(7854).RegExp,a=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),i=a||r((function(){return!o("a","y").sticky})),l=a||r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:l,MISSED_STICKY:i,UNSUPPORTED_Y:a}},9441:(e,t,n)=>{var r=n(7293),o=n(7854).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},7168:(e,t,n)=>{var r=n(7293),o=n(7854).RegExp;e.exports=r((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},4488:e=>{var t=TypeError;e.exports=function(e){if(null==e)throw t("Can't call method on "+e);return e}},1150:e=>{e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},6340:(e,t,n)=>{"use strict";var r=n(5005),o=n(3070),a=n(5112),i=n(9781),l=a("species");e.exports=function(e){var t=r(e),n=o.f;i&&t&&!t[l]&&n(t,l,{configurable:!0,get:function(){return this}})}},8003:(e,t,n)=>{var r=n(3070).f,o=n(2597),a=n(5112)("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!o(e,a)&&r(e,a,{configurable:!0,value:t})}},6200:(e,t,n)=>{var r=n(2309),o=n(9711),a=r("keys");e.exports=function(e){return a[e]||(a[e]=o(e))}},5465:(e,t,n)=>{var r=n(7854),o=n(3072),a="__core-js_shared__",i=r[a]||o(a,{});e.exports=i},2309:(e,t,n)=>{var r=n(1913),o=n(5465);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.24.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE",source:"https://github.com/zloirock/core-js"})},6707:(e,t,n)=>{var r=n(9670),o=n(9483),a=n(5112)("species");e.exports=function(e,t){var n,i=r(e).constructor;return void 0===i||null==(n=r(i)[a])?t:o(n)}},8710:(e,t,n)=>{var r=n(1702),o=n(9303),a=n(1340),i=n(4488),l=r("".charAt),u=r("".charCodeAt),s=r("".slice),c=function(e){return function(t,n){var r,c,f=a(i(t)),d=o(n),p=f.length;return d<0||d>=p?e?"":void 0:(r=u(f,d))<55296||r>56319||d+1===p||(c=u(f,d+1))<56320||c>57343?e?l(f,d):r:e?s(f,d,d+2):c-56320+(r-55296<<10)+65536}};e.exports={codeAt:c(!1),charAt:c(!0)}},261:(e,t,n)=>{var r,o,a,i,l=n(7854),u=n(2104),s=n(9974),c=n(614),f=n(2597),d=n(7293),p=n(490),h=n(206),y=n(317),m=n(8053),v=n(6833),g=n(5268),b=l.setImmediate,w=l.clearImmediate,E=l.process,S=l.Dispatch,x=l.Function,k=l.MessageChannel,O=l.String,F=0,P={},_="onreadystatechange";try{r=l.location}catch(e){}var T=function(e){if(f(P,e)){var t=P[e];delete P[e],t()}},C=function(e){return function(){T(e)}},j=function(e){T(e.data)},R=function(e){l.postMessage(O(e),r.protocol+"//"+r.host)};b&&w||(b=function(e){m(arguments.length,1);var t=c(e)?e:x(e),n=h(arguments,1);return P[++F]=function(){u(t,void 0,n)},o(F),F},w=function(e){delete P[e]},g?o=function(e){E.nextTick(C(e))}:S&&S.now?o=function(e){S.now(C(e))}:k&&!v?(i=(a=new k).port2,a.port1.onmessage=j,o=s(i.postMessage,i)):l.addEventListener&&c(l.postMessage)&&!l.importScripts&&r&&"file:"!==r.protocol&&!d(R)?(o=R,l.addEventListener("message",j,!1)):o=_ in y("script")?function(e){p.appendChild(y("script")).onreadystatechange=function(){p.removeChild(this),T(e)}}:function(e){setTimeout(C(e),0)}),e.exports={set:b,clear:w}},1400:(e,t,n)=>{var r=n(9303),o=Math.max,a=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):a(n,t)}},5656:(e,t,n)=>{var r=n(8361),o=n(4488);e.exports=function(e){return r(o(e))}},9303:(e,t,n)=>{var r=n(4758);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},7466:(e,t,n)=>{var r=n(9303),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},7908:(e,t,n)=>{var r=n(4488),o=Object;e.exports=function(e){return o(r(e))}},7593:(e,t,n)=>{var r=n(6916),o=n(111),a=n(2190),i=n(8173),l=n(2140),u=n(5112),s=TypeError,c=u("toPrimitive");e.exports=function(e,t){if(!o(e)||a(e))return e;var n,u=i(e,c);if(u){if(void 0===t&&(t="default"),n=r(u,e,t),!o(n)||a(n))return n;throw s("Can't convert object to primitive value")}return void 0===t&&(t="number"),l(e,t)}},4948:(e,t,n)=>{var r=n(7593),o=n(2190);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},1694:(e,t,n)=>{var r={};r[n(5112)("toStringTag")]="z",e.exports="[object z]"===String(r)},1340:(e,t,n)=>{var r=n(648),o=String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return o(e)}},6330:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},9711:(e,t,n)=>{var r=n(1702),o=0,a=Math.random(),i=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++o+a,36)}},3307:(e,t,n)=>{var r=n(133);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:(e,t,n)=>{var r=n(9781),o=n(7293);e.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8053:e=>{var t=TypeError;e.exports=function(e,n){if(e<n)throw t("Not enough arguments");return e}},5112:(e,t,n)=>{var r=n(7854),o=n(2309),a=n(2597),i=n(9711),l=n(133),u=n(3307),s=o("wks"),c=r.Symbol,f=c&&c.for,d=u?c:c&&c.withoutSetter||i;e.exports=function(e){if(!a(s,e)||!l&&"string"!=typeof s[e]){var t="Symbol."+e;l&&a(c,e)?s[e]=c[e]:s[e]=u&&f?f(t):d(t)}return s[e]}},6699:(e,t,n)=>{"use strict";var r=n(2109),o=n(1318).includes,a=n(7293),i=n(1223);r({target:"Array",proto:!0,forced:a((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},6992:(e,t,n)=>{"use strict";var r=n(5656),o=n(1223),a=n(7497),i=n(9909),l=n(3070).f,u=n(654),s=n(1913),c=n(9781),f="Array Iterator",d=i.set,p=i.getterFor(f);e.exports=u(Array,"Array",(function(e,t){d(this,{type:f,target:r(e),index:0,kind:t})}),(function(){var e=p(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");var h=a.Arguments=a.Array;if(o("keys"),o("values"),o("entries"),!s&&c&&"values"!==h.name)try{l(h,"name",{value:"values"})}catch(e){}},2707:(e,t,n)=>{"use strict";var r=n(2109),o=n(1702),a=n(9662),i=n(7908),l=n(6244),u=n(5117),s=n(1340),c=n(7293),f=n(4362),d=n(9341),p=n(8886),h=n(256),y=n(7392),m=n(8008),v=[],g=o(v.sort),b=o(v.push),w=c((function(){v.sort(void 0)})),E=c((function(){v.sort(null)})),S=d("sort"),x=!c((function(){if(y)return y<70;if(!(p&&p>3)){if(h)return!0;if(m)return m<603;var e,t,n,r,o="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)v.push({k:t+r,v:n})}for(v.sort((function(e,t){return t.v-e.v})),r=0;r<v.length;r++)t=v[r].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}}));r({target:"Array",proto:!0,forced:w||!E||!S||!x},{sort:function(e){void 0!==e&&a(e);var t=i(this);if(x)return void 0===e?g(t):g(t,e);var n,r,o=[],c=l(t);for(r=0;r<c;r++)r in t&&b(o,t[r]);for(f(o,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:s(t)>s(n)?1:-1}}(e)),n=o.length,r=0;r<n;)t[r]=o[r++];for(;r<c;)u(t,r++);return t}})},8862:(e,t,n)=>{var r=n(2109),o=n(5005),a=n(2104),i=n(6916),l=n(1702),u=n(7293),s=n(3157),c=n(614),f=n(111),d=n(2190),p=n(206),h=n(133),y=o("JSON","stringify"),m=l(/./.exec),v=l("".charAt),g=l("".charCodeAt),b=l("".replace),w=l(1..toString),E=/[\uD800-\uDFFF]/g,S=/^[\uD800-\uDBFF]$/,x=/^[\uDC00-\uDFFF]$/,k=!h||u((function(){var e=o("Symbol")();return"[null]"!=y([e])||"{}"!=y({a:e})||"{}"!=y(Object(e))})),O=u((function(){return'"\\udf06\\ud834"'!==y("\udf06\ud834")||'"\\udead"'!==y("\udead")})),F=function(e,t){var n=p(arguments),r=t;if((f(t)||void 0!==e)&&!d(e))return s(t)||(t=function(e,t){if(c(r)&&(t=i(r,this,e,t)),!d(t))return t}),n[1]=t,a(y,null,n)},P=function(e,t,n){var r=v(n,t-1),o=v(n,t+1);return m(S,e)&&!m(x,o)||m(x,e)&&!m(S,r)?"\\u"+w(g(e,0),16):e};y&&r({target:"JSON",stat:!0,arity:3,forced:k||O},{stringify:function(e,t,n){var r=p(arguments),o=a(k?F:y,null,r);return O&&"string"==typeof o?b(o,E,P):o}})},9601:(e,t,n)=>{var r=n(2109),o=n(1574);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},821:(e,t,n)=>{"use strict";var r=n(2109),o=n(6916),a=n(9662),i=n(8523),l=n(2534),u=n(408);r({target:"Promise",stat:!0,forced:n(612)},{all:function(e){var t=this,n=i.f(t),r=n.resolve,s=n.reject,c=l((function(){var n=a(t.resolve),i=[],l=0,c=1;u(e,(function(e){var a=l++,u=!1;c++,o(n,t,e).then((function(e){u||(u=!0,i[a]=e,--c||r(i))}),s)})),--c||r(i)}));return c.error&&s(c.value),n.promise}})},4164:(e,t,n)=>{"use strict";var r=n(2109),o=n(1913),a=n(3702).CONSTRUCTOR,i=n(2492),l=n(5005),u=n(614),s=n(8052),c=i&&i.prototype;if(r({target:"Promise",proto:!0,forced:a,real:!0},{catch:function(e){return this.then(void 0,e)}}),!o&&u(i)){var f=l("Promise").prototype.catch;c.catch!==f&&s(c,"catch",f,{unsafe:!0})}},3401:(e,t,n)=>{"use strict";var r,o,a,i=n(2109),l=n(1913),u=n(5268),s=n(7854),c=n(6916),f=n(8052),d=n(7674),p=n(8003),h=n(6340),y=n(9662),m=n(614),v=n(111),g=n(5787),b=n(6707),w=n(261).set,E=n(5948),S=n(842),x=n(2534),k=n(8572),O=n(9909),F=n(2492),P=n(3702),_=n(8523),T="Promise",C=P.CONSTRUCTOR,j=P.REJECTION_EVENT,R=P.SUBCLASSING,D=O.getterFor(T),A=O.set,L=F&&F.prototype,N=F,I=L,M=s.TypeError,U=s.document,z=s.process,q=_.f,G=q,B=!!(U&&U.createEvent&&s.dispatchEvent),H="unhandledrejection",$=function(e){var t;return!(!v(e)||!m(t=e.then))&&t},V=function(e,t){var n,r,o,a=t.value,i=1==t.state,l=i?e.ok:e.fail,u=e.resolve,s=e.reject,f=e.domain;try{l?(i||(2===t.rejection&&X(t),t.rejection=1),!0===l?n=a:(f&&f.enter(),n=l(a),f&&(f.exit(),o=!0)),n===e.promise?s(M("Promise-chain cycle")):(r=$(n))?c(r,n,u,s):u(n)):s(a)}catch(e){f&&!o&&f.exit(),s(e)}},W=function(e,t){e.notified||(e.notified=!0,E((function(){for(var n,r=e.reactions;n=r.get();)V(n,e);e.notified=!1,t&&!e.rejection&&Q(e)})))},K=function(e,t,n){var r,o;B?((r=U.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),s.dispatchEvent(r)):r={promise:t,reason:n},!j&&(o=s["on"+e])?o(r):e===H&&S("Unhandled promise rejection",n)},Q=function(e){c(w,s,(function(){var t,n=e.facade,r=e.value;if(Z(e)&&(t=x((function(){u?z.emit("unhandledRejection",r,n):K(H,n,r)})),e.rejection=u||Z(e)?2:1,t.error))throw t.value}))},Z=function(e){return 1!==e.rejection&&!e.parent},X=function(e){c(w,s,(function(){var t=e.facade;u?z.emit("rejectionHandled",t):K("rejectionhandled",t,e.value)}))},Y=function(e,t,n){return function(r){e(t,r,n)}},J=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,W(e,!0))},ee=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw M("Promise can't be resolved itself");var r=$(t);r?E((function(){var n={done:!1};try{c(r,t,Y(ee,n,e),Y(J,n,e))}catch(t){J(n,t,e)}})):(e.value=t,e.state=1,W(e,!1))}catch(t){J({done:!1},t,e)}}};if(C&&(I=(N=function(e){g(this,I),y(e),c(r,this);var t=D(this);try{e(Y(ee,t),Y(J,t))}catch(e){J(t,e)}}).prototype,(r=function(e){A(this,{type:T,done:!1,notified:!1,parent:!1,reactions:new k,rejection:!1,state:0,value:void 0})}).prototype=f(I,"then",(function(e,t){var n=D(this),r=q(b(this,N));return n.parent=!0,r.ok=!m(e)||e,r.fail=m(t)&&t,r.domain=u?z.domain:void 0,0==n.state?n.reactions.add(r):E((function(){V(r,n)})),r.promise})),o=function(){var e=new r,t=D(e);this.promise=e,this.resolve=Y(ee,t),this.reject=Y(J,t)},_.f=q=function(e){return e===N||undefined===e?new o(e):G(e)},!l&&m(F)&&L!==Object.prototype)){a=L.then,R||f(L,"then",(function(e,t){var n=this;return new N((function(e,t){c(a,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete L.constructor}catch(e){}d&&d(L,I)}i({global:!0,constructor:!0,wrap:!0,forced:C},{Promise:N}),p(N,T,!1,!0),h(T)},8674:(e,t,n)=>{n(3401),n(821),n(4164),n(6027),n(683),n(6294)},6027:(e,t,n)=>{"use strict";var r=n(2109),o=n(6916),a=n(9662),i=n(8523),l=n(2534),u=n(408);r({target:"Promise",stat:!0,forced:n(612)},{race:function(e){var t=this,n=i.f(t),r=n.reject,s=l((function(){var i=a(t.resolve);u(e,(function(e){o(i,t,e).then(n.resolve,r)}))}));return s.error&&r(s.value),n.promise}})},683:(e,t,n)=>{"use strict";var r=n(2109),o=n(6916),a=n(8523);r({target:"Promise",stat:!0,forced:n(3702).CONSTRUCTOR},{reject:function(e){var t=a.f(this);return o(t.reject,void 0,e),t.promise}})},6294:(e,t,n)=>{"use strict";var r=n(2109),o=n(5005),a=n(1913),i=n(2492),l=n(3702).CONSTRUCTOR,u=n(9478),s=o("Promise"),c=a&&!l;r({target:"Promise",stat:!0,forced:a||l},{resolve:function(e){return u(c&&this===s?i:this,e)}})},4916:(e,t,n)=>{"use strict";var r=n(2109),o=n(2261);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},7601:(e,t,n)=>{"use strict";n(4916);var r,o,a=n(2109),i=n(6916),l=n(1702),u=n(614),s=n(111),c=(r=!1,(o=/[ac]/).exec=function(){return r=!0,/./.exec.apply(this,arguments)},!0===o.test("abc")&&r),f=TypeError,d=l(/./.test);a({target:"RegExp",proto:!0,forced:!c},{test:function(e){var t=this.exec;if(!u(t))return d(this,e);var n=i(t,this,e);if(null!==n&&!s(n))throw new f("RegExp exec method returned something other than an Object or null");return!!n}})},2023:(e,t,n)=>{"use strict";var r=n(2109),o=n(1702),a=n(3929),i=n(4488),l=n(1340),u=n(4964),s=o("".indexOf);r({target:"String",proto:!0,forced:!u("includes")},{includes:function(e){return!!~s(l(i(this)),l(a(e)),arguments.length>1?arguments[1]:void 0)}})},4723:(e,t,n)=>{"use strict";var r=n(6916),o=n(7007),a=n(9670),i=n(7466),l=n(1340),u=n(4488),s=n(8173),c=n(1530),f=n(7651);o("match",(function(e,t,n){return[function(t){var n=u(this),o=null==t?void 0:s(t,e);return o?r(o,t,n):new RegExp(t)[e](l(n))},function(e){var r=a(this),o=l(e),u=n(t,r,o);if(u.done)return u.value;if(!r.global)return f(r,o);var s=r.unicode;r.lastIndex=0;for(var d,p=[],h=0;null!==(d=f(r,o));){var y=l(d[0]);p[h]=y,""===y&&(r.lastIndex=c(o,i(r.lastIndex),s)),h++}return 0===h?null:p}]}))},5306:(e,t,n)=>{"use strict";var r=n(2104),o=n(6916),a=n(1702),i=n(7007),l=n(7293),u=n(9670),s=n(614),c=n(9303),f=n(7466),d=n(1340),p=n(4488),h=n(1530),y=n(8173),m=n(647),v=n(7651),g=n(5112)("replace"),b=Math.max,w=Math.min,E=a([].concat),S=a([].push),x=a("".indexOf),k=a("".slice),O="$0"==="a".replace(/./,"$0"),F=!!/./[g]&&""===/./[g]("a","$0");i("replace",(function(e,t,n){var a=F?"$":"$0";return[function(e,n){var r=p(this),a=null==e?void 0:y(e,g);return a?o(a,e,r,n):o(t,d(r),e,n)},function(e,o){var i=u(this),l=d(e);if("string"==typeof o&&-1===x(o,a)&&-1===x(o,"$<")){var p=n(t,i,l,o);if(p.done)return p.value}var y=s(o);y||(o=d(o));var g=i.global;if(g){var O=i.unicode;i.lastIndex=0}for(var F=[];;){var P=v(i,l);if(null===P)break;if(S(F,P),!g)break;""===d(P[0])&&(i.lastIndex=h(l,f(i.lastIndex),O))}for(var _,T="",C=0,j=0;j<F.length;j++){for(var R=d((P=F[j])[0]),D=b(w(c(P.index),l.length),0),A=[],L=1;L<P.length;L++)S(A,void 0===(_=P[L])?_:String(_));var N=P.groups;if(y){var I=E([R],A,D,l);void 0!==N&&S(I,N);var M=d(r(o,void 0,I))}else M=m(R,l,D,A,N,o);D>=C&&(T+=k(l,C,D)+M,C=D+R.length)}return T+k(l,C)}]}),!!l((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!O||F)},4765:(e,t,n)=>{"use strict";var r=n(6916),o=n(7007),a=n(9670),i=n(4488),l=n(1150),u=n(1340),s=n(8173),c=n(7651);o("search",(function(e,t,n){return[function(t){var n=i(this),o=null==t?void 0:s(t,e);return o?r(o,t,n):new RegExp(t)[e](u(n))},function(e){var r=a(this),o=u(e),i=n(t,r,o);if(i.done)return i.value;var s=r.lastIndex;l(s,0)||(r.lastIndex=0);var f=c(r,o);return l(r.lastIndex,s)||(r.lastIndex=s),null===f?-1:f.index}]}))},3948:(e,t,n)=>{var r=n(7854),o=n(8324),a=n(8509),i=n(6992),l=n(8880),u=n(5112),s=u("iterator"),c=u("toStringTag"),f=i.values,d=function(e,t){if(e){if(e[s]!==f)try{l(e,s,f)}catch(t){e[s]=f}if(e[c]||l(e,c,t),o[t])for(var n in i)if(e[n]!==i[n])try{l(e,n,i[n])}catch(t){e[n]=i[n]}}};for(var p in o)d(r[p]&&r[p].prototype,p);d(a,"DOMTokenList")},7531:(e,t,n)=>{"use strict";n.d(t,{lX:()=>w,q_:()=>F,ob:()=>p,PP:()=>_,Ep:()=>d});var r=n(7462);function o(e){return"/"===e.charAt(0)}function a(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}const i=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],l=e&&o(e),u=t&&o(t),s=l||u;if(e&&o(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var c=i[i.length-1];n="."===c||".."===c||""===c}else n=!1;for(var f=0,d=i.length;d>=0;d--){var p=i[d];"."===p?a(i,d):".."===p?(a(i,d),f++):f&&(a(i,d),f--)}if(!s)for(;f--;f)i.unshift("..");!s||""===i[0]||i[0]&&o(i[0])||i.unshift("");var h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};var l=n(2177);function u(e){return"/"===e.charAt(0)?e:"/"+e}function s(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function f(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function d(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function p(e,t,n,o){var a;"string"==typeof e?(a=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var a=t.indexOf("?");return-1!==a&&(n=t.substr(a),t=t.substr(0,a)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),a.state=t):(void 0===(a=(0,r.Z)({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(a.key=n),o?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=i(a.pathname,o.pathname)):a.pathname=o.pathname:a.pathname||(a.pathname="/"),a}function h(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var a="function"==typeof e?e(t,n):e;"string"==typeof a?"function"==typeof r?r(a,o):o(!0):o(!1!==a)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var y=!("undefined"==typeof window||!window.document||!window.document.createElement);function m(e,t){t(window.confirm(e))}var v="popstate",g="hashchange";function b(){try{return window.history.state||{}}catch(e){return{}}}function w(e){void 0===e&&(e={}),y||(0,l.Z)(!1);var t,n=window.history,o=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,a=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,s=i.forceRefresh,w=void 0!==s&&s,E=i.getUserConfirmation,S=void 0===E?m:E,x=i.keyLength,k=void 0===x?6:x,O=e.basename?f(u(e.basename)):"";function F(e){var t=e||{},n=t.key,r=t.state,o=window.location,a=o.pathname+o.search+o.hash;return O&&(a=c(a,O)),p(a,r,n)}function P(){return Math.random().toString(36).substr(2,k)}var _=h();function T(e){(0,r.Z)(q,e),q.length=n.length,_.notifyListeners(q.location,q.action)}function C(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||D(F(e.state))}function j(){D(F(b()))}var R=!1;function D(e){if(R)R=!1,T();else{_.confirmTransitionTo(e,"POP",S,(function(t){t?T({action:"POP",location:e}):function(e){var t=q.location,n=L.indexOf(t.key);-1===n&&(n=0);var r=L.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(R=!0,I(o))}(e)}))}}var A=F(b()),L=[A.key];function N(e){return O+d(e)}function I(e){n.go(e)}var M=0;function U(e){1===(M+=e)&&1===e?(window.addEventListener(v,C),a&&window.addEventListener(g,j)):0===M&&(window.removeEventListener(v,C),a&&window.removeEventListener(g,j))}var z=!1;var q={length:n.length,action:"POP",location:A,createHref:N,push:function(e,t){var r="PUSH",a=p(e,t,P(),q.location);_.confirmTransitionTo(a,r,S,(function(e){if(e){var t=N(a),i=a.key,l=a.state;if(o)if(n.pushState({key:i,state:l},null,t),w)window.location.href=t;else{var u=L.indexOf(q.location.key),s=L.slice(0,u+1);s.push(a.key),L=s,T({action:r,location:a})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",a=p(e,t,P(),q.location);_.confirmTransitionTo(a,r,S,(function(e){if(e){var t=N(a),i=a.key,l=a.state;if(o)if(n.replaceState({key:i,state:l},null,t),w)window.location.replace(t);else{var u=L.indexOf(q.location.key);-1!==u&&(L[u]=a.key),T({action:r,location:a})}else window.location.replace(t)}}))},go:I,goBack:function(){I(-1)},goForward:function(){I(1)},block:function(e){void 0===e&&(e=!1);var t=_.setPrompt(e);return z||(U(1),z=!0),function(){return z&&(z=!1,U(-1)),t()}},listen:function(e){var t=_.appendListener(e);return U(1),function(){U(-1),t()}}};return q}var E="hashchange",S={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+s(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:s,decodePath:u},slash:{encodePath:u,decodePath:u}};function x(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function k(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function O(e){window.location.replace(x(window.location.href)+"#"+e)}function F(e){void 0===e&&(e={}),y||(0,l.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),o=n.getUserConfirmation,a=void 0===o?m:o,i=n.hashType,s=void 0===i?"slash":i,v=e.basename?f(u(e.basename)):"",g=S[s],b=g.encodePath,w=g.decodePath;function F(){var e=w(k());return v&&(e=c(e,v)),p(e)}var P=h();function _(e){(0,r.Z)(z,e),z.length=t.length,P.notifyListeners(z.location,z.action)}var T=!1,C=null;function j(){var e,t,n=k(),r=b(n);if(n!==r)O(r);else{var o=F(),i=z.location;if(!T&&(t=o,(e=i).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(C===d(o))return;C=null,function(e){if(T)T=!1,_();else{var t="POP";P.confirmTransitionTo(e,t,a,(function(n){n?_({action:t,location:e}):function(e){var t=z.location,n=L.lastIndexOf(d(t));-1===n&&(n=0);var r=L.lastIndexOf(d(e));-1===r&&(r=0);var o=n-r;o&&(T=!0,N(o))}(e)}))}}(o)}}var R=k(),D=b(R);R!==D&&O(D);var A=F(),L=[d(A)];function N(e){t.go(e)}var I=0;function M(e){1===(I+=e)&&1===e?window.addEventListener(E,j):0===I&&window.removeEventListener(E,j)}var U=!1;var z={length:t.length,action:"POP",location:A,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=x(window.location.href)),n+"#"+b(v+d(e))},push:function(e,t){var n="PUSH",r=p(e,void 0,void 0,z.location);P.confirmTransitionTo(r,n,a,(function(e){if(e){var t=d(r),o=b(v+t);if(k()!==o){C=t,function(e){window.location.hash=e}(o);var a=L.lastIndexOf(d(z.location)),i=L.slice(0,a+1);i.push(t),L=i,_({action:n,location:r})}else _()}}))},replace:function(e,t){var n="REPLACE",r=p(e,void 0,void 0,z.location);P.confirmTransitionTo(r,n,a,(function(e){if(e){var t=d(r),o=b(v+t);k()!==o&&(C=t,O(o));var a=L.indexOf(d(z.location));-1!==a&&(L[a]=t),_({action:n,location:r})}}))},go:N,goBack:function(){N(-1)},goForward:function(){N(1)},block:function(e){void 0===e&&(e=!1);var t=P.setPrompt(e);return U||(M(1),U=!0),function(){return U&&(U=!1,M(-1)),t()}},listen:function(e){var t=P.appendListener(e);return M(1),function(){M(-1),t()}}};return z}function P(e,t,n){return Math.min(Math.max(e,t),n)}function _(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,o=t.initialEntries,a=void 0===o?["/"]:o,i=t.initialIndex,l=void 0===i?0:i,u=t.keyLength,s=void 0===u?6:u,c=h();function f(e){(0,r.Z)(w,e),w.length=w.entries.length,c.notifyListeners(w.location,w.action)}function y(){return Math.random().toString(36).substr(2,s)}var m=P(l,0,a.length-1),v=a.map((function(e){return p(e,void 0,"string"==typeof e?y():e.key||y())})),g=d;function b(e){var t=P(w.index+e,0,w.entries.length-1),r=w.entries[t];c.confirmTransitionTo(r,"POP",n,(function(e){e?f({action:"POP",location:r,index:t}):f()}))}var w={length:v.length,action:"POP",location:v[m],index:m,entries:v,createHref:g,push:function(e,t){var r="PUSH",o=p(e,t,y(),w.location);c.confirmTransitionTo(o,r,n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,o):n.push(o),f({action:r,location:o,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",o=p(e,t,y(),w.location);c.confirmTransitionTo(o,r,n,(function(e){e&&(w.entries[w.index]=o,f({action:r,location:o}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),c.setPrompt(e)},listen:function(e){return c.appendListener(e)}};return w}},8679:(e,t,n)=>{"use strict";var r=n(9864),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function u(e){return r.isMemo(e)?i:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var s=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var i=c(n);f&&(i=i.concat(f(n)));for(var l=u(t),y=u(n),m=0;m<i.length;++m){var v=i[m];if(!(a[v]||r&&r[v]||y&&y[v]||l&&l[v])){var g=d(n,v);try{s(t,v,g)}catch(e){}}}}return t}},7418:e=>{"use strict";
22
  /*
23
  object-assign
24
  (c) Sindre Sorhus
@@ -31,7 +31,7 @@ object-assign
31
  *
32
  * This source code is licensed under the MIT license found in the
33
  * LICENSE file in the root directory of this source tree.
34
- */function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(i(227));var l=new Set,u={};function s(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(u[e]=t,e=0;e<t.length;e++)l.add(t[e])}var f=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p=Object.prototype.hasOwnProperty,h={},y={};function m(e,t,n,r,o,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){v[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];v[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){v[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){v[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){v[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){v[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){v[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){v[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){v[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var g=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function w(e,t,n,r){var o=v.hasOwnProperty(t)?v[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!p.call(y,e)||!p.call(h,e)&&(d.test(e)?y[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(g,b);v[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(g,b);v[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(g,b);v[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var E=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,S=60103,x=60106,k=60107,O=60108,F=60114,P=60109,_=60110,T=60112,C=60113,j=60120,R=60115,D=60116,A=60121,L=60128,N=60129,I=60130,M=60131;if("function"==typeof Symbol&&Symbol.for){var U=Symbol.for;S=U("react.element"),x=U("react.portal"),k=U("react.fragment"),O=U("react.strict_mode"),F=U("react.profiler"),P=U("react.provider"),_=U("react.context"),T=U("react.forward_ref"),C=U("react.suspense"),j=U("react.suspense_list"),R=U("react.memo"),D=U("react.lazy"),A=U("react.block"),U("react.scope"),L=U("react.opaque.id"),N=U("react.debug_trace_mode"),I=U("react.offscreen"),M=U("react.legacy_hidden")}var z,q="function"==typeof Symbol&&Symbol.iterator;function G(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=q&&e[q]||e["@@iterator"])?e:null}function B(e){if(void 0===z)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);z=t&&t[1]||""}return"\n"+z+e}var H=!1;function $(e,t){if(!e||H)return"";H=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(e){if(e&&r&&"string"==typeof e.stack){for(var o=e.stack.split("\n"),a=r.stack.split("\n"),i=o.length-1,l=a.length-1;1<=i&&0<=l&&o[i]!==a[l];)l--;for(;1<=i&&0<=l;i--,l--)if(o[i]!==a[l]){if(1!==i||1!==l)do{if(i--,0>--l||o[i]!==a[l])return"\n"+o[i].replace(" at new "," at ")}while(1<=i&&0<=l);break}}}finally{H=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?B(e):""}function V(e){switch(e.tag){case 5:return B(e.type);case 16:return B("Lazy");case 13:return B("Suspense");case 19:return B("SuspenseList");case 0:case 2:case 15:return e=$(e.type,!1);case 11:return e=$(e.type.render,!1);case 22:return e=$(e.type._render,!1);case 1:return e=$(e.type,!0);default:return""}}function W(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case k:return"Fragment";case x:return"Portal";case F:return"Profiler";case O:return"StrictMode";case C:return"Suspense";case j:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case _:return(e.displayName||"Context")+".Consumer";case P:return(e._context.displayName||"Context")+".Provider";case T:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case R:return W(e.type);case A:return W(e._render);case D:t=e._payload,e=e._init;try{return W(e(t))}catch(e){}}return null}function K(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Q(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Z(e){e._valueTracker||(e._valueTracker=function(e){var t=Q(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function X(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Q(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Y(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function J(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=K(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&w(e,"checked",t,!1)}function ne(e,t){te(e,t);var n=K(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?oe(e,t.type,n):t.hasOwnProperty("defaultValue")&&oe(e,t.type,K(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function re(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function oe(e,t,n){"number"===t&&Y(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function ae(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function ie(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+K(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function le(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ue(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:K(n)}}function se(e,t){var n=K(t.value),r=K(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ce(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var fe="http://www.w3.org/1999/xhtml",de="http://www.w3.org/2000/svg";function pe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function he(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?pe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ye,me,ve=(me=function(e,t){if(e.namespaceURI!==de||"innerHTML"in e)e.innerHTML=t;else{for((ye=ye||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ye.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return me(e,t)}))}:me);function ge(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var be={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},we=["Webkit","ms","Moz","O"];function Ee(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||be.hasOwnProperty(e)&&be[e]?(""+t).trim():t+"px"}function Se(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=Ee(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(be).forEach((function(e){we.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),be[t]=be[e]}))}));var xe=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ke(e,t){if(t){if(xe[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(i(62))}}function Oe(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Fe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Pe=null,_e=null,Te=null;function Ce(e){if(e=ro(e)){if("function"!=typeof Pe)throw Error(i(280));var t=e.stateNode;t&&(t=ao(t),Pe(e.stateNode,e.type,t))}}function je(e){_e?Te?Te.push(e):Te=[e]:_e=e}function Re(){if(_e){var e=_e,t=Te;if(Te=_e=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e])}}function De(e,t){return e(t)}function Ae(e,t,n,r,o){return e(t,n,r,o)}function Le(){}var Ne=De,Ie=!1,Me=!1;function Ue(){null===_e&&null===Te||(Le(),Re())}function ze(e,t){var n=e.stateNode;if(null===n)return null;var r=ao(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(i(231,t,typeof n));return n}var qe=!1;if(f)try{var Ge={};Object.defineProperty(Ge,"passive",{get:function(){qe=!0}}),window.addEventListener("test",Ge,Ge),window.removeEventListener("test",Ge,Ge)}catch(me){qe=!1}function Be(e,t,n,r,o,a,i,l,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(e){this.onError(e)}}var He=!1,$e=null,Ve=!1,We=null,Ke={onError:function(e){He=!0,$e=e}};function Qe(e,t,n,r,o,a,i,l,u){He=!1,$e=null,Be.apply(Ke,arguments)}function Ze(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Xe(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Ye(e){if(Ze(e)!==e)throw Error(i(188))}function Je(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ze(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return Ye(o),e;if(a===r)return Ye(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var l=!1,u=o.child;u;){if(u===n){l=!0,n=o,r=a;break}if(u===r){l=!0,r=o,n=a;break}u=u.sibling}if(!l){for(u=a.child;u;){if(u===n){l=!0,n=a,r=o;break}if(u===r){l=!0,r=a,n=o;break}u=u.sibling}if(!l)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function et(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var tt,nt,rt,ot,at=!1,it=[],lt=null,ut=null,st=null,ct=new Map,ft=new Map,dt=[],pt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ht(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function yt(e,t){switch(e){case"focusin":case"focusout":lt=null;break;case"dragenter":case"dragleave":ut=null;break;case"mouseover":case"mouseout":st=null;break;case"pointerover":case"pointerout":ct.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ft.delete(t.pointerId)}}function mt(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e=ht(t,n,r,o,a),null!==t&&(null!==(t=ro(t))&&nt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function vt(e){var t=no(e.target);if(null!==t){var n=Ze(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Xe(n)))return e.blockedOn=t,void ot(e.lanePriority,(function(){a.unstable_runWithPriority(e.priority,(function(){rt(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function gt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ro(n))&&nt(t),e.blockedOn=n,!1;t.shift()}return!0}function bt(e,t,n){gt(e)&&n.delete(t)}function wt(){for(at=!1;0<it.length;){var e=it[0];if(null!==e.blockedOn){null!==(e=ro(e.blockedOn))&&tt(e);break}for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&it.shift()}null!==lt&&gt(lt)&&(lt=null),null!==ut&&gt(ut)&&(ut=null),null!==st&&gt(st)&&(st=null),ct.forEach(bt),ft.forEach(bt)}function Et(e,t){e.blockedOn===t&&(e.blockedOn=null,at||(at=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,wt)))}function St(e){function t(t){return Et(t,e)}if(0<it.length){Et(it[0],e);for(var n=1;n<it.length;n++){var r=it[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==lt&&Et(lt,e),null!==ut&&Et(ut,e),null!==st&&Et(st,e),ct.forEach(t),ft.forEach(t),n=0;n<dt.length;n++)(r=dt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<dt.length&&null===(n=dt[0]).blockedOn;)vt(n),null===n.blockedOn&&dt.shift()}function xt(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var kt={animationend:xt("Animation","AnimationEnd"),animationiteration:xt("Animation","AnimationIteration"),animationstart:xt("Animation","AnimationStart"),transitionend:xt("Transition","TransitionEnd")},Ot={},Ft={};function Pt(e){if(Ot[e])return Ot[e];if(!kt[e])return e;var t,n=kt[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ft)return Ot[e]=n[t];return e}f&&(Ft=document.createElement("div").style,"AnimationEvent"in window||(delete kt.animationend.animation,delete kt.animationiteration.animation,delete kt.animationstart.animation),"TransitionEvent"in window||delete kt.transitionend.transition);var _t=Pt("animationend"),Tt=Pt("animationiteration"),Ct=Pt("animationstart"),jt=Pt("transitionend"),Rt=new Map,Dt=new Map,At=["abort","abort",_t,"animationEnd",Tt,"animationIteration",Ct,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",jt,"transitionEnd","waiting","waiting"];function Lt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];o="on"+(o[0].toUpperCase()+o.slice(1)),Dt.set(r,t),Rt.set(r,o),s(o,[r])}}(0,a.unstable_now)();var Nt=8;function It(e){if(0!=(1&e))return Nt=15,1;if(0!=(2&e))return Nt=14,2;if(0!=(4&e))return Nt=13,4;var t=24&e;return 0!==t?(Nt=12,t):0!=(32&e)?(Nt=11,32):0!==(t=192&e)?(Nt=10,t):0!=(256&e)?(Nt=9,256):0!==(t=3584&e)?(Nt=8,t):0!=(4096&e)?(Nt=7,4096):0!==(t=4186112&e)?(Nt=6,t):0!==(t=62914560&e)?(Nt=5,t):67108864&e?(Nt=4,67108864):0!=(134217728&e)?(Nt=3,134217728):0!==(t=805306368&e)?(Nt=2,t):0!=(1073741824&e)?(Nt=1,1073741824):(Nt=8,e)}function Mt(e,t){var n=e.pendingLanes;if(0===n)return Nt=0;var r=0,o=0,a=e.expiredLanes,i=e.suspendedLanes,l=e.pingedLanes;if(0!==a)r=a,o=Nt=15;else if(0!==(a=134217727&n)){var u=a&~i;0!==u?(r=It(u),o=Nt):0!==(l&=a)&&(r=It(l),o=Nt)}else 0!==(a=n&~i)?(r=It(a),o=Nt):0!==l&&(r=It(l),o=Nt);if(0===r)return 0;if(r=n&((0>(r=31-Ht(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&i)){if(It(t),o<=Nt)return t;Nt=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-Ht(t)),r|=e[n],t&=~o;return r}function Ut(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function zt(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=qt(24&~t))?zt(10,t):e;case 10:return 0===(e=qt(192&~t))?zt(8,t):e;case 8:return 0===(e=qt(3584&~t))&&(0===(e=qt(4186112&~t))&&(e=512)),e;case 2:return 0===(t=qt(805306368&~t))&&(t=268435456),t}throw Error(i(358,e))}function qt(e){return e&-e}function Gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Bt(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Ht(t)]=n}var Ht=Math.clz32?Math.clz32:function(e){return 0===e?32:31-($t(e)/Vt|0)|0},$t=Math.log,Vt=Math.LN2;var Wt=a.unstable_UserBlockingPriority,Kt=a.unstable_runWithPriority,Qt=!0;function Zt(e,t,n,r){Ie||Le();var o=Yt,a=Ie;Ie=!0;try{Ae(o,e,t,n,r)}finally{(Ie=a)||Ue()}}function Xt(e,t,n,r){Kt(Wt,Yt.bind(null,e,t,n,r))}function Yt(e,t,n,r){var o;if(Qt)if((o=0==(4&t))&&0<it.length&&-1<pt.indexOf(e))e=ht(null,e,t,n,r),it.push(e);else{var a=Jt(e,t,n,r);if(null===a)o&&yt(e,r);else{if(o){if(-1<pt.indexOf(e))return e=ht(a,e,t,n,r),void it.push(e);if(function(e,t,n,r,o){switch(t){case"focusin":return lt=mt(lt,e,t,n,r,o),!0;case"dragenter":return ut=mt(ut,e,t,n,r,o),!0;case"mouseover":return st=mt(st,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return ct.set(a,mt(ct.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,ft.set(a,mt(ft.get(a)||null,e,t,n,r,o)),!0}return!1}(a,e,t,n,r))return;yt(e,r)}Lr(e,t,r,null,n)}}}function Jt(e,t,n,r){var o=Fe(r);if(null!==(o=no(o))){var a=Ze(o);if(null===a)o=null;else{var i=a.tag;if(13===i){if(null!==(o=Xe(a)))return o;o=null}else if(3===i){if(a.stateNode.hydrate)return 3===a.tag?a.stateNode.containerInfo:null;o=null}else a!==o&&(o=null)}}return Lr(e,t,r,o,n),null}var en=null,tn=null,nn=null;function rn(){if(nn)return nn;var e,t,n=tn,r=n.length,o="value"in en?en.value:en.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return nn=o.slice(e,1<t?1-t:void 0)}function on(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function an(){return!0}function ln(){return!1}function un(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?an:ln,this.isPropagationStopped=ln,this}return o(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=an)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=an)},persist:function(){},isPersistent:an}),t}var sn,cn,fn,dn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pn=un(dn),hn=o({},dn,{view:0,detail:0}),yn=un(hn),mn=o({},hn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:_n,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==fn&&(fn&&"mousemove"===e.type?(sn=e.screenX-fn.screenX,cn=e.screenY-fn.screenY):cn=sn=0,fn=e),sn)},movementY:function(e){return"movementY"in e?e.movementY:cn}}),vn=un(mn),gn=un(o({},mn,{dataTransfer:0})),bn=un(o({},hn,{relatedTarget:0})),wn=un(o({},dn,{animationName:0,elapsedTime:0,pseudoElement:0})),En=o({},dn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Sn=un(En),xn=un(o({},dn,{data:0})),kn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},On={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Fn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Fn[e])&&!!t[e]}function _n(){return Pn}var Tn=o({},hn,{key:function(e){if(e.key){var t=kn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=on(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?On[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:_n,charCode:function(e){return"keypress"===e.type?on(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?on(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Cn=un(Tn),jn=un(o({},mn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Rn=un(o({},hn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:_n})),Dn=un(o({},dn,{propertyName:0,elapsedTime:0,pseudoElement:0})),An=o({},mn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Ln=un(An),Nn=[9,13,27,32],In=f&&"CompositionEvent"in window,Mn=null;f&&"documentMode"in document&&(Mn=document.documentMode);var Un=f&&"TextEvent"in window&&!Mn,zn=f&&(!In||Mn&&8<Mn&&11>=Mn),qn=String.fromCharCode(32),Gn=!1;function Bn(e,t){switch(e){case"keyup":return-1!==Nn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var $n=!1;var Vn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Wn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Vn[e.type]:"textarea"===t}function Kn(e,t,n,r){je(r),0<(t=Ir(t,"onChange")).length&&(n=new pn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Qn=null,Zn=null;function Xn(e){Tr(e,0)}function Yn(e){if(X(oo(e)))return e}function Jn(e,t){if("change"===e)return t}var er=!1;if(f){var tr;if(f){var nr="oninput"in document;if(!nr){var rr=document.createElement("div");rr.setAttribute("oninput","return;"),nr="function"==typeof rr.oninput}tr=nr}else tr=!1;er=tr&&(!document.documentMode||9<document.documentMode)}function or(){Qn&&(Qn.detachEvent("onpropertychange",ar),Zn=Qn=null)}function ar(e){if("value"===e.propertyName&&Yn(Zn)){var t=[];if(Kn(t,Zn,e,Fe(e)),e=Xn,Ie)e(t);else{Ie=!0;try{De(e,t)}finally{Ie=!1,Ue()}}}}function ir(e,t,n){"focusin"===e?(or(),Zn=n,(Qn=t).attachEvent("onpropertychange",ar)):"focusout"===e&&or()}function lr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Yn(Zn)}function ur(e,t){if("click"===e)return Yn(t)}function sr(e,t){if("input"===e||"change"===e)return Yn(t)}var cr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},fr=Object.prototype.hasOwnProperty;function dr(e,t){if(cr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!fr.call(t,n[r])||!cr(e[n[r]],t[n[r]]))return!1;return!0}function pr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function hr(e,t){var n,r=pr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=pr(r)}}function yr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?yr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function mr(){for(var e=window,t=Y();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Y((e=t.contentWindow).document)}return t}function vr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var gr=f&&"documentMode"in document&&11>=document.documentMode,br=null,wr=null,Er=null,Sr=!1;function xr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Sr||null==br||br!==Y(r)||("selectionStart"in(r=br)&&vr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},Er&&dr(Er,r)||(Er=r,0<(r=Ir(wr,"onSelect")).length&&(t=new pn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=br)))}Lt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Lt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Lt(At,2);for(var kr="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Or=0;Or<kr.length;Or++)Dt.set(kr[Or],0);c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Fr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Pr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Fr));function _r(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,l,u,s){if(Qe.apply(this,arguments),He){if(!He)throw Error(i(198));var c=$e;He=!1,$e=null,Ve||(Ve=!0,We=c)}}(r,t,void 0,e),e.currentTarget=null}function Tr(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],u=l.instance,s=l.currentTarget;if(l=l.listener,u!==a&&o.isPropagationStopped())break e;_r(o,l,s),a=u}else for(i=0;i<r.length;i++){if(u=(l=r[i]).instance,s=l.currentTarget,l=l.listener,u!==a&&o.isPropagationStopped())break e;_r(o,l,s),a=u}}}if(Ve)throw e=We,Ve=!1,We=null,e}function Cr(e,t){var n=io(t),r=e+"__bubble";n.has(r)||(Ar(t,e,2,!1),n.add(r))}var jr="_reactListening"+Math.random().toString(36).slice(2);function Rr(e){e[jr]||(e[jr]=!0,l.forEach((function(t){Pr.has(t)||Dr(t,!1,e,null),Dr(t,!0,e,null)})))}function Dr(e,t,n,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,a=n;if("selectionchange"===e&&9!==n.nodeType&&(a=n.ownerDocument),null!==r&&!t&&Pr.has(e)){if("scroll"!==e)return;o|=2,a=r}var i=io(a),l=e+"__"+(t?"capture":"bubble");i.has(l)||(t&&(o|=4),Ar(a,e,o,t),i.add(l))}function Ar(e,t,n,r){var o=Dt.get(t);switch(void 0===o?2:o){case 0:o=Zt;break;case 1:o=Xt;break;default:o=Yt}n=o.bind(null,t,n,e),o=void 0,!qe||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Lr(e,t,n,r,o){var a=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===i)for(i=r.return;null!==i;){var u=i.tag;if((3===u||4===u)&&((u=i.stateNode.containerInfo)===o||8===u.nodeType&&u.parentNode===o))return;i=i.return}for(;null!==l;){if(null===(i=no(l)))return;if(5===(u=i.tag)||6===u){r=a=i;continue e}l=l.parentNode}}r=r.return}!function(e,t,n){if(Me)return e(t,n);Me=!0;try{Ne(e,t,n)}finally{Me=!1,Ue()}}((function(){var r=a,o=Fe(n),i=[];e:{var l=Rt.get(e);if(void 0!==l){var u=pn,s=e;switch(e){case"keypress":if(0===on(n))break e;case"keydown":case"keyup":u=Cn;break;case"focusin":s="focus",u=bn;break;case"focusout":s="blur",u=bn;break;case"beforeblur":case"afterblur":u=bn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=vn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=gn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=Rn;break;case _t:case Tt:case Ct:u=wn;break;case jt:u=Dn;break;case"scroll":u=yn;break;case"wheel":u=Ln;break;case"copy":case"cut":case"paste":u=Sn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=jn}var c=0!=(4&t),f=!c&&"scroll"===e,d=c?null!==l?l+"Capture":null:l;c=[];for(var p,h=r;null!==h;){var y=(p=h).stateNode;if(5===p.tag&&null!==y&&(p=y,null!==d&&(null!=(y=ze(h,d))&&c.push(Nr(h,y,p)))),f)break;h=h.return}0<c.length&&(l=new u(l,s,null,n,o),i.push({event:l,listeners:c}))}}if(0==(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||0!=(16&t)||!(s=n.relatedTarget||n.fromElement)||!no(s)&&!s[eo])&&(u||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,u?(u=r,null!==(s=(s=n.relatedTarget||n.toElement)?no(s):null)&&(s!==(f=Ze(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(u=null,s=r),u!==s)){if(c=vn,y="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=jn,y="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==u?l:oo(u),p=null==s?l:oo(s),(l=new c(y,h+"leave",u,n,o)).target=f,l.relatedTarget=p,y=null,no(o)===r&&((c=new c(d,h+"enter",s,n,o)).target=p,c.relatedTarget=f,y=c),f=y,u&&s)e:{for(d=s,h=0,p=c=u;p;p=Mr(p))h++;for(p=0,y=d;y;y=Mr(y))p++;for(;0<h-p;)c=Mr(c),h--;for(;0<p-h;)d=Mr(d),p--;for(;h--;){if(c===d||null!==d&&c===d.alternate)break e;c=Mr(c),d=Mr(d)}c=null}else c=null;null!==u&&Ur(i,l,u,c,!1),null!==s&&null!==f&&Ur(i,f,s,c,!0)}if("select"===(u=(l=r?oo(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===u&&"file"===l.type)var m=Jn;else if(Wn(l))if(er)m=sr;else{m=lr;var v=ir}else(u=l.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(m=ur);switch(m&&(m=m(e,r))?Kn(i,m,n,o):(v&&v(e,l,r),"focusout"===e&&(v=l._wrapperState)&&v.controlled&&"number"===l.type&&oe(l,"number",l.value)),v=r?oo(r):window,e){case"focusin":(Wn(v)||"true"===v.contentEditable)&&(br=v,wr=r,Er=null);break;case"focusout":Er=wr=br=null;break;case"mousedown":Sr=!0;break;case"contextmenu":case"mouseup":case"dragend":Sr=!1,xr(i,n,o);break;case"selectionchange":if(gr)break;case"keydown":case"keyup":xr(i,n,o)}var g;if(In)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else $n?Bn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(zn&&"ko"!==n.locale&&($n||"onCompositionStart"!==b?"onCompositionEnd"===b&&$n&&(g=rn()):(tn="value"in(en=o)?en.value:en.textContent,$n=!0)),0<(v=Ir(r,b)).length&&(b=new xn(b,e,null,n,o),i.push({event:b,listeners:v}),g?b.data=g:null!==(g=Hn(n))&&(b.data=g))),(g=Un?function(e,t){switch(e){case"compositionend":return Hn(t);case"keypress":return 32!==t.which?null:(Gn=!0,qn);case"textInput":return(e=t.data)===qn&&Gn?null:e;default:return null}}(e,n):function(e,t){if($n)return"compositionend"===e||!In&&Bn(e,t)?(e=rn(),nn=tn=en=null,$n=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return zn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Ir(r,"onBeforeInput")).length&&(o=new xn("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=g))}Tr(i,t)}))}function Nr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ir(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=ze(e,n))&&r.unshift(Nr(e,a,o)),null!=(a=ze(e,t))&&r.push(Nr(e,a,o))),e=e.return}return r}function Mr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Ur(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var l=n,u=l.alternate,s=l.stateNode;if(null!==u&&u===r)break;5===l.tag&&null!==s&&(l=s,o?null!=(u=ze(n,a))&&i.unshift(Nr(n,u,l)):o||null!=(u=ze(n,a))&&i.push(Nr(n,u,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}function zr(){}var qr=null,Gr=null;function Br(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Hr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var $r="function"==typeof setTimeout?setTimeout:void 0,Vr="function"==typeof clearTimeout?clearTimeout:void 0;function Wr(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function Kr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Qr(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Zr=0;var Xr=Math.random().toString(36).slice(2),Yr="__reactFiber$"+Xr,Jr="__reactProps$"+Xr,eo="__reactContainer$"+Xr,to="__reactEvents$"+Xr;function no(e){var t=e[Yr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[eo]||n[Yr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Qr(e);null!==e;){if(n=e[Yr])return n;e=Qr(e)}return t}n=(e=n).parentNode}return null}function ro(e){return!(e=e[Yr]||e[eo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function oo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function ao(e){return e[Jr]||null}function io(e){var t=e[to];return void 0===t&&(t=e[to]=new Set),t}var lo=[],uo=-1;function so(e){return{current:e}}function co(e){0>uo||(e.current=lo[uo],lo[uo]=null,uo--)}function fo(e,t){uo++,lo[uo]=e.current,e.current=t}var po={},ho=so(po),yo=so(!1),mo=po;function vo(e,t){var n=e.type.contextTypes;if(!n)return po;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function go(e){return null!=(e=e.childContextTypes)}function bo(){co(yo),co(ho)}function wo(e,t,n){if(ho.current!==po)throw Error(i(168));fo(ho,t),fo(yo,n)}function Eo(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in e))throw Error(i(108,W(t)||"Unknown",a));return o({},n,r)}function So(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||po,mo=ho.current,fo(ho,e),fo(yo,yo.current),!0}function xo(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Eo(e,t,mo),r.__reactInternalMemoizedMergedChildContext=e,co(yo),co(ho),fo(ho,e)):co(yo),fo(yo,n)}var ko=null,Oo=null,Fo=a.unstable_runWithPriority,Po=a.unstable_scheduleCallback,_o=a.unstable_cancelCallback,To=a.unstable_shouldYield,Co=a.unstable_requestPaint,jo=a.unstable_now,Ro=a.unstable_getCurrentPriorityLevel,Do=a.unstable_ImmediatePriority,Ao=a.unstable_UserBlockingPriority,Lo=a.unstable_NormalPriority,No=a.unstable_LowPriority,Io=a.unstable_IdlePriority,Mo={},Uo=void 0!==Co?Co:function(){},zo=null,qo=null,Go=!1,Bo=jo(),Ho=1e4>Bo?jo:function(){return jo()-Bo};function $o(){switch(Ro()){case Do:return 99;case Ao:return 98;case Lo:return 97;case No:return 96;case Io:return 95;default:throw Error(i(332))}}function Vo(e){switch(e){case 99:return Do;case 98:return Ao;case 97:return Lo;case 96:return No;case 95:return Io;default:throw Error(i(332))}}function Wo(e,t){return e=Vo(e),Fo(e,t)}function Ko(e,t,n){return e=Vo(e),Po(e,t,n)}function Qo(){if(null!==qo){var e=qo;qo=null,_o(e)}Zo()}function Zo(){if(!Go&&null!==zo){Go=!0;var e=0;try{var t=zo;Wo(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),zo=null}catch(t){throw null!==zo&&(zo=zo.slice(e+1)),Po(Do,Qo),t}finally{Go=!1}}}var Xo=E.ReactCurrentBatchConfig;function Yo(e,t){if(e&&e.defaultProps){for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Jo=so(null),ea=null,ta=null,na=null;function ra(){na=ta=ea=null}function oa(e){var t=Jo.current;co(Jo),e.type._context._currentValue=t}function aa(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function ia(e,t){ea=e,na=ta=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Ii=!0),e.firstContext=null)}function la(e,t){if(na!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(na=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ta){if(null===ea)throw Error(i(308));ta=t,ea.dependencies={lanes:0,firstContext:t,responders:null}}else ta=ta.next=t;return e._currentValue}var ua=!1;function sa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function ca(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function fa(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function da(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function pa(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ha(e,t,n,r){var a=e.updateQueue;ua=!1;var i=a.firstBaseUpdate,l=a.lastBaseUpdate,u=a.shared.pending;if(null!==u){a.shared.pending=null;var s=u,c=s.next;s.next=null,null===l?i=c:l.next=c,l=s;var f=e.alternate;if(null!==f){var d=(f=f.updateQueue).lastBaseUpdate;d!==l&&(null===d?f.firstBaseUpdate=c:d.next=c,f.lastBaseUpdate=s)}}if(null!==i){for(d=a.baseState,l=0,f=c=s=null;;){u=i.lane;var p=i.eventTime;if((r&u)===u){null!==f&&(f=f.next={eventTime:p,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var h=e,y=i;switch(u=t,p=n,y.tag){case 1:if("function"==typeof(h=y.payload)){d=h.call(p,d,u);break e}d=h;break e;case 3:h.flags=-4097&h.flags|64;case 0:if(null==(u="function"==typeof(h=y.payload)?h.call(p,d,u):h))break e;d=o({},d,u);break e;case 2:ua=!0}}null!==i.callback&&(e.flags|=32,null===(u=a.effects)?a.effects=[i]:u.push(i))}else p={eventTime:p,lane:u,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===f?(c=f=p,s=d):f=f.next=p,l|=u;if(null===(i=i.next)){if(null===(u=a.shared.pending))break;i=u.next,u.next=null,a.lastBaseUpdate=u,a.shared.pending=null}}null===f&&(s=d),a.baseState=s,a.firstBaseUpdate=c,a.lastBaseUpdate=f,ql|=l,e.lanes=l,e.memoizedState=d}}function ya(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(i(191,o));o.call(r)}}}var ma=(new r.Component).refs;function va(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:o({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ga={isMounted:function(e){return!!(e=e._reactInternals)&&Ze(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=du(),o=pu(e),a=fa(r,o);a.payload=t,null!=n&&(a.callback=n),da(e,a),hu(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=du(),o=pu(e),a=fa(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),da(e,a),hu(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=du(),r=pu(e),o=fa(n,r);o.tag=2,null!=t&&(o.callback=t),da(e,o),hu(e,r,n)}};function ba(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!t.prototype||!t.prototype.isPureReactComponent||(!dr(n,r)||!dr(o,a))}function wa(e,t,n){var r=!1,o=po,a=t.contextType;return"object"==typeof a&&null!==a?a=la(a):(o=go(t)?mo:ho.current,a=(r=null!=(r=t.contextTypes))?vo(e,o):po),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ga,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function Ea(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ga.enqueueReplaceState(t,t.state,null)}function Sa(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=ma,sa(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=la(a):(a=go(t)?mo:ho.current,o.context=vo(e,a)),ha(e,n,o,r),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(va(e,t,a,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&ga.enqueueReplaceState(o,o.state,null),ha(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4)}var xa=Array.isArray;function ka(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=r.refs;t===ma&&(t=r.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!=typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function Oa(e,t){if("textarea"!==e.type)throw Error(i(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Fa(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Vu(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function l(t){return e&&null===t.alternate&&(t.flags=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Zu(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=ka(e,t,n),r.return=e,r):((r=Wu(n.type,n.key,n.props,null,e.mode,r)).ref=ka(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Xu(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,a){return null===t||7!==t.tag?((t=Ku(n,e.mode,r,a)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Zu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case S:return(n=Wu(t.type,t.key,t.props,null,e.mode,n)).ref=ka(e,null,t),n.return=e,n;case x:return(t=Xu(t,e.mode,n)).return=e,t}if(xa(t)||G(t))return(t=Ku(t,e.mode,n,null)).return=e,t;Oa(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case S:return n.key===o?n.type===k?f(e,t,n.props.children,r,o):s(e,t,n,r):null;case x:return n.key===o?c(e,t,n,r):null}if(xa(n)||G(n))return null!==o?null:f(e,t,n,r,null);Oa(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case S:return e=e.get(null===r.key?n:r.key)||null,r.type===k?f(t,e,r.props.children,o,r.key):s(t,e,r,o);case x:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(xa(r)||G(r))return f(t,e=e.get(n)||null,r,o,null);Oa(t,r)}return null}function y(o,i,l,u){for(var s=null,c=null,f=i,y=i=0,m=null;null!==f&&y<l.length;y++){f.index>y?(m=f,f=null):m=f.sibling;var v=p(o,f,l[y],u);if(null===v){null===f&&(f=m);break}e&&f&&null===v.alternate&&t(o,f),i=a(v,i,y),null===c?s=v:c.sibling=v,c=v,f=m}if(y===l.length)return n(o,f),s;if(null===f){for(;y<l.length;y++)null!==(f=d(o,l[y],u))&&(i=a(f,i,y),null===c?s=f:c.sibling=f,c=f);return s}for(f=r(o,f);y<l.length;y++)null!==(m=h(f,o,y,l[y],u))&&(e&&null!==m.alternate&&f.delete(null===m.key?y:m.key),i=a(m,i,y),null===c?s=m:c.sibling=m,c=m);return e&&f.forEach((function(e){return t(o,e)})),s}function m(o,l,u,s){var c=G(u);if("function"!=typeof c)throw Error(i(150));if(null==(u=c.call(u)))throw Error(i(151));for(var f=c=null,y=l,m=l=0,v=null,g=u.next();null!==y&&!g.done;m++,g=u.next()){y.index>m?(v=y,y=null):v=y.sibling;var b=p(o,y,g.value,s);if(null===b){null===y&&(y=v);break}e&&y&&null===b.alternate&&t(o,y),l=a(b,l,m),null===f?c=b:f.sibling=b,f=b,y=v}if(g.done)return n(o,y),c;if(null===y){for(;!g.done;m++,g=u.next())null!==(g=d(o,g.value,s))&&(l=a(g,l,m),null===f?c=g:f.sibling=g,f=g);return c}for(y=r(o,y);!g.done;m++,g=u.next())null!==(g=h(y,o,m,g.value,s))&&(e&&null!==g.alternate&&y.delete(null===g.key?m:g.key),l=a(g,l,m),null===f?c=g:f.sibling=g,f=g);return e&&y.forEach((function(e){return t(o,e)})),c}return function(e,r,a,u){var s="object"==typeof a&&null!==a&&a.type===k&&null===a.key;s&&(a=a.props.children);var c="object"==typeof a&&null!==a;if(c)switch(a.$$typeof){case S:e:{for(c=a.key,s=r;null!==s;){if(s.key===c){if(7===s.tag){if(a.type===k){n(e,s.sibling),(r=o(s,a.props.children)).return=e,e=r;break e}}else if(s.elementType===a.type){n(e,s.sibling),(r=o(s,a.props)).ref=ka(e,s,a),r.return=e,e=r;break e}n(e,s);break}t(e,s),s=s.sibling}a.type===k?((r=Ku(a.props.children,e.mode,u,a.key)).return=e,e=r):((u=Wu(a.type,a.key,a.props,null,e.mode,u)).ref=ka(e,r,a),u.return=e,e=u)}return l(e);case x:e:{for(s=a.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),(r=o(r,a.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Xu(a,e.mode,u)).return=e,e=r}return l(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,a)).return=e,e=r):(n(e,r),(r=Zu(a,e.mode,u)).return=e,e=r),l(e);if(xa(a))return y(e,r,a,u);if(G(a))return m(e,r,a,u);if(c&&Oa(e,a),void 0===a&&!s)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(i(152,W(e.type)||"Component"))}return n(e,r)}}var Pa=Fa(!0),_a=Fa(!1),Ta={},Ca=so(Ta),ja=so(Ta),Ra=so(Ta);function Da(e){if(e===Ta)throw Error(i(174));return e}function Aa(e,t){switch(fo(Ra,t),fo(ja,e),fo(Ca,Ta),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:he(null,"");break;default:t=he(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}co(Ca),fo(Ca,t)}function La(){co(Ca),co(ja),co(Ra)}function Na(e){Da(Ra.current);var t=Da(Ca.current),n=he(t,e.type);t!==n&&(fo(ja,e),fo(Ca,n))}function Ia(e){ja.current===e&&(co(Ca),co(ja))}var Ma=so(0);function Ua(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var za=null,qa=null,Ga=!1;function Ba(e,t){var n=Hu(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Ha(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function $a(e){if(Ga){var t=qa;if(t){var n=t;if(!Ha(e,t)){if(!(t=Kr(n.nextSibling))||!Ha(e,t))return e.flags=-1025&e.flags|2,Ga=!1,void(za=e);Ba(za,n)}za=e,qa=Kr(t.firstChild)}else e.flags=-1025&e.flags|2,Ga=!1,za=e}}function Va(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;za=e}function Wa(e){if(e!==za)return!1;if(!Ga)return Va(e),Ga=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Hr(t,e.memoizedProps))for(t=qa;t;)Ba(e,t),t=Kr(t.nextSibling);if(Va(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){qa=Kr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}qa=null}}else qa=za?Kr(e.stateNode.nextSibling):null;return!0}function Ka(){qa=za=null,Ga=!1}var Qa=[];function Za(){for(var e=0;e<Qa.length;e++)Qa[e]._workInProgressVersionPrimary=null;Qa.length=0}var Xa=E.ReactCurrentDispatcher,Ya=E.ReactCurrentBatchConfig,Ja=0,ei=null,ti=null,ni=null,ri=!1,oi=!1;function ai(){throw Error(i(321))}function ii(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!cr(e[n],t[n]))return!1;return!0}function li(e,t,n,r,o,a){if(Ja=a,ei=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Xa.current=null===e||null===e.memoizedState?Di:Ai,e=n(r,o),oi){a=0;do{if(oi=!1,!(25>a))throw Error(i(301));a+=1,ni=ti=null,t.updateQueue=null,Xa.current=Li,e=n(r,o)}while(oi)}if(Xa.current=Ri,t=null!==ti&&null!==ti.next,Ja=0,ni=ti=ei=null,ri=!1,t)throw Error(i(300));return e}function ui(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ni?ei.memoizedState=ni=e:ni=ni.next=e,ni}function si(){if(null===ti){var e=ei.alternate;e=null!==e?e.memoizedState:null}else e=ti.next;var t=null===ni?ei.memoizedState:ni.next;if(null!==t)ni=t,ti=e;else{if(null===e)throw Error(i(310));e={memoizedState:(ti=e).memoizedState,baseState:ti.baseState,baseQueue:ti.baseQueue,queue:ti.queue,next:null},null===ni?ei.memoizedState=ni=e:ni=ni.next=e}return ni}function ci(e,t){return"function"==typeof t?t(e):t}function fi(e){var t=si(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=ti,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var l=o.next;o.next=a.next,a.next=l}r.baseQueue=o=a,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var u=l=a=null,s=o;do{var c=s.lane;if((Ja&c)===c)null!==u&&(u=u.next={lane:0,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),r=s.eagerReducer===e?s.eagerState:e(r,s.action);else{var f={lane:c,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};null===u?(l=u=f,a=r):u=u.next=f,ei.lanes|=c,ql|=c}s=s.next}while(null!==s&&s!==o);null===u?a=r:u.next=l,cr(r,t.memoizedState)||(Ii=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=u,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function di(e){var t=si(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var l=o=o.next;do{a=e(a,l.action),l=l.next}while(l!==o);cr(a,t.memoizedState)||(Ii=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function pi(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=e.mutableReadLanes,(e=(Ja&e)===e)&&(t._workInProgressVersionPrimary=r,Qa.push(t))),e)return n(t._source);throw Qa.push(t),Error(i(350))}function hi(e,t,n,r){var o=Dl;if(null===o)throw Error(i(349));var a=t._getVersion,l=a(t._source),u=Xa.current,s=u.useState((function(){return pi(o,t,n)})),c=s[1],f=s[0];s=ni;var d=e.memoizedState,p=d.refs,h=p.getSnapshot,y=d.source;d=d.subscribe;var m=ei;return e.memoizedState={refs:p,source:t,subscribe:r},u.useEffect((function(){p.getSnapshot=n,p.setSnapshot=c;var e=a(t._source);if(!cr(l,e)){e=n(t._source),cr(f,e)||(c(e),e=pu(m),o.mutableReadLanes|=e&o.pendingLanes),e=o.mutableReadLanes,o.entangledLanes|=e;for(var r=o.entanglements,i=e;0<i;){var u=31-Ht(i),s=1<<u;r[u]|=e,i&=~s}}}),[n,t,r]),u.useEffect((function(){return r(t._source,(function(){var e=p.getSnapshot,n=p.setSnapshot;try{n(e(t._source));var r=pu(m);o.mutableReadLanes|=r&o.pendingLanes}catch(e){n((function(){throw e}))}}))}),[t,r]),cr(h,n)&&cr(y,t)&&cr(d,r)||((e={pending:null,dispatch:null,lastRenderedReducer:ci,lastRenderedState:f}).dispatch=c=ji.bind(null,ei,e),s.queue=e,s.baseQueue=null,f=pi(o,t,n),s.memoizedState=s.baseState=f),f}function yi(e,t,n){return hi(si(),e,t,n)}function mi(e){var t=ui();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ci,lastRenderedState:e}).dispatch=ji.bind(null,ei,e),[t.memoizedState,e]}function vi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ei.updateQueue)?(t={lastEffect:null},ei.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function gi(e){return e={current:e},ui().memoizedState=e}function bi(){return si().memoizedState}function wi(e,t,n,r){var o=ui();ei.flags|=e,o.memoizedState=vi(1|t,n,void 0,void 0===r?null:r)}function Ei(e,t,n,r){var o=si();r=void 0===r?null:r;var a=void 0;if(null!==ti){var i=ti.memoizedState;if(a=i.destroy,null!==r&&ii(r,i.deps))return void vi(t,n,a,r)}ei.flags|=e,o.memoizedState=vi(1|t,n,a,r)}function Si(e,t){return wi(516,4,e,t)}function xi(e,t){return Ei(516,4,e,t)}function ki(e,t){return Ei(4,2,e,t)}function Oi(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Fi(e,t,n){return n=null!=n?n.concat([e]):null,Ei(4,2,Oi.bind(null,t,e),n)}function Pi(){}function _i(e,t){var n=si();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ii(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ti(e,t){var n=si();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ii(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ci(e,t){var n=$o();Wo(98>n?98:n,(function(){e(!0)})),Wo(97<n?97:n,(function(){var n=Ya.transition;Ya.transition=1;try{e(!1),t()}finally{Ya.transition=n}}))}function ji(e,t,n){var r=du(),o=pu(e),a={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},i=t.pending;if(null===i?a.next=a:(a.next=i.next,i.next=a),t.pending=a,i=e.alternate,e===ei||null!==i&&i===ei)oi=ri=!0;else{if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var l=t.lastRenderedState,u=i(l,n);if(a.eagerReducer=i,a.eagerState=u,cr(u,l))return}catch(e){}hu(e,o,r)}}var Ri={readContext:la,useCallback:ai,useContext:ai,useEffect:ai,useImperativeHandle:ai,useLayoutEffect:ai,useMemo:ai,useReducer:ai,useRef:ai,useState:ai,useDebugValue:ai,useDeferredValue:ai,useTransition:ai,useMutableSource:ai,useOpaqueIdentifier:ai,unstable_isNewReconciler:!1},Di={readContext:la,useCallback:function(e,t){return ui().memoizedState=[e,void 0===t?null:t],e},useContext:la,useEffect:Si,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,wi(4,2,Oi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return wi(4,2,e,t)},useMemo:function(e,t){var n=ui();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ui();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ji.bind(null,ei,e),[r.memoizedState,e]},useRef:gi,useState:mi,useDebugValue:Pi,useDeferredValue:function(e){var t=mi(e),n=t[0],r=t[1];return Si((function(){var t=Ya.transition;Ya.transition=1;try{r(e)}finally{Ya.transition=t}}),[e]),n},useTransition:function(){var e=mi(!1),t=e[0];return gi(e=Ci.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=ui();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},hi(r,e,t,n)},useOpaqueIdentifier:function(){if(Ga){var e=!1,t=function(e){return{$$typeof:L,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(Zr++).toString(36))),Error(i(355))})),n=mi(t)[1];return 0==(2&ei.mode)&&(ei.flags|=516,vi(5,(function(){n("r:"+(Zr++).toString(36))}),void 0,null)),t}return mi(t="r:"+(Zr++).toString(36)),t},unstable_isNewReconciler:!1},Ai={readContext:la,useCallback:_i,useContext:la,useEffect:xi,useImperativeHandle:Fi,useLayoutEffect:ki,useMemo:Ti,useReducer:fi,useRef:bi,useState:function(){return fi(ci)},useDebugValue:Pi,useDeferredValue:function(e){var t=fi(ci),n=t[0],r=t[1];return xi((function(){var t=Ya.transition;Ya.transition=1;try{r(e)}finally{Ya.transition=t}}),[e]),n},useTransition:function(){var e=fi(ci)[0];return[bi().current,e]},useMutableSource:yi,useOpaqueIdentifier:function(){return fi(ci)[0]},unstable_isNewReconciler:!1},Li={readContext:la,useCallback:_i,useContext:la,useEffect:xi,useImperativeHandle:Fi,useLayoutEffect:ki,useMemo:Ti,useReducer:di,useRef:bi,useState:function(){return di(ci)},useDebugValue:Pi,useDeferredValue:function(e){var t=di(ci),n=t[0],r=t[1];return xi((function(){var t=Ya.transition;Ya.transition=1;try{r(e)}finally{Ya.transition=t}}),[e]),n},useTransition:function(){var e=di(ci)[0];return[bi().current,e]},useMutableSource:yi,useOpaqueIdentifier:function(){return di(ci)[0]},unstable_isNewReconciler:!1},Ni=E.ReactCurrentOwner,Ii=!1;function Mi(e,t,n,r){t.child=null===e?_a(t,null,n,r):Pa(t,e.child,n,r)}function Ui(e,t,n,r,o){n=n.render;var a=t.ref;return ia(t,o),r=li(e,t,n,r,a,o),null===e||Ii?(t.flags|=1,Mi(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,al(e,t,o))}function zi(e,t,n,r,o,a){if(null===e){var i=n.type;return"function"!=typeof i||$u(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Wu(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,qi(e,t,i,r,o,a))}return i=e.child,0==(o&a)&&(o=i.memoizedProps,(n=null!==(n=n.compare)?n:dr)(o,r)&&e.ref===t.ref)?al(e,t,a):(t.flags|=1,(e=Vu(i,r)).ref=t.ref,e.return=t,t.child=e)}function qi(e,t,n,r,o,a){if(null!==e&&dr(e.memoizedProps,r)&&e.ref===t.ref){if(Ii=!1,0==(a&o))return t.lanes=e.lanes,al(e,t,a);0!=(16384&e.flags)&&(Ii=!0)}return Hi(e,t,n,r,a)}function Gi(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},Su(t,n);else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},Su(t,e),null;t.memoizedState={baseLanes:0},Su(t,null!==a?a.baseLanes:n)}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,Su(t,r);return Mi(e,t,o,n),t.child}function Bi(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Hi(e,t,n,r,o){var a=go(n)?mo:ho.current;return a=vo(t,a),ia(t,o),n=li(e,t,n,r,a,o),null===e||Ii?(t.flags|=1,Mi(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,al(e,t,o))}function $i(e,t,n,r,o){if(go(n)){var a=!0;So(t)}else a=!1;if(ia(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),wa(t,n,r),Sa(t,n,r,o),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var u=i.context,s=n.contextType;"object"==typeof s&&null!==s?s=la(s):s=vo(t,s=go(n)?mo:ho.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;f||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||u!==s)&&Ea(t,i,r,s),ua=!1;var d=t.memoizedState;i.state=d,ha(t,r,i,o),u=t.memoizedState,l!==r||d!==u||yo.current||ua?("function"==typeof c&&(va(t,n,c,r),u=t.memoizedState),(l=ua||ba(t,n,l,r,d,u,s))?(f||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4)):("function"==typeof i.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=u),i.props=r,i.state=u,i.context=s,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4),r=!1)}else{i=t.stateNode,ca(e,t),l=t.memoizedProps,s=t.type===t.elementType?l:Yo(t.type,l),i.props=s,f=t.pendingProps,d=i.context,"object"==typeof(u=n.contextType)&&null!==u?u=la(u):u=vo(t,u=go(n)?mo:ho.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==f||d!==u)&&Ea(t,i,r,u),ua=!1,d=t.memoizedState,i.state=d,ha(t,r,i,o);var h=t.memoizedState;l!==f||d!==h||yo.current||ua?("function"==typeof p&&(va(t,n,p,r),h=t.memoizedState),(s=ua||ba(t,n,s,r,d,h,u))?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,u),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,u)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,i.context=u,r=s):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),r=!1)}return Vi(e,t,n,r,a,o)}function Vi(e,t,n,r,o,a){Bi(e,t);var i=0!=(64&t.flags);if(!r&&!i)return o&&xo(t,n,!1),al(e,t,a);r=t.stateNode,Ni.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Pa(t,e.child,null,a),t.child=Pa(t,null,l,a)):Mi(e,t,l,a),t.memoizedState=r.state,o&&xo(t,n,!0),t.child}function Wi(e){var t=e.stateNode;t.pendingContext?wo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&wo(0,t.context,!1),Aa(e,t.containerInfo)}var Ki,Qi,Zi,Xi={dehydrated:null,retryLane:0};function Yi(e,t,n){var r,o=t.pendingProps,a=Ma.current,i=!1;return(r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(i=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),fo(Ma,1&a),null===e?(void 0!==o.fallback&&$a(t),e=o.children,a=o.fallback,i?(e=Ji(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Xi,e):"number"==typeof o.unstable_expectedLoadTime?(e=Ji(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Xi,t.lanes=33554432,e):((n=Qu({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,i?(o=tl(e,t,o.children,o.fallback,n),i=t.child,a=e.child.memoizedState,i.memoizedState=null===a?{baseLanes:n}:{baseLanes:a.baseLanes|n},i.childLanes=e.childLanes&~n,t.memoizedState=Xi,o):(n=el(e,t,o.children,n),t.memoizedState=null,n))}function Ji(e,t,n,r){var o=e.mode,a=e.child;return t={mode:"hidden",children:t},0==(2&o)&&null!==a?(a.childLanes=0,a.pendingProps=t):a=Qu(t,o,0,null),n=Ku(n,o,r,null),a.return=e,n.return=e,a.sibling=n,e.child=a,n}function el(e,t,n,r){var o=e.child;return e=o.sibling,n=Vu(o,{mode:"visible",children:n}),0==(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function tl(e,t,n,r,o){var a=t.mode,i=e.child;e=i.sibling;var l={mode:"hidden",children:n};return 0==(2&a)&&t.child!==i?((n=t.child).childLanes=0,n.pendingProps=l,null!==(i=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=i,i.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Vu(i,l),null!==e?r=Vu(e,r):(r=Ku(r,a,o,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function nl(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),aa(e.return,t)}function rl(e,t,n,r,o,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o,i.lastEffect=a)}function ol(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(Mi(e,t,r.children,n),0!=(2&(r=Ma.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&nl(e,n);else if(19===e.tag)nl(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(fo(Ma,r),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Ua(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),rl(t,!1,o,n,a,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Ua(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}rl(t,!0,n,null,a,t.lastEffect);break;case"together":rl(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function al(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),ql|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Vu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Vu(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function il(e,t){if(!Ga)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ll(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return go(t.type)&&bo(),null;case 3:return La(),co(yo),co(ho),Za(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Wa(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Ia(t);var a=Da(Ra.current);if(n=t.type,null!==e&&null!=t.stateNode)Qi(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(i(166));return null}if(e=Da(Ca.current),Wa(t)){r=t.stateNode,n=t.type;var l=t.memoizedProps;switch(r[Yr]=t,r[Jr]=l,n){case"dialog":Cr("cancel",r),Cr("close",r);break;case"iframe":case"object":case"embed":Cr("load",r);break;case"video":case"audio":for(e=0;e<Fr.length;e++)Cr(Fr[e],r);break;case"source":Cr("error",r);break;case"img":case"image":case"link":Cr("error",r),Cr("load",r);break;case"details":Cr("toggle",r);break;case"input":ee(r,l),Cr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!l.multiple},Cr("invalid",r);break;case"textarea":ue(r,l),Cr("invalid",r)}for(var s in ke(n,l),e=null,l)l.hasOwnProperty(s)&&(a=l[s],"children"===s?"string"==typeof a?r.textContent!==a&&(e=["children",a]):"number"==typeof a&&r.textContent!==""+a&&(e=["children",""+a]):u.hasOwnProperty(s)&&null!=a&&"onScroll"===s&&Cr("scroll",r));switch(n){case"input":Z(r),re(r,l,!0);break;case"textarea":Z(r),ce(r);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(r.onclick=zr)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(s=9===a.nodeType?a:a.ownerDocument,e===fe&&(e=pe(n)),e===fe?"script"===n?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Yr]=t,e[Jr]=r,Ki(e,t),t.stateNode=e,s=Oe(n,r),n){case"dialog":Cr("cancel",e),Cr("close",e),a=r;break;case"iframe":case"object":case"embed":Cr("load",e),a=r;break;case"video":case"audio":for(a=0;a<Fr.length;a++)Cr(Fr[a],e);a=r;break;case"source":Cr("error",e),a=r;break;case"img":case"image":case"link":Cr("error",e),Cr("load",e),a=r;break;case"details":Cr("toggle",e),a=r;break;case"input":ee(e,r),a=J(e,r),Cr("invalid",e);break;case"option":a=ae(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=o({},r,{value:void 0}),Cr("invalid",e);break;case"textarea":ue(e,r),a=le(e,r),Cr("invalid",e);break;default:a=r}ke(n,a);var c=a;for(l in c)if(c.hasOwnProperty(l)){var f=c[l];"style"===l?Se(e,f):"dangerouslySetInnerHTML"===l?null!=(f=f?f.__html:void 0)&&ve(e,f):"children"===l?"string"==typeof f?("textarea"!==n||""!==f)&&ge(e,f):"number"==typeof f&&ge(e,""+f):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(u.hasOwnProperty(l)?null!=f&&"onScroll"===l&&Cr("scroll",e):null!=f&&w(e,l,f,s))}switch(n){case"input":Z(e),re(e,r,!1);break;case"textarea":Z(e),ce(e);break;case"option":null!=r.value&&e.setAttribute("value",""+K(r.value));break;case"select":e.multiple=!!r.multiple,null!=(l=r.value)?ie(e,!!r.multiple,l,!1):null!=r.defaultValue&&ie(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof a.onClick&&(e.onclick=zr)}Br(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Zi(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));n=Da(Ra.current),Da(Ca.current),Wa(t)?(r=t.stateNode,n=t.memoizedProps,r[Yr]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Yr]=t,t.stateNode=r)}return null;case 13:return co(Ma),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Wa(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Ma.current)?0===Ml&&(Ml=3):(0!==Ml&&3!==Ml||(Ml=4),null===Dl||0==(134217727&ql)&&0==(134217727&Gl)||gu(Dl,Ll))),(r||n)&&(t.flags|=4),null);case 4:return La(),null===e&&Rr(t.stateNode.containerInfo),null;case 10:return oa(t),null;case 19:if(co(Ma),null===(r=t.memoizedState))return null;if(l=0!=(64&t.flags),null===(s=r.rendering))if(l)il(r,!1);else{if(0!==Ml||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(s=Ua(e))){for(t.flags|=64,il(r,!1),null!==(l=s.updateQueue)&&(t.updateQueue=l,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(l=n).flags&=2,l.nextEffect=null,l.firstEffect=null,l.lastEffect=null,null===(s=l.alternate)?(l.childLanes=0,l.lanes=e,l.child=null,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=s.childLanes,l.lanes=s.lanes,l.child=s.child,l.memoizedProps=s.memoizedProps,l.memoizedState=s.memoizedState,l.updateQueue=s.updateQueue,l.type=s.type,e=s.dependencies,l.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return fo(Ma,1&Ma.current|2),t.child}e=e.sibling}null!==r.tail&&Ho()>Vl&&(t.flags|=64,l=!0,il(r,!1),t.lanes=33554432)}else{if(!l)if(null!==(e=Ua(s))){if(t.flags|=64,l=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),il(r,!0),null===r.tail&&"hidden"===r.tailMode&&!s.alternate&&!Ga)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Ho()-r.renderingStartTime>Vl&&1073741824!==n&&(t.flags|=64,l=!0,il(r,!1),t.lanes=33554432);r.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=r.last)?n.sibling=s:t.child=s,r.last=s)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Ho(),n.sibling=null,t=Ma.current,fo(Ma,l?1&t|2:1&t),n):null;case 23:case 24:return xu(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(i(156,t.tag))}function ul(e){switch(e.tag){case 1:go(e.type)&&bo();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(La(),co(yo),co(ho),Za(),0!=(64&(t=e.flags)))throw Error(i(285));return e.flags=-4097&t|64,e;case 5:return Ia(e),null;case 13:return co(Ma),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return co(Ma),null;case 4:return La(),null;case 10:return oa(e),null;case 23:case 24:return xu(),null;default:return null}}function sl(e,t){try{var n="",r=t;do{n+=V(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o}}function cl(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}Ki=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Qi=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,Da(Ca.current);var i,l=null;switch(n){case"input":a=J(e,a),r=J(e,r),l=[];break;case"option":a=ae(e,a),r=ae(e,r),l=[];break;case"select":a=o({},a,{value:void 0}),r=o({},r,{value:void 0}),l=[];break;case"textarea":a=le(e,a),r=le(e,r),l=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=zr)}for(f in ke(n,r),n=null,a)if(!r.hasOwnProperty(f)&&a.hasOwnProperty(f)&&null!=a[f])if("style"===f){var s=a[f];for(i in s)s.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==f&&"children"!==f&&"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(u.hasOwnProperty(f)?l||(l=[]):(l=l||[]).push(f,null));for(f in r){var c=r[f];if(s=null!=a?a[f]:void 0,r.hasOwnProperty(f)&&c!==s&&(null!=c||null!=s))if("style"===f)if(s){for(i in s)!s.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in c)c.hasOwnProperty(i)&&s[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(l||(l=[]),l.push(f,n)),n=c;else"dangerouslySetInnerHTML"===f?(c=c?c.__html:void 0,s=s?s.__html:void 0,null!=c&&s!==c&&(l=l||[]).push(f,c)):"children"===f?"string"!=typeof c&&"number"!=typeof c||(l=l||[]).push(f,""+c):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&(u.hasOwnProperty(f)?(null!=c&&"onScroll"===f&&Cr("scroll",e),l||s===c||(l=[])):"object"==typeof c&&null!==c&&c.$$typeof===L?c.toString():(l=l||[]).push(f,c))}n&&(l=l||[]).push("style",n);var f=l;(t.updateQueue=f)&&(t.flags|=4)}},Zi=function(e,t,n,r){n!==r&&(t.flags|=4)};var fl="function"==typeof WeakMap?WeakMap:Map;function dl(e,t,n){(n=fa(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Zl||(Zl=!0,Xl=r),cl(0,t)},n}function pl(e,t,n){(n=fa(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return cl(0,t),r(o)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Yl?Yl=new Set([this]):Yl.add(this),cl(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var hl="function"==typeof WeakSet?WeakSet:Set;function yl(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){zu(e,t)}else t.current=null}function ml(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Yo(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Wr(t.stateNode.containerInfo))}throw Error(i(163))}function vl(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;r=o.next,0!=(4&(o=o.tag))&&0!=(1&o)&&(Iu(n,e),Nu(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Yo(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&ya(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}ya(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Br(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&St(n)))))}throw Error(i(163))}function gl(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=null!=o&&o.hasOwnProperty("display")?o.display:null,r.style.display=Ee("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function bl(e,t){if(Oo&&"function"==typeof Oo.onCommitFiberUnmount)try{Oo.onCommitFiberUnmount(ko,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,void 0!==o)if(0!=(4&r))Iu(t,n);else{r=t;try{o()}catch(e){zu(r,e)}}n=n.next}while(n!==e)}break;case 1:if(yl(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){zu(t,e)}break;case 5:yl(t);break;case 4:Ol(e,t)}}function wl(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function El(e){return 5===e.tag||3===e.tag||4===e.tag}function Sl(e){e:{for(var t=e.return;null!==t;){if(El(t))break e;t=t.return}throw Error(i(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(i(161))}16&n.flags&&(ge(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||El(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?xl(e,n,t):kl(e,n,t)}function xl(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=zr));else if(4!==r&&null!==(e=e.child))for(xl(e,t,n),e=e.sibling;null!==e;)xl(e,t,n),e=e.sibling}function kl(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(kl(e,t,n),e=e.sibling;null!==e;)kl(e,t,n),e=e.sibling}function Ol(e,t){for(var n,r,o=t,a=!1;;){if(!a){a=o.return;e:for(;;){if(null===a)throw Error(i(160));switch(n=a.stateNode,a.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}a=a.return}a=!0}if(5===o.tag||6===o.tag){e:for(var l=e,u=o,s=u;;)if(bl(l,s),null!==s.child&&4!==s.tag)s.child.return=s,s=s.child;else{if(s===u)break e;for(;null===s.sibling;){if(null===s.return||s.return===u)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}r?(l=n,u=o.stateNode,8===l.nodeType?l.parentNode.removeChild(u):l.removeChild(u)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,r=!0,o.child.return=o,o=o.child;continue}}else if(bl(e,o),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(a=!1)}o.sibling.return=o.return,o=o.sibling}}function Fl(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3==(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var o=null!==e?e.memoizedProps:r;e=t.type;var a=t.updateQueue;if(t.updateQueue=null,null!==a){for(n[Jr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&te(n,r),Oe(e,o),t=Oe(e,r),o=0;o<a.length;o+=2){var l=a[o],u=a[o+1];"style"===l?Se(n,u):"dangerouslySetInnerHTML"===l?ve(n,u):"children"===l?ge(n,u):w(n,l,u,t)}switch(e){case"input":ne(n,r);break;case"textarea":se(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(a=r.value)?ie(n,!!r.multiple,a,!1):e!==!!r.multiple&&(null!=r.defaultValue?ie(n,!!r.multiple,r.defaultValue,!0):ie(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(i(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,St(n.containerInfo)));case 13:return null!==t.memoizedState&&($l=Ho(),gl(t.child,!0)),void Pl(t);case 19:return void Pl(t);case 23:case 24:return void gl(t,null!==t.memoizedState)}throw Error(i(163))}function Pl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new hl),t.forEach((function(t){var r=Gu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function _l(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var Tl=Math.ceil,Cl=E.ReactCurrentDispatcher,jl=E.ReactCurrentOwner,Rl=0,Dl=null,Al=null,Ll=0,Nl=0,Il=so(0),Ml=0,Ul=null,zl=0,ql=0,Gl=0,Bl=0,Hl=null,$l=0,Vl=1/0;function Wl(){Vl=Ho()+500}var Kl,Ql=null,Zl=!1,Xl=null,Yl=null,Jl=!1,eu=null,tu=90,nu=[],ru=[],ou=null,au=0,iu=null,lu=-1,uu=0,su=0,cu=null,fu=!1;function du(){return 0!=(48&Rl)?Ho():-1!==lu?lu:lu=Ho()}function pu(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===$o()?1:2;if(0===uu&&(uu=zl),0!==Xo.transition){0!==su&&(su=null!==Hl?Hl.pendingLanes:0),e=uu;var t=4186112&~su;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=$o(),0!=(4&Rl)&&98===e?e=zt(12,uu):e=zt(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),uu),e}function hu(e,t,n){if(50<au)throw au=0,iu=null,Error(i(185));if(null===(e=yu(e,t)))return null;Bt(e,t,n),e===Dl&&(Gl|=t,4===Ml&&gu(e,Ll));var r=$o();1===t?0!=(8&Rl)&&0==(48&Rl)?bu(e):(mu(e,n),0===Rl&&(Wl(),Qo())):(0==(4&Rl)||98!==r&&99!==r||(null===ou?ou=new Set([e]):ou.add(e)),mu(e,n)),Hl=e}function yu(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function mu(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,a=e.expirationTimes,l=e.pendingLanes;0<l;){var u=31-Ht(l),s=1<<u,c=a[u];if(-1===c){if(0==(s&r)||0!=(s&o)){c=t,It(s);var f=Nt;a[u]=10<=f?c+250:6<=f?c+5e3:-1}}else c<=t&&(e.expiredLanes|=s);l&=~s}if(r=Mt(e,e===Dl?Ll:0),t=Nt,0===r)null!==n&&(n!==Mo&&_o(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Mo&&_o(n)}15===t?(n=bu.bind(null,e),null===zo?(zo=[n],qo=Po(Do,Zo)):zo.push(n),n=Mo):14===t?n=Ko(99,bu.bind(null,e)):(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(i(358,e))}}(t),n=Ko(n,vu.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function vu(e){if(lu=-1,su=uu=0,0!=(48&Rl))throw Error(i(327));var t=e.callbackNode;if(Lu()&&e.callbackNode!==t)return null;var n=Mt(e,e===Dl?Ll:0);if(0===n)return null;var r=n,o=Rl;Rl|=16;var a=Fu();for(Dl===e&&Ll===r||(Wl(),ku(e,r));;)try{Tu();break}catch(t){Ou(e,t)}if(ra(),Cl.current=a,Rl=o,null!==Al?r=0:(Dl=null,Ll=0,r=Ml),0!=(zl&Gl))ku(e,0);else if(0!==r){if(2===r&&(Rl|=64,e.hydrate&&(e.hydrate=!1,Wr(e.containerInfo)),0!==(n=Ut(e))&&(r=Pu(e,n))),1===r)throw t=Ul,ku(e,0),gu(e,n),mu(e,Ho()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(i(345));case 2:case 5:Ru(e);break;case 3:if(gu(e,n),(62914560&n)===n&&10<(r=$l+500-Ho())){if(0!==Mt(e,0))break;if(((o=e.suspendedLanes)&n)!==n){du(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=$r(Ru.bind(null,e),r);break}Ru(e);break;case 4:if(gu(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var l=31-Ht(n);a=1<<l,(l=r[l])>o&&(o=l),n&=~a}if(n=o,10<(n=(120>(n=Ho()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Tl(n/1960))-n)){e.timeoutHandle=$r(Ru.bind(null,e),n);break}Ru(e);break;default:throw Error(i(329))}}return mu(e,Ho()),e.callbackNode===t?vu.bind(null,e):null}function gu(e,t){for(t&=~Bl,t&=~Gl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ht(t),r=1<<n;e[n]=-1,t&=~r}}function bu(e){if(0!=(48&Rl))throw Error(i(327));if(Lu(),e===Dl&&0!=(e.expiredLanes&Ll)){var t=Ll,n=Pu(e,t);0!=(zl&Gl)&&(n=Pu(e,t=Mt(e,t)))}else n=Pu(e,t=Mt(e,0));if(0!==e.tag&&2===n&&(Rl|=64,e.hydrate&&(e.hydrate=!1,Wr(e.containerInfo)),0!==(t=Ut(e))&&(n=Pu(e,t))),1===n)throw n=Ul,ku(e,0),gu(e,t),mu(e,Ho()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ru(e),mu(e,Ho()),null}function wu(e,t){var n=Rl;Rl|=1;try{return e(t)}finally{0===(Rl=n)&&(Wl(),Qo())}}function Eu(e,t){var n=Rl;Rl&=-2,Rl|=8;try{return e(t)}finally{0===(Rl=n)&&(Wl(),Qo())}}function Su(e,t){fo(Il,Nl),Nl|=t,zl|=t}function xu(){Nl=Il.current,co(Il)}function ku(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Vr(n)),null!==Al)for(n=Al.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&bo();break;case 3:La(),co(yo),co(ho),Za();break;case 5:Ia(r);break;case 4:La();break;case 13:case 19:co(Ma);break;case 10:oa(r);break;case 23:case 24:xu()}n=n.return}Dl=e,Al=Vu(e.current,null),Ll=Nl=zl=t,Ml=0,Ul=null,Bl=Gl=ql=0}function Ou(e,t){for(;;){var n=Al;try{if(ra(),Xa.current=Ri,ri){for(var r=ei.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ri=!1}if(Ja=0,ni=ti=ei=null,oi=!1,jl.current=null,null===n||null===n.return){Ml=1,Ul=t,Al=null;break}e:{var a=e,i=n.return,l=n,u=t;if(t=Ll,l.flags|=2048,l.firstEffect=l.lastEffect=null,null!==u&&"object"==typeof u&&"function"==typeof u.then){var s=u;if(0==(2&l.mode)){var c=l.alternate;c?(l.updateQueue=c.updateQueue,l.memoizedState=c.memoizedState,l.lanes=c.lanes):(l.updateQueue=null,l.memoizedState=null)}var f=0!=(1&Ma.current),d=i;do{var p;if(p=13===d.tag){var h=d.memoizedState;if(null!==h)p=null!==h.dehydrated;else{var y=d.memoizedProps;p=void 0!==y.fallback&&(!0!==y.unstable_avoidThisFallback||!f)}}if(p){var m=d.updateQueue;if(null===m){var v=new Set;v.add(s),d.updateQueue=v}else m.add(s);if(0==(2&d.mode)){if(d.flags|=64,l.flags|=16384,l.flags&=-2981,1===l.tag)if(null===l.alternate)l.tag=17;else{var g=fa(-1,1);g.tag=2,da(l,g)}l.lanes|=1;break e}u=void 0,l=t;var b=a.pingCache;if(null===b?(b=a.pingCache=new fl,u=new Set,b.set(s,u)):void 0===(u=b.get(s))&&(u=new Set,b.set(s,u)),!u.has(l)){u.add(l);var w=qu.bind(null,a,s,l);s.then(w,w)}d.flags|=4096,d.lanes=t;break e}d=d.return}while(null!==d);u=Error((W(l.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Ml&&(Ml=2),u=sl(u,l),d=i;do{switch(d.tag){case 3:a=u,d.flags|=4096,t&=-t,d.lanes|=t,pa(d,dl(0,a,t));break e;case 1:a=u;var E=d.type,S=d.stateNode;if(0==(64&d.flags)&&("function"==typeof E.getDerivedStateFromError||null!==S&&"function"==typeof S.componentDidCatch&&(null===Yl||!Yl.has(S)))){d.flags|=4096,t&=-t,d.lanes|=t,pa(d,pl(d,a,t));break e}}d=d.return}while(null!==d)}ju(n)}catch(e){t=e,Al===n&&null!==n&&(Al=n=n.return);continue}break}}function Fu(){var e=Cl.current;return Cl.current=Ri,null===e?Ri:e}function Pu(e,t){var n=Rl;Rl|=16;var r=Fu();for(Dl===e&&Ll===t||ku(e,t);;)try{_u();break}catch(t){Ou(e,t)}if(ra(),Rl=n,Cl.current=r,null!==Al)throw Error(i(261));return Dl=null,Ll=0,Ml}function _u(){for(;null!==Al;)Cu(Al)}function Tu(){for(;null!==Al&&!To();)Cu(Al)}function Cu(e){var t=Kl(e.alternate,e,Nl);e.memoizedProps=e.pendingProps,null===t?ju(e):Al=t,jl.current=null}function ju(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=ll(n,t,Nl)))return void(Al=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&Nl)||0==(4&n.mode)){for(var r=0,o=n.child;null!==o;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=ul(t)))return n.flags&=2047,void(Al=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Al=t);Al=t=e}while(null!==t);0===Ml&&(Ml=5)}function Ru(e){var t=$o();return Wo(99,Du.bind(null,e,t)),null}function Du(e,t){do{Lu()}while(null!==eu);if(0!=(48&Rl))throw Error(i(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,a=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var l=e.eventTimes,u=e.expirationTimes;0<a;){var s=31-Ht(a),c=1<<s;o[s]=0,l[s]=-1,u[s]=-1,a&=~c}if(null!==ou&&0==(24&r)&&ou.has(e)&&ou.delete(e),e===Dl&&(Al=Dl=null,Ll=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(o=Rl,Rl|=32,jl.current=null,qr=Qt,vr(l=mr())){if("selectionStart"in l)u={start:l.selectionStart,end:l.selectionEnd};else e:if(u=(u=l.ownerDocument)&&u.defaultView||window,(c=u.getSelection&&u.getSelection())&&0!==c.rangeCount){u=c.anchorNode,a=c.anchorOffset,s=c.focusNode,c=c.focusOffset;try{u.nodeType,s.nodeType}catch(e){u=null;break e}var f=0,d=-1,p=-1,h=0,y=0,m=l,v=null;t:for(;;){for(var g;m!==u||0!==a&&3!==m.nodeType||(d=f+a),m!==s||0!==c&&3!==m.nodeType||(p=f+c),3===m.nodeType&&(f+=m.nodeValue.length),null!==(g=m.firstChild);)v=m,m=g;for(;;){if(m===l)break t;if(v===u&&++h===a&&(d=f),v===s&&++y===c&&(p=f),null!==(g=m.nextSibling))break;v=(m=v).parentNode}m=g}u=-1===d||-1===p?null:{start:d,end:p}}else u=null;u=u||{start:0,end:0}}else u=null;Gr={focusedElem:l,selectionRange:u},Qt=!1,cu=null,fu=!1,Ql=r;do{try{Au()}catch(e){if(null===Ql)throw Error(i(330));zu(Ql,e),Ql=Ql.nextEffect}}while(null!==Ql);cu=null,Ql=r;do{try{for(l=e;null!==Ql;){var b=Ql.flags;if(16&b&&ge(Ql.stateNode,""),128&b){var w=Ql.alternate;if(null!==w){var E=w.ref;null!==E&&("function"==typeof E?E(null):E.current=null)}}switch(1038&b){case 2:Sl(Ql),Ql.flags&=-3;break;case 6:Sl(Ql),Ql.flags&=-3,Fl(Ql.alternate,Ql);break;case 1024:Ql.flags&=-1025;break;case 1028:Ql.flags&=-1025,Fl(Ql.alternate,Ql);break;case 4:Fl(Ql.alternate,Ql);break;case 8:Ol(l,u=Ql);var S=u.alternate;wl(u),null!==S&&wl(S)}Ql=Ql.nextEffect}}catch(e){if(null===Ql)throw Error(i(330));zu(Ql,e),Ql=Ql.nextEffect}}while(null!==Ql);if(E=Gr,w=mr(),b=E.focusedElem,l=E.selectionRange,w!==b&&b&&b.ownerDocument&&yr(b.ownerDocument.documentElement,b)){null!==l&&vr(b)&&(w=l.start,void 0===(E=l.end)&&(E=w),"selectionStart"in b?(b.selectionStart=w,b.selectionEnd=Math.min(E,b.value.length)):(E=(w=b.ownerDocument||document)&&w.defaultView||window).getSelection&&(E=E.getSelection(),u=b.textContent.length,S=Math.min(l.start,u),l=void 0===l.end?S:Math.min(l.end,u),!E.extend&&S>l&&(u=l,l=S,S=u),u=hr(b,S),a=hr(b,l),u&&a&&(1!==E.rangeCount||E.anchorNode!==u.node||E.anchorOffset!==u.offset||E.focusNode!==a.node||E.focusOffset!==a.offset)&&((w=w.createRange()).setStart(u.node,u.offset),E.removeAllRanges(),S>l?(E.addRange(w),E.extend(a.node,a.offset)):(w.setEnd(a.node,a.offset),E.addRange(w))))),w=[];for(E=b;E=E.parentNode;)1===E.nodeType&&w.push({element:E,left:E.scrollLeft,top:E.scrollTop});for("function"==typeof b.focus&&b.focus(),b=0;b<w.length;b++)(E=w[b]).element.scrollLeft=E.left,E.element.scrollTop=E.top}Qt=!!qr,Gr=qr=null,e.current=n,Ql=r;do{try{for(b=e;null!==Ql;){var x=Ql.flags;if(36&x&&vl(b,Ql.alternate,Ql),128&x){w=void 0;var k=Ql.ref;if(null!==k){var O=Ql.stateNode;Ql.tag,w=O,"function"==typeof k?k(w):k.current=w}}Ql=Ql.nextEffect}}catch(e){if(null===Ql)throw Error(i(330));zu(Ql,e),Ql=Ql.nextEffect}}while(null!==Ql);Ql=null,Uo(),Rl=o}else e.current=n;if(Jl)Jl=!1,eu=e,tu=t;else for(Ql=r;null!==Ql;)t=Ql.nextEffect,Ql.nextEffect=null,8&Ql.flags&&((x=Ql).sibling=null,x.stateNode=null),Ql=t;if(0===(r=e.pendingLanes)&&(Yl=null),1===r?e===iu?au++:(au=0,iu=e):au=0,n=n.stateNode,Oo&&"function"==typeof Oo.onCommitFiberRoot)try{Oo.onCommitFiberRoot(ko,n,void 0,64==(64&n.current.flags))}catch(e){}if(mu(e,Ho()),Zl)throw Zl=!1,e=Xl,Xl=null,e;return 0!=(8&Rl)||Qo(),null}function Au(){for(;null!==Ql;){var e=Ql.alternate;fu||null===cu||(0!=(8&Ql.flags)?et(Ql,cu)&&(fu=!0):13===Ql.tag&&_l(e,Ql)&&et(Ql,cu)&&(fu=!0));var t=Ql.flags;0!=(256&t)&&ml(e,Ql),0==(512&t)||Jl||(Jl=!0,Ko(97,(function(){return Lu(),null}))),Ql=Ql.nextEffect}}function Lu(){if(90!==tu){var e=97<tu?97:tu;return tu=90,Wo(e,Mu)}return!1}function Nu(e,t){nu.push(t,e),Jl||(Jl=!0,Ko(97,(function(){return Lu(),null})))}function Iu(e,t){ru.push(t,e),Jl||(Jl=!0,Ko(97,(function(){return Lu(),null})))}function Mu(){if(null===eu)return!1;var e=eu;if(eu=null,0!=(48&Rl))throw Error(i(331));var t=Rl;Rl|=32;var n=ru;ru=[];for(var r=0;r<n.length;r+=2){var o=n[r],a=n[r+1],l=o.destroy;if(o.destroy=void 0,"function"==typeof l)try{l()}catch(e){if(null===a)throw Error(i(330));zu(a,e)}}for(n=nu,nu=[],r=0;r<n.length;r+=2){o=n[r],a=n[r+1];try{var u=o.create;o.destroy=u()}catch(e){if(null===a)throw Error(i(330));zu(a,e)}}for(u=e.current.firstEffect;null!==u;)e=u.nextEffect,u.nextEffect=null,8&u.flags&&(u.sibling=null,u.stateNode=null),u=e;return Rl=t,Qo(),!0}function Uu(e,t,n){da(e,t=dl(0,t=sl(n,t),1)),t=du(),null!==(e=yu(e,1))&&(Bt(e,1,t),mu(e,t))}function zu(e,t){if(3===e.tag)Uu(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Uu(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Yl||!Yl.has(r))){var o=pl(n,e=sl(t,e),1);if(da(n,o),o=du(),null!==(n=yu(n,1)))Bt(n,1,o),mu(n,o);else if("function"==typeof r.componentDidCatch&&(null===Yl||!Yl.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function qu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=du(),e.pingedLanes|=e.suspendedLanes&n,Dl===e&&(Ll&n)===n&&(4===Ml||3===Ml&&(62914560&Ll)===Ll&&500>Ho()-$l?ku(e,0):Bl|=n),mu(e,t)}function Gu(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===$o()?1:2:(0===uu&&(uu=zl),0===(t=qt(62914560&~uu))&&(t=4194304))),n=du(),null!==(e=yu(e,t))&&(Bt(e,t,n),mu(e,n))}function Bu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Hu(e,t,n,r){return new Bu(e,t,n,r)}function $u(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Vu(e,t){var n=e.alternate;return null===n?((n=Hu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Wu(e,t,n,r,o,a){var l=2;if(r=e,"function"==typeof e)$u(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case k:return Ku(n.children,o,a,t);case N:l=8,o|=16;break;case O:l=8,o|=1;break;case F:return(e=Hu(12,n,t,8|o)).elementType=F,e.type=F,e.lanes=a,e;case C:return(e=Hu(13,n,t,o)).type=C,e.elementType=C,e.lanes=a,e;case j:return(e=Hu(19,n,t,o)).elementType=j,e.lanes=a,e;case I:return Qu(n,o,a,t);case M:return(e=Hu(24,n,t,o)).elementType=M,e.lanes=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case P:l=10;break e;case _:l=9;break e;case T:l=11;break e;case R:l=14;break e;case D:l=16,r=null;break e;case A:l=22;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Hu(l,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Ku(e,t,n,r){return(e=Hu(7,e,r,t)).lanes=n,e}function Qu(e,t,n,r){return(e=Hu(23,e,r,t)).elementType=I,e.lanes=n,e}function Zu(e,t,n){return(e=Hu(6,e,null,t)).lanes=n,e}function Xu(e,t,n){return(t=Hu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Yu(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Gt(0),this.expirationTimes=Gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Gt(0),this.mutableSourceEagerHydrationData=null}function Ju(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function es(e,t,n,r){var o=t.current,a=du(),l=pu(o);e:if(n){t:{if(Ze(n=n._reactInternals)!==n||1!==n.tag)throw Error(i(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(go(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw Error(i(171))}if(1===n.tag){var s=n.type;if(go(s)){n=Eo(n,s,u);break e}}n=u}else n=po;return null===t.context?t.context=n:t.pendingContext=n,(t=fa(a,l)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),da(o,t),hu(o,l,a),l}function ts(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function ns(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function rs(e,t){ns(e,t),(e=e.alternate)&&ns(e,t)}function os(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Yu(e,t,null!=n&&!0===n.hydrate),t=Hu(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,sa(t),e[eo]=n.current,Rr(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var o=(t=r[e])._getVersion;o=o(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=n}function as(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function is(e,t,n,r,o){var a=n._reactRootContainer;if(a){var i=a._internalRoot;if("function"==typeof o){var l=o;o=function(){var e=ts(i);l.call(e)}}es(t,i,e,o)}else{if(a=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new os(e,0,t?{hydrate:!0}:void 0)}(n,r),i=a._internalRoot,"function"==typeof o){var u=o;o=function(){var e=ts(i);u.call(e)}}Eu((function(){es(t,i,e,o)}))}return ts(i)}function ls(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!as(t))throw Error(i(200));return Ju(e,t,null,n)}Kl=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||yo.current)Ii=!0;else{if(0==(n&r)){switch(Ii=!1,t.tag){case 3:Wi(t),Ka();break;case 5:Na(t);break;case 1:go(t.type)&&So(t);break;case 4:Aa(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;fo(Jo,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?Yi(e,t,n):(fo(Ma,1&Ma.current),null!==(t=al(e,t,n))?t.sibling:null);fo(Ma,1&Ma.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return ol(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),fo(Ma,Ma.current),r)break;return null;case 23:case 24:return t.lanes=0,Gi(e,t,n)}return al(e,t,n)}Ii=0!=(16384&e.flags)}else Ii=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=vo(t,ho.current),ia(t,n),o=li(null,t,r,e,o,n),t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,go(r)){var a=!0;So(t)}else a=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,sa(t);var l=r.getDerivedStateFromProps;"function"==typeof l&&va(t,r,l,e),o.updater=ga,t.stateNode=o,o._reactInternals=t,Sa(t,r,e,n),t=Vi(null,t,r,!0,a,n)}else t.tag=0,Mi(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=(a=o._init)(o._payload),t.type=o,a=t.tag=function(e){if("function"==typeof e)return $u(e)?1:0;if(null!=e){if((e=e.$$typeof)===T)return 11;if(e===R)return 14}return 2}(o),e=Yo(o,e),a){case 0:t=Hi(null,t,o,e,n);break e;case 1:t=$i(null,t,o,e,n);break e;case 11:t=Ui(null,t,o,e,n);break e;case 14:t=zi(null,t,o,Yo(o.type,e),r,n);break e}throw Error(i(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Hi(e,t,r,o=t.elementType===r?o:Yo(r,o),n);case 1:return r=t.type,o=t.pendingProps,$i(e,t,r,o=t.elementType===r?o:Yo(r,o),n);case 3:if(Wi(t),r=t.updateQueue,null===e||null===r)throw Error(i(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,ca(e,t),ha(t,r,null,n),(r=t.memoizedState.element)===o)Ka(),t=al(e,t,n);else{if((a=(o=t.stateNode).hydrate)&&(qa=Kr(t.stateNode.containerInfo.firstChild),za=t,a=Ga=!0),a){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(a=e[o])._workInProgressVersionPrimary=e[o+1],Qa.push(a);for(n=_a(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Mi(e,t,r,n),Ka();t=t.child}return t;case 5:return Na(t),null===e&&$a(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,l=o.children,Hr(r,o)?l=null:null!==a&&Hr(r,a)&&(t.flags|=16),Bi(e,t),Mi(e,t,l,n),t.child;case 6:return null===e&&$a(t),null;case 13:return Yi(e,t,n);case 4:return Aa(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Pa(t,null,r,n):Mi(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Ui(e,t,r,o=t.elementType===r?o:Yo(r,o),n);case 7:return Mi(e,t,t.pendingProps,n),t.child;case 8:case 12:return Mi(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,l=t.memoizedProps,a=o.value;var u=t.type._context;if(fo(Jo,u._currentValue),u._currentValue=a,null!==l)if(u=l.value,0===(a=cr(u,a)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,a):1073741823))){if(l.children===o.children&&!yo.current){t=al(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var s=u.dependencies;if(null!==s){l=u.child;for(var c=s.firstContext;null!==c;){if(c.context===r&&0!=(c.observedBits&a)){1===u.tag&&((c=fa(-1,n&-n)).tag=2,da(u,c)),u.lanes|=n,null!==(c=u.alternate)&&(c.lanes|=n),aa(u.return,n),s.lanes|=n;break}c=c.next}}else l=10===u.tag&&u.type===t.type?null:u.child;if(null!==l)l.return=u;else for(l=u;null!==l;){if(l===t){l=null;break}if(null!==(u=l.sibling)){u.return=l.return,l=u;break}l=l.return}u=l}Mi(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(a=t.pendingProps).children,ia(t,n),r=r(o=la(o,a.unstable_observedBits)),t.flags|=1,Mi(e,t,r,n),t.child;case 14:return a=Yo(o=t.type,t.pendingProps),zi(e,t,o,a=Yo(o.type,a),r,n);case 15:return qi(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Yo(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,go(r)?(e=!0,So(t)):e=!1,ia(t,n),wa(t,r,o),Sa(t,r,o,n),Vi(null,t,r,!0,e,n);case 19:return ol(e,t,n);case 23:case 24:return Gi(e,t,n)}throw Error(i(156,t.tag))},os.prototype.render=function(e){es(e,this._internalRoot,null,null)},os.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;es(null,e,null,(function(){t[eo]=null}))},tt=function(e){13===e.tag&&(hu(e,4,du()),rs(e,4))},nt=function(e){13===e.tag&&(hu(e,67108864,du()),rs(e,67108864))},rt=function(e){if(13===e.tag){var t=du(),n=pu(e);hu(e,n,t),rs(e,n)}},ot=function(e,t){return t()},Pe=function(e,t,n){switch(t){case"input":if(ne(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=ao(r);if(!o)throw Error(i(90));X(r),ne(r,o)}}}break;case"textarea":se(e,n);break;case"select":null!=(t=n.value)&&ie(e,!!n.multiple,t,!1)}},De=wu,Ae=function(e,t,n,r,o){var a=Rl;Rl|=4;try{return Wo(98,e.bind(null,t,n,r,o))}finally{0===(Rl=a)&&(Wl(),Qo())}},Le=function(){0==(49&Rl)&&(function(){if(null!==ou){var e=ou;ou=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,mu(e,Ho())}))}Qo()}(),Lu())},Ne=function(e,t){var n=Rl;Rl|=2;try{return e(t)}finally{0===(Rl=n)&&(Wl(),Qo())}};var us={Events:[ro,oo,ao,je,Re,Lu,{current:!1}]},ss={findFiberByHostInstance:no,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},cs={bundleType:ss.bundleType,version:ss.version,rendererPackageName:ss.rendererPackageName,rendererConfig:ss.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:E.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Je(e))?null:e.stateNode},findFiberByHostInstance:ss.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var fs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!fs.isDisabled&&fs.supportsFiber)try{ko=fs.inject(cs),Oo=fs}catch(me){}}t.render=function(e,t,n){if(!as(t))throw Error(i(200));return is(null,e,t,!1,n)},t.unstable_batchedUpdates=wu},3935:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(4448)},463:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>be});var r=n(7294),o=n(5697),a=n.n(o);function i(e,t,n,r){return new(n||(n=Promise))((function(o,a){function i(e){try{u(r.next(e))}catch(e){a(e)}}function l(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}u((r=r.apply(e,t||[])).next())}))}function l(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}}Object.create;function u(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,a=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)i.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}return i}function s(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;var c=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function f(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=c.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof n.path){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"==typeof t?t:"string"==typeof r&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var d=[".DS_Store","Thumbs.db"];function p(e){return"object"==typeof e&&null!==e}function h(e){return g(e.target.files).map((function(e){return f(e)}))}function y(e){return i(this,void 0,void 0,(function(){return l(this,(function(t){switch(t.label){case 0:return[4,Promise.all(e.map((function(e){return e.getFile()})))];case 1:return[2,t.sent().map((function(e){return f(e)}))]}}))}))}function m(e,t){return i(this,void 0,void 0,(function(){var n;return l(this,(function(r){switch(r.label){case 0:return e.items?(n=g(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(b))]):[3,2];case 1:return[2,v(w(r.sent()))];case 2:return[2,v(g(e.files).map((function(e){return f(e)})))]}}))}))}function v(e){return e.filter((function(e){return-1===d.indexOf(e.name)}))}function g(e){if(null===e)return[];for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function b(e){if("function"!=typeof e.webkitGetAsEntry)return E(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?x(t):E(e)}function w(e){return e.reduce((function(e,t){return s(s([],u(e),!1),u(Array.isArray(t)?w(t):[t]),!1)}),[])}function E(e){var t=e.getAsFile();if(!t)return Promise.reject("".concat(e," is not a File"));var n=f(t);return Promise.resolve(n)}function S(e){return i(this,void 0,void 0,(function(){return l(this,(function(t){return[2,e.isDirectory?x(e):k(e)]}))}))}function x(e){var t=e.createReader();return new Promise((function(e,n){var r=[];!function o(){var a=this;t.readEntries((function(t){return i(a,void 0,void 0,(function(){var a,i,u;return l(this,(function(l){switch(l.label){case 0:if(t.length)return[3,5];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,Promise.all(r)];case 2:return a=l.sent(),e(a),[3,4];case 3:return i=l.sent(),n(i),[3,4];case 4:return[3,6];case 5:u=Promise.all(t.map(S)),r.push(u),o(),l.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function k(e){return i(this,void 0,void 0,(function(){return l(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var r=f(n,e.fullPath);t(r)}),(function(e){n(e)}))}))]}))}))}var O=n(8363);function F(e){return function(e){if(Array.isArray(e))return R(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||j(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||j(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(e,t){if(e){if("string"==typeof e)return R(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?R(e,t):void 0}}function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var D="file-invalid-type",A="file-too-large",L="file-too-small",N="too-many-files",I=function(e){e=Array.isArray(e)&&1===e.length?e[0]:e;var t=Array.isArray(e)?"one of ".concat(e.join(", ")):e;return{code:D,message:"File type must be ".concat(t)}},M=function(e){return{code:A,message:"File is larger than ".concat(e," ").concat(1===e?"byte":"bytes")}},U=function(e){return{code:L,message:"File is smaller than ".concat(e," ").concat(1===e?"byte":"bytes")}},z={code:N,message:"Too many files"};function q(e,t){var n="application/x-moz-file"===e.type||(0,O.Z)(e,t);return[n,n?null:I(t)]}function G(e,t,n){if(B(e.size))if(B(t)&&B(n)){if(e.size>n)return[!1,M(n)];if(e.size<t)return[!1,U(t)]}else{if(B(t)&&e.size<t)return[!1,U(t)];if(B(n)&&e.size>n)return[!1,M(n)]}return[!0,null]}function B(e){return null!=e}function H(e){var t=e.files,n=e.accept,r=e.minSize,o=e.maxSize,a=e.multiple,i=e.maxFiles,l=e.validator;return!(!a&&t.length>1||a&&i>=1&&t.length>i)&&t.every((function(e){var t=C(q(e,n),1)[0],a=C(G(e,r,o),1)[0],i=l?l(e):null;return t&&a&&!i}))}function $(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function V(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function W(e){e.preventDefault()}function K(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function Q(e){return-1!==e.indexOf("Edge/")}function Z(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return K(e)||Q(e)}function X(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.some((function(t){return!$(e)&&t&&t.apply(void 0,[e].concat(r)),$(e)}))}}function Y(){return"showOpenFilePicker"in window}function J(e){return B(e)?[{accept:Object.entries(e).filter((function(e){var t=C(e,2),n=t[0],r=t[1],o=!0;return re(n)||(console.warn('Skipped "'.concat(n,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),o=!1),Array.isArray(r)&&r.every(oe)||(console.warn('Skipped "'.concat(n,'" because an invalid file extension was provided.')),o=!1),o})).reduce((function(e,t){var n=C(t,2),r=n[0],o=n[1];return _(_({},e),{},T({},r,o))}),{})}]:e}function ee(e){if(B(e))return Object.entries(e).reduce((function(e,t){var n=C(t,2),r=n[0],o=n[1];return[].concat(F(e),[r],F(o))}),[]).filter((function(e){return re(e)||oe(e)})).join(",")}function te(e){return e instanceof DOMException&&("AbortError"===e.name||e.code===e.ABORT_ERR)}function ne(e){return e instanceof DOMException&&("SecurityError"===e.name||e.code===e.SECURITY_ERR)}function re(e){return"audio/*"===e||"video/*"===e||"image/*"===e||"text/*"===e||/\w+\/[-+.\w]+/g.test(e)}function oe(e){return/^.*\.[\w]+$/.test(e)}var ae=["children"],ie=["open"],le=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],ue=["refKey","onChange","onClick"];function se(e){return function(e){if(Array.isArray(e))return de(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||fe(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ce(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||fe(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fe(e,t){if(e){if("string"==typeof e)return de(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?de(e,t):void 0}}function de(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function he(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pe(Object(n),!0).forEach((function(t){ye(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function me(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var ve=(0,r.forwardRef)((function(e,t){var n=e.children,o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=he(he({},ge),e),n=t.accept,o=t.disabled,a=t.getFilesFromEvent,i=t.maxSize,l=t.minSize,u=t.multiple,s=t.maxFiles,c=t.onDragEnter,f=t.onDragLeave,d=t.onDragOver,p=t.onDrop,h=t.onDropAccepted,y=t.onDropRejected,m=t.onFileDialogCancel,v=t.onFileDialogOpen,g=t.useFsAccessApi,b=t.autoFocus,w=t.preventDropOnDocument,E=t.noClick,S=t.noKeyboard,x=t.noDrag,k=t.noDragEventsBubbling,O=t.onError,F=t.validator,P=(0,r.useMemo)((function(){return ee(n)}),[n]),_=(0,r.useMemo)((function(){return J(n)}),[n]),T=(0,r.useMemo)((function(){return"function"==typeof v?v:Se}),[v]),C=(0,r.useMemo)((function(){return"function"==typeof m?m:Se}),[m]),j=(0,r.useRef)(null),R=(0,r.useRef)(null),D=ce((0,r.useReducer)(Ee,we),2),A=D[0],L=D[1],N=A.isFocused,I=A.isFileDialogActive,M=(0,r.useRef)("undefined"!=typeof window&&window.isSecureContext&&g&&Y()),U=function(){!M.current&&I&&setTimeout((function(){R.current&&(R.current.files.length||(L({type:"closeDialog"}),C()))}),300)};(0,r.useEffect)((function(){return window.addEventListener("focus",U,!1),function(){window.removeEventListener("focus",U,!1)}}),[R,I,C,M]);var B=(0,r.useRef)([]),K=function(e){j.current&&j.current.contains(e.target)||(e.preventDefault(),B.current=[])};(0,r.useEffect)((function(){return w&&(document.addEventListener("dragover",W,!1),document.addEventListener("drop",K,!1)),function(){w&&(document.removeEventListener("dragover",W),document.removeEventListener("drop",K))}}),[j,w]),(0,r.useEffect)((function(){return!o&&b&&j.current&&j.current.focus(),function(){}}),[j,b,o]);var Q=(0,r.useCallback)((function(e){O?O(e):console.error(e)}),[O]),re=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),Pe(e),B.current=[].concat(se(B.current),[e.target]),V(e)&&Promise.resolve(a(e)).then((function(t){if(!$(e)||k){var n=t.length,r=n>0&&H({files:t,accept:P,minSize:l,maxSize:i,multiple:u,maxFiles:s,validator:F});L({isDragAccept:r,isDragReject:n>0&&!r,isDragActive:!0,type:"setDraggedFiles"}),c&&c(e)}})).catch((function(e){return Q(e)}))}),[a,c,Q,k,P,l,i,u,s,F]),oe=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),Pe(e);var t=V(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return t&&d&&d(e),!1}),[d,k]),ae=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),Pe(e);var t=B.current.filter((function(e){return j.current&&j.current.contains(e)})),n=t.indexOf(e.target);-1!==n&&t.splice(n,1),B.current=t,t.length>0||(L({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),V(e)&&f&&f(e))}),[j,f,k]),ie=(0,r.useCallback)((function(e,t){var n=[],r=[];e.forEach((function(e){var t=ce(q(e,P),2),o=t[0],a=t[1],u=ce(G(e,l,i),2),s=u[0],c=u[1],f=F?F(e):null;if(o&&s&&!f)n.push(e);else{var d=[a,c];f&&(d=d.concat(f)),r.push({file:e,errors:d.filter((function(e){return e}))})}})),(!u&&n.length>1||u&&s>=1&&n.length>s)&&(n.forEach((function(e){r.push({file:e,errors:[z]})})),n.splice(0)),L({acceptedFiles:n,fileRejections:r,type:"setFiles"}),p&&p(n,r,t),r.length>0&&y&&y(r,t),n.length>0&&h&&h(n,t)}),[L,u,P,l,i,s,p,h,y,F]),fe=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),Pe(e),B.current=[],V(e)&&Promise.resolve(a(e)).then((function(t){$(e)&&!k||ie(t,e)})).catch((function(e){return Q(e)})),L({type:"reset"})}),[a,ie,Q,k]),de=(0,r.useCallback)((function(){if(M.current){L({type:"openDialog"}),T();var e={multiple:u,types:_};window.showOpenFilePicker(e).then((function(e){return a(e)})).then((function(e){ie(e,null),L({type:"closeDialog"})})).catch((function(e){te(e)?(C(e),L({type:"closeDialog"})):ne(e)?(M.current=!1,R.current?(R.current.value=null,R.current.click()):Q(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):Q(e)}))}else R.current&&(L({type:"openDialog"}),T(),R.current.value=null,R.current.click())}),[L,T,C,g,ie,Q,_,u]),pe=(0,r.useCallback)((function(e){j.current&&j.current.isEqualNode(e.target)&&(" "!==e.key&&"Enter"!==e.key&&32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),de()))}),[j,de]),ve=(0,r.useCallback)((function(){L({type:"focus"})}),[]),be=(0,r.useCallback)((function(){L({type:"blur"})}),[]),xe=(0,r.useCallback)((function(){E||(Z()?setTimeout(de,0):de())}),[E,de]),ke=function(e){return o?null:e},Oe=function(e){return S?null:ke(e)},Fe=function(e){return x?null:ke(e)},Pe=function(e){k&&e.stopPropagation()},_e=(0,r.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.role,a=e.onKeyDown,i=e.onFocus,l=e.onBlur,u=e.onClick,s=e.onDragEnter,c=e.onDragOver,f=e.onDragLeave,d=e.onDrop,p=me(e,le);return he(he(ye({onKeyDown:Oe(X(a,pe)),onFocus:Oe(X(i,ve)),onBlur:Oe(X(l,be)),onClick:ke(X(u,xe)),onDragEnter:Fe(X(s,re)),onDragOver:Fe(X(c,oe)),onDragLeave:Fe(X(f,ae)),onDrop:Fe(X(d,fe)),role:"string"==typeof r&&""!==r?r:"presentation"},n,j),o||S?{}:{tabIndex:0}),p)}}),[j,pe,ve,be,xe,re,oe,ae,fe,S,x,o]),Te=(0,r.useCallback)((function(e){e.stopPropagation()}),[]),Ce=(0,r.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.onChange,o=e.onClick,a=me(e,ue);return he(he({},ye({accept:P,multiple:u,type:"file",style:{display:"none"},onChange:ke(X(r,fe)),onClick:ke(X(o,Te)),tabIndex:-1},n,R)),a)}}),[R,n,u,fe,o]);return he(he({},A),{},{isFocused:N&&!o,getRootProps:_e,getInputProps:Ce,rootRef:j,inputRef:R,open:ke(de)})}(me(e,ae)),a=o.open,i=me(o,ie);return(0,r.useImperativeHandle)(t,(function(){return{open:a}}),[a]),r.createElement(r.Fragment,null,n(he(he({},i),{},{open:a})))}));ve.displayName="Dropzone";var ge={disabled:!1,getFilesFromEvent:function(e){return i(this,void 0,void 0,(function(){return l(this,(function(t){return p(e)&&p(e.dataTransfer)?[2,m(e.dataTransfer,e.type)]:function(e){return p(e)&&p(e.target)}(e)?[2,h(e)]:Array.isArray(e)&&e.every((function(e){return"getFile"in e&&"function"==typeof e.getFile}))?[2,y(e)]:[2,[]]}))}))},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};ve.defaultProps=ge,ve.propTypes={children:a().func,accept:a().objectOf(a().arrayOf(a().string)),multiple:a().bool,preventDropOnDocument:a().bool,noClick:a().bool,noKeyboard:a().bool,noDrag:a().bool,noDragEventsBubbling:a().bool,minSize:a().number,maxSize:a().number,maxFiles:a().number,disabled:a().bool,getFilesFromEvent:a().func,onFileDialogCancel:a().func,onFileDialogOpen:a().func,useFsAccessApi:a().bool,autoFocus:a().bool,onDragEnter:a().func,onDragLeave:a().func,onDragOver:a().func,onDrop:a().func,onDropAccepted:a().func,onDropRejected:a().func,onError:a().func,validator:a().func};const be=ve;var we={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function Ee(e,t){switch(t.type){case"focus":return he(he({},e),{},{isFocused:!0});case"blur":return he(he({},e),{},{isFocused:!1});case"openDialog":return he(he({},we),{},{isFileDialogActive:!0});case"closeDialog":return he(he({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return he(he({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return he(he({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return he({},we);default:return e}}function Se(){}},9921:(e,t)=>{"use strict";
35
  /** @license React v16.13.1
36
  * react-is.production.min.js
37
  *
@@ -39,7 +39,7 @@ object-assign
39
  *
40
  * This source code is licensed under the MIT license found in the
41
  * LICENSE file in the root directory of this source tree.
42
- */var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,s=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,y=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,g=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case f:case a:case l:case i:case p:return e;default:switch(e=e&&e.$$typeof){case s:case d:case m:case y:case u:return e;default:return t}}case o:return t}}}function S(e){return E(e)===f}t.AsyncMode=c,t.ConcurrentMode=f,t.ContextConsumer=s,t.ContextProvider=u,t.Element=r,t.ForwardRef=d,t.Fragment=a,t.Lazy=m,t.Memo=y,t.Portal=o,t.Profiler=l,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return S(e)||E(e)===c},t.isConcurrentMode=S,t.isContextConsumer=function(e){return E(e)===s},t.isContextProvider=function(e){return E(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return E(e)===d},t.isFragment=function(e){return E(e)===a},t.isLazy=function(e){return E(e)===m},t.isMemo=function(e){return E(e)===y},t.isPortal=function(e){return E(e)===o},t.isProfiler=function(e){return E(e)===l},t.isStrictMode=function(e){return E(e)===i},t.isSuspense=function(e){return E(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===l||e===i||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===y||e.$$typeof===u||e.$$typeof===s||e.$$typeof===d||e.$$typeof===g||e.$$typeof===b||e.$$typeof===w||e.$$typeof===v)},t.typeOf=E},9864:(e,t,n)=>{"use strict";e.exports=n(9921)},6706:(e,t,n)=>{"use strict";n.d(t,{zt:()=>A,$j:()=>D});var r=n(1688),o=n(2798),a=n(3935);let i=function(e){e()};const l=()=>i;var u=n(7294);const s=u.createContext(null);let c=null;var f=n(7462),d=n(3366),p=n(8679),h=n.n(p),y=n(2973);const m=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function v(e,t,n,r,{areStatesEqual:o,areOwnPropsEqual:a,areStatePropsEqual:i}){let l,u,s,c,f,d=!1;function p(d,p){const h=!a(p,u),y=!o(d,l);return l=d,u=p,h&&y?(s=e(l,u),t.dependsOnOwnProps&&(c=t(r,u)),f=n(s,c,u),f):h?(e.dependsOnOwnProps&&(s=e(l,u)),t.dependsOnOwnProps&&(c=t(r,u)),f=n(s,c,u),f):y?function(){const t=e(l,u),r=!i(t,s);return s=t,r&&(f=n(s,c,u)),f}():f}return function(o,a){return d?p(o,a):(l=o,u=a,s=e(l,u),c=t(r,u),f=n(s,c,u),d=!0,f)}}function g(e){return function(t){const n=e(t);function r(){return n}return r.dependsOnOwnProps=!1,r}}function b(e){return e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function w(e,t){return function(t,{displayName:n}){const r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e,void 0)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=b(e);let o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=b(o),o=r(t,n)),o},r}}function E(e,t){return(n,r)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}function S(e,t,n){return(0,f.Z)({},n,e,t)}const x={notify(){},get:()=>[]};function k(e,t){let n,r=x;function o(){i.onStateChange&&i.onStateChange()}function a(){n||(n=t?t.addNestedSub(o):e.subscribe(o),r=function(){const e=l();let t=null,n=null;return{clear(){t=null,n=null},notify(){e((()=>{let e=t;for(;e;)e.callback(),e=e.next}))},get(){let e=[],n=t;for(;n;)e.push(n),n=n.next;return e},subscribe(e){let r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}const i={addNestedSub:function(e){return a(),r.subscribe(e)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:o,isSubscribed:function(){return Boolean(n)},trySubscribe:a,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=x)},getListeners:()=>r};return i}const O=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement)?u.useLayoutEffect:u.useEffect;function F(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function P(e,t){if(F(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!F(e[n[r]],t[n[r]]))return!1;return!0}const _=["reactReduxForwardedRef"];let T=()=>{throw new Error("uSES not initialized!")};const C=[null,null];function j(e,t,n,r,o,a){e.current=r,n.current=!1,o.current&&(o.current=null,a())}function R(e,t){return e===t}const D=function(e,t,n,{pure:r,areStatesEqual:o=R,areOwnPropsEqual:a=P,areStatePropsEqual:i=P,areMergedPropsEqual:l=P,forwardRef:c=!1,context:p=s}={}){const b=p,x=function(e){return e?"function"==typeof e?w(e):E(e,"mapStateToProps"):g((()=>({})))}(e),F=function(e){return e&&"object"==typeof e?g((t=>function(e,t){const n={};for(const r in e){const o=e[r];"function"==typeof o&&(n[r]=(...e)=>t(o(...e)))}return n}(e,t))):e?"function"==typeof e?w(e):E(e,"mapDispatchToProps"):g((e=>({dispatch:e})))}(t),D=function(e){return e?"function"==typeof e?function(e){return function(t,{displayName:n,areMergedPropsEqual:r}){let o,a=!1;return function(t,n,i){const l=e(t,n,i);return a?r(l,o)||(o=l):(a=!0,o=l),o}}}(e):E(e,"mergeProps"):()=>S}(n),A=Boolean(e);return e=>{const t=e.displayName||e.name||"Component",n=`Connect(${t})`,r={shouldHandleStateChanges:A,displayName:n,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:x,initMapDispatchToProps:F,initMergeProps:D,areStatesEqual:o,areStatePropsEqual:i,areOwnPropsEqual:a,areMergedPropsEqual:l};function s(t){const[n,o,a]=(0,u.useMemo)((()=>{const{reactReduxForwardedRef:e}=t,n=(0,d.Z)(t,_);return[t.context,e,n]}),[t]),i=(0,u.useMemo)((()=>n&&n.Consumer&&(0,y.isContextConsumer)(u.createElement(n.Consumer,null))?n:b),[n,b]),l=(0,u.useContext)(i),s=Boolean(t.store)&&Boolean(t.store.getState)&&Boolean(t.store.dispatch),c=Boolean(l)&&Boolean(l.store);const p=s?t.store:l.store,h=c?l.getServerState:p.getState,g=(0,u.useMemo)((()=>function(e,t){let{initMapStateToProps:n,initMapDispatchToProps:r,initMergeProps:o}=t,a=(0,d.Z)(t,m);return v(n(e,a),r(e,a),o(e,a),e,a)}(p.dispatch,r)),[p]),[w,E]=(0,u.useMemo)((()=>{if(!A)return C;const e=k(p,s?void 0:l.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[p,s,l]),S=(0,u.useMemo)((()=>s?l:(0,f.Z)({},l,{subscription:w})),[s,l,w]),x=(0,u.useRef)(),F=(0,u.useRef)(a),P=(0,u.useRef)(),R=(0,u.useRef)(!1),D=((0,u.useRef)(!1),(0,u.useRef)(!1)),L=(0,u.useRef)();O((()=>(D.current=!0,()=>{D.current=!1})),[]);const N=(0,u.useMemo)((()=>()=>P.current&&a===F.current?P.current:g(p.getState(),a)),[p,a]),I=(0,u.useMemo)((()=>e=>w?function(e,t,n,r,o,a,i,l,u,s,c){if(!e)return()=>{};let f=!1,d=null;const p=()=>{if(f||!l.current)return;const e=t.getState();let n,p;try{n=r(e,o.current)}catch(e){p=e,d=e}p||(d=null),n===a.current?i.current||s():(a.current=n,u.current=n,i.current=!0,c())};return n.onStateChange=p,n.trySubscribe(),p(),()=>{if(f=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}(A,p,w,g,F,x,R,D,P,E,e):()=>{}),[w]);var M,U,z;let q;M=j,U=[F,x,R,a,P,E],O((()=>M(...U)),z);try{q=T(I,N,h?()=>g(h(),a):N)}catch(e){throw L.current&&(e.message+=`\nThe error may be correlated with this previous error:\n${L.current.stack}\n\n`),e}O((()=>{L.current=void 0,P.current=void 0,x.current=q}));const G=(0,u.useMemo)((()=>u.createElement(e,(0,f.Z)({},q,{ref:o}))),[o,e,q]);return(0,u.useMemo)((()=>A?u.createElement(i.Provider,{value:S},G):G),[i,G,S])}const p=u.memo(s);if(p.WrappedComponent=e,p.displayName=s.displayName=n,c){const t=u.forwardRef((function(e,t){return u.createElement(p,(0,f.Z)({},e,{reactReduxForwardedRef:t}))}));return t.displayName=n,t.WrappedComponent=e,h()(t,e)}return h()(p,e)}};const A=function({store:e,context:t,children:n,serverState:r}){const o=(0,u.useMemo)((()=>{const t=k(e);return{store:e,subscription:t,getServerState:r?()=>r:void 0}}),[e,r]),a=(0,u.useMemo)((()=>e.getState()),[e]);O((()=>{const{subscription:t}=o;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),a!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}}),[o,a]);const i=t||s;return u.createElement(i.Provider,{value:o},n)};var L,N;L=o.useSyncExternalStoreWithSelector,c=L,(e=>{T=e})(r.useSyncExternalStore),N=a.unstable_batchedUpdates,i=N},8359:(e,t)=>{"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");
43
  /**
44
  * @license React
45
  * react-is.production.min.js
@@ -48,7 +48,7 @@ object-assign
48
  *
49
  * This source code is licensed under the MIT license found in the
50
  * LICENSE file in the root directory of this source tree.
51
- */function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case a:case l:case i:case d:case p:return e;default:switch(e=e&&e.$$typeof){case c:case s:case f:case y:case h:case u:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference"),t.isContextConsumer=function(e){return v(e)===s}},2973:(e,t,n)=>{"use strict";e.exports=n(8359)},3727:(e,t,n)=>{"use strict";n.d(t,{UT:()=>c});var r=n(5977),o=n(4578),a=n(7294),i=n(7531),l=n(7462),u=n(3366),s=n(2177);a.Component;var c=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.q_)(t.props),t}return(0,o.Z)(t,e),t.prototype.render=function(){return a.createElement(r.F0,{history:this.history,children:this.props.children})},t}(a.Component);var f=function(e,t){return"function"==typeof e?e(t):e},d=function(e,t){return"string"==typeof e?(0,i.ob)(e,null,null,t):e},p=function(e){return e},h=a.forwardRef;void 0===h&&(h=p);var y=h((function(e,t){var n=e.innerRef,r=e.navigate,o=e.onClick,i=(0,u.Z)(e,["innerRef","navigate","onClick"]),s=i.target,c=(0,l.Z)({},i,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||s&&"_self"!==s||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return c.ref=p!==h&&t||n,a.createElement("a",c)}));var m=h((function(e,t){var n=e.component,o=void 0===n?y:n,c=e.replace,m=e.to,v=e.innerRef,g=(0,u.Z)(e,["component","replace","to","innerRef"]);return a.createElement(r.s6.Consumer,null,(function(e){e||(0,s.Z)(!1);var n=e.history,r=d(f(m,e.location),e.location),u=r?n.createHref(r):"",y=(0,l.Z)({},g,{href:u,navigate:function(){var t=f(m,e.location),r=(0,i.Ep)(e.location)===(0,i.Ep)(d(t));(c||r?n.replace:n.push)(t)}});return p!==h?y.ref=t||v:y.innerRef=v,a.createElement(o,y)}))})),v=function(e){return e},g=a.forwardRef;void 0===g&&(g=v);g((function(e,t){var n=e["aria-current"],o=void 0===n?"page":n,i=e.activeClassName,c=void 0===i?"active":i,p=e.activeStyle,h=e.className,y=e.exact,b=e.isActive,w=e.location,E=e.sensitive,S=e.strict,x=e.style,k=e.to,O=e.innerRef,F=(0,u.Z)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return a.createElement(r.s6.Consumer,null,(function(e){e||(0,s.Z)(!1);var n=w||e.location,i=d(f(k,n),n),u=i.pathname,P=u&&u.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),_=P?(0,r.LX)(n.pathname,{path:P,exact:y,sensitive:E,strict:S}):null,T=!!(b?b(_,n):_),C="function"==typeof h?h(T):h,j="function"==typeof x?x(T):x;T&&(C=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(C,c),j=(0,l.Z)({},j,p));var R=(0,l.Z)({"aria-current":T&&o||null,className:C,style:j,to:i},F);return v!==g?R.ref=t||O:R.innerRef=O,a.createElement(m,R)}))}))},5977:(e,t,n)=>{"use strict";n.d(t,{AW:()=>P,F0:()=>x,rs:()=>D,s6:()=>S,LX:()=>F,EN:()=>A});var r=n(4578),o=n(7294),a=n(7531),i=n(5697),l=n.n(i),u=1073741823,s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};function c(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var f=o.createContext||function(e,t){var n,a,i="__create-react-context-"+function(){var e="__global_unique_id__";return s[e]=(s[e]||0)+1}()+"__",f=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=c(t.props.value),t}(0,r.Z)(n,e);var o=n.prototype;return o.getChildContext=function(){var e;return(e={})[i]=this.emitter,e},o.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,o=e.value;((a=r)===(i=o)?0!==a||1/a==1/i:a!=a&&i!=i)?n=0:(n="function"==typeof t?t(r,o):u,0!==(n|=0)&&this.emitter.set(e.value,n))}var a,i},o.render=function(){return this.props.children},n}(o.Component);f.childContextTypes=((n={})[i]=l().object.isRequired,n);var d=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}(0,r.Z)(n,t);var o=n.prototype;return o.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?u:t},o.componentDidMount=function(){this.context[i]&&this.context[i].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?u:e},o.componentWillUnmount=function(){this.context[i]&&this.context[i].off(this.onUpdate)},o.getValue=function(){return this.context[i]?this.context[i].get():e},o.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(o.Component);return d.contextTypes=((a={})[i]=l().object,a),{Provider:f,Consumer:d}};const d=f;var p=n(2177),h=n(7462),y=n(4779),m=n.n(y),v=(n(9864),n(3366)),g=n(8679),b=n.n(g),w=function(e){var t=d();return t.displayName=e,t},E=w("Router-History"),S=w("Router"),x=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._pendingLocation=e}))),n}(0,r.Z)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return o.createElement(S.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},o.createElement(E.Provider,{children:this.props.children||null,value:this.props.history}))},t}(o.Component);o.Component;o.Component;var k={},O=0;function F(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,a=void 0!==o&&o,i=n.strict,l=void 0!==i&&i,u=n.sensitive,s=void 0!==u&&u;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=k[n]||(k[n]={});if(r[e])return r[e];var o=[],a={regexp:m()(e,o,t),keys:o};return O<1e4&&(r[e]=a,O++),a}(n,{end:a,strict:l,sensitive:s}),o=r.regexp,i=r.keys,u=o.exec(e);if(!u)return null;var c=u[0],f=u.slice(1),d=e===c;return a&&!d?null:{path:n,url:"/"===n&&""===c?"/":c,isExact:d,params:i.reduce((function(e,t,n){return e[t.name]=f[n],e}),{})}}),null)}var P=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return o.createElement(S.Consumer,null,(function(t){t||(0,p.Z)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?F(n.pathname,e.props):t.match,a=(0,h.Z)({},t,{location:n,match:r}),i=e.props,l=i.children,u=i.component,s=i.render;return Array.isArray(l)&&function(e){return 0===o.Children.count(e)}(l)&&(l=null),o.createElement(S.Provider,{value:a},a.match?l?"function"==typeof l?l(a):l:u?o.createElement(u,a):s?s(a):null:"function"==typeof l?l(a):null)}))},t}(o.Component);function _(e){return"/"===e.charAt(0)?e:"/"+e}function T(e,t){if(!e)return t;var n=_(e);return 0!==t.pathname.indexOf(n)?t:(0,h.Z)({},t,{pathname:t.pathname.substr(n.length)})}function C(e){return"string"==typeof e?e:(0,a.Ep)(e)}function j(e){return function(){(0,p.Z)(!1)}}function R(){}o.Component;var D=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return o.createElement(S.Consumer,null,(function(t){t||(0,p.Z)(!1);var n,r,a=e.props.location||t.location;return o.Children.forEach(e.props.children,(function(e){if(null==r&&o.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?F(a.pathname,(0,h.Z)({},e.props,{path:i})):t.match}})),r?o.cloneElement(n,{location:a,computedMatch:r}):null}))},t}(o.Component);function A(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,r=(0,v.Z)(t,["wrappedComponentRef"]);return o.createElement(S.Consumer,null,(function(t){return t||(0,p.Z)(!1),o.createElement(e,(0,h.Z)({},r,t,{ref:n}))}))};return n.displayName=t,n.WrappedComponent=e,b()(n,e)}o.useContext},2408:(e,t,n)=>{"use strict";
52
  /** @license React v17.0.2
53
  * react.production.min.js
54
  *
@@ -64,7 +64,7 @@ object-assign
64
  *
65
  * This source code is licensed under the MIT license found in the
66
  * LICENSE file in the root directory of this source tree.
67
- */var n,r,o,a;if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var l=Date,u=l.now();t.unstable_now=function(){return l.now()-u}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var s=null,c=null,f=function(){if(null!==s)try{var e=t.unstable_now();s(!0,e),s=null}catch(e){throw setTimeout(f,0),e}};n=function(e){null!==s?setTimeout(n,0,e):(s=e,setTimeout(f,0))},r=function(e,t){c=setTimeout(e,t)},o=function(){clearTimeout(c)},t.unstable_shouldYield=function(){return!1},a=t.unstable_forceFrameRate=function(){}}else{var d=window.setTimeout,p=window.clearTimeout;if("undefined"!=typeof console){var h=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof h&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var y=!1,m=null,v=-1,g=5,b=0;t.unstable_shouldYield=function(){return t.unstable_now()>=b},a=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):g=0<e?Math.floor(1e3/e):5};var w=new MessageChannel,E=w.port2;w.port1.onmessage=function(){if(null!==m){var e=t.unstable_now();b=e+g;try{m(!0,e)?E.postMessage(null):(y=!1,m=null)}catch(e){throw E.postMessage(null),e}}else y=!1},n=function(e){m=e,y||(y=!0,E.postMessage(null))},r=function(e,n){v=d((function(){e(t.unstable_now())}),n)},o=function(){p(v),v=-1}}function S(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<O(o,t)))break e;e[r]=t,e[n]=o,n=r}}function x(e){return void 0===(e=e[0])?null:e}function k(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var a=2*(r+1)-1,i=e[a],l=a+1,u=e[l];if(void 0!==i&&0>O(i,n))void 0!==u&&0>O(u,i)?(e[r]=u,e[l]=n,r=l):(e[r]=i,e[a]=n,r=a);else{if(!(void 0!==u&&0>O(u,n)))break e;e[r]=u,e[l]=n,r=l}}}return t}return null}function O(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var F=[],P=[],_=1,T=null,C=3,j=!1,R=!1,D=!1;function A(e){for(var t=x(P);null!==t;){if(null===t.callback)k(P);else{if(!(t.startTime<=e))break;k(P),t.sortIndex=t.expirationTime,S(F,t)}t=x(P)}}function L(e){if(D=!1,A(e),!R)if(null!==x(F))R=!0,n(N);else{var t=x(P);null!==t&&r(L,t.startTime-e)}}function N(e,n){R=!1,D&&(D=!1,o()),j=!0;var a=C;try{for(A(n),T=x(F);null!==T&&(!(T.expirationTime>n)||e&&!t.unstable_shouldYield());){var i=T.callback;if("function"==typeof i){T.callback=null,C=T.priorityLevel;var l=i(T.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?T.callback=l:T===x(F)&&k(F),A(n)}else k(F);T=x(F)}if(null!==T)var u=!0;else{var s=x(P);null!==s&&r(L,s.startTime-n),u=!1}return u}finally{T=null,C=a,j=!1}}var I=a;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){R||j||(R=!0,n(N))},t.unstable_getCurrentPriorityLevel=function(){return C},t.unstable_getFirstCallbackNode=function(){return x(F)},t.unstable_next=function(e){switch(C){case 1:case 2:case 3:var t=3;break;default:t=C}var n=C;C=t;try{return e()}finally{C=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=I,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=C;C=e;try{return t()}finally{C=n}},t.unstable_scheduleCallback=function(e,a,i){var l=t.unstable_now();switch("object"==typeof i&&null!==i?i="number"==typeof(i=i.delay)&&0<i?l+i:l:i=l,e){case 1:var u=-1;break;case 2:u=250;break;case 5:u=1073741823;break;case 4:u=1e4;break;default:u=5e3}return e={id:_++,callback:a,priorityLevel:e,startTime:i,expirationTime:u=i+u,sortIndex:-1},i>l?(e.sortIndex=i,S(P,e),null===x(F)&&e===x(P)&&(D?o():D=!0,r(L,i-l))):(e.sortIndex=u,S(F,e),R||j||(R=!0,n(N))),e},t.unstable_wrapCallback=function(e){var t=C;return function(){var n=C;C=t;try{return e.apply(this,arguments)}finally{C=n}}}},3840:(e,t,n)=>{"use strict";e.exports=n(53)},8975:(e,t,n)=>{var r;!function(){"use strict";var o={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function a(e){return l(s(e),arguments)}function i(e,t){return a.apply(null,[e].concat(t||[]))}function l(e,t){var n,r,i,l,u,s,c,f,d,p=1,h=e.length,y="";for(r=0;r<h;r++)if("string"==typeof e[r])y+=e[r];else if("object"==typeof e[r]){if((l=e[r]).keys)for(n=t[p],i=0;i<l.keys.length;i++){if(null==n)throw new Error(a('[sprintf] Cannot access property "%s" of undefined value "%s"',l.keys[i],l.keys[i-1]));n=n[l.keys[i]]}else n=l.param_no?t[l.param_no]:t[p++];if(o.not_type.test(l.type)&&o.not_primitive.test(l.type)&&n instanceof Function&&(n=n()),o.numeric_arg.test(l.type)&&"number"!=typeof n&&isNaN(n))throw new TypeError(a("[sprintf] expecting number but found %T",n));switch(o.number.test(l.type)&&(f=n>=0),l.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,l.width?parseInt(l.width):0);break;case"e":n=l.precision?parseFloat(n).toExponential(l.precision):parseFloat(n).toExponential();break;case"f":n=l.precision?parseFloat(n).toFixed(l.precision):parseFloat(n);break;case"g":n=l.precision?String(Number(n.toPrecision(l.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=l.precision?n.substring(0,l.precision):n;break;case"t":n=String(!!n),n=l.precision?n.substring(0,l.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=l.precision?n.substring(0,l.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=l.precision?n.substring(0,l.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}o.json.test(l.type)?y+=n:(!o.number.test(l.type)||f&&!l.sign?d="":(d=f?"+":"-",n=n.toString().replace(o.sign,"")),s=l.pad_char?"0"===l.pad_char?"0":l.pad_char.charAt(1):" ",c=l.width-(d+n).length,u=l.width&&c>0?s.repeat(c):"",y+=l.align?d+n+u:"0"===s?d+u+n:u+d+n)}return y}var u=Object.create(null);function s(e){if(u[e])return u[e];for(var t,n=e,r=[],a=0;n;){if(null!==(t=o.text.exec(n)))r.push(t[0]);else if(null!==(t=o.modulo.exec(n)))r.push("%");else{if(null===(t=o.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){a|=1;var i=[],l=t[2],s=[];if(null===(s=o.key.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(i.push(s[1]);""!==(l=l.substring(s[0].length));)if(null!==(s=o.key_access.exec(l)))i.push(s[1]);else{if(null===(s=o.index_access.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");i.push(s[1])}t[2]=i}else a|=2;if(3===a)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}n=n.substring(t[0].length)}return u[e]=r}t.sprintf=a,t.vsprintf=i,"undefined"!=typeof window&&(window.sprintf=a,window.vsprintf=i,void 0===(r=function(){return{sprintf:a,vsprintf:i}}.call(t,n,t,e))||(e.exports=r))}()},3045:e=>{e.exports=function(){var e,t={exports:{}};function n(e){if(e)return function(e){for(var t in n.prototype)e[t]=n.prototype[t];return e}(e)}t.exports=n,n.prototype.on=n.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},n.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},n.prototype.off=n.prototype.removeListener=n.prototype.removeAllListeners=n.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<r.length;o++)if((n=r[o])===t||n.fn===t){r.splice(o,1);break}return 0===r.length&&delete this._callbacks["$"+e],this},n.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){r=0;for(var o=(n=n.slice(0)).length;r<o;++r)n[r].apply(this,t)}return this},n.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},n.prototype.hasListeners=function(e){return!!this.listeners(e).length},t=t.exports,e=i,i.default=i,i.stable=s,i.stableStringify=s;var r=[],o=[];function a(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function i(e,t,n,i){var u;void 0===i&&(i=a()),function e(t,n,r,o,a,i,u){var s;if(i+=1,"object"==typeof t&&null!==t){for(s=0;s<o.length;s++)if(o[s]===t)return void l("[Circular]",t,n,a);if(void 0!==u.depthLimit&&i>u.depthLimit)return void l("[...]",t,n,a);if(void 0!==u.edgesLimit&&r+1>u.edgesLimit)return void l("[...]",t,n,a);if(o.push(t),Array.isArray(t))for(s=0;s<t.length;s++)e(t[s],s,s,o,t,i,u);else{var c=Object.keys(t);for(s=0;s<c.length;s++){var f=c[s];e(t[f],f,s,o,t,i,u)}}o.pop()}}(e,"",0,[],void 0,0,i);try{u=0===o.length?JSON.stringify(e,t,n):JSON.stringify(e,c(t),n)}catch(e){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==r.length;){var s=r.pop();4===s.length?Object.defineProperty(s[0],s[1],s[3]):s[0][s[1]]=s[2]}}return u}function l(e,t,n,a){var i=Object.getOwnPropertyDescriptor(a,n);void 0!==i.get?i.configurable?(Object.defineProperty(a,n,{value:e}),r.push([a,n,t,i])):o.push([t,n,e]):(a[n]=e,r.push([a,n,t]))}function u(e,t){return e<t?-1:e>t?1:0}function s(e,t,n,i){void 0===i&&(i=a());var s,f=function e(t,n,o,a,i,s,c){var f;if(s+=1,"object"==typeof t&&null!==t){for(f=0;f<a.length;f++)if(a[f]===t)return void l("[Circular]",t,n,i);try{if("function"==typeof t.toJSON)return}catch(e){return}if(void 0!==c.depthLimit&&s>c.depthLimit)return void l("[...]",t,n,i);if(void 0!==c.edgesLimit&&o+1>c.edgesLimit)return void l("[...]",t,n,i);if(a.push(t),Array.isArray(t))for(f=0;f<t.length;f++)e(t[f],f,f,a,t,s,c);else{var d={},p=Object.keys(t).sort(u);for(f=0;f<p.length;f++){var h=p[f];e(t[h],h,f,a,t,s,c),d[h]=t[h]}if(void 0===i)return d;r.push([i,n,t]),i[n]=d}a.pop()}}(e,"",0,[],void 0,0,i)||e;try{s=0===o.length?JSON.stringify(f,t,n):JSON.stringify(f,c(t),n)}catch(e){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==r.length;){var d=r.pop();4===d.length?Object.defineProperty(d[0],d[1],d[3]):d[0][d[1]]=d[2]}}return s}function c(e){return e=void 0!==e?e:function(e,t){return t},function(t,n){if(o.length>0)for(var r=0;r<o.length;r++){var a=o[r];if(a[1]===t&&a[0]===n){n=a[2],o.splice(r,1);break}}return e.call(this,t,n)}}var f="undefined"!=typeof Symbol&&Symbol,d=Array.prototype.slice,p=Object.prototype.toString,h=Function.prototype.bind||function(e){var t=this;if("function"!=typeof t||"[object Function]"!==p.call(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var n,r=d.call(arguments,1),o=Math.max(0,t.length-r.length),a=[],i=0;i<o;i++)a.push("$"+i);if(n=Function("binder","return function ("+a.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof n){var o=t.apply(this,r.concat(d.call(arguments)));return Object(o)===o?o:this}return t.apply(e,r.concat(d.call(arguments)))})),t.prototype){var l=function(){};l.prototype=t.prototype,n.prototype=new l,l.prototype=null}return n},y=h.call(Function.call,Object.prototype.hasOwnProperty),m=SyntaxError,v=Function,g=TypeError,b=function(e){try{return v('"use strict"; return ('+e+").constructor;")()}catch(e){}},w=Object.getOwnPropertyDescriptor;if(w)try{w({},"")}catch(e){w=null}var E,S=function(){throw new g},x=w?function(){try{return S}catch(e){try{return w(arguments,"callee").get}catch(e){return S}}}():S,k="function"==typeof f&&"function"==typeof Symbol&&"symbol"==typeof f("foo")&&"symbol"==typeof Symbol("bar")&&function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}(),O=Object.getPrototypeOf||function(e){return e.__proto__},F={},P="undefined"==typeof Uint8Array?void 0:O(Uint8Array),_={"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":k?O([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":F,"%AsyncGenerator%":F,"%AsyncGeneratorFunction%":F,"%AsyncIteratorPrototype%":F,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":v,"%GeneratorFunction%":F,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":k?O(O([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&k?O((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&k?O((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":k?O(""[Symbol.iterator]()):void 0,"%Symbol%":k?Symbol:void 0,"%SyntaxError%":m,"%ThrowTypeError%":x,"%TypedArray%":P,"%TypeError%":g,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet},T={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},C=h.call(Function.call,Array.prototype.concat),j=h.call(Function.apply,Array.prototype.splice),R=h.call(Function.call,String.prototype.replace),D=h.call(Function.call,String.prototype.slice),A=h.call(Function.call,RegExp.prototype.exec),L=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,N=/\\(\\)?/g,I=function(e,t){var n,r=e;if(y(T,r)&&(r="%"+(n=T[r])[0]+"%"),y(_,r)){var o=_[r];if(o===F&&(o=function e(t){var n;if("%AsyncFunction%"===t)n=b("async function () {}");else if("%GeneratorFunction%"===t)n=b("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=b("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&(n=O(o.prototype))}return _[t]=n,n}(r)),void 0===o&&!t)throw new g("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new m("intrinsic "+e+" does not exist!")},M=function(e,t){if("string"!=typeof e||0===e.length)throw new g("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new g('"allowMissing" argument must be a boolean');if(null===A(/^%?[^%]*%?$/g,e))throw new m("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=D(e,0,1),n=D(e,-1);if("%"===t&&"%"!==n)throw new m("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new m("invalid intrinsic syntax, expected opening `%`");var r=[];return R(e,L,(function(e,t,n,o){r[r.length]=n?R(o,N,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",o=I("%"+r+"%",t),a=o.name,i=o.value,l=!1,u=o.alias;u&&(r=u[0],j(n,C([0,1],u)));for(var s=1,c=!0;s<n.length;s+=1){var f=n[s],d=D(f,0,1),p=D(f,-1);if(('"'===d||"'"===d||"`"===d||'"'===p||"'"===p||"`"===p)&&d!==p)throw new m("property names with quotes must have matching quotes");if("constructor"!==f&&c||(l=!0),y(_,a="%"+(r+="."+f)+"%"))i=_[a];else if(null!=i){if(!(f in i)){if(!t)throw new g("base intrinsic for "+e+" exists, but the property is not available.");return}if(w&&s+1>=n.length){var h=w(i,f);i=(c=!!h)&&"get"in h&&!("originalValue"in h.get)?h.get:i[f]}else c=y(i,f),i=i[f];c&&!l&&(_[a]=i)}}return i},U=M("%Function.prototype.apply%"),z=M("%Function.prototype.call%"),q=M("%Reflect.apply%",!0)||h.call(z,U),G=M("%Object.getOwnPropertyDescriptor%",!0),B=M("%Object.defineProperty%",!0),H=M("%Math.max%");if(B)try{B({},"a",{value:1})}catch(e){B=null}E=function(e){var t=q(h,z,arguments);return G&&B&&G(t,"length").configurable&&B(t,"length",{value:1+H(0,e.length-(arguments.length-1))}),t};var $=function(){return q(h,U,arguments)};B?B(E,"apply",{value:$}):E.apply=$;var V=E(M("String.prototype.indexOf")),W=function(e,t){var n=M(e,!!t);return"function"==typeof n&&V(e,".prototype.")>-1?E(n):n},K={},Q="function"==typeof Map&&Map.prototype,Z=Object.getOwnPropertyDescriptor&&Q?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,X=Q&&Z&&"function"==typeof Z.get?Z.get:null,Y=Q&&Map.prototype.forEach,J="function"==typeof Set&&Set.prototype,ee=Object.getOwnPropertyDescriptor&&J?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,te=J&&ee&&"function"==typeof ee.get?ee.get:null,ne=J&&Set.prototype.forEach,re="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,oe="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,ae="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,ie=Boolean.prototype.valueOf,le=Object.prototype.toString,ue=Function.prototype.toString,se=String.prototype.match,ce=String.prototype.slice,fe=String.prototype.replace,de=String.prototype.toUpperCase,pe=String.prototype.toLowerCase,he=RegExp.prototype.test,ye=Array.prototype.concat,me=Array.prototype.join,ve=Array.prototype.slice,ge=Math.floor,be="function"==typeof BigInt?BigInt.prototype.valueOf:null,we=Object.getOwnPropertySymbols,Ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,Se="function"==typeof Symbol&&"object"==typeof Symbol.iterator,xe="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,ke=Object.prototype.propertyIsEnumerable,Oe=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function Fe(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||he.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-ge(-e):ge(e);if(r!==e){var o=String(r),a=ce.call(t,o.length+1);return fe.call(o,n,"$&_")+"."+fe.call(fe.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return fe.call(t,n,"$&_")}var Pe=K.custom,_e=De(Pe)?Pe:null;function Te(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function Ce(e){return fe.call(String(e),/"/g,"&quot;")}function je(e){return!("[object Array]"!==Ne(e)||xe&&"object"==typeof e&&xe in e)}function Re(e){return!("[object RegExp]"!==Ne(e)||xe&&"object"==typeof e&&xe in e)}function De(e){if(Se)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!Ee)return!1;try{return Ee.call(e),!0}catch(e){}return!1}var Ae=Object.prototype.hasOwnProperty||function(e){return e in this};function Le(e,t){return Ae.call(e,t)}function Ne(e){return le.call(e)}function Ie(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function Me(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+de.call(t.toString(16))}function Ue(e){return"Object("+e+")"}function ze(e){return e+" { ? }"}function qe(e,t,n,r){return e+" ("+t+") {"+(r?Ge(n,r):me.call(n,", "))+"}"}function Ge(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+me.call(e,","+n)+"\n"+t.prev}function Be(e,t){var n=je(e),r=[];if(n){r.length=e.length;for(var o=0;o<e.length;o++)r[o]=Le(e,o)?t(e[o],e):""}var a,i="function"==typeof we?we(e):[];if(Se){a={};for(var l=0;l<i.length;l++)a["$"+i[l]]=i[l]}for(var u in e)Le(e,u)&&(n&&String(Number(u))===u&&u<e.length||Se&&a["$"+u]instanceof Symbol||(he.call(/[^\w$]/,u)?r.push(t(u,e)+": "+t(e[u],e)):r.push(u+": "+t(e[u],e))));if("function"==typeof we)for(var s=0;s<i.length;s++)ke.call(e,i[s])&&r.push("["+t(i[s])+"]: "+t(e[i[s]],e));return r}var He=M("%TypeError%"),$e=M("%WeakMap%",!0),Ve=M("%Map%",!0),We=W("WeakMap.prototype.get",!0),Ke=W("WeakMap.prototype.set",!0),Qe=W("WeakMap.prototype.has",!0),Ze=W("Map.prototype.get",!0),Xe=W("Map.prototype.set",!0),Ye=W("Map.prototype.has",!0),Je=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},et=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new He("Side channel does not contain "+function e(t,n,r,o){var a=n||{};if(Le(a,"quoteStyle")&&"single"!==a.quoteStyle&&"double"!==a.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Le(a,"maxStringLength")&&("number"==typeof a.maxStringLength?a.maxStringLength<0&&a.maxStringLength!==1/0:null!==a.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var i=!Le(a,"customInspect")||a.customInspect;if("boolean"!=typeof i&&"symbol"!==i)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Le(a,"indent")&&null!==a.indent&&"\t"!==a.indent&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Le(a,"numericSeparator")&&"boolean"!=typeof a.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var l=a.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return function e(t,n){if(t.length>n.maxStringLength){var r=t.length-n.maxStringLength,o="... "+r+" more character"+(r>1?"s":"");return e(ce.call(t,0,n.maxStringLength),n)+o}return Te(fe.call(fe.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Me),"single",n)}(t,a);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var u=String(t);return l?Fe(t,u):u}if("bigint"==typeof t){var s=String(t)+"n";return l?Fe(t,s):s}var c=void 0===a.depth?5:a.depth;if(void 0===r&&(r=0),r>=c&&c>0&&"object"==typeof t)return je(t)?"[Array]":"[Object]";var f,d=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=me.call(Array(e.indent+1)," ")}return{base:n,prev:me.call(Array(t+1),n)}}(a,r);if(void 0===o)o=[];else if(Ie(o,t)>=0)return"[Circular]";function p(t,n,i){if(n&&(o=ve.call(o)).push(n),i){var l={depth:a.depth};return Le(a,"quoteStyle")&&(l.quoteStyle=a.quoteStyle),e(t,l,r+1,o)}return e(t,a,r+1,o)}if("function"==typeof t&&!Re(t)){var h=function(e){if(e.name)return e.name;var t=se.call(ue.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),y=Be(t,p);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(y.length>0?" { "+me.call(y,", ")+" }":"")}if(De(t)){var m=Se?fe.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Ee.call(t);return"object"!=typeof t||Se?m:Ue(m)}if((f=t)&&"object"==typeof f&&("undefined"!=typeof HTMLElement&&f instanceof HTMLElement||"string"==typeof f.nodeName&&"function"==typeof f.getAttribute)){for(var v="<"+pe.call(String(t.nodeName)),g=t.attributes||[],b=0;b<g.length;b++)v+=" "+g[b].name+"="+Te(Ce(g[b].value),"double",a);return v+=">",t.childNodes&&t.childNodes.length&&(v+="..."),v+"</"+pe.call(String(t.nodeName))+">"}if(je(t)){if(0===t.length)return"[]";var w=Be(t,p);return d&&!function(e){for(var t=0;t<e.length;t++)if(Ie(e[t],"\n")>=0)return!1;return!0}(w)?"["+Ge(w,d)+"]":"[ "+me.call(w,", ")+" ]"}if(function(e){return!("[object Error]"!==Ne(e)||xe&&"object"==typeof e&&xe in e)}(t)){var E=Be(t,p);return"cause"in Error.prototype||!("cause"in t)||ke.call(t,"cause")?0===E.length?"["+String(t)+"]":"{ ["+String(t)+"] "+me.call(E,", ")+" }":"{ ["+String(t)+"] "+me.call(ye.call("[cause]: "+p(t.cause),E),", ")+" }"}if("object"==typeof t&&i){if(_e&&"function"==typeof t[_e]&&K)return K(t,{depth:c-r});if("symbol"!==i&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!X||!e||"object"!=typeof e)return!1;try{X.call(e);try{te.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var S=[];return Y.call(t,(function(e,n){S.push(p(n,t,!0)+" => "+p(e,t))})),qe("Map",X.call(t),S,d)}if(function(e){if(!te||!e||"object"!=typeof e)return!1;try{te.call(e);try{X.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var x=[];return ne.call(t,(function(e){x.push(p(e,t))})),qe("Set",te.call(t),x,d)}if(function(e){if(!re||!e||"object"!=typeof e)return!1;try{re.call(e,re);try{oe.call(e,oe)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return ze("WeakMap");if(function(e){if(!oe||!e||"object"!=typeof e)return!1;try{oe.call(e,oe);try{re.call(e,re)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return ze("WeakSet");if(function(e){if(!ae||!e||"object"!=typeof e)return!1;try{return ae.call(e),!0}catch(e){}return!1}(t))return ze("WeakRef");if(function(e){return!("[object Number]"!==Ne(e)||xe&&"object"==typeof e&&xe in e)}(t))return Ue(p(Number(t)));if(function(e){if(!e||"object"!=typeof e||!be)return!1;try{return be.call(e),!0}catch(e){}return!1}(t))return Ue(p(be.call(t)));if(function(e){return!("[object Boolean]"!==Ne(e)||xe&&"object"==typeof e&&xe in e)}(t))return Ue(ie.call(t));if(function(e){return!("[object String]"!==Ne(e)||xe&&"object"==typeof e&&xe in e)}(t))return Ue(p(String(t)));if(!function(e){return!("[object Date]"!==Ne(e)||xe&&"object"==typeof e&&xe in e)}(t)&&!Re(t)){var k=Be(t,p),O=Oe?Oe(t)===Object.prototype:t instanceof Object||t.constructor===Object,F=t instanceof Object?"":"null prototype",P=!O&&xe&&Object(t)===t&&xe in t?ce.call(Ne(t),8,-1):F?"Object":"",_=(O||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(P||F?"["+me.call(ye.call([],P||[],F||[]),": ")+"] ":"");return 0===k.length?_+"{}":d?_+"{"+Ge(k,d)+"}":_+"{ "+me.call(k,", ")+" }"}return String(t)}(e))},get:function(r){if($e&&r&&("object"==typeof r||"function"==typeof r)){if(e)return We(e,r)}else if(Ve){if(t)return Ze(t,r)}else if(n)return function(e,t){var n=Je(e,t);return n&&n.value}(n,r)},has:function(r){if($e&&r&&("object"==typeof r||"function"==typeof r)){if(e)return Qe(e,r)}else if(Ve){if(t)return Ye(t,r)}else if(n)return function(e,t){return!!Je(e,t)}(n,r);return!1},set:function(r,o){$e&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new $e),Ke(e,r,o)):Ve?(t||(t=new Ve),Xe(t,r,o)):(n||(n={key:{},next:null}),function(e,t,n){var r=Je(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,o))}};return r},tt=String.prototype.replace,nt=/%20/g,rt={default:"RFC3986",formatters:{RFC1738:function(e){return tt.call(e,nt,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:"RFC3986"},ot=Object.prototype.hasOwnProperty,at=Array.isArray,it=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),lt={combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var o=t[r],a=o.obj[o.prop],i=Object.keys(a),l=0;l<i.length;++l){var u=i[l],s=a[u];"object"==typeof s&&null!==s&&-1===n.indexOf(s)&&(t.push({obj:a,prop:u}),n.push(s))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(at(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,r,o){if(0===e.length)return e;var a=e;if("symbol"==typeof e?a=Symbol.prototype.toString.call(e):"string"!=typeof e&&(a=String(e)),"iso-8859-1"===n)return escape(a).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var i="",l=0;l<a.length;++l){var u=a.charCodeAt(l);45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||o===rt.RFC1738&&(40===u||41===u)?i+=a.charAt(l):u<128?i+=it[u]:u<2048?i+=it[192|u>>6]+it[128|63&u]:u<55296||u>=57344?i+=it[224|u>>12]+it[128|u>>6&63]+it[128|63&u]:(l+=1,u=65536+((1023&u)<<10|1023&a.charCodeAt(l)),i+=it[240|u>>18]+it[128|u>>12&63]+it[128|u>>6&63]+it[128|63&u])}return i},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(at(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n){if(at(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!ot.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var o=t;return at(t)&&!at(n)&&(o=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n}(t,r)),at(t)&&at(n)?(n.forEach((function(n,o){if(ot.call(t,o)){var a=t[o];a&&"object"==typeof a&&n&&"object"==typeof n?t[o]=e(a,n,r):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var a=n[o];return ot.call(t,o)?t[o]=e(t[o],a,r):t[o]=a,t}),o)}},ut=Object.prototype.hasOwnProperty,st={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},ct=Array.isArray,ft=String.prototype.split,dt=Array.prototype.push,pt=function(e,t){dt.apply(e,ct(t)?t:[t])},ht=Date.prototype.toISOString,yt=rt.default,mt={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:lt.encode,encodeValuesOnly:!1,format:yt,formatter:rt.formatters[yt],indices:!1,serializeDate:function(e){return ht.call(e)},skipNulls:!1,strictNullHandling:!1},vt={},gt=function e(t,n,r,o,a,i,l,u,s,c,f,d,p,h,y){for(var m,v=t,g=y,b=0,w=!1;void 0!==(g=g.get(vt))&&!w;){var E=g.get(t);if(b+=1,void 0!==E){if(E===b)throw new RangeError("Cyclic object value");w=!0}void 0===g.get(vt)&&(b=0)}if("function"==typeof l?v=l(n,v):v instanceof Date?v=c(v):"comma"===r&&ct(v)&&(v=lt.maybeMap(v,(function(e){return e instanceof Date?c(e):e}))),null===v){if(o)return i&&!p?i(n,mt.encoder,h,"key",f):n;v=""}if("string"==typeof(m=v)||"number"==typeof m||"boolean"==typeof m||"symbol"==typeof m||"bigint"==typeof m||lt.isBuffer(v)){if(i){var S=p?n:i(n,mt.encoder,h,"key",f);if("comma"===r&&p){for(var x=ft.call(String(v),","),k="",O=0;O<x.length;++O)k+=(0===O?"":",")+d(i(x[O],mt.encoder,h,"value",f));return[d(S)+(ct(v)&&1===x.length?"[]":"")+"="+k]}return[d(S)+"="+d(i(v,mt.encoder,h,"value",f))]}return[d(n)+"="+d(String(v))]}var F,P=[];if(void 0===v)return P;if("comma"===r&&ct(v))F=[{value:v.length>0?v.join(",")||null:void 0}];else if(ct(l))F=l;else{var _=Object.keys(v);F=u?_.sort(u):_}for(var T="comma"===r&&ct(v)&&1===v.length?n+"[]":n,C=0;C<F.length;++C){var j=F[C],R="object"==typeof j&&void 0!==j.value?j.value:v[j];if(!a||null!==R){var D=ct(v)?"function"==typeof r?r(T,j):T:T+(s?"."+j:"["+j+"]");y.set(t,b);var A=et();A.set(vt,y),pt(P,e(R,D,r,o,a,i,l,u,s,c,f,d,p,h,A))}}return P},bt=(Object.prototype.hasOwnProperty,Array.isArray,{stringify:function(e,t){var n,r=e,o=function(e){if(!e)return mt;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||mt.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=rt.default;if(void 0!==e.format){if(!ut.call(rt.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=rt.formatters[n],o=mt.filter;return("function"==typeof e.filter||ct(e.filter))&&(o=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:mt.addQueryPrefix,allowDots:void 0===e.allowDots?mt.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:mt.charsetSentinel,delimiter:void 0===e.delimiter?mt.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:mt.encode,encoder:"function"==typeof e.encoder?e.encoder:mt.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:mt.encodeValuesOnly,filter:o,format:n,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:mt.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:mt.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:mt.strictNullHandling}}(t);"function"==typeof o.filter?r=(0,o.filter)("",r):ct(o.filter)&&(n=o.filter);var a,i=[];if("object"!=typeof r||null===r)return"";a=t&&t.arrayFormat in st?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var l=st[a];n||(n=Object.keys(r)),o.sort&&n.sort(o.sort);for(var u=et(),s=0;s<n.length;++s){var c=n[s];o.skipNulls&&null===r[c]||pt(i,gt(r[c],c,l,o.strictNullHandling,o.skipNulls,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,u))}var f=i.join(o.delimiter),d=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?d+="utf8=%26%2310003%3B&":d+="utf8=%E2%9C%93&"),f.length>0?d+f:""}}),wt={type:e=>e.split(/ *; */).shift(),params:e=>{const t={};for(const n of e.split(/ *; */)){const e=n.split(/ *= */),r=e.shift(),o=e.shift();r&&o&&(t[r]=o)}return t},parseLinks:e=>{const t={};for(const n of e.split(/ *, */)){const e=n.split(/ *; */),r=e[0].slice(1,-1);t[e[1].split(/ *= */)[1].slice(1,-1)]=r}return t},isObject:e=>null!==e&&"object"==typeof e};wt.hasOwn=Object.hasOwn||function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(new Object(e),t)},wt.mixin=(e,t)=>{for(const n in t)wt.hasOwn(t,n)&&(e[n]=t[n])};var Et,St,xt,kt=Et={};function Ot(){throw new Error("setTimeout has not been defined")}function Ft(){throw new Error("clearTimeout has not been defined")}function Pt(e){if(St===setTimeout)return setTimeout(e,0);if((St===Ot||!St)&&setTimeout)return St=setTimeout,setTimeout(e,0);try{return St(e,0)}catch(t){try{return St.call(null,e,0)}catch(t){return St.call(this,e,0)}}}!function(){try{St="function"==typeof setTimeout?setTimeout:Ot}catch(e){St=Ot}try{xt="function"==typeof clearTimeout?clearTimeout:Ft}catch(e){xt=Ft}}();var _t,Tt=[],Ct=!1,jt=-1;function Rt(){Ct&&_t&&(Ct=!1,_t.length?Tt=_t.concat(Tt):jt=-1,Tt.length&&Dt())}function Dt(){if(!Ct){var e=Pt(Rt);Ct=!0;for(var t=Tt.length;t;){for(_t=Tt,Tt=[];++jt<t;)_t&&_t[jt].run();jt=-1,t=Tt.length}_t=null,Ct=!1,function(e){if(xt===clearTimeout)return clearTimeout(e);if((xt===Ft||!xt)&&clearTimeout)return xt=clearTimeout,clearTimeout(e);try{xt(e)}catch(t){try{return xt.call(null,e)}catch(t){return xt.call(this,e)}}}(e)}}function At(e,t){this.fun=e,this.array=t}function Lt(){}kt.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];Tt.push(new At(e,t)),1!==Tt.length||Ct||Pt(Dt)},At.prototype.run=function(){this.fun.apply(null,this.array)},kt.title="browser",kt.browser=!0,kt.env={},kt.argv=[],kt.version="",kt.versions={},kt.on=Lt,kt.addListener=Lt,kt.once=Lt,kt.off=Lt,kt.removeListener=Lt,kt.removeAllListeners=Lt,kt.emit=Lt,kt.prependListener=Lt,kt.prependOnceListener=Lt,kt.listeners=function(e){return[]},kt.binding=function(e){throw new Error("process.binding is not supported")},kt.cwd=function(){return"/"},kt.chdir=function(e){throw new Error("process.chdir is not supported")},kt.umask=function(){return 0};var Nt,It={};function Mt(){}(function(e){(function(){"use strict";const{isObject:t,hasOwn:n}=wt;function r(){}It=r,r.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),clearTimeout(this._uploadTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,delete this._uploadTimeoutTimer,this},r.prototype.parse=function(e){return this._parser=e,this},r.prototype.responseType=function(e){return this._responseType=e,this},r.prototype.serialize=function(e){return this._serializer=e,this},r.prototype.timeout=function(e){if(!e||"object"!=typeof e)return this._timeout=e,this._responseTimeout=0,this._uploadTimeout=0,this;for(const t in e)if(n(e,t))switch(t){case"deadline":this._timeout=e.deadline;break;case"response":this._responseTimeout=e.response;break;case"upload":this._uploadTimeout=e.upload;break;default:console.warn("Unknown timeout option",t)}return this},r.prototype.retry=function(e,t){return 0!==arguments.length&&!0!==e||(e=1),e<=0&&(e=0),this._maxRetries=e,this._retries=0,this._retryCallback=t,this};const o=new Set(["ETIMEDOUT","ECONNRESET","EADDRINUSE","ECONNREFUSED","EPIPE","ENOTFOUND","ENETUNREACH","EAI_AGAIN"]),a=new Set([408,413,429,500,502,503,504,521,522,524]);r.prototype._shouldRetry=function(e,t){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{const n=this._retryCallback(e,t);if(!0===n)return!0;if(!1===n)return!1}catch(e){console.error(e)}if(t&&t.status&&a.has(t.status))return!0;if(e){if(e.code&&o.has(e.code))return!0;if(e.timeout&&"ECONNABORTED"===e.code)return!0;if(e.crossDomain)return!0}return!1},r.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this.timedoutError=null,this._end()},r.prototype.then=function(e,t){if(!this._fullfilledPromise){const e=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise(((t,n)=>{e.on("abort",(()=>{if(this._maxRetries&&this._maxRetries>this._retries)return;if(this.timedout&&this.timedoutError)return void n(this.timedoutError);const e=new Error("Aborted");e.code="ABORTED",e.status=this.status,e.method=this.method,e.url=this.url,n(e)})),e.end(((e,r)=>{e?n(e):t(r)}))}))}return this._fullfilledPromise.then(e,t)},r.prototype.catch=function(e){return this.then(void 0,e)},r.prototype.use=function(e){return e(this),this},r.prototype.ok=function(e){if("function"!=typeof e)throw new Error("Callback required");return this._okCallback=e,this},r.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},r.prototype.get=function(e){return this._header[e.toLowerCase()]},r.prototype.getHeader=r.prototype.get,r.prototype.set=function(e,r){if(t(e)){for(const t in e)n(e,t)&&this.set(t,e[t]);return this}return this._header[e.toLowerCase()]=r,this.header[e]=r,this},r.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},r.prototype.field=function(e,r,o){if(null==e)throw new Error(".field(name, val) name can not be empty");if(this._data)throw new Error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()");if(t(e)){for(const t in e)n(e,t)&&this.field(t,e[t]);return this}if(Array.isArray(r)){for(const t in r)n(r,t)&&this.field(e,r[t]);return this}if(null==r)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof r&&(r=String(r)),o?this._getFormData().append(e,r,o):this._getFormData().append(e,r),this},r.prototype.abort=function(){if(this._aborted)return this;if(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req){if(K.gte(e.version,"v13.0.0")&&K.lt(e.version,"v14.0.0"))throw new Error("Superagent does not work in v13 properly with abort() due to Node.js core changes");K.gte(e.version,"v14.0.0")&&(this.req.destroyed=!0),this.req.abort()}return this.clearTimeout(),this.emit("abort"),this},r.prototype._auth=function(e,t,n,r){switch(n.type){case"basic":this.set("Authorization","Basic ".concat(r("".concat(e,":").concat(t))));break;case"auto":this.username=e,this.password=t;break;case"bearer":this.set("Authorization","Bearer ".concat(e))}return this},r.prototype.withCredentials=function(e){return void 0===e&&(e=!0),this._withCredentials=e,this},r.prototype.redirects=function(e){return this._maxRedirects=e,this},r.prototype.maxResponseSize=function(e){if("number"!=typeof e)throw new TypeError("Invalid argument");return this._maxResponseSize=e,this},r.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},r.prototype.send=function(e){const r=t(e);let o=this._header["content-type"];if(this._formData)throw new Error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()");if(r&&!this._data)Array.isArray(e)?this._data=[]:this._isHost(e)||(this._data={});else if(e&&this._data&&this._isHost(this._data))throw new Error("Can't merge these send calls");if(r&&t(this._data))for(const t in e)n(e,t)&&(this._data[t]=e[t]);else"string"==typeof e?(o||this.type("form"),(o=this._header["content-type"])&&(o=o.toLowerCase().trim()),this._data="application/x-www-form-urlencoded"===o?this._data?"".concat(this._data,"&").concat(e):e:(this._data||"")+e):this._data=e;return!r||this._isHost(e)||o||this.type("json"),this},r.prototype.sortQuery=function(e){return this._sort=void 0===e||e,this},r.prototype._finalizeQueryString=function(){const e=this._query.join("&");if(e&&(this.url+=(this.url.includes("?")?"&":"?")+e),this._query.length=0,this._sort){const e=this.url.indexOf("?");if(e>=0){const t=this.url.slice(e+1).split("&");"function"==typeof this._sort?t.sort(this._sort):t.sort(),this.url=this.url.slice(0,e)+"?"+t.join("&")}}},r.prototype._appendQueryString=()=>{console.warn("Unsupported")},r.prototype._timeoutError=function(e,t,n){if(this._aborted)return;const r=new Error("".concat(e+t,"ms exceeded"));r.timeout=t,r.code="ECONNABORTED",r.errno=n,this.timedout=!0,this.timedoutError=r,this.abort(),this.callback(r)},r.prototype._setTimeouts=function(){const e=this;this._timeout&&!this._timer&&(this._timer=setTimeout((()=>{e._timeoutError("Timeout of ",e._timeout,"ETIME")}),this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout((()=>{e._timeoutError("Response timeout of ",e._responseTimeout,"ETIMEDOUT")}),this._responseTimeout))}}).call(this)}).call(this,Et),Nt=Mt,Mt.prototype.get=function(e){return this.header[e.toLowerCase()]},Mt.prototype._setHeaderProperties=function(e){const t=e["content-type"]||"";this.type=wt.type(t);const n=wt.params(t);for(const e in n)Object.prototype.hasOwnProperty.call(n,e)&&(this[e]=n[e]);this.links={};try{e.link&&(this.links=wt.parseLinks(e.link))}catch(e){}},Mt.prototype._setStatusProperties=function(e){const t=Math.trunc(e/100);this.statusCode=e,this.status=this.statusCode,this.statusType=t,this.info=1===t,this.ok=2===t,this.redirect=3===t,this.clientError=4===t,this.serverError=5===t,this.error=(4===t||5===t)&&this.toError(),this.created=201===e,this.accepted=202===e,this.noContent=204===e,this.badRequest=400===e,this.unauthorized=401===e,this.notAcceptable=406===e,this.forbidden=403===e,this.notFound=404===e,this.unprocessableEntity=422===e};var Ut={};function zt(){this._defaults=[]}for(const e of["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert","disableTLSCerts"])zt.prototype[e]=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this._defaults.push({fn:e,args:n}),this};zt.prototype._setDefaults=function(e){for(const t of this._defaults)e[t.fn](...t.args)},Ut=zt;var qt={};let Gt;"undefined"!=typeof window?Gt=window:"undefined"==typeof self?(console.warn("Using browser-only version of superagent in non-browser environment"),Gt=void 0):Gt=self;const{isObject:Bt,mixin:Ht,hasOwn:$t}=wt;function Vt(){}const Wt=qt=qt=function(e,t){return"function"==typeof t?new qt.Request("GET",e).end(t):1===arguments.length?new qt.Request("GET",e):new qt.Request(e,t)};qt.Request=en,Wt.getXHR=()=>{if(Gt.XMLHttpRequest)return new Gt.XMLHttpRequest;throw new Error("Browser-only version of superagent could not find XHR")};const Kt="".trim?e=>e.trim():e=>e.replace(/(^\s*|\s*$)/g,"");function Qt(e){if(!Bt(e))return e;const t=[];for(const n in e)$t(e,n)&&Zt(t,n,e[n]);return t.join("&")}function Zt(e,t,n){if(void 0!==n)if(null!==n)if(Array.isArray(n))for(const r of n)Zt(e,t,r);else if(Bt(n))for(const r in n)$t(n,r)&&Zt(e,"".concat(t,"[").concat(r,"]"),n[r]);else e.push(encodeURI(t)+"="+encodeURIComponent(n));else e.push(encodeURI(t))}function Xt(e){const t={},n=e.split("&");let r,o;for(let e=0,a=n.length;e<a;++e)-1===(o=(r=n[e]).indexOf("="))?t[decodeURIComponent(r)]="":t[decodeURIComponent(r.slice(0,o))]=decodeURIComponent(r.slice(o+1));return t}function Yt(e){return/[/+]json($|[^-\w])/i.test(e)}function Jt(e){this.req=e,this.xhr=this.req.xhr,this.text="HEAD"!==this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||void 0===this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;let{status:t}=this.xhr;1223===t&&(t=204),this._setStatusProperties(t),this.headers=function(e){const t=e.split(/\r?\n/),n={};let r,o,a,i;for(let e=0,l=t.length;e<l;++e)-1!==(r=(o=t[e]).indexOf(":"))&&(a=o.slice(0,r).toLowerCase(),i=Kt(o.slice(r+1)),n[a]=i);return n}(this.xhr.getAllResponseHeaders()),this.header=this.headers,this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),null===this.text&&e._responseType?this.body=this.xhr.response:this.body="HEAD"===this.req.method?null:this._parseBody(this.text?this.text:this.xhr.response)}function en(e,t){const n=this;this._query=this._query||[],this.method=e,this.url=t,this.header={},this._header={},this.on("end",(()=>{let e,t=null,r=null;try{r=new Jt(n)}catch(e){return(t=new Error("Parser is unable to parse the response")).parse=!0,t.original=e,n.xhr?(t.rawResponse=void 0===n.xhr.responseType?n.xhr.responseText:n.xhr.response,t.status=n.xhr.status?n.xhr.status:null,t.statusCode=t.status):(t.rawResponse=null,t.status=null),n.callback(t)}n.emit("response",r);try{n._isResponseOK(r)||(e=new Error(r.statusText||r.text||"Unsuccessful HTTP response"))}catch(t){e=t}e?(e.original=t,e.response=r,e.status=e.status||r.status,n.callback(e,r)):n.callback(null,r)}))}Wt.serializeObject=Qt,Wt.parseString=Xt,Wt.types={html:"text/html",json:"application/json",xml:"text/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},Wt.serialize={"application/x-www-form-urlencoded":bt.stringify,"application/json":e},Wt.parse={"application/x-www-form-urlencoded":Xt,"application/json":JSON.parse},Ht(Jt.prototype,Nt.prototype),Jt.prototype._parseBody=function(e){let t=Wt.parse[this.type];return this.req._parser?this.req._parser(this,e):(!t&&Yt(this.type)&&(t=Wt.parse["application/json"]),t&&e&&(e.length>0||e instanceof Object)?t(e):null)},Jt.prototype.toError=function(){const{req:e}=this,{method:t}=e,{url:n}=e,r="cannot ".concat(t," ").concat(n," (").concat(this.status,")"),o=new Error(r);return o.status=this.status,o.method=t,o.url=n,o},Wt.Response=Jt,t(en.prototype),Ht(en.prototype,It.prototype),en.prototype.type=function(e){return this.set("Content-Type",Wt.types[e]||e),this},en.prototype.accept=function(e){return this.set("Accept",Wt.types[e]||e),this},en.prototype.auth=function(e,t,n){1===arguments.length&&(t=""),"object"==typeof t&&null!==t&&(n=t,t=""),n||(n={type:"function"==typeof btoa?"basic":"auto"});const r=n.encoder?n.encoder:e=>{if("function"==typeof btoa)return btoa(e);throw new Error("Cannot use basic auth, btoa is not a function")};return this._auth(e,t,n,r)},en.prototype.query=function(e){return"string"!=typeof e&&(e=Qt(e)),e&&this._query.push(e),this},en.prototype.attach=function(e,t,n){if(t){if(this._data)throw new Error("superagent can't mix .send() and .attach()");this._getFormData().append(e,t,n||t.name)}return this},en.prototype._getFormData=function(){return this._formData||(this._formData=new Gt.FormData),this._formData},en.prototype.callback=function(e,t){if(this._shouldRetry(e,t))return this._retry();const n=this._callback;this.clearTimeout(),e&&(this._maxRetries&&(e.retries=this._retries-1),this.emit("error",e)),n(e,t)},en.prototype.crossDomainError=function(){const e=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},en.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},en.prototype.ca=en.prototype.agent,en.prototype.buffer=en.prototype.ca,en.prototype.write=()=>{throw new Error("Streaming is not supported in browser version of superagent")},en.prototype.pipe=en.prototype.write,en.prototype._isHost=function(e){return e&&"object"==typeof e&&!Array.isArray(e)&&"[object Object]"!==Object.prototype.toString.call(e)},en.prototype.end=function(e){this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=e||Vt,this._finalizeQueryString(),this._end()},en.prototype._setUploadTimeout=function(){const e=this;this._uploadTimeout&&!this._uploadTimeoutTimer&&(this._uploadTimeoutTimer=setTimeout((()=>{e._timeoutError("Upload timeout of ",e._uploadTimeout,"ETIMEDOUT")}),this._uploadTimeout))},en.prototype._end=function(){if(this._aborted)return this.callback(new Error("The request has been aborted even before .end() was called"));const e=this;this.xhr=Wt.getXHR();const{xhr:t}=this;let n=this._formData||this._data;this._setTimeouts(),t.addEventListener("readystatechange",(()=>{const{readyState:n}=t;if(n>=2&&e._responseTimeoutTimer&&clearTimeout(e._responseTimeoutTimer),4!==n)return;let r;try{r=t.status}catch(e){r=0}if(!r){if(e.timedout||e._aborted)return;return e.crossDomainError()}e.emit("end")}));const r=(t,n)=>{n.total>0&&(n.percent=n.loaded/n.total*100,100===n.percent&&clearTimeout(e._uploadTimeoutTimer)),n.direction=t,e.emit("progress",n)};if(this.hasListeners("progress"))try{t.addEventListener("progress",r.bind(null,"download")),t.upload&&t.upload.addEventListener("progress",r.bind(null,"upload"))}catch(e){}t.upload&&this._setUploadTimeout();try{this.username&&this.password?t.open(this.method,this.url,!0,this.username,this.password):t.open(this.method,this.url,!0)}catch(e){return this.callback(e)}if(this._withCredentials&&(t.withCredentials=!0),!this._formData&&"GET"!==this.method&&"HEAD"!==this.method&&"string"!=typeof n&&!this._isHost(n)){const e=this._header["content-type"];let t=this._serializer||Wt.serialize[e?e.split(";")[0]:""];!t&&Yt(e)&&(t=Wt.serialize["application/json"]),t&&(n=t(n))}for(const e in this.header)null!==this.header[e]&&$t(this.header,e)&&t.setRequestHeader(e,this.header[e]);this._responseType&&(t.responseType=this._responseType),this.emit("request",this),t.send(void 0===n?null:n)},Wt.agent=()=>new Ut;for(const e of["GET","POST","OPTIONS","PATCH","PUT","DELETE"])Ut.prototype[e.toLowerCase()]=function(t,n){const r=new Wt.Request(e,t);return this._setDefaults(r),n&&r.end(n),r};function tn(e,t,n){const r=Wt("DELETE",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}return Ut.prototype.del=Ut.prototype.delete,Wt.get=(e,t,n)=>{const r=Wt("GET",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},Wt.head=(e,t,n)=>{const r=Wt("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},Wt.options=(e,t,n)=>{const r=Wt("OPTIONS",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},Wt.del=tn,Wt.delete=tn,Wt.patch=(e,t,n)=>{const r=Wt("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},Wt.post=(e,t,n)=>{const r=Wt("POST",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},Wt.put=(e,t,n)=>{const r=Wt("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},qt}()},2177:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r="Invariant failed";function o(e,t){if(!e)throw new Error(r)}},3250:(e,t,n)=>{"use strict";
68
  /**
69
  * @license React
70
  * use-sync-external-store-shim.production.min.js
@@ -82,7 +82,7 @@ object-assign
82
  *
83
  * This source code is licensed under the MIT license found in the
84
  * LICENSE file in the root directory of this source tree.
85
- */var r=n(7294),o=n(1688);var a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=o.useSyncExternalStore,l=r.useRef,u=r.useEffect,s=r.useMemo,c=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var f=l(null);if(null===f.current){var d={hasValue:!1,value:null};f.current=d}else d=f.current;f=s((function(){function e(e){if(!u){if(u=!0,i=e,e=r(e),void 0!==o&&d.hasValue){var t=d.value;if(o(t,e))return l=t}return l=e}if(t=l,a(i,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(i=e,l=n)}var i,l,u=!1,s=void 0===n?null:n;return[function(){return e(t())},null===s?void 0:function(){return e(s())}]}),[t,n,r,o]);var p=i(e,f[0],f[1]);return u((function(){d.hasValue=!0,d.value=p}),[p]),c(p),p}},1688:(e,t,n)=>{"use strict";e.exports=n(3250)},2798:(e,t,n)=>{"use strict";e.exports=n(139)},5311:e=>{"use strict";e.exports=jQuery},4942:(e,t,n)=>{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:()=>r})},7462:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},4578:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(9611);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},3366:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:()=>r})},9611:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:()=>r})}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={exports:{}};return n[e].call(a.exports,a,a.exports,o),a.exports}o.m=n,o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((t,n)=>(o.f[n](e,t),t)),[])),o.u=e=>"assets/js/chunk-"+e+"."+{8:"7f9cd7c302c223d62f3c",88:"3fdd159572e48a92c54f",142:"988aa2760a0153882311",291:"1bffe2206b6fc15d1ea1",366:"b79cfa9301292212ab1b",387:"3910cac3d37c3b41392a",574:"afb627ab66e1844b7932",604:"2ce3d257fe0b58a49cf4",872:"1db5008e5ad375567658"}[e]+".js",o.miniCssF=e=>{},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="gravity-pdf:",o.l=(n,r,a,i)=>{if(e[n])e[n].push(r);else{var l,u;if(void 0!==a)for(var s=document.getElementsByTagName("script"),c=0;c<s.length;c++){var f=s[c];if(f.getAttribute("src")==n||f.getAttribute("data-webpack")==t+a){l=f;break}}l||(u=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,o.nc&&l.setAttribute("nonce",o.nc),l.setAttribute("data-webpack",t+a),l.src=n),e[n]=[r];var d=(t,r)=>{l.onerror=l.onload=null,clearTimeout(p);var o=e[n];if(delete e[n],l.parentNode&&l.parentNode.removeChild(l),o&&o.forEach((e=>e(r))),t)return t(r)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=d.bind(null,l.onerror),l.onload=d.bind(null,l.onload),u&&document.head.appendChild(l)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;o.g.importScripts&&(e=o.g.location+"");var t=o.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");n.length&&(e=n[n.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=e+"../../"})(),(()=>{var e={325:0};o.f.j=(t,n)=>{var r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var a=new Promise(((n,o)=>r=e[t]=[n,o]));n.push(r[2]=a);var i=o.p+o.u(t),l=new Error;o.l(i,(n=>{if(o.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var a=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;l.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",l.name="ChunkLoadError",l.type=a,l.request=i,r[1](l)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,a,[i,l,u]=n,s=0;if(i.some((t=>0!==e[t]))){for(r in l)o.o(l,r)&&(o.m[r]=l[r]);if(u)u(o)}for(t&&t(n);s<i.length;s++)a=i[s],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},n=self.webpackChunkgravity_pdf=self.webpackChunkgravity_pdf||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),(()=>{"use strict";o(8674);var e=o(5311),t=o.n(e),n=(o(6992),o(3948),o(9601),o(7294)),r=o(3935),a=o(3727),i=o(5977),l=o(50),u=o.n(l),s=o(8500),c=o(7779),f=function(e){return"@@redux-saga/"+e},d=f("CANCEL_PROMISE"),p=f("CHANNEL_END"),h=f("IO"),y=f("MATCH"),m=f("MULTICAST"),v=f("SAGA_ACTION"),g=f("SELF_CANCELLATION"),b=f("TASK"),w=f("TASK_CANCEL"),E=f("TERMINATE"),S=f("LOCATION"),x=o(7462),k=o(3366),O=function(e){return null==e},F=function(e){return null!=e},P=function(e){return"function"==typeof e},_=function(e){return"string"==typeof e},T=Array.isArray,C=function(e){return e&&P(e.then)},j=function(e){return e&&P(e.next)&&P(e.throw)},R=function e(t){return t&&(_(t)||L(t)||P(t)||T(t)&&t.every(e))},D=function(e){return e&&P(e.take)&&P(e.close)},A=function(e){return P(e)&&e.hasOwnProperty("toString")},L=function(e){return Boolean(e)&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype};var N=function(e){return function(){return e}}(!0),I=function(){};var M=function(e){return e};"function"==typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;var U=function(e,t){(0,x.Z)(e,t),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach((function(n){e[n]=t[n]}))};function z(e,t){var n=e.indexOf(t);n>=0&&e.splice(n,1)}var q=function(e){throw e},G=function(e){return{value:e,done:!0}};function B(e,t,n){void 0===t&&(t=q),void 0===n&&(n="iterator");var r={meta:{name:n},next:e,throw:t,return:G,isSagaIterator:!0};return"undefined"!=typeof Symbol&&(r[Symbol.iterator]=function(){return r}),r}function H(e,t){var n=t.sagaStack;console.error(e),console.error(n)}var $=function(e){return Array.apply(null,new Array(e))},V=function(e){return function(t){return e(Object.defineProperty(t,v,{value:!0}))}},W=function(e){return e===E},K=function(e){return e===w},Q=function(e){return W(e)||K(e)};function Z(e,t){var n=Object.keys(e),r=n.length;var o,a=0,i=T(e)?$(r):{},l={};return n.forEach((function(e){var n=function(n,l){o||(l||Q(n)?(t.cancel(),t(n,l)):(i[e]=n,++a===r&&(o=!0,t(i))))};n.cancel=I,l[e]=n})),t.cancel=function(){o||(o=!0,n.forEach((function(e){return l[e].cancel()})))},l}function X(e){return{name:e.name||"anonymous",location:Y(e)}}function Y(e){return e[S]}function J(e,t){void 0===e&&(e=10);var n=new Array(e),r=0,o=0,a=0,i=function(t){n[o]=t,o=(o+1)%e,r++},l=function(){if(0!=r){var t=n[a];return n[a]=null,r--,a=(a+1)%e,t}},u=function(){for(var e=[];r;)e.push(l());return e};return{isEmpty:function(){return 0==r},put:function(l){var s;if(r<e)i(l);else switch(t){case 1:throw new Error("Channel's Buffer overflow!");case 3:n[o]=l,a=o=(o+1)%e;break;case 4:s=2*e,n=u(),r=n.length,o=n.length,a=0,n.length=s,e=s,i(l)}},take:l,flush:u}}var ee=function(e){return J(e,4)},te="TAKE",ne="PUT",re="ALL",oe="CALL",ae="FORK",ie="CANCEL",le=function(e,t){var n;return(n={})[h]=!0,n.combinator=!1,n.type=e,n.payload=t,n};function ue(e,t){return void 0===e&&(e="*"),R(e)?le(te,{pattern:e}):D(n=e)&&n[m]&&F(t)&&R(t)?le(te,{channel:e,pattern:t}):D(e)?le(te,{channel:e}):void 0;var n}function se(e,t){return O(t)&&(t=e,e=void 0),le(ne,{channel:e,action:t})}function ce(e,t){var n,r=null;return P(e)?n=e:(T(e)?(r=e[0],n=e[1]):(r=e.context,n=e.fn),r&&_(n)&&P(r[n])&&(n=r[n])),{context:r,fn:n,args:t}}function fe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return le(oe,ce(e,n))}function de(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return le(ae,ce(e,n))}function pe(e){return void 0===e&&(e=g),le(ie,e)}function he(){var e={};return e.promise=new Promise((function(t,n){e.resolve=t,e.reject=n})),e}const ye=he;var me=[],ve=0;function ge(e){try{Ee(),e()}finally{Se()}}function be(e){me.push(e),ve||(Ee(),xe())}function we(e){try{return Ee(),e()}finally{xe()}}function Ee(){ve++}function Se(){ve--}function xe(){var e;for(Se();!ve&&void 0!==(e=me.shift());)ge(e)}var ke=function(e){return function(t){return e.some((function(e){return Te(e)(t)}))}},Oe=function(e){return function(t){return e(t)}},Fe=function(e){return function(t){return t.type===String(e)}},Pe=function(e){return function(t){return t.type===e}},_e=function(){return N};function Te(e){var t="*"===e?_e:_(e)?Fe:T(e)?ke:A(e)?Fe:P(e)?Oe:L(e)?Pe:null;if(null===t)throw new Error("invalid pattern: "+e);return t(e)}var Ce={type:p},je=function(e){return e&&e.type===p};function Re(e){void 0===e&&(e=ee());var t=!1,n=[];return{take:function(r){t&&e.isEmpty()?r(Ce):e.isEmpty()?(n.push(r),r.cancel=function(){z(n,r)}):r(e.take())},put:function(r){if(!t){if(0===n.length)return e.put(r);n.shift()(r)}},flush:function(n){t&&e.isEmpty()?n(Ce):n(e.flush())},close:function(){if(!t){t=!0;var e=n;n=[];for(var r=0,o=e.length;r<o;r++){(0,e[r])(Ce)}}}}}function De(){var e,t,n,r,o,a,i=(t=!1,r=n=[],o=function(){r===n&&(r=n.slice())},a=function(){t=!0;var e=n=r;r=[],e.forEach((function(e){e(Ce)}))},(e={})[m]=!0,e.put=function(e){if(!t)if(je(e))a();else for(var o=n=r,i=0,l=o.length;i<l;i++){var u=o[i];u[y](e)&&(u.cancel(),u(e))}},e.take=function(e,n){var a,i;void 0===n&&(n=_e),t?e(Ce):(e[y]=n,o(),r.push(e),e.cancel=(a=function(){o(),z(r,e)},i=!1,function(){i||(i=!0,a())}))},e.close=a,e),l=i.put;return i.put=function(e){e[v]?l(e):be((function(){l(e)}))},i}function Ae(e,t){var n=e[d];P(n)&&(t.cancel=n),e.then(t,(function(e){t(e,!0)}))}var Le,Ne=0,Ie=function(){return++Ne};function Me(e){e.isRunning()&&e.cancel()}var Ue=((Le={}).TAKE=function(e,t,n){var r=t.channel,o=void 0===r?e.channel:r,a=t.pattern,i=t.maybe,l=function(e){e instanceof Error?n(e,!0):!je(e)||i?n(e):n(E)};try{o.take(l,F(a)?Te(a):null)}catch(e){return void n(e,!0)}n.cancel=l.cancel},Le.PUT=function(e,t,n){var r=t.channel,o=t.action,a=t.resolve;be((function(){var t;try{t=(r?r.put:e.dispatch)(o)}catch(e){return void n(e,!0)}a&&C(t)?Ae(t,n):n(t)}))},Le.ALL=function(e,t,n,r){var o=r.digestEffect,a=Ne,i=Object.keys(t);if(0!==i.length){var l=Z(t,n);i.forEach((function(e){o(t[e],a,l[e],e)}))}else n(T(t)?[]:{})},Le.RACE=function(e,t,n,r){var o=r.digestEffect,a=Ne,i=Object.keys(t),l=T(t)?$(i.length):{},u={},s=!1;i.forEach((function(e){var t=function(t,r){s||(r||Q(t)?(n.cancel(),n(t,r)):(n.cancel(),s=!0,l[e]=t,n(l)))};t.cancel=I,u[e]=t})),n.cancel=function(){s||(s=!0,i.forEach((function(e){return u[e].cancel()})))},i.forEach((function(e){s||o(t[e],a,u[e],e)}))},Le.CALL=function(e,t,n,r){var o=t.context,a=t.fn,i=t.args,l=r.task;try{var u=a.apply(o,i);if(C(u))return void Ae(u,n);if(j(u))return void Qe(e,u,l.context,Ne,X(a),!1,n);n(u)}catch(e){n(e,!0)}},Le.CPS=function(e,t,n){var r=t.context,o=t.fn,a=t.args;try{var i=function(e,t){O(e)?n(t):n(e,!0)};o.apply(r,a.concat(i)),i.cancel&&(n.cancel=i.cancel)}catch(e){n(e,!0)}},Le.FORK=function(e,t,n,r){var o=t.context,a=t.fn,i=t.args,l=t.detached,u=r.task,s=function(e){var t=e.context,n=e.fn,r=e.args;try{var o=n.apply(t,r);if(j(o))return o;var a=!1;return B((function(e){return a?{value:e,done:!0}:(a=!0,{value:o,done:!C(o)})}))}catch(e){return B((function(){throw e}))}}({context:o,fn:a,args:i}),c=function(e,t){return e.isSagaIterator?{name:e.meta.name}:X(t)}(s,a);we((function(){var t=Qe(e,s,u.context,Ne,c,l,void 0);l?n(t):t.isRunning()?(u.queue.addTask(t),n(t)):t.isAborted()?u.queue.abort(t.error()):n(t)}))},Le.JOIN=function(e,t,n,r){var o=r.task,a=function(e,t){if(e.isRunning()){var n={task:o,cb:t};t.cancel=function(){e.isRunning()&&z(e.joiners,n)},e.joiners.push(n)}else e.isAborted()?t(e.error(),!0):t(e.result())};if(T(t)){if(0===t.length)return void n([]);var i=Z(t,n);t.forEach((function(e,t){a(e,i[t])}))}else a(t,n)},Le.CANCEL=function(e,t,n,r){var o=r.task;t===g?Me(o):T(t)?t.forEach(Me):Me(t),n()},Le.SELECT=function(e,t,n){var r=t.selector,o=t.args;try{n(r.apply(void 0,[e.getState()].concat(o)))}catch(e){n(e,!0)}},Le.ACTION_CHANNEL=function(e,t,n){var r=t.pattern,o=Re(t.buffer),a=Te(r),i=function t(n){je(n)||e.channel.take(t,a),o.put(n)},l=o.close;o.close=function(){i.cancel(),l()},e.channel.take(i,a),n(o)},Le.CANCELLED=function(e,t,n,r){n(r.task.isCancelled())},Le.FLUSH=function(e,t,n){t.flush(n)},Le.GET_CONTEXT=function(e,t,n,r){n(r.task.context[t])},Le.SET_CONTEXT=function(e,t,n,r){var o=r.task;U(o.context,t),n()},Le);function ze(e,t){return e+"?"+t}function qe(e){var t=e.name,n=e.location;return n?t+" "+ze(n.fileName,n.lineNumber):t}function Ge(e){var t,n,r,o=(t=function(e){return e.cancelledTasks},n=e,(r=[]).concat.apply(r,n.map(t)));return o.length?["Tasks cancelled due to error:"].concat(o).join("\n"):""}var Be=null,He=[],$e=function(e){e.crashedEffect=Be,He.push(e)},Ve=function(){Be=null,He.length=0},We=function(){var e=He[0],t=He.slice(1),n=e.crashedEffect?function(e){var t=Y(e);return t?t.code+" "+ze(t.fileName,t.lineNumber):""}(e.crashedEffect):null;return["The above error occurred in task "+qe(e.meta)+(n?" \n when executing effect "+n:"")].concat(t.map((function(e){return" created by "+qe(e.meta)})),[Ge(He)]).join("\n")};function Ke(e,t,n,r,o,a,i){var l;void 0===i&&(i=I);var u,s,c=0,f=null,d=[],p=Object.create(n),h=function(e,t,n){var r,o=[],a=!1;function i(e){t(),u(),n(e,!0)}function l(t){o.push(t),t.cont=function(l,u){a||(z(o,t),t.cont=I,u?i(l):(t===e&&(r=l),o.length||(a=!0,n(r))))}}function u(){a||(a=!0,o.forEach((function(e){e.cont=I,e.cancel()})),o=[])}return l(e),{addTask:l,cancelAll:u,abort:i,getTasks:function(){return o}}}(t,(function(){d.push.apply(d,h.getTasks().map((function(e){return e.meta.name})))}),y);function y(t,n){if(n){if(c=2,$e({meta:o,cancelledTasks:d}),m.isRoot){var r=We();Ve(),e.onError(t,{sagaStack:r})}s=t,f&&f.reject(t)}else t===w?c=1:1!==c&&(c=3),u=t,f&&f.resolve(t);m.cont(t,n),m.joiners.forEach((function(e){e.cb(t,n)})),m.joiners=null}var m=((l={})[b]=!0,l.id=r,l.meta=o,l.isRoot=a,l.context=p,l.joiners=[],l.queue=h,l.cancel=function(){0===c&&(c=1,h.cancelAll(),y(w,!1))},l.cont=i,l.end=y,l.setContext=function(e){U(p,e)},l.toPromise=function(){return f||(f=ye(),2===c?f.reject(s):0!==c&&f.resolve(u)),f.promise},l.isRunning=function(){return 0===c},l.isCancelled=function(){return 1===c||0===c&&1===t.status},l.isAborted=function(){return 2===c},l.result=function(){return u},l.error=function(){return s},l);return m}function Qe(e,t,n,r,o,a,i){var l=e.finalizeRunEffect((function(t,n,r){if(C(t))Ae(t,r);else if(j(t))Qe(e,t,s.context,n,o,!1,r);else if(t&&t[h]){(0,Ue[t.type])(e,t.payload,r,c)}else r(t)}));f.cancel=I;var u={meta:o,cancel:function(){0===u.status&&(u.status=1,f(w))},status:0},s=Ke(e,u,n,r,o,a,i),c={task:s,digestEffect:d};return i&&(i.cancel=s.cancel),f(),s;function f(e,n){try{var o;n?(o=t.throw(e),Ve()):K(e)?(u.status=1,f.cancel(),o=P(t.return)?t.return(w):{done:!0,value:w}):o=W(e)?P(t.return)?t.return():{done:!0}:t.next(e),o.done?(1!==u.status&&(u.status=3),u.cont(o.value)):d(o.value,r,f)}catch(e){if(1===u.status)throw e;u.status=2,u.cont(e,!0)}}function d(t,n,r,o){void 0===o&&(o="");var a,i=Ie();function u(n,o){a||(a=!0,r.cancel=I,e.sagaMonitor&&(o?e.sagaMonitor.effectRejected(i,n):e.sagaMonitor.effectResolved(i,n)),o&&function(e){Be=e}(t),r(n,o))}e.sagaMonitor&&e.sagaMonitor.effectTriggered({effectId:i,parentEffectId:n,label:o,effect:t}),u.cancel=I,r.cancel=function(){a||(a=!0,u.cancel(),u.cancel=I,e.sagaMonitor&&e.sagaMonitor.effectCancelled(i))},l(t,i,u)}}function Ze(e,t){var n=e.channel,r=void 0===n?De():n,o=e.dispatch,a=e.getState,i=e.context,l=void 0===i?{}:i,u=e.sagaMonitor,s=e.effectMiddlewares,f=e.onError,d=void 0===f?H:f;for(var p=arguments.length,h=new Array(p>2?p-2:0),y=2;y<p;y++)h[y-2]=arguments[y];var m=t.apply(void 0,h);var v,g=Ie();if(u&&(u.rootSagaStarted=u.rootSagaStarted||I,u.effectTriggered=u.effectTriggered||I,u.effectResolved=u.effectResolved||I,u.effectRejected=u.effectRejected||I,u.effectCancelled=u.effectCancelled||I,u.actionDispatched=u.actionDispatched||I,u.rootSagaStarted({effectId:g,saga:t,args:h})),s){var b=c.qC.apply(void 0,s);v=function(e){return function(t,n,r){return b((function(t){return e(t,n,r)}))(t)}}}else v=M;var w={channel:r,dispatch:V(o),getState:a,sagaMonitor:u,onError:d,finalizeRunEffect:v};return we((function(){var e=Qe(w,m,l,g,X(t),!0,void 0);return u&&u.effectResolved(g,e),e}))}const Xe=function(e){var t,n=void 0===e?{}:e,r=n.context,o=void 0===r?{}:r,a=n.channel,i=void 0===a?De():a,l=n.sagaMonitor,u=(0,k.Z)(n,["context","channel","sagaMonitor"]);function s(e){var n=e.getState,r=e.dispatch;return t=Ze.bind(null,(0,x.Z)({},u,{context:o,channel:i,dispatch:r,getState:n,sagaMonitor:l})),function(e){return function(t){l&&l.actionDispatched&&l.actionDispatched(t);var n=e(t);return i.put(t),n}}}return s.run=function(){return t.apply(void 0,arguments)},s.setContext=function(e){U(o,e)},s},Ye=Xe;var Je=function(e){return{done:!0,value:e}},et={};function tt(e){return D(e)?"channel":A(e)?String(e):P(e)?e.name:String(e)}function nt(e,t,n){var r,o,a,i=t;function l(t,n){if(i===et)return Je(t);if(n&&!o)throw i=et,n;r&&r(t);var l=n?e[o](n):e[i]();return i=l.nextState,a=l.effect,r=l.stateUpdater,o=l.errorState,i===et?Je(t):a}return B(l,(function(e){return l(null,e)}),n)}function rt(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var a,i,l={done:!1,value:ue(e)},u=function(e){return{done:!1,value:de.apply(void 0,[t].concat(r,[e]))}},s=function(e){return{done:!1,value:pe(e)}},c=function(e){return a=e},f=function(e){return i=e};return nt({q1:function(){return{nextState:"q2",effect:l,stateUpdater:f}},q2:function(){return a?{nextState:"q3",effect:s(a)}:{nextState:"q1",effect:u(i),stateUpdater:c}},q3:function(){return{nextState:"q1",effect:u(i),stateUpdater:c}}},"q1","takeLatest("+tt(e)+", "+t.name+")")}function ot(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return de.apply(void 0,[rt,e,t].concat(r))}var at=o(4738),it=o(3045),lt=o.n(it);
86
  /**
87
  * @package Gravity PDF
88
  * @copyright Copyright (c) 2022, Blue Liquid Designs
@@ -110,7 +110,7 @@ function gt(){return lt().get(GFPDF.pluginUrl+"dist/payload/core-fonts.json").ac
110
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
111
  * @since 5.2
112
  */
113
- function*wt(){try{var e=yield fe(gt);yield se((0,vt.dH)(e.body))}catch(e){yield se((0,vt.S2)(GFPDF.coreFontGithubError))}}function*Et(e){for(;;){var t=yield ue(e);yield se((0,vt.hA)(t,"pending",GFPDF.coreFontItemPendingMessage.replace("%s",t)));try{var n=yield fe(bt,t);if(!n.body)throw n;yield se((0,vt.hA)(t,"success",GFPDF.coreFontItemSuccessMessage.replace("%s",t)))}catch(e){yield se((0,vt.hA)(t,"error",GFPDF.coreFontItemErrorMessage.replace("%s",t))),yield se((0,vt.vQ)(t))}finally{yield se((0,vt._V)())}}}function*St(){yield ot(vt.xM,wt)}function*xt(){for(var e=yield fe(Re),t=0;t<5;t++)yield de(Et,e);for(;;){var{payload:n}=yield ue(vt.IK);yield se(e,n)}}var kt=o(3854);function Ot(e,t,n,r,o,a,i){try{var l=e[a](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,o)}
114
  /**
115
  * @package Gravity PDF
116
  * @copyright Copyright (c) 2022, Blue Liquid Designs
@@ -179,7 +179,7 @@ function*(){var e,t;yield(e=[ht(),yt(),mt(),St(),xt(),At(),Nt(),Mt(),zt()],t=le(
179
  * @copyright Copyright (c) 2022, Blue Liquid Designs
180
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
181
  * @since 4.1
182
- */const gn=()=>!1;function bn(){return bn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bn.apply(this,arguments)}var wn=(0,n.lazy)((()=>Promise.all([o.e(142),o.e(366),o.e(387)]).then(o.bind(o,9387)))),En=(0,n.lazy)((()=>Promise.all([o.e(142),o.e(366),o.e(872)]).then(o.bind(o,4872)))),Sn=()=>n.createElement(n.Suspense,{fallback:n.createElement("div",null,GFPDF.spinnerAlt)},n.createElement(a.UT,null,n.createElement(i.rs,null,n.createElement(i.AW,{path:"/template",exact:!0,render:e=>n.createElement(wn,bn({},e,{ajaxUrl:GFPDF.ajaxUrl,ajaxNonce:GFPDF.ajaxNonce,templateDetailsText:GFPDF.templateDetails,templateHeaderText:GFPDF.installedPdfs,genericUploadErrorText:GFPDF.problemWithTheUpload,activateText:GFPDF.select,addTemplateText:GFPDF.addNewTemplate,filenameErrorText:GFPDF.uploadInvalidNotZipFile,filesizeErrorText:GFPDF.uploadInvalidExceedsFileSizeLimit,installSuccessText:GFPDF.templateSuccessfullyInstalled,installUpdatedText:GFPDF.templateSuccessfullyUpdated,templateSuccessfullyInstalledUpdated:GFPDF.templateSuccessfullyInstalledUpdated,templateInstallInstructions:GFPDF.templateInstallInstructions}))}),n.createElement(i.AW,{path:"/template/:id",render:e=>n.createElement(En,bn({},e,{ajaxUrl:GFPDF.ajaxUrl,ajaxNonce:GFPDF.ajaxNonce,pdfWorkingDirPath:GFPDF.pdfWorkingDir,activateText:GFPDF.select,templateDeleteText:GFPDF.delete,templateConfirmDeleteText:GFPDF.doYouWantToDeleteTemplate,templateDeleteErrorText:GFPDF.couldNotDeleteTemplate,currentTemplateText:GFPDF.currentTemplate,versionText:GFPDF.version,groupText:GFPDF.group,tagsText:GFPDF.tags,showPreviousTemplateText:GFPDF.showPreviousTemplate,showNextTemplateText:GFPDF.showNextTemplate}))}),n.createElement(i.AW,{component:gn}))));function xn(){return xn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xn.apply(this,arguments)}var kn=(0,n.lazy)((()=>o.e(88).then(o.bind(o,6088))));
183
  /**
184
  * Advanced Template Selector Bootstrap
185
  *
1
+ (()=>{var e,t,n={8363:(e,t)=>{"use strict";t.Z=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=(e.type||"").toLowerCase(),a=o.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?r.toLowerCase().endsWith(t):t.endsWith("/*")?a===t.replace(/\/.*$/,""):o===t}))}return!0}},7046:(e,t,n)=>{"use strict";n.d(t,{En:()=>h,IK:()=>c,Jh:()=>i,S2:()=>b,Tn:()=>s,Vn:()=>r,Zh:()=>v,_V:()=>E,cL:()=>m,dH:()=>g,fv:()=>a,gX:()=>w,hA:()=>p,io:()=>S,nX:()=>d,on:()=>u,qR:()=>f,qZ:()=>o,vQ:()=>y,xM:()=>l});var r="ADD_TO_CONSOLE",o="ADD_TO_RETRY_LIST",a="CLEAR_CONSOLE",i="CLEAR_BUTTON_CLICKED_AND_RETRY_LIST",l="GET_FILES_FROM_GITHUB",u="GET_FILES_FROM_GITHUB_SUCCESS",s="GET_FILES_FROM_GITHUB_FAILED",c="DOWNLOAD_FONTS_API_CALL",f="REQUEST_SENT_COUNTER",d="CLEAR_REQUEST_REMAINING_DATA",p=(e,t,n)=>({type:r,key:e,status:t,message:n}),h=()=>({type:a}),y=e=>({type:o,name:e}),m=()=>({type:i}),v=()=>({type:l}),g=e=>({type:u,payload:e}),b=e=>({type:s,payload:e}),w=e=>({type:c,payload:e}),E=()=>({type:f}),S=()=>({type:d})},368:(e,t,n)=>{"use strict";n.d(t,{Bh:()=>C,Bp:()=>F,D0:()=>l,EI:()=>_,EV:()=>m,F6:()=>h,Fk:()=>c,Fo:()=>v,Lw:()=>p,OM:()=>T,Oh:()=>g,Px:()=>u,QY:()=>d,Sc:()=>a,TQ:()=>A,aC:()=>y,bY:()=>j,cK:()=>o,eF:()=>S,gZ:()=>k,kT:()=>P,l6:()=>O,mU:()=>R,o6:()=>w,qO:()=>b,r9:()=>r,tY:()=>f,v4:()=>s,vQ:()=>E,w4:()=>D,xV:()=>i,yT:()=>x});var r="GET_CUSTOM_FONT_LIST",o="GET_CUSTOM_FONT_LIST_SUCCESS",a="GET_CUSTOM_FONT_LIST_ERROR",i="ADD_FONT",l="ADD_FONT_SUCCESS",u="ADD_FONT_ERROR",s="EDIT_FONT",c="EDIT_FONT_SUCCESS",f="EDIT_FONT_ERROR",d="VALIDATION_ERROR",p="DELETE_VARIANT_ERROR",h="DELETE_FONT",y="DELETE_FONT_SUCCESS",m="DELETE_FONT_ERROR",v="CLEAR_ADD_FONT_MSG",g="CLEAR_DROPZONE_ERROR",b="RESET_SEARCH_RESULT",w="SEARCH_FONT_LIST",E="SELECT_FONT",S="MOVE_SELECTED_FONT_TO_TOP",x=()=>({type:r}),k=e=>({type:i,payload:e}),O=e=>({type:s,payload:e}),F=()=>({type:d}),P=e=>({type:p,payload:e}),_=e=>({type:h,payload:e}),T=()=>({type:v}),C=e=>({type:g,payload:e}),j=e=>({type:w,payload:e}),R=()=>({type:b}),D=e=>({type:E,payload:e}),A=e=>({type:S,payload:e})},4738:(e,t,n)=>{"use strict";n.d(t,{$z:()=>i,Dy:()=>D,ES:()=>r,Ey:()=>y,Fo:()=>x,Fz:()=>E,Ic:()=>s,Ki:()=>P,Lt:()=>T,NC:()=>C,Np:()=>h,R7:()=>_,RW:()=>l,TU:()=>f,Tq:()=>p,Un:()=>b,WF:()=>w,Xc:()=>S,Xg:()=>u,ah:()=>d,er:()=>F,f7:()=>g,gk:()=>o,iL:()=>O,oJ:()=>m,qk:()=>R,vZ:()=>a,vc:()=>c,xD:()=>j,yz:()=>v,zR:()=>k});var r="SEARCH_TEMPLATES",o="SELECT_TEMPLATE",a="ADD_TEMPLATE",i="UPDATE_TEMPLATE_PARAM",l="DELETE_TEMPLATE",u="UPDATE_SELECT_BOX",s="UPDATE_SELECT_BOX_SUCCESS",c="TEMPLATE_PROCESSING",f="TEMPLATE_PROCESSING_SUCCESS",d="TEMPLATE_PROCESSING_FAILED",p="CLEAR_TEMPLATE_PROCESSING",h="POST_TEMPLATE_UPLOAD_PROCESSING",y="TEMPLATE_UPLOAD_PROCESSING_SUCCESS",m="TEMPLATE_UPLOAD_PROCESSING_FAILED",v="CLEAR_TEMPLATE_UPLOAD_PROCESSING",g=e=>({type:r,text:e}),b=e=>({type:o,id:e}),w=e=>({type:a,template:e}),E=(e,t,n)=>({type:i,id:e,name:t,value:n}),S=e=>({type:l,id:e}),x=()=>({type:u}),k=e=>({type:s,payload:e}),O=()=>({type:"UPDATE_SELECT_BOX_FAILED"}),F=e=>({type:c,payload:e}),P=e=>({type:f,payload:e}),_=e=>({type:d,payload:e}),T=()=>({type:p}),C=(e,t)=>({type:h,payload:{file:e,filename:t}}),j=e=>({type:y,payload:e}),R=e=>({type:m,payload:e}),D=()=>({type:v})},2896:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});n(6992),n(3948),n(7658),n(4916),n(4765);var r=n(7294),o=n(5697),a=n.n(o),i=n(6706),l=n(6550),u=n(368);n(6699);var s=n(1020);function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
2
  /**
3
  * @package Gravity PDF
4
  * @copyright Copyright (c) 2022, Blue Liquid Designs
11
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
12
  * @since 6.0
13
  */
14
+ return function(e,t){var n=document.querySelector(".gfpdf-font-manager select"),r=document.querySelector('optgroup[label="User-Defined Fonts"]'),o=n.options[n.selectedIndex].value,a=[],i=document.createElement("optgroup");i.setAttribute("label","User-Defined Fonts"),e.map((e=>{var t=document.createElement("option");return t.text=e.font_name,t.value=e.id,i.appendChild(t)})),t||null!==r&&(r.remove(),n.insertBefore(i,n.childNodes[0]),n.selectedIndex="0"),Array.from(document.querySelectorAll('optgroup[label="User-Defined Fonts"] > option')).map((e=>a.push(e.value))),null!==r&&r.remove();var l=[];return e.length>0&&e.map((e=>l.push(e.id))),l.length>0&&l.includes(t)?(n.insertBefore(i,n.childNodes[0]),n.value=t):l.length>0&&!l.includes(t)?(n.insertBefore(i,n.childNodes[0]),n.selectedIndex="0"):0===l.length&&a.length>0?n.selectedIndex="0":(n.insertBefore(i,n.childNodes[0]),n.value=t||o,void(0===a.length&&0===l.length&&(n.querySelector('optgroup[label="User-Defined Fonts"]').remove(),n.selectedIndex="0")))}(e,t)}render(){return r.createElement("button",{className:"close dashicons dashicons-no",tabIndex:"142",onClick:this.handleCloseDialog,"aria-label":"close"},r.createElement("span",{className:"screen-reader-text"},"Close dialog"))}}c(f,"propTypes",{id:a().string,closeRoute:a().string,getCustomFontList:a().func.isRequired,clearAddFontMsg:a().func.isRequired,templateList:a().arrayOf(a().object).isRequired,fontList:a().arrayOf(a().object).isRequired,selectedFont:a().string.isRequired,msg:a().object.isRequired,history:a().object.isRequired});const d=(0,l.EN)((0,i.$j)((e=>({templateList:e.template.list,fontList:e.fontManager.fontList,selectedFont:e.fontManager.selectedFont,msg:e.fontManager.msg})),{getCustomFontList:u.yT,clearAddFontMsg:u.OM})(f))},1581:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(7294),o=n(5697),a=e=>{var{style:t}=e;return r.createElement("img",{alt:GFPDF.spinnerAlt,src:GFPDF.spinnerUrl,className:"gfpdf-spinner "+t})};a.propTypes={style:n.n(o)().string};const i=a},1020:(e,t,n)=>{"use strict";n.d(t,{cn:()=>a,kv:()=>r});n(7658);
15
  /**
16
  * @package Gravity PDF
17
  * @copyright Copyright (c) 2022, Blue Liquid Designs
18
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
19
  * @since 6.0
20
  */
21
+ function r(e,t){var n=document.querySelector(".update-font");if(t){var r=e.location.pathname;return r.substr(r.lastIndexOf("/")+1)===t?o(n,e):a(n,e,t)}return o(n,e)}function o(e,t){if(e.classList.remove("show"),"/fontmanager/"!==t.location.pathname)return t.push("/fontmanager/")}function a(e,t,n){return e.classList.add("show"),t.push("/fontmanager/"+n)}},9662:(e,t,n)=>{var r=n(614),o=n(6330),a=TypeError;e.exports=function(e){if(r(e))return e;throw a(o(e)+" is not a function")}},9483:(e,t,n)=>{var r=n(4411),o=n(6330),a=TypeError;e.exports=function(e){if(r(e))return e;throw a(o(e)+" is not a constructor")}},6077:(e,t,n)=>{var r=n(614),o=String,a=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw a("Can't set "+o(e)+" as a prototype")}},1223:(e,t,n)=>{var r=n(5112),o=n(30),a=n(3070).f,i=r("unscopables"),l=Array.prototype;null==l[i]&&a(l,i,{configurable:!0,value:o(null)}),e.exports=function(e){l[i][e]=!0}},1530:(e,t,n)=>{"use strict";var r=n(8710).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},5787:(e,t,n)=>{var r=n(7976),o=TypeError;e.exports=function(e,t){if(r(t,e))return e;throw o("Incorrect invocation")}},9670:(e,t,n)=>{var r=n(111),o=String,a=TypeError;e.exports=function(e){if(r(e))return e;throw a(o(e)+" is not an object")}},1318:(e,t,n)=>{var r=n(5656),o=n(1400),a=n(6244),i=function(e){return function(t,n,i){var l,u=r(t),s=a(u),c=o(i,s);if(e&&n!=n){for(;s>c;)if((l=u[c++])!=l)return!0}else for(;s>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},9341:(e,t,n)=>{"use strict";var r=n(7293);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){return 1},1)}))}},3658:(e,t,n)=>{"use strict";var r=n(9781),o=n(3157),a=TypeError,i=Object.getOwnPropertyDescriptor,l=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=l?function(e,t){if(o(e)&&!i(e,"length").writable)throw a("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},1589:(e,t,n)=>{var r=n(1400),o=n(6244),a=n(6135),i=Array,l=Math.max;e.exports=function(e,t,n){for(var u=o(e),s=r(t,u),c=r(void 0===n?u:n,u),f=i(l(c-s,0)),d=0;s<c;s++,d++)a(f,d,e[s]);return f.length=d,f}},206:(e,t,n)=>{var r=n(1702);e.exports=r([].slice)},4362:(e,t,n)=>{var r=n(1589),o=Math.floor,a=function(e,t){var n=e.length,u=o(n/2);return n<8?i(e,t):l(e,a(r(e,0,u),t),a(r(e,u),t),t)},i=function(e,t){for(var n,r,o=e.length,a=1;a<o;){for(r=a,n=e[a];r&&t(e[r-1],n)>0;)e[r]=e[--r];r!==a++&&(e[r]=n)}return e},l=function(e,t,n,r){for(var o=t.length,a=n.length,i=0,l=0;i<o||l<a;)e[i+l]=i<o&&l<a?r(t[i],n[l])<=0?t[i++]:n[l++]:i<o?t[i++]:n[l++];return e};e.exports=a},7072:(e,t,n)=>{var r=n(5112)("iterator"),o=!1;try{var a=0,i={next:function(){return{done:!!a++}},return:function(){o=!0}};i[r]=function(){return this},Array.from(i,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var a={};a[r]=function(){return{next:function(){return{done:n=!0}}}},e(a)}catch(e){}return n}},4326:(e,t,n)=>{var r=n(84),o=r({}.toString),a=r("".slice);e.exports=function(e){return a(o(e),8,-1)}},648:(e,t,n)=>{var r=n(1694),o=n(614),a=n(4326),i=n(5112)("toStringTag"),l=Object,u="Arguments"==a(function(){return arguments}());e.exports=r?a:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=l(e),i))?n:u?a(t):"Object"==(r=a(t))&&o(t.callee)?"Arguments":r}},9920:(e,t,n)=>{var r=n(2597),o=n(3887),a=n(1236),i=n(3070);e.exports=function(e,t,n){for(var l=o(t),u=i.f,s=a.f,c=0;c<l.length;c++){var f=l[c];r(e,f)||n&&r(n,f)||u(e,f,s(t,f))}}},4964:(e,t,n)=>{var r=n(5112)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},8544:(e,t,n)=>{var r=n(7293);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},6178:e=>{e.exports=function(e,t){return{value:e,done:t}}},8880:(e,t,n)=>{var r=n(9781),o=n(3070),a=n(9114);e.exports=r?function(e,t,n){return o.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},9114:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},6135:(e,t,n)=>{"use strict";var r=n(4948),o=n(3070),a=n(9114);e.exports=function(e,t,n){var i=r(t);i in e?o.f(e,i,a(0,n)):e[i]=n}},8052:(e,t,n)=>{var r=n(614),o=n(3070),a=n(6339),i=n(3072);e.exports=function(e,t,n,l){l||(l={});var u=l.enumerable,s=void 0!==l.name?l.name:t;if(r(n)&&a(n,s,l),l.global)u?e[t]=n:i(t,n);else{try{l.unsafe?e[t]&&(u=!0):delete e[t]}catch(e){}u?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return e}},3072:(e,t,n)=>{var r=n(7854),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},5117:(e,t,n)=>{"use strict";var r=n(6330),o=TypeError;e.exports=function(e,t){if(!delete e[t])throw o("Cannot delete property "+r(t)+" of "+r(e))}},9781:(e,t,n)=>{var r=n(7293);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:e=>{var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},317:(e,t,n)=>{var r=n(7854),o=n(111),a=r.document,i=o(a)&&o(a.createElement);e.exports=function(e){return i?a.createElement(e):{}}},7207:e=>{var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},8324:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8509:(e,t,n)=>{var r=n(317)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8886:(e,t,n)=>{var r=n(8113).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},7871:(e,t,n)=>{var r=n(3823),o=n(5268);e.exports=!r&&!o&&"object"==typeof window&&"object"==typeof document},3823:e=>{e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},256:(e,t,n)=>{var r=n(8113);e.exports=/MSIE|Trident/.test(r)},1528:(e,t,n)=>{var r=n(8113),o=n(7854);e.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==o.Pebble},6833:(e,t,n)=>{var r=n(8113);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},5268:(e,t,n)=>{var r=n(4326),o=n(7854);e.exports="process"==r(o.process)},1036:(e,t,n)=>{var r=n(8113);e.exports=/web0s(?!.*chrome)/i.test(r)},8113:(e,t,n)=>{var r=n(5005);e.exports=r("navigator","userAgent")||""},7392:(e,t,n)=>{var r,o,a=n(7854),i=n(8113),l=a.process,u=a.Deno,s=l&&l.versions||u&&u.version,c=s&&s.v8;c&&(o=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&i&&(!(r=i.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},8008:(e,t,n)=>{var r=n(8113).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},748:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(e,t,n)=>{var r=n(7854),o=n(1236).f,a=n(8880),i=n(8052),l=n(3072),u=n(9920),s=n(4705);e.exports=function(e,t){var n,c,f,d,p,h=e.target,y=e.global,m=e.stat;if(n=y?r:m?r[h]||l(h,{}):(r[h]||{}).prototype)for(c in t){if(d=t[c],f=e.dontCallGetSet?(p=o(n,c))&&p.value:n[c],!s(y?c:h+(m?".":"#")+c,e.forced)&&void 0!==f){if(typeof d==typeof f)continue;u(d,f)}(e.sham||f&&f.sham)&&a(d,"sham",!0),i(n,c,d,e)}}},7293:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},7007:(e,t,n)=>{"use strict";n(4916);var r=n(1702),o=n(8052),a=n(2261),i=n(7293),l=n(5112),u=n(8880),s=l("species"),c=RegExp.prototype;e.exports=function(e,t,n,f){var d=l(e),p=!i((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),h=p&&!i((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[s]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return t=!0,null},n[d](""),!t}));if(!p||!h||n){var y=r(/./[d]),m=t(d,""[e],(function(e,t,n,o,i){var l=r(e),u=t.exec;return u===a||u===c.exec?p&&!i?{done:!0,value:y(t,n,o)}:{done:!0,value:l(n,t,o)}:{done:!1}}));o(String.prototype,e,m[0]),o(c,d,m[1])}f&&u(c[d],"sham",!0)}},2104:(e,t,n)=>{var r=n(4374),o=Function.prototype,a=o.apply,i=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?i.bind(a):function(){return i.apply(a,arguments)})},9974:(e,t,n)=>{var r=n(1702),o=n(9662),a=n(4374),i=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:a?i(e,t):function(){return e.apply(t,arguments)}}},4374:(e,t,n)=>{var r=n(7293);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},6916:(e,t,n)=>{var r=n(4374),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},6530:(e,t,n)=>{var r=n(9781),o=n(2597),a=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,l=o(a,"name"),u=l&&"something"===function(){}.name,s=l&&(!r||r&&i(a,"name").configurable);e.exports={EXISTS:l,PROPER:u,CONFIGURABLE:s}},84:(e,t,n)=>{var r=n(4374),o=Function.prototype,a=o.call,i=r&&o.bind.bind(a,a);e.exports=function(e){return r?i(e):function(){return a.apply(e,arguments)}}},1702:(e,t,n)=>{var r=n(4326),o=n(84);e.exports=function(e){if("Function"===r(e))return o(e)}},5005:(e,t,n)=>{var r=n(7854),o=n(614),a=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?a(r[e]):r[e]&&r[e][t]}},1246:(e,t,n)=>{var r=n(648),o=n(8173),a=n(8554),i=n(7497),l=n(5112)("iterator");e.exports=function(e){if(!a(e))return o(e,l)||o(e,"@@iterator")||i[r(e)]}},4121:(e,t,n)=>{var r=n(6916),o=n(9662),a=n(9670),i=n(6330),l=n(1246),u=TypeError;e.exports=function(e,t){var n=arguments.length<2?l(e):t;if(o(n))return a(r(n,e));throw u(i(e)+" is not iterable")}},8173:(e,t,n)=>{var r=n(9662),o=n(8554);e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},647:(e,t,n)=>{var r=n(1702),o=n(7908),a=Math.floor,i=r("".charAt),l=r("".replace),u=r("".slice),s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,f,d){var p=n+e.length,h=r.length,y=c;return void 0!==f&&(f=o(f),y=s),l(d,y,(function(o,l){var s;switch(i(l,0)){case"$":return"$";case"&":return e;case"`":return u(t,0,n);case"'":return u(t,p);case"<":s=f[u(l,1,-1)];break;default:var c=+l;if(0===c)return o;if(c>h){var d=a(c/10);return 0===d?o:d<=h?void 0===r[d-1]?i(l,1):r[d-1]+i(l,1):o}s=r[c-1]}return void 0===s?"":s}))}},7854:(e,t,n)=>{var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2597:(e,t,n)=>{var r=n(1702),o=n(7908),a=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(o(e),t)}},3501:e=>{e.exports={}},842:(e,t,n)=>{var r=n(7854);e.exports=function(e,t){var n=r.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},490:(e,t,n)=>{var r=n(5005);e.exports=r("document","documentElement")},4664:(e,t,n)=>{var r=n(9781),o=n(7293),a=n(317);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},8361:(e,t,n)=>{var r=n(1702),o=n(7293),a=n(4326),i=Object,l=r("".split);e.exports=o((function(){return!i("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?l(e,""):i(e)}:i},2788:(e,t,n)=>{var r=n(1702),o=n(614),a=n(5465),i=r(Function.toString);o(a.inspectSource)||(a.inspectSource=function(e){return i(e)}),e.exports=a.inspectSource},9909:(e,t,n)=>{var r,o,a,i=n(4811),l=n(7854),u=n(111),s=n(8880),c=n(2597),f=n(5465),d=n(6200),p=n(3501),h="Object already initialized",y=l.TypeError,m=l.WeakMap;if(i||f.state){var v=f.state||(f.state=new m);v.get=v.get,v.has=v.has,v.set=v.set,r=function(e,t){if(v.has(e))throw y(h);return t.facade=e,v.set(e,t),t},o=function(e){return v.get(e)||{}},a=function(e){return v.has(e)}}else{var g=d("state");p[g]=!0,r=function(e,t){if(c(e,g))throw y(h);return t.facade=e,s(e,g,t),t},o=function(e){return c(e,g)?e[g]:{}},a=function(e){return c(e,g)}}e.exports={set:r,get:o,has:a,enforce:function(e){return a(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=o(t)).type!==e)throw y("Incompatible receiver, "+e+" required");return n}}}},7659:(e,t,n)=>{var r=n(5112),o=n(7497),a=r("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||i[a]===e)}},3157:(e,t,n)=>{var r=n(4326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},614:(e,t,n)=>{var r=n(4154),o=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===o}:function(e){return"function"==typeof e}},4411:(e,t,n)=>{var r=n(1702),o=n(7293),a=n(614),i=n(648),l=n(5005),u=n(2788),s=function(){},c=[],f=l("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=r(d.exec),h=!d.exec(s),y=function(e){if(!a(e))return!1;try{return f(s,c,e),!0}catch(e){return!1}},m=function(e){if(!a(e))return!1;switch(i(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(d,u(e))}catch(e){return!0}};m.sham=!0,e.exports=!f||o((function(){var e;return y(y.call)||!y(Object)||!y((function(){e=!0}))||e}))?m:y},4705:(e,t,n)=>{var r=n(7293),o=n(614),a=/#|\.prototype\./,i=function(e,t){var n=u[l(e)];return n==c||n!=s&&(o(t)?r(t):!!t)},l=i.normalize=function(e){return String(e).replace(a,".").toLowerCase()},u=i.data={},s=i.NATIVE="N",c=i.POLYFILL="P";e.exports=i},8554:e=>{e.exports=function(e){return null==e}},111:(e,t,n)=>{var r=n(614),o=n(4154),a=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===a}:function(e){return"object"==typeof e?null!==e:r(e)}},1913:e=>{e.exports=!1},7850:(e,t,n)=>{var r=n(111),o=n(4326),a=n(5112)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==o(e))}},2190:(e,t,n)=>{var r=n(5005),o=n(614),a=n(7976),i=n(3307),l=Object;e.exports=i?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&a(t.prototype,l(e))}},408:(e,t,n)=>{var r=n(9974),o=n(6916),a=n(9670),i=n(6330),l=n(7659),u=n(6244),s=n(7976),c=n(4121),f=n(1246),d=n(9212),p=TypeError,h=function(e,t){this.stopped=e,this.result=t},y=h.prototype;e.exports=function(e,t,n){var m,v,g,b,w,E,S,x=n&&n.that,k=!(!n||!n.AS_ENTRIES),O=!(!n||!n.IS_RECORD),F=!(!n||!n.IS_ITERATOR),P=!(!n||!n.INTERRUPTED),_=r(t,x),T=function(e){return m&&d(m,"normal",e),new h(!0,e)},C=function(e){return k?(a(e),P?_(e[0],e[1],T):_(e[0],e[1])):P?_(e,T):_(e)};if(O)m=e.iterator;else if(F)m=e;else{if(!(v=f(e)))throw p(i(e)+" is not iterable");if(l(v)){for(g=0,b=u(e);b>g;g++)if((w=C(e[g]))&&s(y,w))return w;return new h(!1)}m=c(e,v)}for(E=O?e.next:m.next;!(S=o(E,m)).done;){try{w=C(S.value)}catch(e){d(m,"throw",e)}if("object"==typeof w&&w&&s(y,w))return w}return new h(!1)}},9212:(e,t,n)=>{var r=n(6916),o=n(9670),a=n(8173);e.exports=function(e,t,n){var i,l;o(e);try{if(!(i=a(e,"return"))){if("throw"===t)throw n;return n}i=r(i,e)}catch(e){l=!0,i=e}if("throw"===t)throw n;if(l)throw i;return o(i),n}},3061:(e,t,n)=>{"use strict";var r=n(3383).IteratorPrototype,o=n(30),a=n(9114),i=n(8003),l=n(7497),u=function(){return this};e.exports=function(e,t,n,s){var c=t+" Iterator";return e.prototype=o(r,{next:a(+!s,n)}),i(e,c,!1,!0),l[c]=u,e}},1656:(e,t,n)=>{"use strict";var r=n(2109),o=n(6916),a=n(1913),i=n(6530),l=n(614),u=n(3061),s=n(9518),c=n(7674),f=n(8003),d=n(8880),p=n(8052),h=n(5112),y=n(7497),m=n(3383),v=i.PROPER,g=i.CONFIGURABLE,b=m.IteratorPrototype,w=m.BUGGY_SAFARI_ITERATORS,E=h("iterator"),S="keys",x="values",k="entries",O=function(){return this};e.exports=function(e,t,n,i,h,m,F){u(n,t,i);var P,_,T,C=function(e){if(e===h&&L)return L;if(!w&&e in D)return D[e];switch(e){case S:case x:case k:return function(){return new n(this,e)}}return function(){return new n(this)}},j=t+" Iterator",R=!1,D=e.prototype,A=D[E]||D["@@iterator"]||h&&D[h],L=!w&&A||C(h),N="Array"==t&&D.entries||A;if(N&&(P=s(N.call(new e)))!==Object.prototype&&P.next&&(a||s(P)===b||(c?c(P,b):l(P[E])||p(P,E,O)),f(P,j,!0,!0),a&&(y[j]=O)),v&&h==x&&A&&A.name!==x&&(!a&&g?d(D,"name",x):(R=!0,L=function(){return o(A,this)})),h)if(_={values:C(x),keys:m?L:C(S),entries:C(k)},F)for(T in _)(w||R||!(T in D))&&p(D,T,_[T]);else r({target:t,proto:!0,forced:w||R},_);return a&&!F||D[E]===L||p(D,E,L,{name:h}),y[t]=L,_}},3383:(e,t,n)=>{"use strict";var r,o,a,i=n(7293),l=n(614),u=n(111),s=n(30),c=n(9518),f=n(8052),d=n(5112),p=n(1913),h=d("iterator"),y=!1;[].keys&&("next"in(a=[].keys())?(o=c(c(a)))!==Object.prototype&&(r=o):y=!0),!u(r)||i((function(){var e={};return r[h].call(e)!==e}))?r={}:p&&(r=s(r)),l(r[h])||f(r,h,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:y}},7497:e=>{e.exports={}},6244:(e,t,n)=>{var r=n(7466);e.exports=function(e){return r(e.length)}},6339:(e,t,n)=>{var r=n(7293),o=n(614),a=n(2597),i=n(9781),l=n(6530).CONFIGURABLE,u=n(2788),s=n(9909),c=s.enforce,f=s.get,d=Object.defineProperty,p=i&&!r((function(){return 8!==d((function(){}),"length",{value:8}).length})),h=String(String).split("String"),y=e.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||l&&e.name!==t)&&(i?d(e,"name",{value:t,configurable:!0}):e.name=t),p&&n&&a(n,"arity")&&e.length!==n.arity&&d(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?i&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=c(e);return a(r,"source")||(r.source=h.join("string"==typeof t?t:"")),e};Function.prototype.toString=y((function(){return o(this)&&f(this).source||u(this)}),"toString")},4758:e=>{var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},5948:(e,t,n)=>{var r,o,a,i,l,u,s,c,f=n(7854),d=n(9974),p=n(1236).f,h=n(261).set,y=n(6833),m=n(1528),v=n(1036),g=n(5268),b=f.MutationObserver||f.WebKitMutationObserver,w=f.document,E=f.process,S=f.Promise,x=p(f,"queueMicrotask"),k=x&&x.value;k||(r=function(){var e,t;for(g&&(e=E.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?i():a=void 0,e}}a=void 0,e&&e.enter()},y||g||v||!b||!w?!m&&S&&S.resolve?((s=S.resolve(void 0)).constructor=S,c=d(s.then,s),i=function(){c(r)}):g?i=function(){E.nextTick(r)}:(h=d(h,f),i=function(){h(r)}):(l=!0,u=w.createTextNode(""),new b(r).observe(u,{characterData:!0}),i=function(){u.data=l=!l})),e.exports=k||function(e){var t={fn:e,next:void 0};a&&(a.next=t),o||(o=t,i()),a=t}},8523:(e,t,n)=>{"use strict";var r=n(9662),o=TypeError,a=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw o("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new a(e)}},3929:(e,t,n)=>{var r=n(7850),o=TypeError;e.exports=function(e){if(r(e))throw o("The method doesn't accept regular expressions");return e}},1574:(e,t,n)=>{"use strict";var r=n(9781),o=n(1702),a=n(6916),i=n(7293),l=n(1956),u=n(5181),s=n(5296),c=n(7908),f=n(8361),d=Object.assign,p=Object.defineProperty,h=o([].concat);e.exports=!d||i((function(){if(r&&1!==d({b:1},d(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!=d({},e)[n]||l(d({},t)).join("")!=o}))?function(e,t){for(var n=c(e),o=arguments.length,i=1,d=u.f,p=s.f;o>i;)for(var y,m=f(arguments[i++]),v=d?h(l(m),d(m)):l(m),g=v.length,b=0;g>b;)y=v[b++],r&&!a(p,m,y)||(n[y]=m[y]);return n}:d},30:(e,t,n)=>{var r,o=n(9670),a=n(6048),i=n(748),l=n(3501),u=n(490),s=n(317),c=n(6200),f=c("IE_PROTO"),d=function(){},p=function(e){return"<script>"+e+"</"+"script>"},h=function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t;y="undefined"!=typeof document?document.domain&&r?h(r):((t=s("iframe")).style.display="none",u.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F):h(r);for(var n=i.length;n--;)delete y.prototype[i[n]];return y()};l[f]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(d.prototype=o(e),n=new d,d.prototype=null,n[f]=e):n=y(),void 0===t?n:a.f(n,t)}},6048:(e,t,n)=>{var r=n(9781),o=n(3353),a=n(3070),i=n(9670),l=n(5656),u=n(1956);t.f=r&&!o?Object.defineProperties:function(e,t){i(e);for(var n,r=l(t),o=u(t),s=o.length,c=0;s>c;)a.f(e,n=o[c++],r[n]);return e}},3070:(e,t,n)=>{var r=n(9781),o=n(4664),a=n(3353),i=n(9670),l=n(4948),u=TypeError,s=Object.defineProperty,c=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",p="writable";t.f=r?a?function(e,t,n){if(i(e),t=l(t),i(n),"function"==typeof e&&"prototype"===t&&"value"in n&&p in n&&!n.writable){var r=c(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:d in n?n.configurable:r.configurable,enumerable:f in n?n.enumerable:r.enumerable,writable:!1})}return s(e,t,n)}:s:function(e,t,n){if(i(e),t=l(t),i(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw u("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},1236:(e,t,n)=>{var r=n(9781),o=n(6916),a=n(5296),i=n(9114),l=n(5656),u=n(4948),s=n(2597),c=n(4664),f=Object.getOwnPropertyDescriptor;t.f=r?f:function(e,t){if(e=l(e),t=u(t),c)try{return f(e,t)}catch(e){}if(s(e,t))return i(!o(a.f,e,t),e[t])}},8006:(e,t,n)=>{var r=n(6324),o=n(748).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},5181:(e,t)=>{t.f=Object.getOwnPropertySymbols},9518:(e,t,n)=>{var r=n(2597),o=n(614),a=n(7908),i=n(6200),l=n(8544),u=i("IE_PROTO"),s=Object,c=s.prototype;e.exports=l?s.getPrototypeOf:function(e){var t=a(e);if(r(t,u))return t[u];var n=t.constructor;return o(n)&&t instanceof n?n.prototype:t instanceof s?c:null}},7976:(e,t,n)=>{var r=n(1702);e.exports=r({}.isPrototypeOf)},6324:(e,t,n)=>{var r=n(1702),o=n(2597),a=n(5656),i=n(1318).indexOf,l=n(3501),u=r([].push);e.exports=function(e,t){var n,r=a(e),s=0,c=[];for(n in r)!o(l,n)&&o(r,n)&&u(c,n);for(;t.length>s;)o(r,n=t[s++])&&(~i(c,n)||u(c,n));return c}},1956:(e,t,n)=>{var r=n(6324),o=n(748);e.exports=Object.keys||function(e){return r(e,o)}},5296:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},7674:(e,t,n)=>{var r=n(1702),o=n(9670),a=n(6077);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return o(n),a(r),t?e(n,r):n.__proto__=r,n}}():void 0)},2140:(e,t,n)=>{var r=n(6916),o=n(614),a=n(111),i=TypeError;e.exports=function(e,t){var n,l;if("string"===t&&o(n=e.toString)&&!a(l=r(n,e)))return l;if(o(n=e.valueOf)&&!a(l=r(n,e)))return l;if("string"!==t&&o(n=e.toString)&&!a(l=r(n,e)))return l;throw i("Can't convert object to primitive value")}},3887:(e,t,n)=>{var r=n(5005),o=n(1702),a=n(8006),i=n(5181),l=n(9670),u=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=a.f(l(e)),n=i.f;return n?u(t,n(e)):t}},2534:e=>{e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},3702:(e,t,n)=>{var r=n(7854),o=n(2492),a=n(614),i=n(4705),l=n(2788),u=n(5112),s=n(7871),c=n(3823),f=n(1913),d=n(7392),p=o&&o.prototype,h=u("species"),y=!1,m=a(r.PromiseRejectionEvent),v=i("Promise",(function(){var e=l(o),t=e!==String(o);if(!t&&66===d)return!0;if(f&&(!p.catch||!p.finally))return!0;if(!d||d<51||!/native code/.test(e)){var n=new o((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((n.constructor={})[h]=r,!(y=n.then((function(){}))instanceof r))return!0}return!t&&(s||c)&&!m}));e.exports={CONSTRUCTOR:v,REJECTION_EVENT:m,SUBCLASSING:y}},2492:(e,t,n)=>{var r=n(7854);e.exports=r.Promise},9478:(e,t,n)=>{var r=n(9670),o=n(111),a=n(8523);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=a.f(e);return(0,n.resolve)(t),n.promise}},612:(e,t,n)=>{var r=n(2492),o=n(7072),a=n(3702).CONSTRUCTOR;e.exports=a||!o((function(e){r.all(e).then(void 0,(function(){}))}))},8572:e=>{var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}},e.exports=t},7651:(e,t,n)=>{var r=n(6916),o=n(9670),a=n(614),i=n(4326),l=n(2261),u=TypeError;e.exports=function(e,t){var n=e.exec;if(a(n)){var s=r(n,e,t);return null!==s&&o(s),s}if("RegExp"===i(e))return r(l,e,t);throw u("RegExp#exec called on incompatible receiver")}},2261:(e,t,n)=>{"use strict";var r,o,a=n(6916),i=n(1702),l=n(1340),u=n(7066),s=n(2999),c=n(2309),f=n(30),d=n(9909).get,p=n(9441),h=n(7168),y=c("native-string-replace",String.prototype.replace),m=RegExp.prototype.exec,v=m,g=i("".charAt),b=i("".indexOf),w=i("".replace),E=i("".slice),S=(o=/b*/g,a(m,r=/a/,"a"),a(m,o,"a"),0!==r.lastIndex||0!==o.lastIndex),x=s.BROKEN_CARET,k=void 0!==/()??/.exec("")[1];(S||k||x||p||h)&&(v=function(e){var t,n,r,o,i,s,c,p=this,h=d(p),O=l(e),F=h.raw;if(F)return F.lastIndex=p.lastIndex,t=a(v,F,O),p.lastIndex=F.lastIndex,t;var P=h.groups,_=x&&p.sticky,T=a(u,p),C=p.source,j=0,R=O;if(_&&(T=w(T,"y",""),-1===b(T,"g")&&(T+="g"),R=E(O,p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==g(O,p.lastIndex-1))&&(C="(?: "+C+")",R=" "+R,j++),n=new RegExp("^(?:"+C+")",T)),k&&(n=new RegExp("^"+C+"$(?!\\s)",T)),S&&(r=p.lastIndex),o=a(m,_?n:p,R),_?o?(o.input=E(o.input,j),o[0]=E(o[0],j),o.index=p.lastIndex,p.lastIndex+=o[0].length):p.lastIndex=0:S&&o&&(p.lastIndex=p.global?o.index+o[0].length:r),k&&o&&o.length>1&&a(y,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&P)for(o.groups=s=f(null),i=0;i<P.length;i++)s[(c=P[i])[0]]=o[c[1]];return o}),e.exports=v},7066:(e,t,n)=>{"use strict";var r=n(9670);e.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},2999:(e,t,n)=>{var r=n(7293),o=n(7854).RegExp,a=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),i=a||r((function(){return!o("a","y").sticky})),l=a||r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:l,MISSED_STICKY:i,UNSUPPORTED_Y:a}},9441:(e,t,n)=>{var r=n(7293),o=n(7854).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},7168:(e,t,n)=>{var r=n(7293),o=n(7854).RegExp;e.exports=r((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},4488:(e,t,n)=>{var r=n(8554),o=TypeError;e.exports=function(e){if(r(e))throw o("Can't call method on "+e);return e}},1150:e=>{e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},6340:(e,t,n)=>{"use strict";var r=n(5005),o=n(3070),a=n(5112),i=n(9781),l=a("species");e.exports=function(e){var t=r(e),n=o.f;i&&t&&!t[l]&&n(t,l,{configurable:!0,get:function(){return this}})}},8003:(e,t,n)=>{var r=n(3070).f,o=n(2597),a=n(5112)("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!o(e,a)&&r(e,a,{configurable:!0,value:t})}},6200:(e,t,n)=>{var r=n(2309),o=n(9711),a=r("keys");e.exports=function(e){return a[e]||(a[e]=o(e))}},5465:(e,t,n)=>{var r=n(7854),o=n(3072),a="__core-js_shared__",i=r[a]||o(a,{});e.exports=i},2309:(e,t,n)=>{var r=n(1913),o=n(5465);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.25.5",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE",source:"https://github.com/zloirock/core-js"})},6707:(e,t,n)=>{var r=n(9670),o=n(9483),a=n(8554),i=n(5112)("species");e.exports=function(e,t){var n,l=r(e).constructor;return void 0===l||a(n=r(l)[i])?t:o(n)}},8710:(e,t,n)=>{var r=n(1702),o=n(9303),a=n(1340),i=n(4488),l=r("".charAt),u=r("".charCodeAt),s=r("".slice),c=function(e){return function(t,n){var r,c,f=a(i(t)),d=o(n),p=f.length;return d<0||d>=p?e?"":void 0:(r=u(f,d))<55296||r>56319||d+1===p||(c=u(f,d+1))<56320||c>57343?e?l(f,d):r:e?s(f,d,d+2):c-56320+(r-55296<<10)+65536}};e.exports={codeAt:c(!1),charAt:c(!0)}},6293:(e,t,n)=>{var r=n(7392),o=n(7293);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},261:(e,t,n)=>{var r,o,a,i,l=n(7854),u=n(2104),s=n(9974),c=n(614),f=n(2597),d=n(7293),p=n(490),h=n(206),y=n(317),m=n(8053),v=n(6833),g=n(5268),b=l.setImmediate,w=l.clearImmediate,E=l.process,S=l.Dispatch,x=l.Function,k=l.MessageChannel,O=l.String,F=0,P={},_="onreadystatechange";try{r=l.location}catch(e){}var T=function(e){if(f(P,e)){var t=P[e];delete P[e],t()}},C=function(e){return function(){T(e)}},j=function(e){T(e.data)},R=function(e){l.postMessage(O(e),r.protocol+"//"+r.host)};b&&w||(b=function(e){m(arguments.length,1);var t=c(e)?e:x(e),n=h(arguments,1);return P[++F]=function(){u(t,void 0,n)},o(F),F},w=function(e){delete P[e]},g?o=function(e){E.nextTick(C(e))}:S&&S.now?o=function(e){S.now(C(e))}:k&&!v?(i=(a=new k).port2,a.port1.onmessage=j,o=s(i.postMessage,i)):l.addEventListener&&c(l.postMessage)&&!l.importScripts&&r&&"file:"!==r.protocol&&!d(R)?(o=R,l.addEventListener("message",j,!1)):o=_ in y("script")?function(e){p.appendChild(y("script")).onreadystatechange=function(){p.removeChild(this),T(e)}}:function(e){setTimeout(C(e),0)}),e.exports={set:b,clear:w}},1400:(e,t,n)=>{var r=n(9303),o=Math.max,a=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):a(n,t)}},5656:(e,t,n)=>{var r=n(8361),o=n(4488);e.exports=function(e){return r(o(e))}},9303:(e,t,n)=>{var r=n(4758);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},7466:(e,t,n)=>{var r=n(9303),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},7908:(e,t,n)=>{var r=n(4488),o=Object;e.exports=function(e){return o(r(e))}},7593:(e,t,n)=>{var r=n(6916),o=n(111),a=n(2190),i=n(8173),l=n(2140),u=n(5112),s=TypeError,c=u("toPrimitive");e.exports=function(e,t){if(!o(e)||a(e))return e;var n,u=i(e,c);if(u){if(void 0===t&&(t="default"),n=r(u,e,t),!o(n)||a(n))return n;throw s("Can't convert object to primitive value")}return void 0===t&&(t="number"),l(e,t)}},4948:(e,t,n)=>{var r=n(7593),o=n(2190);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},1694:(e,t,n)=>{var r={};r[n(5112)("toStringTag")]="z",e.exports="[object z]"===String(r)},1340:(e,t,n)=>{var r=n(648),o=String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return o(e)}},6330:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},9711:(e,t,n)=>{var r=n(1702),o=0,a=Math.random(),i=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++o+a,36)}},3307:(e,t,n)=>{var r=n(6293);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:(e,t,n)=>{var r=n(9781),o=n(7293);e.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8053:e=>{var t=TypeError;e.exports=function(e,n){if(e<n)throw t("Not enough arguments");return e}},4811:(e,t,n)=>{var r=n(7854),o=n(614),a=r.WeakMap;e.exports=o(a)&&/native code/.test(String(a))},5112:(e,t,n)=>{var r=n(7854),o=n(2309),a=n(2597),i=n(9711),l=n(6293),u=n(3307),s=o("wks"),c=r.Symbol,f=c&&c.for,d=u?c:c&&c.withoutSetter||i;e.exports=function(e){if(!a(s,e)||!l&&"string"!=typeof s[e]){var t="Symbol."+e;l&&a(c,e)?s[e]=c[e]:s[e]=u&&f?f(t):d(t)}return s[e]}},6699:(e,t,n)=>{"use strict";var r=n(2109),o=n(1318).includes,a=n(7293),i=n(1223);r({target:"Array",proto:!0,forced:a((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},6992:(e,t,n)=>{"use strict";var r=n(5656),o=n(1223),a=n(7497),i=n(9909),l=n(3070).f,u=n(1656),s=n(6178),c=n(1913),f=n(9781),d="Array Iterator",p=i.set,h=i.getterFor(d);e.exports=u(Array,"Array",(function(e,t){p(this,{type:d,target:r(e),index:0,kind:t})}),(function(){var e=h(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,s(void 0,!0)):s("keys"==n?r:"values"==n?t[r]:[r,t[r]],!1)}),"values");var y=a.Arguments=a.Array;if(o("keys"),o("values"),o("entries"),!c&&f&&"values"!==y.name)try{l(y,"name",{value:"values"})}catch(e){}},7658:(e,t,n)=>{"use strict";var r=n(2109),o=n(7908),a=n(6244),i=n(3658),l=n(7207),u=n(7293)((function(){return 4294967297!==[].push.call({length:4294967296},1)})),s=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}();r({target:"Array",proto:!0,arity:1,forced:u||s},{push:function(e){var t=o(this),n=a(t),r=arguments.length;l(n+r);for(var u=0;u<r;u++)t[n]=arguments[u],n++;return i(t,n),n}})},2707:(e,t,n)=>{"use strict";var r=n(2109),o=n(1702),a=n(9662),i=n(7908),l=n(6244),u=n(5117),s=n(1340),c=n(7293),f=n(4362),d=n(9341),p=n(8886),h=n(256),y=n(7392),m=n(8008),v=[],g=o(v.sort),b=o(v.push),w=c((function(){v.sort(void 0)})),E=c((function(){v.sort(null)})),S=d("sort"),x=!c((function(){if(y)return y<70;if(!(p&&p>3)){if(h)return!0;if(m)return m<603;var e,t,n,r,o="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)v.push({k:t+r,v:n})}for(v.sort((function(e,t){return t.v-e.v})),r=0;r<v.length;r++)t=v[r].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}}));r({target:"Array",proto:!0,forced:w||!E||!S||!x},{sort:function(e){void 0!==e&&a(e);var t=i(this);if(x)return void 0===e?g(t):g(t,e);var n,r,o=[],c=l(t);for(r=0;r<c;r++)r in t&&b(o,t[r]);for(f(o,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:s(t)>s(n)?1:-1}}(e)),n=l(o),r=0;r<n;)t[r]=o[r++];for(;r<c;)u(t,r++);return t}})},8862:(e,t,n)=>{var r=n(2109),o=n(5005),a=n(2104),i=n(6916),l=n(1702),u=n(7293),s=n(3157),c=n(614),f=n(111),d=n(2190),p=n(206),h=n(6293),y=o("JSON","stringify"),m=l(/./.exec),v=l("".charAt),g=l("".charCodeAt),b=l("".replace),w=l(1..toString),E=/[\uD800-\uDFFF]/g,S=/^[\uD800-\uDBFF]$/,x=/^[\uDC00-\uDFFF]$/,k=!h||u((function(){var e=o("Symbol")();return"[null]"!=y([e])||"{}"!=y({a:e})||"{}"!=y(Object(e))})),O=u((function(){return'"\\udf06\\ud834"'!==y("\udf06\ud834")||'"\\udead"'!==y("\udead")})),F=function(e,t){var n=p(arguments),r=t;if((f(t)||void 0!==e)&&!d(e))return s(t)||(t=function(e,t){if(c(r)&&(t=i(r,this,e,t)),!d(t))return t}),n[1]=t,a(y,null,n)},P=function(e,t,n){var r=v(n,t-1),o=v(n,t+1);return m(S,e)&&!m(x,o)||m(x,e)&&!m(S,r)?"\\u"+w(g(e,0),16):e};y&&r({target:"JSON",stat:!0,arity:3,forced:k||O},{stringify:function(e,t,n){var r=p(arguments),o=a(k?F:y,null,r);return O&&"string"==typeof o?b(o,E,P):o}})},9601:(e,t,n)=>{var r=n(2109),o=n(1574);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},821:(e,t,n)=>{"use strict";var r=n(2109),o=n(6916),a=n(9662),i=n(8523),l=n(2534),u=n(408);r({target:"Promise",stat:!0,forced:n(612)},{all:function(e){var t=this,n=i.f(t),r=n.resolve,s=n.reject,c=l((function(){var n=a(t.resolve),i=[],l=0,c=1;u(e,(function(e){var a=l++,u=!1;c++,o(n,t,e).then((function(e){u||(u=!0,i[a]=e,--c||r(i))}),s)})),--c||r(i)}));return c.error&&s(c.value),n.promise}})},4164:(e,t,n)=>{"use strict";var r=n(2109),o=n(1913),a=n(3702).CONSTRUCTOR,i=n(2492),l=n(5005),u=n(614),s=n(8052),c=i&&i.prototype;if(r({target:"Promise",proto:!0,forced:a,real:!0},{catch:function(e){return this.then(void 0,e)}}),!o&&u(i)){var f=l("Promise").prototype.catch;c.catch!==f&&s(c,"catch",f,{unsafe:!0})}},3401:(e,t,n)=>{"use strict";var r,o,a,i=n(2109),l=n(1913),u=n(5268),s=n(7854),c=n(6916),f=n(8052),d=n(7674),p=n(8003),h=n(6340),y=n(9662),m=n(614),v=n(111),g=n(5787),b=n(6707),w=n(261).set,E=n(5948),S=n(842),x=n(2534),k=n(8572),O=n(9909),F=n(2492),P=n(3702),_=n(8523),T="Promise",C=P.CONSTRUCTOR,j=P.REJECTION_EVENT,R=P.SUBCLASSING,D=O.getterFor(T),A=O.set,L=F&&F.prototype,N=F,I=L,M=s.TypeError,U=s.document,z=s.process,q=_.f,G=q,B=!!(U&&U.createEvent&&s.dispatchEvent),H="unhandledrejection",$=function(e){var t;return!(!v(e)||!m(t=e.then))&&t},V=function(e,t){var n,r,o,a=t.value,i=1==t.state,l=i?e.ok:e.fail,u=e.resolve,s=e.reject,f=e.domain;try{l?(i||(2===t.rejection&&X(t),t.rejection=1),!0===l?n=a:(f&&f.enter(),n=l(a),f&&(f.exit(),o=!0)),n===e.promise?s(M("Promise-chain cycle")):(r=$(n))?c(r,n,u,s):u(n)):s(a)}catch(e){f&&!o&&f.exit(),s(e)}},W=function(e,t){e.notified||(e.notified=!0,E((function(){for(var n,r=e.reactions;n=r.get();)V(n,e);e.notified=!1,t&&!e.rejection&&Q(e)})))},K=function(e,t,n){var r,o;B?((r=U.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),s.dispatchEvent(r)):r={promise:t,reason:n},!j&&(o=s["on"+e])?o(r):e===H&&S("Unhandled promise rejection",n)},Q=function(e){c(w,s,(function(){var t,n=e.facade,r=e.value;if(Z(e)&&(t=x((function(){u?z.emit("unhandledRejection",r,n):K(H,n,r)})),e.rejection=u||Z(e)?2:1,t.error))throw t.value}))},Z=function(e){return 1!==e.rejection&&!e.parent},X=function(e){c(w,s,(function(){var t=e.facade;u?z.emit("rejectionHandled",t):K("rejectionhandled",t,e.value)}))},Y=function(e,t,n){return function(r){e(t,r,n)}},J=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,W(e,!0))},ee=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw M("Promise can't be resolved itself");var r=$(t);r?E((function(){var n={done:!1};try{c(r,t,Y(ee,n,e),Y(J,n,e))}catch(t){J(n,t,e)}})):(e.value=t,e.state=1,W(e,!1))}catch(t){J({done:!1},t,e)}}};if(C&&(I=(N=function(e){g(this,I),y(e),c(r,this);var t=D(this);try{e(Y(ee,t),Y(J,t))}catch(e){J(t,e)}}).prototype,(r=function(e){A(this,{type:T,done:!1,notified:!1,parent:!1,reactions:new k,rejection:!1,state:0,value:void 0})}).prototype=f(I,"then",(function(e,t){var n=D(this),r=q(b(this,N));return n.parent=!0,r.ok=!m(e)||e,r.fail=m(t)&&t,r.domain=u?z.domain:void 0,0==n.state?n.reactions.add(r):E((function(){V(r,n)})),r.promise})),o=function(){var e=new r,t=D(e);this.promise=e,this.resolve=Y(ee,t),this.reject=Y(J,t)},_.f=q=function(e){return e===N||undefined===e?new o(e):G(e)},!l&&m(F)&&L!==Object.prototype)){a=L.then,R||f(L,"then",(function(e,t){var n=this;return new N((function(e,t){c(a,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete L.constructor}catch(e){}d&&d(L,I)}i({global:!0,constructor:!0,wrap:!0,forced:C},{Promise:N}),p(N,T,!1,!0),h(T)},8674:(e,t,n)=>{n(3401),n(821),n(4164),n(6027),n(683),n(6294)},6027:(e,t,n)=>{"use strict";var r=n(2109),o=n(6916),a=n(9662),i=n(8523),l=n(2534),u=n(408);r({target:"Promise",stat:!0,forced:n(612)},{race:function(e){var t=this,n=i.f(t),r=n.reject,s=l((function(){var i=a(t.resolve);u(e,(function(e){o(i,t,e).then(n.resolve,r)}))}));return s.error&&r(s.value),n.promise}})},683:(e,t,n)=>{"use strict";var r=n(2109),o=n(6916),a=n(8523);r({target:"Promise",stat:!0,forced:n(3702).CONSTRUCTOR},{reject:function(e){var t=a.f(this);return o(t.reject,void 0,e),t.promise}})},6294:(e,t,n)=>{"use strict";var r=n(2109),o=n(5005),a=n(1913),i=n(2492),l=n(3702).CONSTRUCTOR,u=n(9478),s=o("Promise"),c=a&&!l;r({target:"Promise",stat:!0,forced:a||l},{resolve:function(e){return u(c&&this===s?i:this,e)}})},4916:(e,t,n)=>{"use strict";var r=n(2109),o=n(2261);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},7601:(e,t,n)=>{"use strict";n(4916);var r,o,a=n(2109),i=n(6916),l=n(614),u=n(9670),s=n(1340),c=(r=!1,(o=/[ac]/).exec=function(){return r=!0,/./.exec.apply(this,arguments)},!0===o.test("abc")&&r),f=/./.test;a({target:"RegExp",proto:!0,forced:!c},{test:function(e){var t=u(this),n=s(e),r=t.exec;if(!l(r))return i(f,t,n);var o=i(r,t,n);return null!==o&&(u(o),!0)}})},2023:(e,t,n)=>{"use strict";var r=n(2109),o=n(1702),a=n(3929),i=n(4488),l=n(1340),u=n(4964),s=o("".indexOf);r({target:"String",proto:!0,forced:!u("includes")},{includes:function(e){return!!~s(l(i(this)),l(a(e)),arguments.length>1?arguments[1]:void 0)}})},4723:(e,t,n)=>{"use strict";var r=n(6916),o=n(7007),a=n(9670),i=n(8554),l=n(7466),u=n(1340),s=n(4488),c=n(8173),f=n(1530),d=n(7651);o("match",(function(e,t,n){return[function(t){var n=s(this),o=i(t)?void 0:c(t,e);return o?r(o,t,n):new RegExp(t)[e](u(n))},function(e){var r=a(this),o=u(e),i=n(t,r,o);if(i.done)return i.value;if(!r.global)return d(r,o);var s=r.unicode;r.lastIndex=0;for(var c,p=[],h=0;null!==(c=d(r,o));){var y=u(c[0]);p[h]=y,""===y&&(r.lastIndex=f(o,l(r.lastIndex),s)),h++}return 0===h?null:p}]}))},5306:(e,t,n)=>{"use strict";var r=n(2104),o=n(6916),a=n(1702),i=n(7007),l=n(7293),u=n(9670),s=n(614),c=n(8554),f=n(9303),d=n(7466),p=n(1340),h=n(4488),y=n(1530),m=n(8173),v=n(647),g=n(7651),b=n(5112)("replace"),w=Math.max,E=Math.min,S=a([].concat),x=a([].push),k=a("".indexOf),O=a("".slice),F="$0"==="a".replace(/./,"$0"),P=!!/./[b]&&""===/./[b]("a","$0");i("replace",(function(e,t,n){var a=P?"$":"$0";return[function(e,n){var r=h(this),a=c(e)?void 0:m(e,b);return a?o(a,e,r,n):o(t,p(r),e,n)},function(e,o){var i=u(this),l=p(e);if("string"==typeof o&&-1===k(o,a)&&-1===k(o,"$<")){var c=n(t,i,l,o);if(c.done)return c.value}var h=s(o);h||(o=p(o));var m=i.global;if(m){var b=i.unicode;i.lastIndex=0}for(var F=[];;){var P=g(i,l);if(null===P)break;if(x(F,P),!m)break;""===p(P[0])&&(i.lastIndex=y(l,d(i.lastIndex),b))}for(var _,T="",C=0,j=0;j<F.length;j++){for(var R=p((P=F[j])[0]),D=w(E(f(P.index),l.length),0),A=[],L=1;L<P.length;L++)x(A,void 0===(_=P[L])?_:String(_));var N=P.groups;if(h){var I=S([R],A,D,l);void 0!==N&&x(I,N);var M=p(r(o,void 0,I))}else M=v(R,l,D,A,N,o);D>=C&&(T+=O(l,C,D)+M,C=D+R.length)}return T+O(l,C)}]}),!!l((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!F||P)},4765:(e,t,n)=>{"use strict";var r=n(6916),o=n(7007),a=n(9670),i=n(8554),l=n(4488),u=n(1150),s=n(1340),c=n(8173),f=n(7651);o("search",(function(e,t,n){return[function(t){var n=l(this),o=i(t)?void 0:c(t,e);return o?r(o,t,n):new RegExp(t)[e](s(n))},function(e){var r=a(this),o=s(e),i=n(t,r,o);if(i.done)return i.value;var l=r.lastIndex;u(l,0)||(r.lastIndex=0);var c=f(r,o);return u(r.lastIndex,l)||(r.lastIndex=l),null===c?-1:c.index}]}))},3948:(e,t,n)=>{var r=n(7854),o=n(8324),a=n(8509),i=n(6992),l=n(8880),u=n(5112),s=u("iterator"),c=u("toStringTag"),f=i.values,d=function(e,t){if(e){if(e[s]!==f)try{l(e,s,f)}catch(t){e[s]=f}if(e[c]||l(e,c,t),o[t])for(var n in i)if(e[n]!==i[n])try{l(e,n,i[n])}catch(t){e[n]=i[n]}}};for(var p in o)d(r[p]&&r[p].prototype,p);d(a,"DOMTokenList")},7531:(e,t,n)=>{"use strict";n.d(t,{lX:()=>w,q_:()=>F,ob:()=>p,PP:()=>_,Ep:()=>d});var r=n(7462);function o(e){return"/"===e.charAt(0)}function a(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}const i=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],l=e&&o(e),u=t&&o(t),s=l||u;if(e&&o(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var c=i[i.length-1];n="."===c||".."===c||""===c}else n=!1;for(var f=0,d=i.length;d>=0;d--){var p=i[d];"."===p?a(i,d):".."===p?(a(i,d),f++):f&&(a(i,d),f--)}if(!s)for(;f--;f)i.unshift("..");!s||""===i[0]||i[0]&&o(i[0])||i.unshift("");var h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};var l=n(8776);function u(e){return"/"===e.charAt(0)?e:"/"+e}function s(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function f(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function d(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function p(e,t,n,o){var a;"string"==typeof e?(a=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var a=t.indexOf("?");return-1!==a&&(n=t.substr(a),t=t.substr(0,a)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),a.state=t):(void 0===(a=(0,r.Z)({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(a.key=n),o?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=i(a.pathname,o.pathname)):a.pathname=o.pathname:a.pathname||(a.pathname="/"),a}function h(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var a="function"==typeof e?e(t,n):e;"string"==typeof a?"function"==typeof r?r(a,o):o(!0):o(!1!==a)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var y=!("undefined"==typeof window||!window.document||!window.document.createElement);function m(e,t){t(window.confirm(e))}var v="popstate",g="hashchange";function b(){try{return window.history.state||{}}catch(e){return{}}}function w(e){void 0===e&&(e={}),y||(0,l.Z)(!1);var t,n=window.history,o=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,a=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,s=i.forceRefresh,w=void 0!==s&&s,E=i.getUserConfirmation,S=void 0===E?m:E,x=i.keyLength,k=void 0===x?6:x,O=e.basename?f(u(e.basename)):"";function F(e){var t=e||{},n=t.key,r=t.state,o=window.location,a=o.pathname+o.search+o.hash;return O&&(a=c(a,O)),p(a,r,n)}function P(){return Math.random().toString(36).substr(2,k)}var _=h();function T(e){(0,r.Z)(q,e),q.length=n.length,_.notifyListeners(q.location,q.action)}function C(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||D(F(e.state))}function j(){D(F(b()))}var R=!1;function D(e){if(R)R=!1,T();else{_.confirmTransitionTo(e,"POP",S,(function(t){t?T({action:"POP",location:e}):function(e){var t=q.location,n=L.indexOf(t.key);-1===n&&(n=0);var r=L.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(R=!0,I(o))}(e)}))}}var A=F(b()),L=[A.key];function N(e){return O+d(e)}function I(e){n.go(e)}var M=0;function U(e){1===(M+=e)&&1===e?(window.addEventListener(v,C),a&&window.addEventListener(g,j)):0===M&&(window.removeEventListener(v,C),a&&window.removeEventListener(g,j))}var z=!1;var q={length:n.length,action:"POP",location:A,createHref:N,push:function(e,t){var r="PUSH",a=p(e,t,P(),q.location);_.confirmTransitionTo(a,r,S,(function(e){if(e){var t=N(a),i=a.key,l=a.state;if(o)if(n.pushState({key:i,state:l},null,t),w)window.location.href=t;else{var u=L.indexOf(q.location.key),s=L.slice(0,u+1);s.push(a.key),L=s,T({action:r,location:a})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",a=p(e,t,P(),q.location);_.confirmTransitionTo(a,r,S,(function(e){if(e){var t=N(a),i=a.key,l=a.state;if(o)if(n.replaceState({key:i,state:l},null,t),w)window.location.replace(t);else{var u=L.indexOf(q.location.key);-1!==u&&(L[u]=a.key),T({action:r,location:a})}else window.location.replace(t)}}))},go:I,goBack:function(){I(-1)},goForward:function(){I(1)},block:function(e){void 0===e&&(e=!1);var t=_.setPrompt(e);return z||(U(1),z=!0),function(){return z&&(z=!1,U(-1)),t()}},listen:function(e){var t=_.appendListener(e);return U(1),function(){U(-1),t()}}};return q}var E="hashchange",S={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+s(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:s,decodePath:u},slash:{encodePath:u,decodePath:u}};function x(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function k(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function O(e){window.location.replace(x(window.location.href)+"#"+e)}function F(e){void 0===e&&(e={}),y||(0,l.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),o=n.getUserConfirmation,a=void 0===o?m:o,i=n.hashType,s=void 0===i?"slash":i,v=e.basename?f(u(e.basename)):"",g=S[s],b=g.encodePath,w=g.decodePath;function F(){var e=w(k());return v&&(e=c(e,v)),p(e)}var P=h();function _(e){(0,r.Z)(z,e),z.length=t.length,P.notifyListeners(z.location,z.action)}var T=!1,C=null;function j(){var e,t,n=k(),r=b(n);if(n!==r)O(r);else{var o=F(),i=z.location;if(!T&&(t=o,(e=i).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(C===d(o))return;C=null,function(e){if(T)T=!1,_();else{var t="POP";P.confirmTransitionTo(e,t,a,(function(n){n?_({action:t,location:e}):function(e){var t=z.location,n=L.lastIndexOf(d(t));-1===n&&(n=0);var r=L.lastIndexOf(d(e));-1===r&&(r=0);var o=n-r;o&&(T=!0,N(o))}(e)}))}}(o)}}var R=k(),D=b(R);R!==D&&O(D);var A=F(),L=[d(A)];function N(e){t.go(e)}var I=0;function M(e){1===(I+=e)&&1===e?window.addEventListener(E,j):0===I&&window.removeEventListener(E,j)}var U=!1;var z={length:t.length,action:"POP",location:A,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=x(window.location.href)),n+"#"+b(v+d(e))},push:function(e,t){var n="PUSH",r=p(e,void 0,void 0,z.location);P.confirmTransitionTo(r,n,a,(function(e){if(e){var t=d(r),o=b(v+t);if(k()!==o){C=t,function(e){window.location.hash=e}(o);var a=L.lastIndexOf(d(z.location)),i=L.slice(0,a+1);i.push(t),L=i,_({action:n,location:r})}else _()}}))},replace:function(e,t){var n="REPLACE",r=p(e,void 0,void 0,z.location);P.confirmTransitionTo(r,n,a,(function(e){if(e){var t=d(r),o=b(v+t);k()!==o&&(C=t,O(o));var a=L.indexOf(d(z.location));-1!==a&&(L[a]=t),_({action:n,location:r})}}))},go:N,goBack:function(){N(-1)},goForward:function(){N(1)},block:function(e){void 0===e&&(e=!1);var t=P.setPrompt(e);return U||(M(1),U=!0),function(){return U&&(U=!1,M(-1)),t()}},listen:function(e){var t=P.appendListener(e);return M(1),function(){M(-1),t()}}};return z}function P(e,t,n){return Math.min(Math.max(e,t),n)}function _(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,o=t.initialEntries,a=void 0===o?["/"]:o,i=t.initialIndex,l=void 0===i?0:i,u=t.keyLength,s=void 0===u?6:u,c=h();function f(e){(0,r.Z)(w,e),w.length=w.entries.length,c.notifyListeners(w.location,w.action)}function y(){return Math.random().toString(36).substr(2,s)}var m=P(l,0,a.length-1),v=a.map((function(e){return p(e,void 0,"string"==typeof e?y():e.key||y())})),g=d;function b(e){var t=P(w.index+e,0,w.entries.length-1),r=w.entries[t];c.confirmTransitionTo(r,"POP",n,(function(e){e?f({action:"POP",location:r,index:t}):f()}))}var w={length:v.length,action:"POP",location:v[m],index:m,entries:v,createHref:g,push:function(e,t){var r="PUSH",o=p(e,t,y(),w.location);c.confirmTransitionTo(o,r,n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,o):n.push(o),f({action:r,location:o,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",o=p(e,t,y(),w.location);c.confirmTransitionTo(o,r,n,(function(e){e&&(w.entries[w.index]=o,f({action:r,location:o}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),c.setPrompt(e)},listen:function(e){return c.appendListener(e)}};return w}},8679:(e,t,n)=>{"use strict";var r=n(9864),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function u(e){return r.isMemo(e)?i:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var s=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var i=c(n);f&&(i=i.concat(f(n)));for(var l=u(t),y=u(n),m=0;m<i.length;++m){var v=i[m];if(!(a[v]||r&&r[v]||y&&y[v]||l&&l[v])){var g=d(n,v);try{s(t,v,g)}catch(e){}}}}return t}},7418:e=>{"use strict";
22
  /*
23
  object-assign
24
  (c) Sindre Sorhus
31
  *
32
  * This source code is licensed under the MIT license found in the
33
  * LICENSE file in the root directory of this source tree.
34
+ */function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(i(227));var l=new Set,u={};function s(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(u[e]=t,e=0;e<t.length;e++)l.add(t[e])}var f=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p=Object.prototype.hasOwnProperty,h={},y={};function m(e,t,n,r,o,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){v[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];v[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){v[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){v[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){v[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){v[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){v[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){v[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){v[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var g=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function w(e,t,n,r){var o=v.hasOwnProperty(t)?v[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!p.call(y,e)||!p.call(h,e)&&(d.test(e)?y[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(g,b);v[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(g,b);v[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(g,b);v[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var E=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,S=60103,x=60106,k=60107,O=60108,F=60114,P=60109,_=60110,T=60112,C=60113,j=60120,R=60115,D=60116,A=60121,L=60128,N=60129,I=60130,M=60131;if("function"==typeof Symbol&&Symbol.for){var U=Symbol.for;S=U("react.element"),x=U("react.portal"),k=U("react.fragment"),O=U("react.strict_mode"),F=U("react.profiler"),P=U("react.provider"),_=U("react.context"),T=U("react.forward_ref"),C=U("react.suspense"),j=U("react.suspense_list"),R=U("react.memo"),D=U("react.lazy"),A=U("react.block"),U("react.scope"),L=U("react.opaque.id"),N=U("react.debug_trace_mode"),I=U("react.offscreen"),M=U("react.legacy_hidden")}var z,q="function"==typeof Symbol&&Symbol.iterator;function G(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=q&&e[q]||e["@@iterator"])?e:null}function B(e){if(void 0===z)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);z=t&&t[1]||""}return"\n"+z+e}var H=!1;function $(e,t){if(!e||H)return"";H=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(e){if(e&&r&&"string"==typeof e.stack){for(var o=e.stack.split("\n"),a=r.stack.split("\n"),i=o.length-1,l=a.length-1;1<=i&&0<=l&&o[i]!==a[l];)l--;for(;1<=i&&0<=l;i--,l--)if(o[i]!==a[l]){if(1!==i||1!==l)do{if(i--,0>--l||o[i]!==a[l])return"\n"+o[i].replace(" at new "," at ")}while(1<=i&&0<=l);break}}}finally{H=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?B(e):""}function V(e){switch(e.tag){case 5:return B(e.type);case 16:return B("Lazy");case 13:return B("Suspense");case 19:return B("SuspenseList");case 0:case 2:case 15:return e=$(e.type,!1);case 11:return e=$(e.type.render,!1);case 22:return e=$(e.type._render,!1);case 1:return e=$(e.type,!0);default:return""}}function W(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case k:return"Fragment";case x:return"Portal";case F:return"Profiler";case O:return"StrictMode";case C:return"Suspense";case j:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case _:return(e.displayName||"Context")+".Consumer";case P:return(e._context.displayName||"Context")+".Provider";case T:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case R:return W(e.type);case A:return W(e._render);case D:t=e._payload,e=e._init;try{return W(e(t))}catch(e){}}return null}function K(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Q(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Z(e){e._valueTracker||(e._valueTracker=function(e){var t=Q(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function X(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Q(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Y(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function J(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=K(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&w(e,"checked",t,!1)}function ne(e,t){te(e,t);var n=K(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?oe(e,t.type,n):t.hasOwnProperty("defaultValue")&&oe(e,t.type,K(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function re(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function oe(e,t,n){"number"===t&&Y(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function ae(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function ie(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+K(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function le(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ue(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:K(n)}}function se(e,t){var n=K(t.value),r=K(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ce(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var fe="http://www.w3.org/1999/xhtml",de="http://www.w3.org/2000/svg";function pe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function he(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?pe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ye,me,ve=(me=function(e,t){if(e.namespaceURI!==de||"innerHTML"in e)e.innerHTML=t;else{for((ye=ye||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ye.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return me(e,t)}))}:me);function ge(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var be={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},we=["Webkit","ms","Moz","O"];function Ee(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||be.hasOwnProperty(e)&&be[e]?(""+t).trim():t+"px"}function Se(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=Ee(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(be).forEach((function(e){we.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),be[t]=be[e]}))}));var xe=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ke(e,t){if(t){if(xe[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(i(62))}}function Oe(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Fe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Pe=null,_e=null,Te=null;function Ce(e){if(e=ro(e)){if("function"!=typeof Pe)throw Error(i(280));var t=e.stateNode;t&&(t=ao(t),Pe(e.stateNode,e.type,t))}}function je(e){_e?Te?Te.push(e):Te=[e]:_e=e}function Re(){if(_e){var e=_e,t=Te;if(Te=_e=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e])}}function De(e,t){return e(t)}function Ae(e,t,n,r,o){return e(t,n,r,o)}function Le(){}var Ne=De,Ie=!1,Me=!1;function Ue(){null===_e&&null===Te||(Le(),Re())}function ze(e,t){var n=e.stateNode;if(null===n)return null;var r=ao(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(i(231,t,typeof n));return n}var qe=!1;if(f)try{var Ge={};Object.defineProperty(Ge,"passive",{get:function(){qe=!0}}),window.addEventListener("test",Ge,Ge),window.removeEventListener("test",Ge,Ge)}catch(me){qe=!1}function Be(e,t,n,r,o,a,i,l,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(e){this.onError(e)}}var He=!1,$e=null,Ve=!1,We=null,Ke={onError:function(e){He=!0,$e=e}};function Qe(e,t,n,r,o,a,i,l,u){He=!1,$e=null,Be.apply(Ke,arguments)}function Ze(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Xe(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Ye(e){if(Ze(e)!==e)throw Error(i(188))}function Je(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ze(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return Ye(o),e;if(a===r)return Ye(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var l=!1,u=o.child;u;){if(u===n){l=!0,n=o,r=a;break}if(u===r){l=!0,r=o,n=a;break}u=u.sibling}if(!l){for(u=a.child;u;){if(u===n){l=!0,n=a,r=o;break}if(u===r){l=!0,r=a,n=o;break}u=u.sibling}if(!l)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function et(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var tt,nt,rt,ot,at=!1,it=[],lt=null,ut=null,st=null,ct=new Map,ft=new Map,dt=[],pt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ht(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function yt(e,t){switch(e){case"focusin":case"focusout":lt=null;break;case"dragenter":case"dragleave":ut=null;break;case"mouseover":case"mouseout":st=null;break;case"pointerover":case"pointerout":ct.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ft.delete(t.pointerId)}}function mt(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e=ht(t,n,r,o,a),null!==t&&(null!==(t=ro(t))&&nt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function vt(e){var t=no(e.target);if(null!==t){var n=Ze(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Xe(n)))return e.blockedOn=t,void ot(e.lanePriority,(function(){a.unstable_runWithPriority(e.priority,(function(){rt(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function gt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ro(n))&&nt(t),e.blockedOn=n,!1;t.shift()}return!0}function bt(e,t,n){gt(e)&&n.delete(t)}function wt(){for(at=!1;0<it.length;){var e=it[0];if(null!==e.blockedOn){null!==(e=ro(e.blockedOn))&&tt(e);break}for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&it.shift()}null!==lt&&gt(lt)&&(lt=null),null!==ut&&gt(ut)&&(ut=null),null!==st&&gt(st)&&(st=null),ct.forEach(bt),ft.forEach(bt)}function Et(e,t){e.blockedOn===t&&(e.blockedOn=null,at||(at=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,wt)))}function St(e){function t(t){return Et(t,e)}if(0<it.length){Et(it[0],e);for(var n=1;n<it.length;n++){var r=it[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==lt&&Et(lt,e),null!==ut&&Et(ut,e),null!==st&&Et(st,e),ct.forEach(t),ft.forEach(t),n=0;n<dt.length;n++)(r=dt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<dt.length&&null===(n=dt[0]).blockedOn;)vt(n),null===n.blockedOn&&dt.shift()}function xt(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var kt={animationend:xt("Animation","AnimationEnd"),animationiteration:xt("Animation","AnimationIteration"),animationstart:xt("Animation","AnimationStart"),transitionend:xt("Transition","TransitionEnd")},Ot={},Ft={};function Pt(e){if(Ot[e])return Ot[e];if(!kt[e])return e;var t,n=kt[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ft)return Ot[e]=n[t];return e}f&&(Ft=document.createElement("div").style,"AnimationEvent"in window||(delete kt.animationend.animation,delete kt.animationiteration.animation,delete kt.animationstart.animation),"TransitionEvent"in window||delete kt.transitionend.transition);var _t=Pt("animationend"),Tt=Pt("animationiteration"),Ct=Pt("animationstart"),jt=Pt("transitionend"),Rt=new Map,Dt=new Map,At=["abort","abort",_t,"animationEnd",Tt,"animationIteration",Ct,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",jt,"transitionEnd","waiting","waiting"];function Lt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];o="on"+(o[0].toUpperCase()+o.slice(1)),Dt.set(r,t),Rt.set(r,o),s(o,[r])}}(0,a.unstable_now)();var Nt=8;function It(e){if(0!=(1&e))return Nt=15,1;if(0!=(2&e))return Nt=14,2;if(0!=(4&e))return Nt=13,4;var t=24&e;return 0!==t?(Nt=12,t):0!=(32&e)?(Nt=11,32):0!==(t=192&e)?(Nt=10,t):0!=(256&e)?(Nt=9,256):0!==(t=3584&e)?(Nt=8,t):0!=(4096&e)?(Nt=7,4096):0!==(t=4186112&e)?(Nt=6,t):0!==(t=62914560&e)?(Nt=5,t):67108864&e?(Nt=4,67108864):0!=(134217728&e)?(Nt=3,134217728):0!==(t=805306368&e)?(Nt=2,t):0!=(1073741824&e)?(Nt=1,1073741824):(Nt=8,e)}function Mt(e,t){var n=e.pendingLanes;if(0===n)return Nt=0;var r=0,o=0,a=e.expiredLanes,i=e.suspendedLanes,l=e.pingedLanes;if(0!==a)r=a,o=Nt=15;else if(0!==(a=134217727&n)){var u=a&~i;0!==u?(r=It(u),o=Nt):0!==(l&=a)&&(r=It(l),o=Nt)}else 0!==(a=n&~i)?(r=It(a),o=Nt):0!==l&&(r=It(l),o=Nt);if(0===r)return 0;if(r=n&((0>(r=31-Ht(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&i)){if(It(t),o<=Nt)return t;Nt=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-Ht(t)),r|=e[n],t&=~o;return r}function Ut(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function zt(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=qt(24&~t))?zt(10,t):e;case 10:return 0===(e=qt(192&~t))?zt(8,t):e;case 8:return 0===(e=qt(3584&~t))&&(0===(e=qt(4186112&~t))&&(e=512)),e;case 2:return 0===(t=qt(805306368&~t))&&(t=268435456),t}throw Error(i(358,e))}function qt(e){return e&-e}function Gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Bt(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Ht(t)]=n}var Ht=Math.clz32?Math.clz32:function(e){return 0===e?32:31-($t(e)/Vt|0)|0},$t=Math.log,Vt=Math.LN2;var Wt=a.unstable_UserBlockingPriority,Kt=a.unstable_runWithPriority,Qt=!0;function Zt(e,t,n,r){Ie||Le();var o=Yt,a=Ie;Ie=!0;try{Ae(o,e,t,n,r)}finally{(Ie=a)||Ue()}}function Xt(e,t,n,r){Kt(Wt,Yt.bind(null,e,t,n,r))}function Yt(e,t,n,r){var o;if(Qt)if((o=0==(4&t))&&0<it.length&&-1<pt.indexOf(e))e=ht(null,e,t,n,r),it.push(e);else{var a=Jt(e,t,n,r);if(null===a)o&&yt(e,r);else{if(o){if(-1<pt.indexOf(e))return e=ht(a,e,t,n,r),void it.push(e);if(function(e,t,n,r,o){switch(t){case"focusin":return lt=mt(lt,e,t,n,r,o),!0;case"dragenter":return ut=mt(ut,e,t,n,r,o),!0;case"mouseover":return st=mt(st,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return ct.set(a,mt(ct.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,ft.set(a,mt(ft.get(a)||null,e,t,n,r,o)),!0}return!1}(a,e,t,n,r))return;yt(e,r)}Lr(e,t,r,null,n)}}}function Jt(e,t,n,r){var o=Fe(r);if(null!==(o=no(o))){var a=Ze(o);if(null===a)o=null;else{var i=a.tag;if(13===i){if(null!==(o=Xe(a)))return o;o=null}else if(3===i){if(a.stateNode.hydrate)return 3===a.tag?a.stateNode.containerInfo:null;o=null}else a!==o&&(o=null)}}return Lr(e,t,r,o,n),null}var en=null,tn=null,nn=null;function rn(){if(nn)return nn;var e,t,n=tn,r=n.length,o="value"in en?en.value:en.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return nn=o.slice(e,1<t?1-t:void 0)}function on(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function an(){return!0}function ln(){return!1}function un(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?an:ln,this.isPropagationStopped=ln,this}return o(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=an)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=an)},persist:function(){},isPersistent:an}),t}var sn,cn,fn,dn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pn=un(dn),hn=o({},dn,{view:0,detail:0}),yn=un(hn),mn=o({},hn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:_n,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==fn&&(fn&&"mousemove"===e.type?(sn=e.screenX-fn.screenX,cn=e.screenY-fn.screenY):cn=sn=0,fn=e),sn)},movementY:function(e){return"movementY"in e?e.movementY:cn}}),vn=un(mn),gn=un(o({},mn,{dataTransfer:0})),bn=un(o({},hn,{relatedTarget:0})),wn=un(o({},dn,{animationName:0,elapsedTime:0,pseudoElement:0})),En=o({},dn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Sn=un(En),xn=un(o({},dn,{data:0})),kn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},On={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Fn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Fn[e])&&!!t[e]}function _n(){return Pn}var Tn=o({},hn,{key:function(e){if(e.key){var t=kn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=on(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?On[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:_n,charCode:function(e){return"keypress"===e.type?on(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?on(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Cn=un(Tn),jn=un(o({},mn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Rn=un(o({},hn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:_n})),Dn=un(o({},dn,{propertyName:0,elapsedTime:0,pseudoElement:0})),An=o({},mn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Ln=un(An),Nn=[9,13,27,32],In=f&&"CompositionEvent"in window,Mn=null;f&&"documentMode"in document&&(Mn=document.documentMode);var Un=f&&"TextEvent"in window&&!Mn,zn=f&&(!In||Mn&&8<Mn&&11>=Mn),qn=String.fromCharCode(32),Gn=!1;function Bn(e,t){switch(e){case"keyup":return-1!==Nn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var $n=!1;var Vn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Wn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Vn[e.type]:"textarea"===t}function Kn(e,t,n,r){je(r),0<(t=Ir(t,"onChange")).length&&(n=new pn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Qn=null,Zn=null;function Xn(e){Tr(e,0)}function Yn(e){if(X(oo(e)))return e}function Jn(e,t){if("change"===e)return t}var er=!1;if(f){var tr;if(f){var nr="oninput"in document;if(!nr){var rr=document.createElement("div");rr.setAttribute("oninput","return;"),nr="function"==typeof rr.oninput}tr=nr}else tr=!1;er=tr&&(!document.documentMode||9<document.documentMode)}function or(){Qn&&(Qn.detachEvent("onpropertychange",ar),Zn=Qn=null)}function ar(e){if("value"===e.propertyName&&Yn(Zn)){var t=[];if(Kn(t,Zn,e,Fe(e)),e=Xn,Ie)e(t);else{Ie=!0;try{De(e,t)}finally{Ie=!1,Ue()}}}}function ir(e,t,n){"focusin"===e?(or(),Zn=n,(Qn=t).attachEvent("onpropertychange",ar)):"focusout"===e&&or()}function lr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Yn(Zn)}function ur(e,t){if("click"===e)return Yn(t)}function sr(e,t){if("input"===e||"change"===e)return Yn(t)}var cr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},fr=Object.prototype.hasOwnProperty;function dr(e,t){if(cr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!fr.call(t,n[r])||!cr(e[n[r]],t[n[r]]))return!1;return!0}function pr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function hr(e,t){var n,r=pr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=pr(r)}}function yr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?yr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function mr(){for(var e=window,t=Y();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Y((e=t.contentWindow).document)}return t}function vr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var gr=f&&"documentMode"in document&&11>=document.documentMode,br=null,wr=null,Er=null,Sr=!1;function xr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Sr||null==br||br!==Y(r)||("selectionStart"in(r=br)&&vr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},Er&&dr(Er,r)||(Er=r,0<(r=Ir(wr,"onSelect")).length&&(t=new pn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=br)))}Lt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Lt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Lt(At,2);for(var kr="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Or=0;Or<kr.length;Or++)Dt.set(kr[Or],0);c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Fr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Pr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Fr));function _r(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,l,u,s){if(Qe.apply(this,arguments),He){if(!He)throw Error(i(198));var c=$e;He=!1,$e=null,Ve||(Ve=!0,We=c)}}(r,t,void 0,e),e.currentTarget=null}function Tr(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],u=l.instance,s=l.currentTarget;if(l=l.listener,u!==a&&o.isPropagationStopped())break e;_r(o,l,s),a=u}else for(i=0;i<r.length;i++){if(u=(l=r[i]).instance,s=l.currentTarget,l=l.listener,u!==a&&o.isPropagationStopped())break e;_r(o,l,s),a=u}}}if(Ve)throw e=We,Ve=!1,We=null,e}function Cr(e,t){var n=io(t),r=e+"__bubble";n.has(r)||(Ar(t,e,2,!1),n.add(r))}var jr="_reactListening"+Math.random().toString(36).slice(2);function Rr(e){e[jr]||(e[jr]=!0,l.forEach((function(t){Pr.has(t)||Dr(t,!1,e,null),Dr(t,!0,e,null)})))}function Dr(e,t,n,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,a=n;if("selectionchange"===e&&9!==n.nodeType&&(a=n.ownerDocument),null!==r&&!t&&Pr.has(e)){if("scroll"!==e)return;o|=2,a=r}var i=io(a),l=e+"__"+(t?"capture":"bubble");i.has(l)||(t&&(o|=4),Ar(a,e,o,t),i.add(l))}function Ar(e,t,n,r){var o=Dt.get(t);switch(void 0===o?2:o){case 0:o=Zt;break;case 1:o=Xt;break;default:o=Yt}n=o.bind(null,t,n,e),o=void 0,!qe||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Lr(e,t,n,r,o){var a=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===i)for(i=r.return;null!==i;){var u=i.tag;if((3===u||4===u)&&((u=i.stateNode.containerInfo)===o||8===u.nodeType&&u.parentNode===o))return;i=i.return}for(;null!==l;){if(null===(i=no(l)))return;if(5===(u=i.tag)||6===u){r=a=i;continue e}l=l.parentNode}}r=r.return}!function(e,t,n){if(Me)return e(t,n);Me=!0;try{Ne(e,t,n)}finally{Me=!1,Ue()}}((function(){var r=a,o=Fe(n),i=[];e:{var l=Rt.get(e);if(void 0!==l){var u=pn,s=e;switch(e){case"keypress":if(0===on(n))break e;case"keydown":case"keyup":u=Cn;break;case"focusin":s="focus",u=bn;break;case"focusout":s="blur",u=bn;break;case"beforeblur":case"afterblur":u=bn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=vn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=gn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=Rn;break;case _t:case Tt:case Ct:u=wn;break;case jt:u=Dn;break;case"scroll":u=yn;break;case"wheel":u=Ln;break;case"copy":case"cut":case"paste":u=Sn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=jn}var c=0!=(4&t),f=!c&&"scroll"===e,d=c?null!==l?l+"Capture":null:l;c=[];for(var p,h=r;null!==h;){var y=(p=h).stateNode;if(5===p.tag&&null!==y&&(p=y,null!==d&&(null!=(y=ze(h,d))&&c.push(Nr(h,y,p)))),f)break;h=h.return}0<c.length&&(l=new u(l,s,null,n,o),i.push({event:l,listeners:c}))}}if(0==(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||0!=(16&t)||!(s=n.relatedTarget||n.fromElement)||!no(s)&&!s[eo])&&(u||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,u?(u=r,null!==(s=(s=n.relatedTarget||n.toElement)?no(s):null)&&(s!==(f=Ze(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(u=null,s=r),u!==s)){if(c=vn,y="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=jn,y="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==u?l:oo(u),p=null==s?l:oo(s),(l=new c(y,h+"leave",u,n,o)).target=f,l.relatedTarget=p,y=null,no(o)===r&&((c=new c(d,h+"enter",s,n,o)).target=p,c.relatedTarget=f,y=c),f=y,u&&s)e:{for(d=s,h=0,p=c=u;p;p=Mr(p))h++;for(p=0,y=d;y;y=Mr(y))p++;for(;0<h-p;)c=Mr(c),h--;for(;0<p-h;)d=Mr(d),p--;for(;h--;){if(c===d||null!==d&&c===d.alternate)break e;c=Mr(c),d=Mr(d)}c=null}else c=null;null!==u&&Ur(i,l,u,c,!1),null!==s&&null!==f&&Ur(i,f,s,c,!0)}if("select"===(u=(l=r?oo(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===u&&"file"===l.type)var m=Jn;else if(Wn(l))if(er)m=sr;else{m=lr;var v=ir}else(u=l.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(m=ur);switch(m&&(m=m(e,r))?Kn(i,m,n,o):(v&&v(e,l,r),"focusout"===e&&(v=l._wrapperState)&&v.controlled&&"number"===l.type&&oe(l,"number",l.value)),v=r?oo(r):window,e){case"focusin":(Wn(v)||"true"===v.contentEditable)&&(br=v,wr=r,Er=null);break;case"focusout":Er=wr=br=null;break;case"mousedown":Sr=!0;break;case"contextmenu":case"mouseup":case"dragend":Sr=!1,xr(i,n,o);break;case"selectionchange":if(gr)break;case"keydown":case"keyup":xr(i,n,o)}var g;if(In)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else $n?Bn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(zn&&"ko"!==n.locale&&($n||"onCompositionStart"!==b?"onCompositionEnd"===b&&$n&&(g=rn()):(tn="value"in(en=o)?en.value:en.textContent,$n=!0)),0<(v=Ir(r,b)).length&&(b=new xn(b,e,null,n,o),i.push({event:b,listeners:v}),g?b.data=g:null!==(g=Hn(n))&&(b.data=g))),(g=Un?function(e,t){switch(e){case"compositionend":return Hn(t);case"keypress":return 32!==t.which?null:(Gn=!0,qn);case"textInput":return(e=t.data)===qn&&Gn?null:e;default:return null}}(e,n):function(e,t){if($n)return"compositionend"===e||!In&&Bn(e,t)?(e=rn(),nn=tn=en=null,$n=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return zn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Ir(r,"onBeforeInput")).length&&(o=new xn("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=g))}Tr(i,t)}))}function Nr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ir(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=ze(e,n))&&r.unshift(Nr(e,a,o)),null!=(a=ze(e,t))&&r.push(Nr(e,a,o))),e=e.return}return r}function Mr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Ur(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var l=n,u=l.alternate,s=l.stateNode;if(null!==u&&u===r)break;5===l.tag&&null!==s&&(l=s,o?null!=(u=ze(n,a))&&i.unshift(Nr(n,u,l)):o||null!=(u=ze(n,a))&&i.push(Nr(n,u,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}function zr(){}var qr=null,Gr=null;function Br(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Hr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var $r="function"==typeof setTimeout?setTimeout:void 0,Vr="function"==typeof clearTimeout?clearTimeout:void 0;function Wr(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function Kr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Qr(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Zr=0;var Xr=Math.random().toString(36).slice(2),Yr="__reactFiber$"+Xr,Jr="__reactProps$"+Xr,eo="__reactContainer$"+Xr,to="__reactEvents$"+Xr;function no(e){var t=e[Yr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[eo]||n[Yr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Qr(e);null!==e;){if(n=e[Yr])return n;e=Qr(e)}return t}n=(e=n).parentNode}return null}function ro(e){return!(e=e[Yr]||e[eo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function oo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function ao(e){return e[Jr]||null}function io(e){var t=e[to];return void 0===t&&(t=e[to]=new Set),t}var lo=[],uo=-1;function so(e){return{current:e}}function co(e){0>uo||(e.current=lo[uo],lo[uo]=null,uo--)}function fo(e,t){uo++,lo[uo]=e.current,e.current=t}var po={},ho=so(po),yo=so(!1),mo=po;function vo(e,t){var n=e.type.contextTypes;if(!n)return po;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function go(e){return null!=(e=e.childContextTypes)}function bo(){co(yo),co(ho)}function wo(e,t,n){if(ho.current!==po)throw Error(i(168));fo(ho,t),fo(yo,n)}function Eo(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in e))throw Error(i(108,W(t)||"Unknown",a));return o({},n,r)}function So(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||po,mo=ho.current,fo(ho,e),fo(yo,yo.current),!0}function xo(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Eo(e,t,mo),r.__reactInternalMemoizedMergedChildContext=e,co(yo),co(ho),fo(ho,e)):co(yo),fo(yo,n)}var ko=null,Oo=null,Fo=a.unstable_runWithPriority,Po=a.unstable_scheduleCallback,_o=a.unstable_cancelCallback,To=a.unstable_shouldYield,Co=a.unstable_requestPaint,jo=a.unstable_now,Ro=a.unstable_getCurrentPriorityLevel,Do=a.unstable_ImmediatePriority,Ao=a.unstable_UserBlockingPriority,Lo=a.unstable_NormalPriority,No=a.unstable_LowPriority,Io=a.unstable_IdlePriority,Mo={},Uo=void 0!==Co?Co:function(){},zo=null,qo=null,Go=!1,Bo=jo(),Ho=1e4>Bo?jo:function(){return jo()-Bo};function $o(){switch(Ro()){case Do:return 99;case Ao:return 98;case Lo:return 97;case No:return 96;case Io:return 95;default:throw Error(i(332))}}function Vo(e){switch(e){case 99:return Do;case 98:return Ao;case 97:return Lo;case 96:return No;case 95:return Io;default:throw Error(i(332))}}function Wo(e,t){return e=Vo(e),Fo(e,t)}function Ko(e,t,n){return e=Vo(e),Po(e,t,n)}function Qo(){if(null!==qo){var e=qo;qo=null,_o(e)}Zo()}function Zo(){if(!Go&&null!==zo){Go=!0;var e=0;try{var t=zo;Wo(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),zo=null}catch(t){throw null!==zo&&(zo=zo.slice(e+1)),Po(Do,Qo),t}finally{Go=!1}}}var Xo=E.ReactCurrentBatchConfig;function Yo(e,t){if(e&&e.defaultProps){for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Jo=so(null),ea=null,ta=null,na=null;function ra(){na=ta=ea=null}function oa(e){var t=Jo.current;co(Jo),e.type._context._currentValue=t}function aa(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function ia(e,t){ea=e,na=ta=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Ii=!0),e.firstContext=null)}function la(e,t){if(na!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(na=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ta){if(null===ea)throw Error(i(308));ta=t,ea.dependencies={lanes:0,firstContext:t,responders:null}}else ta=ta.next=t;return e._currentValue}var ua=!1;function sa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function ca(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function fa(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function da(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function pa(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ha(e,t,n,r){var a=e.updateQueue;ua=!1;var i=a.firstBaseUpdate,l=a.lastBaseUpdate,u=a.shared.pending;if(null!==u){a.shared.pending=null;var s=u,c=s.next;s.next=null,null===l?i=c:l.next=c,l=s;var f=e.alternate;if(null!==f){var d=(f=f.updateQueue).lastBaseUpdate;d!==l&&(null===d?f.firstBaseUpdate=c:d.next=c,f.lastBaseUpdate=s)}}if(null!==i){for(d=a.baseState,l=0,f=c=s=null;;){u=i.lane;var p=i.eventTime;if((r&u)===u){null!==f&&(f=f.next={eventTime:p,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var h=e,y=i;switch(u=t,p=n,y.tag){case 1:if("function"==typeof(h=y.payload)){d=h.call(p,d,u);break e}d=h;break e;case 3:h.flags=-4097&h.flags|64;case 0:if(null==(u="function"==typeof(h=y.payload)?h.call(p,d,u):h))break e;d=o({},d,u);break e;case 2:ua=!0}}null!==i.callback&&(e.flags|=32,null===(u=a.effects)?a.effects=[i]:u.push(i))}else p={eventTime:p,lane:u,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===f?(c=f=p,s=d):f=f.next=p,l|=u;if(null===(i=i.next)){if(null===(u=a.shared.pending))break;i=u.next,u.next=null,a.lastBaseUpdate=u,a.shared.pending=null}}null===f&&(s=d),a.baseState=s,a.firstBaseUpdate=c,a.lastBaseUpdate=f,ql|=l,e.lanes=l,e.memoizedState=d}}function ya(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(i(191,o));o.call(r)}}}var ma=(new r.Component).refs;function va(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:o({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ga={isMounted:function(e){return!!(e=e._reactInternals)&&Ze(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=du(),o=pu(e),a=fa(r,o);a.payload=t,null!=n&&(a.callback=n),da(e,a),hu(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=du(),o=pu(e),a=fa(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),da(e,a),hu(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=du(),r=pu(e),o=fa(n,r);o.tag=2,null!=t&&(o.callback=t),da(e,o),hu(e,r,n)}};function ba(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!t.prototype||!t.prototype.isPureReactComponent||(!dr(n,r)||!dr(o,a))}function wa(e,t,n){var r=!1,o=po,a=t.contextType;return"object"==typeof a&&null!==a?a=la(a):(o=go(t)?mo:ho.current,a=(r=null!=(r=t.contextTypes))?vo(e,o):po),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ga,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function Ea(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ga.enqueueReplaceState(t,t.state,null)}function Sa(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=ma,sa(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=la(a):(a=go(t)?mo:ho.current,o.context=vo(e,a)),ha(e,n,o,r),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(va(e,t,a,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&ga.enqueueReplaceState(o,o.state,null),ha(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4)}var xa=Array.isArray;function ka(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=r.refs;t===ma&&(t=r.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!=typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function Oa(e,t){if("textarea"!==e.type)throw Error(i(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Fa(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Vu(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function l(t){return e&&null===t.alternate&&(t.flags=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Zu(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=ka(e,t,n),r.return=e,r):((r=Wu(n.type,n.key,n.props,null,e.mode,r)).ref=ka(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Xu(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,a){return null===t||7!==t.tag?((t=Ku(n,e.mode,r,a)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Zu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case S:return(n=Wu(t.type,t.key,t.props,null,e.mode,n)).ref=ka(e,null,t),n.return=e,n;case x:return(t=Xu(t,e.mode,n)).return=e,t}if(xa(t)||G(t))return(t=Ku(t,e.mode,n,null)).return=e,t;Oa(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case S:return n.key===o?n.type===k?f(e,t,n.props.children,r,o):s(e,t,n,r):null;case x:return n.key===o?c(e,t,n,r):null}if(xa(n)||G(n))return null!==o?null:f(e,t,n,r,null);Oa(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case S:return e=e.get(null===r.key?n:r.key)||null,r.type===k?f(t,e,r.props.children,o,r.key):s(t,e,r,o);case x:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(xa(r)||G(r))return f(t,e=e.get(n)||null,r,o,null);Oa(t,r)}return null}function y(o,i,l,u){for(var s=null,c=null,f=i,y=i=0,m=null;null!==f&&y<l.length;y++){f.index>y?(m=f,f=null):m=f.sibling;var v=p(o,f,l[y],u);if(null===v){null===f&&(f=m);break}e&&f&&null===v.alternate&&t(o,f),i=a(v,i,y),null===c?s=v:c.sibling=v,c=v,f=m}if(y===l.length)return n(o,f),s;if(null===f){for(;y<l.length;y++)null!==(f=d(o,l[y],u))&&(i=a(f,i,y),null===c?s=f:c.sibling=f,c=f);return s}for(f=r(o,f);y<l.length;y++)null!==(m=h(f,o,y,l[y],u))&&(e&&null!==m.alternate&&f.delete(null===m.key?y:m.key),i=a(m,i,y),null===c?s=m:c.sibling=m,c=m);return e&&f.forEach((function(e){return t(o,e)})),s}function m(o,l,u,s){var c=G(u);if("function"!=typeof c)throw Error(i(150));if(null==(u=c.call(u)))throw Error(i(151));for(var f=c=null,y=l,m=l=0,v=null,g=u.next();null!==y&&!g.done;m++,g=u.next()){y.index>m?(v=y,y=null):v=y.sibling;var b=p(o,y,g.value,s);if(null===b){null===y&&(y=v);break}e&&y&&null===b.alternate&&t(o,y),l=a(b,l,m),null===f?c=b:f.sibling=b,f=b,y=v}if(g.done)return n(o,y),c;if(null===y){for(;!g.done;m++,g=u.next())null!==(g=d(o,g.value,s))&&(l=a(g,l,m),null===f?c=g:f.sibling=g,f=g);return c}for(y=r(o,y);!g.done;m++,g=u.next())null!==(g=h(y,o,m,g.value,s))&&(e&&null!==g.alternate&&y.delete(null===g.key?m:g.key),l=a(g,l,m),null===f?c=g:f.sibling=g,f=g);return e&&y.forEach((function(e){return t(o,e)})),c}return function(e,r,a,u){var s="object"==typeof a&&null!==a&&a.type===k&&null===a.key;s&&(a=a.props.children);var c="object"==typeof a&&null!==a;if(c)switch(a.$$typeof){case S:e:{for(c=a.key,s=r;null!==s;){if(s.key===c){if(7===s.tag){if(a.type===k){n(e,s.sibling),(r=o(s,a.props.children)).return=e,e=r;break e}}else if(s.elementType===a.type){n(e,s.sibling),(r=o(s,a.props)).ref=ka(e,s,a),r.return=e,e=r;break e}n(e,s);break}t(e,s),s=s.sibling}a.type===k?((r=Ku(a.props.children,e.mode,u,a.key)).return=e,e=r):((u=Wu(a.type,a.key,a.props,null,e.mode,u)).ref=ka(e,r,a),u.return=e,e=u)}return l(e);case x:e:{for(s=a.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),(r=o(r,a.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Xu(a,e.mode,u)).return=e,e=r}return l(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,a)).return=e,e=r):(n(e,r),(r=Zu(a,e.mode,u)).return=e,e=r),l(e);if(xa(a))return y(e,r,a,u);if(G(a))return m(e,r,a,u);if(c&&Oa(e,a),void 0===a&&!s)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(i(152,W(e.type)||"Component"))}return n(e,r)}}var Pa=Fa(!0),_a=Fa(!1),Ta={},Ca=so(Ta),ja=so(Ta),Ra=so(Ta);function Da(e){if(e===Ta)throw Error(i(174));return e}function Aa(e,t){switch(fo(Ra,t),fo(ja,e),fo(Ca,Ta),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:he(null,"");break;default:t=he(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}co(Ca),fo(Ca,t)}function La(){co(Ca),co(ja),co(Ra)}function Na(e){Da(Ra.current);var t=Da(Ca.current),n=he(t,e.type);t!==n&&(fo(ja,e),fo(Ca,n))}function Ia(e){ja.current===e&&(co(Ca),co(ja))}var Ma=so(0);function Ua(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var za=null,qa=null,Ga=!1;function Ba(e,t){var n=Hu(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Ha(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function $a(e){if(Ga){var t=qa;if(t){var n=t;if(!Ha(e,t)){if(!(t=Kr(n.nextSibling))||!Ha(e,t))return e.flags=-1025&e.flags|2,Ga=!1,void(za=e);Ba(za,n)}za=e,qa=Kr(t.firstChild)}else e.flags=-1025&e.flags|2,Ga=!1,za=e}}function Va(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;za=e}function Wa(e){if(e!==za)return!1;if(!Ga)return Va(e),Ga=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Hr(t,e.memoizedProps))for(t=qa;t;)Ba(e,t),t=Kr(t.nextSibling);if(Va(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){qa=Kr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}qa=null}}else qa=za?Kr(e.stateNode.nextSibling):null;return!0}function Ka(){qa=za=null,Ga=!1}var Qa=[];function Za(){for(var e=0;e<Qa.length;e++)Qa[e]._workInProgressVersionPrimary=null;Qa.length=0}var Xa=E.ReactCurrentDispatcher,Ya=E.ReactCurrentBatchConfig,Ja=0,ei=null,ti=null,ni=null,ri=!1,oi=!1;function ai(){throw Error(i(321))}function ii(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!cr(e[n],t[n]))return!1;return!0}function li(e,t,n,r,o,a){if(Ja=a,ei=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Xa.current=null===e||null===e.memoizedState?Di:Ai,e=n(r,o),oi){a=0;do{if(oi=!1,!(25>a))throw Error(i(301));a+=1,ni=ti=null,t.updateQueue=null,Xa.current=Li,e=n(r,o)}while(oi)}if(Xa.current=Ri,t=null!==ti&&null!==ti.next,Ja=0,ni=ti=ei=null,ri=!1,t)throw Error(i(300));return e}function ui(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ni?ei.memoizedState=ni=e:ni=ni.next=e,ni}function si(){if(null===ti){var e=ei.alternate;e=null!==e?e.memoizedState:null}else e=ti.next;var t=null===ni?ei.memoizedState:ni.next;if(null!==t)ni=t,ti=e;else{if(null===e)throw Error(i(310));e={memoizedState:(ti=e).memoizedState,baseState:ti.baseState,baseQueue:ti.baseQueue,queue:ti.queue,next:null},null===ni?ei.memoizedState=ni=e:ni=ni.next=e}return ni}function ci(e,t){return"function"==typeof t?t(e):t}function fi(e){var t=si(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=ti,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var l=o.next;o.next=a.next,a.next=l}r.baseQueue=o=a,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var u=l=a=null,s=o;do{var c=s.lane;if((Ja&c)===c)null!==u&&(u=u.next={lane:0,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),r=s.eagerReducer===e?s.eagerState:e(r,s.action);else{var f={lane:c,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};null===u?(l=u=f,a=r):u=u.next=f,ei.lanes|=c,ql|=c}s=s.next}while(null!==s&&s!==o);null===u?a=r:u.next=l,cr(r,t.memoizedState)||(Ii=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=u,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function di(e){var t=si(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var l=o=o.next;do{a=e(a,l.action),l=l.next}while(l!==o);cr(a,t.memoizedState)||(Ii=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function pi(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=e.mutableReadLanes,(e=(Ja&e)===e)&&(t._workInProgressVersionPrimary=r,Qa.push(t))),e)return n(t._source);throw Qa.push(t),Error(i(350))}function hi(e,t,n,r){var o=Dl;if(null===o)throw Error(i(349));var a=t._getVersion,l=a(t._source),u=Xa.current,s=u.useState((function(){return pi(o,t,n)})),c=s[1],f=s[0];s=ni;var d=e.memoizedState,p=d.refs,h=p.getSnapshot,y=d.source;d=d.subscribe;var m=ei;return e.memoizedState={refs:p,source:t,subscribe:r},u.useEffect((function(){p.getSnapshot=n,p.setSnapshot=c;var e=a(t._source);if(!cr(l,e)){e=n(t._source),cr(f,e)||(c(e),e=pu(m),o.mutableReadLanes|=e&o.pendingLanes),e=o.mutableReadLanes,o.entangledLanes|=e;for(var r=o.entanglements,i=e;0<i;){var u=31-Ht(i),s=1<<u;r[u]|=e,i&=~s}}}),[n,t,r]),u.useEffect((function(){return r(t._source,(function(){var e=p.getSnapshot,n=p.setSnapshot;try{n(e(t._source));var r=pu(m);o.mutableReadLanes|=r&o.pendingLanes}catch(e){n((function(){throw e}))}}))}),[t,r]),cr(h,n)&&cr(y,t)&&cr(d,r)||((e={pending:null,dispatch:null,lastRenderedReducer:ci,lastRenderedState:f}).dispatch=c=ji.bind(null,ei,e),s.queue=e,s.baseQueue=null,f=pi(o,t,n),s.memoizedState=s.baseState=f),f}function yi(e,t,n){return hi(si(),e,t,n)}function mi(e){var t=ui();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ci,lastRenderedState:e}).dispatch=ji.bind(null,ei,e),[t.memoizedState,e]}function vi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ei.updateQueue)?(t={lastEffect:null},ei.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function gi(e){return e={current:e},ui().memoizedState=e}function bi(){return si().memoizedState}function wi(e,t,n,r){var o=ui();ei.flags|=e,o.memoizedState=vi(1|t,n,void 0,void 0===r?null:r)}function Ei(e,t,n,r){var o=si();r=void 0===r?null:r;var a=void 0;if(null!==ti){var i=ti.memoizedState;if(a=i.destroy,null!==r&&ii(r,i.deps))return void vi(t,n,a,r)}ei.flags|=e,o.memoizedState=vi(1|t,n,a,r)}function Si(e,t){return wi(516,4,e,t)}function xi(e,t){return Ei(516,4,e,t)}function ki(e,t){return Ei(4,2,e,t)}function Oi(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Fi(e,t,n){return n=null!=n?n.concat([e]):null,Ei(4,2,Oi.bind(null,t,e),n)}function Pi(){}function _i(e,t){var n=si();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ii(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ti(e,t){var n=si();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ii(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ci(e,t){var n=$o();Wo(98>n?98:n,(function(){e(!0)})),Wo(97<n?97:n,(function(){var n=Ya.transition;Ya.transition=1;try{e(!1),t()}finally{Ya.transition=n}}))}function ji(e,t,n){var r=du(),o=pu(e),a={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},i=t.pending;if(null===i?a.next=a:(a.next=i.next,i.next=a),t.pending=a,i=e.alternate,e===ei||null!==i&&i===ei)oi=ri=!0;else{if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var l=t.lastRenderedState,u=i(l,n);if(a.eagerReducer=i,a.eagerState=u,cr(u,l))return}catch(e){}hu(e,o,r)}}var Ri={readContext:la,useCallback:ai,useContext:ai,useEffect:ai,useImperativeHandle:ai,useLayoutEffect:ai,useMemo:ai,useReducer:ai,useRef:ai,useState:ai,useDebugValue:ai,useDeferredValue:ai,useTransition:ai,useMutableSource:ai,useOpaqueIdentifier:ai,unstable_isNewReconciler:!1},Di={readContext:la,useCallback:function(e,t){return ui().memoizedState=[e,void 0===t?null:t],e},useContext:la,useEffect:Si,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,wi(4,2,Oi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return wi(4,2,e,t)},useMemo:function(e,t){var n=ui();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ui();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ji.bind(null,ei,e),[r.memoizedState,e]},useRef:gi,useState:mi,useDebugValue:Pi,useDeferredValue:function(e){var t=mi(e),n=t[0],r=t[1];return Si((function(){var t=Ya.transition;Ya.transition=1;try{r(e)}finally{Ya.transition=t}}),[e]),n},useTransition:function(){var e=mi(!1),t=e[0];return gi(e=Ci.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=ui();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},hi(r,e,t,n)},useOpaqueIdentifier:function(){if(Ga){var e=!1,t=function(e){return{$$typeof:L,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(Zr++).toString(36))),Error(i(355))})),n=mi(t)[1];return 0==(2&ei.mode)&&(ei.flags|=516,vi(5,(function(){n("r:"+(Zr++).toString(36))}),void 0,null)),t}return mi(t="r:"+(Zr++).toString(36)),t},unstable_isNewReconciler:!1},Ai={readContext:la,useCallback:_i,useContext:la,useEffect:xi,useImperativeHandle:Fi,useLayoutEffect:ki,useMemo:Ti,useReducer:fi,useRef:bi,useState:function(){return fi(ci)},useDebugValue:Pi,useDeferredValue:function(e){var t=fi(ci),n=t[0],r=t[1];return xi((function(){var t=Ya.transition;Ya.transition=1;try{r(e)}finally{Ya.transition=t}}),[e]),n},useTransition:function(){var e=fi(ci)[0];return[bi().current,e]},useMutableSource:yi,useOpaqueIdentifier:function(){return fi(ci)[0]},unstable_isNewReconciler:!1},Li={readContext:la,useCallback:_i,useContext:la,useEffect:xi,useImperativeHandle:Fi,useLayoutEffect:ki,useMemo:Ti,useReducer:di,useRef:bi,useState:function(){return di(ci)},useDebugValue:Pi,useDeferredValue:function(e){var t=di(ci),n=t[0],r=t[1];return xi((function(){var t=Ya.transition;Ya.transition=1;try{r(e)}finally{Ya.transition=t}}),[e]),n},useTransition:function(){var e=di(ci)[0];return[bi().current,e]},useMutableSource:yi,useOpaqueIdentifier:function(){return di(ci)[0]},unstable_isNewReconciler:!1},Ni=E.ReactCurrentOwner,Ii=!1;function Mi(e,t,n,r){t.child=null===e?_a(t,null,n,r):Pa(t,e.child,n,r)}function Ui(e,t,n,r,o){n=n.render;var a=t.ref;return ia(t,o),r=li(e,t,n,r,a,o),null===e||Ii?(t.flags|=1,Mi(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,al(e,t,o))}function zi(e,t,n,r,o,a){if(null===e){var i=n.type;return"function"!=typeof i||$u(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Wu(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,qi(e,t,i,r,o,a))}return i=e.child,0==(o&a)&&(o=i.memoizedProps,(n=null!==(n=n.compare)?n:dr)(o,r)&&e.ref===t.ref)?al(e,t,a):(t.flags|=1,(e=Vu(i,r)).ref=t.ref,e.return=t,t.child=e)}function qi(e,t,n,r,o,a){if(null!==e&&dr(e.memoizedProps,r)&&e.ref===t.ref){if(Ii=!1,0==(a&o))return t.lanes=e.lanes,al(e,t,a);0!=(16384&e.flags)&&(Ii=!0)}return Hi(e,t,n,r,a)}function Gi(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},Su(t,n);else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},Su(t,e),null;t.memoizedState={baseLanes:0},Su(t,null!==a?a.baseLanes:n)}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,Su(t,r);return Mi(e,t,o,n),t.child}function Bi(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Hi(e,t,n,r,o){var a=go(n)?mo:ho.current;return a=vo(t,a),ia(t,o),n=li(e,t,n,r,a,o),null===e||Ii?(t.flags|=1,Mi(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,al(e,t,o))}function $i(e,t,n,r,o){if(go(n)){var a=!0;So(t)}else a=!1;if(ia(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),wa(t,n,r),Sa(t,n,r,o),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var u=i.context,s=n.contextType;"object"==typeof s&&null!==s?s=la(s):s=vo(t,s=go(n)?mo:ho.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;f||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||u!==s)&&Ea(t,i,r,s),ua=!1;var d=t.memoizedState;i.state=d,ha(t,r,i,o),u=t.memoizedState,l!==r||d!==u||yo.current||ua?("function"==typeof c&&(va(t,n,c,r),u=t.memoizedState),(l=ua||ba(t,n,l,r,d,u,s))?(f||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4)):("function"==typeof i.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=u),i.props=r,i.state=u,i.context=s,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4),r=!1)}else{i=t.stateNode,ca(e,t),l=t.memoizedProps,s=t.type===t.elementType?l:Yo(t.type,l),i.props=s,f=t.pendingProps,d=i.context,"object"==typeof(u=n.contextType)&&null!==u?u=la(u):u=vo(t,u=go(n)?mo:ho.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==f||d!==u)&&Ea(t,i,r,u),ua=!1,d=t.memoizedState,i.state=d,ha(t,r,i,o);var h=t.memoizedState;l!==f||d!==h||yo.current||ua?("function"==typeof p&&(va(t,n,p,r),h=t.memoizedState),(s=ua||ba(t,n,s,r,d,h,u))?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,u),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,u)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,i.context=u,r=s):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),r=!1)}return Vi(e,t,n,r,a,o)}function Vi(e,t,n,r,o,a){Bi(e,t);var i=0!=(64&t.flags);if(!r&&!i)return o&&xo(t,n,!1),al(e,t,a);r=t.stateNode,Ni.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Pa(t,e.child,null,a),t.child=Pa(t,null,l,a)):Mi(e,t,l,a),t.memoizedState=r.state,o&&xo(t,n,!0),t.child}function Wi(e){var t=e.stateNode;t.pendingContext?wo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&wo(0,t.context,!1),Aa(e,t.containerInfo)}var Ki,Qi,Zi,Xi={dehydrated:null,retryLane:0};function Yi(e,t,n){var r,o=t.pendingProps,a=Ma.current,i=!1;return(r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(i=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),fo(Ma,1&a),null===e?(void 0!==o.fallback&&$a(t),e=o.children,a=o.fallback,i?(e=Ji(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Xi,e):"number"==typeof o.unstable_expectedLoadTime?(e=Ji(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Xi,t.lanes=33554432,e):((n=Qu({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,i?(o=tl(e,t,o.children,o.fallback,n),i=t.child,a=e.child.memoizedState,i.memoizedState=null===a?{baseLanes:n}:{baseLanes:a.baseLanes|n},i.childLanes=e.childLanes&~n,t.memoizedState=Xi,o):(n=el(e,t,o.children,n),t.memoizedState=null,n))}function Ji(e,t,n,r){var o=e.mode,a=e.child;return t={mode:"hidden",children:t},0==(2&o)&&null!==a?(a.childLanes=0,a.pendingProps=t):a=Qu(t,o,0,null),n=Ku(n,o,r,null),a.return=e,n.return=e,a.sibling=n,e.child=a,n}function el(e,t,n,r){var o=e.child;return e=o.sibling,n=Vu(o,{mode:"visible",children:n}),0==(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function tl(e,t,n,r,o){var a=t.mode,i=e.child;e=i.sibling;var l={mode:"hidden",children:n};return 0==(2&a)&&t.child!==i?((n=t.child).childLanes=0,n.pendingProps=l,null!==(i=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=i,i.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Vu(i,l),null!==e?r=Vu(e,r):(r=Ku(r,a,o,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function nl(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),aa(e.return,t)}function rl(e,t,n,r,o,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o,i.lastEffect=a)}function ol(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(Mi(e,t,r.children,n),0!=(2&(r=Ma.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&nl(e,n);else if(19===e.tag)nl(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(fo(Ma,r),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Ua(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),rl(t,!1,o,n,a,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Ua(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}rl(t,!0,n,null,a,t.lastEffect);break;case"together":rl(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function al(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),ql|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Vu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Vu(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function il(e,t){if(!Ga)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ll(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return go(t.type)&&bo(),null;case 3:return La(),co(yo),co(ho),Za(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Wa(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Ia(t);var a=Da(Ra.current);if(n=t.type,null!==e&&null!=t.stateNode)Qi(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(i(166));return null}if(e=Da(Ca.current),Wa(t)){r=t.stateNode,n=t.type;var l=t.memoizedProps;switch(r[Yr]=t,r[Jr]=l,n){case"dialog":Cr("cancel",r),Cr("close",r);break;case"iframe":case"object":case"embed":Cr("load",r);break;case"video":case"audio":for(e=0;e<Fr.length;e++)Cr(Fr[e],r);break;case"source":Cr("error",r);break;case"img":case"image":case"link":Cr("error",r),Cr("load",r);break;case"details":Cr("toggle",r);break;case"input":ee(r,l),Cr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!l.multiple},Cr("invalid",r);break;case"textarea":ue(r,l),Cr("invalid",r)}for(var s in ke(n,l),e=null,l)l.hasOwnProperty(s)&&(a=l[s],"children"===s?"string"==typeof a?r.textContent!==a&&(e=["children",a]):"number"==typeof a&&r.textContent!==""+a&&(e=["children",""+a]):u.hasOwnProperty(s)&&null!=a&&"onScroll"===s&&Cr("scroll",r));switch(n){case"input":Z(r),re(r,l,!0);break;case"textarea":Z(r),ce(r);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(r.onclick=zr)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(s=9===a.nodeType?a:a.ownerDocument,e===fe&&(e=pe(n)),e===fe?"script"===n?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Yr]=t,e[Jr]=r,Ki(e,t),t.stateNode=e,s=Oe(n,r),n){case"dialog":Cr("cancel",e),Cr("close",e),a=r;break;case"iframe":case"object":case"embed":Cr("load",e),a=r;break;case"video":case"audio":for(a=0;a<Fr.length;a++)Cr(Fr[a],e);a=r;break;case"source":Cr("error",e),a=r;break;case"img":case"image":case"link":Cr("error",e),Cr("load",e),a=r;break;case"details":Cr("toggle",e),a=r;break;case"input":ee(e,r),a=J(e,r),Cr("invalid",e);break;case"option":a=ae(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=o({},r,{value:void 0}),Cr("invalid",e);break;case"textarea":ue(e,r),a=le(e,r),Cr("invalid",e);break;default:a=r}ke(n,a);var c=a;for(l in c)if(c.hasOwnProperty(l)){var f=c[l];"style"===l?Se(e,f):"dangerouslySetInnerHTML"===l?null!=(f=f?f.__html:void 0)&&ve(e,f):"children"===l?"string"==typeof f?("textarea"!==n||""!==f)&&ge(e,f):"number"==typeof f&&ge(e,""+f):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(u.hasOwnProperty(l)?null!=f&&"onScroll"===l&&Cr("scroll",e):null!=f&&w(e,l,f,s))}switch(n){case"input":Z(e),re(e,r,!1);break;case"textarea":Z(e),ce(e);break;case"option":null!=r.value&&e.setAttribute("value",""+K(r.value));break;case"select":e.multiple=!!r.multiple,null!=(l=r.value)?ie(e,!!r.multiple,l,!1):null!=r.defaultValue&&ie(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof a.onClick&&(e.onclick=zr)}Br(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Zi(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));n=Da(Ra.current),Da(Ca.current),Wa(t)?(r=t.stateNode,n=t.memoizedProps,r[Yr]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Yr]=t,t.stateNode=r)}return null;case 13:return co(Ma),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Wa(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Ma.current)?0===Ml&&(Ml=3):(0!==Ml&&3!==Ml||(Ml=4),null===Dl||0==(134217727&ql)&&0==(134217727&Gl)||gu(Dl,Ll))),(r||n)&&(t.flags|=4),null);case 4:return La(),null===e&&Rr(t.stateNode.containerInfo),null;case 10:return oa(t),null;case 19:if(co(Ma),null===(r=t.memoizedState))return null;if(l=0!=(64&t.flags),null===(s=r.rendering))if(l)il(r,!1);else{if(0!==Ml||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(s=Ua(e))){for(t.flags|=64,il(r,!1),null!==(l=s.updateQueue)&&(t.updateQueue=l,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(l=n).flags&=2,l.nextEffect=null,l.firstEffect=null,l.lastEffect=null,null===(s=l.alternate)?(l.childLanes=0,l.lanes=e,l.child=null,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=s.childLanes,l.lanes=s.lanes,l.child=s.child,l.memoizedProps=s.memoizedProps,l.memoizedState=s.memoizedState,l.updateQueue=s.updateQueue,l.type=s.type,e=s.dependencies,l.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return fo(Ma,1&Ma.current|2),t.child}e=e.sibling}null!==r.tail&&Ho()>Vl&&(t.flags|=64,l=!0,il(r,!1),t.lanes=33554432)}else{if(!l)if(null!==(e=Ua(s))){if(t.flags|=64,l=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),il(r,!0),null===r.tail&&"hidden"===r.tailMode&&!s.alternate&&!Ga)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Ho()-r.renderingStartTime>Vl&&1073741824!==n&&(t.flags|=64,l=!0,il(r,!1),t.lanes=33554432);r.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=r.last)?n.sibling=s:t.child=s,r.last=s)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Ho(),n.sibling=null,t=Ma.current,fo(Ma,l?1&t|2:1&t),n):null;case 23:case 24:return xu(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(i(156,t.tag))}function ul(e){switch(e.tag){case 1:go(e.type)&&bo();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(La(),co(yo),co(ho),Za(),0!=(64&(t=e.flags)))throw Error(i(285));return e.flags=-4097&t|64,e;case 5:return Ia(e),null;case 13:return co(Ma),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return co(Ma),null;case 4:return La(),null;case 10:return oa(e),null;case 23:case 24:return xu(),null;default:return null}}function sl(e,t){try{var n="",r=t;do{n+=V(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o}}function cl(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}Ki=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Qi=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,Da(Ca.current);var i,l=null;switch(n){case"input":a=J(e,a),r=J(e,r),l=[];break;case"option":a=ae(e,a),r=ae(e,r),l=[];break;case"select":a=o({},a,{value:void 0}),r=o({},r,{value:void 0}),l=[];break;case"textarea":a=le(e,a),r=le(e,r),l=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=zr)}for(f in ke(n,r),n=null,a)if(!r.hasOwnProperty(f)&&a.hasOwnProperty(f)&&null!=a[f])if("style"===f){var s=a[f];for(i in s)s.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==f&&"children"!==f&&"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(u.hasOwnProperty(f)?l||(l=[]):(l=l||[]).push(f,null));for(f in r){var c=r[f];if(s=null!=a?a[f]:void 0,r.hasOwnProperty(f)&&c!==s&&(null!=c||null!=s))if("style"===f)if(s){for(i in s)!s.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in c)c.hasOwnProperty(i)&&s[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(l||(l=[]),l.push(f,n)),n=c;else"dangerouslySetInnerHTML"===f?(c=c?c.__html:void 0,s=s?s.__html:void 0,null!=c&&s!==c&&(l=l||[]).push(f,c)):"children"===f?"string"!=typeof c&&"number"!=typeof c||(l=l||[]).push(f,""+c):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&(u.hasOwnProperty(f)?(null!=c&&"onScroll"===f&&Cr("scroll",e),l||s===c||(l=[])):"object"==typeof c&&null!==c&&c.$$typeof===L?c.toString():(l=l||[]).push(f,c))}n&&(l=l||[]).push("style",n);var f=l;(t.updateQueue=f)&&(t.flags|=4)}},Zi=function(e,t,n,r){n!==r&&(t.flags|=4)};var fl="function"==typeof WeakMap?WeakMap:Map;function dl(e,t,n){(n=fa(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Zl||(Zl=!0,Xl=r),cl(0,t)},n}function pl(e,t,n){(n=fa(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return cl(0,t),r(o)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Yl?Yl=new Set([this]):Yl.add(this),cl(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var hl="function"==typeof WeakSet?WeakSet:Set;function yl(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){zu(e,t)}else t.current=null}function ml(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Yo(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Wr(t.stateNode.containerInfo))}throw Error(i(163))}function vl(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;r=o.next,0!=(4&(o=o.tag))&&0!=(1&o)&&(Iu(n,e),Nu(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Yo(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&ya(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}ya(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Br(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&St(n)))))}throw Error(i(163))}function gl(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=null!=o&&o.hasOwnProperty("display")?o.display:null,r.style.display=Ee("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function bl(e,t){if(Oo&&"function"==typeof Oo.onCommitFiberUnmount)try{Oo.onCommitFiberUnmount(ko,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,void 0!==o)if(0!=(4&r))Iu(t,n);else{r=t;try{o()}catch(e){zu(r,e)}}n=n.next}while(n!==e)}break;case 1:if(yl(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){zu(t,e)}break;case 5:yl(t);break;case 4:Ol(e,t)}}function wl(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function El(e){return 5===e.tag||3===e.tag||4===e.tag}function Sl(e){e:{for(var t=e.return;null!==t;){if(El(t))break e;t=t.return}throw Error(i(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(i(161))}16&n.flags&&(ge(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||El(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?xl(e,n,t):kl(e,n,t)}function xl(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=zr));else if(4!==r&&null!==(e=e.child))for(xl(e,t,n),e=e.sibling;null!==e;)xl(e,t,n),e=e.sibling}function kl(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(kl(e,t,n),e=e.sibling;null!==e;)kl(e,t,n),e=e.sibling}function Ol(e,t){for(var n,r,o=t,a=!1;;){if(!a){a=o.return;e:for(;;){if(null===a)throw Error(i(160));switch(n=a.stateNode,a.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}a=a.return}a=!0}if(5===o.tag||6===o.tag){e:for(var l=e,u=o,s=u;;)if(bl(l,s),null!==s.child&&4!==s.tag)s.child.return=s,s=s.child;else{if(s===u)break e;for(;null===s.sibling;){if(null===s.return||s.return===u)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}r?(l=n,u=o.stateNode,8===l.nodeType?l.parentNode.removeChild(u):l.removeChild(u)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,r=!0,o.child.return=o,o=o.child;continue}}else if(bl(e,o),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(a=!1)}o.sibling.return=o.return,o=o.sibling}}function Fl(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3==(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var o=null!==e?e.memoizedProps:r;e=t.type;var a=t.updateQueue;if(t.updateQueue=null,null!==a){for(n[Jr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&te(n,r),Oe(e,o),t=Oe(e,r),o=0;o<a.length;o+=2){var l=a[o],u=a[o+1];"style"===l?Se(n,u):"dangerouslySetInnerHTML"===l?ve(n,u):"children"===l?ge(n,u):w(n,l,u,t)}switch(e){case"input":ne(n,r);break;case"textarea":se(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(a=r.value)?ie(n,!!r.multiple,a,!1):e!==!!r.multiple&&(null!=r.defaultValue?ie(n,!!r.multiple,r.defaultValue,!0):ie(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(i(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,St(n.containerInfo)));case 13:return null!==t.memoizedState&&($l=Ho(),gl(t.child,!0)),void Pl(t);case 19:return void Pl(t);case 23:case 24:return void gl(t,null!==t.memoizedState)}throw Error(i(163))}function Pl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new hl),t.forEach((function(t){var r=Gu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function _l(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var Tl=Math.ceil,Cl=E.ReactCurrentDispatcher,jl=E.ReactCurrentOwner,Rl=0,Dl=null,Al=null,Ll=0,Nl=0,Il=so(0),Ml=0,Ul=null,zl=0,ql=0,Gl=0,Bl=0,Hl=null,$l=0,Vl=1/0;function Wl(){Vl=Ho()+500}var Kl,Ql=null,Zl=!1,Xl=null,Yl=null,Jl=!1,eu=null,tu=90,nu=[],ru=[],ou=null,au=0,iu=null,lu=-1,uu=0,su=0,cu=null,fu=!1;function du(){return 0!=(48&Rl)?Ho():-1!==lu?lu:lu=Ho()}function pu(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===$o()?1:2;if(0===uu&&(uu=zl),0!==Xo.transition){0!==su&&(su=null!==Hl?Hl.pendingLanes:0),e=uu;var t=4186112&~su;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=$o(),0!=(4&Rl)&&98===e?e=zt(12,uu):e=zt(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),uu),e}function hu(e,t,n){if(50<au)throw au=0,iu=null,Error(i(185));if(null===(e=yu(e,t)))return null;Bt(e,t,n),e===Dl&&(Gl|=t,4===Ml&&gu(e,Ll));var r=$o();1===t?0!=(8&Rl)&&0==(48&Rl)?bu(e):(mu(e,n),0===Rl&&(Wl(),Qo())):(0==(4&Rl)||98!==r&&99!==r||(null===ou?ou=new Set([e]):ou.add(e)),mu(e,n)),Hl=e}function yu(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function mu(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,a=e.expirationTimes,l=e.pendingLanes;0<l;){var u=31-Ht(l),s=1<<u,c=a[u];if(-1===c){if(0==(s&r)||0!=(s&o)){c=t,It(s);var f=Nt;a[u]=10<=f?c+250:6<=f?c+5e3:-1}}else c<=t&&(e.expiredLanes|=s);l&=~s}if(r=Mt(e,e===Dl?Ll:0),t=Nt,0===r)null!==n&&(n!==Mo&&_o(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Mo&&_o(n)}15===t?(n=bu.bind(null,e),null===zo?(zo=[n],qo=Po(Do,Zo)):zo.push(n),n=Mo):14===t?n=Ko(99,bu.bind(null,e)):(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(i(358,e))}}(t),n=Ko(n,vu.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function vu(e){if(lu=-1,su=uu=0,0!=(48&Rl))throw Error(i(327));var t=e.callbackNode;if(Lu()&&e.callbackNode!==t)return null;var n=Mt(e,e===Dl?Ll:0);if(0===n)return null;var r=n,o=Rl;Rl|=16;var a=Fu();for(Dl===e&&Ll===r||(Wl(),ku(e,r));;)try{Tu();break}catch(t){Ou(e,t)}if(ra(),Cl.current=a,Rl=o,null!==Al?r=0:(Dl=null,Ll=0,r=Ml),0!=(zl&Gl))ku(e,0);else if(0!==r){if(2===r&&(Rl|=64,e.hydrate&&(e.hydrate=!1,Wr(e.containerInfo)),0!==(n=Ut(e))&&(r=Pu(e,n))),1===r)throw t=Ul,ku(e,0),gu(e,n),mu(e,Ho()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(i(345));case 2:case 5:Ru(e);break;case 3:if(gu(e,n),(62914560&n)===n&&10<(r=$l+500-Ho())){if(0!==Mt(e,0))break;if(((o=e.suspendedLanes)&n)!==n){du(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=$r(Ru.bind(null,e),r);break}Ru(e);break;case 4:if(gu(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var l=31-Ht(n);a=1<<l,(l=r[l])>o&&(o=l),n&=~a}if(n=o,10<(n=(120>(n=Ho()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Tl(n/1960))-n)){e.timeoutHandle=$r(Ru.bind(null,e),n);break}Ru(e);break;default:throw Error(i(329))}}return mu(e,Ho()),e.callbackNode===t?vu.bind(null,e):null}function gu(e,t){for(t&=~Bl,t&=~Gl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ht(t),r=1<<n;e[n]=-1,t&=~r}}function bu(e){if(0!=(48&Rl))throw Error(i(327));if(Lu(),e===Dl&&0!=(e.expiredLanes&Ll)){var t=Ll,n=Pu(e,t);0!=(zl&Gl)&&(n=Pu(e,t=Mt(e,t)))}else n=Pu(e,t=Mt(e,0));if(0!==e.tag&&2===n&&(Rl|=64,e.hydrate&&(e.hydrate=!1,Wr(e.containerInfo)),0!==(t=Ut(e))&&(n=Pu(e,t))),1===n)throw n=Ul,ku(e,0),gu(e,t),mu(e,Ho()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ru(e),mu(e,Ho()),null}function wu(e,t){var n=Rl;Rl|=1;try{return e(t)}finally{0===(Rl=n)&&(Wl(),Qo())}}function Eu(e,t){var n=Rl;Rl&=-2,Rl|=8;try{return e(t)}finally{0===(Rl=n)&&(Wl(),Qo())}}function Su(e,t){fo(Il,Nl),Nl|=t,zl|=t}function xu(){Nl=Il.current,co(Il)}function ku(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Vr(n)),null!==Al)for(n=Al.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&bo();break;case 3:La(),co(yo),co(ho),Za();break;case 5:Ia(r);break;case 4:La();break;case 13:case 19:co(Ma);break;case 10:oa(r);break;case 23:case 24:xu()}n=n.return}Dl=e,Al=Vu(e.current,null),Ll=Nl=zl=t,Ml=0,Ul=null,Bl=Gl=ql=0}function Ou(e,t){for(;;){var n=Al;try{if(ra(),Xa.current=Ri,ri){for(var r=ei.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ri=!1}if(Ja=0,ni=ti=ei=null,oi=!1,jl.current=null,null===n||null===n.return){Ml=1,Ul=t,Al=null;break}e:{var a=e,i=n.return,l=n,u=t;if(t=Ll,l.flags|=2048,l.firstEffect=l.lastEffect=null,null!==u&&"object"==typeof u&&"function"==typeof u.then){var s=u;if(0==(2&l.mode)){var c=l.alternate;c?(l.updateQueue=c.updateQueue,l.memoizedState=c.memoizedState,l.lanes=c.lanes):(l.updateQueue=null,l.memoizedState=null)}var f=0!=(1&Ma.current),d=i;do{var p;if(p=13===d.tag){var h=d.memoizedState;if(null!==h)p=null!==h.dehydrated;else{var y=d.memoizedProps;p=void 0!==y.fallback&&(!0!==y.unstable_avoidThisFallback||!f)}}if(p){var m=d.updateQueue;if(null===m){var v=new Set;v.add(s),d.updateQueue=v}else m.add(s);if(0==(2&d.mode)){if(d.flags|=64,l.flags|=16384,l.flags&=-2981,1===l.tag)if(null===l.alternate)l.tag=17;else{var g=fa(-1,1);g.tag=2,da(l,g)}l.lanes|=1;break e}u=void 0,l=t;var b=a.pingCache;if(null===b?(b=a.pingCache=new fl,u=new Set,b.set(s,u)):void 0===(u=b.get(s))&&(u=new Set,b.set(s,u)),!u.has(l)){u.add(l);var w=qu.bind(null,a,s,l);s.then(w,w)}d.flags|=4096,d.lanes=t;break e}d=d.return}while(null!==d);u=Error((W(l.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Ml&&(Ml=2),u=sl(u,l),d=i;do{switch(d.tag){case 3:a=u,d.flags|=4096,t&=-t,d.lanes|=t,pa(d,dl(0,a,t));break e;case 1:a=u;var E=d.type,S=d.stateNode;if(0==(64&d.flags)&&("function"==typeof E.getDerivedStateFromError||null!==S&&"function"==typeof S.componentDidCatch&&(null===Yl||!Yl.has(S)))){d.flags|=4096,t&=-t,d.lanes|=t,pa(d,pl(d,a,t));break e}}d=d.return}while(null!==d)}ju(n)}catch(e){t=e,Al===n&&null!==n&&(Al=n=n.return);continue}break}}function Fu(){var e=Cl.current;return Cl.current=Ri,null===e?Ri:e}function Pu(e,t){var n=Rl;Rl|=16;var r=Fu();for(Dl===e&&Ll===t||ku(e,t);;)try{_u();break}catch(t){Ou(e,t)}if(ra(),Rl=n,Cl.current=r,null!==Al)throw Error(i(261));return Dl=null,Ll=0,Ml}function _u(){for(;null!==Al;)Cu(Al)}function Tu(){for(;null!==Al&&!To();)Cu(Al)}function Cu(e){var t=Kl(e.alternate,e,Nl);e.memoizedProps=e.pendingProps,null===t?ju(e):Al=t,jl.current=null}function ju(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=ll(n,t,Nl)))return void(Al=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&Nl)||0==(4&n.mode)){for(var r=0,o=n.child;null!==o;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=ul(t)))return n.flags&=2047,void(Al=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Al=t);Al=t=e}while(null!==t);0===Ml&&(Ml=5)}function Ru(e){var t=$o();return Wo(99,Du.bind(null,e,t)),null}function Du(e,t){do{Lu()}while(null!==eu);if(0!=(48&Rl))throw Error(i(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,a=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var l=e.eventTimes,u=e.expirationTimes;0<a;){var s=31-Ht(a),c=1<<s;o[s]=0,l[s]=-1,u[s]=-1,a&=~c}if(null!==ou&&0==(24&r)&&ou.has(e)&&ou.delete(e),e===Dl&&(Al=Dl=null,Ll=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(o=Rl,Rl|=32,jl.current=null,qr=Qt,vr(l=mr())){if("selectionStart"in l)u={start:l.selectionStart,end:l.selectionEnd};else e:if(u=(u=l.ownerDocument)&&u.defaultView||window,(c=u.getSelection&&u.getSelection())&&0!==c.rangeCount){u=c.anchorNode,a=c.anchorOffset,s=c.focusNode,c=c.focusOffset;try{u.nodeType,s.nodeType}catch(e){u=null;break e}var f=0,d=-1,p=-1,h=0,y=0,m=l,v=null;t:for(;;){for(var g;m!==u||0!==a&&3!==m.nodeType||(d=f+a),m!==s||0!==c&&3!==m.nodeType||(p=f+c),3===m.nodeType&&(f+=m.nodeValue.length),null!==(g=m.firstChild);)v=m,m=g;for(;;){if(m===l)break t;if(v===u&&++h===a&&(d=f),v===s&&++y===c&&(p=f),null!==(g=m.nextSibling))break;v=(m=v).parentNode}m=g}u=-1===d||-1===p?null:{start:d,end:p}}else u=null;u=u||{start:0,end:0}}else u=null;Gr={focusedElem:l,selectionRange:u},Qt=!1,cu=null,fu=!1,Ql=r;do{try{Au()}catch(e){if(null===Ql)throw Error(i(330));zu(Ql,e),Ql=Ql.nextEffect}}while(null!==Ql);cu=null,Ql=r;do{try{for(l=e;null!==Ql;){var b=Ql.flags;if(16&b&&ge(Ql.stateNode,""),128&b){var w=Ql.alternate;if(null!==w){var E=w.ref;null!==E&&("function"==typeof E?E(null):E.current=null)}}switch(1038&b){case 2:Sl(Ql),Ql.flags&=-3;break;case 6:Sl(Ql),Ql.flags&=-3,Fl(Ql.alternate,Ql);break;case 1024:Ql.flags&=-1025;break;case 1028:Ql.flags&=-1025,Fl(Ql.alternate,Ql);break;case 4:Fl(Ql.alternate,Ql);break;case 8:Ol(l,u=Ql);var S=u.alternate;wl(u),null!==S&&wl(S)}Ql=Ql.nextEffect}}catch(e){if(null===Ql)throw Error(i(330));zu(Ql,e),Ql=Ql.nextEffect}}while(null!==Ql);if(E=Gr,w=mr(),b=E.focusedElem,l=E.selectionRange,w!==b&&b&&b.ownerDocument&&yr(b.ownerDocument.documentElement,b)){null!==l&&vr(b)&&(w=l.start,void 0===(E=l.end)&&(E=w),"selectionStart"in b?(b.selectionStart=w,b.selectionEnd=Math.min(E,b.value.length)):(E=(w=b.ownerDocument||document)&&w.defaultView||window).getSelection&&(E=E.getSelection(),u=b.textContent.length,S=Math.min(l.start,u),l=void 0===l.end?S:Math.min(l.end,u),!E.extend&&S>l&&(u=l,l=S,S=u),u=hr(b,S),a=hr(b,l),u&&a&&(1!==E.rangeCount||E.anchorNode!==u.node||E.anchorOffset!==u.offset||E.focusNode!==a.node||E.focusOffset!==a.offset)&&((w=w.createRange()).setStart(u.node,u.offset),E.removeAllRanges(),S>l?(E.addRange(w),E.extend(a.node,a.offset)):(w.setEnd(a.node,a.offset),E.addRange(w))))),w=[];for(E=b;E=E.parentNode;)1===E.nodeType&&w.push({element:E,left:E.scrollLeft,top:E.scrollTop});for("function"==typeof b.focus&&b.focus(),b=0;b<w.length;b++)(E=w[b]).element.scrollLeft=E.left,E.element.scrollTop=E.top}Qt=!!qr,Gr=qr=null,e.current=n,Ql=r;do{try{for(b=e;null!==Ql;){var x=Ql.flags;if(36&x&&vl(b,Ql.alternate,Ql),128&x){w=void 0;var k=Ql.ref;if(null!==k){var O=Ql.stateNode;Ql.tag,w=O,"function"==typeof k?k(w):k.current=w}}Ql=Ql.nextEffect}}catch(e){if(null===Ql)throw Error(i(330));zu(Ql,e),Ql=Ql.nextEffect}}while(null!==Ql);Ql=null,Uo(),Rl=o}else e.current=n;if(Jl)Jl=!1,eu=e,tu=t;else for(Ql=r;null!==Ql;)t=Ql.nextEffect,Ql.nextEffect=null,8&Ql.flags&&((x=Ql).sibling=null,x.stateNode=null),Ql=t;if(0===(r=e.pendingLanes)&&(Yl=null),1===r?e===iu?au++:(au=0,iu=e):au=0,n=n.stateNode,Oo&&"function"==typeof Oo.onCommitFiberRoot)try{Oo.onCommitFiberRoot(ko,n,void 0,64==(64&n.current.flags))}catch(e){}if(mu(e,Ho()),Zl)throw Zl=!1,e=Xl,Xl=null,e;return 0!=(8&Rl)||Qo(),null}function Au(){for(;null!==Ql;){var e=Ql.alternate;fu||null===cu||(0!=(8&Ql.flags)?et(Ql,cu)&&(fu=!0):13===Ql.tag&&_l(e,Ql)&&et(Ql,cu)&&(fu=!0));var t=Ql.flags;0!=(256&t)&&ml(e,Ql),0==(512&t)||Jl||(Jl=!0,Ko(97,(function(){return Lu(),null}))),Ql=Ql.nextEffect}}function Lu(){if(90!==tu){var e=97<tu?97:tu;return tu=90,Wo(e,Mu)}return!1}function Nu(e,t){nu.push(t,e),Jl||(Jl=!0,Ko(97,(function(){return Lu(),null})))}function Iu(e,t){ru.push(t,e),Jl||(Jl=!0,Ko(97,(function(){return Lu(),null})))}function Mu(){if(null===eu)return!1;var e=eu;if(eu=null,0!=(48&Rl))throw Error(i(331));var t=Rl;Rl|=32;var n=ru;ru=[];for(var r=0;r<n.length;r+=2){var o=n[r],a=n[r+1],l=o.destroy;if(o.destroy=void 0,"function"==typeof l)try{l()}catch(e){if(null===a)throw Error(i(330));zu(a,e)}}for(n=nu,nu=[],r=0;r<n.length;r+=2){o=n[r],a=n[r+1];try{var u=o.create;o.destroy=u()}catch(e){if(null===a)throw Error(i(330));zu(a,e)}}for(u=e.current.firstEffect;null!==u;)e=u.nextEffect,u.nextEffect=null,8&u.flags&&(u.sibling=null,u.stateNode=null),u=e;return Rl=t,Qo(),!0}function Uu(e,t,n){da(e,t=dl(0,t=sl(n,t),1)),t=du(),null!==(e=yu(e,1))&&(Bt(e,1,t),mu(e,t))}function zu(e,t){if(3===e.tag)Uu(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Uu(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Yl||!Yl.has(r))){var o=pl(n,e=sl(t,e),1);if(da(n,o),o=du(),null!==(n=yu(n,1)))Bt(n,1,o),mu(n,o);else if("function"==typeof r.componentDidCatch&&(null===Yl||!Yl.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function qu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=du(),e.pingedLanes|=e.suspendedLanes&n,Dl===e&&(Ll&n)===n&&(4===Ml||3===Ml&&(62914560&Ll)===Ll&&500>Ho()-$l?ku(e,0):Bl|=n),mu(e,t)}function Gu(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===$o()?1:2:(0===uu&&(uu=zl),0===(t=qt(62914560&~uu))&&(t=4194304))),n=du(),null!==(e=yu(e,t))&&(Bt(e,t,n),mu(e,n))}function Bu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Hu(e,t,n,r){return new Bu(e,t,n,r)}function $u(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Vu(e,t){var n=e.alternate;return null===n?((n=Hu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Wu(e,t,n,r,o,a){var l=2;if(r=e,"function"==typeof e)$u(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case k:return Ku(n.children,o,a,t);case N:l=8,o|=16;break;case O:l=8,o|=1;break;case F:return(e=Hu(12,n,t,8|o)).elementType=F,e.type=F,e.lanes=a,e;case C:return(e=Hu(13,n,t,o)).type=C,e.elementType=C,e.lanes=a,e;case j:return(e=Hu(19,n,t,o)).elementType=j,e.lanes=a,e;case I:return Qu(n,o,a,t);case M:return(e=Hu(24,n,t,o)).elementType=M,e.lanes=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case P:l=10;break e;case _:l=9;break e;case T:l=11;break e;case R:l=14;break e;case D:l=16,r=null;break e;case A:l=22;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Hu(l,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Ku(e,t,n,r){return(e=Hu(7,e,r,t)).lanes=n,e}function Qu(e,t,n,r){return(e=Hu(23,e,r,t)).elementType=I,e.lanes=n,e}function Zu(e,t,n){return(e=Hu(6,e,null,t)).lanes=n,e}function Xu(e,t,n){return(t=Hu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Yu(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Gt(0),this.expirationTimes=Gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Gt(0),this.mutableSourceEagerHydrationData=null}function Ju(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function es(e,t,n,r){var o=t.current,a=du(),l=pu(o);e:if(n){t:{if(Ze(n=n._reactInternals)!==n||1!==n.tag)throw Error(i(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(go(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw Error(i(171))}if(1===n.tag){var s=n.type;if(go(s)){n=Eo(n,s,u);break e}}n=u}else n=po;return null===t.context?t.context=n:t.pendingContext=n,(t=fa(a,l)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),da(o,t),hu(o,l,a),l}function ts(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function ns(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function rs(e,t){ns(e,t),(e=e.alternate)&&ns(e,t)}function os(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Yu(e,t,null!=n&&!0===n.hydrate),t=Hu(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,sa(t),e[eo]=n.current,Rr(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var o=(t=r[e])._getVersion;o=o(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=n}function as(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function is(e,t,n,r,o){var a=n._reactRootContainer;if(a){var i=a._internalRoot;if("function"==typeof o){var l=o;o=function(){var e=ts(i);l.call(e)}}es(t,i,e,o)}else{if(a=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new os(e,0,t?{hydrate:!0}:void 0)}(n,r),i=a._internalRoot,"function"==typeof o){var u=o;o=function(){var e=ts(i);u.call(e)}}Eu((function(){es(t,i,e,o)}))}return ts(i)}function ls(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!as(t))throw Error(i(200));return Ju(e,t,null,n)}Kl=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||yo.current)Ii=!0;else{if(0==(n&r)){switch(Ii=!1,t.tag){case 3:Wi(t),Ka();break;case 5:Na(t);break;case 1:go(t.type)&&So(t);break;case 4:Aa(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;fo(Jo,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?Yi(e,t,n):(fo(Ma,1&Ma.current),null!==(t=al(e,t,n))?t.sibling:null);fo(Ma,1&Ma.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return ol(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),fo(Ma,Ma.current),r)break;return null;case 23:case 24:return t.lanes=0,Gi(e,t,n)}return al(e,t,n)}Ii=0!=(16384&e.flags)}else Ii=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=vo(t,ho.current),ia(t,n),o=li(null,t,r,e,o,n),t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,go(r)){var a=!0;So(t)}else a=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,sa(t);var l=r.getDerivedStateFromProps;"function"==typeof l&&va(t,r,l,e),o.updater=ga,t.stateNode=o,o._reactInternals=t,Sa(t,r,e,n),t=Vi(null,t,r,!0,a,n)}else t.tag=0,Mi(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=(a=o._init)(o._payload),t.type=o,a=t.tag=function(e){if("function"==typeof e)return $u(e)?1:0;if(null!=e){if((e=e.$$typeof)===T)return 11;if(e===R)return 14}return 2}(o),e=Yo(o,e),a){case 0:t=Hi(null,t,o,e,n);break e;case 1:t=$i(null,t,o,e,n);break e;case 11:t=Ui(null,t,o,e,n);break e;case 14:t=zi(null,t,o,Yo(o.type,e),r,n);break e}throw Error(i(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Hi(e,t,r,o=t.elementType===r?o:Yo(r,o),n);case 1:return r=t.type,o=t.pendingProps,$i(e,t,r,o=t.elementType===r?o:Yo(r,o),n);case 3:if(Wi(t),r=t.updateQueue,null===e||null===r)throw Error(i(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,ca(e,t),ha(t,r,null,n),(r=t.memoizedState.element)===o)Ka(),t=al(e,t,n);else{if((a=(o=t.stateNode).hydrate)&&(qa=Kr(t.stateNode.containerInfo.firstChild),za=t,a=Ga=!0),a){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(a=e[o])._workInProgressVersionPrimary=e[o+1],Qa.push(a);for(n=_a(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Mi(e,t,r,n),Ka();t=t.child}return t;case 5:return Na(t),null===e&&$a(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,l=o.children,Hr(r,o)?l=null:null!==a&&Hr(r,a)&&(t.flags|=16),Bi(e,t),Mi(e,t,l,n),t.child;case 6:return null===e&&$a(t),null;case 13:return Yi(e,t,n);case 4:return Aa(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Pa(t,null,r,n):Mi(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Ui(e,t,r,o=t.elementType===r?o:Yo(r,o),n);case 7:return Mi(e,t,t.pendingProps,n),t.child;case 8:case 12:return Mi(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,l=t.memoizedProps,a=o.value;var u=t.type._context;if(fo(Jo,u._currentValue),u._currentValue=a,null!==l)if(u=l.value,0===(a=cr(u,a)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,a):1073741823))){if(l.children===o.children&&!yo.current){t=al(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var s=u.dependencies;if(null!==s){l=u.child;for(var c=s.firstContext;null!==c;){if(c.context===r&&0!=(c.observedBits&a)){1===u.tag&&((c=fa(-1,n&-n)).tag=2,da(u,c)),u.lanes|=n,null!==(c=u.alternate)&&(c.lanes|=n),aa(u.return,n),s.lanes|=n;break}c=c.next}}else l=10===u.tag&&u.type===t.type?null:u.child;if(null!==l)l.return=u;else for(l=u;null!==l;){if(l===t){l=null;break}if(null!==(u=l.sibling)){u.return=l.return,l=u;break}l=l.return}u=l}Mi(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(a=t.pendingProps).children,ia(t,n),r=r(o=la(o,a.unstable_observedBits)),t.flags|=1,Mi(e,t,r,n),t.child;case 14:return a=Yo(o=t.type,t.pendingProps),zi(e,t,o,a=Yo(o.type,a),r,n);case 15:return qi(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Yo(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,go(r)?(e=!0,So(t)):e=!1,ia(t,n),wa(t,r,o),Sa(t,r,o,n),Vi(null,t,r,!0,e,n);case 19:return ol(e,t,n);case 23:case 24:return Gi(e,t,n)}throw Error(i(156,t.tag))},os.prototype.render=function(e){es(e,this._internalRoot,null,null)},os.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;es(null,e,null,(function(){t[eo]=null}))},tt=function(e){13===e.tag&&(hu(e,4,du()),rs(e,4))},nt=function(e){13===e.tag&&(hu(e,67108864,du()),rs(e,67108864))},rt=function(e){if(13===e.tag){var t=du(),n=pu(e);hu(e,n,t),rs(e,n)}},ot=function(e,t){return t()},Pe=function(e,t,n){switch(t){case"input":if(ne(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=ao(r);if(!o)throw Error(i(90));X(r),ne(r,o)}}}break;case"textarea":se(e,n);break;case"select":null!=(t=n.value)&&ie(e,!!n.multiple,t,!1)}},De=wu,Ae=function(e,t,n,r,o){var a=Rl;Rl|=4;try{return Wo(98,e.bind(null,t,n,r,o))}finally{0===(Rl=a)&&(Wl(),Qo())}},Le=function(){0==(49&Rl)&&(function(){if(null!==ou){var e=ou;ou=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,mu(e,Ho())}))}Qo()}(),Lu())},Ne=function(e,t){var n=Rl;Rl|=2;try{return e(t)}finally{0===(Rl=n)&&(Wl(),Qo())}};var us={Events:[ro,oo,ao,je,Re,Lu,{current:!1}]},ss={findFiberByHostInstance:no,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},cs={bundleType:ss.bundleType,version:ss.version,rendererPackageName:ss.rendererPackageName,rendererConfig:ss.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:E.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Je(e))?null:e.stateNode},findFiberByHostInstance:ss.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var fs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!fs.isDisabled&&fs.supportsFiber)try{ko=fs.inject(cs),Oo=fs}catch(me){}}t.render=function(e,t,n){if(!as(t))throw Error(i(200));return is(null,e,t,!1,n)},t.unstable_batchedUpdates=wu},3935:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(4448)},463:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>be});var r=n(7294),o=n(5697),a=n.n(o);function i(e,t,n,r){return new(n||(n=Promise))((function(o,a){function i(e){try{u(r.next(e))}catch(e){a(e)}}function l(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}u((r=r.apply(e,t||[])).next())}))}function l(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}}Object.create;function u(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,a=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)i.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}return i}function s(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;var c=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function f(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=c.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof n.path){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"==typeof t?t:"string"==typeof r&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var d=[".DS_Store","Thumbs.db"];function p(e){return"object"==typeof e&&null!==e}function h(e){return g(e.target.files).map((function(e){return f(e)}))}function y(e){return i(this,void 0,void 0,(function(){return l(this,(function(t){switch(t.label){case 0:return[4,Promise.all(e.map((function(e){return e.getFile()})))];case 1:return[2,t.sent().map((function(e){return f(e)}))]}}))}))}function m(e,t){return i(this,void 0,void 0,(function(){var n;return l(this,(function(r){switch(r.label){case 0:return e.items?(n=g(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(b))]):[3,2];case 1:return[2,v(w(r.sent()))];case 2:return[2,v(g(e.files).map((function(e){return f(e)})))]}}))}))}function v(e){return e.filter((function(e){return-1===d.indexOf(e.name)}))}function g(e){if(null===e)return[];for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function b(e){if("function"!=typeof e.webkitGetAsEntry)return E(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?x(t):E(e)}function w(e){return e.reduce((function(e,t){return s(s([],u(e),!1),u(Array.isArray(t)?w(t):[t]),!1)}),[])}function E(e){var t=e.getAsFile();if(!t)return Promise.reject("".concat(e," is not a File"));var n=f(t);return Promise.resolve(n)}function S(e){return i(this,void 0,void 0,(function(){return l(this,(function(t){return[2,e.isDirectory?x(e):k(e)]}))}))}function x(e){var t=e.createReader();return new Promise((function(e,n){var r=[];!function o(){var a=this;t.readEntries((function(t){return i(a,void 0,void 0,(function(){var a,i,u;return l(this,(function(l){switch(l.label){case 0:if(t.length)return[3,5];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,Promise.all(r)];case 2:return a=l.sent(),e(a),[3,4];case 3:return i=l.sent(),n(i),[3,4];case 4:return[3,6];case 5:u=Promise.all(t.map(S)),r.push(u),o(),l.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function k(e){return i(this,void 0,void 0,(function(){return l(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var r=f(n,e.fullPath);t(r)}),(function(e){n(e)}))}))]}))}))}var O=n(8363);function F(e){return function(e){if(Array.isArray(e))return R(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||j(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||j(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(e,t){if(e){if("string"==typeof e)return R(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?R(e,t):void 0}}function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var D="file-invalid-type",A="file-too-large",L="file-too-small",N="too-many-files",I=function(e){e=Array.isArray(e)&&1===e.length?e[0]:e;var t=Array.isArray(e)?"one of ".concat(e.join(", ")):e;return{code:D,message:"File type must be ".concat(t)}},M=function(e){return{code:A,message:"File is larger than ".concat(e," ").concat(1===e?"byte":"bytes")}},U=function(e){return{code:L,message:"File is smaller than ".concat(e," ").concat(1===e?"byte":"bytes")}},z={code:N,message:"Too many files"};function q(e,t){var n="application/x-moz-file"===e.type||(0,O.Z)(e,t);return[n,n?null:I(t)]}function G(e,t,n){if(B(e.size))if(B(t)&&B(n)){if(e.size>n)return[!1,M(n)];if(e.size<t)return[!1,U(t)]}else{if(B(t)&&e.size<t)return[!1,U(t)];if(B(n)&&e.size>n)return[!1,M(n)]}return[!0,null]}function B(e){return null!=e}function H(e){var t=e.files,n=e.accept,r=e.minSize,o=e.maxSize,a=e.multiple,i=e.maxFiles,l=e.validator;return!(!a&&t.length>1||a&&i>=1&&t.length>i)&&t.every((function(e){var t=C(q(e,n),1)[0],a=C(G(e,r,o),1)[0],i=l?l(e):null;return t&&a&&!i}))}function $(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function V(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function W(e){e.preventDefault()}function K(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function Q(e){return-1!==e.indexOf("Edge/")}function Z(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return K(e)||Q(e)}function X(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.some((function(t){return!$(e)&&t&&t.apply(void 0,[e].concat(r)),$(e)}))}}function Y(){return"showOpenFilePicker"in window}function J(e){return B(e)?[{description:"Files",accept:Object.entries(e).filter((function(e){var t=C(e,2),n=t[0],r=t[1],o=!0;return re(n)||(console.warn('Skipped "'.concat(n,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),o=!1),Array.isArray(r)&&r.every(oe)||(console.warn('Skipped "'.concat(n,'" because an invalid file extension was provided.')),o=!1),o})).reduce((function(e,t){var n=C(t,2),r=n[0],o=n[1];return _(_({},e),{},T({},r,o))}),{})}]:e}function ee(e){if(B(e))return Object.entries(e).reduce((function(e,t){var n=C(t,2),r=n[0],o=n[1];return[].concat(F(e),[r],F(o))}),[]).filter((function(e){return re(e)||oe(e)})).join(",")}function te(e){return e instanceof DOMException&&("AbortError"===e.name||e.code===e.ABORT_ERR)}function ne(e){return e instanceof DOMException&&("SecurityError"===e.name||e.code===e.SECURITY_ERR)}function re(e){return"audio/*"===e||"video/*"===e||"image/*"===e||"text/*"===e||/\w+\/[-+.\w]+/g.test(e)}function oe(e){return/^.*\.[\w]+$/.test(e)}var ae=["children"],ie=["open"],le=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],ue=["refKey","onChange","onClick"];function se(e){return function(e){if(Array.isArray(e))return de(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||fe(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ce(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||fe(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fe(e,t){if(e){if("string"==typeof e)return de(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?de(e,t):void 0}}function de(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function he(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pe(Object(n),!0).forEach((function(t){ye(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function me(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var ve=(0,r.forwardRef)((function(e,t){var n=e.children,o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=he(he({},ge),e),n=t.accept,o=t.disabled,a=t.getFilesFromEvent,i=t.maxSize,l=t.minSize,u=t.multiple,s=t.maxFiles,c=t.onDragEnter,f=t.onDragLeave,d=t.onDragOver,p=t.onDrop,h=t.onDropAccepted,y=t.onDropRejected,m=t.onFileDialogCancel,v=t.onFileDialogOpen,g=t.useFsAccessApi,b=t.autoFocus,w=t.preventDropOnDocument,E=t.noClick,S=t.noKeyboard,x=t.noDrag,k=t.noDragEventsBubbling,O=t.onError,F=t.validator,P=(0,r.useMemo)((function(){return ee(n)}),[n]),_=(0,r.useMemo)((function(){return J(n)}),[n]),T=(0,r.useMemo)((function(){return"function"==typeof v?v:Se}),[v]),C=(0,r.useMemo)((function(){return"function"==typeof m?m:Se}),[m]),j=(0,r.useRef)(null),R=(0,r.useRef)(null),D=ce((0,r.useReducer)(Ee,we),2),A=D[0],L=D[1],N=A.isFocused,I=A.isFileDialogActive,M=(0,r.useRef)("undefined"!=typeof window&&window.isSecureContext&&g&&Y()),U=function(){!M.current&&I&&setTimeout((function(){R.current&&(R.current.files.length||(L({type:"closeDialog"}),C()))}),300)};(0,r.useEffect)((function(){return window.addEventListener("focus",U,!1),function(){window.removeEventListener("focus",U,!1)}}),[R,I,C,M]);var B=(0,r.useRef)([]),K=function(e){j.current&&j.current.contains(e.target)||(e.preventDefault(),B.current=[])};(0,r.useEffect)((function(){return w&&(document.addEventListener("dragover",W,!1),document.addEventListener("drop",K,!1)),function(){w&&(document.removeEventListener("dragover",W),document.removeEventListener("drop",K))}}),[j,w]),(0,r.useEffect)((function(){return!o&&b&&j.current&&j.current.focus(),function(){}}),[j,b,o]);var Q=(0,r.useCallback)((function(e){O?O(e):console.error(e)}),[O]),re=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),Pe(e),B.current=[].concat(se(B.current),[e.target]),V(e)&&Promise.resolve(a(e)).then((function(t){if(!$(e)||k){var n=t.length,r=n>0&&H({files:t,accept:P,minSize:l,maxSize:i,multiple:u,maxFiles:s,validator:F});L({isDragAccept:r,isDragReject:n>0&&!r,isDragActive:!0,type:"setDraggedFiles"}),c&&c(e)}})).catch((function(e){return Q(e)}))}),[a,c,Q,k,P,l,i,u,s,F]),oe=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),Pe(e);var t=V(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return t&&d&&d(e),!1}),[d,k]),ae=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),Pe(e);var t=B.current.filter((function(e){return j.current&&j.current.contains(e)})),n=t.indexOf(e.target);-1!==n&&t.splice(n,1),B.current=t,t.length>0||(L({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),V(e)&&f&&f(e))}),[j,f,k]),ie=(0,r.useCallback)((function(e,t){var n=[],r=[];e.forEach((function(e){var t=ce(q(e,P),2),o=t[0],a=t[1],u=ce(G(e,l,i),2),s=u[0],c=u[1],f=F?F(e):null;if(o&&s&&!f)n.push(e);else{var d=[a,c];f&&(d=d.concat(f)),r.push({file:e,errors:d.filter((function(e){return e}))})}})),(!u&&n.length>1||u&&s>=1&&n.length>s)&&(n.forEach((function(e){r.push({file:e,errors:[z]})})),n.splice(0)),L({acceptedFiles:n,fileRejections:r,type:"setFiles"}),p&&p(n,r,t),r.length>0&&y&&y(r,t),n.length>0&&h&&h(n,t)}),[L,u,P,l,i,s,p,h,y,F]),fe=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),Pe(e),B.current=[],V(e)&&Promise.resolve(a(e)).then((function(t){$(e)&&!k||ie(t,e)})).catch((function(e){return Q(e)})),L({type:"reset"})}),[a,ie,Q,k]),de=(0,r.useCallback)((function(){if(M.current){L({type:"openDialog"}),T();var e={multiple:u,types:_};window.showOpenFilePicker(e).then((function(e){return a(e)})).then((function(e){ie(e,null),L({type:"closeDialog"})})).catch((function(e){te(e)?(C(e),L({type:"closeDialog"})):ne(e)?(M.current=!1,R.current?(R.current.value=null,R.current.click()):Q(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):Q(e)}))}else R.current&&(L({type:"openDialog"}),T(),R.current.value=null,R.current.click())}),[L,T,C,g,ie,Q,_,u]),pe=(0,r.useCallback)((function(e){j.current&&j.current.isEqualNode(e.target)&&(" "!==e.key&&"Enter"!==e.key&&32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),de()))}),[j,de]),ve=(0,r.useCallback)((function(){L({type:"focus"})}),[]),be=(0,r.useCallback)((function(){L({type:"blur"})}),[]),xe=(0,r.useCallback)((function(){E||(Z()?setTimeout(de,0):de())}),[E,de]),ke=function(e){return o?null:e},Oe=function(e){return S?null:ke(e)},Fe=function(e){return x?null:ke(e)},Pe=function(e){k&&e.stopPropagation()},_e=(0,r.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.role,a=e.onKeyDown,i=e.onFocus,l=e.onBlur,u=e.onClick,s=e.onDragEnter,c=e.onDragOver,f=e.onDragLeave,d=e.onDrop,p=me(e,le);return he(he(ye({onKeyDown:Oe(X(a,pe)),onFocus:Oe(X(i,ve)),onBlur:Oe(X(l,be)),onClick:ke(X(u,xe)),onDragEnter:Fe(X(s,re)),onDragOver:Fe(X(c,oe)),onDragLeave:Fe(X(f,ae)),onDrop:Fe(X(d,fe)),role:"string"==typeof r&&""!==r?r:"presentation"},n,j),o||S?{}:{tabIndex:0}),p)}}),[j,pe,ve,be,xe,re,oe,ae,fe,S,x,o]),Te=(0,r.useCallback)((function(e){e.stopPropagation()}),[]),Ce=(0,r.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.onChange,o=e.onClick,a=me(e,ue);return he(he({},ye({accept:P,multiple:u,type:"file",style:{display:"none"},onChange:ke(X(r,fe)),onClick:ke(X(o,Te)),tabIndex:-1},n,R)),a)}}),[R,n,u,fe,o]);return he(he({},A),{},{isFocused:N&&!o,getRootProps:_e,getInputProps:Ce,rootRef:j,inputRef:R,open:ke(de)})}(me(e,ae)),a=o.open,i=me(o,ie);return(0,r.useImperativeHandle)(t,(function(){return{open:a}}),[a]),r.createElement(r.Fragment,null,n(he(he({},i),{},{open:a})))}));ve.displayName="Dropzone";var ge={disabled:!1,getFilesFromEvent:function(e){return i(this,void 0,void 0,(function(){return l(this,(function(t){return p(e)&&p(e.dataTransfer)?[2,m(e.dataTransfer,e.type)]:function(e){return p(e)&&p(e.target)}(e)?[2,h(e)]:Array.isArray(e)&&e.every((function(e){return"getFile"in e&&"function"==typeof e.getFile}))?[2,y(e)]:[2,[]]}))}))},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};ve.defaultProps=ge,ve.propTypes={children:a().func,accept:a().objectOf(a().arrayOf(a().string)),multiple:a().bool,preventDropOnDocument:a().bool,noClick:a().bool,noKeyboard:a().bool,noDrag:a().bool,noDragEventsBubbling:a().bool,minSize:a().number,maxSize:a().number,maxFiles:a().number,disabled:a().bool,getFilesFromEvent:a().func,onFileDialogCancel:a().func,onFileDialogOpen:a().func,useFsAccessApi:a().bool,autoFocus:a().bool,onDragEnter:a().func,onDragLeave:a().func,onDragOver:a().func,onDrop:a().func,onDropAccepted:a().func,onDropRejected:a().func,onError:a().func,validator:a().func};const be=ve;var we={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function Ee(e,t){switch(t.type){case"focus":return he(he({},e),{},{isFocused:!0});case"blur":return he(he({},e),{},{isFocused:!1});case"openDialog":return he(he({},we),{},{isFileDialogActive:!0});case"closeDialog":return he(he({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return he(he({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return he(he({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return he({},we);default:return e}}function Se(){}},9921:(e,t)=>{"use strict";
35
  /** @license React v16.13.1
36
  * react-is.production.min.js
37
  *
39
  *
40
  * This source code is licensed under the MIT license found in the
41
  * LICENSE file in the root directory of this source tree.
42
+ */var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,s=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,y=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,g=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case f:case a:case l:case i:case p:return e;default:switch(e=e&&e.$$typeof){case s:case d:case m:case y:case u:return e;default:return t}}case o:return t}}}function S(e){return E(e)===f}t.AsyncMode=c,t.ConcurrentMode=f,t.ContextConsumer=s,t.ContextProvider=u,t.Element=r,t.ForwardRef=d,t.Fragment=a,t.Lazy=m,t.Memo=y,t.Portal=o,t.Profiler=l,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return S(e)||E(e)===c},t.isConcurrentMode=S,t.isContextConsumer=function(e){return E(e)===s},t.isContextProvider=function(e){return E(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return E(e)===d},t.isFragment=function(e){return E(e)===a},t.isLazy=function(e){return E(e)===m},t.isMemo=function(e){return E(e)===y},t.isPortal=function(e){return E(e)===o},t.isProfiler=function(e){return E(e)===l},t.isStrictMode=function(e){return E(e)===i},t.isSuspense=function(e){return E(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===l||e===i||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===y||e.$$typeof===u||e.$$typeof===s||e.$$typeof===d||e.$$typeof===g||e.$$typeof===b||e.$$typeof===w||e.$$typeof===v)},t.typeOf=E},9864:(e,t,n)=>{"use strict";e.exports=n(9921)},6706:(e,t,n)=>{"use strict";n.d(t,{zt:()=>A,$j:()=>D});var r=n(1688),o=n(2798),a=n(3935);let i=function(e){e()};const l=()=>i;var u=n(7294);const s=(0,u.createContext)(null);let c=null;var f=n(7462),d=n(3366),p=n(8679),h=n.n(p),y=n(2973);const m=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function v(e,t,n,r,{areStatesEqual:o,areOwnPropsEqual:a,areStatePropsEqual:i}){let l,u,s,c,f,d=!1;function p(d,p){const h=!a(p,u),y=!o(d,l,p,u);return l=d,u=p,h&&y?(s=e(l,u),t.dependsOnOwnProps&&(c=t(r,u)),f=n(s,c,u),f):h?(e.dependsOnOwnProps&&(s=e(l,u)),t.dependsOnOwnProps&&(c=t(r,u)),f=n(s,c,u),f):y?function(){const t=e(l,u),r=!i(t,s);return s=t,r&&(f=n(s,c,u)),f}():f}return function(o,a){return d?p(o,a):(l=o,u=a,s=e(l,u),c=t(r,u),f=n(s,c,u),d=!0,f)}}function g(e){return function(t){const n=e(t);function r(){return n}return r.dependsOnOwnProps=!1,r}}function b(e){return e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function w(e,t){return function(t,{displayName:n}){const r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e,void 0)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=b(e);let o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=b(o),o=r(t,n)),o},r}}function E(e,t){return(n,r)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}function S(e,t,n){return(0,f.Z)({},n,e,t)}const x={notify(){},get:()=>[]};function k(e,t){let n,r=x;function o(){i.onStateChange&&i.onStateChange()}function a(){n||(n=t?t.addNestedSub(o):e.subscribe(o),r=function(){const e=l();let t=null,n=null;return{clear(){t=null,n=null},notify(){e((()=>{let e=t;for(;e;)e.callback(),e=e.next}))},get(){let e=[],n=t;for(;n;)e.push(n),n=n.next;return e},subscribe(e){let r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}const i={addNestedSub:function(e){return a(),r.subscribe(e)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:o,isSubscribed:function(){return Boolean(n)},trySubscribe:a,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=x)},getListeners:()=>r};return i}const O=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement)?u.useLayoutEffect:u.useEffect;function F(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function P(e,t){if(F(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!F(e[n[r]],t[n[r]]))return!1;return!0}const _=["reactReduxForwardedRef"];let T=()=>{throw new Error("uSES not initialized!")};const C=[null,null];function j(e,t,n,r,o,a){e.current=r,n.current=!1,o.current&&(o.current=null,a())}function R(e,t){return e===t}const D=function(e,t,n,{pure:r,areStatesEqual:o=R,areOwnPropsEqual:a=P,areStatePropsEqual:i=P,areMergedPropsEqual:l=P,forwardRef:c=!1,context:p=s}={}){const b=p,x=function(e){return e?"function"==typeof e?w(e):E(e,"mapStateToProps"):g((()=>({})))}(e),F=function(e){return e&&"object"==typeof e?g((t=>function(e,t){const n={};for(const r in e){const o=e[r];"function"==typeof o&&(n[r]=(...e)=>t(o(...e)))}return n}(e,t))):e?"function"==typeof e?w(e):E(e,"mapDispatchToProps"):g((e=>({dispatch:e})))}(t),D=function(e){return e?"function"==typeof e?function(e){return function(t,{displayName:n,areMergedPropsEqual:r}){let o,a=!1;return function(t,n,i){const l=e(t,n,i);return a?r(l,o)||(o=l):(a=!0,o=l),o}}}(e):E(e,"mergeProps"):()=>S}(n),A=Boolean(e);return e=>{const t=e.displayName||e.name||"Component",n=`Connect(${t})`,r={shouldHandleStateChanges:A,displayName:n,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:x,initMapDispatchToProps:F,initMergeProps:D,areStatesEqual:o,areStatePropsEqual:i,areOwnPropsEqual:a,areMergedPropsEqual:l};function s(t){const[n,o,a]=(0,u.useMemo)((()=>{const{reactReduxForwardedRef:e}=t,n=(0,d.Z)(t,_);return[t.context,e,n]}),[t]),i=(0,u.useMemo)((()=>n&&n.Consumer&&(0,y.isContextConsumer)(u.createElement(n.Consumer,null))?n:b),[n,b]),l=(0,u.useContext)(i),s=Boolean(t.store)&&Boolean(t.store.getState)&&Boolean(t.store.dispatch),c=Boolean(l)&&Boolean(l.store);const p=s?t.store:l.store,h=c?l.getServerState:p.getState,g=(0,u.useMemo)((()=>function(e,t){let{initMapStateToProps:n,initMapDispatchToProps:r,initMergeProps:o}=t,a=(0,d.Z)(t,m);return v(n(e,a),r(e,a),o(e,a),e,a)}(p.dispatch,r)),[p]),[w,E]=(0,u.useMemo)((()=>{if(!A)return C;const e=k(p,s?void 0:l.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[p,s,l]),S=(0,u.useMemo)((()=>s?l:(0,f.Z)({},l,{subscription:w})),[s,l,w]),x=(0,u.useRef)(),F=(0,u.useRef)(a),P=(0,u.useRef)(),R=(0,u.useRef)(!1),D=((0,u.useRef)(!1),(0,u.useRef)(!1)),L=(0,u.useRef)();O((()=>(D.current=!0,()=>{D.current=!1})),[]);const N=(0,u.useMemo)((()=>()=>P.current&&a===F.current?P.current:g(p.getState(),a)),[p,a]),I=(0,u.useMemo)((()=>e=>w?function(e,t,n,r,o,a,i,l,u,s,c){if(!e)return()=>{};let f=!1,d=null;const p=()=>{if(f||!l.current)return;const e=t.getState();let n,p;try{n=r(e,o.current)}catch(e){p=e,d=e}p||(d=null),n===a.current?i.current||s():(a.current=n,u.current=n,i.current=!0,c())};return n.onStateChange=p,n.trySubscribe(),p(),()=>{if(f=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}(A,p,w,g,F,x,R,D,P,E,e):()=>{}),[w]);var M,U,z;let q;M=j,U=[F,x,R,a,P,E],O((()=>M(...U)),z);try{q=T(I,N,h?()=>g(h(),a):N)}catch(e){throw L.current&&(e.message+=`\nThe error may be correlated with this previous error:\n${L.current.stack}\n\n`),e}O((()=>{L.current=void 0,P.current=void 0,x.current=q}));const G=(0,u.useMemo)((()=>u.createElement(e,(0,f.Z)({},q,{ref:o}))),[o,e,q]);return(0,u.useMemo)((()=>A?u.createElement(i.Provider,{value:S},G):G),[i,G,S])}const p=u.memo(s);if(p.WrappedComponent=e,p.displayName=s.displayName=n,c){const t=u.forwardRef((function(e,t){return u.createElement(p,(0,f.Z)({},e,{reactReduxForwardedRef:t}))}));return t.displayName=n,t.WrappedComponent=e,h()(t,e)}return h()(p,e)}};const A=function({store:e,context:t,children:n,serverState:r}){const o=(0,u.useMemo)((()=>{const t=k(e);return{store:e,subscription:t,getServerState:r?()=>r:void 0}}),[e,r]),a=(0,u.useMemo)((()=>e.getState()),[e]);O((()=>{const{subscription:t}=o;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),a!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}}),[o,a]);const i=t||s;return u.createElement(i.Provider,{value:o},n)};var L,N;L=o.useSyncExternalStoreWithSelector,c=L,(e=>{T=e})(r.useSyncExternalStore),N=a.unstable_batchedUpdates,i=N},8359:(e,t)=>{"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");
43
  /**
44
  * @license React
45
  * react-is.production.min.js
48
  *
49
  * This source code is licensed under the MIT license found in the
50
  * LICENSE file in the root directory of this source tree.
51
+ */function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case a:case l:case i:case d:case p:return e;default:switch(e=e&&e.$$typeof){case c:case s:case f:case y:case h:case u:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference"),t.isContextConsumer=function(e){return v(e)===s}},2973:(e,t,n)=>{"use strict";e.exports=n(8359)},3727:(e,t,n)=>{"use strict";n.d(t,{UT:()=>c});var r=n(6550),o=n(4578),a=n(7294),i=n(7531),l=n(7462),u=n(3366),s=n(8776);a.Component;var c=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.q_)(t.props),t}return(0,o.Z)(t,e),t.prototype.render=function(){return a.createElement(r.F0,{history:this.history,children:this.props.children})},t}(a.Component);var f=function(e,t){return"function"==typeof e?e(t):e},d=function(e,t){return"string"==typeof e?(0,i.ob)(e,null,null,t):e},p=function(e){return e},h=a.forwardRef;void 0===h&&(h=p);var y=h((function(e,t){var n=e.innerRef,r=e.navigate,o=e.onClick,i=(0,u.Z)(e,["innerRef","navigate","onClick"]),s=i.target,c=(0,l.Z)({},i,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||s&&"_self"!==s||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return c.ref=p!==h&&t||n,a.createElement("a",c)}));var m=h((function(e,t){var n=e.component,o=void 0===n?y:n,c=e.replace,m=e.to,v=e.innerRef,g=(0,u.Z)(e,["component","replace","to","innerRef"]);return a.createElement(r.s6.Consumer,null,(function(e){e||(0,s.Z)(!1);var n=e.history,r=d(f(m,e.location),e.location),u=r?n.createHref(r):"",y=(0,l.Z)({},g,{href:u,navigate:function(){var t=f(m,e.location),r=(0,i.Ep)(e.location)===(0,i.Ep)(d(t));(c||r?n.replace:n.push)(t)}});return p!==h?y.ref=t||v:y.innerRef=v,a.createElement(o,y)}))})),v=function(e){return e},g=a.forwardRef;void 0===g&&(g=v);g((function(e,t){var n=e["aria-current"],o=void 0===n?"page":n,i=e.activeClassName,c=void 0===i?"active":i,p=e.activeStyle,h=e.className,y=e.exact,b=e.isActive,w=e.location,E=e.sensitive,S=e.strict,x=e.style,k=e.to,O=e.innerRef,F=(0,u.Z)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return a.createElement(r.s6.Consumer,null,(function(e){e||(0,s.Z)(!1);var n=w||e.location,i=d(f(k,n),n),u=i.pathname,P=u&&u.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),_=P?(0,r.LX)(n.pathname,{path:P,exact:y,sensitive:E,strict:S}):null,T=!!(b?b(_,n):_),C="function"==typeof h?h(T):h,j="function"==typeof x?x(T):x;T&&(C=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(C,c),j=(0,l.Z)({},j,p));var R=(0,l.Z)({"aria-current":T&&o||null,className:C,style:j,to:i},F);return v!==g?R.ref=t||O:R.innerRef=O,a.createElement(m,R)}))}))},6550:(e,t,n)=>{"use strict";n.d(t,{AW:()=>F,EN:()=>D,F0:()=>S,LX:()=>O,rs:()=>R,s6:()=>E});var r=n(4578),o=n(7294),a=n(5697),i=n.n(a),l=n(7531),u=n(8776),s=n(7462),c=n(4779),f=n.n(c),d=(n(9864),n(3366)),p=n(8679),h=n.n(p),y=1073741823,m="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};function v(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var g=o.createContext||function(e,t){var n,a,l="__create-react-context-"+function(){var e="__global_unique_id__";return m[e]=(m[e]||0)+1}()+"__",u=function(e){function n(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).emitter=v(t.props.value),t}(0,r.Z)(n,e);var o=n.prototype;return o.getChildContext=function(){var e;return(e={})[l]=this.emitter,e},o.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,o=e.value;((a=r)===(i=o)?0!==a||1/a==1/i:a!=a&&i!=i)?n=0:(n="function"==typeof t?t(r,o):y,0!==(n|=0)&&this.emitter.set(e.value,n))}var a,i},o.render=function(){return this.props.children},n}(o.Component);u.childContextTypes=((n={})[l]=i().object.isRequired,n);var s=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}(0,r.Z)(n,t);var o=n.prototype;return o.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?y:t},o.componentDidMount=function(){this.context[l]&&this.context[l].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?y:e},o.componentWillUnmount=function(){this.context[l]&&this.context[l].off(this.onUpdate)},o.getValue=function(){return this.context[l]?this.context[l].get():e},o.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(o.Component);return s.contextTypes=((a={})[l]=i().object,a),{Provider:u,Consumer:s}},b=function(e){var t=g();return t.displayName=e,t},w=b("Router-History"),E=b("Router"),S=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._pendingLocation=e}))),n}(0,r.Z)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return o.createElement(E.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},o.createElement(w.Provider,{children:this.props.children||null,value:this.props.history}))},t}(o.Component);o.Component;o.Component;var x={},k=0;function O(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,a=void 0!==o&&o,i=n.strict,l=void 0!==i&&i,u=n.sensitive,s=void 0!==u&&u;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=x[n]||(x[n]={});if(r[e])return r[e];var o=[],a={regexp:f()(e,o,t),keys:o};return k<1e4&&(r[e]=a,k++),a}(n,{end:a,strict:l,sensitive:s}),o=r.regexp,i=r.keys,u=o.exec(e);if(!u)return null;var c=u[0],d=u.slice(1),p=e===c;return a&&!p?null:{path:n,url:"/"===n&&""===c?"/":c,isExact:p,params:i.reduce((function(e,t,n){return e[t.name]=d[n],e}),{})}}),null)}var F=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return o.createElement(E.Consumer,null,(function(t){t||(0,u.Z)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?O(n.pathname,e.props):t.match,a=(0,s.Z)({},t,{location:n,match:r}),i=e.props,l=i.children,c=i.component,f=i.render;return Array.isArray(l)&&function(e){return 0===o.Children.count(e)}(l)&&(l=null),o.createElement(E.Provider,{value:a},a.match?l?"function"==typeof l?l(a):l:c?o.createElement(c,a):f?f(a):null:"function"==typeof l?l(a):null)}))},t}(o.Component);function P(e){return"/"===e.charAt(0)?e:"/"+e}function _(e,t){if(!e)return t;var n=P(e);return 0!==t.pathname.indexOf(n)?t:(0,s.Z)({},t,{pathname:t.pathname.substr(n.length)})}function T(e){return"string"==typeof e?e:(0,l.Ep)(e)}function C(e){return function(){(0,u.Z)(!1)}}function j(){}o.Component;var R=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return o.createElement(E.Consumer,null,(function(t){t||(0,u.Z)(!1);var n,r,a=e.props.location||t.location;return o.Children.forEach(e.props.children,(function(e){if(null==r&&o.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?O(a.pathname,(0,s.Z)({},e.props,{path:i})):t.match}})),r?o.cloneElement(n,{location:a,computedMatch:r}):null}))},t}(o.Component);function D(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,r=(0,d.Z)(t,["wrappedComponentRef"]);return o.createElement(E.Consumer,null,(function(t){return t||(0,u.Z)(!1),o.createElement(e,(0,s.Z)({},r,t,{ref:n}))}))};return n.displayName=t,n.WrappedComponent=e,h()(n,e)}o.useContext},2408:(e,t,n)=>{"use strict";
52
  /** @license React v17.0.2
53
  * react.production.min.js
54
  *
64
  *
65
  * This source code is licensed under the MIT license found in the
66
  * LICENSE file in the root directory of this source tree.
67
+ */var n,r,o,a;if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var l=Date,u=l.now();t.unstable_now=function(){return l.now()-u}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var s=null,c=null,f=function(){if(null!==s)try{var e=t.unstable_now();s(!0,e),s=null}catch(e){throw setTimeout(f,0),e}};n=function(e){null!==s?setTimeout(n,0,e):(s=e,setTimeout(f,0))},r=function(e,t){c=setTimeout(e,t)},o=function(){clearTimeout(c)},t.unstable_shouldYield=function(){return!1},a=t.unstable_forceFrameRate=function(){}}else{var d=window.setTimeout,p=window.clearTimeout;if("undefined"!=typeof console){var h=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof h&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var y=!1,m=null,v=-1,g=5,b=0;t.unstable_shouldYield=function(){return t.unstable_now()>=b},a=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):g=0<e?Math.floor(1e3/e):5};var w=new MessageChannel,E=w.port2;w.port1.onmessage=function(){if(null!==m){var e=t.unstable_now();b=e+g;try{m(!0,e)?E.postMessage(null):(y=!1,m=null)}catch(e){throw E.postMessage(null),e}}else y=!1},n=function(e){m=e,y||(y=!0,E.postMessage(null))},r=function(e,n){v=d((function(){e(t.unstable_now())}),n)},o=function(){p(v),v=-1}}function S(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<O(o,t)))break e;e[r]=t,e[n]=o,n=r}}function x(e){return void 0===(e=e[0])?null:e}function k(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var a=2*(r+1)-1,i=e[a],l=a+1,u=e[l];if(void 0!==i&&0>O(i,n))void 0!==u&&0>O(u,i)?(e[r]=u,e[l]=n,r=l):(e[r]=i,e[a]=n,r=a);else{if(!(void 0!==u&&0>O(u,n)))break e;e[r]=u,e[l]=n,r=l}}}return t}return null}function O(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var F=[],P=[],_=1,T=null,C=3,j=!1,R=!1,D=!1;function A(e){for(var t=x(P);null!==t;){if(null===t.callback)k(P);else{if(!(t.startTime<=e))break;k(P),t.sortIndex=t.expirationTime,S(F,t)}t=x(P)}}function L(e){if(D=!1,A(e),!R)if(null!==x(F))R=!0,n(N);else{var t=x(P);null!==t&&r(L,t.startTime-e)}}function N(e,n){R=!1,D&&(D=!1,o()),j=!0;var a=C;try{for(A(n),T=x(F);null!==T&&(!(T.expirationTime>n)||e&&!t.unstable_shouldYield());){var i=T.callback;if("function"==typeof i){T.callback=null,C=T.priorityLevel;var l=i(T.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?T.callback=l:T===x(F)&&k(F),A(n)}else k(F);T=x(F)}if(null!==T)var u=!0;else{var s=x(P);null!==s&&r(L,s.startTime-n),u=!1}return u}finally{T=null,C=a,j=!1}}var I=a;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){R||j||(R=!0,n(N))},t.unstable_getCurrentPriorityLevel=function(){return C},t.unstable_getFirstCallbackNode=function(){return x(F)},t.unstable_next=function(e){switch(C){case 1:case 2:case 3:var t=3;break;default:t=C}var n=C;C=t;try{return e()}finally{C=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=I,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=C;C=e;try{return t()}finally{C=n}},t.unstable_scheduleCallback=function(e,a,i){var l=t.unstable_now();switch("object"==typeof i&&null!==i?i="number"==typeof(i=i.delay)&&0<i?l+i:l:i=l,e){case 1:var u=-1;break;case 2:u=250;break;case 5:u=1073741823;break;case 4:u=1e4;break;default:u=5e3}return e={id:_++,callback:a,priorityLevel:e,startTime:i,expirationTime:u=i+u,sortIndex:-1},i>l?(e.sortIndex=i,S(P,e),null===x(F)&&e===x(P)&&(D?o():D=!0,r(L,i-l))):(e.sortIndex=u,S(F,e),R||j||(R=!0,n(N))),e},t.unstable_wrapCallback=function(e){var t=C;return function(){var n=C;C=t;try{return e.apply(this,arguments)}finally{C=n}}}},3840:(e,t,n)=>{"use strict";e.exports=n(53)},8975:(e,t,n)=>{var r;!function(){"use strict";var o={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function a(e){return l(s(e),arguments)}function i(e,t){return a.apply(null,[e].concat(t||[]))}function l(e,t){var n,r,i,l,u,s,c,f,d,p=1,h=e.length,y="";for(r=0;r<h;r++)if("string"==typeof e[r])y+=e[r];else if("object"==typeof e[r]){if((l=e[r]).keys)for(n=t[p],i=0;i<l.keys.length;i++){if(null==n)throw new Error(a('[sprintf] Cannot access property "%s" of undefined value "%s"',l.keys[i],l.keys[i-1]));n=n[l.keys[i]]}else n=l.param_no?t[l.param_no]:t[p++];if(o.not_type.test(l.type)&&o.not_primitive.test(l.type)&&n instanceof Function&&(n=n()),o.numeric_arg.test(l.type)&&"number"!=typeof n&&isNaN(n))throw new TypeError(a("[sprintf] expecting number but found %T",n));switch(o.number.test(l.type)&&(f=n>=0),l.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,l.width?parseInt(l.width):0);break;case"e":n=l.precision?parseFloat(n).toExponential(l.precision):parseFloat(n).toExponential();break;case"f":n=l.precision?parseFloat(n).toFixed(l.precision):parseFloat(n);break;case"g":n=l.precision?String(Number(n.toPrecision(l.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=l.precision?n.substring(0,l.precision):n;break;case"t":n=String(!!n),n=l.precision?n.substring(0,l.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=l.precision?n.substring(0,l.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=l.precision?n.substring(0,l.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}o.json.test(l.type)?y+=n:(!o.number.test(l.type)||f&&!l.sign?d="":(d=f?"+":"-",n=n.toString().replace(o.sign,"")),s=l.pad_char?"0"===l.pad_char?"0":l.pad_char.charAt(1):" ",c=l.width-(d+n).length,u=l.width&&c>0?s.repeat(c):"",y+=l.align?d+n+u:"0"===s?d+u+n:u+d+n)}return y}var u=Object.create(null);function s(e){if(u[e])return u[e];for(var t,n=e,r=[],a=0;n;){if(null!==(t=o.text.exec(n)))r.push(t[0]);else if(null!==(t=o.modulo.exec(n)))r.push("%");else{if(null===(t=o.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){a|=1;var i=[],l=t[2],s=[];if(null===(s=o.key.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(i.push(s[1]);""!==(l=l.substring(s[0].length));)if(null!==(s=o.key_access.exec(l)))i.push(s[1]);else{if(null===(s=o.index_access.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");i.push(s[1])}t[2]=i}else a|=2;if(3===a)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}n=n.substring(t[0].length)}return u[e]=r}t.sprintf=a,t.vsprintf=i,"undefined"!=typeof window&&(window.sprintf=a,window.vsprintf=i,void 0===(r=function(){return{sprintf:a,vsprintf:i}}.call(t,n,t,e))||(e.exports=r))}()},3045:e=>{e.exports=function(){var e,t={exports:{}};function n(e){if(e)return function(e){for(var t in n.prototype)e[t]=n.prototype[t];return e}(e)}t.exports=n,n.prototype.on=n.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},n.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},n.prototype.off=n.prototype.removeListener=n.prototype.removeAllListeners=n.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<r.length;o++)if((n=r[o])===t||n.fn===t){r.splice(o,1);break}return 0===r.length&&delete this._callbacks["$"+e],this},n.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){r=0;for(var o=(n=n.slice(0)).length;r<o;++r)n[r].apply(this,t)}return this},n.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},n.prototype.hasListeners=function(e){return!!this.listeners(e).length},t=t.exports,e=i,i.default=i,i.stable=s,i.stableStringify=s;var r=[],o=[];function a(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function i(e,t,n,i){var u;void 0===i&&(i=a()),function e(t,n,r,o,a,i,u){var s;if(i+=1,"object"==typeof t&&null!==t){for(s=0;s<o.length;s++)if(o[s]===t)return void l("[Circular]",t,n,a);if(void 0!==u.depthLimit&&i>u.depthLimit)return void l("[...]",t,n,a);if(void 0!==u.edgesLimit&&r+1>u.edgesLimit)return void l("[...]",t,n,a);if(o.push(t),Array.isArray(t))for(s=0;s<t.length;s++)e(t[s],s,s,o,t,i,u);else{var c=Object.keys(t);for(s=0;s<c.length;s++){var f=c[s];e(t[f],f,s,o,t,i,u)}}o.pop()}}(e,"",0,[],void 0,0,i);try{u=0===o.length?JSON.stringify(e,t,n):JSON.stringify(e,c(t),n)}catch(e){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==r.length;){var s=r.pop();4===s.length?Object.defineProperty(s[0],s[1],s[3]):s[0][s[1]]=s[2]}}return u}function l(e,t,n,a){var i=Object.getOwnPropertyDescriptor(a,n);void 0!==i.get?i.configurable?(Object.defineProperty(a,n,{value:e}),r.push([a,n,t,i])):o.push([t,n,e]):(a[n]=e,r.push([a,n,t]))}function u(e,t){return e<t?-1:e>t?1:0}function s(e,t,n,i){void 0===i&&(i=a());var s,f=function e(t,n,o,a,i,s,c){var f;if(s+=1,"object"==typeof t&&null!==t){for(f=0;f<a.length;f++)if(a[f]===t)return void l("[Circular]",t,n,i);try{if("function"==typeof t.toJSON)return}catch(e){return}if(void 0!==c.depthLimit&&s>c.depthLimit)return void l("[...]",t,n,i);if(void 0!==c.edgesLimit&&o+1>c.edgesLimit)return void l("[...]",t,n,i);if(a.push(t),Array.isArray(t))for(f=0;f<t.length;f++)e(t[f],f,f,a,t,s,c);else{var d={},p=Object.keys(t).sort(u);for(f=0;f<p.length;f++){var h=p[f];e(t[h],h,f,a,t,s,c),d[h]=t[h]}if(void 0===i)return d;r.push([i,n,t]),i[n]=d}a.pop()}}(e,"",0,[],void 0,0,i)||e;try{s=0===o.length?JSON.stringify(f,t,n):JSON.stringify(f,c(t),n)}catch(e){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==r.length;){var d=r.pop();4===d.length?Object.defineProperty(d[0],d[1],d[3]):d[0][d[1]]=d[2]}}return s}function c(e){return e=void 0!==e?e:function(e,t){return t},function(t,n){if(o.length>0)for(var r=0;r<o.length;r++){var a=o[r];if(a[1]===t&&a[0]===n){n=a[2],o.splice(r,1);break}}return e.call(this,t,n)}}var f="undefined"!=typeof Symbol&&Symbol,d=Array.prototype.slice,p=Object.prototype.toString,h=Function.prototype.bind||function(e){var t=this;if("function"!=typeof t||"[object Function]"!==p.call(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var n,r=d.call(arguments,1),o=Math.max(0,t.length-r.length),a=[],i=0;i<o;i++)a.push("$"+i);if(n=Function("binder","return function ("+a.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof n){var o=t.apply(this,r.concat(d.call(arguments)));return Object(o)===o?o:this}return t.apply(e,r.concat(d.call(arguments)))})),t.prototype){var l=function(){};l.prototype=t.prototype,n.prototype=new l,l.prototype=null}return n},y=h.call(Function.call,Object.prototype.hasOwnProperty),m=SyntaxError,v=Function,g=TypeError,b=function(e){try{return v('"use strict"; return ('+e+").constructor;")()}catch(e){}},w=Object.getOwnPropertyDescriptor;if(w)try{w({},"")}catch(e){w=null}var E,S=function(){throw new g},x=w?function(){try{return S}catch(e){try{return w(arguments,"callee").get}catch(e){return S}}}():S,k="function"==typeof f&&"function"==typeof Symbol&&"symbol"==typeof f("foo")&&"symbol"==typeof Symbol("bar")&&function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}(),O=Object.getPrototypeOf||function(e){return e.__proto__},F={},P="undefined"==typeof Uint8Array?void 0:O(Uint8Array),_={"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":k?O([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":F,"%AsyncGenerator%":F,"%AsyncGeneratorFunction%":F,"%AsyncIteratorPrototype%":F,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":v,"%GeneratorFunction%":F,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":k?O(O([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&k?O((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&k?O((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":k?O(""[Symbol.iterator]()):void 0,"%Symbol%":k?Symbol:void 0,"%SyntaxError%":m,"%ThrowTypeError%":x,"%TypedArray%":P,"%TypeError%":g,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet},T={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},C=h.call(Function.call,Array.prototype.concat),j=h.call(Function.apply,Array.prototype.splice),R=h.call(Function.call,String.prototype.replace),D=h.call(Function.call,String.prototype.slice),A=h.call(Function.call,RegExp.prototype.exec),L=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,N=/\\(\\)?/g,I=function(e,t){var n,r=e;if(y(T,r)&&(r="%"+(n=T[r])[0]+"%"),y(_,r)){var o=_[r];if(o===F&&(o=function e(t){var n;if("%AsyncFunction%"===t)n=b("async function () {}");else if("%GeneratorFunction%"===t)n=b("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=b("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&(n=O(o.prototype))}return _[t]=n,n}(r)),void 0===o&&!t)throw new g("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new m("intrinsic "+e+" does not exist!")},M=function(e,t){if("string"!=typeof e||0===e.length)throw new g("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new g('"allowMissing" argument must be a boolean');if(null===A(/^%?[^%]*%?$/g,e))throw new m("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=D(e,0,1),n=D(e,-1);if("%"===t&&"%"!==n)throw new m("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new m("invalid intrinsic syntax, expected opening `%`");var r=[];return R(e,L,(function(e,t,n,o){r[r.length]=n?R(o,N,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",o=I("%"+r+"%",t),a=o.name,i=o.value,l=!1,u=o.alias;u&&(r=u[0],j(n,C([0,1],u)));for(var s=1,c=!0;s<n.length;s+=1){var f=n[s],d=D(f,0,1),p=D(f,-1);if(('"'===d||"'"===d||"`"===d||'"'===p||"'"===p||"`"===p)&&d!==p)throw new m("property names with quotes must have matching quotes");if("constructor"!==f&&c||(l=!0),y(_,a="%"+(r+="."+f)+"%"))i=_[a];else if(null!=i){if(!(f in i)){if(!t)throw new g("base intrinsic for "+e+" exists, but the property is not available.");return}if(w&&s+1>=n.length){var h=w(i,f);i=(c=!!h)&&"get"in h&&!("originalValue"in h.get)?h.get:i[f]}else c=y(i,f),i=i[f];c&&!l&&(_[a]=i)}}return i},U=M("%Function.prototype.apply%"),z=M("%Function.prototype.call%"),q=M("%Reflect.apply%",!0)||h.call(z,U),G=M("%Object.getOwnPropertyDescriptor%",!0),B=M("%Object.defineProperty%",!0),H=M("%Math.max%");if(B)try{B({},"a",{value:1})}catch(e){B=null}E=function(e){var t=q(h,z,arguments);return G&&B&&G(t,"length").configurable&&B(t,"length",{value:1+H(0,e.length-(arguments.length-1))}),t};var $=function(){return q(h,U,arguments)};B?B(E,"apply",{value:$}):E.apply=$;var V=E(M("String.prototype.indexOf")),W=function(e,t){var n=M(e,!!t);return"function"==typeof n&&V(e,".prototype.")>-1?E(n):n},K={},Q="function"==typeof Map&&Map.prototype,Z=Object.getOwnPropertyDescriptor&&Q?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,X=Q&&Z&&"function"==typeof Z.get?Z.get:null,Y=Q&&Map.prototype.forEach,J="function"==typeof Set&&Set.prototype,ee=Object.getOwnPropertyDescriptor&&J?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,te=J&&ee&&"function"==typeof ee.get?ee.get:null,ne=J&&Set.prototype.forEach,re="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,oe="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,ae="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,ie=Boolean.prototype.valueOf,le=Object.prototype.toString,ue=Function.prototype.toString,se=String.prototype.match,ce=String.prototype.slice,fe=String.prototype.replace,de=String.prototype.toUpperCase,pe=String.prototype.toLowerCase,he=RegExp.prototype.test,ye=Array.prototype.concat,me=Array.prototype.join,ve=Array.prototype.slice,ge=Math.floor,be="function"==typeof BigInt?BigInt.prototype.valueOf:null,we=Object.getOwnPropertySymbols,Ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,Se="function"==typeof Symbol&&"object"==typeof Symbol.iterator,xe="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,ke=Object.prototype.propertyIsEnumerable,Oe=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function Fe(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||he.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-ge(-e):ge(e);if(r!==e){var o=String(r),a=ce.call(t,o.length+1);return fe.call(o,n,"$&_")+"."+fe.call(fe.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return fe.call(t,n,"$&_")}var Pe=K.custom,_e=De(Pe)?Pe:null;function Te(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function Ce(e){return fe.call(String(e),/"/g,"&quot;")}function je(e){return!("[object Array]"!==Ne(e)||xe&&"object"==typeof e&&xe in e)}function Re(e){return!("[object RegExp]"!==Ne(e)||xe&&"object"==typeof e&&xe in e)}function De(e){if(Se)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!Ee)return!1;try{return Ee.call(e),!0}catch(e){}return!1}var Ae=Object.prototype.hasOwnProperty||function(e){return e in this};function Le(e,t){return Ae.call(e,t)}function Ne(e){return le.call(e)}function Ie(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function Me(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+de.call(t.toString(16))}function Ue(e){return"Object("+e+")"}function ze(e){return e+" { ? }"}function qe(e,t,n,r){return e+" ("+t+") {"+(r?Ge(n,r):me.call(n,", "))+"}"}function Ge(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+me.call(e,","+n)+"\n"+t.prev}function Be(e,t){var n=je(e),r=[];if(n){r.length=e.length;for(var o=0;o<e.length;o++)r[o]=Le(e,o)?t(e[o],e):""}var a,i="function"==typeof we?we(e):[];if(Se){a={};for(var l=0;l<i.length;l++)a["$"+i[l]]=i[l]}for(var u in e)Le(e,u)&&(n&&String(Number(u))===u&&u<e.length||Se&&a["$"+u]instanceof Symbol||(he.call(/[^\w$]/,u)?r.push(t(u,e)+": "+t(e[u],e)):r.push(u+": "+t(e[u],e))));if("function"==typeof we)for(var s=0;s<i.length;s++)ke.call(e,i[s])&&r.push("["+t(i[s])+"]: "+t(e[i[s]],e));return r}var He=M("%TypeError%"),$e=M("%WeakMap%",!0),Ve=M("%Map%",!0),We=W("WeakMap.prototype.get",!0),Ke=W("WeakMap.prototype.set",!0),Qe=W("WeakMap.prototype.has",!0),Ze=W("Map.prototype.get",!0),Xe=W("Map.prototype.set",!0),Ye=W("Map.prototype.has",!0),Je=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},et=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new He("Side channel does not contain "+function e(t,n,r,o){var a=n||{};if(Le(a,"quoteStyle")&&"single"!==a.quoteStyle&&"double"!==a.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Le(a,"maxStringLength")&&("number"==typeof a.maxStringLength?a.maxStringLength<0&&a.maxStringLength!==1/0:null!==a.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var i=!Le(a,"customInspect")||a.customInspect;if("boolean"!=typeof i&&"symbol"!==i)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Le(a,"indent")&&null!==a.indent&&"\t"!==a.indent&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Le(a,"numericSeparator")&&"boolean"!=typeof a.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var l=a.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return function e(t,n){if(t.length>n.maxStringLength){var r=t.length-n.maxStringLength,o="... "+r+" more character"+(r>1?"s":"");return e(ce.call(t,0,n.maxStringLength),n)+o}return Te(fe.call(fe.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Me),"single",n)}(t,a);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var u=String(t);return l?Fe(t,u):u}if("bigint"==typeof t){var s=String(t)+"n";return l?Fe(t,s):s}var c=void 0===a.depth?5:a.depth;if(void 0===r&&(r=0),r>=c&&c>0&&"object"==typeof t)return je(t)?"[Array]":"[Object]";var f,d=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=me.call(Array(e.indent+1)," ")}return{base:n,prev:me.call(Array(t+1),n)}}(a,r);if(void 0===o)o=[];else if(Ie(o,t)>=0)return"[Circular]";function p(t,n,i){if(n&&(o=ve.call(o)).push(n),i){var l={depth:a.depth};return Le(a,"quoteStyle")&&(l.quoteStyle=a.quoteStyle),e(t,l,r+1,o)}return e(t,a,r+1,o)}if("function"==typeof t&&!Re(t)){var h=function(e){if(e.name)return e.name;var t=se.call(ue.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),y=Be(t,p);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(y.length>0?" { "+me.call(y,", ")+" }":"")}if(De(t)){var m=Se?fe.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Ee.call(t);return"object"!=typeof t||Se?m:Ue(m)}if((f=t)&&"object"==typeof f&&("undefined"!=typeof HTMLElement&&f instanceof HTMLElement||"string"==typeof f.nodeName&&"function"==typeof f.getAttribute)){for(var v="<"+pe.call(String(t.nodeName)),g=t.attributes||[],b=0;b<g.length;b++)v+=" "+g[b].name+"="+Te(Ce(g[b].value),"double",a);return v+=">",t.childNodes&&t.childNodes.length&&(v+="..."),v+"</"+pe.call(String(t.nodeName))+">"}if(je(t)){if(0===t.length)return"[]";var w=Be(t,p);return d&&!function(e){for(var t=0;t<e.length;t++)if(Ie(e[t],"\n")>=0)return!1;return!0}(w)?"["+Ge(w,d)+"]":"[ "+me.call(w,", ")+" ]"}if(function(e){return!("[object Error]"!==Ne(e)||xe&&"object"==typeof e&&xe in e)}(t)){var E=Be(t,p);return"cause"in Error.prototype||!("cause"in t)||ke.call(t,"cause")?0===E.length?"["+String(t)+"]":"{ ["+String(t)+"] "+me.call(E,", ")+" }":"{ ["+String(t)+"] "+me.call(ye.call("[cause]: "+p(t.cause),E),", ")+" }"}if("object"==typeof t&&i){if(_e&&"function"==typeof t[_e]&&K)return K(t,{depth:c-r});if("symbol"!==i&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!X||!e||"object"!=typeof e)return!1;try{X.call(e);try{te.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var S=[];return Y.call(t,(function(e,n){S.push(p(n,t,!0)+" => "+p(e,t))})),qe("Map",X.call(t),S,d)}if(function(e){if(!te||!e||"object"!=typeof e)return!1;try{te.call(e);try{X.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var x=[];return ne.call(t,(function(e){x.push(p(e,t))})),qe("Set",te.call(t),x,d)}if(function(e){if(!re||!e||"object"!=typeof e)return!1;try{re.call(e,re);try{oe.call(e,oe)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return ze("WeakMap");if(function(e){if(!oe||!e||"object"!=typeof e)return!1;try{oe.call(e,oe);try{re.call(e,re)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return ze("WeakSet");if(function(e){if(!ae||!e||"object"!=typeof e)return!1;try{return ae.call(e),!0}catch(e){}return!1}(t))return ze("WeakRef");if(function(e){return!("[object Number]"!==Ne(e)||xe&&"object"==typeof e&&xe in e)}(t))return Ue(p(Number(t)));if(function(e){if(!e||"object"!=typeof e||!be)return!1;try{return be.call(e),!0}catch(e){}return!1}(t))return Ue(p(be.call(t)));if(function(e){return!("[object Boolean]"!==Ne(e)||xe&&"object"==typeof e&&xe in e)}(t))return Ue(ie.call(t));if(function(e){return!("[object String]"!==Ne(e)||xe&&"object"==typeof e&&xe in e)}(t))return Ue(p(String(t)));if(!function(e){return!("[object Date]"!==Ne(e)||xe&&"object"==typeof e&&xe in e)}(t)&&!Re(t)){var k=Be(t,p),O=Oe?Oe(t)===Object.prototype:t instanceof Object||t.constructor===Object,F=t instanceof Object?"":"null prototype",P=!O&&xe&&Object(t)===t&&xe in t?ce.call(Ne(t),8,-1):F?"Object":"",_=(O||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(P||F?"["+me.call(ye.call([],P||[],F||[]),": ")+"] ":"");return 0===k.length?_+"{}":d?_+"{"+Ge(k,d)+"}":_+"{ "+me.call(k,", ")+" }"}return String(t)}(e))},get:function(r){if($e&&r&&("object"==typeof r||"function"==typeof r)){if(e)return We(e,r)}else if(Ve){if(t)return Ze(t,r)}else if(n)return function(e,t){var n=Je(e,t);return n&&n.value}(n,r)},has:function(r){if($e&&r&&("object"==typeof r||"function"==typeof r)){if(e)return Qe(e,r)}else if(Ve){if(t)return Ye(t,r)}else if(n)return function(e,t){return!!Je(e,t)}(n,r);return!1},set:function(r,o){$e&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new $e),Ke(e,r,o)):Ve?(t||(t=new Ve),Xe(t,r,o)):(n||(n={key:{},next:null}),function(e,t,n){var r=Je(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,o))}};return r},tt=String.prototype.replace,nt=/%20/g,rt={default:"RFC3986",formatters:{RFC1738:function(e){return tt.call(e,nt,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:"RFC3986"},ot=Object.prototype.hasOwnProperty,at=Array.isArray,it=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),lt={combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var o=t[r],a=o.obj[o.prop],i=Object.keys(a),l=0;l<i.length;++l){var u=i[l],s=a[u];"object"==typeof s&&null!==s&&-1===n.indexOf(s)&&(t.push({obj:a,prop:u}),n.push(s))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(at(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,r,o){if(0===e.length)return e;var a=e;if("symbol"==typeof e?a=Symbol.prototype.toString.call(e):"string"!=typeof e&&(a=String(e)),"iso-8859-1"===n)return escape(a).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var i="",l=0;l<a.length;++l){var u=a.charCodeAt(l);45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||o===rt.RFC1738&&(40===u||41===u)?i+=a.charAt(l):u<128?i+=it[u]:u<2048?i+=it[192|u>>6]+it[128|63&u]:u<55296||u>=57344?i+=it[224|u>>12]+it[128|u>>6&63]+it[128|63&u]:(l+=1,u=65536+((1023&u)<<10|1023&a.charCodeAt(l)),i+=it[240|u>>18]+it[128|u>>12&63]+it[128|u>>6&63]+it[128|63&u])}return i},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(at(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n){if(at(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!ot.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var o=t;return at(t)&&!at(n)&&(o=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n}(t,r)),at(t)&&at(n)?(n.forEach((function(n,o){if(ot.call(t,o)){var a=t[o];a&&"object"==typeof a&&n&&"object"==typeof n?t[o]=e(a,n,r):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var a=n[o];return ot.call(t,o)?t[o]=e(t[o],a,r):t[o]=a,t}),o)}},ut=Object.prototype.hasOwnProperty,st={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},ct=Array.isArray,ft=String.prototype.split,dt=Array.prototype.push,pt=function(e,t){dt.apply(e,ct(t)?t:[t])},ht=Date.prototype.toISOString,yt=rt.default,mt={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:lt.encode,encodeValuesOnly:!1,format:yt,formatter:rt.formatters[yt],indices:!1,serializeDate:function(e){return ht.call(e)},skipNulls:!1,strictNullHandling:!1},vt={},gt=function e(t,n,r,o,a,i,l,u,s,c,f,d,p,h,y){for(var m,v=t,g=y,b=0,w=!1;void 0!==(g=g.get(vt))&&!w;){var E=g.get(t);if(b+=1,void 0!==E){if(E===b)throw new RangeError("Cyclic object value");w=!0}void 0===g.get(vt)&&(b=0)}if("function"==typeof l?v=l(n,v):v instanceof Date?v=c(v):"comma"===r&&ct(v)&&(v=lt.maybeMap(v,(function(e){return e instanceof Date?c(e):e}))),null===v){if(o)return i&&!p?i(n,mt.encoder,h,"key",f):n;v=""}if("string"==typeof(m=v)||"number"==typeof m||"boolean"==typeof m||"symbol"==typeof m||"bigint"==typeof m||lt.isBuffer(v)){if(i){var S=p?n:i(n,mt.encoder,h,"key",f);if("comma"===r&&p){for(var x=ft.call(String(v),","),k="",O=0;O<x.length;++O)k+=(0===O?"":",")+d(i(x[O],mt.encoder,h,"value",f));return[d(S)+(ct(v)&&1===x.length?"[]":"")+"="+k]}return[d(S)+"="+d(i(v,mt.encoder,h,"value",f))]}return[d(n)+"="+d(String(v))]}var F,P=[];if(void 0===v)return P;if("comma"===r&&ct(v))F=[{value:v.length>0?v.join(",")||null:void 0}];else if(ct(l))F=l;else{var _=Object.keys(v);F=u?_.sort(u):_}for(var T="comma"===r&&ct(v)&&1===v.length?n+"[]":n,C=0;C<F.length;++C){var j=F[C],R="object"==typeof j&&void 0!==j.value?j.value:v[j];if(!a||null!==R){var D=ct(v)?"function"==typeof r?r(T,j):T:T+(s?"."+j:"["+j+"]");y.set(t,b);var A=et();A.set(vt,y),pt(P,e(R,D,r,o,a,i,l,u,s,c,f,d,p,h,A))}}return P},bt=(Object.prototype.hasOwnProperty,Array.isArray,{stringify:function(e,t){var n,r=e,o=function(e){if(!e)return mt;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||mt.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=rt.default;if(void 0!==e.format){if(!ut.call(rt.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=rt.formatters[n],o=mt.filter;return("function"==typeof e.filter||ct(e.filter))&&(o=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:mt.addQueryPrefix,allowDots:void 0===e.allowDots?mt.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:mt.charsetSentinel,delimiter:void 0===e.delimiter?mt.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:mt.encode,encoder:"function"==typeof e.encoder?e.encoder:mt.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:mt.encodeValuesOnly,filter:o,format:n,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:mt.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:mt.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:mt.strictNullHandling}}(t);"function"==typeof o.filter?r=(0,o.filter)("",r):ct(o.filter)&&(n=o.filter);var a,i=[];if("object"!=typeof r||null===r)return"";a=t&&t.arrayFormat in st?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var l=st[a];n||(n=Object.keys(r)),o.sort&&n.sort(o.sort);for(var u=et(),s=0;s<n.length;++s){var c=n[s];o.skipNulls&&null===r[c]||pt(i,gt(r[c],c,l,o.strictNullHandling,o.skipNulls,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,u))}var f=i.join(o.delimiter),d=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?d+="utf8=%26%2310003%3B&":d+="utf8=%E2%9C%93&"),f.length>0?d+f:""}}),wt={type:e=>e.split(/ *; */).shift(),params:e=>{const t={};for(const n of e.split(/ *; */)){const e=n.split(/ *= */),r=e.shift(),o=e.shift();r&&o&&(t[r]=o)}return t},parseLinks:e=>{const t={};for(const n of e.split(/ *, */)){const e=n.split(/ *; */),r=e[0].slice(1,-1);t[e[1].split(/ *= */)[1].slice(1,-1)]=r}return t},isObject:e=>null!==e&&"object"==typeof e};wt.hasOwn=Object.hasOwn||function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(new Object(e),t)},wt.mixin=(e,t)=>{for(const n in t)wt.hasOwn(t,n)&&(e[n]=t[n])};var Et,St,xt,kt=Et={};function Ot(){throw new Error("setTimeout has not been defined")}function Ft(){throw new Error("clearTimeout has not been defined")}function Pt(e){if(St===setTimeout)return setTimeout(e,0);if((St===Ot||!St)&&setTimeout)return St=setTimeout,setTimeout(e,0);try{return St(e,0)}catch(t){try{return St.call(null,e,0)}catch(t){return St.call(this,e,0)}}}!function(){try{St="function"==typeof setTimeout?setTimeout:Ot}catch(e){St=Ot}try{xt="function"==typeof clearTimeout?clearTimeout:Ft}catch(e){xt=Ft}}();var _t,Tt=[],Ct=!1,jt=-1;function Rt(){Ct&&_t&&(Ct=!1,_t.length?Tt=_t.concat(Tt):jt=-1,Tt.length&&Dt())}function Dt(){if(!Ct){var e=Pt(Rt);Ct=!0;for(var t=Tt.length;t;){for(_t=Tt,Tt=[];++jt<t;)_t&&_t[jt].run();jt=-1,t=Tt.length}_t=null,Ct=!1,function(e){if(xt===clearTimeout)return clearTimeout(e);if((xt===Ft||!xt)&&clearTimeout)return xt=clearTimeout,clearTimeout(e);try{xt(e)}catch(t){try{return xt.call(null,e)}catch(t){return xt.call(this,e)}}}(e)}}function At(e,t){this.fun=e,this.array=t}function Lt(){}kt.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];Tt.push(new At(e,t)),1!==Tt.length||Ct||Pt(Dt)},At.prototype.run=function(){this.fun.apply(null,this.array)},kt.title="browser",kt.browser=!0,kt.env={},kt.argv=[],kt.version="",kt.versions={},kt.on=Lt,kt.addListener=Lt,kt.once=Lt,kt.off=Lt,kt.removeListener=Lt,kt.removeAllListeners=Lt,kt.emit=Lt,kt.prependListener=Lt,kt.prependOnceListener=Lt,kt.listeners=function(e){return[]},kt.binding=function(e){throw new Error("process.binding is not supported")},kt.cwd=function(){return"/"},kt.chdir=function(e){throw new Error("process.chdir is not supported")},kt.umask=function(){return 0};var Nt,It={};function Mt(){}(function(e){(function(){"use strict";const{isObject:t,hasOwn:n}=wt;function r(){}It=r,r.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),clearTimeout(this._uploadTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,delete this._uploadTimeoutTimer,this},r.prototype.parse=function(e){return this._parser=e,this},r.prototype.responseType=function(e){return this._responseType=e,this},r.prototype.serialize=function(e){return this._serializer=e,this},r.prototype.timeout=function(e){if(!e||"object"!=typeof e)return this._timeout=e,this._responseTimeout=0,this._uploadTimeout=0,this;for(const t in e)if(n(e,t))switch(t){case"deadline":this._timeout=e.deadline;break;case"response":this._responseTimeout=e.response;break;case"upload":this._uploadTimeout=e.upload;break;default:console.warn("Unknown timeout option",t)}return this},r.prototype.retry=function(e,t){return 0!==arguments.length&&!0!==e||(e=1),e<=0&&(e=0),this._maxRetries=e,this._retries=0,this._retryCallback=t,this};const o=new Set(["ETIMEDOUT","ECONNRESET","EADDRINUSE","ECONNREFUSED","EPIPE","ENOTFOUND","ENETUNREACH","EAI_AGAIN"]),a=new Set([408,413,429,500,502,503,504,521,522,524]);r.prototype._shouldRetry=function(e,t){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{const n=this._retryCallback(e,t);if(!0===n)return!0;if(!1===n)return!1}catch(e){console.error(e)}if(t&&t.status&&a.has(t.status))return!0;if(e){if(e.code&&o.has(e.code))return!0;if(e.timeout&&"ECONNABORTED"===e.code)return!0;if(e.crossDomain)return!0}return!1},r.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this.timedoutError=null,this._end()},r.prototype.then=function(e,t){if(!this._fullfilledPromise){const e=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise(((t,n)=>{e.on("abort",(()=>{if(this._maxRetries&&this._maxRetries>this._retries)return;if(this.timedout&&this.timedoutError)return void n(this.timedoutError);const e=new Error("Aborted");e.code="ABORTED",e.status=this.status,e.method=this.method,e.url=this.url,n(e)})),e.end(((e,r)=>{e?n(e):t(r)}))}))}return this._fullfilledPromise.then(e,t)},r.prototype.catch=function(e){return this.then(void 0,e)},r.prototype.use=function(e){return e(this),this},r.prototype.ok=function(e){if("function"!=typeof e)throw new Error("Callback required");return this._okCallback=e,this},r.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},r.prototype.get=function(e){return this._header[e.toLowerCase()]},r.prototype.getHeader=r.prototype.get,r.prototype.set=function(e,r){if(t(e)){for(const t in e)n(e,t)&&this.set(t,e[t]);return this}return this._header[e.toLowerCase()]=r,this.header[e]=r,this},r.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},r.prototype.field=function(e,r,o){if(null==e)throw new Error(".field(name, val) name can not be empty");if(this._data)throw new Error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()");if(t(e)){for(const t in e)n(e,t)&&this.field(t,e[t]);return this}if(Array.isArray(r)){for(const t in r)n(r,t)&&this.field(e,r[t]);return this}if(null==r)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof r&&(r=String(r)),o?this._getFormData().append(e,r,o):this._getFormData().append(e,r),this},r.prototype.abort=function(){if(this._aborted)return this;if(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req){if(K.gte(e.version,"v13.0.0")&&K.lt(e.version,"v14.0.0"))throw new Error("Superagent does not work in v13 properly with abort() due to Node.js core changes");K.gte(e.version,"v14.0.0")&&(this.req.destroyed=!0),this.req.abort()}return this.clearTimeout(),this.emit("abort"),this},r.prototype._auth=function(e,t,n,r){switch(n.type){case"basic":this.set("Authorization","Basic ".concat(r("".concat(e,":").concat(t))));break;case"auto":this.username=e,this.password=t;break;case"bearer":this.set("Authorization","Bearer ".concat(e))}return this},r.prototype.withCredentials=function(e){return void 0===e&&(e=!0),this._withCredentials=e,this},r.prototype.redirects=function(e){return this._maxRedirects=e,this},r.prototype.maxResponseSize=function(e){if("number"!=typeof e)throw new TypeError("Invalid argument");return this._maxResponseSize=e,this},r.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},r.prototype.send=function(e){const r=t(e);let o=this._header["content-type"];if(this._formData)throw new Error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()");if(r&&!this._data)Array.isArray(e)?this._data=[]:this._isHost(e)||(this._data={});else if(e&&this._data&&this._isHost(this._data))throw new Error("Can't merge these send calls");if(r&&t(this._data))for(const t in e)n(e,t)&&(this._data[t]=e[t]);else"string"==typeof e?(o||this.type("form"),(o=this._header["content-type"])&&(o=o.toLowerCase().trim()),this._data="application/x-www-form-urlencoded"===o?this._data?"".concat(this._data,"&").concat(e):e:(this._data||"")+e):this._data=e;return!r||this._isHost(e)||o||this.type("json"),this},r.prototype.sortQuery=function(e){return this._sort=void 0===e||e,this},r.prototype._finalizeQueryString=function(){const e=this._query.join("&");if(e&&(this.url+=(this.url.includes("?")?"&":"?")+e),this._query.length=0,this._sort){const e=this.url.indexOf("?");if(e>=0){const t=this.url.slice(e+1).split("&");"function"==typeof this._sort?t.sort(this._sort):t.sort(),this.url=this.url.slice(0,e)+"?"+t.join("&")}}},r.prototype._appendQueryString=()=>{console.warn("Unsupported")},r.prototype._timeoutError=function(e,t,n){if(this._aborted)return;const r=new Error("".concat(e+t,"ms exceeded"));r.timeout=t,r.code="ECONNABORTED",r.errno=n,this.timedout=!0,this.timedoutError=r,this.abort(),this.callback(r)},r.prototype._setTimeouts=function(){const e=this;this._timeout&&!this._timer&&(this._timer=setTimeout((()=>{e._timeoutError("Timeout of ",e._timeout,"ETIME")}),this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout((()=>{e._timeoutError("Response timeout of ",e._responseTimeout,"ETIMEDOUT")}),this._responseTimeout))}}).call(this)}).call(this,Et),Nt=Mt,Mt.prototype.get=function(e){return this.header[e.toLowerCase()]},Mt.prototype._setHeaderProperties=function(e){const t=e["content-type"]||"";this.type=wt.type(t);const n=wt.params(t);for(const e in n)Object.prototype.hasOwnProperty.call(n,e)&&(this[e]=n[e]);this.links={};try{e.link&&(this.links=wt.parseLinks(e.link))}catch(e){}},Mt.prototype._setStatusProperties=function(e){const t=Math.trunc(e/100);this.statusCode=e,this.status=this.statusCode,this.statusType=t,this.info=1===t,this.ok=2===t,this.redirect=3===t,this.clientError=4===t,this.serverError=5===t,this.error=(4===t||5===t)&&this.toError(),this.created=201===e,this.accepted=202===e,this.noContent=204===e,this.badRequest=400===e,this.unauthorized=401===e,this.notAcceptable=406===e,this.forbidden=403===e,this.notFound=404===e,this.unprocessableEntity=422===e};var Ut={};function zt(){this._defaults=[]}for(const e of["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert","disableTLSCerts"])zt.prototype[e]=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this._defaults.push({fn:e,args:n}),this};zt.prototype._setDefaults=function(e){for(const t of this._defaults)e[t.fn](...t.args)},Ut=zt;var qt={};let Gt;"undefined"!=typeof window?Gt=window:"undefined"==typeof self?(console.warn("Using browser-only version of superagent in non-browser environment"),Gt=void 0):Gt=self;const{isObject:Bt,mixin:Ht,hasOwn:$t}=wt;function Vt(){}const Wt=qt=qt=function(e,t){return"function"==typeof t?new qt.Request("GET",e).end(t):1===arguments.length?new qt.Request("GET",e):new qt.Request(e,t)};qt.Request=en,Wt.getXHR=()=>{if(Gt.XMLHttpRequest)return new Gt.XMLHttpRequest;throw new Error("Browser-only version of superagent could not find XHR")};const Kt="".trim?e=>e.trim():e=>e.replace(/(^\s*|\s*$)/g,"");function Qt(e){if(!Bt(e))return e;const t=[];for(const n in e)$t(e,n)&&Zt(t,n,e[n]);return t.join("&")}function Zt(e,t,n){if(void 0!==n)if(null!==n)if(Array.isArray(n))for(const r of n)Zt(e,t,r);else if(Bt(n))for(const r in n)$t(n,r)&&Zt(e,"".concat(t,"[").concat(r,"]"),n[r]);else e.push(encodeURI(t)+"="+encodeURIComponent(n));else e.push(encodeURI(t))}function Xt(e){const t={},n=e.split("&");let r,o;for(let e=0,a=n.length;e<a;++e)-1===(o=(r=n[e]).indexOf("="))?t[decodeURIComponent(r)]="":t[decodeURIComponent(r.slice(0,o))]=decodeURIComponent(r.slice(o+1));return t}function Yt(e){return/[/+]json($|[^-\w])/i.test(e)}function Jt(e){this.req=e,this.xhr=this.req.xhr,this.text="HEAD"!==this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||void 0===this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;let{status:t}=this.xhr;1223===t&&(t=204),this._setStatusProperties(t),this.headers=function(e){const t=e.split(/\r?\n/),n={};let r,o,a,i;for(let e=0,l=t.length;e<l;++e)-1!==(r=(o=t[e]).indexOf(":"))&&(a=o.slice(0,r).toLowerCase(),i=Kt(o.slice(r+1)),n[a]=i);return n}(this.xhr.getAllResponseHeaders()),this.header=this.headers,this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),null===this.text&&e._responseType?this.body=this.xhr.response:this.body="HEAD"===this.req.method?null:this._parseBody(this.text?this.text:this.xhr.response)}function en(e,t){const n=this;this._query=this._query||[],this.method=e,this.url=t,this.header={},this._header={},this.on("end",(()=>{let e,t=null,r=null;try{r=new Jt(n)}catch(e){return(t=new Error("Parser is unable to parse the response")).parse=!0,t.original=e,n.xhr?(t.rawResponse=void 0===n.xhr.responseType?n.xhr.responseText:n.xhr.response,t.status=n.xhr.status?n.xhr.status:null,t.statusCode=t.status):(t.rawResponse=null,t.status=null),n.callback(t)}n.emit("response",r);try{n._isResponseOK(r)||(e=new Error(r.statusText||r.text||"Unsuccessful HTTP response"))}catch(t){e=t}e?(e.original=t,e.response=r,e.status=e.status||r.status,n.callback(e,r)):n.callback(null,r)}))}Wt.serializeObject=Qt,Wt.parseString=Xt,Wt.types={html:"text/html",json:"application/json",xml:"text/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},Wt.serialize={"application/x-www-form-urlencoded":bt.stringify,"application/json":e},Wt.parse={"application/x-www-form-urlencoded":Xt,"application/json":JSON.parse},Ht(Jt.prototype,Nt.prototype),Jt.prototype._parseBody=function(e){let t=Wt.parse[this.type];return this.req._parser?this.req._parser(this,e):(!t&&Yt(this.type)&&(t=Wt.parse["application/json"]),t&&e&&(e.length>0||e instanceof Object)?t(e):null)},Jt.prototype.toError=function(){const{req:e}=this,{method:t}=e,{url:n}=e,r="cannot ".concat(t," ").concat(n," (").concat(this.status,")"),o=new Error(r);return o.status=this.status,o.method=t,o.url=n,o},Wt.Response=Jt,t(en.prototype),Ht(en.prototype,It.prototype),en.prototype.type=function(e){return this.set("Content-Type",Wt.types[e]||e),this},en.prototype.accept=function(e){return this.set("Accept",Wt.types[e]||e),this},en.prototype.auth=function(e,t,n){1===arguments.length&&(t=""),"object"==typeof t&&null!==t&&(n=t,t=""),n||(n={type:"function"==typeof btoa?"basic":"auto"});const r=n.encoder?n.encoder:e=>{if("function"==typeof btoa)return btoa(e);throw new Error("Cannot use basic auth, btoa is not a function")};return this._auth(e,t,n,r)},en.prototype.query=function(e){return"string"!=typeof e&&(e=Qt(e)),e&&this._query.push(e),this},en.prototype.attach=function(e,t,n){if(t){if(this._data)throw new Error("superagent can't mix .send() and .attach()");this._getFormData().append(e,t,n||t.name)}return this},en.prototype._getFormData=function(){return this._formData||(this._formData=new Gt.FormData),this._formData},en.prototype.callback=function(e,t){if(this._shouldRetry(e,t))return this._retry();const n=this._callback;this.clearTimeout(),e&&(this._maxRetries&&(e.retries=this._retries-1),this.emit("error",e)),n(e,t)},en.prototype.crossDomainError=function(){const e=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},en.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},en.prototype.ca=en.prototype.agent,en.prototype.buffer=en.prototype.ca,en.prototype.write=()=>{throw new Error("Streaming is not supported in browser version of superagent")},en.prototype.pipe=en.prototype.write,en.prototype._isHost=function(e){return e&&"object"==typeof e&&!Array.isArray(e)&&"[object Object]"!==Object.prototype.toString.call(e)},en.prototype.end=function(e){this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=e||Vt,this._finalizeQueryString(),this._end()},en.prototype._setUploadTimeout=function(){const e=this;this._uploadTimeout&&!this._uploadTimeoutTimer&&(this._uploadTimeoutTimer=setTimeout((()=>{e._timeoutError("Upload timeout of ",e._uploadTimeout,"ETIMEDOUT")}),this._uploadTimeout))},en.prototype._end=function(){if(this._aborted)return this.callback(new Error("The request has been aborted even before .end() was called"));const e=this;this.xhr=Wt.getXHR();const{xhr:t}=this;let n=this._formData||this._data;this._setTimeouts(),t.addEventListener("readystatechange",(()=>{const{readyState:n}=t;if(n>=2&&e._responseTimeoutTimer&&clearTimeout(e._responseTimeoutTimer),4!==n)return;let r;try{r=t.status}catch(e){r=0}if(!r){if(e.timedout||e._aborted)return;return e.crossDomainError()}e.emit("end")}));const r=(t,n)=>{n.total>0&&(n.percent=n.loaded/n.total*100,100===n.percent&&clearTimeout(e._uploadTimeoutTimer)),n.direction=t,e.emit("progress",n)};if(this.hasListeners("progress"))try{t.addEventListener("progress",r.bind(null,"download")),t.upload&&t.upload.addEventListener("progress",r.bind(null,"upload"))}catch(e){}t.upload&&this._setUploadTimeout();try{this.username&&this.password?t.open(this.method,this.url,!0,this.username,this.password):t.open(this.method,this.url,!0)}catch(e){return this.callback(e)}if(this._withCredentials&&(t.withCredentials=!0),!this._formData&&"GET"!==this.method&&"HEAD"!==this.method&&"string"!=typeof n&&!this._isHost(n)){const e=this._header["content-type"];let t=this._serializer||Wt.serialize[e?e.split(";")[0]:""];!t&&Yt(e)&&(t=Wt.serialize["application/json"]),t&&(n=t(n))}for(const e in this.header)null!==this.header[e]&&$t(this.header,e)&&t.setRequestHeader(e,this.header[e]);this._responseType&&(t.responseType=this._responseType),this.emit("request",this),t.send(void 0===n?null:n)},Wt.agent=()=>new Ut;for(const e of["GET","POST","OPTIONS","PATCH","PUT","DELETE"])Ut.prototype[e.toLowerCase()]=function(t,n){const r=new Wt.Request(e,t);return this._setDefaults(r),n&&r.end(n),r};function tn(e,t,n){const r=Wt("DELETE",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}return Ut.prototype.del=Ut.prototype.delete,Wt.get=(e,t,n)=>{const r=Wt("GET",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},Wt.head=(e,t,n)=>{const r=Wt("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},Wt.options=(e,t,n)=>{const r=Wt("OPTIONS",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},Wt.del=tn,Wt.delete=tn,Wt.patch=(e,t,n)=>{const r=Wt("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},Wt.post=(e,t,n)=>{const r=Wt("POST",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},Wt.put=(e,t,n)=>{const r=Wt("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},qt}()},3250:(e,t,n)=>{"use strict";
68
  /**
69
  * @license React
70
  * use-sync-external-store-shim.production.min.js
82
  *
83
  * This source code is licensed under the MIT license found in the
84
  * LICENSE file in the root directory of this source tree.
85
+ */var r=n(7294),o=n(1688);var a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=o.useSyncExternalStore,l=r.useRef,u=r.useEffect,s=r.useMemo,c=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var f=l(null);if(null===f.current){var d={hasValue:!1,value:null};f.current=d}else d=f.current;f=s((function(){function e(e){if(!u){if(u=!0,i=e,e=r(e),void 0!==o&&d.hasValue){var t=d.value;if(o(t,e))return l=t}return l=e}if(t=l,a(i,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(i=e,l=n)}var i,l,u=!1,s=void 0===n?null:n;return[function(){return e(t())},null===s?void 0:function(){return e(s())}]}),[t,n,r,o]);var p=i(e,f[0],f[1]);return u((function(){d.hasValue=!0,d.value=p}),[p]),c(p),p}},1688:(e,t,n)=>{"use strict";e.exports=n(3250)},2798:(e,t,n)=>{"use strict";e.exports=n(139)},5311:e=>{"use strict";e.exports=jQuery},4942:(e,t,n)=>{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:()=>r})},7462:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},4578:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(9611);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},3366:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:()=>r})},9611:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:()=>r})},8776:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r="Invariant failed";function o(e,t){if(!e)throw new Error(r)}}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={exports:{}};return n[e].call(a.exports,a,a.exports,o),a.exports}o.m=n,o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((t,n)=>(o.f[n](e,t),t)),[])),o.u=e=>"assets/js/chunk-"+e+"."+{8:"adcb74a42ec3dad1697e",88:"59f12724a752bfc35689",291:"51bd6ead27d795b76da8",299:"1fdf7405a84ca5b5117f",366:"7e363cf3e253bf15052e",387:"52e48aec20a21000c4ec",574:"e8df5093fdb37b32857e",604:"67fc126baf3fa70ea4b2",872:"d9934f8bdc2a871c5bb5"}[e]+".js",o.miniCssF=e=>{},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="gravity-pdf:",o.l=(n,r,a,i)=>{if(e[n])e[n].push(r);else{var l,u;if(void 0!==a)for(var s=document.getElementsByTagName("script"),c=0;c<s.length;c++){var f=s[c];if(f.getAttribute("src")==n||f.getAttribute("data-webpack")==t+a){l=f;break}}l||(u=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,o.nc&&l.setAttribute("nonce",o.nc),l.setAttribute("data-webpack",t+a),l.src=n),e[n]=[r];var d=(t,r)=>{l.onerror=l.onload=null,clearTimeout(p);var o=e[n];if(delete e[n],l.parentNode&&l.parentNode.removeChild(l),o&&o.forEach((e=>e(r))),t)return t(r)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=d.bind(null,l.onerror),l.onload=d.bind(null,l.onload),u&&document.head.appendChild(l)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;o.g.importScripts&&(e=o.g.location+"");var t=o.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");n.length&&(e=n[n.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=e+"../../"})(),(()=>{var e={325:0};o.f.j=(t,n)=>{var r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var a=new Promise(((n,o)=>r=e[t]=[n,o]));n.push(r[2]=a);var i=o.p+o.u(t),l=new Error;o.l(i,(n=>{if(o.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var a=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;l.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",l.name="ChunkLoadError",l.type=a,l.request=i,r[1](l)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,a,[i,l,u]=n,s=0;if(i.some((t=>0!==e[t]))){for(r in l)o.o(l,r)&&(o.m[r]=l[r]);if(u)u(o)}for(t&&t(n);s<i.length;s++)a=i[s],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},n=self.webpackChunkgravity_pdf=self.webpackChunkgravity_pdf||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),(()=>{"use strict";o(8674);var e=o(5311),t=o.n(e),n=(o(6992),o(3948),o(9601),o(7294)),r=o(3935),a=o(3727),i=o(6550),l=o(50),u=o.n(l),s=o(8500),c=o(7779),f=function(e){return"@@redux-saga/"+e},d=f("CANCEL_PROMISE"),p=f("CHANNEL_END"),h=f("IO"),y=f("MATCH"),m=f("MULTICAST"),v=f("SAGA_ACTION"),g=f("SELF_CANCELLATION"),b=f("TASK"),w=f("TASK_CANCEL"),E=f("TERMINATE"),S=f("LOCATION"),x=o(7462),k=o(3366),O=function(e){return null==e},F=function(e){return null!=e},P=function(e){return"function"==typeof e},_=function(e){return"string"==typeof e},T=Array.isArray,C=function(e){return e&&P(e.then)},j=function(e){return e&&P(e.next)&&P(e.throw)},R=function e(t){return t&&(_(t)||L(t)||P(t)||T(t)&&t.every(e))},D=function(e){return e&&P(e.take)&&P(e.close)},A=function(e){return P(e)&&e.hasOwnProperty("toString")},L=function(e){return Boolean(e)&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype};var N=function(e){return function(){return e}}(!0),I=function(){};var M=function(e){return e};"function"==typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;var U=function(e,t){(0,x.Z)(e,t),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach((function(n){e[n]=t[n]}))};function z(e,t){var n=e.indexOf(t);n>=0&&e.splice(n,1)}var q=function(e){throw e},G=function(e){return{value:e,done:!0}};function B(e,t,n){void 0===t&&(t=q),void 0===n&&(n="iterator");var r={meta:{name:n},next:e,throw:t,return:G,isSagaIterator:!0};return"undefined"!=typeof Symbol&&(r[Symbol.iterator]=function(){return r}),r}function H(e,t){var n=t.sagaStack;console.error(e),console.error(n)}var $=function(e){return Array.apply(null,new Array(e))},V=function(e){return function(t){return e(Object.defineProperty(t,v,{value:!0}))}},W=function(e){return e===E},K=function(e){return e===w},Q=function(e){return W(e)||K(e)};function Z(e,t){var n=Object.keys(e),r=n.length;var o,a=0,i=T(e)?$(r):{},l={};return n.forEach((function(e){var n=function(n,l){o||(l||Q(n)?(t.cancel(),t(n,l)):(i[e]=n,++a===r&&(o=!0,t(i))))};n.cancel=I,l[e]=n})),t.cancel=function(){o||(o=!0,n.forEach((function(e){return l[e].cancel()})))},l}function X(e){return{name:e.name||"anonymous",location:Y(e)}}function Y(e){return e[S]}function J(e,t){void 0===e&&(e=10);var n=new Array(e),r=0,o=0,a=0,i=function(t){n[o]=t,o=(o+1)%e,r++},l=function(){if(0!=r){var t=n[a];return n[a]=null,r--,a=(a+1)%e,t}},u=function(){for(var e=[];r;)e.push(l());return e};return{isEmpty:function(){return 0==r},put:function(l){var s;if(r<e)i(l);else switch(t){case 1:throw new Error("Channel's Buffer overflow!");case 3:n[o]=l,a=o=(o+1)%e;break;case 4:s=2*e,n=u(),r=n.length,o=n.length,a=0,n.length=s,e=s,i(l)}},take:l,flush:u}}var ee=function(e){return J(e,4)},te="TAKE",ne="PUT",re="ALL",oe="CALL",ae="FORK",ie="CANCEL",le=function(e,t){var n;return(n={})[h]=!0,n.combinator=!1,n.type=e,n.payload=t,n};function ue(e,t){return void 0===e&&(e="*"),R(e)?(F(t)&&console.warn("take(pattern) takes one argument but two were provided. Consider passing an array for listening to several action types"),le(te,{pattern:e})):D(n=e)&&n[m]&&F(t)&&R(t)?le(te,{channel:e,pattern:t}):D(e)?(F(t)&&console.warn("take(channel) takes one argument but two were provided. Second argument is ignored."),le(te,{channel:e})):void 0;var n}function se(e,t){return O(t)&&(t=e,e=void 0),le(ne,{channel:e,action:t})}function ce(e,t){var n,r=null;return P(e)?n=e:(T(e)?(r=e[0],n=e[1]):(r=e.context,n=e.fn),r&&_(n)&&P(r[n])&&(n=r[n])),{context:r,fn:n,args:t}}function fe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return le(oe,ce(e,n))}function de(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return le(ae,ce(e,n))}function pe(e){return void 0===e&&(e=g),le(ie,e)}function he(){var e={};return e.promise=new Promise((function(t,n){e.resolve=t,e.reject=n})),e}const ye=he;var me=[],ve=0;function ge(e){try{Ee(),e()}finally{Se()}}function be(e){me.push(e),ve||(Ee(),xe())}function we(e){try{return Ee(),e()}finally{xe()}}function Ee(){ve++}function Se(){ve--}function xe(){var e;for(Se();!ve&&void 0!==(e=me.shift());)ge(e)}var ke=function(e){return function(t){return e.some((function(e){return Te(e)(t)}))}},Oe=function(e){return function(t){return e(t)}},Fe=function(e){return function(t){return t.type===String(e)}},Pe=function(e){return function(t){return t.type===e}},_e=function(){return N};function Te(e){var t="*"===e?_e:_(e)?Fe:T(e)?ke:A(e)?Fe:P(e)?Oe:L(e)?Pe:null;if(null===t)throw new Error("invalid pattern: "+e);return t(e)}var Ce={type:p},je=function(e){return e&&e.type===p};function Re(e){void 0===e&&(e=ee());var t=!1,n=[];return{take:function(r){t&&e.isEmpty()?r(Ce):e.isEmpty()?(n.push(r),r.cancel=function(){z(n,r)}):r(e.take())},put:function(r){if(!t){if(0===n.length)return e.put(r);n.shift()(r)}},flush:function(n){t&&e.isEmpty()?n(Ce):n(e.flush())},close:function(){if(!t){t=!0;var e=n;n=[];for(var r=0,o=e.length;r<o;r++){(0,e[r])(Ce)}}}}}function De(){var e,t,n,r,o,a,i=(t=!1,r=n=[],o=function(){r===n&&(r=n.slice())},a=function(){t=!0;var e=n=r;r=[],e.forEach((function(e){e(Ce)}))},(e={})[m]=!0,e.put=function(e){if(!t)if(je(e))a();else for(var o=n=r,i=0,l=o.length;i<l;i++){var u=o[i];u[y](e)&&(u.cancel(),u(e))}},e.take=function(e,n){var a,i;void 0===n&&(n=_e),t?e(Ce):(e[y]=n,o(),r.push(e),e.cancel=(a=function(){o(),z(r,e)},i=!1,function(){i||(i=!0,a())}))},e.close=a,e),l=i.put;return i.put=function(e){e[v]?l(e):be((function(){l(e)}))},i}function Ae(e,t){var n=e[d];P(n)&&(t.cancel=n),e.then(t,(function(e){t(e,!0)}))}var Le,Ne=0,Ie=function(){return++Ne};function Me(e){e.isRunning()&&e.cancel()}var Ue=((Le={}).TAKE=function(e,t,n){var r=t.channel,o=void 0===r?e.channel:r,a=t.pattern,i=t.maybe,l=function(e){e instanceof Error?n(e,!0):!je(e)||i?n(e):n(E)};try{o.take(l,F(a)?Te(a):null)}catch(e){return void n(e,!0)}n.cancel=l.cancel},Le.PUT=function(e,t,n){var r=t.channel,o=t.action,a=t.resolve;be((function(){var t;try{t=(r?r.put:e.dispatch)(o)}catch(e){return void n(e,!0)}a&&C(t)?Ae(t,n):n(t)}))},Le.ALL=function(e,t,n,r){var o=r.digestEffect,a=Ne,i=Object.keys(t);if(0!==i.length){var l=Z(t,n);i.forEach((function(e){o(t[e],a,l[e],e)}))}else n(T(t)?[]:{})},Le.RACE=function(e,t,n,r){var o=r.digestEffect,a=Ne,i=Object.keys(t),l=T(t)?$(i.length):{},u={},s=!1;i.forEach((function(e){var t=function(t,r){s||(r||Q(t)?(n.cancel(),n(t,r)):(n.cancel(),s=!0,l[e]=t,n(l)))};t.cancel=I,u[e]=t})),n.cancel=function(){s||(s=!0,i.forEach((function(e){return u[e].cancel()})))},i.forEach((function(e){s||o(t[e],a,u[e],e)}))},Le.CALL=function(e,t,n,r){var o=t.context,a=t.fn,i=t.args,l=r.task;try{var u=a.apply(o,i);if(C(u))return void Ae(u,n);if(j(u))return void Qe(e,u,l.context,Ne,X(a),!1,n);n(u)}catch(e){n(e,!0)}},Le.CPS=function(e,t,n){var r=t.context,o=t.fn,a=t.args;try{var i=function(e,t){O(e)?n(t):n(e,!0)};o.apply(r,a.concat(i)),i.cancel&&(n.cancel=i.cancel)}catch(e){n(e,!0)}},Le.FORK=function(e,t,n,r){var o=t.context,a=t.fn,i=t.args,l=t.detached,u=r.task,s=function(e){var t=e.context,n=e.fn,r=e.args;try{var o=n.apply(t,r);if(j(o))return o;var a=!1;return B((function(e){return a?{value:e,done:!0}:(a=!0,{value:o,done:!C(o)})}))}catch(e){return B((function(){throw e}))}}({context:o,fn:a,args:i}),c=function(e,t){return e.isSagaIterator?{name:e.meta.name}:X(t)}(s,a);we((function(){var t=Qe(e,s,u.context,Ne,c,l,void 0);l?n(t):t.isRunning()?(u.queue.addTask(t),n(t)):t.isAborted()?u.queue.abort(t.error()):n(t)}))},Le.JOIN=function(e,t,n,r){var o=r.task,a=function(e,t){if(e.isRunning()){var n={task:o,cb:t};t.cancel=function(){e.isRunning()&&z(e.joiners,n)},e.joiners.push(n)}else e.isAborted()?t(e.error(),!0):t(e.result())};if(T(t)){if(0===t.length)return void n([]);var i=Z(t,n);t.forEach((function(e,t){a(e,i[t])}))}else a(t,n)},Le.CANCEL=function(e,t,n,r){var o=r.task;t===g?Me(o):T(t)?t.forEach(Me):Me(t),n()},Le.SELECT=function(e,t,n){var r=t.selector,o=t.args;try{n(r.apply(void 0,[e.getState()].concat(o)))}catch(e){n(e,!0)}},Le.ACTION_CHANNEL=function(e,t,n){var r=t.pattern,o=Re(t.buffer),a=Te(r),i=function t(n){je(n)||e.channel.take(t,a),o.put(n)},l=o.close;o.close=function(){i.cancel(),l()},e.channel.take(i,a),n(o)},Le.CANCELLED=function(e,t,n,r){n(r.task.isCancelled())},Le.FLUSH=function(e,t,n){t.flush(n)},Le.GET_CONTEXT=function(e,t,n,r){n(r.task.context[t])},Le.SET_CONTEXT=function(e,t,n,r){var o=r.task;U(o.context,t),n()},Le);function ze(e,t){return e+"?"+t}function qe(e){var t=e.name,n=e.location;return n?t+" "+ze(n.fileName,n.lineNumber):t}function Ge(e){var t,n,r,o=(t=function(e){return e.cancelledTasks},n=e,(r=[]).concat.apply(r,n.map(t)));return o.length?["Tasks cancelled due to error:"].concat(o).join("\n"):""}var Be=null,He=[],$e=function(e){e.crashedEffect=Be,He.push(e)},Ve=function(){Be=null,He.length=0},We=function(){var e=He[0],t=He.slice(1),n=e.crashedEffect?function(e){var t=Y(e);return t?t.code+" "+ze(t.fileName,t.lineNumber):""}(e.crashedEffect):null;return["The above error occurred in task "+qe(e.meta)+(n?" \n when executing effect "+n:"")].concat(t.map((function(e){return" created by "+qe(e.meta)})),[Ge(He)]).join("\n")};function Ke(e,t,n,r,o,a,i){var l;void 0===i&&(i=I);var u,s,c=0,f=null,d=[],p=Object.create(n),h=function(e,t,n){var r,o=[],a=!1;function i(e){t(),u(),n(e,!0)}function l(t){o.push(t),t.cont=function(l,u){a||(z(o,t),t.cont=I,u?i(l):(t===e&&(r=l),o.length||(a=!0,n(r))))}}function u(){a||(a=!0,o.forEach((function(e){e.cont=I,e.cancel()})),o=[])}return l(e),{addTask:l,cancelAll:u,abort:i,getTasks:function(){return o}}}(t,(function(){d.push.apply(d,h.getTasks().map((function(e){return e.meta.name})))}),y);function y(t,n){if(n){if(c=2,$e({meta:o,cancelledTasks:d}),m.isRoot){var r=We();Ve(),e.onError(t,{sagaStack:r})}s=t,f&&f.reject(t)}else t===w?c=1:1!==c&&(c=3),u=t,f&&f.resolve(t);m.cont(t,n),m.joiners.forEach((function(e){e.cb(t,n)})),m.joiners=null}var m=((l={})[b]=!0,l.id=r,l.meta=o,l.isRoot=a,l.context=p,l.joiners=[],l.queue=h,l.cancel=function(){0===c&&(c=1,h.cancelAll(),y(w,!1))},l.cont=i,l.end=y,l.setContext=function(e){U(p,e)},l.toPromise=function(){return f||(f=ye(),2===c?f.reject(s):0!==c&&f.resolve(u)),f.promise},l.isRunning=function(){return 0===c},l.isCancelled=function(){return 1===c||0===c&&1===t.status},l.isAborted=function(){return 2===c},l.result=function(){return u},l.error=function(){return s},l);return m}function Qe(e,t,n,r,o,a,i){var l=e.finalizeRunEffect((function(t,n,r){if(C(t))Ae(t,r);else if(j(t))Qe(e,t,s.context,n,o,!1,r);else if(t&&t[h]){(0,Ue[t.type])(e,t.payload,r,c)}else r(t)}));f.cancel=I;var u={meta:o,cancel:function(){0===u.status&&(u.status=1,f(w))},status:0},s=Ke(e,u,n,r,o,a,i),c={task:s,digestEffect:d};return i&&(i.cancel=s.cancel),f(),s;function f(e,n){try{var o;n?(o=t.throw(e),Ve()):K(e)?(u.status=1,f.cancel(),o=P(t.return)?t.return(w):{done:!0,value:w}):o=W(e)?P(t.return)?t.return():{done:!0}:t.next(e),o.done?(1!==u.status&&(u.status=3),u.cont(o.value)):d(o.value,r,f)}catch(e){if(1===u.status)throw e;u.status=2,u.cont(e,!0)}}function d(t,n,r,o){void 0===o&&(o="");var a,i=Ie();function u(n,o){a||(a=!0,r.cancel=I,e.sagaMonitor&&(o?e.sagaMonitor.effectRejected(i,n):e.sagaMonitor.effectResolved(i,n)),o&&function(e){Be=e}(t),r(n,o))}e.sagaMonitor&&e.sagaMonitor.effectTriggered({effectId:i,parentEffectId:n,label:o,effect:t}),u.cancel=I,r.cancel=function(){a||(a=!0,u.cancel(),u.cancel=I,e.sagaMonitor&&e.sagaMonitor.effectCancelled(i))},l(t,i,u)}}function Ze(e,t){var n=e.channel,r=void 0===n?De():n,o=e.dispatch,a=e.getState,i=e.context,l=void 0===i?{}:i,u=e.sagaMonitor,s=e.effectMiddlewares,f=e.onError,d=void 0===f?H:f;for(var p=arguments.length,h=new Array(p>2?p-2:0),y=2;y<p;y++)h[y-2]=arguments[y];var m=t.apply(void 0,h);var v,g=Ie();if(u&&(u.rootSagaStarted=u.rootSagaStarted||I,u.effectTriggered=u.effectTriggered||I,u.effectResolved=u.effectResolved||I,u.effectRejected=u.effectRejected||I,u.effectCancelled=u.effectCancelled||I,u.actionDispatched=u.actionDispatched||I,u.rootSagaStarted({effectId:g,saga:t,args:h})),s){var b=c.qC.apply(void 0,s);v=function(e){return function(t,n,r){return b((function(t){return e(t,n,r)}))(t)}}}else v=M;var w={channel:r,dispatch:V(o),getState:a,sagaMonitor:u,onError:d,finalizeRunEffect:v};return we((function(){var e=Qe(w,m,l,g,X(t),!0,void 0);return u&&u.effectResolved(g,e),e}))}const Xe=function(e){var t,n=void 0===e?{}:e,r=n.context,o=void 0===r?{}:r,a=n.channel,i=void 0===a?De():a,l=n.sagaMonitor,u=(0,k.Z)(n,["context","channel","sagaMonitor"]);function s(e){var n=e.getState,r=e.dispatch;return t=Ze.bind(null,(0,x.Z)({},u,{context:o,channel:i,dispatch:r,getState:n,sagaMonitor:l})),function(e){return function(t){l&&l.actionDispatched&&l.actionDispatched(t);var n=e(t);return i.put(t),n}}}return s.run=function(){return t.apply(void 0,arguments)},s.setContext=function(e){U(o,e)},s},Ye=Xe;var Je=function(e){return{done:!0,value:e}},et={};function tt(e){return D(e)?"channel":A(e)?String(e):P(e)?e.name:String(e)}function nt(e,t,n){var r,o,a,i=t;function l(t,n){if(i===et)return Je(t);if(n&&!o)throw i=et,n;r&&r(t);var l=n?e[o](n):e[i]();return i=l.nextState,a=l.effect,r=l.stateUpdater,o=l.errorState,i===et?Je(t):a}return B(l,(function(e){return l(null,e)}),n)}function rt(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var a,i,l={done:!1,value:ue(e)},u=function(e){return{done:!1,value:de.apply(void 0,[t].concat(r,[e]))}},s=function(e){return{done:!1,value:pe(e)}},c=function(e){return a=e},f=function(e){return i=e};return nt({q1:function(){return{nextState:"q2",effect:l,stateUpdater:f}},q2:function(){return a?{nextState:"q3",effect:s(a)}:{nextState:"q1",effect:u(i),stateUpdater:c}},q3:function(){return{nextState:"q1",effect:u(i),stateUpdater:c}}},"q1","takeLatest("+tt(e)+", "+t.name+")")}function ot(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return de.apply(void 0,[rt,e,t].concat(r))}var at=o(4738),it=o(3045),lt=o.n(it);
86
  /**
87
  * @package Gravity PDF
88
  * @copyright Copyright (c) 2022, Blue Liquid Designs
110
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
111
  * @since 5.2
112
  */
113
+ function*wt(){try{var e=yield fe(gt);yield se((0,vt.dH)(e.body))}catch(e){yield se((0,vt.S2)(GFPDF.coreFontGithubError))}}function*Et(e){for(;;){var t=yield ue(e);yield se((0,vt.hA)(t,"pending",GFPDF.coreFontItemPendingMessage.replace("%s",t)));try{var n=yield fe(bt,t);if(!n.body)throw n;yield se((0,vt.hA)(t,"success",GFPDF.coreFontItemSuccessMessage.replace("%s",t)))}catch(e){yield se((0,vt.hA)(t,"error",GFPDF.coreFontItemErrorMessage.replace("%s",t))),yield se((0,vt.vQ)(t))}finally{yield se((0,vt._V)())}}}function*St(){yield ot(vt.xM,wt)}function*xt(){for(var e=yield fe(Re),t=0;t<5;t++)yield de(Et,e);for(;;){var{payload:n}=yield ue(vt.IK);yield se(e,n)}}o(7658);var kt=o(3854);function Ot(e,t,n,r,o,a,i){try{var l=e[a](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,o)}
114
  /**
115
  * @package Gravity PDF
116
  * @copyright Copyright (c) 2022, Blue Liquid Designs
179
  * @copyright Copyright (c) 2022, Blue Liquid Designs
180
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
181
  * @since 4.1
182
+ */const gn=()=>!1;function bn(){return bn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bn.apply(this,arguments)}var wn=(0,n.lazy)((()=>Promise.all([o.e(299),o.e(366),o.e(387)]).then(o.bind(o,9387)))),En=(0,n.lazy)((()=>Promise.all([o.e(299),o.e(366),o.e(872)]).then(o.bind(o,4872)))),Sn=()=>n.createElement(n.Suspense,{fallback:n.createElement("div",null,GFPDF.spinnerAlt)},n.createElement(a.UT,null,n.createElement(i.rs,null,n.createElement(i.AW,{path:"/template",exact:!0,render:e=>n.createElement(wn,bn({},e,{ajaxUrl:GFPDF.ajaxUrl,ajaxNonce:GFPDF.ajaxNonce,templateDetailsText:GFPDF.templateDetails,templateHeaderText:GFPDF.installedPdfs,genericUploadErrorText:GFPDF.problemWithTheUpload,activateText:GFPDF.select,addTemplateText:GFPDF.addNewTemplate,filenameErrorText:GFPDF.uploadInvalidNotZipFile,filesizeErrorText:GFPDF.uploadInvalidExceedsFileSizeLimit,installSuccessText:GFPDF.templateSuccessfullyInstalled,installUpdatedText:GFPDF.templateSuccessfullyUpdated,templateSuccessfullyInstalledUpdated:GFPDF.templateSuccessfullyInstalledUpdated,templateInstallInstructions:GFPDF.templateInstallInstructions}))}),n.createElement(i.AW,{path:"/template/:id",render:e=>n.createElement(En,bn({},e,{ajaxUrl:GFPDF.ajaxUrl,ajaxNonce:GFPDF.ajaxNonce,pdfWorkingDirPath:GFPDF.pdfWorkingDir,activateText:GFPDF.select,templateDeleteText:GFPDF.delete,templateConfirmDeleteText:GFPDF.doYouWantToDeleteTemplate,templateDeleteErrorText:GFPDF.couldNotDeleteTemplate,currentTemplateText:GFPDF.currentTemplate,versionText:GFPDF.version,groupText:GFPDF.group,tagsText:GFPDF.tags,showPreviousTemplateText:GFPDF.showPreviousTemplate,showNextTemplateText:GFPDF.showNextTemplate}))}),n.createElement(i.AW,{component:gn}))));function xn(){return xn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xn.apply(this,arguments)}var kn=(0,n.lazy)((()=>o.e(88).then(o.bind(o,6088))));
183
  /**
184
  * Advanced Template Selector Bootstrap
185
  *
dist/assets/js/chunk-142.988aa2760a0153882311.js DELETED
@@ -1 +0,0 @@
1
- (self.webpackChunkgravity_pdf=self.webpackChunkgravity_pdf||[]).push([[142],{7045:(t,e,r)=>{var n=r(6339),i=r(3070);t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),i.f(t,e,r)}},9587:(t,e,r)=>{var n=r(614),i=r(111),o=r(7674);t.exports=function(t,e,r){var u,c;return o&&n(u=e.constructor)&&u!==r&&i(c=u.prototype)&&c!==r.prototype&&o(t,c),t}},3009:(t,e,r)=>{var n=r(7854),i=r(7293),o=r(1702),u=r(1340),c=r(3111).trim,a=r(1361),l=n.parseInt,f=n.Symbol,s=f&&f.iterator,p=/^[+-]?0x/i,v=o(p.exec),g=8!==l(a+"08")||22!==l(a+"0x16")||s&&!i((function(){l(Object(s))}));t.exports=g?function(t,e){var r=c(u(t));return l(r,e>>>0||(v(p,r)?16:10))}:l},2626:(t,e,r)=>{var n=r(3070).f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},4706:(t,e,r)=>{var n=r(6916),i=r(2597),o=r(7976),u=r(7066),c=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in c||i(t,"flags")||!o(c,t)?e:n(u,t)}},3111:(t,e,r)=>{var n=r(1702),i=r(4488),o=r(1340),u=r(1361),c=n("".replace),a="["+u+"]",l=RegExp("^"+a+a+"*"),f=RegExp(a+a+"*$"),s=function(t){return function(e){var r=o(i(e));return 1&t&&(r=c(r,l,"")),2&t&&(r=c(r,f,"")),r}};t.exports={start:s(1),end:s(2),trim:s(3)}},1361:t=>{t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},1058:(t,e,r)=>{var n=r(2109),i=r(3009);n({global:!0,forced:parseInt!=i},{parseInt:i})},4603:(t,e,r)=>{var n=r(9781),i=r(7854),o=r(1702),u=r(4705),c=r(9587),a=r(8880),l=r(8006).f,f=r(7976),s=r(7850),p=r(1340),v=r(4706),g=r(2999),h=r(2626),d=r(8052),y=r(7293),x=r(2597),b=r(9909).enforce,m=r(6340),E=r(5112),R=r(9441),S=r(7168),w=E("match"),k=i.RegExp,I=k.prototype,A=i.SyntaxError,O=o(I.exec),C=o("".charAt),P=o("".replace),_=o("".indexOf),j=o("".slice),T=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,U=/a/g,q=/a/g,z=new k(U)!==U,D=g.MISSED_STICKY,N=g.UNSUPPORTED_Y,F=n&&(!z||D||R||S||y((function(){return q[w]=!1,k(U)!=U||k(q)==q||"/a/i"!=k(U,"i")})));if(u("RegExp",F)){for(var Y=function(t,e){var r,n,i,o,u,l,g=f(I,this),h=s(t),d=void 0===e,y=[],m=t;if(!g&&h&&d&&t.constructor===Y)return t;if((h||f(I,t))&&(t=t.source,d&&(e=v(m))),t=void 0===t?"":p(t),e=void 0===e?"":p(e),m=t,R&&"dotAll"in U&&(n=!!e&&_(e,"s")>-1)&&(e=P(e,/s/g,"")),r=e,D&&"sticky"in U&&(i=!!e&&_(e,"y")>-1)&&N&&(e=P(e,/y/g,"")),S&&(o=function(t){for(var e,r=t.length,n=0,i="",o=[],u={},c=!1,a=!1,l=0,f="";n<=r;n++){if("\\"===(e=C(t,n)))e+=C(t,++n);else if("]"===e)c=!1;else if(!c)switch(!0){case"["===e:c=!0;break;case"("===e:O(T,j(t,n+1))&&(n+=2,a=!0),i+=e,l++;continue;case">"===e&&a:if(""===f||x(u,f))throw new A("Invalid capture group name");u[f]=!0,o[o.length]=[f,l],a=!1,f="";continue}a?f+=e:i+=e}return[i,o]}(t),t=o[0],y=o[1]),u=c(k(t,e),g?this:I,Y),(n||i||y.length)&&(l=b(u),n&&(l.dotAll=!0,l.raw=Y(function(t){for(var e,r=t.length,n=0,i="",o=!1;n<=r;n++)"\\"!==(e=C(t,n))?o||"."!==e?("["===e?o=!0:"]"===e&&(o=!1),i+=e):i+="[\\s\\S]":i+=e+C(t,++n);return i}(t),r)),i&&(l.sticky=!0),y.length&&(l.groups=y)),t!==m)try{a(u,"source",""===m?"(?:)":m)}catch(t){}return u},$=l(k),M=0;$.length>M;)h(Y,k,$[M++]);I.constructor=Y,Y.prototype=I,d(i,"RegExp",Y,{constructor:!0})}m("RegExp")},8450:(t,e,r)=>{var n=r(9781),i=r(9441),o=r(4326),u=r(7045),c=r(9909).get,a=RegExp.prototype,l=TypeError;n&&i&&u(a,"dotAll",{configurable:!0,get:function(){if(this!==a){if("RegExp"===o(this))return!!c(this).dotAll;throw l("Incompatible receiver, RegExp required")}}})},9714:(t,e,r)=>{"use strict";var n=r(6530).PROPER,i=r(8052),o=r(9670),u=r(1340),c=r(7293),a=r(4706),l="toString",f=RegExp.prototype.toString,s=c((function(){return"/a/b"!=f.call({source:"a",flags:"b"})})),p=n&&f.name!=l;(s||p)&&i(RegExp.prototype,l,(function(){var t=o(this);return"/"+u(t.source)+"/"+u(a(t))}),{unsafe:!0})},3123:(t,e,r)=>{"use strict";var n=r(2104),i=r(6916),o=r(1702),u=r(7007),c=r(7850),a=r(9670),l=r(4488),f=r(6707),s=r(1530),p=r(7466),v=r(1340),g=r(8173),h=r(1589),d=r(7651),y=r(2261),x=r(2999),b=r(7293),m=x.UNSUPPORTED_Y,E=4294967295,R=Math.min,S=[].push,w=o(/./.exec),k=o(S),I=o("".slice);u("split",(function(t,e,r){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,r){var o=v(l(this)),u=void 0===r?E:r>>>0;if(0===u)return[];if(void 0===t)return[o];if(!c(t))return i(e,o,t,u);for(var a,f,s,p=[],g=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),d=0,x=new RegExp(t.source,g+"g");(a=i(y,x,o))&&!((f=x.lastIndex)>d&&(k(p,I(o,d,a.index)),a.length>1&&a.index<o.length&&n(S,p,h(a,1)),s=a[0].length,d=f,p.length>=u));)x.lastIndex===a.index&&x.lastIndex++;return d===o.length?!s&&w(x,"")||k(p,""):k(p,I(o,d)),p.length>u?h(p,0,u):p}:"0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:i(e,this,t,r)}:e,[function(e,r){var n=l(this),u=null==e?void 0:g(e,t);return u?i(u,e,n,r):i(o,v(n),e,r)},function(t,n){var i=a(this),u=v(t),c=r(o,i,u,n,o!==e);if(c.done)return c.value;var l=f(i,RegExp),g=i.unicode,h=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(m?"g":"y"),y=new l(m?"^(?:"+i.source+")":i,h),x=void 0===n?E:n>>>0;if(0===x)return[];if(0===u.length)return null===d(y,u)?[u]:[];for(var b=0,S=0,w=[];S<u.length;){y.lastIndex=m?0:S;var A,O=d(y,m?I(u,S):u);if(null===O||(A=R(p(y.lastIndex+(m?S:0)),u.length))===b)S=s(u,S,g);else{if(k(w,I(u,b,S)),w.length===x)return w;for(var C=1;C<=O.length-1;C++)if(k(w,O[C]),w.length===x)return w;S=b=A}}return k(w,I(u,b)),w}]}),!!b((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),m)},1817:(t,e,r)=>{"use strict";var n=r(2109),i=r(9781),o=r(7854),u=r(1702),c=r(2597),a=r(614),l=r(7976),f=r(1340),s=r(3070).f,p=r(9920),v=o.Symbol,g=v&&v.prototype;if(i&&a(v)&&(!("description"in g)||void 0!==v().description)){var h={},d=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:f(arguments[0]),e=l(g,this)?new v(t):void 0===t?v():v(t);return""===t&&(h[e]=!0),e};p(d,v),d.prototype=g,g.constructor=d;var y="Symbol(test)"==String(v("test")),x=u(g.toString),b=u(g.valueOf),m=/^Symbol\((.*)\)[^)]+$/,E=u("".replace),R=u("".slice);s(g,"description",{configurable:!0,get:function(){var t=b(this),e=x(t);if(c(h,t))return"";var r=y?R(e,7,-1):E(e,m,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:d})}},573:(t,e,r)=>{"use strict";r.d(e,{P1:()=>a});var n="NOT_FOUND";var i=function(t,e){return t===e};function o(t,e){var r,o,u="object"==typeof e?e:{equalityCheck:e},c=u.equalityCheck,a=void 0===c?i:c,l=u.maxSize,f=void 0===l?1:l,s=u.resultEqualityCheck,p=function(t){return function(e,r){if(null===e||null===r||e.length!==r.length)return!1;for(var n=e.length,i=0;i<n;i++)if(!t(e[i],r[i]))return!1;return!0}}(a),v=1===f?(r=p,{get:function(t){return o&&r(o.key,t)?o.value:n},put:function(t,e){o={key:t,value:e}},getEntries:function(){return o?[o]:[]},clear:function(){o=void 0}}):function(t,e){var r=[];function i(t){var i=r.findIndex((function(r){return e(t,r.key)}));if(i>-1){var o=r[i];return i>0&&(r.splice(i,1),r.unshift(o)),o.value}return n}return{get:i,put:function(e,o){i(e)===n&&(r.unshift({key:e,value:o}),r.length>t&&r.pop())},getEntries:function(){return r},clear:function(){r=[]}}}(f,p);function g(){var e=v.get(arguments);if(e===n){if(e=t.apply(null,arguments),s){var r=v.getEntries(),i=r.find((function(t){return s(t.value,e)}));i&&(e=i.value)}v.put(arguments,e)}return e}return g.clearCache=function(){return v.clear()},g}function u(t){var e=Array.isArray(t[0])?t[0]:t;if(!e.every((function(t){return"function"==typeof t}))){var r=e.map((function(t){return"function"==typeof t?"function "+(t.name||"unnamed")+"()":typeof t})).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+r+"]")}return e}function c(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];var i=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var o,c=0,a={memoizeOptions:void 0},l=n.pop();if("object"==typeof l&&(a=l,l=n.pop()),"function"!=typeof l)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof l+"]");var f=a,s=f.memoizeOptions,p=void 0===s?r:s,v=Array.isArray(p)?p:[p],g=u(n),h=t.apply(void 0,[function(){return c++,l.apply(null,arguments)}].concat(v)),d=t((function(){for(var t=[],e=g.length,r=0;r<e;r++)t.push(g[r].apply(null,arguments));return o=h.apply(null,t)}));return Object.assign(d,{resultFunc:l,memoizedResultFunc:h,dependencies:g,lastResult:function(){return o},recomputations:function(){return c},resetRecomputations:function(){return c=0}}),d};return i}var a=c(o)}}]);
 
dist/assets/js/{chunk-291.1bffe2206b6fc15d1ea1.js → chunk-291.51bd6ead27d795b76da8.js} RENAMED
@@ -1,4 +1,4 @@
1
- "use strict";(self.webpackChunkgravity_pdf=self.webpackChunkgravity_pdf||[]).push([[291],{7291:(e,t,r)=>{r.r(t),r.d(t,{default:()=>w});var o=r(7294),n=r(5697),s=r.n(n),a=r(3727),l=r(5977),i=(r(6992),r(3948),r(4916),r(5306),r(6706));r(5069);const c=()=>o.createElement("div",{className:"gfpdf-core-font-spacer"},"---");function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
2
  /**
3
  * @package Gravity PDF
4
  * @copyright Copyright (c) 2022, Blue Liquid Designs
1
+ "use strict";(self.webpackChunkgravity_pdf=self.webpackChunkgravity_pdf||[]).push([[291],{7291:(e,t,r)=>{r.r(t),r.d(t,{default:()=>w});var o=r(7294),n=r(5697),s=r.n(n),a=r(3727),l=r(6550),i=(r(6992),r(3948),r(4916),r(5306),r(6706));r(5069);const c=()=>o.createElement("div",{className:"gfpdf-core-font-spacer"},"---");function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
2
  /**
3
  * @package Gravity PDF
4
  * @copyright Copyright (c) 2022, Blue Liquid Designs
dist/assets/js/chunk-299.1fdf7405a84ca5b5117f.js ADDED
@@ -0,0 +1 @@
 
1
+ (self.webpackChunkgravity_pdf=self.webpackChunkgravity_pdf||[]).push([[299],{7045:(t,r,e)=>{var n=e(6339),o=e(3070);t.exports=function(t,r,e){return e.get&&n(e.get,r,{getter:!0}),e.set&&n(e.set,r,{setter:!0}),o.f(t,r,e)}},9587:(t,r,e)=>{var n=e(614),o=e(111),i=e(7674);t.exports=function(t,r,e){var u,c;return i&&n(u=r.constructor)&&u!==e&&o(c=u.prototype)&&c!==e.prototype&&i(t,c),t}},3009:(t,r,e)=>{var n=e(7854),o=e(7293),i=e(1702),u=e(1340),c=e(3111).trim,a=e(1361),f=n.parseInt,p=n.Symbol,s=p&&p.iterator,l=/^[+-]?0x/i,v=i(l.exec),g=8!==f(a+"08")||22!==f(a+"0x16")||s&&!o((function(){f(Object(s))}));t.exports=g?function(t,r){var e=c(u(t));return f(e,r>>>0||(v(l,e)?16:10))}:f},2626:(t,r,e)=>{var n=e(3070).f;t.exports=function(t,r,e){e in t||n(t,e,{configurable:!0,get:function(){return r[e]},set:function(t){r[e]=t}})}},4706:(t,r,e)=>{var n=e(6916),o=e(2597),i=e(7976),u=e(7066),c=RegExp.prototype;t.exports=function(t){var r=t.flags;return void 0!==r||"flags"in c||o(t,"flags")||!i(c,t)?r:n(u,t)}},3111:(t,r,e)=>{var n=e(1702),o=e(4488),i=e(1340),u=e(1361),c=n("".replace),a="["+u+"]",f=RegExp("^"+a+a+"*"),p=RegExp(a+a+"*$"),s=function(t){return function(r){var e=i(o(r));return 1&t&&(e=c(e,f,"")),2&t&&(e=c(e,p,"")),e}};t.exports={start:s(1),end:s(2),trim:s(3)}},1361:t=>{t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},1058:(t,r,e)=>{var n=e(2109),o=e(3009);n({global:!0,forced:parseInt!=o},{parseInt:o})},4603:(t,r,e)=>{var n=e(9781),o=e(7854),i=e(1702),u=e(4705),c=e(9587),a=e(8880),f=e(8006).f,p=e(7976),s=e(7850),l=e(1340),v=e(4706),g=e(2999),y=e(2626),h=e(8052),d=e(7293),x=e(2597),b=e(9909).enforce,m=e(6340),E=e(5112),R=e(9441),S=e(7168),w=E("match"),k=o.RegExp,A=k.prototype,O=o.SyntaxError,I=i(A.exec),C=i("".charAt),j=i("".replace),P=i("".indexOf),_=i("".slice),q=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,z=/a/g,T=/a/g,D=new k(z)!==z,F=g.MISSED_STICKY,N=g.UNSUPPORTED_Y,U=n&&(!D||F||R||S||d((function(){return T[w]=!1,k(z)!=z||k(T)==T||"/a/i"!=k(z,"i")})));if(u("RegExp",U)){for(var $=function(t,r){var e,n,o,i,u,f,g=p(A,this),y=s(t),h=void 0===r,d=[],m=t;if(!g&&y&&h&&t.constructor===$)return t;if((y||p(A,t))&&(t=t.source,h&&(r=v(m))),t=void 0===t?"":l(t),r=void 0===r?"":l(r),m=t,R&&"dotAll"in z&&(n=!!r&&P(r,"s")>-1)&&(r=j(r,/s/g,"")),e=r,F&&"sticky"in z&&(o=!!r&&P(r,"y")>-1)&&N&&(r=j(r,/y/g,"")),S&&(i=function(t){for(var r,e=t.length,n=0,o="",i=[],u={},c=!1,a=!1,f=0,p="";n<=e;n++){if("\\"===(r=C(t,n)))r+=C(t,++n);else if("]"===r)c=!1;else if(!c)switch(!0){case"["===r:c=!0;break;case"("===r:I(q,_(t,n+1))&&(n+=2,a=!0),o+=r,f++;continue;case">"===r&&a:if(""===p||x(u,p))throw new O("Invalid capture group name");u[p]=!0,i[i.length]=[p,f],a=!1,p="";continue}a?p+=r:o+=r}return[o,i]}(t),t=i[0],d=i[1]),u=c(k(t,r),g?this:A,$),(n||o||d.length)&&(f=b(u),n&&(f.dotAll=!0,f.raw=$(function(t){for(var r,e=t.length,n=0,o="",i=!1;n<=e;n++)"\\"!==(r=C(t,n))?i||"."!==r?("["===r?i=!0:"]"===r&&(i=!1),o+=r):o+="[\\s\\S]":o+=r+C(t,++n);return o}(t),e)),o&&(f.sticky=!0),d.length&&(f.groups=d)),t!==m)try{a(u,"source",""===m?"(?:)":m)}catch(t){}return u},Y=f(k),K=0;Y.length>K;)y($,k,Y[K++]);A.constructor=$,$.prototype=A,h(o,"RegExp",$,{constructor:!0})}m("RegExp")},8450:(t,r,e)=>{var n=e(9781),o=e(9441),i=e(4326),u=e(7045),c=e(9909).get,a=RegExp.prototype,f=TypeError;n&&o&&u(a,"dotAll",{configurable:!0,get:function(){if(this!==a){if("RegExp"===i(this))return!!c(this).dotAll;throw f("Incompatible receiver, RegExp required")}}})},9714:(t,r,e)=>{"use strict";var n=e(6530).PROPER,o=e(8052),i=e(9670),u=e(1340),c=e(7293),a=e(4706),f="toString",p=RegExp.prototype.toString,s=c((function(){return"/a/b"!=p.call({source:"a",flags:"b"})})),l=n&&p.name!=f;(s||l)&&o(RegExp.prototype,f,(function(){var t=i(this);return"/"+u(t.source)+"/"+u(a(t))}),{unsafe:!0})},1817:(t,r,e)=>{"use strict";var n=e(2109),o=e(9781),i=e(7854),u=e(1702),c=e(2597),a=e(614),f=e(7976),p=e(1340),s=e(3070).f,l=e(9920),v=i.Symbol,g=v&&v.prototype;if(o&&a(v)&&(!("description"in g)||void 0!==v().description)){var y={},h=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:p(arguments[0]),r=f(g,this)?new v(t):void 0===t?v():v(t);return""===t&&(y[r]=!0),r};l(h,v),h.prototype=g,g.constructor=h;var d="Symbol(test)"==String(v("test")),x=u(g.valueOf),b=u(g.toString),m=/^Symbol\((.*)\)[^)]+$/,E=u("".replace),R=u("".slice);s(g,"description",{configurable:!0,get:function(){var t=x(this);if(c(y,t))return"";var r=b(t),e=d?R(r,7,-1):E(r,m,"$1");return""===e?void 0:e}}),n({global:!0,constructor:!0,forced:!0},{Symbol:h})}},573:(t,r,e)=>{"use strict";e.d(r,{P1:()=>a});var n="NOT_FOUND";var o=function(t,r){return t===r};function i(t,r){var e,i,u="object"==typeof r?r:{equalityCheck:r},c=u.equalityCheck,a=void 0===c?o:c,f=u.maxSize,p=void 0===f?1:f,s=u.resultEqualityCheck,l=function(t){return function(r,e){if(null===r||null===e||r.length!==e.length)return!1;for(var n=r.length,o=0;o<n;o++)if(!t(r[o],e[o]))return!1;return!0}}(a),v=1===p?(e=l,{get:function(t){return i&&e(i.key,t)?i.value:n},put:function(t,r){i={key:t,value:r}},getEntries:function(){return i?[i]:[]},clear:function(){i=void 0}}):function(t,r){var e=[];function o(t){var o=e.findIndex((function(e){return r(t,e.key)}));if(o>-1){var i=e[o];return o>0&&(e.splice(o,1),e.unshift(i)),i.value}return n}return{get:o,put:function(r,i){o(r)===n&&(e.unshift({key:r,value:i}),e.length>t&&e.pop())},getEntries:function(){return e},clear:function(){e=[]}}}(p,l);function g(){var r=v.get(arguments);if(r===n){if(r=t.apply(null,arguments),s){var e=v.getEntries(),o=e.find((function(t){return s(t.value,r)}));o&&(r=o.value)}v.put(arguments,r)}return r}return g.clearCache=function(){return v.clear()},g}function u(t){var r=Array.isArray(t[0])?t[0]:t;if(!r.every((function(t){return"function"==typeof t}))){var e=r.map((function(t){return"function"==typeof t?"function "+(t.name||"unnamed")+"()":typeof t})).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+e+"]")}return r}function c(t){for(var r=arguments.length,e=new Array(r>1?r-1:0),n=1;n<r;n++)e[n-1]=arguments[n];var o=function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];var i,c=0,a={memoizeOptions:void 0},f=n.pop();if("object"==typeof f&&(a=f,f=n.pop()),"function"!=typeof f)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof f+"]");var p=a,s=p.memoizeOptions,l=void 0===s?e:s,v=Array.isArray(l)?l:[l],g=u(n),y=t.apply(void 0,[function(){return c++,f.apply(null,arguments)}].concat(v)),h=t((function(){for(var t=[],r=g.length,e=0;e<r;e++)t.push(g[e].apply(null,arguments));return i=y.apply(null,t)}));return Object.assign(h,{resultFunc:f,memoizedResultFunc:y,dependencies:g,lastResult:function(){return i},recomputations:function(){return c},resetRecomputations:function(){return c=0}}),h};return o}var a=c(i)}}]);
dist/assets/js/{chunk-366.b79cfa9301292212ab1b.js → chunk-366.7e363cf3e253bf15052e.js} RENAMED
@@ -6,7 +6,7 @@
6
  * @copyright Copyright (c) 2022, Blue Liquid Designs
7
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
8
  * @since 4.1
9
- */class c extends n.Component{constructor(){super(...arguments),o(this,"state",{visible:!0}),o(this,"shouldSetTimer",(()=>{this.props.dismissable&&this.setTimer()})),o(this,"setTimer",(()=>{this._timer=null!==this._timer?clearTimeout(this._timer):null,this._timer=setTimeout((()=>{a()(this._message).removeClass("inline").slideUp(400,(()=>{a()(this._message).removeAttr("style"),this.setState({visible:!1}),this._timer=null,this.props.dismissableCallback&&this.props.dismissableCallback()}))}),this.props.delay)})),o(this,"resetState",(()=>{this.setState({visible:!0}),this.shouldSetTimer()}))}componentDidMount(){this.shouldSetTimer()}componentDidUpdate(e,t){t.visible||this.resetState()}componentWillUnmount(){this.props.dismissable&&clearTimeout(this._timer)}render(){var{text:e,error:t}=this.props,r="notice inline";return t&&(r+=" error"),this.state.visible?n.createElement("div",{ref:e=>this._message=e,className:r},n.createElement("p",null,e)):n.createElement("div",null)}}o(c,"defaultProps",{delay:4e3,dismissable:!1}),o(c,"propTypes",{text:l().string.isRequired,error:l().bool,delay:l().number,dismissable:l().bool,dismissableCallback:l().func});const p=c},6152:(e,t,r)=>{r.d(t,{ZP:()=>u});r(6992),r(3948);var s=r(7294),a=r(5697),n=r.n(a),i=r(6706),l=r(5977),o=r(4738);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
10
  /**
11
  * Renders the button used to trigger the current active PDF template
12
  * On click it triggers our Redux action.
@@ -24,7 +24,7 @@
24
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
25
  * @since 4.1
26
  */
27
- class p extends i.Component{constructor(e){super(e),this.handleFocus=this.handleFocus.bind(this)}componentDidMount(){document.addEventListener("focus",this.handleFocus,!0),document.activeElement&&"wp-filter-search"!==document.activeElement.className&&this.container.focus()}componentWillUnmount(){document.removeEventListener("focus",this.handleFocus,!0)}handleFocus(e){this.container.contains(e.target)||(e.stopPropagation(),this.container.focus())}render(){var e=this.props.header,t=this.props.footer,r=this.props.children,s=this.props.closeRoute;return i.createElement("div",{ref:e=>this.container=e,tabIndex:"140"},i.createElement("div",{className:"backdrop theme-backdrop"}),i.createElement("div",{className:"container theme-wrap"},i.createElement("div",{className:"theme-header"},e,i.createElement(c.Z,{closeRoute:s})),i.createElement("div",{id:"gfpdf-template-container",className:"theme-about wp-clearfix theme-browser rendered"},r),t))}}s=p,a="propTypes",n={header:o().oneOfType([o().string,o().element]),footer:o().oneOfType([o().string,o().element]),children:o().node.isRequired,closeRoute:o().string},a in s?Object.defineProperty(s,a,{value:n,enumerable:!0,configurable:!0,writable:!0}):s[a]=n;const u=p},5218:(e,t,r)=>{r.d(t,{$G:()=>m,PP:()=>i,S3:()=>c,VG:()=>l,ZA:()=>p,dk:()=>u});var s=r(7294),a=r(5697),n=r.n(a),i=e=>{var{isCurrentTemplate:t,label:r}=e;return t?s.createElement("span",{className:"current-label"},r):s.createElement("span",null)};i.propTypes={isCurrentTemplate:n().bool,label:n().string};var l=e=>{var{name:t,version:r,versionLabel:a}=e;return s.createElement("h2",{className:"theme-name"},t,s.createElement(o,{version:r,label:a}))};l.propTypes={name:n().string,version:n().string,versionLabel:n().string};var o=e=>{var{label:t,version:r}=e;return r?s.createElement("span",{className:"theme-version"},t,": ",r):s.createElement("span",null)};o.propTypes={label:n().string,version:n().string};var c=e=>{var{author:t,uri:r}=e;return r?s.createElement("p",{className:"theme-author"},s.createElement("a",{href:r},t)):s.createElement("p",{className:"theme-author"},t)};c.propTypes={author:n().string,uri:n().string};var p=e=>{var{label:t,group:r}=e;return s.createElement("p",{className:"theme-author"},s.createElement("strong",null,t,": ",r))};p.propTypes={label:n().string,group:n().string};var u=e=>{var{desc:t}=e;return s.createElement("p",{className:"theme-description"},t)};u.propTypes={desc:n().string};var m=e=>{var{label:t,tags:r}=e;return r?s.createElement("p",{className:"theme-tags"},s.createElement("span",null,t,":")," ",r):s.createElement("span",null)};m.propTypes={label:n().string,tags:n().string}},3223:(e,t,r)=>{r.d(t,{ZP:()=>o});r(4916),r(4765),r(5306),r(4603),r(8450),r(9714),r(1817),r(7601),r(2707);var s=r(573);r(3123),r(1058);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,s)}return r}function n(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
28
  /**
29
  * Uses the Redux Reselect library to sort, filter and search our templates.
30
  * It also checks if the PDF templates are compatible with the current version of Gravity PDF
6
  * @copyright Copyright (c) 2022, Blue Liquid Designs
7
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
8
  * @since 4.1
9
+ */class c extends n.Component{constructor(){super(...arguments),o(this,"state",{visible:!0}),o(this,"shouldSetTimer",(()=>{this.props.dismissable&&this.setTimer()})),o(this,"setTimer",(()=>{this._timer=null!==this._timer?clearTimeout(this._timer):null,this._timer=setTimeout((()=>{a()(this._message).removeClass("inline").slideUp(400,(()=>{a()(this._message).removeAttr("style"),this.setState({visible:!1}),this._timer=null,this.props.dismissableCallback&&this.props.dismissableCallback()}))}),this.props.delay)})),o(this,"resetState",(()=>{this.setState({visible:!0}),this.shouldSetTimer()}))}componentDidMount(){this.shouldSetTimer()}componentDidUpdate(e,t){t.visible||this.resetState()}componentWillUnmount(){this.props.dismissable&&clearTimeout(this._timer)}render(){var{text:e,error:t}=this.props,r="notice inline";return t&&(r+=" error"),this.state.visible?n.createElement("div",{ref:e=>this._message=e,className:r},n.createElement("p",null,e)):n.createElement("div",null)}}o(c,"defaultProps",{delay:4e3,dismissable:!1}),o(c,"propTypes",{text:l().string.isRequired,error:l().bool,delay:l().number,dismissable:l().bool,dismissableCallback:l().func});const p=c},6152:(e,t,r)=>{r.d(t,{ZP:()=>u});r(6992),r(3948),r(7658);var s=r(7294),a=r(5697),n=r.n(a),i=r(6706),l=r(6550),o=r(4738);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
10
  /**
11
  * Renders the button used to trigger the current active PDF template
12
  * On click it triggers our Redux action.
24
  * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
25
  * @since 4.1
26
  */
27
+ class p extends i.Component{constructor(e){super(e),this.handleFocus=this.handleFocus.bind(this)}componentDidMount(){document.addEventListener("focus",this.handleFocus,!0),document.activeElement&&"wp-filter-search"!==document.activeElement.className&&this.container.focus()}componentWillUnmount(){document.removeEventListener("focus",this.handleFocus,!0)}handleFocus(e){this.container.contains(e.target)||(e.stopPropagation(),this.container.focus())}render(){var e=this.props.header,t=this.props.footer,r=this.props.children,s=this.props.closeRoute;return i.createElement("div",{ref:e=>this.container=e,tabIndex:"140"},i.createElement("div",{className:"backdrop theme-backdrop"}),i.createElement("div",{className:"container theme-wrap"},i.createElement("div",{className:"theme-header"},e,i.createElement(c.Z,{closeRoute:s})),i.createElement("div",{id:"gfpdf-template-container",className:"theme-about wp-clearfix theme-browser rendered"},r),t))}}s=p,a="propTypes",n={header:o().oneOfType([o().string,o().element]),footer:o().oneOfType([o().string,o().element]),children:o().node.isRequired,closeRoute:o().string},a in s?Object.defineProperty(s,a,{value:n,enumerable:!0,configurable:!0,writable:!0}):s[a]=n;const u=p},5218:(e,t,r)=>{r.d(t,{$G:()=>m,PP:()=>i,S3:()=>c,VG:()=>l,ZA:()=>p,dk:()=>u});var s=r(7294),a=r(5697),n=r.n(a),i=e=>{var{isCurrentTemplate:t,label:r}=e;return t?s.createElement("span",{className:"current-label"},r):s.createElement("span",null)};i.propTypes={isCurrentTemplate:n().bool,label:n().string};var l=e=>{var{name:t,version:r,versionLabel:a}=e;return s.createElement("h2",{className:"theme-name"},t,s.createElement(o,{version:r,label:a}))};l.propTypes={name:n().string,version:n().string,versionLabel:n().string};var o=e=>{var{label:t,version:r}=e;return r?s.createElement("span",{className:"theme-version"},t,": ",r):s.createElement("span",null)};o.propTypes={label:n().string,version:n().string};var c=e=>{var{author:t,uri:r}=e;return r?s.createElement("p",{className:"theme-author"},s.createElement("a",{href:r},t)):s.createElement("p",{className:"theme-author"},t)};c.propTypes={author:n().string,uri:n().string};var p=e=>{var{label:t,group:r}=e;return s.createElement("p",{className:"theme-author"},s.createElement("strong",null,t,": ",r))};p.propTypes={label:n().string,group:n().string};var u=e=>{var{desc:t}=e;return s.createElement("p",{className:"theme-description"},t)};u.propTypes={desc:n().string};var m=e=>{var{label:t,tags:r}=e;return r?s.createElement("p",{className:"theme-tags"},s.createElement("span",null,t,":")," ",r):s.createElement("span",null)};m.propTypes={label:n().string,tags:n().string}},3223:(e,t,r)=>{r.d(t,{ZP:()=>o});r(4916),r(4765),r(5306),r(4603),r(8450),r(9714),r(1817),r(7601),r(2707),r(7658);var s=r(573);r(1058);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,s)}return r}function n(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
28
  /**
29
  * Uses the Redux Reselect library to sort, filter and search our templates.
30
  * It also checks if the PDF templates are compatible with the current version of Gravity PDF
dist/assets/js/{chunk-387.3910cac3d37c3b41392a.js → chunk-387.52e48aec20a21000c4ec.js} RENAMED
@@ -1,4 +1,4 @@
1
- (self.webpackChunkgravity_pdf=self.webpackChunkgravity_pdf||[]).push([[387],{9387:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TemplateList:()=>$,default:()=>A});var a=r(7294),s=r(5697),n=r.n(s),i=r(6706),l=r(5439),o=(r(6992),r(3948),r(5977)),p=e=>{var{image:t}=e,r=t?"theme-screenshot":"theme-screenshot blank";return a.createElement("div",{className:r},t?a.createElement("img",{src:t,alt:""}):null)};p.propTypes={image:n().string};const c=p;var m=r(38),u=e=>{var{label:t}=e;return a.createElement("span",{className:"more-details"},t)};u.propTypes={label:n().string};var d=e=>{var{group:t}=e;return a.createElement("p",{className:"theme-author"},t)};d.propTypes={group:n().string};var h=r(5218),f=r(6152),g=r(4738);function T(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
2
  /**
3
  * Display the individual template item for usage our template list
4
  *
@@ -42,7 +42,7 @@ var P=e=>{var{header:t}=e;return a.createElement("h1",null,t)};P.propTypes={head
42
  */
43
  class $ extends a.Component{render(){var e=GFPDF.userCapabilities.administrator||GFPDF.userCapabilities.gravityforms_edit_settings||!1;return a.createElement(l.Z,{header:a.createElement(U,{header:this.props.templateHeaderText}),closeRoute:"/"},a.createElement(S,null),a.createElement("div",{role:"listbox"},this.props.templates.map(((e,t)=>a.createElement(x,{key:t,template:e,templateDetailsText:this.props.templateDetailsText,activateText:this.props.activateText}))),e&&a.createElement(k,{ajaxUrl:this.props.ajaxUrl,ajaxNonce:this.props.ajaxNonce,addTemplateText:this.props.addTemplateText,genericUploadErrorText:this.props.genericUploadErrorText,filenameErrorText:this.props.filenameErrorText,filesizeErrorText:this.props.filesizeErrorText,installSuccessText:this.props.installSuccessText,installUpdatedText:this.props.installUpdatedText,templateSuccessfullyInstalledUpdated:this.props.templateSuccessfullyInstalledUpdated,templateInstallInstructions:this.props.templateInstallInstructions})))}}z=$,C="propTypes",M={templateHeaderText:n().string,templates:n().array,templateDetailsText:n().string,activateText:n().string,ajaxUrl:n().string,ajaxNonce:n().string,addTemplateText:n().string,genericUploadErrorText:n().string,filenameErrorText:n().string,filesizeErrorText:n().string,installSuccessText:n().string,installUpdatedText:n().string,templateSuccessfullyInstalledUpdated:n().string,templateInstallInstructions:n().string},C in z?Object.defineProperty(z,C,{value:M,enumerable:!0,configurable:!0,writable:!0}):z[C]=M;const A=(0,i.$j)((e=>({templates:(0,Z.ZP)(e)})))($)},4184:(e,t)=>{var r;
44
  /*!
45
- Copyright (c) 2018 Jed Watson.
46
- Licensed under the MIT License (MIT), see
47
- http://jedwatson.github.io/classnames
48
- */!function(){"use strict";var a={}.hasOwnProperty;function s(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var n=typeof r;if("string"===n||"number"===n)e.push(r);else if(Array.isArray(r)){if(r.length){var i=s.apply(null,r);i&&e.push(i)}}else if("object"===n)if(r.toString===Object.prototype.toString)for(var l in r)a.call(r,l)&&r[l]&&e.push(l);else e.push(r.toString())}}return e.join(" ")}e.exports?(s.default=s,e.exports=s):void 0===(r=function(){return s}.apply(t,[]))||(e.exports=r)}()},1296:(e,t,r)=>{var a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,n=/^0b[01]+$/i,i=/^0o[0-7]+$/i,l=parseInt,o="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,p="object"==typeof self&&self&&self.Object===Object&&self,c=o||p||Function("return this")(),m=Object.prototype.toString,u=Math.max,d=Math.min,h=function(){return c.Date.now()};function f(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==m.call(e)}(e))return NaN;if(f(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=f(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var r=n.test(e);return r||i.test(e)?l(e.slice(2),r?2:8):s.test(e)?NaN:+e}e.exports=function(e,t,r){var a,s,n,i,l,o,p=0,c=!1,m=!1,T=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var r=a,n=s;return a=s=void 0,p=t,i=e.apply(n,r)}function x(e){return p=e,l=setTimeout(y,t),c?v(e):i}function b(e){var r=e-o;return void 0===o||r>=t||r<0||m&&e-p>=n}function y(){var e=h();if(b(e))return E(e);l=setTimeout(y,function(e){var r=t-(e-o);return m?d(r,n-(e-p)):r}(e))}function E(e){return l=void 0,T&&a?v(e):(a=s=void 0,i)}function j(){var e=h(),r=b(e);if(a=arguments,s=this,o=e,r){if(void 0===l)return x(o);if(m)return l=setTimeout(y,t),v(o)}return void 0===l&&(l=setTimeout(y,t)),i}return t=g(t)||0,f(r)&&(c=!!r.leading,n=(m="maxWait"in r)?u(g(r.maxWait)||0,t):n,T="trailing"in r?!!r.trailing:T),j.cancel=function(){void 0!==l&&clearTimeout(l),p=0,a=o=s=l=void 0},j.flush=function(){return void 0===l?i:E(h())},j}}}]);
1
+ (self.webpackChunkgravity_pdf=self.webpackChunkgravity_pdf||[]).push([[387],{9387:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TemplateList:()=>$,default:()=>A});var a=r(7294),s=r(5697),n=r.n(s),i=r(6706),l=r(5439),o=(r(6992),r(3948),r(7658),r(6550)),p=e=>{var{image:t}=e,r=t?"theme-screenshot":"theme-screenshot blank";return a.createElement("div",{className:r},t?a.createElement("img",{src:t,alt:""}):null)};p.propTypes={image:n().string};const c=p;var m=r(38),u=e=>{var{label:t}=e;return a.createElement("span",{className:"more-details"},t)};u.propTypes={label:n().string};var d=e=>{var{group:t}=e;return a.createElement("p",{className:"theme-author"},t)};d.propTypes={group:n().string};var h=r(5218),f=r(6152),g=r(4738);function T(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
2
  /**
3
  * Display the individual template item for usage our template list
4
  *
42
  */
43
  class $ extends a.Component{render(){var e=GFPDF.userCapabilities.administrator||GFPDF.userCapabilities.gravityforms_edit_settings||!1;return a.createElement(l.Z,{header:a.createElement(U,{header:this.props.templateHeaderText}),closeRoute:"/"},a.createElement(S,null),a.createElement("div",{role:"listbox"},this.props.templates.map(((e,t)=>a.createElement(x,{key:t,template:e,templateDetailsText:this.props.templateDetailsText,activateText:this.props.activateText}))),e&&a.createElement(k,{ajaxUrl:this.props.ajaxUrl,ajaxNonce:this.props.ajaxNonce,addTemplateText:this.props.addTemplateText,genericUploadErrorText:this.props.genericUploadErrorText,filenameErrorText:this.props.filenameErrorText,filesizeErrorText:this.props.filesizeErrorText,installSuccessText:this.props.installSuccessText,installUpdatedText:this.props.installUpdatedText,templateSuccessfullyInstalledUpdated:this.props.templateSuccessfullyInstalledUpdated,templateInstallInstructions:this.props.templateInstallInstructions})))}}z=$,C="propTypes",M={templateHeaderText:n().string,templates:n().array,templateDetailsText:n().string,activateText:n().string,ajaxUrl:n().string,ajaxNonce:n().string,addTemplateText:n().string,genericUploadErrorText:n().string,filenameErrorText:n().string,filesizeErrorText:n().string,installSuccessText:n().string,installUpdatedText:n().string,templateSuccessfullyInstalledUpdated:n().string,templateInstallInstructions:n().string},C in z?Object.defineProperty(z,C,{value:M,enumerable:!0,configurable:!0,writable:!0}):z[C]=M;const A=(0,i.$j)((e=>({templates:(0,Z.ZP)(e)})))($)},4184:(e,t)=>{var r;
44
  /*!
45
+ Copyright (c) 2018 Jed Watson.
46
+ Licensed under the MIT License (MIT), see
47
+ http://jedwatson.github.io/classnames
48
+ */!function(){"use strict";var a={}.hasOwnProperty;function s(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var n=typeof r;if("string"===n||"number"===n)e.push(r);else if(Array.isArray(r)){if(r.length){var i=s.apply(null,r);i&&e.push(i)}}else if("object"===n){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var l in r)a.call(r,l)&&r[l]&&e.push(l)}}}return e.join(" ")}e.exports?(s.default=s,e.exports=s):void 0===(r=function(){return s}.apply(t,[]))||(e.exports=r)}()},1296:(e,t,r)=>{var a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,n=/^0b[01]+$/i,i=/^0o[0-7]+$/i,l=parseInt,o="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,p="object"==typeof self&&self&&self.Object===Object&&self,c=o||p||Function("return this")(),m=Object.prototype.toString,u=Math.max,d=Math.min,h=function(){return c.Date.now()};function f(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==m.call(e)}(e))return NaN;if(f(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=f(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var r=n.test(e);return r||i.test(e)?l(e.slice(2),r?2:8):s.test(e)?NaN:+e}e.exports=function(e,t,r){var a,s,n,i,l,o,p=0,c=!1,m=!1,T=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var r=a,n=s;return a=s=void 0,p=t,i=e.apply(n,r)}function x(e){return p=e,l=setTimeout(y,t),c?v(e):i}function b(e){var r=e-o;return void 0===o||r>=t||r<0||m&&e-p>=n}function y(){var e=h();if(b(e))return E(e);l=setTimeout(y,function(e){var r=t-(e-o);return m?d(r,n-(e-p)):r}(e))}function E(e){return l=void 0,T&&a?v(e):(a=s=void 0,i)}function j(){var e=h(),r=b(e);if(a=arguments,s=this,o=e,r){if(void 0===l)return x(o);if(m)return l=setTimeout(y,t),v(o)}return void 0===l&&(l=setTimeout(y,t)),i}return t=g(t)||0,f(r)&&(c=!!r.leading,n=(m="maxWait"in r)?u(g(r.maxWait)||0,t):n,T="trailing"in r?!!r.trailing:T),j.cancel=function(){void 0!==l&&clearTimeout(l),p=0,a=o=s=l=void 0},j.flush=function(){return void 0===l?i:E(h())},j}}}]);
dist/assets/js/{chunk-574.afb627ab66e1844b7932.js → chunk-574.e8df5093fdb37b32857e.js} RENAMED
@@ -1,8 +1,8 @@
1
- (self.webpackChunkgravity_pdf=self.webpackChunkgravity_pdf||[]).push([[574],{7331:e=>{function t(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(e){return"function"==typeof e}function n(e){return"object"==typeof e&&null!==e}function i(e){return void 0===e}e.exports=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},t.prototype.emit=function(e){var t,a,s,c,o,u;if(this._events||(this._events={}),"error"===e&&(!this._events.error||n(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var f=new Error('Uncaught, unspecified "error" event. ('+t+")");throw f.context=t,f}if(i(a=this._events[e]))return!1;if(r(a))switch(arguments.length){case 1:a.call(this);break;case 2:a.call(this,arguments[1]);break;case 3:a.call(this,arguments[1],arguments[2]);break;default:c=Array.prototype.slice.call(arguments,1),a.apply(this,c)}else if(n(a))for(c=Array.prototype.slice.call(arguments,1),s=(u=a.slice()).length,o=0;o<s;o++)u[o].apply(this,c);return!0},t.prototype.addListener=function(e,a){var s;if(!r(a))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,r(a.listener)?a.listener:a),this._events[e]?n(this._events[e])?this._events[e].push(a):this._events[e]=[this._events[e],a]:this._events[e]=a,n(this._events[e])&&!this._events[e].warned&&(s=i(this._maxListeners)?t.defaultMaxListeners:this._maxListeners)&&s>0&&this._events[e].length>s&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(e,t){if(!r(t))throw TypeError("listener must be a function");var n=!1;function i(){this.removeListener(e,i),n||(n=!0,t.apply(this,arguments))}return i.listener=t,this.on(e,i),this},t.prototype.removeListener=function(e,t){var i,a,s,c;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(s=(i=this._events[e]).length,a=-1,i===t||r(i.listener)&&i.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(n(i)){for(c=s;c-- >0;)if(i[c]===t||i[c].listener&&i[c].listener===t){a=c;break}if(a<0)return this;1===i.length?(i.length=0,delete this._events[e]):i.splice(a,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},t.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r(n=this._events[e]))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},t.prototype.listeners=function(e){return this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},t.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},t.listenerCount=function(e,t){return e.listenerCount(t)}},8131:(e,t,r)=>{"use strict";var n=r(9374),i=r(7775),a=r(3076);function s(e,t,r){return new n(e,t,r)}s.version=r(4336),s.AlgoliaSearchHelper=n,s.SearchParameters=i,s.SearchResults=a,e.exports=s},8078:(e,t,r)=>{"use strict";var n=r(7331);function i(e,t){this.main=e,this.fn=t,this.lastResults=null}r(4853)(i,n),i.prototype.detach=function(){this.removeAllListeners(),this.main.detachDerivedHelper(this)},i.prototype.getModifiedState=function(e){return this.fn(e)},e.exports=i},2437:(e,t,r)=>{"use strict";var n=r(2344),i=r(9803),a=r(116),s={addRefinement:function(e,t,r){if(s.isRefined(e,t,r))return e;var i=""+r,a=e[t]?e[t].concat(i):[i],c={};return c[t]=a,n({},c,e)},removeRefinement:function(e,t,r){if(void 0===r)return s.clearRefinement(e,(function(e,r){return t===r}));var n=""+r;return s.clearRefinement(e,(function(e,r){return t===r&&n===e}))},toggleRefinement:function(e,t,r){if(void 0===r)throw new Error("toggleRefinement should be used with a value");return s.isRefined(e,t,r)?s.removeRefinement(e,t,r):s.addRefinement(e,t,r)},clearRefinement:function(e,t,r){if(void 0===t)return a(e)?{}:e;if("string"==typeof t)return i(e,[t]);if("function"==typeof t){var n=!1,s=Object.keys(e).reduce((function(i,a){var s=e[a]||[],c=s.filter((function(e){return!t(e,a,r)}));return c.length!==s.length&&(n=!0),i[a]=c,i}),{});return n?s:e}},isRefined:function(e,t,r){var n=!!e[t]&&e[t].length>0;if(void 0===r||!n)return n;var i=""+r;return-1!==e[t].indexOf(i)}};e.exports=s},7775:(e,t,r)=>{"use strict";var n=r(185),i=r(2344),a=r(2686),s=r(7888),c=r(8023),o=r(9803),u=r(116),f=r(6801),h=r(2437);function l(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((function(e,r){return l(t[r],e)})):e===t}function p(e){var t=e?p._parseNumbers(e):{};void 0===t.userToken||f(t.userToken)||console.warn("[algoliasearch-helper] The `userToken` parameter is invalid. This can lead to wrong analytics.\n - Format: [a-zA-Z0-9_-]{1,64}"),this.facets=t.facets||[],this.disjunctiveFacets=t.disjunctiveFacets||[],this.hierarchicalFacets=t.hierarchicalFacets||[],this.facetsRefinements=t.facetsRefinements||{},this.facetsExcludes=t.facetsExcludes||{},this.disjunctiveFacetsRefinements=t.disjunctiveFacetsRefinements||{},this.numericRefinements=t.numericRefinements||{},this.tagRefinements=t.tagRefinements||[],this.hierarchicalFacetsRefinements=t.hierarchicalFacetsRefinements||{};var r=this;Object.keys(t).forEach((function(e){var n=-1!==p.PARAMETERS.indexOf(e),i=void 0!==t[e];!n&&i&&(r[e]=t[e])}))}p.PARAMETERS=Object.keys(new p),p._parseNumbers=function(e){if(e instanceof p)return e;var t={};if(["aroundPrecision","aroundRadius","getRankingInfo","minWordSizefor2Typos","minWordSizefor1Typo","page","maxValuesPerFacet","distinct","minimumAroundRadius","hitsPerPage","minProximity"].forEach((function(r){var n=e[r];if("string"==typeof n){var i=parseFloat(n);t[r]=isNaN(i)?n:i}})),Array.isArray(e.insideBoundingBox)&&(t.insideBoundingBox=e.insideBoundingBox.map((function(e){return Array.isArray(e)?e.map((function(e){return parseFloat(e)})):e}))),e.numericRefinements){var r={};Object.keys(e.numericRefinements).forEach((function(t){var n=e.numericRefinements[t]||{};r[t]={},Object.keys(n).forEach((function(e){var i=n[e].map((function(e){return Array.isArray(e)?e.map((function(e){return"string"==typeof e?parseFloat(e):e})):"string"==typeof e?parseFloat(e):e}));r[t][e]=i}))})),t.numericRefinements=r}return n({},e,t)},p.make=function(e){var t=new p(e);return(e.hierarchicalFacets||[]).forEach((function(e){if(e.rootPath){var r=t.getHierarchicalRefinement(e.name);r.length>0&&0!==r[0].indexOf(e.rootPath)&&(t=t.clearRefinements(e.name)),0===(r=t.getHierarchicalRefinement(e.name)).length&&(t=t.toggleHierarchicalFacetRefinement(e.name,e.rootPath))}})),t},p.validate=function(e,t){var r=t||{};return e.tagFilters&&r.tagRefinements&&r.tagRefinements.length>0?new Error("[Tags] Cannot switch from the managed tag API to the advanced API. It is probably an error, if it is really what you want, you should first clear the tags with clearTags method."):e.tagRefinements.length>0&&r.tagFilters?new Error("[Tags] Cannot switch from the advanced tag API to the managed API. It is probably an error, if it is not, you should first clear the tags with clearTags method."):e.numericFilters&&r.numericRefinements&&u(r.numericRefinements)?new Error("[Numeric filters] Can't switch from the advanced to the managed API. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):u(e.numericRefinements)&&r.numericFilters?new Error("[Numeric filters] Can't switch from the managed API to the advanced. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):null},p.prototype={constructor:p,clearRefinements:function(e){var t={numericRefinements:this._clearNumericRefinements(e),facetsRefinements:h.clearRefinement(this.facetsRefinements,e,"conjunctiveFacet"),facetsExcludes:h.clearRefinement(this.facetsExcludes,e,"exclude"),disjunctiveFacetsRefinements:h.clearRefinement(this.disjunctiveFacetsRefinements,e,"disjunctiveFacet"),hierarchicalFacetsRefinements:h.clearRefinement(this.hierarchicalFacetsRefinements,e,"hierarchicalFacet")};return t.numericRefinements===this.numericRefinements&&t.facetsRefinements===this.facetsRefinements&&t.facetsExcludes===this.facetsExcludes&&t.disjunctiveFacetsRefinements===this.disjunctiveFacetsRefinements&&t.hierarchicalFacetsRefinements===this.hierarchicalFacetsRefinements?this:this.setQueryParameters(t)},clearTags:function(){return void 0===this.tagFilters&&0===this.tagRefinements.length?this:this.setQueryParameters({tagFilters:void 0,tagRefinements:[]})},setIndex:function(e){return e===this.index?this:this.setQueryParameters({index:e})},setQuery:function(e){return e===this.query?this:this.setQueryParameters({query:e})},setPage:function(e){return e===this.page?this:this.setQueryParameters({page:e})},setFacets:function(e){return this.setQueryParameters({facets:e})},setDisjunctiveFacets:function(e){return this.setQueryParameters({disjunctiveFacets:e})},setHitsPerPage:function(e){return this.hitsPerPage===e?this:this.setQueryParameters({hitsPerPage:e})},setTypoTolerance:function(e){return this.typoTolerance===e?this:this.setQueryParameters({typoTolerance:e})},addNumericRefinement:function(e,t,r){var i=c(r);if(this.isNumericRefined(e,t,i))return this;var a=n({},this.numericRefinements);return a[e]=n({},a[e]),a[e][t]?(a[e][t]=a[e][t].slice(),a[e][t].push(i)):a[e][t]=[i],this.setQueryParameters({numericRefinements:a})},getConjunctiveRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsRefinements[e]||[]},getDisjunctiveRefinements:function(e){return this.isDisjunctiveFacet(e)&&this.disjunctiveFacetsRefinements[e]||[]},getHierarchicalRefinement:function(e){return this.hierarchicalFacetsRefinements[e]||[]},getExcludeRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsExcludes[e]||[]},removeNumericRefinement:function(e,t,r){return void 0!==r?this.isNumericRefined(e,t,r)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements((function(n,i){return i===e&&n.op===t&&l(n.val,c(r))}))}):this:void 0!==t?this.isNumericRefined(e,t)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements((function(r,n){return n===e&&r.op===t}))}):this:this.isNumericRefined(e)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements((function(t,r){return r===e}))}):this},getNumericRefinements:function(e){return this.numericRefinements[e]||{}},getNumericRefinement:function(e,t){return this.numericRefinements[e]&&this.numericRefinements[e][t]},_clearNumericRefinements:function(e){if(void 0===e)return u(this.numericRefinements)?{}:this.numericRefinements;if("string"==typeof e)return o(this.numericRefinements,[e]);if("function"==typeof e){var t=!1,r=this.numericRefinements,n=Object.keys(r).reduce((function(n,i){var a=r[i],s={};return a=a||{},Object.keys(a).forEach((function(r){var n=a[r]||[],c=[];n.forEach((function(t){e({val:t,op:r},i,"numeric")||c.push(t)})),c.length!==n.length&&(t=!0),s[r]=c})),n[i]=s,n}),{});return t?n:this.numericRefinements}},addFacet:function(e){return this.isConjunctiveFacet(e)?this:this.setQueryParameters({facets:this.facets.concat([e])})},addDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this:this.setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.concat([e])})},addHierarchicalFacet:function(e){if(this.isHierarchicalFacet(e.name))throw new Error("Cannot declare two hierarchical facets with the same name: `"+e.name+"`");return this.setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.concat([e])})},addFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return h.isRefined(this.facetsRefinements,e,t)?this:this.setQueryParameters({facetsRefinements:h.addRefinement(this.facetsRefinements,e,t)})},addExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return h.isRefined(this.facetsExcludes,e,t)?this:this.setQueryParameters({facetsExcludes:h.addRefinement(this.facetsExcludes,e,t)})},addDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw new Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return h.isRefined(this.disjunctiveFacetsRefinements,e,t)?this:this.setQueryParameters({disjunctiveFacetsRefinements:h.addRefinement(this.disjunctiveFacetsRefinements,e,t)})},addTagRefinement:function(e){if(this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.concat(e)};return this.setQueryParameters(t)},removeFacet:function(e){return this.isConjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({facets:this.facets.filter((function(t){return t!==e}))}):this},removeDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.filter((function(t){return t!==e}))}):this},removeHierarchicalFacet:function(e){return this.isHierarchicalFacet(e)?this.clearRefinements(e).setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.filter((function(t){return t.name!==e}))}):this},removeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return h.isRefined(this.facetsRefinements,e,t)?this.setQueryParameters({facetsRefinements:h.removeRefinement(this.facetsRefinements,e,t)}):this},removeExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return h.isRefined(this.facetsExcludes,e,t)?this.setQueryParameters({facetsExcludes:h.removeRefinement(this.facetsExcludes,e,t)}):this},removeDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw new Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return h.isRefined(this.disjunctiveFacetsRefinements,e,t)?this.setQueryParameters({disjunctiveFacetsRefinements:h.removeRefinement(this.disjunctiveFacetsRefinements,e,t)}):this},removeTagRefinement:function(e){if(!this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.filter((function(t){return t!==e}))};return this.setQueryParameters(t)},toggleRefinement:function(e,t){return this.toggleFacetRefinement(e,t)},toggleFacetRefinement:function(e,t){if(this.isHierarchicalFacet(e))return this.toggleHierarchicalFacetRefinement(e,t);if(this.isConjunctiveFacet(e))return this.toggleConjunctiveFacetRefinement(e,t);if(this.isDisjunctiveFacet(e))return this.toggleDisjunctiveFacetRefinement(e,t);throw new Error("Cannot refine the undeclared facet "+e+"; it should be added to the helper options facets, disjunctiveFacets or hierarchicalFacets")},toggleConjunctiveFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsRefinements:h.toggleRefinement(this.facetsRefinements,e,t)})},toggleExcludeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsExcludes:h.toggleRefinement(this.facetsExcludes,e,t)})},toggleDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw new Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return this.setQueryParameters({disjunctiveFacetsRefinements:h.toggleRefinement(this.disjunctiveFacetsRefinements,e,t)})},toggleHierarchicalFacetRefinement:function(e,t){if(!this.isHierarchicalFacet(e))throw new Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration");var r=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e)),n={};return void 0!==this.hierarchicalFacetsRefinements[e]&&this.hierarchicalFacetsRefinements[e].length>0&&(this.hierarchicalFacetsRefinements[e][0]===t||0===this.hierarchicalFacetsRefinements[e][0].indexOf(t+r))?-1===t.indexOf(r)?n[e]=[]:n[e]=[t.slice(0,t.lastIndexOf(r))]:n[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:i({},n,this.hierarchicalFacetsRefinements)})},addHierarchicalFacetRefinement:function(e,t){if(this.isHierarchicalFacetRefined(e))throw new Error(e+" is already refined.");if(!this.isHierarchicalFacet(e))throw new Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration.");var r={};return r[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:i({},r,this.hierarchicalFacetsRefinements)})},removeHierarchicalFacetRefinement:function(e){if(!this.isHierarchicalFacetRefined(e))return this;var t={};return t[e]=[],this.setQueryParameters({hierarchicalFacetsRefinements:i({},t,this.hierarchicalFacetsRefinements)})},toggleTagRefinement:function(e){return this.isTagRefined(e)?this.removeTagRefinement(e):this.addTagRefinement(e)},isDisjunctiveFacet:function(e){return this.disjunctiveFacets.indexOf(e)>-1},isHierarchicalFacet:function(e){return void 0!==this.getHierarchicalFacetByName(e)},isConjunctiveFacet:function(e){return this.facets.indexOf(e)>-1},isFacetRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&h.isRefined(this.facetsRefinements,e,t)},isExcludeRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&h.isRefined(this.facetsExcludes,e,t)},isDisjunctiveFacetRefined:function(e,t){return!!this.isDisjunctiveFacet(e)&&h.isRefined(this.disjunctiveFacetsRefinements,e,t)},isHierarchicalFacetRefined:function(e,t){if(!this.isHierarchicalFacet(e))return!1;var r=this.getHierarchicalRefinement(e);return t?-1!==r.indexOf(t):r.length>0},isNumericRefined:function(e,t,r){if(void 0===r&&void 0===t)return!!this.numericRefinements[e];var n=this.numericRefinements[e]&&void 0!==this.numericRefinements[e][t];if(void 0===r||!n)return n;var i,a,o=c(r),u=void 0!==(i=this.numericRefinements[e][t],a=o,s(i,(function(e){return l(e,a)})));return n&&u},isTagRefined:function(e){return-1!==this.tagRefinements.indexOf(e)},getRefinedDisjunctiveFacets:function(){var e=this,t=a(Object.keys(this.numericRefinements).filter((function(t){return Object.keys(e.numericRefinements[t]).length>0})),this.disjunctiveFacets);return Object.keys(this.disjunctiveFacetsRefinements).filter((function(t){return e.disjunctiveFacetsRefinements[t].length>0})).concat(t).concat(this.getRefinedHierarchicalFacets())},getRefinedHierarchicalFacets:function(){var e=this;return a(this.hierarchicalFacets.map((function(e){return e.name})),Object.keys(this.hierarchicalFacetsRefinements).filter((function(t){return e.hierarchicalFacetsRefinements[t].length>0})))},getUnrefinedDisjunctiveFacets:function(){var e=this.getRefinedDisjunctiveFacets();return this.disjunctiveFacets.filter((function(t){return-1===e.indexOf(t)}))},managedParameters:["index","facets","disjunctiveFacets","facetsRefinements","hierarchicalFacets","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacetsRefinements"],getQueryParams:function(){var e=this.managedParameters,t={},r=this;return Object.keys(this).forEach((function(n){var i=r[n];-1===e.indexOf(n)&&void 0!==i&&(t[n]=i)})),t},setQueryParameter:function(e,t){if(this[e]===t)return this;var r={};return r[e]=t,this.setQueryParameters(r)},setQueryParameters:function(e){if(!e)return this;var t=p.validate(this,e);if(t)throw t;var r=this,n=p._parseNumbers(e),i=Object.keys(this).reduce((function(e,t){return e[t]=r[t],e}),{}),a=Object.keys(n).reduce((function(e,t){var r=void 0!==e[t],i=void 0!==n[t];return r&&!i?o(e,[t]):(i&&(e[t]=n[t]),e)}),i);return new this.constructor(a)},resetPage:function(){return void 0===this.page?this:this.setPage(0)},_getHierarchicalFacetSortBy:function(e){return e.sortBy||["isRefined:desc","name:asc"]},_getHierarchicalFacetSeparator:function(e){return e.separator||" > "},_getHierarchicalRootPath:function(e){return e.rootPath||null},_getHierarchicalShowParentLevel:function(e){return"boolean"!=typeof e.showParentLevel||e.showParentLevel},getHierarchicalFacetByName:function(e){return s(this.hierarchicalFacets,(function(t){return t.name===e}))},getHierarchicalFacetBreadcrumb:function(e){if(!this.isHierarchicalFacet(e))return[];var t=this.getHierarchicalRefinement(e)[0];if(!t)return[];var r=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e));return t.split(r).map((function(e){return e.trim()}))},toString:function(){return JSON.stringify(this,null,2)}},e.exports=p},210:(e,t,r)=>{"use strict";e.exports=function(e){return function(t,r){var s=e.hierarchicalFacets[r],u=e.hierarchicalFacetsRefinements[s.name]&&e.hierarchicalFacetsRefinements[s.name][0]||"",f=e._getHierarchicalFacetSeparator(s),h=e._getHierarchicalRootPath(s),l=e._getHierarchicalShowParentLevel(s),p=a(e._getHierarchicalFacetSortBy(s)),d=t.every((function(e){return e.exhaustive})),m=function(e,t,r,a,s){return function(u,f,h){var l=u;if(h>0){var p=0;for(l=u;p<h;){var d=l&&Array.isArray(l.data)?l.data:[];l=i(d,(function(e){return e.isRefined})),p++}}if(l){var m=Object.keys(f.data).map((function(e){return[e,f.data[e]]})).filter((function(e){return function(e,t,r,n,i,a){if(i&&(0!==e.indexOf(i)||i===e))return!1;return!i&&-1===e.indexOf(n)||i&&e.split(n).length-i.split(n).length==1||-1===e.indexOf(n)&&-1===r.indexOf(n)||0===r.indexOf(e)||0===e.indexOf(t+n)&&(a||0===e.indexOf(r))}(e[0],l.path||r,s,t,r,a)}));l.data=n(m.map((function(e){var r=e[0];return function(e,t,r,n,i){var a=t.split(r);return{name:a[a.length-1].trim(),path:t,escapedValue:c(t),count:e,isRefined:n===t||0===n.indexOf(t+r),exhaustive:i,data:null}}(e[1],r,t,o(s),f.exhaustive)})),e[0],e[1])}return u}}(p,f,h,l,u),g=t;return h&&(g=t.slice(h.split(f).length)),g.reduce(m,{name:e.hierarchicalFacets[r].name,count:null,isRefined:!0,path:null,escapedValue:null,exhaustive:d,data:null})}};var n=r(2148),i=r(7888),a=r(2293),s=r(4039),c=s.escapeFacetValue,o=s.unescapeFacetValue},3076:(e,t,r)=>{"use strict";var n=r(185),i=r(2344),a=r(2148),s=r(4587),c=r(7888),o=r(9725),u=r(2293),f=r(4039),h=f.escapeFacetValue,l=f.unescapeFacetValue,p=r(210);function d(e){var t={};return e.forEach((function(e,r){t[e]=r})),t}function m(e,t,r){t&&t[r]&&(e.stats=t[r])}function g(e,t,r){var a=t[0];this._rawResults=t;var u=this;Object.keys(a).forEach((function(e){u[e]=a[e]})),Object.keys(r||{}).forEach((function(e){u[e]=r[e]})),this.processingTimeMS=t.reduce((function(e,t){return void 0===t.processingTimeMS?e:e+t.processingTimeMS}),0),this.disjunctiveFacets=[],this.hierarchicalFacets=e.hierarchicalFacets.map((function(){return[]})),this.facets=[];var f=e.getRefinedDisjunctiveFacets(),h=d(e.facets),g=d(e.disjunctiveFacets),v=1,y=a.facets||{};Object.keys(y).forEach((function(t){var r,n,i=y[t],s=(r=e.hierarchicalFacets,n=t,c(r,(function(e){return(e.attributes||[]).indexOf(n)>-1})));if(s){var f=s.attributes.indexOf(t),l=o(e.hierarchicalFacets,(function(e){return e.name===s.name}));u.hierarchicalFacets[l][f]={attribute:t,data:i,exhaustive:a.exhaustiveFacetsCount}}else{var p,d=-1!==e.disjunctiveFacets.indexOf(t),v=-1!==e.facets.indexOf(t);d&&(p=g[t],u.disjunctiveFacets[p]={name:t,data:i,exhaustive:a.exhaustiveFacetsCount},m(u.disjunctiveFacets[p],a.facets_stats,t)),v&&(p=h[t],u.facets[p]={name:t,data:i,exhaustive:a.exhaustiveFacetsCount},m(u.facets[p],a.facets_stats,t))}})),this.hierarchicalFacets=s(this.hierarchicalFacets),f.forEach((function(r){var s=t[v],c=s&&s.facets?s.facets:{},f=e.getHierarchicalFacetByName(r);Object.keys(c).forEach((function(t){var r,h=c[t];if(f){r=o(e.hierarchicalFacets,(function(e){return e.name===f.name}));var p=o(u.hierarchicalFacets[r],(function(e){return e.attribute===t}));if(-1===p)return;u.hierarchicalFacets[r][p].data=n({},u.hierarchicalFacets[r][p].data,h)}else{r=g[t];var d=a.facets&&a.facets[t]||{};u.disjunctiveFacets[r]={name:t,data:i({},h,d),exhaustive:s.exhaustiveFacetsCount},m(u.disjunctiveFacets[r],s.facets_stats,t),e.disjunctiveFacetsRefinements[t]&&e.disjunctiveFacetsRefinements[t].forEach((function(n){!u.disjunctiveFacets[r].data[n]&&e.disjunctiveFacetsRefinements[t].indexOf(l(n))>-1&&(u.disjunctiveFacets[r].data[n]=0)}))}})),v++})),e.getRefinedHierarchicalFacets().forEach((function(r){var n=e.getHierarchicalFacetByName(r),a=e._getHierarchicalFacetSeparator(n),s=e.getHierarchicalRefinement(r);0===s.length||s[0].split(a).length<2||t.slice(v).forEach((function(t){var r=t&&t.facets?t.facets:{};Object.keys(r).forEach((function(t){var c=r[t],f=o(e.hierarchicalFacets,(function(e){return e.name===n.name})),h=o(u.hierarchicalFacets[f],(function(e){return e.attribute===t}));if(-1!==h){var l={};if(s.length>0){var p=s[0].split(a)[0];l[p]=u.hierarchicalFacets[f][h].data[p]}u.hierarchicalFacets[f][h].data=i(l,c,u.hierarchicalFacets[f][h].data)}})),v++}))})),Object.keys(e.facetsExcludes).forEach((function(t){var r=e.facetsExcludes[t],n=h[t];u.facets[n]={name:t,data:a.facets[t],exhaustive:a.exhaustiveFacetsCount},r.forEach((function(e){u.facets[n]=u.facets[n]||{name:t},u.facets[n].data=u.facets[n].data||{},u.facets[n].data[e]=0}))})),this.hierarchicalFacets=this.hierarchicalFacets.map(p(e)),this.facets=s(this.facets),this.disjunctiveFacets=s(this.disjunctiveFacets),this._state=e}function v(e,t,r,n){if(n=n||0,Array.isArray(t))return e(t,r[n]);if(!t.data||0===t.data.length)return t;var a=t.data.map((function(t){return v(e,t,r,n+1)})),s=e(a,r[n]);return i({data:s},t)}function y(e,t){var r=c(e,(function(e){return e.name===t}));return r&&r.stats}function b(e,t,r,n,i){var a=c(i,(function(e){return e.name===r})),s=a&&a.data&&a.data[n]?a.data[n]:0,o=a&&a.exhaustive||!1;return{type:t,attributeName:r,name:n,count:s,exhaustive:o}}g.prototype.getFacetByName=function(e){function t(t){return t.name===e}return c(this.facets,t)||c(this.disjunctiveFacets,t)||c(this.hierarchicalFacets,t)},g.DEFAULT_SORT=["isRefined:desc","count:desc","name:asc"],g.prototype.getFacetValues=function(e,t){var r=function(e,t){function r(e){return e.name===t}if(e._state.isConjunctiveFacet(t)){var n=c(e.facets,r);return n?Object.keys(n.data).map((function(r){var i=h(r);return{name:r,escapedValue:i,count:n.data[r],isRefined:e._state.isFacetRefined(t,i),isExcluded:e._state.isExcludeRefined(t,r)}})):[]}if(e._state.isDisjunctiveFacet(t)){var i=c(e.disjunctiveFacets,r);return i?Object.keys(i.data).map((function(r){var n=h(r);return{name:r,escapedValue:n,count:i.data[r],isRefined:e._state.isDisjunctiveFacetRefined(t,n)}})):[]}if(e._state.isHierarchicalFacet(t))return c(e.hierarchicalFacets,r)}(this,e);if(r){var n,s=i({},t,{sortBy:g.DEFAULT_SORT,facetOrdering:!(t&&t.sortBy)}),o=this;if(Array.isArray(r))n=[e];else n=o._state.getHierarchicalFacetByName(r.name).attributes;return v((function(e,t){if(s.facetOrdering){var r=function(e,t){return e.renderingContent&&e.renderingContent.facetOrdering&&e.renderingContent.facetOrdering.values&&e.renderingContent.facetOrdering.values[t]}(o,t);if(Boolean(r))return function(e,t){var r=[],n=[],i=(t.order||[]).reduce((function(e,t,r){return e[t]=r,e}),{});e.forEach((function(e){var t=e.path||e.name;void 0!==i[t]?r[i[t]]=e:n.push(e)})),r=r.filter((function(e){return e}));var s,c=t.sortRemainingBy;return"hidden"===c?r:(s="alpha"===c?[["path","name"],["asc","asc"]]:[["count"],["desc"]],r.concat(a(n,s[0],s[1])))}(e,r)}if(Array.isArray(s.sortBy)){var n=u(s.sortBy,g.DEFAULT_SORT);return a(e,n[0],n[1])}if("function"==typeof s.sortBy)return function(e,t){return t.sort(e)}(s.sortBy,e);throw new Error("options.sortBy is optional but if defined it must be either an array of string (predicates) or a sorting function")}),r,n)}},g.prototype.getFacetStats=function(e){return this._state.isConjunctiveFacet(e)?y(this.facets,e):this._state.isDisjunctiveFacet(e)?y(this.disjunctiveFacets,e):void 0},g.prototype.getRefinements=function(){var e=this._state,t=this,r=[];return Object.keys(e.facetsRefinements).forEach((function(n){e.facetsRefinements[n].forEach((function(i){r.push(b(e,"facet",n,i,t.facets))}))})),Object.keys(e.facetsExcludes).forEach((function(n){e.facetsExcludes[n].forEach((function(i){r.push(b(e,"exclude",n,i,t.facets))}))})),Object.keys(e.disjunctiveFacetsRefinements).forEach((function(n){e.disjunctiveFacetsRefinements[n].forEach((function(i){r.push(b(e,"disjunctive",n,i,t.disjunctiveFacets))}))})),Object.keys(e.hierarchicalFacetsRefinements).forEach((function(n){e.hierarchicalFacetsRefinements[n].forEach((function(i){r.push(function(e,t,r,n){var i=e.getHierarchicalFacetByName(t),a=e._getHierarchicalFacetSeparator(i),s=r.split(a),o=c(n,(function(e){return e.name===t})),u=s.reduce((function(e,t){var r=e&&c(e.data,(function(e){return e.name===t}));return void 0!==r?r:e}),o),f=u&&u.count||0,h=u&&u.exhaustive||!1,l=u&&u.path||"";return{type:"hierarchical",attributeName:t,name:l,count:f,exhaustive:h}}(e,n,i,t.hierarchicalFacets))}))})),Object.keys(e.numericRefinements).forEach((function(t){var n=e.numericRefinements[t];Object.keys(n).forEach((function(e){n[e].forEach((function(n){r.push({type:"numeric",attributeName:t,name:n,numericValue:n,operator:e})}))}))})),e.tagRefinements.forEach((function(e){r.push({type:"tag",attributeName:"_tags",name:e})})),r},e.exports=g},9374:(e,t,r)=>{"use strict";var n=r(7775),i=r(3076),a=r(8078),s=r(6394),c=r(7331),o=r(4853),u=r(116),f=r(9803),h=r(185),l=r(4336),p=r(4039).escapeFacetValue;function d(e,t,r){"function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+l+")"),this.setClient(e);var i=r||{};i.index=t,this.state=n.make(i),this.lastResults=null,this._queryId=0,this._lastQueryIdReceived=-1,this.derivedHelpers=[],this._currentNbQueries=0}function m(e){if(e<0)throw new Error("Page requested below 0.");return this._change({state:this.state.setPage(e),isPageReset:!1}),this}function g(){return this.state.page}o(d,c),d.prototype.search=function(){return this._search({onlyWithDerivedHelpers:!1}),this},d.prototype.searchOnlyWithDerivedHelpers=function(){return this._search({onlyWithDerivedHelpers:!0}),this},d.prototype.getQuery=function(){var e=this.state;return s._getHitsSearchParams(e)},d.prototype.searchOnce=function(e,t){var r=e?this.state.setQueryParameters(e):this.state,n=s._getQueries(r.index,r),a=this;if(this._currentNbQueries++,this.emit("searchOnce",{state:r}),!t)return this.client.search(n).then((function(e){return a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),{content:new i(r,e.results),state:r,_originalResponse:e}}),(function(e){throw a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),e}));this.client.search(n).then((function(e){a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),t(null,new i(r,e.results),r)})).catch((function(e){a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),t(e,null,r)}))},d.prototype.findAnswers=function(e){var t=this.state,r=this.derivedHelpers[0];if(!r)return Promise.resolve([]);var n=r.getModifiedState(t),i=h({attributesForPrediction:e.attributesForPrediction,nbHits:e.nbHits},{params:f(s._getHitsSearchParams(n),["attributesToSnippet","hitsPerPage","restrictSearchableAttributes","snippetEllipsisText"])}),a="search for answers was called, but this client does not have a function client.initIndex(index).findAnswers";if("function"!=typeof this.client.initIndex)throw new Error(a);var c=this.client.initIndex(n.index);if("function"!=typeof c.findAnswers)throw new Error(a);return c.findAnswers(n.query,e.queryLanguages,i)},d.prototype.searchForFacetValues=function(e,t,r,n){var i="function"==typeof this.client.searchForFacetValues,a="function"==typeof this.client.initIndex;if(!i&&!a&&"function"!=typeof this.client.search)throw new Error("search for facet values (searchable) was called, but this client does not have a function client.searchForFacetValues or client.initIndex(index).searchForFacetValues");var c=this.state.setQueryParameters(n||{}),o=c.isDisjunctiveFacet(e),u=s.getSearchForFacetQuery(e,t,r,c);this._currentNbQueries++;var f,h=this;return i?f=this.client.searchForFacetValues([{indexName:c.index,params:u}]):a?f=this.client.initIndex(c.index).searchForFacetValues(u):(delete u.facetName,f=this.client.search([{type:"facet",facet:e,indexName:c.index,params:u}]).then((function(e){return e.results[0]}))),this.emit("searchForFacetValues",{state:c,facet:e,query:t}),f.then((function(t){return h._currentNbQueries--,0===h._currentNbQueries&&h.emit("searchQueueEmpty"),(t=Array.isArray(t)?t[0]:t).facetHits.forEach((function(t){t.escapedValue=p(t.value),t.isRefined=o?c.isDisjunctiveFacetRefined(e,t.escapedValue):c.isFacetRefined(e,t.escapedValue)})),t}),(function(e){throw h._currentNbQueries--,0===h._currentNbQueries&&h.emit("searchQueueEmpty"),e}))},d.prototype.setQuery=function(e){return this._change({state:this.state.resetPage().setQuery(e),isPageReset:!0}),this},d.prototype.clearRefinements=function(e){return this._change({state:this.state.resetPage().clearRefinements(e),isPageReset:!0}),this},d.prototype.clearTags=function(){return this._change({state:this.state.resetPage().clearTags(),isPageReset:!0}),this},d.prototype.addDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.addDisjunctiveRefine=function(){return this.addDisjunctiveFacetRefinement.apply(this,arguments)},d.prototype.addHierarchicalFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addHierarchicalFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.addNumericRefinement=function(e,t,r){return this._change({state:this.state.resetPage().addNumericRefinement(e,t,r),isPageReset:!0}),this},d.prototype.addFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.addRefine=function(){return this.addFacetRefinement.apply(this,arguments)},d.prototype.addFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().addExcludeRefinement(e,t),isPageReset:!0}),this},d.prototype.addExclude=function(){return this.addFacetExclusion.apply(this,arguments)},d.prototype.addTag=function(e){return this._change({state:this.state.resetPage().addTagRefinement(e),isPageReset:!0}),this},d.prototype.removeNumericRefinement=function(e,t,r){return this._change({state:this.state.resetPage().removeNumericRefinement(e,t,r),isPageReset:!0}),this},d.prototype.removeDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.removeDisjunctiveRefine=function(){return this.removeDisjunctiveFacetRefinement.apply(this,arguments)},d.prototype.removeHierarchicalFacetRefinement=function(e){return this._change({state:this.state.resetPage().removeHierarchicalFacetRefinement(e),isPageReset:!0}),this},d.prototype.removeFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.removeRefine=function(){return this.removeFacetRefinement.apply(this,arguments)},d.prototype.removeFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().removeExcludeRefinement(e,t),isPageReset:!0}),this},d.prototype.removeExclude=function(){return this.removeFacetExclusion.apply(this,arguments)},d.prototype.removeTag=function(e){return this._change({state:this.state.resetPage().removeTagRefinement(e),isPageReset:!0}),this},d.prototype.toggleFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().toggleExcludeFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.toggleExclude=function(){return this.toggleFacetExclusion.apply(this,arguments)},d.prototype.toggleRefinement=function(e,t){return this.toggleFacetRefinement(e,t)},d.prototype.toggleFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().toggleFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.toggleRefine=function(){return this.toggleFacetRefinement.apply(this,arguments)},d.prototype.toggleTag=function(e){return this._change({state:this.state.resetPage().toggleTagRefinement(e),isPageReset:!0}),this},d.prototype.nextPage=function(){var e=this.state.page||0;return this.setPage(e+1)},d.prototype.previousPage=function(){var e=this.state.page||0;return this.setPage(e-1)},d.prototype.setCurrentPage=m,d.prototype.setPage=m,d.prototype.setIndex=function(e){return this._change({state:this.state.resetPage().setIndex(e),isPageReset:!0}),this},d.prototype.setQueryParameter=function(e,t){return this._change({state:this.state.resetPage().setQueryParameter(e,t),isPageReset:!0}),this},d.prototype.setState=function(e){return this._change({state:n.make(e),isPageReset:!1}),this},d.prototype.overrideStateWithoutTriggeringChangeEvent=function(e){return this.state=new n(e),this},d.prototype.hasRefinements=function(e){return!!u(this.state.getNumericRefinements(e))||(this.state.isConjunctiveFacet(e)?this.state.isFacetRefined(e):this.state.isDisjunctiveFacet(e)?this.state.isDisjunctiveFacetRefined(e):!!this.state.isHierarchicalFacet(e)&&this.state.isHierarchicalFacetRefined(e))},d.prototype.isExcluded=function(e,t){return this.state.isExcludeRefined(e,t)},d.prototype.isDisjunctiveRefined=function(e,t){return this.state.isDisjunctiveFacetRefined(e,t)},d.prototype.hasTag=function(e){return this.state.isTagRefined(e)},d.prototype.isTagRefined=function(){return this.hasTagRefinements.apply(this,arguments)},d.prototype.getIndex=function(){return this.state.index},d.prototype.getCurrentPage=g,d.prototype.getPage=g,d.prototype.getTags=function(){return this.state.tagRefinements},d.prototype.getRefinements=function(e){var t=[];if(this.state.isConjunctiveFacet(e))this.state.getConjunctiveRefinements(e).forEach((function(e){t.push({value:e,type:"conjunctive"})})),this.state.getExcludeRefinements(e).forEach((function(e){t.push({value:e,type:"exclude"})}));else if(this.state.isDisjunctiveFacet(e)){this.state.getDisjunctiveRefinements(e).forEach((function(e){t.push({value:e,type:"disjunctive"})}))}var r=this.state.getNumericRefinements(e);return Object.keys(r).forEach((function(e){var n=r[e];t.push({value:n,operator:e,type:"numeric"})})),t},d.prototype.getNumericRefinement=function(e,t){return this.state.getNumericRefinement(e,t)},d.prototype.getHierarchicalFacetBreadcrumb=function(e){return this.state.getHierarchicalFacetBreadcrumb(e)},d.prototype._search=function(e){var t=this.state,r=[],n=[];e.onlyWithDerivedHelpers||(n=s._getQueries(t.index,t),r.push({state:t,queriesCount:n.length,helper:this}),this.emit("search",{state:t,results:this.lastResults}));var i=this.derivedHelpers.map((function(e){var n=e.getModifiedState(t),i=s._getQueries(n.index,n);return r.push({state:n,queriesCount:i.length,helper:e}),e.emit("search",{state:n,results:e.lastResults}),i})),a=Array.prototype.concat.apply(n,i),c=this._queryId++;this._currentNbQueries++;try{this.client.search(a).then(this._dispatchAlgoliaResponse.bind(this,r,c)).catch(this._dispatchAlgoliaError.bind(this,c))}catch(e){this.emit("error",{error:e})}},d.prototype._dispatchAlgoliaResponse=function(e,t,r){if(!(t<this._lastQueryIdReceived)){this._currentNbQueries-=t-this._lastQueryIdReceived,this._lastQueryIdReceived=t,0===this._currentNbQueries&&this.emit("searchQueueEmpty");var n=r.results.slice();e.forEach((function(e){var t=e.state,r=e.queriesCount,a=e.helper,s=n.splice(0,r),c=a.lastResults=new i(t,s);a.emit("result",{results:c,state:t})}))}},d.prototype._dispatchAlgoliaError=function(e,t){e<this._lastQueryIdReceived||(this._currentNbQueries-=e-this._lastQueryIdReceived,this._lastQueryIdReceived=e,this.emit("error",{error:t}),0===this._currentNbQueries&&this.emit("searchQueueEmpty"))},d.prototype.containsRefinement=function(e,t,r,n){return e||0!==t.length||0!==r.length||0!==n.length},d.prototype._hasDisjunctiveRefinements=function(e){return this.state.disjunctiveRefinements[e]&&this.state.disjunctiveRefinements[e].length>0},d.prototype._change=function(e){var t=e.state,r=e.isPageReset;t!==this.state&&(this.state=t,this.emit("change",{state:this.state,results:this.lastResults,isPageReset:r}))},d.prototype.clearCache=function(){return this.client.clearCache&&this.client.clearCache(),this},d.prototype.setClient=function(e){return this.client===e||("function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+l+")"),this.client=e),this},d.prototype.getClient=function(){return this.client},d.prototype.derive=function(e){var t=new a(this,e);return this.derivedHelpers.push(t),t},d.prototype.detachDerivedHelper=function(e){var t=this.derivedHelpers.indexOf(e);if(-1===t)throw new Error("Derived helper already detached");this.derivedHelpers.splice(t,1)},d.prototype.hasPendingRequests=function(){return this._currentNbQueries>0},e.exports=d},4587:e=>{"use strict";e.exports=function(e){return Array.isArray(e)?e.filter(Boolean):[]}},2344:e=>{"use strict";e.exports=function(){var e=Array.prototype.slice.call(arguments);return e.reduceRight((function(e,t){return Object.keys(Object(t)).forEach((function(r){void 0!==t[r]&&(void 0!==e[r]&&delete e[r],e[r]=t[r])})),e}),{})}},4039:e=>{"use strict";e.exports={escapeFacetValue:function(e){return"string"!=typeof e?e:String(e).replace(/^-/,"\\-")},unescapeFacetValue:function(e){return"string"!=typeof e?e:e.replace(/^\\-/,"-")}}},7888:e=>{"use strict";e.exports=function(e,t){if(Array.isArray(e))for(var r=0;r<e.length;r++)if(t(e[r]))return e[r]}},9725:e=>{"use strict";e.exports=function(e,t){if(!Array.isArray(e))return-1;for(var r=0;r<e.length;r++)if(t(e[r]))return r;return-1}},2293:(e,t,r)=>{"use strict";var n=r(7888);e.exports=function(e,t){var r=(t||[]).map((function(e){return e.split(":")}));return e.reduce((function(e,t){var i=t.split(":"),a=n(r,(function(e){return e[0]===i[0]}));return i.length>1||!a?(e[0].push(i[0]),e[1].push(i[1]),e):(e[0].push(a[0]),e[1].push(a[1]),e)}),[[],[]])}},4853:e=>{"use strict";e.exports=function(e,t){e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}},2686:e=>{"use strict";e.exports=function(e,t){return e.filter((function(r,n){return t.indexOf(r)>-1&&e.indexOf(r)===n}))}},185:e=>{"use strict";function t(e){return"function"==typeof e||Array.isArray(e)||"[object Object]"===Object.prototype.toString.call(e)}function r(e,n){if(e===n)return e;for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)&&"__proto__"!==i){var a=n[i],s=e[i];void 0!==s&&void 0===a||(t(s)&&t(a)?e[i]=r(s,a):e[i]="object"==typeof(c=a)&&null!==c?r(Array.isArray(c)?[]:{},c):c)}var c;return e}e.exports=function(e){t(e)||(e={});for(var n=1,i=arguments.length;n<i;n++){var a=arguments[n];t(a)&&r(e,a)}return e}},116:e=>{"use strict";e.exports=function(e){return e&&Object.keys(e).length>0}},9803:e=>{"use strict";e.exports=function(e,t){if(null===e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}},2148:e=>{"use strict";function t(e,t){if(e!==t){var r=void 0!==e,n=null===e,i=void 0!==t,a=null===t;if(!a&&e>t||n&&i||!r)return 1;if(!n&&e<t||a&&r||!i)return-1}return 0}e.exports=function(e,r,n){if(!Array.isArray(e))return[];Array.isArray(n)||(n=[]);var i=e.map((function(e,t){return{criteria:r.map((function(t){return e[t]})),index:t,value:e}}));return i.sort((function(e,r){for(var i=-1;++i<e.criteria.length;){var a=t(e.criteria[i],r.criteria[i]);if(a)return i>=n.length?a:"desc"===n[i]?-a:a}return e.index-r.index})),i.map((function(e){return e.value}))}},8023:e=>{"use strict";e.exports=function e(t){if("number"==typeof t)return t;if("string"==typeof t)return parseFloat(t);if(Array.isArray(t))return t.map(e);throw new Error("The value should be a number, a parsable string or an array of those.")}},6394:(e,t,r)=>{"use strict";var n=r(185);function i(e){return Object.keys(e).sort((function(e,t){return e.localeCompare(t)})).reduce((function(t,r){return t[r]=e[r],t}),{})}var a={_getQueries:function(e,t){var r=[];return r.push({indexName:e,params:a._getHitsSearchParams(t)}),t.getRefinedDisjunctiveFacets().forEach((function(n){r.push({indexName:e,params:a._getDisjunctiveFacetSearchParams(t,n)})})),t.getRefinedHierarchicalFacets().forEach((function(n){var i=t.getHierarchicalFacetByName(n),s=t.getHierarchicalRefinement(n),c=t._getHierarchicalFacetSeparator(i);if(s.length>0&&s[0].split(c).length>1){var o=s[0].split(c).slice(0,-1).reduce((function(e,t,r){return e.concat({attribute:i.attributes[r],value:0===r?t:[e[e.length-1].value,t].join(c)})}),[]);o.forEach((function(n,i){var s=a._getDisjunctiveFacetSearchParams(t,n.attribute,0===i),c=o[i-1];s.facetFilters=i>0?[c.attribute+":"+c.value]:void 0,r.push({indexName:e,params:s})}))}})),r},_getHitsSearchParams:function(e){var t=e.facets.concat(e.disjunctiveFacets).concat(a._getHitsHierarchicalFacetsAttributes(e)),r=a._getFacetFilters(e),s=a._getNumericFilters(e),c=a._getTagFilters(e),o={facets:t.indexOf("*")>-1?["*"]:t,tagFilters:c};return r.length>0&&(o.facetFilters=r),s.length>0&&(o.numericFilters=s),i(n({},e.getQueryParams(),o))},_getDisjunctiveFacetSearchParams:function(e,t,r){var s=a._getFacetFilters(e,t,r),c=a._getNumericFilters(e,t),o=a._getTagFilters(e),u={hitsPerPage:0,page:0,analytics:!1,clickAnalytics:!1};o.length>0&&(u.tagFilters=o);var f=e.getHierarchicalFacetByName(t);return u.facets=f?a._getDisjunctiveHierarchicalFacetAttribute(e,f,r):t,c.length>0&&(u.numericFilters=c),s.length>0&&(u.facetFilters=s),i(n({},e.getQueryParams(),u))},_getNumericFilters:function(e,t){if(e.numericFilters)return e.numericFilters;var r=[];return Object.keys(e.numericRefinements).forEach((function(n){var i=e.numericRefinements[n]||{};Object.keys(i).forEach((function(e){var a=i[e]||[];t!==n&&a.forEach((function(t){if(Array.isArray(t)){var i=t.map((function(t){return n+e+t}));r.push(i)}else r.push(n+e+t)}))}))})),r},_getTagFilters:function(e){return e.tagFilters?e.tagFilters:e.tagRefinements.join(",")},_getFacetFilters:function(e,t,r){var n=[],i=e.facetsRefinements||{};Object.keys(i).forEach((function(e){(i[e]||[]).forEach((function(t){n.push(e+":"+t)}))}));var a=e.facetsExcludes||{};Object.keys(a).forEach((function(e){(a[e]||[]).forEach((function(t){n.push(e+":-"+t)}))}));var s=e.disjunctiveFacetsRefinements||{};Object.keys(s).forEach((function(e){var r=s[e]||[];if(e!==t&&r&&0!==r.length){var i=[];r.forEach((function(t){i.push(e+":"+t)})),n.push(i)}}));var c=e.hierarchicalFacetsRefinements||{};return Object.keys(c).forEach((function(i){var a=(c[i]||[])[0];if(void 0!==a){var s,o,u=e.getHierarchicalFacetByName(i),f=e._getHierarchicalFacetSeparator(u),h=e._getHierarchicalRootPath(u);if(t===i){if(-1===a.indexOf(f)||!h&&!0===r||h&&h.split(f).length===a.split(f).length)return;h?(o=h.split(f).length-1,a=h):(o=a.split(f).length-2,a=a.slice(0,a.lastIndexOf(f))),s=u.attributes[o]}else o=a.split(f).length-1,s=u.attributes[o];s&&n.push([s+":"+a])}})),n},_getHitsHierarchicalFacetsAttributes:function(e){return e.hierarchicalFacets.reduce((function(t,r){var n=e.getHierarchicalRefinement(r.name)[0];if(!n)return t.push(r.attributes[0]),t;var i=e._getHierarchicalFacetSeparator(r),a=n.split(i).length,s=r.attributes.slice(0,a+1);return t.concat(s)}),[])},_getDisjunctiveHierarchicalFacetAttribute:function(e,t,r){var n=e._getHierarchicalFacetSeparator(t);if(!0===r){var i=e._getHierarchicalRootPath(t),a=0;return i&&(a=i.split(n).length),[t.attributes[a]]}var s=(e.getHierarchicalRefinement(t.name)[0]||"").split(n).length-1;return t.attributes.slice(0,s+1)},getSearchForFacetQuery:function(e,t,r,s){var c=s.isDisjunctiveFacet(e)?s.clearRefinements(e):s,o={facetQuery:t,facetName:e};return"number"==typeof r&&(o.maxFacetHits=r),i(n({},a._getHitsSearchParams(c),o))}};e.exports=a},6801:e=>{"use strict";e.exports=function(e){return null!==e&&/^[a-zA-Z0-9_-]{1,64}$/.test(e)}},4336:e=>{"use strict";e.exports="3.10.0"},290:function(e){
2
  /*! algoliasearch-lite.umd.js | 4.14.2 | © Algolia, inc. | https://github.com/algolia/algoliasearch-client-javascript */
3
  e.exports=function(){"use strict";function e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function t(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function r(r){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?t(Object(i),!0).forEach((function(t){e(r,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):t(Object(i)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(i,e))}))}return r}function n(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,i=!1,a=void 0;try{for(var s,c=e[Symbol.iterator]();!(n=(s=c.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(e){i=!0,a=e}finally{try{n||null==c.return||c.return()}finally{if(i)throw a}}return r}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function a(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function s(e){var t,r="algoliasearch-client-js-".concat(e.key),n=function(){return void 0===t&&(t=e.localStorage||window.localStorage),t},a=function(){return JSON.parse(n().getItem(r)||"{}")};return{get:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then((function(){var r=JSON.stringify(e),n=a()[r];return Promise.all([n||t(),void 0!==n])})).then((function(e){var t=i(e,2),n=t[0],a=t[1];return Promise.all([n,a||r.miss(n)])})).then((function(e){return i(e,1)[0]}))},set:function(e,t){return Promise.resolve().then((function(){var i=a();return i[JSON.stringify(e)]=t,n().setItem(r,JSON.stringify(i)),t}))},delete:function(e){return Promise.resolve().then((function(){var t=a();delete t[JSON.stringify(e)],n().setItem(r,JSON.stringify(t))}))},clear:function(){return Promise.resolve().then((function(){n().removeItem(r)}))}}}function c(e){var t=a(e.caches),r=t.shift();return void 0===r?{get:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return t().then((function(e){return Promise.all([e,r.miss(e)])})).then((function(e){return i(e,1)[0]}))},set:function(e,t){return Promise.resolve(t)},delete:function(e){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return r.get(e,n,i).catch((function(){return c({caches:t}).get(e,n,i)}))},set:function(e,n){return r.set(e,n).catch((function(){return c({caches:t}).set(e,n)}))},delete:function(e){return r.delete(e).catch((function(){return c({caches:t}).delete(e)}))},clear:function(){return r.clear().catch((function(){return c({caches:t}).clear()}))}}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{serializable:!0},t={};return{get:function(r,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}},a=JSON.stringify(r);if(a in t)return Promise.resolve(e.serializable?JSON.parse(t[a]):t[a]);var s=n(),c=i&&i.miss||function(){return Promise.resolve()};return s.then((function(e){return c(e)})).then((function(){return s}))},set:function(r,n){return t[JSON.stringify(r)]=e.serializable?JSON.stringify(n):n,Promise.resolve(n)},delete:function(e){return delete t[JSON.stringify(e)],Promise.resolve()},clear:function(){return t={},Promise.resolve()}}}function u(e){for(var t=e.length-1;t>0;t--){var r=Math.floor(Math.random()*(t+1)),n=e[t];e[t]=e[r],e[r]=n}return e}function f(e,t){return t?(Object.keys(t).forEach((function(r){e[r]=t[r](e)})),e):e}function h(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=0;return e.replace(/%s/g,(function(){return encodeURIComponent(r[i++])}))}var l={WithinQueryParameters:0,WithinHeaders:1};function p(e,t){var r=e||{},n=r.data||{};return Object.keys(r).forEach((function(e){-1===["timeout","headers","queryParameters","data","cacheable"].indexOf(e)&&(n[e]=r[e])})),{data:Object.entries(n).length>0?n:void 0,timeout:r.timeout||t,headers:r.headers||{},queryParameters:r.queryParameters||{},cacheable:r.cacheable}}var d={Read:1,Write:2,Any:3},m=1,g=2,v=3;function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m;return r(r({},e),{},{status:t,lastUpdate:Date.now()})}function b(e){return"string"==typeof e?{protocol:"https",url:e,accept:d.Any}:{protocol:e.protocol||"https",url:e.url,accept:e.accept||d.Any}}var R="GET",F="POST";function x(e,t){return Promise.all(t.map((function(t){return e.get(t,(function(){return Promise.resolve(y(t))}))}))).then((function(e){var r=e.filter((function(e){return function(e){return e.status===m||Date.now()-e.lastUpdate>12e4}(e)})),n=e.filter((function(e){return function(e){return e.status===v&&Date.now()-e.lastUpdate<=12e4}(e)})),i=[].concat(a(r),a(n));return{getTimeout:function(e,t){return(0===n.length&&0===e?1:n.length+3+e)*t},statelessHosts:i.length>0?i.map((function(e){return b(e)})):t}}))}function P(e,t,n,i){var s=[],c=function(e,t){if(e.method!==R&&(void 0!==e.data||void 0!==t.data)){var n=Array.isArray(e.data)?e.data:r(r({},e.data),t.data);return JSON.stringify(n)}}(n,i),o=function(e,t){var n=r(r({},e.headers),t.headers),i={};return Object.keys(n).forEach((function(e){var t=n[e];i[e.toLowerCase()]=t})),i}(e,i),u=n.method,f=n.method!==R?{}:r(r({},n.data),i.data),h=r(r(r({"x-algolia-agent":e.userAgent.value},e.queryParameters),f),i.queryParameters),l=0,p=function t(r,a){var f=r.pop();if(void 0===f)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.",transporterStackTrace:w(s)};var p={data:c,headers:o,method:u,url:j(f,n.path,h),connectTimeout:a(l,e.timeouts.connect),responseTimeout:a(l,i.timeout)},d=function(e){var t={request:p,response:e,host:f,triesLeft:r.length};return s.push(t),t},m={onSuccess:function(e){return function(e){try{return JSON.parse(e.content)}catch(t){throw function(e,t){return{name:"DeserializationError",message:e,response:t}}(t.message,e)}}(e)},onRetry:function(n){var i=d(n);return n.isTimedOut&&l++,Promise.all([e.logger.info("Retryable failure",E(i)),e.hostsCache.set(f,y(f,n.isTimedOut?v:g))]).then((function(){return t(r,a)}))},onFail:function(e){throw d(e),function(e,t){var r=e.content,n=e.status,i=r;try{i=JSON.parse(r).message}catch(e){}return function(e,t,r){return{name:"ApiError",message:e,status:t,transporterStackTrace:r}}(i,n,t)}(e,w(s))}};return e.requester.send(p).then((function(e){return function(e,t){return function(e){var t=e.status;return e.isTimedOut||function(e){var t=e.isTimedOut,r=e.status;return!t&&0==~~r}(e)||2!=~~(t/100)&&4!=~~(t/100)}(e)?t.onRetry(e):2==~~(e.status/100)?t.onSuccess(e):t.onFail(e)}(e,m)}))};return x(e.hostsCache,t).then((function(e){return p(a(e.statelessHosts).reverse(),e.getTimeout)}))}function O(e){var t={value:"Algolia for JavaScript (".concat(e,")"),add:function(e){var r="; ".concat(e.segment).concat(void 0!==e.version?" (".concat(e.version,")"):"");return-1===t.value.indexOf(r)&&(t.value="".concat(t.value).concat(r)),t}};return t}function j(e,t,r){var n=S(r),i="".concat(e.protocol,"://").concat(e.url,"/").concat("/"===t.charAt(0)?t.substr(1):t);return n.length&&(i+="?".concat(n)),i}function S(e){return Object.keys(e).map((function(t){return h("%s=%s",t,(r=e[t],"[object Object]"===Object.prototype.toString.call(r)||"[object Array]"===Object.prototype.toString.call(r)?JSON.stringify(e[t]):e[t]));var r})).join("&")}function w(e){return e.map((function(e){return E(e)}))}function E(e){var t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return r(r({},e),{},{request:r(r({},e.request),{},{headers:r(r({},e.request.headers),t)})})}var _=function(e){var t=e.appId,n=function(e,t,r){var n={"x-algolia-api-key":r,"x-algolia-application-id":t};return{headers:function(){return e===l.WithinHeaders?n:{}},queryParameters:function(){return e===l.WithinQueryParameters?n:{}}}}(void 0!==e.authMode?e.authMode:l.WithinHeaders,t,e.apiKey),a=function(e){var t=e.hostsCache,r=e.logger,n=e.requester,a=e.requestsCache,s=e.responsesCache,c=e.timeouts,o=e.userAgent,u=e.hosts,f=e.queryParameters,h={hostsCache:t,logger:r,requester:n,requestsCache:a,responsesCache:s,timeouts:c,userAgent:o,headers:e.headers,queryParameters:f,hosts:u.map((function(e){return b(e)})),read:function(e,t){var r=p(t,h.timeouts.read),n=function(){return P(h,h.hosts.filter((function(e){return 0!=(e.accept&d.Read)})),e,r)};if(!0!==(void 0!==r.cacheable?r.cacheable:e.cacheable))return n();var a={request:e,mappedRequestOptions:r,transporter:{queryParameters:h.queryParameters,headers:h.headers}};return h.responsesCache.get(a,(function(){return h.requestsCache.get(a,(function(){return h.requestsCache.set(a,n()).then((function(e){return Promise.all([h.requestsCache.delete(a),e])}),(function(e){return Promise.all([h.requestsCache.delete(a),Promise.reject(e)])})).then((function(e){var t=i(e,2);return t[0],t[1]}))}))}),{miss:function(e){return h.responsesCache.set(a,e)}})},write:function(e,t){return P(h,h.hosts.filter((function(e){return 0!=(e.accept&d.Write)})),e,p(t,h.timeouts.write))}};return h}(r(r({hosts:[{url:"".concat(t,"-dsn.algolia.net"),accept:d.Read},{url:"".concat(t,".algolia.net"),accept:d.Write}].concat(u([{url:"".concat(t,"-1.algolianet.com")},{url:"".concat(t,"-2.algolianet.com")},{url:"".concat(t,"-3.algolianet.com")}]))},e),{},{headers:r(r(r({},n.headers()),{"content-type":"application/x-www-form-urlencoded"}),e.headers),queryParameters:r(r({},n.queryParameters()),e.queryParameters)}));return f({transporter:a,appId:t,addAlgoliaAgent:function(e,t){a.userAgent.add({segment:e,version:t})},clearCache:function(){return Promise.all([a.requestsCache.clear(),a.responsesCache.clear()]).then((function(){}))}},e.methods)},C=function(e){return function(t,r){return t.method===R?e.transporter.read(t,r):e.transporter.write(t,r)}},A=function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f({transporter:e.transporter,appId:e.appId,indexName:t},r.methods)}},N=function(e){return function(t,n){var i=t.map((function(e){return r(r({},e),{},{params:S(e.params||{})})}));return e.transporter.read({method:F,path:"1/indexes/*/queries",data:{requests:i},cacheable:!0},n)}},Z=function(e){return function(t,i){return Promise.all(t.map((function(t){var a=t.params,s=a.facetName,c=a.facetQuery,o=n(a,["facetName","facetQuery"]);return A(e)(t.indexName,{methods:{searchForFacetValues:V}}).searchForFacetValues(s,c,r(r({},i),o))})))}},k=function(e){return function(t,r,n){return e.transporter.read({method:F,path:h("1/answers/%s/prediction",e.indexName),data:{query:t,queryLanguages:r},cacheable:!0},n)}},T=function(e){return function(t,r){return e.transporter.read({method:F,path:h("1/indexes/%s/query",e.indexName),data:{query:t},cacheable:!0},r)}},V=function(e){return function(t,r,n){return e.transporter.read({method:F,path:h("1/indexes/%s/facets/%s/query",e.indexName,t),data:{facetQuery:r},cacheable:!0},n)}},I=1,D=2,H=3;function Q(e,t,n){var i,a={appId:e,apiKey:t,timeouts:{connect:1,read:2,write:30},requester:{send:function(e){return new Promise((function(t){var r=new XMLHttpRequest;r.open(e.method,e.url,!0),Object.keys(e.headers).forEach((function(t){return r.setRequestHeader(t,e.headers[t])}));var n,i=function(e,n){return setTimeout((function(){r.abort(),t({status:0,content:n,isTimedOut:!0})}),1e3*e)},a=i(e.connectTimeout,"Connection timeout");r.onreadystatechange=function(){r.readyState>r.OPENED&&void 0===n&&(clearTimeout(a),n=i(e.responseTimeout,"Socket timeout"))},r.onerror=function(){0===r.status&&(clearTimeout(a),clearTimeout(n),t({content:r.responseText||"Network request failed",status:r.status,isTimedOut:!1}))},r.onload=function(){clearTimeout(a),clearTimeout(n),t({content:r.responseText,status:r.status,isTimedOut:!1})},r.send(e.data)}))}},logger:(i=H,{debug:function(e,t){return I>=i&&console.debug(e,t),Promise.resolve()},info:function(e,t){return D>=i&&console.info(e,t),Promise.resolve()},error:function(e,t){return console.error(e,t),Promise.resolve()}}),responsesCache:o(),requestsCache:o({serializable:!1}),hostsCache:c({caches:[s({key:"".concat("4.14.2","-").concat(e)}),o()]}),userAgent:O("4.14.2").add({segment:"Browser",version:"lite"}),authMode:l.WithinQueryParameters};return _(r(r(r({},a),n),{},{methods:{search:N,searchForFacetValues:Z,multipleQueries:N,multipleSearchForFacetValues:Z,customRequest:C,initIndex:function(e){return function(t){return A(e)(t,{methods:{search:T,searchForFacetValues:V,findAnswers:k}})}}}}))}return Q.version="4.14.2",Q}()},4184:(e,t)=>{var r;
4
  /*!
5
- Copyright (c) 2018 Jed Watson.
6
- Licensed under the MIT License (MIT), see
7
- http://jedwatson.github.io/classnames
8
- */!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)){if(r.length){var s=i.apply(null,r);s&&e.push(s)}}else if("object"===a)if(r.toString===Object.prototype.toString)for(var c in r)n.call(r,c)&&r[c]&&e.push(c);else e.push(r.toString())}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},3671:(e,t,r)=>{var n=r(9662),i=r(7908),a=r(8361),s=r(6244),c=TypeError,o=function(e){return function(t,r,o,u){n(r);var f=i(t),h=a(f),l=s(f),p=e?l-1:0,d=e?-1:1;if(o<2)for(;;){if(p in h){u=h[p],p+=d;break}if(p+=d,e?p<0:l<=p)throw c("Reduce of empty array with no initial value")}for(;e?p>=0:l>p;p+=d)p in h&&(u=r(u,h[p],p,f));return u}};e.exports={left:o(!1),right:o(!0)}},5827:(e,t,r)=>{"use strict";var n=r(2109),i=r(3671).left,a=r(9341),s=r(7392),c=r(5268);n({target:"Array",proto:!0,forced:!a("reduce")||!c&&s>79&&s<83},{reduce:function(e){var t=arguments.length;return i(this,e,t,t>1?arguments[1]:void 0)}})},9590:e=>{var t="undefined"!=typeof Element,r="function"==typeof Map,n="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function a(e,s){if(e===s)return!0;if(e&&s&&"object"==typeof e&&"object"==typeof s){if(e.constructor!==s.constructor)return!1;var c,o,u,f;if(Array.isArray(e)){if((c=e.length)!=s.length)return!1;for(o=c;0!=o--;)if(!a(e[o],s[o]))return!1;return!0}if(r&&e instanceof Map&&s instanceof Map){if(e.size!==s.size)return!1;for(f=e.entries();!(o=f.next()).done;)if(!s.has(o.value[0]))return!1;for(f=e.entries();!(o=f.next()).done;)if(!a(o.value[1],s.get(o.value[0])))return!1;return!0}if(n&&e instanceof Set&&s instanceof Set){if(e.size!==s.size)return!1;for(f=e.entries();!(o=f.next()).done;)if(!s.has(o.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(s)){if((c=e.length)!=s.length)return!1;for(o=c;0!=o--;)if(e[o]!==s[o])return!1;return!0}if(e.constructor===RegExp)return e.source===s.source&&e.flags===s.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===s.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===s.toString();if((c=(u=Object.keys(e)).length)!==Object.keys(s).length)return!1;for(o=c;0!=o--;)if(!Object.prototype.hasOwnProperty.call(s,u[o]))return!1;if(t&&e instanceof Element)return!1;for(o=c;0!=o--;)if(("_owner"!==u[o]&&"__v"!==u[o]&&"__o"!==u[o]||!e.$$typeof)&&!a(e[u[o]],s[u[o]]))return!1;return!0}return e!=e&&s!=s}e.exports=function(e,t){try{return a(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},8810:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(1773),i=r(5009),a=r(4914);const s=(0,n.Z)({displayName:"AlgoliaHits",$$type:"ais.hits",getProvidedProps:function(e,t,r){var n=(0,i.O7)(r,{ais:e.contextValue,multiIndexContext:e.indexContextValue});if(!n)return{hits:[]};var s=(0,a.RC)(n.hits,n.hitsPerPage,n.page);return{hits:(0,a.Io)(s,n.queryID)}},getSearchParameters:function(e){return e}})},3866:(e,t,r)=>{"use strict";r.d(t,{BT:()=>a,tJ:()=>s,wX:()=>o});var n=r(7294),i=(0,n.createContext)({onInternalStateUpdate:function(){},createHrefForState:function(){return"#"},onSearchForFacetValues:function(){},onSearchStateChange:function(){},onSearchParameters:function(){},store:{},widgetsManager:{},mainTargetedIndex:""}),a=i.Consumer,s=i.Provider,c=(0,n.createContext)(void 0),o=c.Consumer;c.Provider},1773:(e,t,r)=>{"use strict";r.d(t,{Z:()=>F});var n=r(7462),i=r(5987),a=r(5671),s=r(3144),c=r(7326),o=r(136),u=r(2963),f=r(1120),h=r(4942),l=r(7294),p=r(9590),d=r.n(p),m=r(4914),g=r(3866),v=["contextValue"];function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach((function(t){(0,h.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function R(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=(0,f.Z)(e);if(t){var i=(0,f.Z)(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return(0,u.Z)(this,r)}}const F=function(e){return function(t,r){var u=function(e){if(!e.displayName)throw new Error("`createConnector` requires you to provide a `displayName` property.");var t="function"==typeof e.getSearchParameters||"function"==typeof e.getMetadata||"function"==typeof e.transitionState;return function(r){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},f=function(u){(0,o.Z)(p,u);var f=R(p);function p(t){var r;return(0,a.Z)(this,p),r=f.call(this,t),(0,h.Z)((0,c.Z)(r),"unsubscribe",void 0),(0,h.Z)((0,c.Z)(r),"unregisterWidget",void 0),(0,h.Z)((0,c.Z)(r),"isUnmounting",!1),(0,h.Z)((0,c.Z)(r),"state",{providedProps:r.getProvidedProps(r.props)}),(0,h.Z)((0,c.Z)(r),"refine",(function(){for(var t,n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];r.props.contextValue.onInternalStateUpdate((t=e.refine).call.apply(t,[(0,c.Z)(r),r.props,r.props.contextValue.store.getState().widgets].concat(i)))})),(0,h.Z)((0,c.Z)(r),"createURL",(function(){for(var t,n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return r.props.contextValue.createHrefForState((t=e.refine).call.apply(t,[(0,c.Z)(r),r.props,r.props.contextValue.store.getState().widgets].concat(i)))})),(0,h.Z)((0,c.Z)(r),"searchForFacetValues",(function(){for(var t,n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];r.props.contextValue.onSearchForFacetValues((t=e.searchForFacetValues).call.apply(t,[(0,c.Z)(r),r.props,r.props.contextValue.store.getState().widgets].concat(i)))})),e.getSearchParameters&&r.props.contextValue.onSearchParameters(e.getSearchParameters.bind((0,c.Z)(r)),{ais:r.props.contextValue,multiIndexContext:r.props.indexContextValue},r.props,e.getMetadata&&e.getMetadata.bind((0,c.Z)(r)),e.displayName),r}return(0,s.Z)(p,[{key:"componentDidMount",value:function(){var e=this;this.unsubscribe=this.props.contextValue.store.subscribe((function(){e.isUnmounting||e.setState({providedProps:e.getProvidedProps(e.props)})})),t&&(this.unregisterWidget=this.props.contextValue.widgetsManager.registerWidget(this))}},{key:"shouldComponentUpdate",value:function(t,r){if("function"==typeof e.shouldComponentUpdate)return e.shouldComponentUpdate.call(this,this.props,t,this.state,r);var n=(0,m.wU)(this.props,t);return null===this.state.providedProps||null===r.providedProps?this.state.providedProps!==r.providedProps||!n:!n||!(0,m.wU)(this.state.providedProps,r.providedProps)}},{key:"componentDidUpdate",value:function(r){d()(r,this.props)||(this.setState({providedProps:this.getProvidedProps(this.props)}),t&&(this.props.contextValue.widgetsManager.update(),"function"==typeof e.transitionState&&this.props.contextValue.onSearchStateChange(e.transitionState.call(this,this.props,this.props.contextValue.store.getState().widgets,this.props.contextValue.store.getState().widgets))))}},{key:"componentWillUnmount",value:function(){if(this.isUnmounting=!0,this.unsubscribe&&this.unsubscribe(),this.unregisterWidget&&(this.unregisterWidget(),"function"==typeof e.cleanUp)){var t=e.cleanUp.call(this,this.props,this.props.contextValue.store.getState().widgets);this.props.contextValue.store.setState(b(b({},this.props.contextValue.store.getState()),{},{widgets:t})),this.props.contextValue.onSearchStateChange((0,m.YC)(t))}}},{key:"getProvidedProps",value:function(t){var r=this.props.contextValue.store.getState(),n=r.widgets,i=r.results,a=r.resultsFacetValues,s=r.searching,c=r.searchingForFacetValues,o=r.isSearchStalled,u=r.metadata,f={results:i,searching:s,searchingForFacetValues:c,isSearchStalled:o,error:r.error};return e.getProvidedProps.call(this,t,n,f,u,a)}},{key:"getSearchParameters",value:function(t){return"function"==typeof e.getSearchParameters?e.getSearchParameters.call(this,t,this.props,this.props.contextValue.store.getState().widgets):null}},{key:"getMetadata",value:function(t){return"function"==typeof e.getMetadata?e.getMetadata.call(this,this.props,t):{}}},{key:"transitionState",value:function(t,r){return"function"==typeof e.transitionState?e.transitionState.call(this,this.props,t,r):r}},{key:"render",value:function(){var t=this.props,a=(t.contextValue,(0,i.Z)(t,v)),s=this.state.providedProps;if(null===s)return null;var c="function"==typeof e.refine?{refine:this.refine,createURL:this.createURL}:{},o="function"==typeof e.searchForFacetValues?{searchForItems:this.searchForFacetValues}:{};return l.createElement(r,(0,n.Z)({},a,s,c,o))}}]),p}(l.Component);return(0,h.Z)(f,"displayName","".concat(e.displayName,"(").concat((0,m.Gf)(r),")")),(0,h.Z)(f,"$$type",e.$$type),(0,h.Z)(f,"$$widgetType",u.$$widgetType),(0,h.Z)(f,"propTypes",e.propTypes),(0,h.Z)(f,"defaultProps",e.defaultProps),(0,h.Z)(f,"_connectorDesc",e),f}}(e)(t,r);return function(e){return l.createElement(g.BT,null,(function(t){return l.createElement(g.wX,null,(function(r){return l.createElement(u,(0,n.Z)({contextValue:t,indexContextValue:r},e))}))}))}}}},5009:(e,t,r)=>{"use strict";r.d(t,{Ei:()=>u,O7:()=>o,RD:()=>f,U6:()=>l,WN:()=>c,cI:()=>p});var n=r(4942),i=r(4914);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e){return u(e)?e.multiIndexContext.targetedIndex:e.ais.mainTargetedIndex}function o(e,t){if(e.results){if(e.results.hits)return e.results;var r=c(t);if(e.results[r])return e.results[r]}return null}function u(e){return e&&e.multiIndexContext}function f(e,t,r,i,a){if(u(r)){var o=c(r);return a?function(e,t,r,i,a){var c,o=i?{page:1}:void 0,u=e.indices&&e.indices[r]?s(s({},e.indices),{},(0,n.Z)({},r,s(s({},e.indices[r]),{},(c={},(0,n.Z)(c,a,s(s({},e.indices[r][a]),t)),(0,n.Z)(c,"page",1),c)))):s(s({},e.indices),{},(0,n.Z)({},r,s((0,n.Z)({},a,t),o)));return s(s({},e),{},{indices:u})}(e,t,o,i,a):function(e,t,r,i){var a=i?{page:1}:void 0,c=e.indices&&e.indices[r]?s(s({},e.indices),{},(0,n.Z)({},r,s(s(s({},e.indices[r]),t),a))):s(s({},e.indices),{},(0,n.Z)({},r,s(s({},t),a)));return s(s({},e),{},{indices:c})}(e,t,o,i)}return e.indices&&i&&Object.keys(e.indices).forEach((function(t){e=f(e,{page:1},{multiIndexContext:{targetedIndex:t}},!0,a)})),a?function(e,t,r,i){var a=r?{page:1}:void 0;return s(s({},e),{},(0,n.Z)({},i,s(s({},e[i]),t)),a)}(e,t,i,a):function(e,t,r){var n=r?{page:1}:void 0;return s(s(s({},e),t),n)}(e,t,i)}function h(e){var t=e.match(/^([^.]*)\.(.*)/);return{namespace:t&&t[1],attributeName:t&&t[2]}}function l(e,t,r,n,i){var a=c(r),s=h(n),o=s.namespace,f=s.attributeName,l={multiIndex:u(r),indexId:a,namespace:o,attributeName:f,id:n,searchState:t},p=function(e){var t=e.multiIndex,r=e.indexId,n=e.namespace,i=e.attributeName,a=e.id,s=e.searchState;return t&&n?s.indices&&s.indices[r]&&s.indices[r][n]&&Object.hasOwnProperty.call(s.indices[r][n],i):t?s.indices&&s.indices[r]&&Object.hasOwnProperty.call(s.indices[r],a):n?s[n]&&Object.hasOwnProperty.call(s[n],i):Object.hasOwnProperty.call(s,a)}(l);return p?function(e){var t=e.multiIndex,r=e.indexId,n=e.namespace,i=e.attributeName,a=e.id,s=e.searchState;return t&&n?s.indices[r][n][i]:t?s.indices[r][a]:n?s[n][i]:s[a]}(l):e.defaultRefinement?e.defaultRefinement:i}function p(e,t,r){var a=c(t),o=h(r),f=o.namespace,l=o.attributeName;return u(t)&&Boolean(e.indices)?function(e){var t=e.searchState,r=e.indexId,a=e.id,c=e.namespace,o=e.attribute,u=t.indices[r];if(c&&u)return s(s({},t),{},{indices:s(s({},t.indices),{},(0,n.Z)({},r,s(s({},u),{},(0,n.Z)({},c,(0,i.CE)(u[c],[o])))))});if(u)return s(s({},t),{},{indices:s(s({},t.indices),{},(0,n.Z)({},r,(0,i.CE)(u,[a])))});return t}({attribute:l,searchState:e,indexId:a,id:r,namespace:f}):function(e){var t=e.searchState,r=e.id,a=e.namespace,c=e.attribute;if(a)return s(s({},t),{},(0,n.Z)({},a,(0,i.CE)(t[a],[c])));return(0,i.CE)(t,[r])}({attribute:l,searchState:e,id:r,namespace:f})}},4914:(e,t,r)=>{"use strict";r.d(t,{CE:()=>d,Gf:()=>o,Io:()=>p,PQ:()=>f,RC:()=>l,YC:()=>h,wU:()=>c});var n=r(4942),i=r(1002);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var c=function(e,t){if(e===t)return!0;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var i=Object.prototype.hasOwnProperty,a=0;a<r.length;a++)if(!i.call(t,r[a])||e[r[a]]!==t[r[a]])return!1;return!0},o=function(e){return e.displayName||e.name||"UnknownComponent"},u=Promise.resolve(),f=function(e){u.then(e)},h=function e(t){return Object.keys(t).forEach((function(r){var n,a=t[r];(function(e){return"object"===(0,i.Z)(e)&&null!==e&&!Array.isArray(e)})(a)&&((n=a)&&Object.keys(n).length>0?e(a):delete t[r])})),t};function l(e,t,r){return e.map((function(e,n){return s(s({},e),{},{__position:t*r+n+1})}))}function p(e,t){return t?e.map((function(e){return s(s({},e),{},{__queryID:t})})):e}function d(e,t){if(null==e)return{};for(var r={},n=Object.keys(e),i=0;i<n.length;i++){var a=n[i];t.indexOf(a)>=0||(r[a]=e[a])}return r}},2002:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var n=r(4942),i=r(5987),a=r(4914),s=r(1773),c=r(5009),o=["children","contextValue","indexContextValue"],u=["children","contextValue","indexContextValue"];function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const l=(0,s.Z)({displayName:"AlgoliaConfigure",$$type:"ais.configure",getProvidedProps:function(){return{}},getSearchParameters:function(e,t){t.children,t.contextValue,t.indexContextValue;var r=(0,i.Z)(t,o);return e.setQueryParameters(r)},transitionState:function(e,t,r){var s="configure",o=(e.children,e.contextValue,e.indexContextValue,(0,i.Z)(e,u)),f=Object.keys(e),l=this._props?Object.keys(this._props).filter((function(e){return-1===f.indexOf(e)})):[];this._props=e;var p=(0,n.Z)({},s,h(h({},(0,a.CE)(r[s],l)),o));return(0,c.RD)(r,p,{ais:e.contextValue,multiIndexContext:e.indexContextValue})},cleanUp:function(e,t){var r="configure",i=(0,c.WN)({ais:e.contextValue,multiIndexContext:e.indexContextValue}),a=(0,c.Ei)({ais:e.contextValue,multiIndexContext:e.indexContextValue})&&t.indices?t.indices[i]:t,s=(a&&a[r]?Object.keys(a[r]):[]).reduce((function(t,n){return e[n]||(t[n]=a[r][n]),t}),{}),o=(0,n.Z)({},r,s);return(0,c.RD)(t,o,{ais:e.contextValue,multiIndexContext:e.indexContextValue})}})((function(){return null}),{$$widgetType:"ais.configure"})},516:(e,t,r)=>{"use strict";r.d(t,{Z:()=>L});var n=r(5671),i=r(3144),a=r(7326),s=r(136),c=r(2963),o=r(1120),u=r(4942),f=r(7294),h=r(9590),l=r.n(h),p=r(5697),d=r.n(p),m=r(5987),g=r(8131),v=r.n(g),y=r(4914);var b={highlightPreTag:"<ais-highlight-0000000000>",highlightPostTag:"</ais-highlight-0000000000>"};var R=r(5009);var F=["resultsFacetValues"],x=["resultsFacetValues"],P=["resultsFacetValues"];function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?O(Object(r),!0).forEach((function(t){(0,u.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function S(e){"function"==typeof e.addAlgoliaAgent&&(e.addAlgoliaAgent("react (".concat(f.version,")")),e.addAlgoliaAgent("react-instantsearch (".concat("6.30.3",")")))}var w=function(e){return(0,R.Ei)({ais:e.props.contextValue,multiIndexContext:e.props.indexContextValue})},E=function(e,t){return e.props.indexContextValue.targetedIndex===t},_=function(e){return Boolean(e.props.indexId)},C=function(e,t){return e.props.indexId===t},A=function(e,t){var r=_(e),n=_(t);return r&&!n?-1:!r&&n?1:0};function N(e){return Object.keys(e).map((function(t){return function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=0;return e.replace(/%s/g,(function(){return encodeURIComponent(r[i++])}))}("%s=%s",t,(r=e[t],"[object Object]"===Object.prototype.toString.call(r)||"[object Array]"===Object.prototype.toString.call(r)?JSON.stringify(e[t]):e[t]));var r})).join("&")}function Z(e){var t=e.indexName,r=e.initialState,n=void 0===r?{}:r,i=e.searchClient,a=e.resultsState,s=e.stalledSearchDelay,c=v()(i,t,j({},b));S(i),c.on("search",(function(){h||(h=setTimeout((function(){var e=d.getState(),t=(e.resultsFacetValues,(0,m.Z)(e,P));d.setState(j(j({},t),{},{isSearchStalled:!0}))}),s))})).on("result",Z({indexId:t})).on("error",T);var o,f=!1,h=null,l=c.state,p=function(e){var t=[],r=!1;function n(){r||(r=!0,(0,y.PQ)((function(){r=!1,e()})))}return{registerWidget:function(e){return t.push(e),n(),function(){t.splice(t.indexOf(e),1),n()}},update:n,getWidgets:function(){return t}}}((function(){var e=g(d.getState().widgets);d.setState(j(j({},d.getState()),{},{metadata:e,searching:!0})),O()}));!function(e,t){if(!t)return;if((!e.transporter||e._cacheHydrated)&&(!e._useCache||"function"!=typeof e.addAlgoliaAgent))return;if(e.transporter&&!e._cacheHydrated){e._cacheHydrated=!0;var r=e.search;e.search=function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];var s=t.map((function(e){return j(j({},e),{},{params:N(e.params)})}));return e.transporter.responsesCache.get({method:"search",args:[s].concat(i)},(function(){return r.apply(void 0,[t].concat(i))}))}}if(Array.isArray(t.results))return void function(e,t){if(e.transporter)return void e.transporter.responsesCache.set({method:"search",args:[t.reduce((function(e,t){return e.concat(t.rawResults.map((function(e){return{indexName:e.index,params:e.params}})))}),[])]},{results:t.reduce((function(e,t){return e.concat(t.rawResults)}),[])});var r="/1/indexes/*/queries_body_".concat(JSON.stringify({requests:t.reduce((function(e,t){return e.concat(t.rawResults.map((function(e){return{indexName:e.index,params:e.params}})))}),[])}));e.cache=j(j({},e.cache),{},(0,u.Z)({},r,JSON.stringify({results:t.reduce((function(e,t){return e.concat(t.rawResults)}),[])})))}(e,t.results);!function(e,t){if(e.transporter)return void e.transporter.responsesCache.set({method:"search",args:[t.rawResults.map((function(e){return{indexName:e.index,params:e.params}}))]},{results:t.rawResults});var r="/1/indexes/*/queries_body_".concat(JSON.stringify({requests:t.rawResults.map((function(e){return{indexName:e.index,params:e.params}}))}));e.cache=j(j({},e.cache),{},(0,u.Z)({},r,JSON.stringify({results:t.rawResults})))}(e,t)}(i,a);var d=function(e){var t=e,r=[];return{getState:function(){return t},setState:function(e){t=e,r.forEach((function(e){return e()}))},subscribe:function(e){return r.push(e),function(){r.splice(r.indexOf(e),1)}}}}({widgets:n,metadata:k(a),results:function(e){if(!e)return null;if(Array.isArray(e.results))return e.results.reduce((function(e,t){return j(j({},e),{},(0,u.Z)({},t._internalIndexId,new(v().SearchResults)(new(v().SearchParameters)(t.state),t.rawResults)))}),{});return new(v().SearchResults)(new(v().SearchParameters)(e.state),e.rawResults)}(a),error:null,searching:!1,isSearchStalled:!0,searchingForFacetValues:!1});function g(e){return p.getWidgets().filter((function(e){return Boolean(e.getMetadata)})).map((function(t){return t.getMetadata(e)}))}function R(){var e=p.getWidgets().filter((function(e){return Boolean(e.getSearchParameters)})).filter((function(e){return!w(e)&&!_(e)})).reduce((function(e,t){return t.getSearchParameters(e)}),l),r=p.getWidgets().filter((function(e){return Boolean(e.getSearchParameters)})).filter((function(e){var r=w(e)&&E(e,t),n=_(e)&&C(e,t);return r||n})).sort(A).reduce((function(e,t){return t.getSearchParameters(e)}),e),n=p.getWidgets().filter((function(e){return Boolean(e.getSearchParameters)})).filter((function(e){var r=w(e)&&!E(e,t),n=_(e)&&!C(e,t);return r||n})).sort(A).reduce((function(e,t){var r=w(t)?t.props.indexContextValue.targetedIndex:t.props.indexId,n=e[r]||[];return j(j({},e),{},(0,u.Z)({},r,n.concat(t)))}),{});return{mainParameters:r,derivedParameters:Object.keys(n).map((function(t){return{parameters:n[t].reduce((function(e,t){return t.getSearchParameters(e)}),e),indexId:t}}))}}function O(){if(!f){var e=R(c.state),t=e.mainParameters,r=e.derivedParameters;o=r.length+1,c.derivedHelpers.slice().forEach((function(e){e.detach()})),r.forEach((function(e){var t=e.indexId,r=e.parameters;c.derive((function(){return r})).on("result",Z({indexId:t})).on("error",T)})),c.setState(t),c.search()}}function Z(e){var t=e.indexId;return function(e){o--;var r=d.getState(),n=!c.derivedHelpers.length,i=r.results?r.results:{};i=!n&&i.getFacetByName?{}:i,i=n?e.results:j(j({},i),{},(0,u.Z)({},t,e.results));var a=d.getState(),s=a.isSearchStalled;c.hasPendingRequests()||(clearTimeout(h),h=null,s=!1);a.resultsFacetValues;var f=(0,m.Z)(a,F);d.setState(j(j({},f),{},{results:i,isSearchStalled:s,searching:o>0,error:null}))}}function T(e){var t=e.error,r=d.getState(),n=r.isSearchStalled;c.hasPendingRequests()||(clearTimeout(h),n=!1);r.resultsFacetValues;var i=(0,m.Z)(r,x);d.setState(j(j({},i),{},{isSearchStalled:n,error:t,searching:!1}))}return{store:d,widgetsManager:p,getWidgetsIds:function(){return d.getState().metadata.reduce((function(e,t){return void 0!==t.id?e.concat(t.id):e}),[])},getSearchParameters:R,onSearchForFacetValues:function(e){var t=e.facetName,r=e.query,n=e.maxFacetHits,i=void 0===n?10:n,a=Math.max(1,Math.min(i,100));d.setState(j(j({},d.getState()),{},{searchingForFacetValues:!0})),c.searchForFacetValues(t,r,a).then((function(e){var n;d.setState(j(j({},d.getState()),{},{error:null,searchingForFacetValues:!1,resultsFacetValues:j(j({},d.getState().resultsFacetValues),{},(n={},(0,u.Z)(n,t,e.facetHits),(0,u.Z)(n,"query",r),n))}))}),(function(e){d.setState(j(j({},d.getState()),{},{searchingForFacetValues:!1,error:e}))})).catch((function(e){setTimeout((function(){throw e}))}))},onExternalStateUpdate:function(e){var t=g(e);d.setState(j(j({},d.getState()),{},{widgets:e,metadata:t,searching:!0})),O()},transitionState:function(e){var t=d.getState().widgets;return p.getWidgets().filter((function(e){return Boolean(e.transitionState)})).reduce((function(e,r){return r.transitionState(t,e)}),e)},updateClient:function(e){S(e),c.setClient(e),O()},updateIndex:function(e){l=l.setIndex(e)},clearCache:function(){c.clearCache(),O()},skipSearch:function(){f=!0}}}function k(e){return e?e.metadata.map((function(e){return j(j({value:function(){return{}}},e),{},{items:e.items&&e.items.map((function(e){return j(j({value:function(){return{}}},e),{},{items:e.items&&e.items.map((function(e){return j({value:function(){return{}}},e)}))})}))})})):[]}var T=r(3866),V=r(1002);function I(e,t){var r=document.createElement("meta"),n=document.querySelector("head");r.name="algolia:metadata";var i=function(e,t){var r=["contextValue","indexContextValue"],n=e.map((function(e){var t=e.props,n=e.constructor,i=n._connectorDesc||{},a=i.defaultProps,s=void 0===a?{}:a,c=i.displayName;return{displayName:void 0===c?n.displayName:c,$$type:n.$$type,$$widgetType:n.$$widgetType,params:Object.keys(t).filter((function(e){return!r.includes(e)&&s[e]!==t[e]&&void 0!==t[e]}))}})),i=t;return{ua:i.transporter&&i.transporter.userAgent?i.transporter.userAgent.value:i._ua,widgets:n}}(e,t);r.content=JSON.stringify(i),n.appendChild(r)}function D(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function H(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?D(Object(r),!0).forEach((function(t){(0,u.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Q(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=(0,o.Z)(e);if(t){var i=(0,o.Z)(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return(0,c.Z)(this,r)}}function q(e){return Boolean(e.searchState)}var B=function(e){(0,s.Z)(r,e);var t=Q(r);function r(e){var i;(0,n.Z)(this,r),i=t.call(this,e),(0,u.Z)((0,a.Z)(i),"isUnmounting",!1);var s=Z({indexName:i.props.indexName,searchClient:i.props.searchClient,initialState:i.props.searchState||{},resultsState:i.props.resultsState,stalledSearchDelay:i.props.stalledSearchDelay}),c={store:s.store,widgetsManager:s.widgetsManager,mainTargetedIndex:i.props.indexName,onInternalStateUpdate:i.onWidgetsInternalStateUpdate.bind((0,a.Z)(i)),createHrefForState:i.createHrefForState.bind((0,a.Z)(i)),onSearchForFacetValues:i.onSearchForFacetValues.bind((0,a.Z)(i)),onSearchStateChange:i.onSearchStateChange.bind((0,a.Z)(i)),onSearchParameters:i.onSearchParameters.bind((0,a.Z)(i))};return i.state={isControlled:q(i.props),instantSearchManager:s,contextValue:c},i}return(0,i.Z)(r,[{key:"componentDidUpdate",value:function(e){var t=q(e);if(t&&!this.state.isControlled)throw new Error("You can't switch <InstantSearch> from being controlled to uncontrolled");if(!t&&this.state.isControlled)throw new Error("You can't switch <InstantSearch> from being uncontrolled to controlled");this.props.refresh!==e.refresh&&this.props.refresh&&this.state.instantSearchManager.clearCache(),e.indexName!==this.props.indexName&&this.state.instantSearchManager.updateIndex(this.props.indexName),e.searchClient!==this.props.searchClient&&this.state.instantSearchManager.updateClient(this.props.searchClient)}},{key:"componentDidMount",value:function(){"object"===("undefined"==typeof window?"undefined":(0,V.Z)(window))&&"object"===(0,V.Z)(window.navigator)&&"string"==typeof window.navigator.userAgent&&window.navigator.userAgent.includes("Algolia Crawler")&&"object"===(0,V.Z)(window.document)&&I(this.state.instantSearchManager.widgetsManager.getWidgets(),this.props.searchClient)}},{key:"componentWillUnmount",value:function(){this.isUnmounting=!0,this.state.instantSearchManager.skipSearch()}},{key:"createHrefForState",value:function(e){return e=this.state.instantSearchManager.transitionState(e),this.state.isControlled&&this.props.createURL?this.props.createURL(e,this.getKnownKeys()):"#"}},{key:"onWidgetsInternalStateUpdate",value:function(e){e=this.state.instantSearchManager.transitionState(e),this.onSearchStateChange(e),this.state.isControlled||this.state.instantSearchManager.onExternalStateUpdate(e)}},{key:"onSearchStateChange",value:function(e){this.props.onSearchStateChange&&!this.isUnmounting&&this.props.onSearchStateChange(e)}},{key:"onSearchParameters",value:function(e,t,r,n,i){if(this.props.onSearchParameters){var a=this.props.searchState?this.props.searchState:{};this.props.onSearchParameters(e,t,r,a)}if(this.props.widgetsCollector){var s=this.props.searchState?this.props.searchState:{};this.props.widgetsCollector({getSearchParameters:e,getMetadata:n,context:t,props:r,searchState:s,displayName:i})}}},{key:"onSearchForFacetValues",value:function(e){this.state.instantSearchManager.onSearchForFacetValues(e)}},{key:"getKnownKeys",value:function(){return this.state.instantSearchManager.getWidgetsIds()}},{key:"render",value:function(){return 0===f.Children.count(this.props.children)?null:f.createElement(T.tJ,{value:this.state.contextValue},this.props.children)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var r=q(e),n=t.instantSearchManager.store.getState().widgets,i=e.searchState;return r&&!l()(n,i)&&t.instantSearchManager.onExternalStateUpdate(e.searchState),{isControlled:r,contextValue:H(H({},t.contextValue),{},{mainTargetedIndex:e.indexName})}}}]),r}(f.Component);(0,u.Z)(B,"defaultProps",{stalledSearchDelay:200,refresh:!1}),(0,u.Z)(B,"propTypes",{indexName:d().string.isRequired,searchClient:d().shape({search:d().func.isRequired,searchForFacetValues:d().func,addAlgoliaAgent:d().func,clearCache:d().func}).isRequired,createURL:d().func,refresh:d().bool,searchState:d().object,onSearchStateChange:d().func,onSearchParameters:d().func,widgetsCollector:d().func,resultsState:d().oneOfType([d().object,d().array]),children:d().node,stalledSearchDelay:d().number});const L=B},3196:(e,t,r)=>{"use strict";r.d(t,{Z:()=>A});var n=r(4942),i=r(5697),a=r.n(i),s=r(1773),c=r(5009);function o(e,t,r){var n=(0,c.U6)(e,t,r,"query","");return n||""}function u(e,t,r,i){var a=(0,n.Z)({},"query",r);return(0,c.RD)(t,a,i,!0)}const f=(0,s.Z)({displayName:"AlgoliaSearchBox",$$type:"ais.searchBox",propTypes:{defaultRefinement:a().string},getProvidedProps:function(e,t,r){return{currentRefinement:o(e,t,{ais:e.contextValue,multiIndexContext:e.indexContextValue}),isSearchStalled:r.isSearchStalled}},refine:function(e,t,r){return u(0,t,r,{ais:e.contextValue,multiIndexContext:e.indexContextValue})},cleanUp:function(e,t){return function(e,t,r){return(0,c.cI)(t,r,"query")}(0,t,{ais:e.contextValue,multiIndexContext:e.indexContextValue})},getSearchParameters:function(e,t,r){return e.setQuery(o(t,r,{ais:t.contextValue,multiIndexContext:t.indexContextValue}))},getMetadata:function(e,t){var r="query",n=o(e,t,{ais:e.contextValue,multiIndexContext:e.indexContextValue});return{id:r,index:(0,c.WN)({ais:e.contextValue,multiIndexContext:e.indexContextValue}),items:null===n?[]:[{label:"".concat(r,": ").concat(n),value:function(t){return u(0,t,"",{ais:e.contextValue,multiIndexContext:e.indexContextValue})},currentRefinement:n}]}}});var h=r(7462),l=r(5671),p=r(3144),d=r(7326),m=r(136),g=r(2963),v=r(1120),y=r(7294),b=r(4184),R=r.n(b);function F(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=(0,v.Z)(e);if(t){var i=(0,v.Z)(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return(0,g.Z)(this,r)}}function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function P(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function O(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=(0,v.Z)(e);if(t){var i=(0,v.Z)(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return(0,g.Z)(this,r)}}var j=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ais";return function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];var a=n.filter((function(e){return e||""===e})).map((function(r){var n="".concat(t,"-").concat(e);return r?"".concat(n,"-").concat(r):n}));return R()(a)}}("SearchBox"),S=y.createElement("svg",{width:"18",height:"18",viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",stroke:"#444",className:j("loadingIcon")},y.createElement("g",{fill:"none",fillRule:"evenodd"},y.createElement("g",{transform:"translate(1 1)",strokeWidth:"2"},y.createElement("circle",{strokeOpacity:".5",cx:"18",cy:"18",r:"18"}),y.createElement("path",{d:"M36 18c0-9.94-8.06-18-18-18"},y.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"}))))),w=y.createElement("svg",{className:j("resetIcon"),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",width:"10",height:"10"},y.createElement("path",{d:"M8.114 10L.944 2.83 0 1.885 1.886 0l.943.943L10 8.113l7.17-7.17.944-.943L20 1.886l-.943.943-7.17 7.17 7.17 7.17.943.944L18.114 20l-.943-.943-7.17-7.17-7.17 7.17-.944.943L0 18.114l.943-.943L8.113 10z"})),E=y.createElement("svg",{className:j("submitIcon"),xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 40 40"},y.createElement("path",{d:"M26.804 29.01c-2.832 2.34-6.465 3.746-10.426 3.746C7.333 32.756 0 25.424 0 16.378 0 7.333 7.333 0 16.378 0c9.046 0 16.378 7.333 16.378 16.378 0 3.96-1.406 7.594-3.746 10.426l10.534 10.534c.607.607.61 1.59-.004 2.202-.61.61-1.597.61-2.202.004L26.804 29.01zm-10.426.627c7.323 0 13.26-5.936 13.26-13.26 0-7.32-5.937-13.257-13.26-13.257C9.056 3.12 3.12 9.056 3.12 16.378c0 7.323 5.936 13.26 13.258 13.26z"})),_=function(e){(0,m.Z)(r,e);var t=O(r);function r(e){var i;return(0,l.Z)(this,r),i=t.call(this),(0,n.Z)((0,d.Z)(i),"getQuery",(function(){return i.props.searchAsYouType?i.props.currentRefinement:i.state.query})),(0,n.Z)((0,d.Z)(i),"onInputMount",(function(e){i.input=e,i.props.inputRef&&("function"==typeof i.props.inputRef?i.props.inputRef(e):i.props.inputRef.current=e)})),(0,n.Z)((0,d.Z)(i),"onKeyDown",(function(e){if(i.props.focusShortcuts){var t=i.props.focusShortcuts.map((function(e){return"string"==typeof e?e.toUpperCase().charCodeAt(0):e})),r=e.target||e.srcElement,n=r.tagName;if(!r.isContentEditable&&"INPUT"!==n&&"SELECT"!==n&&"TEXTAREA"!==n){var a=e.which||e.keyCode;-1!==t.indexOf(a)&&(i.input.focus(),e.stopPropagation(),e.preventDefault())}}})),(0,n.Z)((0,d.Z)(i),"onSubmit",(function(e){e.preventDefault(),e.stopPropagation(),i.input.blur();var t=i.props,r=t.refine;return t.searchAsYouType||r(i.getQuery()),!1})),(0,n.Z)((0,d.Z)(i),"onChange",(function(e){var t=i.props,r=t.searchAsYouType,n=t.refine,a=t.onChange,s=e.target.value;r?n(s):i.setState({query:s}),a&&a(e)})),(0,n.Z)((0,d.Z)(i),"onReset",(function(e){var t=i.props,r=t.searchAsYouType,n=t.refine,a=t.onReset;n(""),i.input.focus(),r||i.setState({query:""}),a&&a(e)})),i.state={query:e.searchAsYouType?null:e.currentRefinement},i}return(0,p.Z)(r,[{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.onKeyDown)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.onKeyDown)}},{key:"componentDidUpdate",value:function(e){this.props.searchAsYouType||e.currentRefinement===this.props.currentRefinement||this.setState({query:this.props.currentRefinement})}},{key:"render",value:function(){var e=this,t=this.props,r=t.className,i=t.inputId,a=t.translate,s=t.autoFocus,c=t.loadingIndicator,o=t.submit,u=t.reset,f=this.getQuery(),l=Object.keys(this.props).reduce((function(t,r){return-1===["onsubmit","onreset","onchange"].indexOf(r.toLowerCase())&&0===r.indexOf("on")?P(P({},t),{},(0,n.Z)({},r,e.props[r])):t}),{}),p=this.props.showLoadingIndicator&&this.props.isSearchStalled;return y.createElement("div",{className:R()(j(""),r)},y.createElement("form",{noValidate:!0,onSubmit:this.props.onSubmit?this.props.onSubmit:this.onSubmit,onReset:this.onReset,className:j("form",p&&"form--stalledSearch"),action:"",role:"search"},y.createElement("input",(0,h.Z)({ref:this.onInputMount,id:i,type:"search",placeholder:a("placeholder"),autoFocus:s,autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:"false",required:!0,maxLength:"512",value:f,onChange:this.onChange},l,{className:j("input")})),y.createElement("button",{type:"submit",title:a("submitTitle"),className:j("submit")},o),y.createElement("button",{type:"reset",title:a("resetTitle"),className:j("reset"),hidden:!f||p},u),this.props.showLoadingIndicator&&y.createElement("span",{hidden:!p,className:j("loadingIndicator")},c)))}}]),r}(y.Component);(0,n.Z)(_,"propTypes",{currentRefinement:a().string,className:a().string,refine:a().func.isRequired,translate:a().func.isRequired,loadingIndicator:a().node,reset:a().node,submit:a().node,focusShortcuts:a().arrayOf(a().oneOfType([a().string,a().number])),autoFocus:a().bool,searchAsYouType:a().bool,onSubmit:a().func,onReset:a().func,onChange:a().func,isSearchStalled:a().bool,showLoadingIndicator:a().bool,inputRef:a().oneOfType([a().func,a().exact({current:a().object})]),inputId:a().string}),(0,n.Z)(_,"defaultProps",{currentRefinement:"",className:"",focusShortcuts:["s","/"],autoFocus:!1,searchAsYouType:!0,showLoadingIndicator:!1,isSearchStalled:!1,loadingIndicator:S,reset:w,submit:E});var C;const A=f((C={resetTitle:"Clear the search query.",submitTitle:"Submit your search query.",placeholder:"Search here…"},function(e){var t,r=function(t){(0,m.Z)(i,t);var r=F(i);function i(){var e;(0,l.Z)(this,i);for(var t=arguments.length,a=new Array(t),s=0;s<t;s++)a[s]=arguments[s];return e=r.call.apply(r,[this].concat(a)),(0,n.Z)((0,d.Z)(e),"translate",(function(t){var r=e.props.translations,n=r&&r.hasOwnProperty(t)?r[t]:C[t];if("function"==typeof n){for(var i=arguments.length,a=new Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];return n.apply(void 0,a)}return n})),e}return(0,p.Z)(i,[{key:"render",value:function(){return y.createElement(e,(0,h.Z)({translate:this.translate},this.props))}}]),i}(y.Component),i=e.displayName||e.name||"UnknownComponent";return r.displayName="Translatable(".concat(i,")"),r.propTypes={translations:(t=Object.keys(C),function(e,r,n){var i=e[r];if(i)for(var a=0,s=Object.keys(i);a<s.length;a++){var c=s[a];if(-1===t.indexOf(c))return new Error("Unknown `".concat(r,"` key `").concat(c,"`. Check the render method ")+"of `".concat(n,"`."))}})},r})(_),{$$widgetType:"ais.searchBox"})},7326:(e,t,r)=>{"use strict";function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}r.d(t,{Z:()=>n})},5671:(e,t,r)=>{"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r.d(t,{Z:()=>n})},3144:(e,t,r)=>{"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}r.d(t,{Z:()=>i})},1120:(e,t,r)=>{"use strict";function n(e){return n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},n(e)}r.d(t,{Z:()=>n})},136:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(9611);function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,n.Z)(e,t)}},5987:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(3366);function i(e,t){if(null==e)return{};var r,i,a=(0,n.Z)(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)r=s[i],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}},2963:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(1002),i=r(7326);function a(e,t){if(t&&("object"===(0,n.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(e)}},1002:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r.d(t,{Z:()=>n})}}]);
1
+ (self.webpackChunkgravity_pdf=self.webpackChunkgravity_pdf||[]).push([[574],{7331:e=>{function t(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(e){return"function"==typeof e}function n(e){return"object"==typeof e&&null!==e}function i(e){return void 0===e}e.exports=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},t.prototype.emit=function(e){var t,a,s,c,o,u;if(this._events||(this._events={}),"error"===e&&(!this._events.error||n(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var f=new Error('Uncaught, unspecified "error" event. ('+t+")");throw f.context=t,f}if(i(a=this._events[e]))return!1;if(r(a))switch(arguments.length){case 1:a.call(this);break;case 2:a.call(this,arguments[1]);break;case 3:a.call(this,arguments[1],arguments[2]);break;default:c=Array.prototype.slice.call(arguments,1),a.apply(this,c)}else if(n(a))for(c=Array.prototype.slice.call(arguments,1),s=(u=a.slice()).length,o=0;o<s;o++)u[o].apply(this,c);return!0},t.prototype.addListener=function(e,a){var s;if(!r(a))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,r(a.listener)?a.listener:a),this._events[e]?n(this._events[e])?this._events[e].push(a):this._events[e]=[this._events[e],a]:this._events[e]=a,n(this._events[e])&&!this._events[e].warned&&(s=i(this._maxListeners)?t.defaultMaxListeners:this._maxListeners)&&s>0&&this._events[e].length>s&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(e,t){if(!r(t))throw TypeError("listener must be a function");var n=!1;function i(){this.removeListener(e,i),n||(n=!0,t.apply(this,arguments))}return i.listener=t,this.on(e,i),this},t.prototype.removeListener=function(e,t){var i,a,s,c;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(s=(i=this._events[e]).length,a=-1,i===t||r(i.listener)&&i.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(n(i)){for(c=s;c-- >0;)if(i[c]===t||i[c].listener&&i[c].listener===t){a=c;break}if(a<0)return this;1===i.length?(i.length=0,delete this._events[e]):i.splice(a,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},t.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r(n=this._events[e]))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},t.prototype.listeners=function(e){return this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},t.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},t.listenerCount=function(e,t){return e.listenerCount(t)}},8131:(e,t,r)=>{"use strict";var n=r(9374),i=r(7775),a=r(3076);function s(e,t,r){return new n(e,t,r)}s.version=r(4336),s.AlgoliaSearchHelper=n,s.SearchParameters=i,s.SearchResults=a,e.exports=s},8078:(e,t,r)=>{"use strict";var n=r(7331);function i(e,t){this.main=e,this.fn=t,this.lastResults=null}r(4853)(i,n),i.prototype.detach=function(){this.removeAllListeners(),this.main.detachDerivedHelper(this)},i.prototype.getModifiedState=function(e){return this.fn(e)},e.exports=i},2437:(e,t,r)=>{"use strict";var n=r(2344),i=r(9803),a=r(116),s={addRefinement:function(e,t,r){if(s.isRefined(e,t,r))return e;var i=""+r,a=e[t]?e[t].concat(i):[i],c={};return c[t]=a,n({},c,e)},removeRefinement:function(e,t,r){if(void 0===r)return s.clearRefinement(e,(function(e,r){return t===r}));var n=""+r;return s.clearRefinement(e,(function(e,r){return t===r&&n===e}))},toggleRefinement:function(e,t,r){if(void 0===r)throw new Error("toggleRefinement should be used with a value");return s.isRefined(e,t,r)?s.removeRefinement(e,t,r):s.addRefinement(e,t,r)},clearRefinement:function(e,t,r){if(void 0===t)return a(e)?{}:e;if("string"==typeof t)return i(e,[t]);if("function"==typeof t){var n=!1,s=Object.keys(e).reduce((function(i,a){var s=e[a]||[],c=s.filter((function(e){return!t(e,a,r)}));return c.length!==s.length&&(n=!0),i[a]=c,i}),{});return n?s:e}},isRefined:function(e,t,r){var n=!!e[t]&&e[t].length>0;if(void 0===r||!n)return n;var i=""+r;return-1!==e[t].indexOf(i)}};e.exports=s},7775:(e,t,r)=>{"use strict";var n=r(185),i=r(2344),a=r(2686),s=r(7888),c=r(8023),o=r(9803),u=r(116),f=r(6801),h=r(2437);function l(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((function(e,r){return l(t[r],e)})):e===t}function p(e){var t=e?p._parseNumbers(e):{};void 0===t.userToken||f(t.userToken)||console.warn("[algoliasearch-helper] The `userToken` parameter is invalid. This can lead to wrong analytics.\n - Format: [a-zA-Z0-9_-]{1,64}"),this.facets=t.facets||[],this.disjunctiveFacets=t.disjunctiveFacets||[],this.hierarchicalFacets=t.hierarchicalFacets||[],this.facetsRefinements=t.facetsRefinements||{},this.facetsExcludes=t.facetsExcludes||{},this.disjunctiveFacetsRefinements=t.disjunctiveFacetsRefinements||{},this.numericRefinements=t.numericRefinements||{},this.tagRefinements=t.tagRefinements||[],this.hierarchicalFacetsRefinements=t.hierarchicalFacetsRefinements||{};var r=this;Object.keys(t).forEach((function(e){var n=-1!==p.PARAMETERS.indexOf(e),i=void 0!==t[e];!n&&i&&(r[e]=t[e])}))}p.PARAMETERS=Object.keys(new p),p._parseNumbers=function(e){if(e instanceof p)return e;var t={};if(["aroundPrecision","aroundRadius","getRankingInfo","minWordSizefor2Typos","minWordSizefor1Typo","page","maxValuesPerFacet","distinct","minimumAroundRadius","hitsPerPage","minProximity"].forEach((function(r){var n=e[r];if("string"==typeof n){var i=parseFloat(n);t[r]=isNaN(i)?n:i}})),Array.isArray(e.insideBoundingBox)&&(t.insideBoundingBox=e.insideBoundingBox.map((function(e){return Array.isArray(e)?e.map((function(e){return parseFloat(e)})):e}))),e.numericRefinements){var r={};Object.keys(e.numericRefinements).forEach((function(t){var n=e.numericRefinements[t]||{};r[t]={},Object.keys(n).forEach((function(e){var i=n[e].map((function(e){return Array.isArray(e)?e.map((function(e){return"string"==typeof e?parseFloat(e):e})):"string"==typeof e?parseFloat(e):e}));r[t][e]=i}))})),t.numericRefinements=r}return n({},e,t)},p.make=function(e){var t=new p(e);return(e.hierarchicalFacets||[]).forEach((function(e){if(e.rootPath){var r=t.getHierarchicalRefinement(e.name);r.length>0&&0!==r[0].indexOf(e.rootPath)&&(t=t.clearRefinements(e.name)),0===(r=t.getHierarchicalRefinement(e.name)).length&&(t=t.toggleHierarchicalFacetRefinement(e.name,e.rootPath))}})),t},p.validate=function(e,t){var r=t||{};return e.tagFilters&&r.tagRefinements&&r.tagRefinements.length>0?new Error("[Tags] Cannot switch from the managed tag API to the advanced API. It is probably an error, if it is really what you want, you should first clear the tags with clearTags method."):e.tagRefinements.length>0&&r.tagFilters?new Error("[Tags] Cannot switch from the advanced tag API to the managed API. It is probably an error, if it is not, you should first clear the tags with clearTags method."):e.numericFilters&&r.numericRefinements&&u(r.numericRefinements)?new Error("[Numeric filters] Can't switch from the advanced to the managed API. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):u(e.numericRefinements)&&r.numericFilters?new Error("[Numeric filters] Can't switch from the managed API to the advanced. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):null},p.prototype={constructor:p,clearRefinements:function(e){var t={numericRefinements:this._clearNumericRefinements(e),facetsRefinements:h.clearRefinement(this.facetsRefinements,e,"conjunctiveFacet"),facetsExcludes:h.clearRefinement(this.facetsExcludes,e,"exclude"),disjunctiveFacetsRefinements:h.clearRefinement(this.disjunctiveFacetsRefinements,e,"disjunctiveFacet"),hierarchicalFacetsRefinements:h.clearRefinement(this.hierarchicalFacetsRefinements,e,"hierarchicalFacet")};return t.numericRefinements===this.numericRefinements&&t.facetsRefinements===this.facetsRefinements&&t.facetsExcludes===this.facetsExcludes&&t.disjunctiveFacetsRefinements===this.disjunctiveFacetsRefinements&&t.hierarchicalFacetsRefinements===this.hierarchicalFacetsRefinements?this:this.setQueryParameters(t)},clearTags:function(){return void 0===this.tagFilters&&0===this.tagRefinements.length?this:this.setQueryParameters({tagFilters:void 0,tagRefinements:[]})},setIndex:function(e){return e===this.index?this:this.setQueryParameters({index:e})},setQuery:function(e){return e===this.query?this:this.setQueryParameters({query:e})},setPage:function(e){return e===this.page?this:this.setQueryParameters({page:e})},setFacets:function(e){return this.setQueryParameters({facets:e})},setDisjunctiveFacets:function(e){return this.setQueryParameters({disjunctiveFacets:e})},setHitsPerPage:function(e){return this.hitsPerPage===e?this:this.setQueryParameters({hitsPerPage:e})},setTypoTolerance:function(e){return this.typoTolerance===e?this:this.setQueryParameters({typoTolerance:e})},addNumericRefinement:function(e,t,r){var i=c(r);if(this.isNumericRefined(e,t,i))return this;var a=n({},this.numericRefinements);return a[e]=n({},a[e]),a[e][t]?(a[e][t]=a[e][t].slice(),a[e][t].push(i)):a[e][t]=[i],this.setQueryParameters({numericRefinements:a})},getConjunctiveRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsRefinements[e]||[]},getDisjunctiveRefinements:function(e){return this.isDisjunctiveFacet(e)&&this.disjunctiveFacetsRefinements[e]||[]},getHierarchicalRefinement:function(e){return this.hierarchicalFacetsRefinements[e]||[]},getExcludeRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsExcludes[e]||[]},removeNumericRefinement:function(e,t,r){return void 0!==r?this.isNumericRefined(e,t,r)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements((function(n,i){return i===e&&n.op===t&&l(n.val,c(r))}))}):this:void 0!==t?this.isNumericRefined(e,t)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements((function(r,n){return n===e&&r.op===t}))}):this:this.isNumericRefined(e)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements((function(t,r){return r===e}))}):this},getNumericRefinements:function(e){return this.numericRefinements[e]||{}},getNumericRefinement:function(e,t){return this.numericRefinements[e]&&this.numericRefinements[e][t]},_clearNumericRefinements:function(e){if(void 0===e)return u(this.numericRefinements)?{}:this.numericRefinements;if("string"==typeof e)return o(this.numericRefinements,[e]);if("function"==typeof e){var t=!1,r=this.numericRefinements,n=Object.keys(r).reduce((function(n,i){var a=r[i],s={};return a=a||{},Object.keys(a).forEach((function(r){var n=a[r]||[],c=[];n.forEach((function(t){e({val:t,op:r},i,"numeric")||c.push(t)})),c.length!==n.length&&(t=!0),s[r]=c})),n[i]=s,n}),{});return t?n:this.numericRefinements}},addFacet:function(e){return this.isConjunctiveFacet(e)?this:this.setQueryParameters({facets:this.facets.concat([e])})},addDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this:this.setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.concat([e])})},addHierarchicalFacet:function(e){if(this.isHierarchicalFacet(e.name))throw new Error("Cannot declare two hierarchical facets with the same name: `"+e.name+"`");return this.setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.concat([e])})},addFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return h.isRefined(this.facetsRefinements,e,t)?this:this.setQueryParameters({facetsRefinements:h.addRefinement(this.facetsRefinements,e,t)})},addExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return h.isRefined(this.facetsExcludes,e,t)?this:this.setQueryParameters({facetsExcludes:h.addRefinement(this.facetsExcludes,e,t)})},addDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw new Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return h.isRefined(this.disjunctiveFacetsRefinements,e,t)?this:this.setQueryParameters({disjunctiveFacetsRefinements:h.addRefinement(this.disjunctiveFacetsRefinements,e,t)})},addTagRefinement:function(e){if(this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.concat(e)};return this.setQueryParameters(t)},removeFacet:function(e){return this.isConjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({facets:this.facets.filter((function(t){return t!==e}))}):this},removeDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.filter((function(t){return t!==e}))}):this},removeHierarchicalFacet:function(e){return this.isHierarchicalFacet(e)?this.clearRefinements(e).setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.filter((function(t){return t.name!==e}))}):this},removeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return h.isRefined(this.facetsRefinements,e,t)?this.setQueryParameters({facetsRefinements:h.removeRefinement(this.facetsRefinements,e,t)}):this},removeExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return h.isRefined(this.facetsExcludes,e,t)?this.setQueryParameters({facetsExcludes:h.removeRefinement(this.facetsExcludes,e,t)}):this},removeDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw new Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return h.isRefined(this.disjunctiveFacetsRefinements,e,t)?this.setQueryParameters({disjunctiveFacetsRefinements:h.removeRefinement(this.disjunctiveFacetsRefinements,e,t)}):this},removeTagRefinement:function(e){if(!this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.filter((function(t){return t!==e}))};return this.setQueryParameters(t)},toggleRefinement:function(e,t){return this.toggleFacetRefinement(e,t)},toggleFacetRefinement:function(e,t){if(this.isHierarchicalFacet(e))return this.toggleHierarchicalFacetRefinement(e,t);if(this.isConjunctiveFacet(e))return this.toggleConjunctiveFacetRefinement(e,t);if(this.isDisjunctiveFacet(e))return this.toggleDisjunctiveFacetRefinement(e,t);throw new Error("Cannot refine the undeclared facet "+e+"; it should be added to the helper options facets, disjunctiveFacets or hierarchicalFacets")},toggleConjunctiveFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsRefinements:h.toggleRefinement(this.facetsRefinements,e,t)})},toggleExcludeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw new Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsExcludes:h.toggleRefinement(this.facetsExcludes,e,t)})},toggleDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw new Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return this.setQueryParameters({disjunctiveFacetsRefinements:h.toggleRefinement(this.disjunctiveFacetsRefinements,e,t)})},toggleHierarchicalFacetRefinement:function(e,t){if(!this.isHierarchicalFacet(e))throw new Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration");var r=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e)),n={};return void 0!==this.hierarchicalFacetsRefinements[e]&&this.hierarchicalFacetsRefinements[e].length>0&&(this.hierarchicalFacetsRefinements[e][0]===t||0===this.hierarchicalFacetsRefinements[e][0].indexOf(t+r))?-1===t.indexOf(r)?n[e]=[]:n[e]=[t.slice(0,t.lastIndexOf(r))]:n[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:i({},n,this.hierarchicalFacetsRefinements)})},addHierarchicalFacetRefinement:function(e,t){if(this.isHierarchicalFacetRefined(e))throw new Error(e+" is already refined.");if(!this.isHierarchicalFacet(e))throw new Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration.");var r={};return r[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:i({},r,this.hierarchicalFacetsRefinements)})},removeHierarchicalFacetRefinement:function(e){if(!this.isHierarchicalFacetRefined(e))return this;var t={};return t[e]=[],this.setQueryParameters({hierarchicalFacetsRefinements:i({},t,this.hierarchicalFacetsRefinements)})},toggleTagRefinement:function(e){return this.isTagRefined(e)?this.removeTagRefinement(e):this.addTagRefinement(e)},isDisjunctiveFacet:function(e){return this.disjunctiveFacets.indexOf(e)>-1},isHierarchicalFacet:function(e){return void 0!==this.getHierarchicalFacetByName(e)},isConjunctiveFacet:function(e){return this.facets.indexOf(e)>-1},isFacetRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&h.isRefined(this.facetsRefinements,e,t)},isExcludeRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&h.isRefined(this.facetsExcludes,e,t)},isDisjunctiveFacetRefined:function(e,t){return!!this.isDisjunctiveFacet(e)&&h.isRefined(this.disjunctiveFacetsRefinements,e,t)},isHierarchicalFacetRefined:function(e,t){if(!this.isHierarchicalFacet(e))return!1;var r=this.getHierarchicalRefinement(e);return t?-1!==r.indexOf(t):r.length>0},isNumericRefined:function(e,t,r){if(void 0===r&&void 0===t)return!!this.numericRefinements[e];var n=this.numericRefinements[e]&&void 0!==this.numericRefinements[e][t];if(void 0===r||!n)return n;var i,a,o=c(r),u=void 0!==(i=this.numericRefinements[e][t],a=o,s(i,(function(e){return l(e,a)})));return n&&u},isTagRefined:function(e){return-1!==this.tagRefinements.indexOf(e)},getRefinedDisjunctiveFacets:function(){var e=this,t=a(Object.keys(this.numericRefinements).filter((function(t){return Object.keys(e.numericRefinements[t]).length>0})),this.disjunctiveFacets);return Object.keys(this.disjunctiveFacetsRefinements).filter((function(t){return e.disjunctiveFacetsRefinements[t].length>0})).concat(t).concat(this.getRefinedHierarchicalFacets())},getRefinedHierarchicalFacets:function(){var e=this;return a(this.hierarchicalFacets.map((function(e){return e.name})),Object.keys(this.hierarchicalFacetsRefinements).filter((function(t){return e.hierarchicalFacetsRefinements[t].length>0})))},getUnrefinedDisjunctiveFacets:function(){var e=this.getRefinedDisjunctiveFacets();return this.disjunctiveFacets.filter((function(t){return-1===e.indexOf(t)}))},managedParameters:["index","facets","disjunctiveFacets","facetsRefinements","hierarchicalFacets","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacetsRefinements"],getQueryParams:function(){var e=this.managedParameters,t={},r=this;return Object.keys(this).forEach((function(n){var i=r[n];-1===e.indexOf(n)&&void 0!==i&&(t[n]=i)})),t},setQueryParameter:function(e,t){if(this[e]===t)return this;var r={};return r[e]=t,this.setQueryParameters(r)},setQueryParameters:function(e){if(!e)return this;var t=p.validate(this,e);if(t)throw t;var r=this,n=p._parseNumbers(e),i=Object.keys(this).reduce((function(e,t){return e[t]=r[t],e}),{}),a=Object.keys(n).reduce((function(e,t){var r=void 0!==e[t],i=void 0!==n[t];return r&&!i?o(e,[t]):(i&&(e[t]=n[t]),e)}),i);return new this.constructor(a)},resetPage:function(){return void 0===this.page?this:this.setPage(0)},_getHierarchicalFacetSortBy:function(e){return e.sortBy||["isRefined:desc","name:asc"]},_getHierarchicalFacetSeparator:function(e){return e.separator||" > "},_getHierarchicalRootPath:function(e){return e.rootPath||null},_getHierarchicalShowParentLevel:function(e){return"boolean"!=typeof e.showParentLevel||e.showParentLevel},getHierarchicalFacetByName:function(e){return s(this.hierarchicalFacets,(function(t){return t.name===e}))},getHierarchicalFacetBreadcrumb:function(e){if(!this.isHierarchicalFacet(e))return[];var t=this.getHierarchicalRefinement(e)[0];if(!t)return[];var r=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e));return t.split(r).map((function(e){return e.trim()}))},toString:function(){return JSON.stringify(this,null,2)}},e.exports=p},210:(e,t,r)=>{"use strict";e.exports=function(e){return function(t,r){var s=e.hierarchicalFacets[r],u=e.hierarchicalFacetsRefinements[s.name]&&e.hierarchicalFacetsRefinements[s.name][0]||"",f=e._getHierarchicalFacetSeparator(s),h=e._getHierarchicalRootPath(s),l=e._getHierarchicalShowParentLevel(s),p=a(e._getHierarchicalFacetSortBy(s)),d=t.every((function(e){return e.exhaustive})),m=function(e,t,r,a,s){return function(u,f,h){var l=u;if(h>0){var p=0;for(l=u;p<h;){var d=l&&Array.isArray(l.data)?l.data:[];l=i(d,(function(e){return e.isRefined})),p++}}if(l){var m=Object.keys(f.data).map((function(e){return[e,f.data[e]]})).filter((function(e){return function(e,t,r,n,i,a){if(i&&(0!==e.indexOf(i)||i===e))return!1;return!i&&-1===e.indexOf(n)||i&&e.split(n).length-i.split(n).length==1||-1===e.indexOf(n)&&-1===r.indexOf(n)||0===r.indexOf(e)||0===e.indexOf(t+n)&&(a||0===e.indexOf(r))}(e[0],l.path||r,s,t,r,a)}));l.data=n(m.map((function(e){var r=e[0];return function(e,t,r,n,i){var a=t.split(r);return{name:a[a.length-1].trim(),path:t,escapedValue:c(t),count:e,isRefined:n===t||0===n.indexOf(t+r),exhaustive:i,data:null}}(e[1],r,t,o(s),f.exhaustive)})),e[0],e[1])}return u}}(p,f,h,l,u),g=t;return h&&(g=t.slice(h.split(f).length)),g.reduce(m,{name:e.hierarchicalFacets[r].name,count:null,isRefined:!0,path:null,escapedValue:null,exhaustive:d,data:null})}};var n=r(2148),i=r(7888),a=r(2293),s=r(4039),c=s.escapeFacetValue,o=s.unescapeFacetValue},3076:(e,t,r)=>{"use strict";var n=r(185),i=r(2344),a=r(2148),s=r(4587),c=r(7888),o=r(9725),u=r(2293),f=r(4039),h=f.escapeFacetValue,l=f.unescapeFacetValue,p=r(210);function d(e){var t={};return e.forEach((function(e,r){t[e]=r})),t}function m(e,t,r){t&&t[r]&&(e.stats=t[r])}function g(e,t,r){var a=t[0];this._rawResults=t;var u=this;Object.keys(a).forEach((function(e){u[e]=a[e]})),Object.keys(r||{}).forEach((function(e){u[e]=r[e]})),this.processingTimeMS=t.reduce((function(e,t){return void 0===t.processingTimeMS?e:e+t.processingTimeMS}),0),this.disjunctiveFacets=[],this.hierarchicalFacets=e.hierarchicalFacets.map((function(){return[]})),this.facets=[];var f=e.getRefinedDisjunctiveFacets(),h=d(e.facets),g=d(e.disjunctiveFacets),v=1,y=a.facets||{};Object.keys(y).forEach((function(t){var r,n,i=y[t],s=(r=e.hierarchicalFacets,n=t,c(r,(function(e){return(e.attributes||[]).indexOf(n)>-1})));if(s){var f=s.attributes.indexOf(t),l=o(e.hierarchicalFacets,(function(e){return e.name===s.name}));u.hierarchicalFacets[l][f]={attribute:t,data:i,exhaustive:a.exhaustiveFacetsCount}}else{var p,d=-1!==e.disjunctiveFacets.indexOf(t),v=-1!==e.facets.indexOf(t);d&&(p=g[t],u.disjunctiveFacets[p]={name:t,data:i,exhaustive:a.exhaustiveFacetsCount},m(u.disjunctiveFacets[p],a.facets_stats,t)),v&&(p=h[t],u.facets[p]={name:t,data:i,exhaustive:a.exhaustiveFacetsCount},m(u.facets[p],a.facets_stats,t))}})),this.hierarchicalFacets=s(this.hierarchicalFacets),f.forEach((function(r){var s=t[v],c=s&&s.facets?s.facets:{},f=e.getHierarchicalFacetByName(r);Object.keys(c).forEach((function(t){var r,h=c[t];if(f){r=o(e.hierarchicalFacets,(function(e){return e.name===f.name}));var p=o(u.hierarchicalFacets[r],(function(e){return e.attribute===t}));if(-1===p)return;u.hierarchicalFacets[r][p].data=n({},u.hierarchicalFacets[r][p].data,h)}else{r=g[t];var d=a.facets&&a.facets[t]||{};u.disjunctiveFacets[r]={name:t,data:i({},h,d),exhaustive:s.exhaustiveFacetsCount},m(u.disjunctiveFacets[r],s.facets_stats,t),e.disjunctiveFacetsRefinements[t]&&e.disjunctiveFacetsRefinements[t].forEach((function(n){!u.disjunctiveFacets[r].data[n]&&e.disjunctiveFacetsRefinements[t].indexOf(l(n))>-1&&(u.disjunctiveFacets[r].data[n]=0)}))}})),v++})),e.getRefinedHierarchicalFacets().forEach((function(r){var n=e.getHierarchicalFacetByName(r),a=e._getHierarchicalFacetSeparator(n),s=e.getHierarchicalRefinement(r);0===s.length||s[0].split(a).length<2||t.slice(v).forEach((function(t){var r=t&&t.facets?t.facets:{};Object.keys(r).forEach((function(t){var c=r[t],f=o(e.hierarchicalFacets,(function(e){return e.name===n.name})),h=o(u.hierarchicalFacets[f],(function(e){return e.attribute===t}));if(-1!==h){var l={};if(s.length>0){var p=s[0].split(a)[0];l[p]=u.hierarchicalFacets[f][h].data[p]}u.hierarchicalFacets[f][h].data=i(l,c,u.hierarchicalFacets[f][h].data)}})),v++}))})),Object.keys(e.facetsExcludes).forEach((function(t){var r=e.facetsExcludes[t],n=h[t];u.facets[n]={name:t,data:a.facets[t],exhaustive:a.exhaustiveFacetsCount},r.forEach((function(e){u.facets[n]=u.facets[n]||{name:t},u.facets[n].data=u.facets[n].data||{},u.facets[n].data[e]=0}))})),this.hierarchicalFacets=this.hierarchicalFacets.map(p(e)),this.facets=s(this.facets),this.disjunctiveFacets=s(this.disjunctiveFacets),this._state=e}function v(e,t,r,n){if(n=n||0,Array.isArray(t))return e(t,r[n]);if(!t.data||0===t.data.length)return t;var a=t.data.map((function(t){return v(e,t,r,n+1)})),s=e(a,r[n]);return i({data:s},t)}function y(e,t){var r=c(e,(function(e){return e.name===t}));return r&&r.stats}function b(e,t,r,n,i){var a=c(i,(function(e){return e.name===r})),s=a&&a.data&&a.data[n]?a.data[n]:0,o=a&&a.exhaustive||!1;return{type:t,attributeName:r,name:n,count:s,exhaustive:o}}g.prototype.getFacetByName=function(e){function t(t){return t.name===e}return c(this.facets,t)||c(this.disjunctiveFacets,t)||c(this.hierarchicalFacets,t)},g.DEFAULT_SORT=["isRefined:desc","count:desc","name:asc"],g.prototype.getFacetValues=function(e,t){var r=function(e,t){function r(e){return e.name===t}if(e._state.isConjunctiveFacet(t)){var n=c(e.facets,r);return n?Object.keys(n.data).map((function(r){var i=h(r);return{name:r,escapedValue:i,count:n.data[r],isRefined:e._state.isFacetRefined(t,i),isExcluded:e._state.isExcludeRefined(t,r)}})):[]}if(e._state.isDisjunctiveFacet(t)){var i=c(e.disjunctiveFacets,r);return i?Object.keys(i.data).map((function(r){var n=h(r);return{name:r,escapedValue:n,count:i.data[r],isRefined:e._state.isDisjunctiveFacetRefined(t,n)}})):[]}if(e._state.isHierarchicalFacet(t))return c(e.hierarchicalFacets,r)}(this,e);if(r){var n,s=i({},t,{sortBy:g.DEFAULT_SORT,facetOrdering:!(t&&t.sortBy)}),o=this;if(Array.isArray(r))n=[e];else n=o._state.getHierarchicalFacetByName(r.name).attributes;return v((function(e,t){if(s.facetOrdering){var r=function(e,t){return e.renderingContent&&e.renderingContent.facetOrdering&&e.renderingContent.facetOrdering.values&&e.renderingContent.facetOrdering.values[t]}(o,t);if(Boolean(r))return function(e,t){var r=[],n=[],i=(t.order||[]).reduce((function(e,t,r){return e[t]=r,e}),{});e.forEach((function(e){var t=e.path||e.name;void 0!==i[t]?r[i[t]]=e:n.push(e)})),r=r.filter((function(e){return e}));var s,c=t.sortRemainingBy;return"hidden"===c?r:(s="alpha"===c?[["path","name"],["asc","asc"]]:[["count"],["desc"]],r.concat(a(n,s[0],s[1])))}(e,r)}if(Array.isArray(s.sortBy)){var n=u(s.sortBy,g.DEFAULT_SORT);return a(e,n[0],n[1])}if("function"==typeof s.sortBy)return function(e,t){return t.sort(e)}(s.sortBy,e);throw new Error("options.sortBy is optional but if defined it must be either an array of string (predicates) or a sorting function")}),r,n)}},g.prototype.getFacetStats=function(e){return this._state.isConjunctiveFacet(e)?y(this.facets,e):this._state.isDisjunctiveFacet(e)?y(this.disjunctiveFacets,e):void 0},g.prototype.getRefinements=function(){var e=this._state,t=this,r=[];return Object.keys(e.facetsRefinements).forEach((function(n){e.facetsRefinements[n].forEach((function(i){r.push(b(e,"facet",n,i,t.facets))}))})),Object.keys(e.facetsExcludes).forEach((function(n){e.facetsExcludes[n].forEach((function(i){r.push(b(e,"exclude",n,i,t.facets))}))})),Object.keys(e.disjunctiveFacetsRefinements).forEach((function(n){e.disjunctiveFacetsRefinements[n].forEach((function(i){r.push(b(e,"disjunctive",n,i,t.disjunctiveFacets))}))})),Object.keys(e.hierarchicalFacetsRefinements).forEach((function(n){e.hierarchicalFacetsRefinements[n].forEach((function(i){r.push(function(e,t,r,n){var i=e.getHierarchicalFacetByName(t),a=e._getHierarchicalFacetSeparator(i),s=r.split(a),o=c(n,(function(e){return e.name===t})),u=s.reduce((function(e,t){var r=e&&c(e.data,(function(e){return e.name===t}));return void 0!==r?r:e}),o),f=u&&u.count||0,h=u&&u.exhaustive||!1,l=u&&u.path||"";return{type:"hierarchical",attributeName:t,name:l,count:f,exhaustive:h}}(e,n,i,t.hierarchicalFacets))}))})),Object.keys(e.numericRefinements).forEach((function(t){var n=e.numericRefinements[t];Object.keys(n).forEach((function(e){n[e].forEach((function(n){r.push({type:"numeric",attributeName:t,name:n,numericValue:n,operator:e})}))}))})),e.tagRefinements.forEach((function(e){r.push({type:"tag",attributeName:"_tags",name:e})})),r},e.exports=g},9374:(e,t,r)=>{"use strict";var n=r(7775),i=r(3076),a=r(8078),s=r(6394),c=r(7331),o=r(4853),u=r(116),f=r(9803),h=r(185),l=r(4336),p=r(4039).escapeFacetValue;function d(e,t,r){"function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+l+")"),this.setClient(e);var i=r||{};i.index=t,this.state=n.make(i),this.lastResults=null,this._queryId=0,this._lastQueryIdReceived=-1,this.derivedHelpers=[],this._currentNbQueries=0}function m(e){if(e<0)throw new Error("Page requested below 0.");return this._change({state:this.state.setPage(e),isPageReset:!1}),this}function g(){return this.state.page}o(d,c),d.prototype.search=function(){return this._search({onlyWithDerivedHelpers:!1}),this},d.prototype.searchOnlyWithDerivedHelpers=function(){return this._search({onlyWithDerivedHelpers:!0}),this},d.prototype.getQuery=function(){var e=this.state;return s._getHitsSearchParams(e)},d.prototype.searchOnce=function(e,t){var r=e?this.state.setQueryParameters(e):this.state,n=s._getQueries(r.index,r),a=this;if(this._currentNbQueries++,this.emit("searchOnce",{state:r}),!t)return this.client.search(n).then((function(e){return a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),{content:new i(r,e.results),state:r,_originalResponse:e}}),(function(e){throw a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),e}));this.client.search(n).then((function(e){a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),t(null,new i(r,e.results),r)})).catch((function(e){a._currentNbQueries--,0===a._currentNbQueries&&a.emit("searchQueueEmpty"),t(e,null,r)}))},d.prototype.findAnswers=function(e){var t=this.state,r=this.derivedHelpers[0];if(!r)return Promise.resolve([]);var n=r.getModifiedState(t),i=h({attributesForPrediction:e.attributesForPrediction,nbHits:e.nbHits},{params:f(s._getHitsSearchParams(n),["attributesToSnippet","hitsPerPage","restrictSearchableAttributes","snippetEllipsisText"])}),a="search for answers was called, but this client does not have a function client.initIndex(index).findAnswers";if("function"!=typeof this.client.initIndex)throw new Error(a);var c=this.client.initIndex(n.index);if("function"!=typeof c.findAnswers)throw new Error(a);return c.findAnswers(n.query,e.queryLanguages,i)},d.prototype.searchForFacetValues=function(e,t,r,n){var i="function"==typeof this.client.searchForFacetValues,a="function"==typeof this.client.initIndex;if(!i&&!a&&"function"!=typeof this.client.search)throw new Error("search for facet values (searchable) was called, but this client does not have a function client.searchForFacetValues or client.initIndex(index).searchForFacetValues");var c=this.state.setQueryParameters(n||{}),o=c.isDisjunctiveFacet(e),u=s.getSearchForFacetQuery(e,t,r,c);this._currentNbQueries++;var f,h=this;return i?f=this.client.searchForFacetValues([{indexName:c.index,params:u}]):a?f=this.client.initIndex(c.index).searchForFacetValues(u):(delete u.facetName,f=this.client.search([{type:"facet",facet:e,indexName:c.index,params:u}]).then((function(e){return e.results[0]}))),this.emit("searchForFacetValues",{state:c,facet:e,query:t}),f.then((function(t){return h._currentNbQueries--,0===h._currentNbQueries&&h.emit("searchQueueEmpty"),(t=Array.isArray(t)?t[0]:t).facetHits.forEach((function(t){t.escapedValue=p(t.value),t.isRefined=o?c.isDisjunctiveFacetRefined(e,t.escapedValue):c.isFacetRefined(e,t.escapedValue)})),t}),(function(e){throw h._currentNbQueries--,0===h._currentNbQueries&&h.emit("searchQueueEmpty"),e}))},d.prototype.setQuery=function(e){return this._change({state:this.state.resetPage().setQuery(e),isPageReset:!0}),this},d.prototype.clearRefinements=function(e){return this._change({state:this.state.resetPage().clearRefinements(e),isPageReset:!0}),this},d.prototype.clearTags=function(){return this._change({state:this.state.resetPage().clearTags(),isPageReset:!0}),this},d.prototype.addDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.addDisjunctiveRefine=function(){return this.addDisjunctiveFacetRefinement.apply(this,arguments)},d.prototype.addHierarchicalFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addHierarchicalFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.addNumericRefinement=function(e,t,r){return this._change({state:this.state.resetPage().addNumericRefinement(e,t,r),isPageReset:!0}),this},d.prototype.addFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.addRefine=function(){return this.addFacetRefinement.apply(this,arguments)},d.prototype.addFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().addExcludeRefinement(e,t),isPageReset:!0}),this},d.prototype.addExclude=function(){return this.addFacetExclusion.apply(this,arguments)},d.prototype.addTag=function(e){return this._change({state:this.state.resetPage().addTagRefinement(e),isPageReset:!0}),this},d.prototype.removeNumericRefinement=function(e,t,r){return this._change({state:this.state.resetPage().removeNumericRefinement(e,t,r),isPageReset:!0}),this},d.prototype.removeDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.removeDisjunctiveRefine=function(){return this.removeDisjunctiveFacetRefinement.apply(this,arguments)},d.prototype.removeHierarchicalFacetRefinement=function(e){return this._change({state:this.state.resetPage().removeHierarchicalFacetRefinement(e),isPageReset:!0}),this},d.prototype.removeFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.removeRefine=function(){return this.removeFacetRefinement.apply(this,arguments)},d.prototype.removeFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().removeExcludeRefinement(e,t),isPageReset:!0}),this},d.prototype.removeExclude=function(){return this.removeFacetExclusion.apply(this,arguments)},d.prototype.removeTag=function(e){return this._change({state:this.state.resetPage().removeTagRefinement(e),isPageReset:!0}),this},d.prototype.toggleFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().toggleExcludeFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.toggleExclude=function(){return this.toggleFacetExclusion.apply(this,arguments)},d.prototype.toggleRefinement=function(e,t){return this.toggleFacetRefinement(e,t)},d.prototype.toggleFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().toggleFacetRefinement(e,t),isPageReset:!0}),this},d.prototype.toggleRefine=function(){return this.toggleFacetRefinement.apply(this,arguments)},d.prototype.toggleTag=function(e){return this._change({state:this.state.resetPage().toggleTagRefinement(e),isPageReset:!0}),this},d.prototype.nextPage=function(){var e=this.state.page||0;return this.setPage(e+1)},d.prototype.previousPage=function(){var e=this.state.page||0;return this.setPage(e-1)},d.prototype.setCurrentPage=m,d.prototype.setPage=m,d.prototype.setIndex=function(e){return this._change({state:this.state.resetPage().setIndex(e),isPageReset:!0}),this},d.prototype.setQueryParameter=function(e,t){return this._change({state:this.state.resetPage().setQueryParameter(e,t),isPageReset:!0}),this},d.prototype.setState=function(e){return this._change({state:n.make(e),isPageReset:!1}),this},d.prototype.overrideStateWithoutTriggeringChangeEvent=function(e){return this.state=new n(e),this},d.prototype.hasRefinements=function(e){return!!u(this.state.getNumericRefinements(e))||(this.state.isConjunctiveFacet(e)?this.state.isFacetRefined(e):this.state.isDisjunctiveFacet(e)?this.state.isDisjunctiveFacetRefined(e):!!this.state.isHierarchicalFacet(e)&&this.state.isHierarchicalFacetRefined(e))},d.prototype.isExcluded=function(e,t){return this.state.isExcludeRefined(e,t)},d.prototype.isDisjunctiveRefined=function(e,t){return this.state.isDisjunctiveFacetRefined(e,t)},d.prototype.hasTag=function(e){return this.state.isTagRefined(e)},d.prototype.isTagRefined=function(){return this.hasTagRefinements.apply(this,arguments)},d.prototype.getIndex=function(){return this.state.index},d.prototype.getCurrentPage=g,d.prototype.getPage=g,d.prototype.getTags=function(){return this.state.tagRefinements},d.prototype.getRefinements=function(e){var t=[];if(this.state.isConjunctiveFacet(e))this.state.getConjunctiveRefinements(e).forEach((function(e){t.push({value:e,type:"conjunctive"})})),this.state.getExcludeRefinements(e).forEach((function(e){t.push({value:e,type:"exclude"})}));else if(this.state.isDisjunctiveFacet(e)){this.state.getDisjunctiveRefinements(e).forEach((function(e){t.push({value:e,type:"disjunctive"})}))}var r=this.state.getNumericRefinements(e);return Object.keys(r).forEach((function(e){var n=r[e];t.push({value:n,operator:e,type:"numeric"})})),t},d.prototype.getNumericRefinement=function(e,t){return this.state.getNumericRefinement(e,t)},d.prototype.getHierarchicalFacetBreadcrumb=function(e){return this.state.getHierarchicalFacetBreadcrumb(e)},d.prototype._search=function(e){var t=this.state,r=[],n=[];e.onlyWithDerivedHelpers||(n=s._getQueries(t.index,t),r.push({state:t,queriesCount:n.length,helper:this}),this.emit("search",{state:t,results:this.lastResults}));var i=this.derivedHelpers.map((function(e){var n=e.getModifiedState(t),i=s._getQueries(n.index,n);return r.push({state:n,queriesCount:i.length,helper:e}),e.emit("search",{state:n,results:e.lastResults}),i})),a=Array.prototype.concat.apply(n,i),c=this._queryId++;this._currentNbQueries++;try{this.client.search(a).then(this._dispatchAlgoliaResponse.bind(this,r,c)).catch(this._dispatchAlgoliaError.bind(this,c))}catch(e){this.emit("error",{error:e})}},d.prototype._dispatchAlgoliaResponse=function(e,t,r){if(!(t<this._lastQueryIdReceived)){this._currentNbQueries-=t-this._lastQueryIdReceived,this._lastQueryIdReceived=t,0===this._currentNbQueries&&this.emit("searchQueueEmpty");var n=r.results.slice();e.forEach((function(e){var t=e.state,r=e.queriesCount,a=e.helper,s=n.splice(0,r),c=a.lastResults=new i(t,s);a.emit("result",{results:c,state:t})}))}},d.prototype._dispatchAlgoliaError=function(e,t){e<this._lastQueryIdReceived||(this._currentNbQueries-=e-this._lastQueryIdReceived,this._lastQueryIdReceived=e,this.emit("error",{error:t}),0===this._currentNbQueries&&this.emit("searchQueueEmpty"))},d.prototype.containsRefinement=function(e,t,r,n){return e||0!==t.length||0!==r.length||0!==n.length},d.prototype._hasDisjunctiveRefinements=function(e){return this.state.disjunctiveRefinements[e]&&this.state.disjunctiveRefinements[e].length>0},d.prototype._change=function(e){var t=e.state,r=e.isPageReset;t!==this.state&&(this.state=t,this.emit("change",{state:this.state,results:this.lastResults,isPageReset:r}))},d.prototype.clearCache=function(){return this.client.clearCache&&this.client.clearCache(),this},d.prototype.setClient=function(e){return this.client===e||("function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+l+")"),this.client=e),this},d.prototype.getClient=function(){return this.client},d.prototype.derive=function(e){var t=new a(this,e);return this.derivedHelpers.push(t),t},d.prototype.detachDerivedHelper=function(e){var t=this.derivedHelpers.indexOf(e);if(-1===t)throw new Error("Derived helper already detached");this.derivedHelpers.splice(t,1)},d.prototype.hasPendingRequests=function(){return this._currentNbQueries>0},e.exports=d},4587:e=>{"use strict";e.exports=function(e){return Array.isArray(e)?e.filter(Boolean):[]}},2344:e=>{"use strict";e.exports=function(){var e=Array.prototype.slice.call(arguments);return e.reduceRight((function(e,t){return Object.keys(Object(t)).forEach((function(r){void 0!==t[r]&&(void 0!==e[r]&&delete e[r],e[r]=t[r])})),e}),{})}},4039:e=>{"use strict";e.exports={escapeFacetValue:function(e){return"string"!=typeof e?e:String(e).replace(/^-/,"\\-")},unescapeFacetValue:function(e){return"string"!=typeof e?e:e.replace(/^\\-/,"-")}}},7888:e=>{"use strict";e.exports=function(e,t){if(Array.isArray(e))for(var r=0;r<e.length;r++)if(t(e[r]))return e[r]}},9725:e=>{"use strict";e.exports=function(e,t){if(!Array.isArray(e))return-1;for(var r=0;r<e.length;r++)if(t(e[r]))return r;return-1}},2293:(e,t,r)=>{"use strict";var n=r(7888);e.exports=function(e,t){var r=(t||[]).map((function(e){return e.split(":")}));return e.reduce((function(e,t){var i=t.split(":"),a=n(r,(function(e){return e[0]===i[0]}));return i.length>1||!a?(e[0].push(i[0]),e[1].push(i[1]),e):(e[0].push(a[0]),e[1].push(a[1]),e)}),[[],[]])}},4853:e=>{"use strict";e.exports=function(e,t){e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}},2686:e=>{"use strict";e.exports=function(e,t){return e.filter((function(r,n){return t.indexOf(r)>-1&&e.indexOf(r)===n}))}},185:e=>{"use strict";function t(e){return"function"==typeof e||Array.isArray(e)||"[object Object]"===Object.prototype.toString.call(e)}function r(e,n){if(e===n)return e;for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)&&"__proto__"!==i){var a=n[i],s=e[i];void 0!==s&&void 0===a||(t(s)&&t(a)?e[i]=r(s,a):e[i]="object"==typeof(c=a)&&null!==c?r(Array.isArray(c)?[]:{},c):c)}var c;return e}e.exports=function(e){t(e)||(e={});for(var n=1,i=arguments.length;n<i;n++){var a=arguments[n];t(a)&&r(e,a)}return e}},116:e=>{"use strict";e.exports=function(e){return e&&Object.keys(e).length>0}},9803:e=>{"use strict";e.exports=function(e,t){if(null===e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}},2148:e=>{"use strict";function t(e,t){if(e!==t){var r=void 0!==e,n=null===e,i=void 0!==t,a=null===t;if(!a&&e>t||n&&i||!r)return 1;if(!n&&e<t||a&&r||!i)return-1}return 0}e.exports=function(e,r,n){if(!Array.isArray(e))return[];Array.isArray(n)||(n=[]);var i=e.map((function(e,t){return{criteria:r.map((function(t){return e[t]})),index:t,value:e}}));return i.sort((function(e,r){for(var i=-1;++i<e.criteria.length;){var a=t(e.criteria[i],r.criteria[i]);if(a)return i>=n.length?a:"desc"===n[i]?-a:a}return e.index-r.index})),i.map((function(e){return e.value}))}},8023:e=>{"use strict";e.exports=function e(t){if("number"==typeof t)return t;if("string"==typeof t)return parseFloat(t);if(Array.isArray(t))return t.map(e);throw new Error("The value should be a number, a parsable string or an array of those.")}},6394:(e,t,r)=>{"use strict";var n=r(185);function i(e){return Object.keys(e).sort((function(e,t){return e.localeCompare(t)})).reduce((function(t,r){return t[r]=e[r],t}),{})}var a={_getQueries:function(e,t){var r=[];return r.push({indexName:e,params:a._getHitsSearchParams(t)}),t.getRefinedDisjunctiveFacets().forEach((function(n){r.push({indexName:e,params:a._getDisjunctiveFacetSearchParams(t,n)})})),t.getRefinedHierarchicalFacets().forEach((function(n){var i=t.getHierarchicalFacetByName(n),s=t.getHierarchicalRefinement(n),c=t._getHierarchicalFacetSeparator(i);if(s.length>0&&s[0].split(c).length>1){var o=s[0].split(c).slice(0,-1).reduce((function(e,t,r){return e.concat({attribute:i.attributes[r],value:0===r?t:[e[e.length-1].value,t].join(c)})}),[]);o.forEach((function(n,s){var c=a._getDisjunctiveFacetSearchParams(t,n.attribute,0===s);function u(e){return i.attributes.some((function(t){return t===e.split(":")[0]}))}var f=(c.facetFilters||[]).reduce((function(e,t){if(Array.isArray(t)){var r=t.filter((function(e){return!u(e)}));r.length>0&&e.push(r)}return"string"!=typeof t||u(t)||e.push(t),e}),[]),h=o[s-1];c.facetFilters=s>0?f.concat(h.attribute+":"+h.value):f.length>0?f:void 0,r.push({indexName:e,params:c})}))}})),r},_getHitsSearchParams:function(e){var t=e.facets.concat(e.disjunctiveFacets).concat(a._getHitsHierarchicalFacetsAttributes(e)),r=a._getFacetFilters(e),s=a._getNumericFilters(e),c=a._getTagFilters(e),o={facets:t.indexOf("*")>-1?["*"]:t,tagFilters:c};return r.length>0&&(o.facetFilters=r),s.length>0&&(o.numericFilters=s),i(n({},e.getQueryParams(),o))},_getDisjunctiveFacetSearchParams:function(e,t,r){var s=a._getFacetFilters(e,t,r),c=a._getNumericFilters(e,t),o=a._getTagFilters(e),u={hitsPerPage:0,page:0,analytics:!1,clickAnalytics:!1};o.length>0&&(u.tagFilters=o);var f=e.getHierarchicalFacetByName(t);return u.facets=f?a._getDisjunctiveHierarchicalFacetAttribute(e,f,r):t,c.length>0&&(u.numericFilters=c),s.length>0&&(u.facetFilters=s),i(n({},e.getQueryParams(),u))},_getNumericFilters:function(e,t){if(e.numericFilters)return e.numericFilters;var r=[];return Object.keys(e.numericRefinements).forEach((function(n){var i=e.numericRefinements[n]||{};Object.keys(i).forEach((function(e){var a=i[e]||[];t!==n&&a.forEach((function(t){if(Array.isArray(t)){var i=t.map((function(t){return n+e+t}));r.push(i)}else r.push(n+e+t)}))}))})),r},_getTagFilters:function(e){return e.tagFilters?e.tagFilters:e.tagRefinements.join(",")},_getFacetFilters:function(e,t,r){var n=[],i=e.facetsRefinements||{};Object.keys(i).forEach((function(e){(i[e]||[]).forEach((function(t){n.push(e+":"+t)}))}));var a=e.facetsExcludes||{};Object.keys(a).forEach((function(e){(a[e]||[]).forEach((function(t){n.push(e+":-"+t)}))}));var s=e.disjunctiveFacetsRefinements||{};Object.keys(s).forEach((function(e){var r=s[e]||[];if(e!==t&&r&&0!==r.length){var i=[];r.forEach((function(t){i.push(e+":"+t)})),n.push(i)}}));var c=e.hierarchicalFacetsRefinements||{};return Object.keys(c).forEach((function(i){var a=(c[i]||[])[0];if(void 0!==a){var s,o,u=e.getHierarchicalFacetByName(i),f=e._getHierarchicalFacetSeparator(u),h=e._getHierarchicalRootPath(u);if(t===i){if(-1===a.indexOf(f)||!h&&!0===r||h&&h.split(f).length===a.split(f).length)return;h?(o=h.split(f).length-1,a=h):(o=a.split(f).length-2,a=a.slice(0,a.lastIndexOf(f))),s=u.attributes[o]}else o=a.split(f).length-1,s=u.attributes[o];s&&n.push([s+":"+a])}})),n},_getHitsHierarchicalFacetsAttributes:function(e){return e.hierarchicalFacets.reduce((function(t,r){var n=e.getHierarchicalRefinement(r.name)[0];if(!n)return t.push(r.attributes[0]),t;var i=e._getHierarchicalFacetSeparator(r),a=n.split(i).length,s=r.attributes.slice(0,a+1);return t.concat(s)}),[])},_getDisjunctiveHierarchicalFacetAttribute:function(e,t,r){var n=e._getHierarchicalFacetSeparator(t);if(!0===r){var i=e._getHierarchicalRootPath(t),a=0;return i&&(a=i.split(n).length),[t.attributes[a]]}var s=(e.getHierarchicalRefinement(t.name)[0]||"").split(n).length-1;return t.attributes.slice(0,s+1)},getSearchForFacetQuery:function(e,t,r,s){var c=s.isDisjunctiveFacet(e)?s.clearRefinements(e):s,o={facetQuery:t,facetName:e};return"number"==typeof r&&(o.maxFacetHits=r),i(n({},a._getHitsSearchParams(c),o))}};e.exports=a},6801:e=>{"use strict";e.exports=function(e){return null!==e&&/^[a-zA-Z0-9_-]{1,64}$/.test(e)}},4336:e=>{"use strict";e.exports="3.11.1"},290:function(e){
2
  /*! algoliasearch-lite.umd.js | 4.14.2 | © Algolia, inc. | https://github.com/algolia/algoliasearch-client-javascript */
3
  e.exports=function(){"use strict";function e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function t(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function r(r){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?t(Object(i),!0).forEach((function(t){e(r,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):t(Object(i)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(i,e))}))}return r}function n(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,i=!1,a=void 0;try{for(var s,c=e[Symbol.iterator]();!(n=(s=c.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(e){i=!0,a=e}finally{try{n||null==c.return||c.return()}finally{if(i)throw a}}return r}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function a(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function s(e){var t,r="algoliasearch-client-js-".concat(e.key),n=function(){return void 0===t&&(t=e.localStorage||window.localStorage),t},a=function(){return JSON.parse(n().getItem(r)||"{}")};return{get:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then((function(){var r=JSON.stringify(e),n=a()[r];return Promise.all([n||t(),void 0!==n])})).then((function(e){var t=i(e,2),n=t[0],a=t[1];return Promise.all([n,a||r.miss(n)])})).then((function(e){return i(e,1)[0]}))},set:function(e,t){return Promise.resolve().then((function(){var i=a();return i[JSON.stringify(e)]=t,n().setItem(r,JSON.stringify(i)),t}))},delete:function(e){return Promise.resolve().then((function(){var t=a();delete t[JSON.stringify(e)],n().setItem(r,JSON.stringify(t))}))},clear:function(){return Promise.resolve().then((function(){n().removeItem(r)}))}}}function c(e){var t=a(e.caches),r=t.shift();return void 0===r?{get:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return t().then((function(e){return Promise.all([e,r.miss(e)])})).then((function(e){return i(e,1)[0]}))},set:function(e,t){return Promise.resolve(t)},delete:function(e){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return r.get(e,n,i).catch((function(){return c({caches:t}).get(e,n,i)}))},set:function(e,n){return r.set(e,n).catch((function(){return c({caches:t}).set(e,n)}))},delete:function(e){return r.delete(e).catch((function(){return c({caches:t}).delete(e)}))},clear:function(){return r.clear().catch((function(){return c({caches:t}).clear()}))}}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{serializable:!0},t={};return{get:function(r,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}},a=JSON.stringify(r);if(a in t)return Promise.resolve(e.serializable?JSON.parse(t[a]):t[a]);var s=n(),c=i&&i.miss||function(){return Promise.resolve()};return s.then((function(e){return c(e)})).then((function(){return s}))},set:function(r,n){return t[JSON.stringify(r)]=e.serializable?JSON.stringify(n):n,Promise.resolve(n)},delete:function(e){return delete t[JSON.stringify(e)],Promise.resolve()},clear:function(){return t={},Promise.resolve()}}}function u(e){for(var t=e.length-1;t>0;t--){var r=Math.floor(Math.random()*(t+1)),n=e[t];e[t]=e[r],e[r]=n}return e}function f(e,t){return t?(Object.keys(t).forEach((function(r){e[r]=t[r](e)})),e):e}function h(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=0;return e.replace(/%s/g,(function(){return encodeURIComponent(r[i++])}))}var l={WithinQueryParameters:0,WithinHeaders:1};function p(e,t){var r=e||{},n=r.data||{};return Object.keys(r).forEach((function(e){-1===["timeout","headers","queryParameters","data","cacheable"].indexOf(e)&&(n[e]=r[e])})),{data:Object.entries(n).length>0?n:void 0,timeout:r.timeout||t,headers:r.headers||{},queryParameters:r.queryParameters||{},cacheable:r.cacheable}}var d={Read:1,Write:2,Any:3},m=1,g=2,v=3;function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m;return r(r({},e),{},{status:t,lastUpdate:Date.now()})}function b(e){return"string"==typeof e?{protocol:"https",url:e,accept:d.Any}:{protocol:e.protocol||"https",url:e.url,accept:e.accept||d.Any}}var R="GET",F="POST";function x(e,t){return Promise.all(t.map((function(t){return e.get(t,(function(){return Promise.resolve(y(t))}))}))).then((function(e){var r=e.filter((function(e){return function(e){return e.status===m||Date.now()-e.lastUpdate>12e4}(e)})),n=e.filter((function(e){return function(e){return e.status===v&&Date.now()-e.lastUpdate<=12e4}(e)})),i=[].concat(a(r),a(n));return{getTimeout:function(e,t){return(0===n.length&&0===e?1:n.length+3+e)*t},statelessHosts:i.length>0?i.map((function(e){return b(e)})):t}}))}function P(e,t,n,i){var s=[],c=function(e,t){if(e.method!==R&&(void 0!==e.data||void 0!==t.data)){var n=Array.isArray(e.data)?e.data:r(r({},e.data),t.data);return JSON.stringify(n)}}(n,i),o=function(e,t){var n=r(r({},e.headers),t.headers),i={};return Object.keys(n).forEach((function(e){var t=n[e];i[e.toLowerCase()]=t})),i}(e,i),u=n.method,f=n.method!==R?{}:r(r({},n.data),i.data),h=r(r(r({"x-algolia-agent":e.userAgent.value},e.queryParameters),f),i.queryParameters),l=0,p=function t(r,a){var f=r.pop();if(void 0===f)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.",transporterStackTrace:w(s)};var p={data:c,headers:o,method:u,url:j(f,n.path,h),connectTimeout:a(l,e.timeouts.connect),responseTimeout:a(l,i.timeout)},d=function(e){var t={request:p,response:e,host:f,triesLeft:r.length};return s.push(t),t},m={onSuccess:function(e){return function(e){try{return JSON.parse(e.content)}catch(t){throw function(e,t){return{name:"DeserializationError",message:e,response:t}}(t.message,e)}}(e)},onRetry:function(n){var i=d(n);return n.isTimedOut&&l++,Promise.all([e.logger.info("Retryable failure",E(i)),e.hostsCache.set(f,y(f,n.isTimedOut?v:g))]).then((function(){return t(r,a)}))},onFail:function(e){throw d(e),function(e,t){var r=e.content,n=e.status,i=r;try{i=JSON.parse(r).message}catch(e){}return function(e,t,r){return{name:"ApiError",message:e,status:t,transporterStackTrace:r}}(i,n,t)}(e,w(s))}};return e.requester.send(p).then((function(e){return function(e,t){return function(e){var t=e.status;return e.isTimedOut||function(e){var t=e.isTimedOut,r=e.status;return!t&&0==~~r}(e)||2!=~~(t/100)&&4!=~~(t/100)}(e)?t.onRetry(e):2==~~(e.status/100)?t.onSuccess(e):t.onFail(e)}(e,m)}))};return x(e.hostsCache,t).then((function(e){return p(a(e.statelessHosts).reverse(),e.getTimeout)}))}function O(e){var t={value:"Algolia for JavaScript (".concat(e,")"),add:function(e){var r="; ".concat(e.segment).concat(void 0!==e.version?" (".concat(e.version,")"):"");return-1===t.value.indexOf(r)&&(t.value="".concat(t.value).concat(r)),t}};return t}function j(e,t,r){var n=S(r),i="".concat(e.protocol,"://").concat(e.url,"/").concat("/"===t.charAt(0)?t.substr(1):t);return n.length&&(i+="?".concat(n)),i}function S(e){return Object.keys(e).map((function(t){return h("%s=%s",t,(r=e[t],"[object Object]"===Object.prototype.toString.call(r)||"[object Array]"===Object.prototype.toString.call(r)?JSON.stringify(e[t]):e[t]));var r})).join("&")}function w(e){return e.map((function(e){return E(e)}))}function E(e){var t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return r(r({},e),{},{request:r(r({},e.request),{},{headers:r(r({},e.request.headers),t)})})}var _=function(e){var t=e.appId,n=function(e,t,r){var n={"x-algolia-api-key":r,"x-algolia-application-id":t};return{headers:function(){return e===l.WithinHeaders?n:{}},queryParameters:function(){return e===l.WithinQueryParameters?n:{}}}}(void 0!==e.authMode?e.authMode:l.WithinHeaders,t,e.apiKey),a=function(e){var t=e.hostsCache,r=e.logger,n=e.requester,a=e.requestsCache,s=e.responsesCache,c=e.timeouts,o=e.userAgent,u=e.hosts,f=e.queryParameters,h={hostsCache:t,logger:r,requester:n,requestsCache:a,responsesCache:s,timeouts:c,userAgent:o,headers:e.headers,queryParameters:f,hosts:u.map((function(e){return b(e)})),read:function(e,t){var r=p(t,h.timeouts.read),n=function(){return P(h,h.hosts.filter((function(e){return 0!=(e.accept&d.Read)})),e,r)};if(!0!==(void 0!==r.cacheable?r.cacheable:e.cacheable))return n();var a={request:e,mappedRequestOptions:r,transporter:{queryParameters:h.queryParameters,headers:h.headers}};return h.responsesCache.get(a,(function(){return h.requestsCache.get(a,(function(){return h.requestsCache.set(a,n()).then((function(e){return Promise.all([h.requestsCache.delete(a),e])}),(function(e){return Promise.all([h.requestsCache.delete(a),Promise.reject(e)])})).then((function(e){var t=i(e,2);return t[0],t[1]}))}))}),{miss:function(e){return h.responsesCache.set(a,e)}})},write:function(e,t){return P(h,h.hosts.filter((function(e){return 0!=(e.accept&d.Write)})),e,p(t,h.timeouts.write))}};return h}(r(r({hosts:[{url:"".concat(t,"-dsn.algolia.net"),accept:d.Read},{url:"".concat(t,".algolia.net"),accept:d.Write}].concat(u([{url:"".concat(t,"-1.algolianet.com")},{url:"".concat(t,"-2.algolianet.com")},{url:"".concat(t,"-3.algolianet.com")}]))},e),{},{headers:r(r(r({},n.headers()),{"content-type":"application/x-www-form-urlencoded"}),e.headers),queryParameters:r(r({},n.queryParameters()),e.queryParameters)}));return f({transporter:a,appId:t,addAlgoliaAgent:function(e,t){a.userAgent.add({segment:e,version:t})},clearCache:function(){return Promise.all([a.requestsCache.clear(),a.responsesCache.clear()]).then((function(){}))}},e.methods)},C=function(e){return function(t,r){return t.method===R?e.transporter.read(t,r):e.transporter.write(t,r)}},A=function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f({transporter:e.transporter,appId:e.appId,indexName:t},r.methods)}},N=function(e){return function(t,n){var i=t.map((function(e){return r(r({},e),{},{params:S(e.params||{})})}));return e.transporter.read({method:F,path:"1/indexes/*/queries",data:{requests:i},cacheable:!0},n)}},Z=function(e){return function(t,i){return Promise.all(t.map((function(t){var a=t.params,s=a.facetName,c=a.facetQuery,o=n(a,["facetName","facetQuery"]);return A(e)(t.indexName,{methods:{searchForFacetValues:V}}).searchForFacetValues(s,c,r(r({},i),o))})))}},k=function(e){return function(t,r,n){return e.transporter.read({method:F,path:h("1/answers/%s/prediction",e.indexName),data:{query:t,queryLanguages:r},cacheable:!0},n)}},T=function(e){return function(t,r){return e.transporter.read({method:F,path:h("1/indexes/%s/query",e.indexName),data:{query:t},cacheable:!0},r)}},V=function(e){return function(t,r,n){return e.transporter.read({method:F,path:h("1/indexes/%s/facets/%s/query",e.indexName,t),data:{facetQuery:r},cacheable:!0},n)}},I=1,D=2,H=3;function Q(e,t,n){var i,a={appId:e,apiKey:t,timeouts:{connect:1,read:2,write:30},requester:{send:function(e){return new Promise((function(t){var r=new XMLHttpRequest;r.open(e.method,e.url,!0),Object.keys(e.headers).forEach((function(t){return r.setRequestHeader(t,e.headers[t])}));var n,i=function(e,n){return setTimeout((function(){r.abort(),t({status:0,content:n,isTimedOut:!0})}),1e3*e)},a=i(e.connectTimeout,"Connection timeout");r.onreadystatechange=function(){r.readyState>r.OPENED&&void 0===n&&(clearTimeout(a),n=i(e.responseTimeout,"Socket timeout"))},r.onerror=function(){0===r.status&&(clearTimeout(a),clearTimeout(n),t({content:r.responseText||"Network request failed",status:r.status,isTimedOut:!1}))},r.onload=function(){clearTimeout(a),clearTimeout(n),t({content:r.responseText,status:r.status,isTimedOut:!1})},r.send(e.data)}))}},logger:(i=H,{debug:function(e,t){return I>=i&&console.debug(e,t),Promise.resolve()},info:function(e,t){return D>=i&&console.info(e,t),Promise.resolve()},error:function(e,t){return console.error(e,t),Promise.resolve()}}),responsesCache:o(),requestsCache:o({serializable:!1}),hostsCache:c({caches:[s({key:"".concat("4.14.2","-").concat(e)}),o()]}),userAgent:O("4.14.2").add({segment:"Browser",version:"lite"}),authMode:l.WithinQueryParameters};return _(r(r(r({},a),n),{},{methods:{search:N,searchForFacetValues:Z,multipleQueries:N,multipleSearchForFacetValues:Z,customRequest:C,initIndex:function(e){return function(t){return A(e)(t,{methods:{search:T,searchForFacetValues:V,findAnswers:k}})}}}}))}return Q.version="4.14.2",Q}()},4184:(e,t)=>{var r;
4
  /*!
5
+ Copyright (c) 2018 Jed Watson.
6
+ Licensed under the MIT License (MIT), see
7
+ http://jedwatson.github.io/classnames
8
+ */!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)){if(r.length){var s=i.apply(null,r);s&&e.push(s)}}else if("object"===a){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},3671:(e,t,r)=>{var n=r(9662),i=r(7908),a=r(8361),s=r(6244),c=TypeError,o=function(e){return function(t,r,o,u){n(r);var f=i(t),h=a(f),l=s(f),p=e?l-1:0,d=e?-1:1;if(o<2)for(;;){if(p in h){u=h[p],p+=d;break}if(p+=d,e?p<0:l<=p)throw c("Reduce of empty array with no initial value")}for(;e?p>=0:l>p;p+=d)p in h&&(u=r(u,h[p],p,f));return u}};e.exports={left:o(!1),right:o(!0)}},5827:(e,t,r)=>{"use strict";var n=r(2109),i=r(3671).left,a=r(9341),s=r(7392),c=r(5268);n({target:"Array",proto:!0,forced:!a("reduce")||!c&&s>79&&s<83},{reduce:function(e){var t=arguments.length;return i(this,e,t,t>1?arguments[1]:void 0)}})},9590:e=>{var t="undefined"!=typeof Element,r="function"==typeof Map,n="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function a(e,s){if(e===s)return!0;if(e&&s&&"object"==typeof e&&"object"==typeof s){if(e.constructor!==s.constructor)return!1;var c,o,u,f;if(Array.isArray(e)){if((c=e.length)!=s.length)return!1;for(o=c;0!=o--;)if(!a(e[o],s[o]))return!1;return!0}if(r&&e instanceof Map&&s instanceof Map){if(e.size!==s.size)return!1;for(f=e.entries();!(o=f.next()).done;)if(!s.has(o.value[0]))return!1;for(f=e.entries();!(o=f.next()).done;)if(!a(o.value[1],s.get(o.value[0])))return!1;return!0}if(n&&e instanceof Set&&s instanceof Set){if(e.size!==s.size)return!1;for(f=e.entries();!(o=f.next()).done;)if(!s.has(o.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(s)){if((c=e.length)!=s.length)return!1;for(o=c;0!=o--;)if(e[o]!==s[o])return!1;return!0}if(e.constructor===RegExp)return e.source===s.source&&e.flags===s.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===s.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===s.toString();if((c=(u=Object.keys(e)).length)!==Object.keys(s).length)return!1;for(o=c;0!=o--;)if(!Object.prototype.hasOwnProperty.call(s,u[o]))return!1;if(t&&e instanceof Element)return!1;for(o=c;0!=o--;)if(("_owner"!==u[o]&&"__v"!==u[o]&&"__o"!==u[o]||!e.$$typeof)&&!a(e[u[o]],s[u[o]]))return!1;return!0}return e!=e&&s!=s}e.exports=function(e,t){try{return a(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},8810:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(1773),i=r(5009),a=r(4914);const s=(0,n.Z)({displayName:"AlgoliaHits",$$type:"ais.hits",getProvidedProps:function(e,t,r){var n=(0,i.O7)(r,{ais:e.contextValue,multiIndexContext:e.indexContextValue});if(!n)return{hits:[]};var s=(0,a.RC)(n.hits,n.hitsPerPage,n.page);return{hits:(0,a.Io)(s,n.queryID)}},getSearchParameters:function(e){return e}})},3866:(e,t,r)=>{"use strict";r.d(t,{BT:()=>a,tJ:()=>s,wX:()=>o});var n=r(7294),i=(0,n.createContext)({onInternalStateUpdate:function(){},createHrefForState:function(){return"#"},onSearchForFacetValues:function(){},onSearchStateChange:function(){},onSearchParameters:function(){},store:{},widgetsManager:{},mainTargetedIndex:""}),a=i.Consumer,s=i.Provider,c=(0,n.createContext)(void 0),o=c.Consumer;c.Provider},1773:(e,t,r)=>{"use strict";r.d(t,{Z:()=>F});var n=r(7462),i=r(5987),a=r(5671),s=r(3144),c=r(7326),o=r(136),u=r(2963),f=r(1120),h=r(4942),l=r(7294),p=r(9590),d=r.n(p),m=r(4914),g=r(3866),v=["contextValue"];function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach((function(t){(0,h.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function R(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=(0,f.Z)(e);if(t){var i=(0,f.Z)(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return(0,u.Z)(this,r)}}const F=function(e){return function(t,r){var u=function(e){if(!e.displayName)throw new Error("`createConnector` requires you to provide a `displayName` property.");var t="function"==typeof e.getSearchParameters||"function"==typeof e.getMetadata||"function"==typeof e.transitionState;return function(r){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},f=function(u){(0,o.Z)(p,u);var f=R(p);function p(t){var r;return(0,a.Z)(this,p),r=f.call(this,t),(0,h.Z)((0,c.Z)(r),"unsubscribe",void 0),(0,h.Z)((0,c.Z)(r),"unregisterWidget",void 0),(0,h.Z)((0,c.Z)(r),"isUnmounting",!1),(0,h.Z)((0,c.Z)(r),"state",{providedProps:r.getProvidedProps(r.props)}),(0,h.Z)((0,c.Z)(r),"refine",(function(){for(var t,n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];r.props.contextValue.onInternalStateUpdate((t=e.refine).call.apply(t,[(0,c.Z)(r),r.props,r.props.contextValue.store.getState().widgets].concat(i)))})),(0,h.Z)((0,c.Z)(r),"createURL",(function(){for(var t,n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return r.props.contextValue.createHrefForState((t=e.refine).call.apply(t,[(0,c.Z)(r),r.props,r.props.contextValue.store.getState().widgets].concat(i)))})),(0,h.Z)((0,c.Z)(r),"searchForFacetValues",(function(){for(var t,n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];r.props.contextValue.onSearchForFacetValues((t=e.searchForFacetValues).call.apply(t,[(0,c.Z)(r),r.props,r.props.contextValue.store.getState().widgets].concat(i)))})),e.getSearchParameters&&r.props.contextValue.onSearchParameters(e.getSearchParameters.bind((0,c.Z)(r)),{ais:r.props.contextValue,multiIndexContext:r.props.indexContextValue},r.props,e.getMetadata&&e.getMetadata.bind((0,c.Z)(r)),e.displayName),r}return(0,s.Z)(p,[{key:"componentDidMount",value:function(){var e=this;this.unsubscribe=this.props.contextValue.store.subscribe((function(){e.isUnmounting||e.setState({providedProps:e.getProvidedProps(e.props)})})),t&&(this.unregisterWidget=this.props.contextValue.widgetsManager.registerWidget(this))}},{key:"shouldComponentUpdate",value:function(t,r){if("function"==typeof e.shouldComponentUpdate)return e.shouldComponentUpdate.call(this,this.props,t,this.state,r);var n=(0,m.wU)(this.props,t);return null===this.state.providedProps||null===r.providedProps?this.state.providedProps!==r.providedProps||!n:!n||!(0,m.wU)(this.state.providedProps,r.providedProps)}},{key:"componentDidUpdate",value:function(r){d()(r,this.props)||(this.setState({providedProps:this.getProvidedProps(this.props)}),t&&(this.props.contextValue.widgetsManager.update(),"function"==typeof e.transitionState&&this.props.contextValue.onSearchStateChange(e.transitionState.call(this,this.props,this.props.contextValue.store.getState().widgets,this.props.contextValue.store.getState().widgets))))}},{key:"componentWillUnmount",value:function(){if(this.isUnmounting=!0,this.unsubscribe&&this.unsubscribe(),this.unregisterWidget&&(this.unregisterWidget(),"function"==typeof e.cleanUp)){var t=e.cleanUp.call(this,this.props,this.props.contextValue.store.getState().widgets);this.props.contextValue.store.setState(b(b({},this.props.contextValue.store.getState()),{},{widgets:t})),this.props.contextValue.onSearchStateChange((0,m.YC)(t))}}},{key:"getProvidedProps",value:function(t){var r=this.props.contextValue.store.getState(),n=r.widgets,i=r.results,a=r.resultsFacetValues,s=r.searching,c=r.searchingForFacetValues,o=r.isSearchStalled,u=r.metadata,f={results:i,searching:s,searchingForFacetValues:c,isSearchStalled:o,error:r.error};return e.getProvidedProps.call(this,t,n,f,u,a)}},{key:"getSearchParameters",value:function(t){return"function"==typeof e.getSearchParameters?e.getSearchParameters.call(this,t,this.props,this.props.contextValue.store.getState().widgets):null}},{key:"getMetadata",value:function(t){return"function"==typeof e.getMetadata?e.getMetadata.call(this,this.props,t):{}}},{key:"transitionState",value:function(t,r){return"function"==typeof e.transitionState?e.transitionState.call(this,this.props,t,r):r}},{key:"render",value:function(){var t=this.props,a=(t.contextValue,(0,i.Z)(t,v)),s=this.state.providedProps;if(null===s)return null;var c="function"==typeof e.refine?{refine:this.refine,createURL:this.createURL}:{},o="function"==typeof e.searchForFacetValues?{searchForItems:this.searchForFacetValues}:{};return l.createElement(r,(0,n.Z)({},a,s,c,o))}}]),p}(l.Component);return(0,h.Z)(f,"displayName","".concat(e.displayName,"(").concat((0,m.Gf)(r),")")),(0,h.Z)(f,"$$type",e.$$type),(0,h.Z)(f,"$$widgetType",u.$$widgetType),(0,h.Z)(f,"propTypes",e.propTypes),(0,h.Z)(f,"defaultProps",e.defaultProps),(0,h.Z)(f,"_connectorDesc",e),f}}(e)(t,r);return function(e){return l.createElement(g.BT,null,(function(t){return l.createElement(g.wX,null,(function(r){return l.createElement(u,(0,n.Z)({contextValue:t,indexContextValue:r},e))}))}))}}}},5009:(e,t,r)=>{"use strict";r.d(t,{Ei:()=>u,O7:()=>o,RD:()=>f,U6:()=>l,WN:()=>c,cI:()=>p});var n=r(4942),i=r(4914);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e){return u(e)?e.multiIndexContext.targetedIndex:e.ais.mainTargetedIndex}function o(e,t){if(e.results){if(e.results.hits)return e.results;var r=c(t);if(e.results[r])return e.results[r]}return null}function u(e){return e&&e.multiIndexContext}function f(e,t,r,i,a){if(u(r)){var o=c(r);return a?function(e,t,r,i,a){var c,o=i?{page:1}:void 0,u=e.indices&&e.indices[r]?s(s({},e.indices),{},(0,n.Z)({},r,s(s({},e.indices[r]),{},(c={},(0,n.Z)(c,a,s(s({},e.indices[r][a]),t)),(0,n.Z)(c,"page",1),c)))):s(s({},e.indices),{},(0,n.Z)({},r,s((0,n.Z)({},a,t),o)));return s(s({},e),{},{indices:u})}(e,t,o,i,a):function(e,t,r,i){var a=i?{page:1}:void 0,c=e.indices&&e.indices[r]?s(s({},e.indices),{},(0,n.Z)({},r,s(s(s({},e.indices[r]),t),a))):s(s({},e.indices),{},(0,n.Z)({},r,s(s({},t),a)));return s(s({},e),{},{indices:c})}(e,t,o,i)}return e.indices&&i&&Object.keys(e.indices).forEach((function(t){e=f(e,{page:1},{multiIndexContext:{targetedIndex:t}},!0,a)})),a?function(e,t,r,i){var a=r?{page:1}:void 0;return s(s({},e),{},(0,n.Z)({},i,s(s({},e[i]),t)),a)}(e,t,i,a):function(e,t,r){var n=r?{page:1}:void 0;return s(s(s({},e),t),n)}(e,t,i)}function h(e){var t=e.match(/^([^.]*)\.(.*)/);return{namespace:t&&t[1],attributeName:t&&t[2]}}function l(e,t,r,n,i){var a=c(r),s=h(n),o=s.namespace,f=s.attributeName,l={multiIndex:u(r),indexId:a,namespace:o,attributeName:f,id:n,searchState:t},p=function(e){var t=e.multiIndex,r=e.indexId,n=e.namespace,i=e.attributeName,a=e.id,s=e.searchState;return t&&n?s.indices&&s.indices[r]&&s.indices[r][n]&&Object.hasOwnProperty.call(s.indices[r][n],i):t?s.indices&&s.indices[r]&&Object.hasOwnProperty.call(s.indices[r],a):n?s[n]&&Object.hasOwnProperty.call(s[n],i):Object.hasOwnProperty.call(s,a)}(l);return p?function(e){var t=e.multiIndex,r=e.indexId,n=e.namespace,i=e.attributeName,a=e.id,s=e.searchState;return t&&n?s.indices[r][n][i]:t?s.indices[r][a]:n?s[n][i]:s[a]}(l):e.defaultRefinement?e.defaultRefinement:i}function p(e,t,r){var a=c(t),o=h(r),f=o.namespace,l=o.attributeName;return u(t)&&Boolean(e.indices)?function(e){var t=e.searchState,r=e.indexId,a=e.id,c=e.namespace,o=e.attribute,u=t.indices[r];if(c&&u)return s(s({},t),{},{indices:s(s({},t.indices),{},(0,n.Z)({},r,s(s({},u),{},(0,n.Z)({},c,(0,i.CE)(u[c],[o])))))});if(u)return s(s({},t),{},{indices:s(s({},t.indices),{},(0,n.Z)({},r,(0,i.CE)(u,[a])))});return t}({attribute:l,searchState:e,indexId:a,id:r,namespace:f}):function(e){var t=e.searchState,r=e.id,a=e.namespace,c=e.attribute;if(a)return s(s({},t),{},(0,n.Z)({},a,(0,i.CE)(t[a],[c])));return(0,i.CE)(t,[r])}({attribute:l,searchState:e,id:r,namespace:f})}},4914:(e,t,r)=>{"use strict";r.d(t,{CE:()=>d,Gf:()=>o,Io:()=>p,PQ:()=>f,RC:()=>l,YC:()=>h,wU:()=>c});var n=r(4942),i=r(1002);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var c=function(e,t){if(e===t)return!0;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var i=Object.prototype.hasOwnProperty,a=0;a<r.length;a++)if(!i.call(t,r[a])||e[r[a]]!==t[r[a]])return!1;return!0},o=function(e){return e.displayName||e.name||"UnknownComponent"},u=Promise.resolve(),f=function(e){u.then(e)},h=function e(t){return Object.keys(t).forEach((function(r){var n,a=t[r];(function(e){return"object"===(0,i.Z)(e)&&null!==e&&!Array.isArray(e)})(a)&&((n=a)&&Object.keys(n).length>0?e(a):delete t[r])})),t};function l(e,t,r){return e.map((function(e,n){return s(s({},e),{},{__position:t*r+n+1})}))}function p(e,t){return t?e.map((function(e){return s(s({},e),{},{__queryID:t})})):e}function d(e,t){if(null==e)return{};for(var r={},n=Object.keys(e),i=0;i<n.length;i++){var a=n[i];t.indexOf(a)>=0||(r[a]=e[a])}return r}},2002:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var n=r(4942),i=r(5987),a=r(4914),s=r(1773),c=r(5009),o=["children","contextValue","indexContextValue"],u=["children","contextValue","indexContextValue"];function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const l=(0,s.Z)({displayName:"AlgoliaConfigure",$$type:"ais.configure",getProvidedProps:function(){return{}},getSearchParameters:function(e,t){t.children,t.contextValue,t.indexContextValue;var r=(0,i.Z)(t,o);return e.setQueryParameters(r)},transitionState:function(e,t,r){var s="configure",o=(e.children,e.contextValue,e.indexContextValue,(0,i.Z)(e,u)),f=Object.keys(e),l=this._props?Object.keys(this._props).filter((function(e){return-1===f.indexOf(e)})):[];this._props=e;var p=(0,n.Z)({},s,h(h({},(0,a.CE)(r[s],l)),o));return(0,c.RD)(r,p,{ais:e.contextValue,multiIndexContext:e.indexContextValue})},cleanUp:function(e,t){var r="configure",i=(0,c.WN)({ais:e.contextValue,multiIndexContext:e.indexContextValue}),a=(0,c.Ei)({ais:e.contextValue,multiIndexContext:e.indexContextValue})&&t.indices?t.indices[i]:t,s=(a&&a[r]?Object.keys(a[r]):[]).reduce((function(t,n){return e[n]||(t[n]=a[r][n]),t}),{}),o=(0,n.Z)({},r,s);return(0,c.RD)(t,o,{ais:e.contextValue,multiIndexContext:e.indexContextValue})}})((function(){return null}),{$$widgetType:"ais.configure"})},516:(e,t,r)=>{"use strict";r.d(t,{Z:()=>L});var n=r(5671),i=r(3144),a=r(7326),s=r(136),c=r(2963),o=r(1120),u=r(4942),f=r(7294),h=r(9590),l=r.n(h),p=r(5697),d=r.n(p),m=r(5987),g=r(8131),v=r.n(g),y=r(4914);var b={highlightPreTag:"<ais-highlight-0000000000>",highlightPostTag:"</ais-highlight-0000000000>"};var R=r(5009);var F=["resultsFacetValues"],x=["resultsFacetValues"],P=["resultsFacetValues"];function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?O(Object(r),!0).forEach((function(t){(0,u.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function S(e){"function"==typeof e.addAlgoliaAgent&&(e.addAlgoliaAgent("react (".concat(f.version,")")),e.addAlgoliaAgent("react-instantsearch (".concat("6.36.0",")")))}var w=function(e){return(0,R.Ei)({ais:e.props.contextValue,multiIndexContext:e.props.indexContextValue})},E=function(e,t){return e.props.indexContextValue.targetedIndex===t},_=function(e){return Boolean(e.props.indexId)},C=function(e,t){return e.props.indexId===t},A=function(e,t){var r=_(e),n=_(t);return r&&!n?-1:!r&&n?1:0};function N(e){return Object.keys(e).map((function(t){return function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=0;return e.replace(/%s/g,(function(){return encodeURIComponent(r[i++])}))}("%s=%s",t,(r=e[t],"[object Object]"===Object.prototype.toString.call(r)||"[object Array]"===Object.prototype.toString.call(r)?JSON.stringify(e[t]):e[t]));var r})).join("&")}function Z(e){var t=e.indexName,r=e.initialState,n=void 0===r?{}:r,i=e.searchClient,a=e.resultsState,s=e.stalledSearchDelay,c=v()(i,t,j({},b));S(i),c.on("search",(function(){h||(h=setTimeout((function(){var e=d.getState(),t=(e.resultsFacetValues,(0,m.Z)(e,P));d.setState(j(j({},t),{},{isSearchStalled:!0}))}),s))})).on("result",Z({indexId:t})).on("error",T);var o,f=!1,h=null,l=c.state,p=function(e){var t=[],r=!1;function n(){r||(r=!0,(0,y.PQ)((function(){r=!1,e()})))}return{registerWidget:function(e){return t.push(e),n(),function(){t.splice(t.indexOf(e),1),n()}},update:n,getWidgets:function(){return t}}}((function(){var e=g(d.getState().widgets);d.setState(j(j({},d.getState()),{},{metadata:e,searching:!0})),O()}));!function(e,t){if(!t)return;if((!e.transporter||e._cacheHydrated)&&(!e._useCache||"function"!=typeof e.addAlgoliaAgent))return;if(e.transporter&&!e._cacheHydrated){e._cacheHydrated=!0;var r=e.search;e.search=function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];var s=t.map((function(e){return j(j({},e),{},{params:N(e.params)})}));return e.transporter.responsesCache.get({method:"search",args:[s].concat(i)},(function(){return r.apply(void 0,[t].concat(i))}))}}if(Array.isArray(t.results))return void function(e,t){if(e.transporter)return void e.transporter.responsesCache.set({method:"search",args:[t.reduce((function(e,t){return e.concat(t.rawResults.map((function(e){return{indexName:e.index,params:e.params}})))}),[])]},{results:t.reduce((function(e,t){return e.concat(t.rawResults)}),[])});var r="/1/indexes/*/queries_body_".concat(JSON.stringify({requests:t.reduce((function(e,t){return e.concat(t.rawResults.map((function(e){return{indexName:e.index,params:e.params}})))}),[])}));e.cache=j(j({},e.cache),{},(0,u.Z)({},r,JSON.stringify({results:t.reduce((function(e,t){return e.concat(t.rawResults)}),[])})))}(e,t.results);!function(e,t){if(e.transporter)return void e.transporter.responsesCache.set({method:"search",args:[t.rawResults.map((function(e){return{indexName:e.index,params:e.params}}))]},{results:t.rawResults});var r="/1/indexes/*/queries_body_".concat(JSON.stringify({requests:t.rawResults.map((function(e){return{indexName:e.index,params:e.params}}))}));e.cache=j(j({},e.cache),{},(0,u.Z)({},r,JSON.stringify({results:t.rawResults})))}(e,t)}(i,a);var d=function(e){var t=e,r=[];return{getState:function(){return t},setState:function(e){t=e,r.forEach((function(e){return e()}))},subscribe:function(e){return r.push(e),function(){r.splice(r.indexOf(e),1)}}}}({widgets:n,metadata:k(a),results:function(e){if(!e)return null;if(Array.isArray(e.results))return e.results.reduce((function(e,t){return j(j({},e),{},(0,u.Z)({},t._internalIndexId,new(v().SearchResults)(new(v().SearchParameters)(t.state),t.rawResults)))}),{});return new(v().SearchResults)(new(v().SearchParameters)(e.state),e.rawResults)}(a),error:null,searching:!1,isSearchStalled:!0,searchingForFacetValues:!1});function g(e){return p.getWidgets().filter((function(e){return Boolean(e.getMetadata)})).map((function(t){return t.getMetadata(e)}))}function R(){var e=p.getWidgets().filter((function(e){return Boolean(e.getSearchParameters)})).filter((function(e){return!w(e)&&!_(e)})).reduce((function(e,t){return t.getSearchParameters(e)}),l),r=p.getWidgets().filter((function(e){return Boolean(e.getSearchParameters)})).filter((function(e){var r=w(e)&&E(e,t),n=_(e)&&C(e,t);return r||n})).sort(A).reduce((function(e,t){return t.getSearchParameters(e)}),e),n=p.getWidgets().filter((function(e){return Boolean(e.getSearchParameters)})).filter((function(e){var r=w(e)&&!E(e,t),n=_(e)&&!C(e,t);return r||n})).sort(A).reduce((function(e,t){var r=w(t)?t.props.indexContextValue.targetedIndex:t.props.indexId,n=e[r]||[];return j(j({},e),{},(0,u.Z)({},r,n.concat(t)))}),{});return{mainParameters:r,derivedParameters:Object.keys(n).map((function(t){return{parameters:n[t].reduce((function(e,t){return t.getSearchParameters(e)}),e),indexId:t}}))}}function O(){if(!f){var e=R(c.state),t=e.mainParameters,r=e.derivedParameters;o=r.length+1,c.derivedHelpers.slice().forEach((function(e){e.detach()})),r.forEach((function(e){var t=e.indexId,r=e.parameters;c.derive((function(){return r})).on("result",Z({indexId:t})).on("error",T)})),c.setState(t),c.search()}}function Z(e){var t=e.indexId;return function(e){o--;var r=d.getState(),n=!c.derivedHelpers.length,i=r.results?r.results:{};i=!n&&i.getFacetByName?{}:i,i=n?e.results:j(j({},i),{},(0,u.Z)({},t,e.results));var a=d.getState(),s=a.isSearchStalled;c.hasPendingRequests()||(clearTimeout(h),h=null,s=!1);a.resultsFacetValues;var f=(0,m.Z)(a,F);d.setState(j(j({},f),{},{results:i,isSearchStalled:s,searching:o>0,error:null}))}}function T(e){var t=e.error,r=d.getState(),n=r.isSearchStalled;c.hasPendingRequests()||(clearTimeout(h),n=!1);r.resultsFacetValues;var i=(0,m.Z)(r,x);d.setState(j(j({},i),{},{isSearchStalled:n,error:t,searching:!1}))}return{store:d,widgetsManager:p,getWidgetsIds:function(){return d.getState().metadata.reduce((function(e,t){return void 0!==t.id?e.concat(t.id):e}),[])},getSearchParameters:R,onSearchForFacetValues:function(e){var t=e.facetName,r=e.query,n=e.maxFacetHits,i=void 0===n?10:n,a=Math.max(1,Math.min(i,100));d.setState(j(j({},d.getState()),{},{searchingForFacetValues:!0})),c.searchForFacetValues(t,r,a).then((function(e){var n;d.setState(j(j({},d.getState()),{},{error:null,searchingForFacetValues:!1,resultsFacetValues:j(j({},d.getState().resultsFacetValues),{},(n={},(0,u.Z)(n,t,e.facetHits),(0,u.Z)(n,"query",r),n))}))}),(function(e){d.setState(j(j({},d.getState()),{},{searchingForFacetValues:!1,error:e}))})).catch((function(e){setTimeout((function(){throw e}))}))},onExternalStateUpdate:function(e){var t=g(e);d.setState(j(j({},d.getState()),{},{widgets:e,metadata:t,searching:!0})),O()},transitionState:function(e){var t=d.getState().widgets;return p.getWidgets().filter((function(e){return Boolean(e.transitionState)})).reduce((function(e,r){return r.transitionState(t,e)}),e)},updateClient:function(e){S(e),c.setClient(e),O()},updateIndex:function(e){l=l.setIndex(e)},clearCache:function(){c.clearCache(),O()},skipSearch:function(){f=!0}}}function k(e){return e?e.metadata.map((function(e){return j(j({value:function(){return{}}},e),{},{items:e.items&&e.items.map((function(e){return j(j({value:function(){return{}}},e),{},{items:e.items&&e.items.map((function(e){return j({value:function(){return{}}},e)}))})}))})})):[]}var T=r(3866),V=r(1002);function I(e,t){var r=document.createElement("meta"),n=document.querySelector("head");r.name="algolia:metadata";var i=function(e,t){var r=["contextValue","indexContextValue"],n=e.map((function(e){var t=e.props,n=e.constructor,i=n._connectorDesc||{},a=i.defaultProps,s=void 0===a?{}:a,c=i.displayName;return{displayName:void 0===c?n.displayName:c,$$type:n.$$type,$$widgetType:n.$$widgetType,params:Object.keys(t).filter((function(e){return!r.includes(e)&&s[e]!==t[e]&&void 0!==t[e]}))}})),i=t;return{ua:i.transporter&&i.transporter.userAgent?i.transporter.userAgent.value:i._ua,widgets:n}}(e,t);r.content=JSON.stringify(i),n.appendChild(r)}function D(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function H(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?D(Object(r),!0).forEach((function(t){(0,u.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Q(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=(0,o.Z)(e);if(t){var i=(0,o.Z)(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return(0,c.Z)(this,r)}}function q(e){return Boolean(e.searchState)}var B=function(e){(0,s.Z)(r,e);var t=Q(r);function r(e){var i;(0,n.Z)(this,r),i=t.call(this,e),(0,u.Z)((0,a.Z)(i),"isUnmounting",!1);var s=Z({indexName:i.props.indexName,searchClient:i.props.searchClient,initialState:i.props.searchState||{},resultsState:i.props.resultsState,stalledSearchDelay:i.props.stalledSearchDelay}),c={store:s.store,widgetsManager:s.widgetsManager,mainTargetedIndex:i.props.indexName,onInternalStateUpdate:i.onWidgetsInternalStateUpdate.bind((0,a.Z)(i)),createHrefForState:i.createHrefForState.bind((0,a.Z)(i)),onSearchForFacetValues:i.onSearchForFacetValues.bind((0,a.Z)(i)),onSearchStateChange:i.onSearchStateChange.bind((0,a.Z)(i)),onSearchParameters:i.onSearchParameters.bind((0,a.Z)(i))};return i.state={isControlled:q(i.props),instantSearchManager:s,contextValue:c},i}return(0,i.Z)(r,[{key:"componentDidUpdate",value:function(e){var t=q(e);if(t&&!this.state.isControlled)throw new Error("You can't switch <InstantSearch> from being controlled to uncontrolled");if(!t&&this.state.isControlled)throw new Error("You can't switch <InstantSearch> from being uncontrolled to controlled");this.props.refresh!==e.refresh&&this.props.refresh&&this.state.instantSearchManager.clearCache(),e.indexName!==this.props.indexName&&this.state.instantSearchManager.updateIndex(this.props.indexName),e.searchClient!==this.props.searchClient&&this.state.instantSearchManager.updateClient(this.props.searchClient)}},{key:"componentDidMount",value:function(){"object"===("undefined"==typeof window?"undefined":(0,V.Z)(window))&&"object"===(0,V.Z)(window.navigator)&&"string"==typeof window.navigator.userAgent&&window.navigator.userAgent.includes("Algolia Crawler")&&"object"===(0,V.Z)(window.document)&&I(this.state.instantSearchManager.widgetsManager.getWidgets(),this.props.searchClient)}},{key:"componentWillUnmount",value:function(){this.isUnmounting=!0,this.state.instantSearchManager.skipSearch()}},{key:"createHrefForState",value:function(e){return e=this.state.instantSearchManager.transitionState(e),this.state.isControlled&&this.props.createURL?this.props.createURL(e,this.getKnownKeys()):"#"}},{key:"onWidgetsInternalStateUpdate",value:function(e){e=this.state.instantSearchManager.transitionState(e),this.onSearchStateChange(e),this.state.isControlled||this.state.instantSearchManager.onExternalStateUpdate(e)}},{key:"onSearchStateChange",value:function(e){this.props.onSearchStateChange&&!this.isUnmounting&&this.props.onSearchStateChange(e)}},{key:"onSearchParameters",value:function(e,t,r,n,i){if(this.props.onSearchParameters){var a=this.props.searchState?this.props.searchState:{};this.props.onSearchParameters(e,t,r,a)}if(this.props.widgetsCollector){var s=this.props.searchState?this.props.searchState:{};this.props.widgetsCollector({getSearchParameters:e,getMetadata:n,context:t,props:r,searchState:s,displayName:i})}}},{key:"onSearchForFacetValues",value:function(e){this.state.instantSearchManager.onSearchForFacetValues(e)}},{key:"getKnownKeys",value:function(){return this.state.instantSearchManager.getWidgetsIds()}},{key:"render",value:function(){return 0===f.Children.count(this.props.children)?null:f.createElement(T.tJ,{value:this.state.contextValue},this.props.children)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var r=q(e),n=t.instantSearchManager.store.getState().widgets,i=e.searchState;return r&&!l()(n,i)&&t.instantSearchManager.onExternalStateUpdate(e.searchState),{isControlled:r,contextValue:H(H({},t.contextValue),{},{mainTargetedIndex:e.indexName})}}}]),r}(f.Component);(0,u.Z)(B,"defaultProps",{stalledSearchDelay:200,refresh:!1}),(0,u.Z)(B,"propTypes",{indexName:d().string.isRequired,searchClient:d().shape({search:d().func.isRequired,searchForFacetValues:d().func,addAlgoliaAgent:d().func,clearCache:d().func}).isRequired,createURL:d().func,refresh:d().bool,searchState:d().object,onSearchStateChange:d().func,onSearchParameters:d().func,widgetsCollector:d().func,resultsState:d().oneOfType([d().object,d().array]),children:d().node,stalledSearchDelay:d().number});const L=B},3196:(e,t,r)=>{"use strict";r.d(t,{Z:()=>A});var n=r(4942),i=r(5697),a=r.n(i),s=r(1773),c=r(5009);function o(e,t,r){var n=(0,c.U6)(e,t,r,"query","");return n||""}function u(e,t,r,i){var a=(0,n.Z)({},"query",r);return(0,c.RD)(t,a,i,!0)}const f=(0,s.Z)({displayName:"AlgoliaSearchBox",$$type:"ais.searchBox",propTypes:{defaultRefinement:a().string},getProvidedProps:function(e,t,r){return{currentRefinement:o(e,t,{ais:e.contextValue,multiIndexContext:e.indexContextValue}),isSearchStalled:r.isSearchStalled}},refine:function(e,t,r){return u(0,t,r,{ais:e.contextValue,multiIndexContext:e.indexContextValue})},cleanUp:function(e,t){return function(e,t,r){return(0,c.cI)(t,r,"query")}(0,t,{ais:e.contextValue,multiIndexContext:e.indexContextValue})},getSearchParameters:function(e,t,r){return e.setQuery(o(t,r,{ais:t.contextValue,multiIndexContext:t.indexContextValue}))},getMetadata:function(e,t){var r="query",n=o(e,t,{ais:e.contextValue,multiIndexContext:e.indexContextValue});return{id:r,index:(0,c.WN)({ais:e.contextValue,multiIndexContext:e.indexContextValue}),items:null===n?[]:[{label:"".concat(r,": ").concat(n),value:function(t){return u(0,t,"",{ais:e.contextValue,multiIndexContext:e.indexContextValue})},currentRefinement:n}]}}});var h=r(7462),l=r(5671),p=r(3144),d=r(7326),m=r(136),g=r(2963),v=r(1120),y=r(7294),b=r(4184),R=r.n(b);function F(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=(0,v.Z)(e);if(t){var i=(0,v.Z)(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return(0,g.Z)(this,r)}}function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function P(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function O(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=(0,v.Z)(e);if(t){var i=(0,v.Z)(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return(0,g.Z)(this,r)}}var j=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ais";return function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];var a=n.filter((function(e){return e||""===e})).map((function(r){var n="".concat(t,"-").concat(e);return r?"".concat(n,"-").concat(r):n}));return R()(a)}}("SearchBox"),S=y.createElement("svg",{width:"18",height:"18",viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",stroke:"#444",className:j("loadingIcon")},y.createElement("g",{fill:"none",fillRule:"evenodd"},y.createElement("g",{transform:"translate(1 1)",strokeWidth:"2"},y.createElement("circle",{strokeOpacity:".5",cx:"18",cy:"18",r:"18"}),y.createElement("path",{d:"M36 18c0-9.94-8.06-18-18-18"},y.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"}))))),w=y.createElement("svg",{className:j("resetIcon"),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",width:"10",height:"10"},y.createElement("path",{d:"M8.114 10L.944 2.83 0 1.885 1.886 0l.943.943L10 8.113l7.17-7.17.944-.943L20 1.886l-.943.943-7.17 7.17 7.17 7.17.943.944L18.114 20l-.943-.943-7.17-7.17-7.17 7.17-.944.943L0 18.114l.943-.943L8.113 10z"})),E=y.createElement("svg",{className:j("submitIcon"),xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 40 40"},y.createElement("path",{d:"M26.804 29.01c-2.832 2.34-6.465 3.746-10.426 3.746C7.333 32.756 0 25.424 0 16.378 0 7.333 7.333 0 16.378 0c9.046 0 16.378 7.333 16.378 16.378 0 3.96-1.406 7.594-3.746 10.426l10.534 10.534c.607.607.61 1.59-.004 2.202-.61.61-1.597.61-2.202.004L26.804 29.01zm-10.426.627c7.323 0 13.26-5.936 13.26-13.26 0-7.32-5.937-13.257-13.26-13.257C9.056 3.12 3.12 9.056 3.12 16.378c0 7.323 5.936 13.26 13.258 13.26z"})),_=function(e){(0,m.Z)(r,e);var t=O(r);function r(e){var i;return(0,l.Z)(this,r),i=t.call(this),(0,n.Z)((0,d.Z)(i),"getQuery",(function(){return i.props.searchAsYouType?i.props.currentRefinement:i.state.query})),(0,n.Z)((0,d.Z)(i),"onInputMount",(function(e){i.input=e,i.props.inputRef&&("function"==typeof i.props.inputRef?i.props.inputRef(e):i.props.inputRef.current=e)})),(0,n.Z)((0,d.Z)(i),"onKeyDown",(function(e){if(i.props.focusShortcuts){var t=i.props.focusShortcuts.map((function(e){return"string"==typeof e?e.toUpperCase().charCodeAt(0):e})),r=e.target||e.srcElement,n=r.tagName;if(!r.isContentEditable&&"INPUT"!==n&&"SELECT"!==n&&"TEXTAREA"!==n){var a=e.which||e.keyCode;-1!==t.indexOf(a)&&(i.input.focus(),e.stopPropagation(),e.preventDefault())}}})),(0,n.Z)((0,d.Z)(i),"onSubmit",(function(e){e.preventDefault(),e.stopPropagation(),i.input.blur();var t=i.props,r=t.refine;return t.searchAsYouType||r(i.getQuery()),!1})),(0,n.Z)((0,d.Z)(i),"onChange",(function(e){var t=i.props,r=t.searchAsYouType,n=t.refine,a=t.onChange,s=e.target.value;r?n(s):i.setState({query:s}),a&&a(e)})),(0,n.Z)((0,d.Z)(i),"onReset",(function(e){var t=i.props,r=t.searchAsYouType,n=t.refine,a=t.onReset;n(""),i.input.focus(),r||i.setState({query:""}),a&&a(e)})),i.state={query:e.searchAsYouType?null:e.currentRefinement},i}return(0,p.Z)(r,[{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.onKeyDown)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.onKeyDown)}},{key:"componentDidUpdate",value:function(e){this.props.searchAsYouType||e.currentRefinement===this.props.currentRefinement||this.setState({query:this.props.currentRefinement})}},{key:"render",value:function(){var e=this,t=this.props,r=t.className,i=t.inputId,a=t.translate,s=t.autoFocus,c=t.loadingIndicator,o=t.submit,u=t.reset,f=this.getQuery(),l=Object.keys(this.props).reduce((function(t,r){return-1===["onsubmit","onreset","onchange"].indexOf(r.toLowerCase())&&0===r.indexOf("on")?P(P({},t),{},(0,n.Z)({},r,e.props[r])):t}),{}),p=this.props.showLoadingIndicator&&this.props.isSearchStalled;return y.createElement("div",{className:R()(j(""),r)},y.createElement("form",{ref:this.props.formRef,noValidate:!0,onSubmit:this.props.onSubmit?this.props.onSubmit:this.onSubmit,onReset:this.onReset,className:j("form",p&&"form--stalledSearch"),action:"",role:"search"},y.createElement("input",(0,h.Z)({ref:this.onInputMount,id:i,type:"search",placeholder:a("placeholder"),autoFocus:s,autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:"false",required:!0,maxLength:"512",value:f,onChange:this.onChange},l,{className:j("input")})),y.createElement("button",{type:"submit",title:a("submitTitle"),className:j("submit")},o),y.createElement("button",{type:"reset",title:a("resetTitle"),className:j("reset"),hidden:!f||p},u),this.props.showLoadingIndicator&&y.createElement("span",{hidden:!p,className:j("loadingIndicator")},c)))}}]),r}(y.Component);(0,n.Z)(_,"propTypes",{currentRefinement:a().string,className:a().string,refine:a().func.isRequired,translate:a().func.isRequired,loadingIndicator:a().node,reset:a().node,submit:a().node,focusShortcuts:a().arrayOf(a().oneOfType([a().string,a().number])),autoFocus:a().bool,searchAsYouType:a().bool,onSubmit:a().func,onReset:a().func,onChange:a().func,isSearchStalled:a().bool,showLoadingIndicator:a().bool,formRef:a().oneOfType([a().func,a().exact({current:a().object})]),inputRef:a().oneOfType([a().func,a().exact({current:a().object})]),inputId:a().string}),(0,n.Z)(_,"defaultProps",{currentRefinement:"",className:"",focusShortcuts:["s","/"],autoFocus:!1,searchAsYouType:!0,showLoadingIndicator:!1,isSearchStalled:!1,loadingIndicator:S,reset:w,submit:E});var C;const A=f((C={resetTitle:"Clear the search query.",submitTitle:"Submit your search query.",placeholder:"Search here…"},function(e){var t,r=function(t){(0,m.Z)(i,t);var r=F(i);function i(){var e;(0,l.Z)(this,i);for(var t=arguments.length,a=new Array(t),s=0;s<t;s++)a[s]=arguments[s];return e=r.call.apply(r,[this].concat(a)),(0,n.Z)((0,d.Z)(e),"translate",(function(t){var r=e.props.translations,n=r&&r.hasOwnProperty(t)?r[t]:C[t];if("function"==typeof n){for(var i=arguments.length,a=new Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];return n.apply(void 0,a)}return n})),e}return(0,p.Z)(i,[{key:"render",value:function(){return y.createElement(e,(0,h.Z)({translate:this.translate},this.props))}}]),i}(y.Component),i=e.displayName||e.name||"UnknownComponent";return r.displayName="Translatable(".concat(i,")"),r.propTypes={translations:(t=Object.keys(C),function(e,r,n){var i=e[r];if(i)for(var a=0,s=Object.keys(i);a<s.length;a++){var c=s[a];if(-1===t.indexOf(c))return new Error("Unknown `".concat(r,"` key `").concat(c,"`. Check the render method ")+"of `".concat(n,"`."))}})},r})(_),{$$widgetType:"ais.searchBox"})},7326:(e,t,r)=>{"use strict";function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}r.d(t,{Z:()=>n})},5671:(e,t,r)=>{"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r.d(t,{Z:()=>n})},3144:(e,t,r)=>{"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}r.d(t,{Z:()=>i})},1120:(e,t,r)=>{"use strict";function n(e){return n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},n(e)}r.d(t,{Z:()=>n})},136:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(9611);function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,n.Z)(e,t)}},5987:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(3366);function i(e,t){if(null==e)return{};var r,i,a=(0,n.Z)(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)r=s[i],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}},2963:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(1002),i=r(7326);function a(e,t){if(t&&("object"===(0,n.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(e)}},1002:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r.d(t,{Z:()=>n})}}]);
dist/assets/js/chunk-604.2ce3d257fe0b58a49cf4.js DELETED
@@ -1,7 +0,0 @@
1
- "use strict";(self.webpackChunkgravity_pdf=self.webpackChunkgravity_pdf||[]).push([[604],{5604:(e,t,r)=>{r.r(t),r.d(t,{HelpContainer:()=>y,default:()=>f});r(6992),r(3948),r(5827),r(4916),r(4765);var l=r(7294),a=r(290),n=r.n(a),c=r(8810),i=r(516),s=r(2002),o=r(3196),h=r(5697),u=e=>{var{groups:t}=e;return l.createElement("div",{className:"search-result"},Object.entries(t).map(((e,t)=>l.createElement("section",{className:"group-section",key:t},l.createElement("div",{className:"group-name"},e[0]),l.createElement("ul",{className:"search-menu"},e[1].map(((e,t)=>{var r=e[1],a=e[2],n=(e[0].lvl2?e[0].lvl2:"")+(e[0].lvl3?" - "+e[0].lvl3:""),c=a?a.substr(0,80)+"...":n;return l.createElement("li",{key:t},l.createElement("a",{href:r},l.createElement("div",{className:"hit-container"},l.createElement("div",{className:"hit-icon"},l.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},l.createElement("path",{d:"M17 6v12c0 .52-.2 1-1 1H4c-.7 0-1-.33-1-1V2c0-.55.42-1 1-1h8l5 5zM14 8h-3.13c-.51 0-.87-.34-.87-.87V4",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))),l.createElement("div",{className:"hit-content-wrapper"},l.createElement("span",{className:"hit-title",dangerouslySetInnerHTML:{__html:e[0].lvl1}}),l.createElement("span",{className:"hit-path",dangerouslySetInnerHTML:{__html:c}})),l.createElement("div",{className:"hit-action"},l.createElement("svg",{className:"DocSearch-Hit-Select-Icon",width:"20",height:"20",viewBox:"0 0 20 20"},l.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},l.createElement("path",{d:"M18 3v4c0 2-2 4-4 4H2"}),l.createElement("path",{d:"M8 17l-6-6 6-6"})))))))})))))))};u.propTypes={groups:r.n(h)().object.isRequired};const p=u;function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,l)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach((function(t){d(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
2
- /**
3
- * @package Gravity PDF
4
- * @copyright Copyright (c) 2022, Blue Liquid Designs
5
- * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
6
- * @since 5.2
7
- */class y extends l.Component{constructor(){super(...arguments),d(this,"onHandleHit",(e=>{var{hits:t}=e,r=t.reduce(((e,t)=>v(v({},e),{},{[t.hierarchy.lvl0]:[...e[t.hierarchy.lvl0]||[],[t.hierarchy,t.url,t.content]]})),{});return l.createElement(p,{groups:r})}))}render(){var e=n()("BH4D9OD16A","3f8f81a078907e98ed8d3a5bedc3c61c"),t={search(t){if(""!==t[0].params.query)return e.search(t)}},r=(0,c.Z)(this.onHandleHit);return l.createElement(i.Z,{searchClient:t,indexName:"gravitypdf"},l.createElement(s.Z,{facetFilters:["version:v6"],highlightPreTag:"<mark>",highlightPostTag:"</mark>",attributesToRetrieve:["hierarchy.lvl0","hierarchy.lvl1","hierarchy.lvl2","hierarchy.lvl3","hierarchy.lvl4","hierarchy.lvl5","hierarchy.lvl6","content","type","url"],attributesToSnippet:["hierarchy.lvl1:5","hierarchy.lvl2:5","hierarchy.lvl3:5","hierarchy.lvl4:5","hierarchy.lvl5:5","hierarchy.lvl6:5","content:5"],snippetEllipsisText:"…"}),l.createElement(o.Z,{translations:{submitTitle:GFPDF.searchBoxSubmitTitle,resetTitle:GFPDF.searchBoxResetTitle,placeholder:GFPDF.searchBoxPlaceHolderText},autofocus:!0}),l.createElement(r,null))}}const f=y}}]);
 
 
 
 
 
 
 
dist/assets/js/chunk-604.67fc126baf3fa70ea4b2.js ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ "use strict";(self.webpackChunkgravity_pdf=self.webpackChunkgravity_pdf||[]).push([[604],{5604:(e,t,r)=>{r.r(t),r.d(t,{HelpContainer:()=>y,default:()=>f});r(6992),r(3948),r(5827),r(4916),r(4765),r(7658);var l=r(7294),a=r(290),n=r.n(a),c=r(8810),i=r(516),s=r(2002),o=r(3196),h=r(5697),u=e=>{var{groups:t}=e;return l.createElement("div",{className:"search-result"},Object.entries(t).map(((e,t)=>l.createElement("section",{className:"group-section",key:t},l.createElement("div",{className:"group-name"},e[0]),l.createElement("ul",{className:"search-menu"},e[1].map(((e,t)=>{var r=e[1],a=e[2],n=(e[0].lvl2?e[0].lvl2:"")+(e[0].lvl3?" - "+e[0].lvl3:""),c=a?a.substr(0,80)+"...":n;return l.createElement("li",{key:t},l.createElement("a",{href:r},l.createElement("div",{className:"hit-container"},l.createElement("div",{className:"hit-icon"},l.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},l.createElement("path",{d:"M17 6v12c0 .52-.2 1-1 1H4c-.7 0-1-.33-1-1V2c0-.55.42-1 1-1h8l5 5zM14 8h-3.13c-.51 0-.87-.34-.87-.87V4",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))),l.createElement("div",{className:"hit-content-wrapper"},l.createElement("span",{className:"hit-title",dangerouslySetInnerHTML:{__html:e[0].lvl1}}),l.createElement("span",{className:"hit-path",dangerouslySetInnerHTML:{__html:c}})),l.createElement("div",{className:"hit-action"},l.createElement("svg",{className:"DocSearch-Hit-Select-Icon",width:"20",height:"20",viewBox:"0 0 20 20"},l.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},l.createElement("path",{d:"M18 3v4c0 2-2 4-4 4H2"}),l.createElement("path",{d:"M8 17l-6-6 6-6"})))))))})))))))};u.propTypes={groups:r.n(h)().object.isRequired};const p=u;function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,l)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach((function(t){d(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
2
+ /**
3
+ * @package Gravity PDF
4
+ * @copyright Copyright (c) 2022, Blue Liquid Designs
5
+ * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
6
+ * @since 5.2
7
+ */class y extends l.Component{constructor(){super(...arguments),d(this,"onHandleHit",(e=>{var{hits:t}=e,r=t.reduce(((e,t)=>v(v({},e),{},{[t.hierarchy.lvl0]:[...e[t.hierarchy.lvl0]||[],[t.hierarchy,t.url,t.content]]})),{});return l.createElement(p,{groups:r})}))}render(){var e=n()("BH4D9OD16A","3f8f81a078907e98ed8d3a5bedc3c61c"),t={search(t){if(""!==t[0].params.query)return e.search(t)}},r=(0,c.Z)(this.onHandleHit);return l.createElement(i.Z,{searchClient:t,indexName:"gravitypdf"},l.createElement(s.Z,{facetFilters:["version:v6"],highlightPreTag:"<mark>",highlightPostTag:"</mark>",attributesToRetrieve:["hierarchy.lvl0","hierarchy.lvl1","hierarchy.lvl2","hierarchy.lvl3","hierarchy.lvl4","hierarchy.lvl5","hierarchy.lvl6","content","type","url"],attributesToSnippet:["hierarchy.lvl1:5","hierarchy.lvl2:5","hierarchy.lvl3:5","hierarchy.lvl4:5","hierarchy.lvl5:5","hierarchy.lvl6:5","content:5"],snippetEllipsisText:"…"}),l.createElement(o.Z,{translations:{submitTitle:GFPDF.searchBoxSubmitTitle,resetTitle:GFPDF.searchBoxResetTitle,placeholder:GFPDF.searchBoxPlaceHolderText},autofocus:!0}),l.createElement(r,null))}}const f=y}}]);
dist/assets/js/{chunk-8.7f9cd7c302c223d62f3c.js → chunk-8.adcb74a42ec3dad1697e.js} RENAMED
@@ -1,4 +1,4 @@
1
- "use strict";(self.webpackChunkgravity_pdf=self.webpackChunkgravity_pdf||[]).push([[8],{9008:(e,t,n)=>{n.r(t),n.d(t,{AdvancedButton:()=>u,default:()=>c});n(6992),n(3948);var r=n(7294),a=n(5697),s=n.n(a);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
2
  /**
3
  * @package Gravity PDF
4
  * @copyright Copyright (c) 2022, Blue Liquid Designs
1
+ "use strict";(self.webpackChunkgravity_pdf=self.webpackChunkgravity_pdf||[]).push([[8],{9008:(e,t,n)=>{n.r(t),n.d(t,{AdvancedButton:()=>u,default:()=>c});n(6992),n(3948),n(7658);var r=n(7294),a=n(5697),s=n.n(a);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
2
  /**
3
  * @package Gravity PDF
4
  * @copyright Copyright (c) 2022, Blue Liquid Designs
dist/assets/js/{chunk-872.1db5008e5ad375567658.js → chunk-872.d9934f8bdc2a871c5bb5.js} RENAMED
@@ -1,4 +1,4 @@
1
- "use strict";(self.webpackChunkgravity_pdf=self.webpackChunkgravity_pdf||[]).push([[872],{4872:(e,t,r)=>{r.r(t),r.d(t,{TemplateSingle:()=>O,default:()=>F});r(1817),r(4916),r(4723);var s=r(7294),a=r(5697),p=r.n(a),n=r(6706),i=r(5439),l=(r(6992),r(3948),r(5977));function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
2
  /**
3
  * Renders the template navigation header that get displayed on the
4
  * /template/:id pages.
1
+ "use strict";(self.webpackChunkgravity_pdf=self.webpackChunkgravity_pdf||[]).push([[872],{4872:(e,t,r)=>{r.r(t),r.d(t,{TemplateSingle:()=>O,default:()=>F});r(1817),r(4916),r(4723);var s=r(7294),a=r(5697),p=r.n(a),n=r(6706),i=r(5439),l=(r(6992),r(3948),r(7658),r(6550));function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
2
  /**
3
  * Renders the template navigation header that get displayed on the
4
  * /template/:id pages.
dist/assets/js/{chunk-88.3fdd159572e48a92c54f.js → chunk-88.59f12724a752bfc35689.js} RENAMED
@@ -1,4 +1,4 @@
1
- "use strict";(self.webpackChunkgravity_pdf=self.webpackChunkgravity_pdf||[]).push([[88],{6088:(e,t,n)=>{n.r(t),n.d(t,{default:()=>p});n(6992),n(3948);var a=n(7294),r=n(5697),s=n.n(r);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
2
  /**
3
  * Render the button used to option our Fancy PDF template selector
4
  *
1
+ "use strict";(self.webpackChunkgravity_pdf=self.webpackChunkgravity_pdf||[]).push([[88],{6088:(e,t,n)=>{n.r(t),n.d(t,{default:()=>p});n(6992),n(3948),n(7658);var a=n(7294),r=n(5697),s=n.n(r);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}
2
  /**
3
  * Render the button used to option our Fancy PDF template selector
4
  *
pdf.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: Gravity PDF
4
- Version: 6.4.7
5
  Description: Automatically generate highly-customisable PDF documents using Gravity Forms.
6
  Author: Blue Liquid Designs
7
  Author URI: https://blueliquiddesigns.com.au
@@ -28,7 +28,7 @@ if ( ! defined( 'ABSPATH' ) ) {
28
  /*
29
  * Set base constants we'll use throughout the plugin
30
  */
31
- define( 'PDF_EXTENDED_VERSION', '6.4.7' ); /* the current plugin version */
32
  define( 'PDF_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); /* plugin directory path */
33
  define( 'PDF_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); /* plugin directory url */
34
  define( 'PDF_PLUGIN_BASENAME', plugin_basename( __FILE__ ) ); /* the plugin basename */
1
  <?php
2
  /*
3
  Plugin Name: Gravity PDF
4
+ Version: 6.5.0
5
  Description: Automatically generate highly-customisable PDF documents using Gravity Forms.
6
  Author: Blue Liquid Designs
7
  Author URI: https://blueliquiddesigns.com.au
28
  /*
29
  * Set base constants we'll use throughout the plugin
30
  */
31
+ define( 'PDF_EXTENDED_VERSION', '6.5.0' ); /* the current plugin version */
32
  define( 'PDF_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); /* plugin directory path */
33
  define( 'PDF_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); /* plugin directory url */
34
  define( 'PDF_PLUGIN_BASENAME', plugin_basename( __FILE__ ) ); /* the plugin basename */
src/Helper/Helper_Abstract_Addon.php CHANGED
@@ -116,6 +116,14 @@ abstract class Helper_Abstract_Addon {
116
  */
117
  protected $addon_documentation_slug = '';
118
 
 
 
 
 
 
 
 
 
119
  /**
120
  * Helper_Abstract_Addon constructor.
121
  *
@@ -316,8 +324,6 @@ abstract class Helper_Abstract_Addon {
316
  $this->singleton->add_class( $class );
317
  }
318
  );
319
-
320
- $this->log->notice( sprintf( '%s plugin fully loaded', $this->get_name() ) );
321
  }
322
 
323
  /**
@@ -386,22 +392,133 @@ abstract class Helper_Abstract_Addon {
386
  return $settings;
387
  }
388
 
389
- $registered_fields = $this->get_global_addon_fields();
 
 
 
 
 
390
 
391
- /* Add plugin heading before fields are included */
 
392
 
393
- return array_merge(
394
- $settings,
395
- [
396
- $this->get_slug() . '_heading' => [
397
- 'id' => $this->get_slug() . '_heading',
398
- 'type' => 'descriptive_text',
399
- 'desc' => '<h4 class="section-title">' . $this->get_name() . '</h4>',
400
- 'class' => 'gfpdf-no-padding',
401
- ],
402
- ],
403
- $registered_fields
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
404
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
405
  }
406
 
407
  /**
@@ -519,8 +636,6 @@ abstract class Helper_Abstract_Addon {
519
  * @since 4.2
520
  */
521
  public function schedule_license_check() {
522
- $this->log->notice( 'Check status of plugin license details' );
523
-
524
  $license_info = $this->get_license_info();
525
 
526
  /* If the license info is empty disable check */
116
  */
117
  protected $addon_documentation_slug = '';
118
 
119
+ /**
120
+ * Determine whether we should use a prefix for this add-ons global settings
121
+ *
122
+ * @since 6.5
123
+ * @internal This has been added for backwards compatibility. Use self::enable_settings_prefix() after initialization to opt in
124
+ */
125
+ protected $use_settings_prefix = false;
126
+
127
  /**
128
  * Helper_Abstract_Addon constructor.
129
  *
324
  $this->singleton->add_class( $class );
325
  }
326
  );
 
 
327
  }
328
 
329
  /**
392
  return $settings;
393
  }
394
 
395
+ /* Add our settings prefix automatically */
396
+ $fields = [];
397
+ foreach ( $this->get_global_addon_fields() as $field ) {
398
+ $field['id'] = $this->get_addon_settings_key() . $field['id'];
399
+ $fields[ $field['id'] ] = $field;
400
+ }
401
 
402
+ return array_merge( $settings, $fields );
403
+ }
404
 
405
+ /**
406
+ * Allows add-ons to opt into using a prefix on the settings.
407
+ *
408
+ * @return void
409
+ *
410
+ * @since 6.5
411
+ * @internal This was added for backwards compatibility in case user-land implemented global add-on settings
412
+ */
413
+ public function enable_settings_prefix(): void {
414
+ $this->use_settings_prefix = true;
415
+ }
416
+
417
+ /**
418
+ * Return the prefix to use for all add-on global settings
419
+ *
420
+ * @return string
421
+ * @since 6.5
422
+ */
423
+ public function get_addon_settings_key(): string {
424
+ return $this->use_settings_prefix ? 'addon_' . $this->get_slug() . '_' : '';
425
+ }
426
+
427
+ /**
428
+ * Get all the global setting default values which is useful as a fallback if the setting doesn't yet exist in the DB
429
+ *
430
+ * @return array
431
+ * @since 6.5
432
+ */
433
+ public function get_addon_settings_defaults(): array {
434
+ if ( ! $this instanceof Helper_Interface_Extension_Settings ) {
435
+ return [];
436
+ }
437
+
438
+ $defaults = [];
439
+ foreach ( $this->get_global_addon_fields() as $field ) {
440
+ if ( ! isset( $field['std'] ) ) {
441
+ continue;
442
+ }
443
+
444
+ $defaults[ $field['id'] ] = $field['std'];
445
+ }
446
+
447
+ return $defaults;
448
+ }
449
+
450
+ /**
451
+ * Return all registered settings IDs, with or without the prefix string included
452
+ *
453
+ * @param bool $include_prefix
454
+ *
455
+ * @return array
456
+ * @since 6.5
457
+ */
458
+ final protected function get_addon_settings_ids( bool $include_prefix = true ): array {
459
+ if ( ! $this instanceof Helper_Interface_Extension_Settings ) {
460
+ return [];
461
+ }
462
+
463
+ $ids = array_keys( $this->get_global_addon_fields() );
464
+ if ( $include_prefix ) {
465
+ $ids = array_map(
466
+ function( $id ) {
467
+ return $this->get_addon_settings_key() . $id;
468
+ },
469
+ $ids
470
+ );
471
+ }
472
+
473
+ return $ids;
474
+ }
475
+
476
+ /**
477
+ * Get all available settings for this add-on that are stored in the DB
478
+ *
479
+ * @return array an ID => Value paid, where ID does NOT include the setting prefix
480
+ * @since 6.5
481
+ */
482
+ final public function get_addon_settings_values(): array {
483
+ if ( ! $this instanceof Helper_Interface_Extension_Settings ) {
484
+ return [];
485
+ }
486
+
487
+ $setting_ids = $this->get_addon_settings_ids();
488
+ $prefix_length = strlen( $this->get_addon_settings_key() );
489
+
490
+ /* Get only settings that apply to this add-on */
491
+ $filters_settings = array_filter(
492
+ $this->options->get_settings(),
493
+ function( $key ) use ( $setting_ids ) {
494
+ return in_array( $key, $setting_ids, true );
495
+ },
496
+ ARRAY_FILTER_USE_KEY
497
  );
498
+
499
+ $processed_settings = [];
500
+ foreach ( $filters_settings as $key => $value ) {
501
+ $processed_settings[ substr( $key, $prefix_length ) ] = $value;
502
+ }
503
+
504
+ return $processed_settings;
505
+ }
506
+
507
+ /**
508
+ * Get the add-on global setting from the DB, or return the fallback if it doesn't exist
509
+ *
510
+ * @param string $name The settings key name without the prefix
511
+ * @param mixed $fallback A fallback value if the setting doesn't exist
512
+ *
513
+ * @return mixed
514
+ * @since 6.5
515
+ */
516
+ final public function get_addon_setting_value( string $name, $fallback = '' ) {
517
+ if ( ! $this instanceof Helper_Interface_Extension_Settings ) {
518
+ return $fallback;
519
+ }
520
+
521
+ return $this->options->get_settings()[ $this->get_addon_settings_key() . $name ] ?? $fallback;
522
  }
523
 
524
  /**
636
  * @since 4.2
637
  */
638
  public function schedule_license_check() {
 
 
639
  $license_info = $this->get_license_info();
640
 
641
  /* If the license info is empty disable check */
src/Helper/Helper_Interface_Extension_Settings.php CHANGED
@@ -28,7 +28,7 @@ interface Helper_Interface_Extension_Settings {
28
  *
29
  * @return array
30
  * @since 4.2
31
- *
32
  */
33
  public function get_global_addon_fields();
34
  }
28
  *
29
  * @return array
30
  * @since 4.2
31
+ * @internal From 6.5 all settings keys / IDs should be prefixed with Helper_Abstract_Addon::get_addon_settings_key()
32
  */
33
  public function get_global_addon_fields();
34
  }
src/Helper/Helper_Notices.php CHANGED
@@ -28,7 +28,7 @@ class Helper_Notices implements Helper_Interface_Actions {
28
  *
29
  * @since 4.0
30
  */
31
- private $notices = [];
32
 
33
  /**
34
  * Holds any errors that we've triggered
@@ -37,38 +37,53 @@ class Helper_Notices implements Helper_Interface_Actions {
37
  *
38
  * @since 4.0
39
  */
40
- private $errors = [];
41
 
42
  /**
43
- * Initialise our class defaults
44
- *
45
- * @return void
46
  * @since 4.0
47
- *
48
  */
49
- public function init() {
50
  $this->add_actions();
51
  }
52
 
53
  /**
54
  * Apply any actions needed to implement notices
55
  *
56
- * @return void
57
  * @since 4.0
58
- *
59
  */
60
- public function add_actions() {
61
  add_action( $this->get_notice_type(), [ $this, 'process' ] );
 
62
  }
63
 
64
  /**
65
- * Determine which notice should be triggered
66
  *
67
- * @return string
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
  *
69
  * @since 4.0
70
  */
71
- private function get_notice_type() {
72
  if ( is_multisite() && is_network_admin() ) {
73
  return 'network_admin_notices';
74
  }
@@ -82,18 +97,9 @@ class Helper_Notices implements Helper_Interface_Actions {
82
  * @param string $notice The message to be queued
83
  * @param string $class The class that should be included with the notice box
84
  *
85
- * @return void
86
- *
87
  * @since 4.0
88
  */
89
- public function add_notice( $notice, $class = '' ) {
90
-
91
- if ( GFForms::is_gravity_page() ) {
92
- GFCommon::add_message( $notice );
93
-
94
- return;
95
- }
96
-
97
  if ( empty( $class ) ) {
98
  $this->notices[] = $notice;
99
  } else {
@@ -107,18 +113,9 @@ class Helper_Notices implements Helper_Interface_Actions {
107
  * @param string $error The error message that should be added
108
  * @param string $class Any class names that should apply to the error
109
  *
110
- * @internal param string $notice The message to be queued
111
- *
112
  * @since 4.0
113
  */
114
- public function add_error( $error, $class = '' ) {
115
-
116
- if ( GFForms::is_gravity_page() ) {
117
- GFCommon::add_error_message( $error );
118
-
119
- return;
120
- }
121
-
122
  if ( empty( $class ) ) {
123
  $this->errors[] = $error;
124
  } else {
@@ -129,31 +126,19 @@ class Helper_Notices implements Helper_Interface_Actions {
129
  /**
130
  * Check if we currently have a notice
131
  *
132
- * @return boolean
133
- *
134
  * @since 4.0
135
  */
136
- public function has_notice() {
137
- if ( count( $this->notices ) > 0 ) {
138
- return true;
139
- }
140
-
141
- return false;
142
  }
143
 
144
  /**
145
  * Check if we currently have an error
146
  *
147
- * @return boolean
148
- *
149
  * @since 4.0
150
  */
151
- public function has_error() {
152
- if ( count( $this->errors ) > 0 ) {
153
- return true;
154
- }
155
-
156
- return false;
157
  }
158
 
159
  /**
@@ -163,13 +148,12 @@ class Helper_Notices implements Helper_Interface_Actions {
163
  *
164
  * @since 4.0
165
  */
166
- public function clear( $type = 'all' ) {
167
-
168
- if ( 'errors' === $type || 'all' === $type ) {
169
  $this->errors = [];
170
  }
171
 
172
- if ( 'notices' === $type || 'all' === $type ) {
173
  $this->notices = [];
174
  }
175
  }
@@ -177,11 +161,9 @@ class Helper_Notices implements Helper_Interface_Actions {
177
  /**
178
  * Process our admin notice and error messages
179
  *
180
- * @return void
181
- *
182
  * @since 4.0
183
  */
184
- public function process() {
185
  foreach ( $this->notices as $class => $notice ) {
186
  $include_class = ( ! is_int( $class ) ) ? $class : '';
187
  $this->html( $notice, 'updated ' . $include_class );
@@ -199,11 +181,9 @@ class Helper_Notices implements Helper_Interface_Actions {
199
  * @param string $text The message to be displayed
200
  * @param string $class The class name (updated / error)
201
  *
202
- * @return void
203
- *
204
  * @since 4.0
205
  */
206
- private function html( $text, $class = 'updated' ) {
207
  $allow_form_elements = static function( $tags ) {
208
  $tags['input'] = [
209
  'type' => true,
@@ -225,4 +205,53 @@ class Helper_Notices implements Helper_Interface_Actions {
225
 
226
  remove_filter( 'wp_kses_allowed_html', $allow_form_elements );
227
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
228
  }
28
  *
29
  * @since 4.0
30
  */
31
+ protected $notices = [];
32
 
33
  /**
34
  * Holds any errors that we've triggered
37
  *
38
  * @since 4.0
39
  */
40
+ protected $errors = [];
41
 
42
  /**
 
 
 
43
  * @since 4.0
 
44
  */
45
+ public function init(): void {
46
  $this->add_actions();
47
  }
48
 
49
  /**
50
  * Apply any actions needed to implement notices
51
  *
 
52
  * @since 4.0
 
53
  */
54
+ public function add_actions(): void {
55
  add_action( $this->get_notice_type(), [ $this, 'process' ] );
56
+ add_action( 'init', [ $this, 'maybe_remove_non_pdf_messages' ] );
57
  }
58
 
59
  /**
60
+ * Override GF notices on Gravity PDF pages
61
  *
62
+ * @since 6.5
63
+ */
64
+ public function maybe_remove_non_pdf_messages(): void {
65
+ if ( ! \GPDFAPI::get_misc_class()->is_gfpdf_page() ) {
66
+ return;
67
+ }
68
+
69
+ /* Remove existing notice */
70
+ remove_action( $this->get_notice_type(), [ $this, 'process' ] );
71
+
72
+ /* Delete Gravity Forms notices */
73
+ add_action( 'gform_admin_messages', [ $this, 'reset_gravityforms_messages' ], 999 );
74
+ add_action( 'gform_admin_error_messages', [ $this, 'reset_gravityforms_messages' ], 999 );
75
+
76
+ /* Show Gravity PDF Notices */
77
+ add_action( 'gform_admin_messages', [ $this, 'set_gravitypdf_notices' ], 1000 );
78
+ add_action( 'gform_admin_error_messages', [ $this, 'set_gravitypdf_errors' ], 1000 );
79
+ }
80
+
81
+ /**
82
+ * Determine which notice should be triggered
83
  *
84
  * @since 4.0
85
  */
86
+ protected function get_notice_type(): string {
87
  if ( is_multisite() && is_network_admin() ) {
88
  return 'network_admin_notices';
89
  }
97
  * @param string $notice The message to be queued
98
  * @param string $class The class that should be included with the notice box
99
  *
 
 
100
  * @since 4.0
101
  */
102
+ public function add_notice( string $notice, string $class = '' ): void {
 
 
 
 
 
 
 
103
  if ( empty( $class ) ) {
104
  $this->notices[] = $notice;
105
  } else {
113
  * @param string $error The error message that should be added
114
  * @param string $class Any class names that should apply to the error
115
  *
 
 
116
  * @since 4.0
117
  */
118
+ public function add_error( string $error, string $class = '' ) {
 
 
 
 
 
 
 
119
  if ( empty( $class ) ) {
120
  $this->errors[] = $error;
121
  } else {
126
  /**
127
  * Check if we currently have a notice
128
  *
 
 
129
  * @since 4.0
130
  */
131
+ public function has_notice(): bool {
132
+ return count( $this->notices ) > 0;
 
 
 
 
133
  }
134
 
135
  /**
136
  * Check if we currently have an error
137
  *
 
 
138
  * @since 4.0
139
  */
140
+ public function has_error(): bool {
141
+ return count( $this->errors ) > 0;
 
 
 
 
142
  }
143
 
144
  /**
148
  *
149
  * @since 4.0
150
  */
151
+ public function clear( string $type = 'all' ): void {
152
+ if ( in_array( $type, [ 'all', 'errors' ], true ) ) {
 
153
  $this->errors = [];
154
  }
155
 
156
+ if ( in_array( $type, [ 'all', 'notices' ], true ) ) {
157
  $this->notices = [];
158
  }
159
  }
161
  /**
162
  * Process our admin notice and error messages
163
  *
 
 
164
  * @since 4.0
165
  */
166
+ public function process(): void {
167
  foreach ( $this->notices as $class => $notice ) {
168
  $include_class = ( ! is_int( $class ) ) ? $class : '';
169
  $this->html( $notice, 'updated ' . $include_class );
181
  * @param string $text The message to be displayed
182
  * @param string $class The class name (updated / error)
183
  *
 
 
184
  * @since 4.0
185
  */
186
+ protected function html( string $text, string $class = 'updated' ): void {
187
  $allow_form_elements = static function( $tags ) {
188
  $tags['input'] = [
189
  'type' => true,
205
 
206
  remove_filter( 'wp_kses_allowed_html', $allow_form_elements );
207
  }
208
+
209
+ /**
210
+ * Reset Gravity Forms messages
211
+ *
212
+ * @param array $messages The registered Gravity Forms messages
213
+ *
214
+ * @return array $this->errors
215
+ *
216
+ * @since 6.5
217
+ */
218
+ public function reset_gravityforms_messages( $messages ): array {
219
+ return [];
220
+ }
221
+
222
+ /**
223
+ * Merge notices with the current Gravity Forms notice messages.
224
+ *
225
+ * @param array $messages The message to be displayed
226
+ *
227
+ * @return array
228
+ *
229
+ * @since 6.5
230
+ */
231
+ public function set_gravitypdf_notices( $messages ): array {
232
+ /* Error handling if we don't get the correct input type */
233
+ if ( ! is_array( $messages ) ) {
234
+ return $messages;
235
+ }
236
+
237
+ return array_merge( $messages, $this->notices );
238
+ }
239
+
240
+ /**
241
+ * Merge error with the current Gravity Forms error messages.
242
+ *
243
+ * @param array $errors The message to be displayed
244
+ *
245
+ * @return array
246
+ *
247
+ * @since 6.5
248
+ */
249
+ public function set_gravitypdf_errors( $errors ): array {
250
+ /* Error handling if we don't get the correct input type */
251
+ if ( ! is_array( $errors ) ) {
252
+ return $errors;
253
+ }
254
+
255
+ return array_merge( $errors, $this->errors );
256
+ }
257
  }
src/Model/Model_Form_Settings.php CHANGED
@@ -763,7 +763,7 @@ class Model_Form_Settings extends Helper_Abstract_Model {
763
  */
764
  public function decode_json( $value, $key ) {
765
 
766
- if ( $key === 'conditionalLogic' ) {
767
  return json_decode( $value, true );
768
  }
769
 
763
  */
764
  public function decode_json( $value, $key ) {
765
 
766
+ if ( $key === 'conditionalLogic' && is_string( $value ) ) {
767
  return json_decode( $value, true );
768
  }
769
 
src/Model/Model_PDF.php CHANGED
@@ -736,6 +736,7 @@ class Model_PDF extends Helper_Abstract_Model {
736
  'settings' => $settings,
737
  'entry_id' => $entry['id'],
738
  'form_id' => $form['id'],
 
739
  ];
740
  }
741
  }
736
  'settings' => $settings,
737
  'entry_id' => $entry['id'],
738
  'form_id' => $form['id'],
739
+ 'class' => 'gravitypdf-download-link',
740
  ];
741
  }
742
  }
src/Model/Model_Templates.php CHANGED
@@ -382,10 +382,16 @@ class Model_Templates extends Helper_Abstract_Model {
382
  public function check_for_valid_pdf_templates( $files = [] ) {
383
  foreach ( $files as $file ) {
384
 
 
 
 
 
 
 
385
  /* Check if we have a valid v4 template header in the file */
386
  $info = $this->templates->get_template_info_by_path( $file );
387
 
388
- if ( ! isset( $info['template'] ) || strlen( $info['template'] ) === 0 ) {
389
  /* Check if it's a v3 template */
390
  $fp = fopen( $file, 'rb' );
391
  $file_data = fread( $fp, 8192 );
@@ -393,7 +399,7 @@ class Model_Templates extends Helper_Abstract_Model {
393
 
394
  /* Check the first 8kiB contains the string RGForms or GFForms, which signifies our v3 templates */
395
  if ( strpos( $file_data, 'RGForms' ) === false && strpos( $file_data, 'GFForms' ) === false ) {
396
- throw new Exception( sprintf( esc_html__( 'The PHP file %s is not a valid PDF Template.', 'gravity-forms-pdf-extended' ), basename( $file ) ) );
397
  }
398
  }
399
  }
382
  public function check_for_valid_pdf_templates( $files = [] ) {
383
  foreach ( $files as $file ) {
384
 
385
+ $basename = wp_basename( $file );
386
+
387
+ if ( ! preg_match( '/^[a-zA-Z0-9-_]+.php$/', $basename ) ) {
388
+ throw new Exception( sprintf( esc_html__( 'The filename %s contains invalid characters. Only alphanumeric, hyphen, and underscore allowed.', 'gravity-forms-pdf-extended' ), $basename ) );
389
+ }
390
+
391
  /* Check if we have a valid v4 template header in the file */
392
  $info = $this->templates->get_template_info_by_path( $file );
393
 
394
+ if ( $info['group'] === esc_html__( 'Legacy', 'gravity-forms-pdf-extended' ) ) {
395
  /* Check if it's a v3 template */
396
  $fp = fopen( $file, 'rb' );
397
  $file_data = fread( $fp, 8192 );
399
 
400
  /* Check the first 8kiB contains the string RGForms or GFForms, which signifies our v3 templates */
401
  if ( strpos( $file_data, 'RGForms' ) === false && strpos( $file_data, 'GFForms' ) === false ) {
402
+ throw new Exception( sprintf( esc_html__( 'The PHP file %s is not a valid PDF Template.', 'gravity-forms-pdf-extended' ), $basename ) );
403
  }
404
  }
405
  }
src/View/View_Settings.php CHANGED
@@ -7,6 +7,7 @@ use GFPDF\Helper\Helper_Abstract_Options;
7
  use GFPDF\Helper\Helper_Abstract_View;
8
  use GFPDF\Helper\Helper_Data;
9
  use GFPDF\Helper\Helper_Form;
 
10
  use GFPDF\Helper\Helper_Misc;
11
  use GFPDF\Helper\Helper_Options_Fields;
12
  use GFPDF\Helper\Helper_Templates;
@@ -194,8 +195,15 @@ class View_Settings extends Helper_Abstract_View {
194
  }
195
 
196
  /* Add Extensions tab if necessary */
197
- $settings = $this->options->get_registered_fields();
198
- if ( count( $settings['extensions'] ) > 0 ) {
 
 
 
 
 
 
 
199
  $navigation[20] = [
200
  'name' => esc_html__( 'Extensions', 'gravity-forms-pdf-extended' ),
201
  'id' => 'extensions',
@@ -343,8 +351,44 @@ class View_Settings extends Helper_Abstract_View {
343
  * @since 4.2
344
  */
345
  public function extensions() {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
346
  $vars = [
347
  'edit_cap' => $this->gform->has_capability( 'gravityforms_edit_settings' ),
 
 
 
348
  ];
349
 
350
  /* load the system status view */
7
  use GFPDF\Helper\Helper_Abstract_View;
8
  use GFPDF\Helper\Helper_Data;
9
  use GFPDF\Helper\Helper_Form;
10
+ use GFPDF\Helper\Helper_Interface_Extension_Settings;
11
  use GFPDF\Helper\Helper_Misc;
12
  use GFPDF\Helper\Helper_Options_Fields;
13
  use GFPDF\Helper\Helper_Templates;
195
  }
196
 
197
  /* Add Extensions tab if necessary */
198
+ $enable_extensions = false;
199
+ foreach ( $this->data->addon as $addon ) {
200
+ if ( $addon instanceof Helper_Interface_Extension_Settings ) {
201
+ $enable_extensions = true;
202
+ break;
203
+ }
204
+ }
205
+
206
+ if ( $enable_extensions ) {
207
  $navigation[20] = [
208
  'name' => esc_html__( 'Extensions', 'gravity-forms-pdf-extended' ),
209
  'id' => 'extensions',
351
  * @since 4.2
352
  */
353
  public function extensions() {
354
+ $markup = new View_GravityForm_Settings_Markup();
355
+
356
+ /* Loop through registered add-ons and group settings together */
357
+ $sections = [];
358
+ foreach ( $this->data->addon as $addon ) {
359
+ if ( ! $addon instanceof Helper_Interface_Extension_Settings ) {
360
+ continue;
361
+ }
362
+
363
+ $id = $addon->get_addon_settings_key();
364
+
365
+ $sections[] = [
366
+ 'id' => $id,
367
+ 'width' => 'full',
368
+ 'title' => $addon->get_name(),
369
+ 'callback' => static function() use ( $markup, $id ) {
370
+ $fields = array_filter(
371
+ (array) $markup->get_section_fields( 'gfpdf_settings_extensions' ),
372
+ function( $field ) use ( $id ) {
373
+ return strpos( $field['args']['id'], $id ) === 0;
374
+ }
375
+ );
376
+
377
+ foreach ( $fields as $field ) {
378
+ $markup->get_field_content( $field, $markup::ENABLE_PANEL_TITLE, true );
379
+ }
380
+ },
381
+ 'content_class' => '',
382
+ 'collapsible' => true,
383
+ 'collapsible-open' => true,
384
+ ];
385
+ }
386
+
387
  $vars = [
388
  'edit_cap' => $this->gform->has_capability( 'gravityforms_edit_settings' ),
389
+ 'callback' => static function() use ( $markup, $sections ) {
390
+ $markup->do_settings_sections( $sections, true );
391
+ },
392
  ];
393
 
394
  /* load the system status view */
src/View/html/PDF/core_template_styles.php CHANGED
@@ -266,5 +266,6 @@ $include_product_styles = apply_filters( 'gfpdf_include_product_styles', true, $
266
 
267
  <?php
268
  /* See https://docs.gravitypdf.com/v6/developers/actions/gfpdf_core_template for more details about this hook */
269
- do_action( 'gfpdf_core_template' );
 
270
  ?>
266
 
267
  <?php
268
  /* See https://docs.gravitypdf.com/v6/developers/actions/gfpdf_core_template for more details about this hook */
269
+ do_action( 'gfpdf_core_template', $form, $entry, $settings );
270
+ do_action( 'gfpdf_core_template_' . $form['id'], $form, $entry, $settings );
271
  ?>
src/View/html/PDF/entry_detailed_pdf.php CHANGED
@@ -32,8 +32,8 @@ if ( ! defined( 'ABSPATH' ) ) {
32
  <div class="gfpdf_detailed_pdf_cta" aria-label="<?php echo esc_attr( sprintf( __( 'View or download %s.pdf', 'gravity-forms-pdf-extended' ), $pdf['name'] ) ); ?>">
33
  <?php do_action( 'gfpdf_entry_detail_pre_pdf_links_markup', $pdf, $args['pdfs'] ); ?>
34
 
35
- <a href="<?php echo esc_url( $pdf['view'] ); ?>" target="_blank"><?php echo esc_html__( 'View', 'gravity-forms-pdf-extended' ); ?></a> |
36
- <a href="<?php echo esc_url( $pdf['download'] ); ?>"><?php echo esc_html__( 'Download', 'gravity-forms-pdf-extended' ); ?></a>
37
 
38
  <?php do_action( 'gfpdf_entry_detail_post_pdf_links_markup', $pdf, $args['pdfs'] ); ?>
39
  </div>
32
  <div class="gfpdf_detailed_pdf_cta" aria-label="<?php echo esc_attr( sprintf( __( 'View or download %s.pdf', 'gravity-forms-pdf-extended' ), $pdf['name'] ) ); ?>">
33
  <?php do_action( 'gfpdf_entry_detail_pre_pdf_links_markup', $pdf, $args['pdfs'] ); ?>
34
 
35
+ <a href="<?php echo esc_url( $pdf['view'] ); ?>" class="<?php echo esc_attr( $pdf['class'] ); ?>" target="_blank" data-type="view"><?php echo esc_html__( 'View', 'gravity-forms-pdf-extended' ); ?></a> |
36
+ <a href="<?php echo esc_url( $pdf['download'] ); ?>" class="<?php echo esc_attr( $pdf['class'] ); ?>" data-type="download"><?php echo esc_html__( 'Download', 'gravity-forms-pdf-extended' ); ?></a>
37
 
38
  <?php do_action( 'gfpdf_entry_detail_post_pdf_links_markup', $pdf, $args['pdfs'] ); ?>
39
  </div>
src/View/html/PDF/entry_list_pdf_multiple.php CHANGED
@@ -29,8 +29,10 @@ $parent_link_text = $download ? __( 'Download PDFs', 'gravity-forms-pdf-extended
29
  <?php foreach ( $args['pdfs'] as $pdf ): ?>
30
  <li>
31
  <a href="<?php echo $download ? esc_url( $pdf['download'] ) : esc_url( $pdf['view'] ); ?>"
 
32
  <?php echo $download ? '' : 'target="_blank"'; ?>
33
  data-label="<?php echo esc_attr( $pdf['name'] ); ?>"
 
34
  >
35
  <?php echo esc_html( $pdf['name'] ); ?>
36
  </a>
29
  <?php foreach ( $args['pdfs'] as $pdf ): ?>
30
  <li>
31
  <a href="<?php echo $download ? esc_url( $pdf['download'] ) : esc_url( $pdf['view'] ); ?>"
32
+ class="<?php echo esc_attr( $pdf['class'] ); ?>"
33
  <?php echo $download ? '' : 'target="_blank"'; ?>
34
  data-label="<?php echo esc_attr( $pdf['name'] ); ?>"
35
+ data-type="<?php echo esc_attr( $args['view'] ); ?>"
36
  >
37
  <?php echo esc_html( $pdf['name'] ); ?>
38
  </a>
src/View/html/PDF/entry_list_pdf_single.php CHANGED
@@ -21,6 +21,10 @@ $is_download = $args['view'] === 'download';
21
  ?>
22
 
23
  |
24
- <a href="<?php echo $is_download ? esc_url( $args['pdf']['download'] ) : esc_url( $args['pdf']['view'] ); ?>" <?php echo $is_download ? '' : 'target="_blank"'; ?>>
 
 
 
 
25
  <?php echo $is_download ? esc_html__( 'Download PDF', 'gravity-forms-pdf-extended' ) : esc_html__( 'View PDF', 'gravity-forms-pdf-extended' ); ?>
26
  </a>
21
  ?>
22
 
23
  |
24
+ <a href="<?php echo $is_download ? esc_url( $args['pdf']['download'] ) : esc_url( $args['pdf']['view'] ); ?>"
25
+ class="<?php echo esc_attr( $args['pdf']['class'] ); ?>"
26
+ data-type="<?php echo esc_attr( $args['view'] ); ?>"
27
+ <?php echo $is_download ? '' : 'target="_blank"'; ?>
28
+ >
29
  <?php echo $is_download ? esc_html__( 'Download PDF', 'gravity-forms-pdf-extended' ) : esc_html__( 'View PDF', 'gravity-forms-pdf-extended' ); ?>
30
  </a>
src/View/html/Settings/extensions.php CHANGED
@@ -16,28 +16,35 @@ if ( ! defined( 'ABSPATH' ) ) {
16
 
17
  /** @var $args array */
18
 
 
 
19
  ?>
20
 
21
  <div id="pdfextended-settings">
22
- <h3>
23
- <span>
24
- <i class="fa fa-cogs"></i>
25
- <?php esc_html_e( 'Extensions Settings', 'gravity-forms-pdf-extended' ); ?>
26
- </span>
27
- </h3>
28
-
29
- <form method="post" action="options.php">
30
  <?php settings_fields( 'gfpdf_settings' ); ?>
31
 
32
- <table id="pdf-extensions" class="form-table">
33
- <?php do_settings_fields( 'gfpdf_settings_extensions', 'gfpdf_settings_extensions' ); ?>
34
- </table>
35
 
36
  <?php
37
- if ( $args['edit_cap'] ) {
38
- submit_button();
 
 
 
 
 
 
39
  }
40
  ?>
 
 
 
 
 
 
41
  </form>
42
 
43
  <?php
16
 
17
  /** @var $args array */
18
 
19
+ GFCommon::display_admin_message();
20
+
21
  ?>
22
 
23
  <div id="pdfextended-settings">
24
+
25
+ <!-- Prevent Firefox auto-filling fields on refresh. @see https://stackoverflow.com/a/44504822/1614565 -->
26
+ <form name="gfpdf-settings-form-<?php echo esc_attr( wp_rand() ); ?>" class="gform_settings_form" method="post" action="options.php">
 
 
 
 
 
27
  <?php settings_fields( 'gfpdf_settings' ); ?>
28
 
29
+ <?php do_action( 'gfpdf_settings_sub_menu' ); ?>
 
 
30
 
31
  <?php
32
+ /** @since 6.5.0 */
33
+ if ( isset( $args['callback'] ) ) {
34
+ call_user_func_array( $args['callback'], $args['callback_args'] ?? [] );
35
+ }
36
+
37
+ /** @deprecated 6.5.0 */
38
+ if ( isset( $args['content'] ) ) {
39
+ echo wp_kses_post( $args['content'] );
40
  }
41
  ?>
42
+
43
+ <div id="submit-and-promo-container">
44
+ <?php if ( $args['edit_cap'] ): ?>
45
+ <input type="submit" name="submit" id="submit" value="<?php echo esc_attr__( 'Save Settings →', 'gravityforms' ); ?>" class="button primary large">
46
+ <?php endif; ?>
47
+ </div>
48
  </form>
49
 
50
  <?php
src/View/html/Settings/help.php CHANGED
@@ -16,6 +16,8 @@ if ( ! defined( 'ABSPATH' ) ) {
16
 
17
  /** @var $args array */
18
 
 
 
19
  ?>
20
 
21
  <div id="pdfextended-settings" class="gpdf-help">
16
 
17
  /** @var $args array */
18
 
19
+ GFCommon::display_admin_message();
20
+
21
  ?>
22
 
23
  <div id="pdfextended-settings" class="gpdf-help">
src/View/html/Settings/licence.php CHANGED
@@ -16,6 +16,8 @@ if ( ! defined( 'ABSPATH' ) ) {
16
 
17
  /** @var $args array */
18
 
 
 
19
  ?>
20
 
21
  <div id="pdfextended-settings">
16
 
17
  /** @var $args array */
18
 
19
+ GFCommon::display_admin_message();
20
+
21
  ?>
22
 
23
  <div id="pdfextended-settings">
src/View/html/Settings/tools.php CHANGED
@@ -16,6 +16,8 @@ if ( ! defined( 'ABSPATH' ) ) {
16
 
17
  /** @var $args array */
18
 
 
 
19
  ?>
20
 
21
  <div id="pdfextended-settings">
16
 
17
  /** @var $args array */
18
 
19
+ GFCommon::display_admin_message();
20
+
21
  ?>
22
 
23
  <div id="pdfextended-settings">
src/assets/languages/gravity-forms-pdf-extended.pot CHANGED
@@ -6,7 +6,7 @@ msgstr ""
6
  "MIME-Version: 1.0\n"
7
  "Content-Type: text/plain; charset=UTF-8\n"
8
  "Content-Transfer-Encoding: 8bit\n"
9
- "POT-Creation-Date: 2022-09-21 00:07+0000\n"
10
  "X-Poedit-Basepath: ..\n"
11
  "X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
12
  "X-Poedit-SearchPath-0: .\n"
@@ -98,7 +98,7 @@ msgstr ""
98
  msgid "View Gravity PDF Settings"
99
  msgstr ""
100
 
101
- #: ../../bootstrap.php:309, ../../View/View_Settings.php:173
102
  msgid "Settings"
103
  msgstr ""
104
 
@@ -106,15 +106,15 @@ msgstr ""
106
  msgid "View Gravity PDF Documentation"
107
  msgstr ""
108
 
109
- #: ../../bootstrap.php:329, ../../Helper/Helper_Abstract_Addon.php:646
110
  msgid "Docs"
111
  msgstr ""
112
 
113
- #: ../../bootstrap.php:330, ../../Helper/Helper_Abstract_Addon.php:649
114
  msgid "Get Help and Support"
115
  msgstr ""
116
 
117
- #: ../../bootstrap.php:330, ../../Helper/Helper_Abstract_Addon.php:649
118
  msgid "Support"
119
  msgstr ""
120
 
@@ -122,7 +122,7 @@ msgstr ""
122
  msgid "View Gravity PDF Extensions Shop"
123
  msgstr ""
124
 
125
- #: ../../bootstrap.php:331, ../../View/View_Settings.php:200
126
  msgid "Extensions"
127
  msgstr ""
128
 
@@ -138,7 +138,7 @@ msgstr ""
138
  msgid "Install Core Fonts"
139
  msgstr ""
140
 
141
- #: ../../Controller/Controller_Actions.php:207, ../../Model/Model_Form_Settings.php:171, ../../Model/Model_Form_Settings.php:208, ../../Model/Model_Form_Settings.php:322, ../../View/View_Settings.php:383
142
  msgid "You do not have permission to access this page"
143
  msgstr ""
144
 
@@ -190,11 +190,11 @@ msgstr ""
190
  msgid "There was a problem generating your PDF"
191
  msgstr ""
192
 
193
- #: ../../Helper/Helper_Abstract_Addon.php:611
194
  msgid "%1$sRegister your copy of %2$s%3$s to receive access to automatic upgrades and support. Need a license key? %4$sPurchase one now%5$s."
195
  msgstr ""
196
 
197
- #: ../../Helper/Helper_Abstract_Addon.php:646
198
  msgid "View plugin Documentation"
199
  msgstr ""
200
 
@@ -1382,7 +1382,7 @@ msgstr ""
1382
  msgid "None"
1383
  msgstr ""
1384
 
1385
- #: ../../Helper/Helper_PDF_List_Table.php:280, ../../View/html/PDF/entry_list_pdf_single.php:25
1386
  msgid "Download PDF"
1387
  msgstr ""
1388
 
@@ -1506,15 +1506,15 @@ msgstr ""
1506
  msgid "You do not have access to view this PDF."
1507
  msgstr ""
1508
 
1509
- #: ../../Model/Model_PDF.php:925
1510
  msgid "PDFs"
1511
  msgstr ""
1512
 
1513
- #: ../../Model/Model_PDF.php:1062
1514
  msgid "The PDF could not be saved."
1515
  msgstr ""
1516
 
1517
- #: ../../Model/Model_PDF.php:2071
1518
  msgid "Could not find PDF configuration requested"
1519
  msgstr ""
1520
 
@@ -1614,7 +1614,11 @@ msgstr ""
1614
  msgid "No valid PDF template found in Zip archive."
1615
  msgstr ""
1616
 
1617
- #: ../../Model/Model_Templates.php:396
 
 
 
 
1618
  msgid "The PHP file %s is not a valid PDF Template."
1619
  msgstr ""
1620
 
@@ -1650,39 +1654,39 @@ msgstr ""
1650
  msgid "Appearance"
1651
  msgstr ""
1652
 
1653
- #: ../../View/View_Settings.php:178
1654
  msgid "Tools"
1655
  msgstr ""
1656
 
1657
- #: ../../View/View_Settings.php:183
1658
  msgid "Help"
1659
  msgstr ""
1660
 
1661
- #: ../../View/View_Settings.php:191
1662
  msgid "License"
1663
  msgstr ""
1664
 
1665
- #: ../../View/View_Settings.php:233
1666
  msgid "Default PDF Options"
1667
  msgstr ""
1668
 
1669
- #: ../../View/View_Settings.php:234
1670
  msgid "Control the default settings to use when you create new PDFs on your forms."
1671
  msgstr ""
1672
 
1673
- #: ../../View/View_Settings.php:258
1674
  msgid "Security"
1675
  msgstr ""
1676
 
1677
- #: ../../View/View_Settings.php:291
1678
  msgid "Licensing"
1679
  msgstr ""
1680
 
1681
- #: ../../View/View_Settings.php:414
1682
  msgid "PDF Download Link"
1683
  msgstr ""
1684
 
1685
- #: ../../View/View_Settings.php:414
1686
  msgid "Include the [gravitypdf] shortcode in the form's Confirmation or Notification settings to display a PDF download link. %1$sGet more info%2$s."
1687
  msgstr ""
1688
 
@@ -1843,7 +1847,7 @@ msgstr ""
1843
  msgid "View PDFs"
1844
  msgstr ""
1845
 
1846
- #: ../../View/html/PDF/entry_list_pdf_single.php:25
1847
  msgid "View PDF"
1848
  msgstr ""
1849
 
@@ -1851,27 +1855,23 @@ msgstr ""
1851
  msgid "No PDFs available for this entry."
1852
  msgstr ""
1853
 
1854
- #: ../../View/html/Settings/extensions.php:25
1855
- msgid "Extensions Settings"
1856
- msgstr ""
1857
-
1858
- #: ../../View/html/Settings/help.php:25
1859
  msgid "Get help with Gravity PDF"
1860
  msgstr ""
1861
 
1862
- #: ../../View/html/Settings/help.php:27
1863
  msgid "Search the documentation for an answer to your question. If you need further assistance, contact support and our team will be happy to help."
1864
  msgstr ""
1865
 
1866
- #: ../../View/html/Settings/help.php:32
1867
  msgid "View Documentation"
1868
  msgstr ""
1869
 
1870
- #: ../../View/html/Settings/help.php:33
1871
  msgid "Contact Support"
1872
  msgstr ""
1873
 
1874
- #: ../../View/html/Settings/help.php:36
1875
  msgid "Support hours are 9:00am-5:00pm Monday to Friday, %1$sSydney Australia time%2$s (public holidays excluded)."
1876
  msgstr ""
1877
 
6
  "MIME-Version: 1.0\n"
7
  "Content-Type: text/plain; charset=UTF-8\n"
8
  "Content-Transfer-Encoding: 8bit\n"
9
+ "POT-Creation-Date: 2022-10-23 21:57+0000\n"
10
  "X-Poedit-Basepath: ..\n"
11
  "X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
12
  "X-Poedit-SearchPath-0: .\n"
98
  msgid "View Gravity PDF Settings"
99
  msgstr ""
100
 
101
+ #: ../../bootstrap.php:309, ../../View/View_Settings.php:174
102
  msgid "Settings"
103
  msgstr ""
104
 
106
  msgid "View Gravity PDF Documentation"
107
  msgstr ""
108
 
109
+ #: ../../bootstrap.php:329, ../../Helper/Helper_Abstract_Addon.php:761
110
  msgid "Docs"
111
  msgstr ""
112
 
113
+ #: ../../bootstrap.php:330, ../../Helper/Helper_Abstract_Addon.php:764
114
  msgid "Get Help and Support"
115
  msgstr ""
116
 
117
+ #: ../../bootstrap.php:330, ../../Helper/Helper_Abstract_Addon.php:764
118
  msgid "Support"
119
  msgstr ""
120
 
122
  msgid "View Gravity PDF Extensions Shop"
123
  msgstr ""
124
 
125
+ #: ../../bootstrap.php:331, ../../View/View_Settings.php:208
126
  msgid "Extensions"
127
  msgstr ""
128
 
138
  msgid "Install Core Fonts"
139
  msgstr ""
140
 
141
+ #: ../../Controller/Controller_Actions.php:207, ../../Model/Model_Form_Settings.php:171, ../../Model/Model_Form_Settings.php:208, ../../Model/Model_Form_Settings.php:322, ../../View/View_Settings.php:427
142
  msgid "You do not have permission to access this page"
143
  msgstr ""
144
 
190
  msgid "There was a problem generating your PDF"
191
  msgstr ""
192
 
193
+ #: ../../Helper/Helper_Abstract_Addon.php:726
194
  msgid "%1$sRegister your copy of %2$s%3$s to receive access to automatic upgrades and support. Need a license key? %4$sPurchase one now%5$s."
195
  msgstr ""
196
 
197
+ #: ../../Helper/Helper_Abstract_Addon.php:761
198
  msgid "View plugin Documentation"
199
  msgstr ""
200
 
1382
  msgid "None"
1383
  msgstr ""
1384
 
1385
+ #: ../../Helper/Helper_PDF_List_Table.php:280, ../../View/html/PDF/entry_list_pdf_single.php:29
1386
  msgid "Download PDF"
1387
  msgstr ""
1388
 
1506
  msgid "You do not have access to view this PDF."
1507
  msgstr ""
1508
 
1509
+ #: ../../Model/Model_PDF.php:926
1510
  msgid "PDFs"
1511
  msgstr ""
1512
 
1513
+ #: ../../Model/Model_PDF.php:1063
1514
  msgid "The PDF could not be saved."
1515
  msgstr ""
1516
 
1517
+ #: ../../Model/Model_PDF.php:2072
1518
  msgid "Could not find PDF configuration requested"
1519
  msgstr ""
1520
 
1614
  msgid "No valid PDF template found in Zip archive."
1615
  msgstr ""
1616
 
1617
+ #: ../../Model/Model_Templates.php:388
1618
+ msgid "The filename %s contains invalid characters. Only alphanumeric, hyphen, and underscore allowed."
1619
+ msgstr ""
1620
+
1621
+ #: ../../Model/Model_Templates.php:402
1622
  msgid "The PHP file %s is not a valid PDF Template."
1623
  msgstr ""
1624
 
1654
  msgid "Appearance"
1655
  msgstr ""
1656
 
1657
+ #: ../../View/View_Settings.php:179
1658
  msgid "Tools"
1659
  msgstr ""
1660
 
1661
+ #: ../../View/View_Settings.php:184
1662
  msgid "Help"
1663
  msgstr ""
1664
 
1665
+ #: ../../View/View_Settings.php:192
1666
  msgid "License"
1667
  msgstr ""
1668
 
1669
+ #: ../../View/View_Settings.php:241
1670
  msgid "Default PDF Options"
1671
  msgstr ""
1672
 
1673
+ #: ../../View/View_Settings.php:242
1674
  msgid "Control the default settings to use when you create new PDFs on your forms."
1675
  msgstr ""
1676
 
1677
+ #: ../../View/View_Settings.php:266
1678
  msgid "Security"
1679
  msgstr ""
1680
 
1681
+ #: ../../View/View_Settings.php:299
1682
  msgid "Licensing"
1683
  msgstr ""
1684
 
1685
+ #: ../../View/View_Settings.php:458
1686
  msgid "PDF Download Link"
1687
  msgstr ""
1688
 
1689
+ #: ../../View/View_Settings.php:458
1690
  msgid "Include the [gravitypdf] shortcode in the form's Confirmation or Notification settings to display a PDF download link. %1$sGet more info%2$s."
1691
  msgstr ""
1692
 
1847
  msgid "View PDFs"
1848
  msgstr ""
1849
 
1850
+ #: ../../View/html/PDF/entry_list_pdf_single.php:29
1851
  msgid "View PDF"
1852
  msgstr ""
1853
 
1855
  msgid "No PDFs available for this entry."
1856
  msgstr ""
1857
 
1858
+ #: ../../View/html/Settings/help.php:27
 
 
 
 
1859
  msgid "Get help with Gravity PDF"
1860
  msgstr ""
1861
 
1862
+ #: ../../View/html/Settings/help.php:29
1863
  msgid "Search the documentation for an answer to your question. If you need further assistance, contact support and our team will be happy to help."
1864
  msgstr ""
1865
 
1866
+ #: ../../View/html/Settings/help.php:34
1867
  msgid "View Documentation"
1868
  msgstr ""
1869
 
1870
+ #: ../../View/html/Settings/help.php:35
1871
  msgid "Contact Support"
1872
  msgstr ""
1873
 
1874
+ #: ../../View/html/Settings/help.php:38
1875
  msgid "Support hours are 9:00am-5:00pm Monday to Friday, %1$sSydney Australia time%2$s (public holidays excluded)."
1876
  msgstr ""
1877
 
src/bootstrap.php CHANGED
@@ -911,7 +911,7 @@ class Router implements Helper\Helper_Interface_Actions, Helper\Helper_Interface
911
  }
912
 
913
  /**
914
- * Detect any Gravity PDF messages and convert to Gravity Forms message system
915
  *
916
  * @since 6.0
917
  */
@@ -919,7 +919,11 @@ class Router implements Helper\Helper_Interface_Actions, Helper\Helper_Interface
919
  $messages = get_settings_errors( 'gfpdf-notices' );
920
 
921
  foreach ( $messages as $message ) {
922
- GFCommon::add_message( $message['message'], $message['type'] !== 'updated' );
 
 
 
 
923
  }
924
  }
925
 
911
  }
912
 
913
  /**
914
+ * Detect any Gravity PDF messages and add to our notice system
915
  *
916
  * @since 6.0
917
  */
919
  $messages = get_settings_errors( 'gfpdf-notices' );
920
 
921
  foreach ( $messages as $message ) {
922
+ if ( $message['type'] !== 'updated' ) {
923
+ $this->notices->add_error( $message['message'] );
924
+ } else {
925
+ $this->notices->add_notice( $message['message'] );
926
+ }
927
  }
928
  }
929
 
src/templates/blank-slate.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /*
4
  * Template Name: Blank Slate
5
- * Version: 2.0.0
6
  * Description: A print-friendly template focusing solely on the user-submitted data. Through the Template tab you can control the PDF header and footer, change the background color or image, and show or hide the form title, page names, HTML fields and the Section Break descriptions.
7
  * Author: Gravity PDF
8
  * Author URI: https://gravitypdf.com
@@ -43,7 +43,7 @@ if ( ! class_exists( 'GFForms' ) ) {
43
 
44
  /* Handle GF2.5+ Columns */
45
  .grid {
46
- float: <?php echo $settings['rtl'] === 'Yes' ? 'right' : 'left'; ?>;
47
  }
48
 
49
  .grid .inner-container {
2
 
3
  /*
4
  * Template Name: Blank Slate
5
+ * Version: 2.0.1
6
  * Description: A print-friendly template focusing solely on the user-submitted data. Through the Template tab you can control the PDF header and footer, change the background color or image, and show or hide the form title, page names, HTML fields and the Section Break descriptions.
7
  * Author: Gravity PDF
8
  * Author URI: https://gravitypdf.com
43
 
44
  /* Handle GF2.5+ Columns */
45
  .grid {
46
+ float: <?php echo ( $settings['rtl'] ?? 'No' ) ? 'right' : 'left'; ?>;
47
  }
48
 
49
  .grid .inner-container {
src/templates/focus-gravity.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /*
4
  * Template Name: Focus Gravity
5
- * Version: 2.0.2
6
  * Description: Focus Gravity providing a classic layout which epitomises Gravity Forms Print Preview. It's the familiar layout you've come to love. Through the Template tab you can control the PDF header and footer, change the background color or image, and show or hide the form title, page names, HTML fields and the Section Break descriptions.
7
  * Author: Gravity PDF
8
  * Author URI: https://gravitypdf.com
@@ -55,7 +55,7 @@ $label_format = $settings['focusgravity_label_format'] ?? 'combined_label';
55
 
56
  /* Handle GF2.5+ Columns */
57
  .grid {
58
- float: <?php echo $settings['rtl'] === 'Yes' ? 'right' : 'left'; ?>;
59
  }
60
 
61
  .grid .inner-container {
2
 
3
  /*
4
  * Template Name: Focus Gravity
5
+ * Version: 2.0.3
6
  * Description: Focus Gravity providing a classic layout which epitomises Gravity Forms Print Preview. It's the familiar layout you've come to love. Through the Template tab you can control the PDF header and footer, change the background color or image, and show or hide the form title, page names, HTML fields and the Section Break descriptions.
7
  * Author: Gravity PDF
8
  * Author URI: https://gravitypdf.com
55
 
56
  /* Handle GF2.5+ Columns */
57
  .grid {
58
+ float: <?php echo ( $settings['rtl'] ?? 'No' ) ? 'right' : 'left'; ?>;
59
  }
60
 
61
  .grid .inner-container {
src/templates/rubix.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /*
4
  * Template Name: Rubix
5
- * Version: 2.0.1
6
  * Description: Rubix uses stylish containers to create an aesthetically pleasing design. Through the Template tab you can control the PDF header and footer, change the background color or image, and show or hide the form title, page names, HTML fields and the Section Break descriptions.
7
  * Author: Gravity PDF
8
  * Author URI: https://gravitypdf.com
@@ -52,7 +52,7 @@ $contrast = $misc->get_background_and_border_contrast( $container_background_col
52
 
53
  /* Handle GF2.5+ Columns */
54
  .grid {
55
- float: <?php echo $settings['rtl'] === 'Yes' ? 'right' : 'left'; ?>;
56
  }
57
 
58
  .grid .inner-container {
2
 
3
  /*
4
  * Template Name: Rubix
5
+ * Version: 2.0.2
6
  * Description: Rubix uses stylish containers to create an aesthetically pleasing design. Through the Template tab you can control the PDF header and footer, change the background color or image, and show or hide the form title, page names, HTML fields and the Section Break descriptions.
7
  * Author: Gravity PDF
8
  * Author URI: https://gravitypdf.com
52
 
53
  /* Handle GF2.5+ Columns */
54
  .grid {
55
+ float: <?php echo ( $settings['rtl'] ?? 'No' ) ? 'right' : 'left'; ?>;
56
  }
57
 
58
  .grid .inner-container {
src/templates/zadani.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /*
4
  * Template Name: Zadani
5
- * Version: 2.0.1
6
  * Description: A minimalist business-style template that will generate a well-spaced document great for printing. Through the Template tab you can control the PDF header and footer, change the background color or image, and show or hide the form title, page names, HTML fields and the Section Break descriptions.
7
  * Author: Gravity PDF
8
  * Author URI: https://gravitypdf.com
@@ -48,7 +48,7 @@ $value_border_colour = $settings['zadani_border_colour'] ?? '#CCCCCC';
48
 
49
  /* Handle GF2.5+ Columns */
50
  .grid {
51
- float: <?php echo $settings['rtl'] === 'Yes' ? 'right' : 'left'; ?>;
52
  }
53
 
54
  .grid .inner-container {
2
 
3
  /*
4
  * Template Name: Zadani
5
+ * Version: 2.0.2
6
  * Description: A minimalist business-style template that will generate a well-spaced document great for printing. Through the Template tab you can control the PDF header and footer, change the background color or image, and show or hide the form title, page names, HTML fields and the Section Break descriptions.
7
  * Author: Gravity PDF
8
  * Author URI: https://gravitypdf.com
48
 
49
  /* Handle GF2.5+ Columns */
50
  .grid {
51
+ float: <?php echo ( $settings['rtl'] ?? 'No' ) === 'Yes' ? 'right' : 'left'; ?>;
52
  }
53
 
54
  .grid .inner-container {
vendor/autoload.php CHANGED
@@ -3,8 +3,21 @@
3
  // autoload.php @generated by Composer
4
 
5
  if (PHP_VERSION_ID < 50600) {
6
- echo 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
7
- exit(1);
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  }
9
 
10
  require_once __DIR__ . '/composer/autoload_real.php';
3
  // autoload.php @generated by Composer
4
 
5
  if (PHP_VERSION_ID < 50600) {
6
+ if (!headers_sent()) {
7
+ header('HTTP/1.1 500 Internal Server Error');
8
+ }
9
+ $err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
10
+ if (!ini_get('display_errors')) {
11
+ if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
12
+ fwrite(STDERR, $err);
13
+ } elseif (!headers_sent()) {
14
+ echo $err;
15
+ }
16
+ }
17
+ trigger_error(
18
+ $err,
19
+ E_USER_ERROR
20
+ );
21
  }
22
 
23
  require_once __DIR__ . '/composer/autoload_real.php';
vendor/composer/installed.php CHANGED
@@ -1,9 +1,9 @@
1
  <?php return array(
2
  'root' => array(
3
  'name' => 'gravitypdf/gravitypdf',
4
- 'pretty_version' => '6.4.7',
5
- 'version' => '6.4.7.0',
6
- 'reference' => 'a24444c11e693e63e695fb5b238962b506756908',
7
  'type' => 'library',
8
  'install_path' => __DIR__ . '/../../',
9
  'aliases' => array(),
@@ -20,9 +20,9 @@
20
  'dev_requirement' => false,
21
  ),
22
  'gravitypdf/gravitypdf' => array(
23
- 'pretty_version' => '6.4.7',
24
- 'version' => '6.4.7.0',
25
- 'reference' => 'a24444c11e693e63e695fb5b238962b506756908',
26
  'type' => 'library',
27
  'install_path' => __DIR__ . '/../../',
28
  'aliases' => array(),
1
  <?php return array(
2
  'root' => array(
3
  'name' => 'gravitypdf/gravitypdf',
4
+ 'pretty_version' => '6.5.0',
5
+ 'version' => '6.5.0.0',
6
+ 'reference' => '03285076ab5293f26e9ad0f410905727107db00d',
7
  'type' => 'library',
8
  'install_path' => __DIR__ . '/../../',
9
  'aliases' => array(),
20
  'dev_requirement' => false,
21
  ),
22
  'gravitypdf/gravitypdf' => array(
23
+ 'pretty_version' => '6.5.0',
24
+ 'version' => '6.5.0.0',
25
+ 'reference' => '03285076ab5293f26e9ad0f410905727107db00d',
26
  'type' => 'library',
27
  'install_path' => __DIR__ . '/../../',
28
  'aliases' => array(),