PageSourceSearch

https://guinnessworldrecords.es/account/main.js

js guinnessworldrecords.es collected 2026-10-02 04:55:12 UTC 1,963,158 bytes, 153 lines download raw bytes

vendor: 4,538 bytes, lines 1-2
1/*! For license information please see main.js.LICENSE.txt */
2(()=>{var e,t,n,r,o={354:function(e){e.exports=function(){"use strict";var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};function t(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}var n=function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};function r(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})}function o(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}function i(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||t)}for(var a=function(){function e(e,t,n,r){this.left=e,this.top=t,this.width=n,this.height=r}return e.prototype.add=function(t,n,r,o){return new e(this.left+t,this.top+n,this.width+r,this.height+o)},e.fromClientRect=function(t,n){return new e(n.left+t.windowBounds.left,n.top+t.windowBounds.top,n.width,n.height)},e.fromDOMRectList=function(t,n){var r=Array.from(n).find(function(e){return 0!==e.width});return r?new e(r.left+t.windowBounds.left,r.top+t.windowBounds.top,r.width,r.height):e.EMPTY},e.EMPTY=new e(0,0,0,0),e}(),s=function(e,t){return a.fromClientRect(e,t.getBoundingClientRect())},l=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t},c=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return"";for(var r=[],o=-1,i="";++o<n;){var a=e[o];a<=65535?r.push(a):(a-=65536,r.push(55296+(a>>10),a%1024+56320)),(o+1===n||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u="undefined"==typeof Uint8Array?[]:new Uint8Array(256),d=0;d<64;d++)u[A.charCodeAt(d)]=d;for(var p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f="undefined"==typeof Uint8Array?[]:new Uint8Array(256),h=0;h<64;h++)f[p.charCodeAt(h)]=h;for(var m=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},g=function(){function e(e,t,n,r,o,i){this.initialValue=e,this.errorValue=t,this.highStart=n,this.highValueIndex=r,this.index=o,this.data=i}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=((t=this.index[e>>5])<<2)+(31&e),this.data[t];if(e<=65535)return t=((t=this.index[2048+(e-55296>>5)])<<2)+(31&e),this.data[t];if(e<this.highStart)return t=2080+(e>>11),t=this.index[t],t+=e>>5&63,t=((t=this.index[t])<<2)+(31&e),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
2+/",w="undefined"==typeof Uint8Array?[]:new Uint8Array(256),v=0;v<64;v++)w[y.charCodeAt(v)]=v;var b=10,x=13,_=15,B=17,C=18,k=19,S=20,j=21,E=22,F=24,N=25,U=26,L=27,I=28,P=30,Q=32,T=33,D=34,O=35,R=37,M=38,H=39,z=40,K=42,$=[9001,65288],V="×",q="÷",W=function(e){var t,n,r,o=function(e){var t,n,r,o,i,a=.75*e.length,s=e.length,l=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var c="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(a):new Array(a),A=Array.isArray(c)?c:new Uint8Array(c);for(t=0;t<s;t+=4)n=f[e.charCodeAt(t)],r=f[e.charCodeAt(t+1)],o=f[e.charCodeAt(t+2)],i=f[e.charCodeAt(t+3)],A[l++]=n<<2|r>>4,A[l++]=(15&r)<<4|o>>2,A[l++]=(3&o)<<6|63&i;return c}(e),i=Array.isArray(o)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=4)n.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return n}(o):new Uint32Array(o),a=Array.isArray(o)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n.push(e[r+1]<<8|e[r]);return n}(o):new Uint16Array(o),s=m(a,12,i[4]/2),l=2===i[5]?m(a,(24+i[4])/2):(t=i,n=Math.ceil((24+i[4])/4),t.slice?t.slice(n,r):new Uint32Array(Array.prototype.slice.call(t,n,r)));return new g(i[0],i[1],i[2],i[3],s,l)}(
vendor: 52,890 bytes, line 2
2"KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA=="
vendor: 43,494 bytes, line 2
2),G=[P,36],Y=[1,2,3,5],X=[b,8],J=[L,U],Z=Y.concat(X),ee=[M,H,z,D,O],te=[_,x],ne=function(e,t,n,r){var o=r[n];if(Array.isArray(e)?-1!==e.indexOf(o):e===o)for(var i=n;i<=r.length;){if((l=r[++i])===t)return!0;if(l!==b)break}if(o===b)for(i=n;i>0;){var a=r[--i];if(Array.isArray(e)?-1!==e.indexOf(a):e===a)for(var s=n;s<=r.length;){var l;if((l=r[++s])===t)return!0;if(l!==b)break}if(a!==b)break}return!1},re=function(e,t){for(var n=e;n>=0;){var r=t[n];if(r!==b)return r;n--}return 0},oe=function(e,t,n,r,o){if(0===n[r])return V;var i=r-1;if(Array.isArray(o)&&!0===o[i])return V;var a=i-1,s=i+1,l=t[i],c=a>=0?t[a]:0,A=t[s];if(2===l&&3===A)return V;if(-1!==Y.indexOf(l))return"!";if(-1!==Y.indexOf(A))return V;if(-1!==X.indexOf(A))return V;if(8===re(i,t))return q;if(11===W.get(e[i]))return V;if((l===Q||l===T)&&11===W.get(e[s]))return V;if(7===l||7===A)return V;if(9===l)return V;if(-1===[b,x,_].indexOf(l)&&9===A)return V;if(-1!==[B,C,k,F,I].indexOf(A))return V;if(re(i,t)===E)return V;if(ne(23,E,i,t))return V;if(ne([B,C],j,i,t))return V;if(ne(12,12,i,t))return V;if(l===b)return q;if(23===l||23===A)return V;if(16===A||16===l)return q;if(-1!==[x,_,j].indexOf(A)||14===l)return V;if(36===c&&-1!==te.indexOf(l))return V;if(l===I&&36===A)return V;if(A===S)return V;if(-1!==G.indexOf(A)&&l===N||-1!==G.indexOf(l)&&A===N)return V;if(l===L&&-1!==[R,Q,T].indexOf(A)||-1!==[R,Q,T].indexOf(l)&&A===U)return V;if(-1!==G.indexOf(l)&&-1!==J.indexOf(A)||-1!==J.indexOf(l)&&-1!==G.indexOf(A))return V;if(-1!==[L,U].indexOf(l)&&(A===N||-1!==[E,_].indexOf(A)&&t[s+1]===N)||-1!==[E,_].indexOf(l)&&A===N||l===N&&-1!==[N,I,F].indexOf(A))return V;if(-1!==[N,I,F,B,C].indexOf(A))for(var u=i;u>=0;){if((d=t[u])===N)return V;if(-1===[I,F].indexOf(d))break;u--}if(-1!==[L,U].indexOf(A))for(u=-1!==[B,C].indexOf(l)?a:i;u>=0;){var d;if((d=t[u])===N)return V;if(-1===[I,F].indexOf(d))break;u--}if(M===l&&-1!==[M,H,D,O].indexOf(A)||-1!==[H,D].indexOf(l)&&-1!==[H,z].indexOf(A)||-1!==[z,O].indexOf(l)&&A===z)return V;if(-1!==ee.indexOf(l)&&-1!==[S,U].indexOf(A)||-1!==ee.indexOf(A)&&l===L)return V;if(-1!==G.indexOf(l)&&-1!==G.indexOf(A))return V;if(l===F&&-1!==G.indexOf(A))return V;if(-1!==G.concat(N).indexOf(l)&&A===E&&-1===$.indexOf(e[s])||-1!==G.concat(N).indexOf(A)&&l===C)return V;if(41===l&&41===A){for(var p=n[i],f=1;p>0&&41===t[--p];)f++;if(f%2!=0)return V}return l===Q&&A===T?V:q},ie=function(e,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var n=function(e,t){void 0===t&&(t="strict");var n=[],r=[],o=[];return e.forEach(function(e,i){var a=W.get(e);if(a>50?(o.push(!0),a-=50):o.push(!1),-1!==["normal","auto","loose"].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(e))return r.push(i),n.push(16);if(4===a||11===a){if(0===i)return r.push(i),n.push(P);var s=n[i-1];return-1===Z.indexOf(s)?(r.push(r[i-1]),n.push(s)):(r.push(i),n.push(P))}return r.push(i),31===a?n.push("strict"===t?j:R):a===K||29===a?n.push(P):43===a?e>=131072&&e<=196605||e>=196608&&e<=262141?n.push(R):n.push(P):void n.push(a)}),[r,n,o]}(e,t.lineBreak),r=n[0],o=n[1],i=n[2];"break-all"!==t.wordBreak&&"break-word"!==t.wordBreak||(o=o.map(function(e){return-1!==[N,P,K].indexOf(e)?R:e}));var a="keep-all"===t.wordBreak?i.map(function(t,n){return t&&e[n]>=19968&&e[n]<=40959}):void 0;return[r,o,a]},ae=function(){function e(e,t,n,r){this.codePoints=e,this.required="!"===t,this.start=n,this.end=r}return e.prototype.slice=function(){return c.apply(void 0,this.codePoints.slice(this.start,this.end))},e}(),se=45,le=43,ce=-1,Ae=function(e){return e>=48&&e<=57},ue=function(e){return Ae(e)||e>=65&&e<=70||e>=97&&e<=102},de=function(e){return 10===e||9===e||32===e},pe=function(e){return function(e){return function(e){return e>=97&&e<=122}(e)||function(e){return e>=65&&e<=90}(e)}(e)||function(e){return e>=128}(e)||95===e},fe=function(e){return pe(e)||Ae(e)||e===se},he=function(e){return e>=0&&e<=8||11===e||e>=14&&e<=31||127===e},me=function(e,t){return 92===e&&10!==t},ge=function(e,t,n){return e===se?pe(t)||me(t,n):!!pe(e)||!(92!==e||!me(e,t))},ye=function(e,t,n){return e===le||e===se?!!Ae(t)||46===t&&Ae(n):Ae(46===e?t:e)},we=function(e){var t=0,n=1;e[t]!==le&&e[t]!==se||(e[t]===se&&(n=-1),t++);for(var r=[];Ae(e[t]);)r.push(e[t++]);var o=r.length?parseInt(c.apply(void 0,r),10):0;46===e[t]&&t++;for(var i=[];Ae(e[t]);)i.push(e[t++]);var a=i.length,s=a?parseInt(c.apply(void 0,i),10):0;69!==e[t]&&101!==e[t]||t++;var l=1;e[t]!==le&&e[t]!==se||(e[t]===se&&(l=-1),t++);for(var A=[];Ae(e[t]);)A.push(e[t++]);var u=A.length?parseInt(c.apply(void 0,A),10):0;return n*(o+s*Math.pow(10,-a))*Math.pow(10,l*u)},ve={type:2},be={type:3},xe={type:4},_e={type:13},Be={type:8},Ce={type:21},ke={type:9},Se={type:10},je={type:11},Ee={type:12},Fe={type:14},Ne={type:23},Ue={type:1},Le={type:25},Ie={type:24},Pe={type:26},Qe={type:27},Te={type:28},De={type:29},Oe={type:31},Re={type:32},Me=function(){function e(){this._value=[]}return e.prototype.write=function(e){this._value=this._value.concat(l(e))},e.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==Re;)e.push(t),t=this.consumeToken();return e},e.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case 34:return this.consumeStringToken(34);case 35:var t=this.peekCodePoint(0),n=this.peekCodePoint(1),r=this.peekCodePoint(2);if(fe(t)||me(n,r)){var o=ge(t,n,r)?2:1;return{type:5,value:this.consumeName(),flags:o}}break;case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),_e;break;case 39:return this.consumeStringToken(39);case 40:return ve;case 41:return be;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Fe;break;case le:if(ye(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case 44:return xe;case se:var i=e,a=this.peekCodePoint(0),s=this.peekCodePoint(1);if(ye(i,a,s))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(ge(i,a,s))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(a===se&&62===s)return this.consumeCodePoint(),this.consumeCodePoint(),Ie;break;case 46:if(ye(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){var l=this.consumeCodePoint();if(42===l&&47===(l=this.consumeCodePoint()))return this.consumeToken();if(l===ce)return this.consumeToken()}break;case 58:return Pe;case 59:return Qe;case 60:if(33===this.peekCodePoint(0)&&this.peekCodePoint(1)===se&&this.peekCodePoint(2)===se)return this.consumeCodePoint(),this.consumeCodePoint(),Le;break;case 64:var A=this.peekCodePoint(0),u=this.peekCodePoint(1),d=this.peekCodePoint(2);if(ge(A,u,d))return{type:7,value:this.consumeName()};break;case 91:return Te;case 92:if(me(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case 93:return De;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Be;break;case 123:return je;case 125:return Ee;case 117:case 85:var p=this.peekCodePoint(0),f=this.peekCodePoint(1);return p!==le||!ue(f)&&63!==f||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),ke;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),Ce;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Se;break;case ce:return Re}return de(e)?(this.consumeWhiteSpace(),Oe):Ae(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):pe(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:c(e)}},e.prototype.consumeCodePoint=function(){var e=this._value.shift();return void 0===e?-1:e},e.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},e.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},e.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();ue(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var n=!1;63===t&&e.length<6;)e.push(t),t=this.consumeCodePoint(),n=!0;if(n)return{type:30,start:parseInt(c.apply(void 0,e.map(function(e){return 63===e?48:e})),16),end:parseInt(c.apply(void 0,e.map(function(e){return 63===e?70:e})),16)};var r=parseInt(c.apply(void 0,e),16);if(this.peekCodePoint(0)===se&&ue(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var o=[];ue(t)&&o.length<6;)o.push(t),t=this.consumeCodePoint();return{type:30,start:r,end:parseInt(c.apply(void 0,o),16)}}return{type:30,start:r,end:r}},e.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return"url"===e.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},e.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===ce)return{type:22,value:""};var t=this.peekCodePoint(0);if(39===t||34===t){var n=this.consumeStringToken(this.consumeCodePoint());return 0===n.type&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===ce||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:22,value:n.value}):(this.consumeBadUrlRemnants(),Ne)}for(;;){var r=this.consumeCodePoint();if(r===ce||41===r)return{type:22,value:c.apply(void 0,e)};if(de(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===ce||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:22,value:c.apply(void 0,e)}):(this.consumeBadUrlRemnants(),Ne);if(34===r||39===r||40===r||he(r))return this.consumeBadUrlRemnants(),Ne;if(92===r){if(!me(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),Ne;e.push(this.consumeEscapedCodePoint())}else e.push(r)}},e.prototype.consumeWhiteSpace=function(){for(;de(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(41===e||e===ce)return;me(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(e){for(var t="";e>0;){var n=Math.min(5e4,e);t+=c.apply(void 0,this._value.splice(0,n)),e-=n}return this._value.shift(),t},e.prototype.consumeStringToken=function(e){for(var t="",n=0;;){var r=this._value[n];if(r===ce||void 0===r||r===e)return{type:0,value:t+=this.consumeStringSlice(n)};if(10===r)return this._value.splice(0,n),Ue;if(92===r){var o=this._value[n+1];o!==ce&&void 0!==o&&(10===o?(t+=this.consumeStringSlice(n),n=-1,this._value.shift()):me(r,o)&&(t+=this.consumeStringSlice(n),t+=c(this.consumeEscapedCodePoint()),n=-1))}n++}},e.prototype.consumeNumber=function(){var e=[],t=4,n=this.peekCodePoint(0);for(n!==le&&n!==se||e.push(this.consumeCodePoint());Ae(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(46===n&&Ae(r))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;Ae(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0),r=this.peekCodePoint(1);var o=this.peekCodePoint(2);if((69===n||101===n)&&((r===le||r===se)&&Ae(o)||Ae(r)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;Ae(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[we(e),t]},e.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],n=e[1],r=this.peekCodePoint(0),o=this.peekCodePoint(1),i=this.peekCodePoint(2);return ge(r,o,i)?{type:15,number:t,flags:n,unit:this.consumeName()}:37===r?(this.consumeCodePoint(),{type:16,number:t,flags:n}):{type:17,number:t,flags:n}},e.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(ue(e)){for(var t=c(e);ue(this.peekCodePoint(0))&&t.length<6;)t+=c(this.consumeCodePoint());de(this.peekCodePoint(0))&&this.consumeCodePoint();var n=parseInt(t,16);return 0===n||function(e){return e>=55296&&e<=57343}(n)||n>1114111?65533:n}return e===ce?65533:e},e.prototype.consumeName=function(){for(var e="";;){var t=this.consumeCodePoint();if(fe(t))e+=c(t);else{if(!me(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),e;e+=c(this.consumeEscapedCodePoint())}}},e}(),He=function(){function e(e){this._tokens=e}return e.create=function(t){var n=new Me;return n.write(t),new e(n.read())},e.parseValue=function(t){return e.create(t).parseComponentValue()},e.parseValues=function(t){return e.create(t).parseComponentValues()},e.prototype.parseComponentValue=function(){for(var e=this.consumeToken();31===e.type;)e=this.consumeToken();if(32===e.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do{e=this.consumeToken()}while(31===e.type);if(32===e.type)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(32===t.type)return e;e.push(t),e.push()}},e.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},e.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},n=this.consumeToken();;){if(32===n.type||Xe(n,e))return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue()),n=this.consumeToken()}},e.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:18};;){var n=this.consumeToken();if(32===n.type||3===n.type)return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var e=this._tokens.shift();return void 0===e?Re:e},e.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},e}(),ze=function(e){return 15===e.type},Ke=function(e){return 17===e.type},$e=function(e){return 20===e.type},Ve=function(e){return 0===e.type},qe=function(e,t){return $e(e)&&e.value===t},We=function(e){return 31!==e.type},Ge=function(e){return 31!==e.type&&4!==e.type},Ye=function(e){var t=[],n=[];return e.forEach(function(e){if(4===e.type){if(0===n.length)throw new Error("Error parsing function args, zero tokens for arg");return t.push(n),void(n=[])}31!==e.type&&n.push(e)}),n.length&&t.push(n),t},Xe=function(e,t){return 11===t&&12===e.type||28===t&&29===e.type||2===t&&3===e.type},Je=function(e){return 17===e.type||15===e.type},Ze=function(e){return 16===e.type||Je(e)},et=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},tt={type:17,number:0,flags:4},nt={type:16,number:50,flags:4},rt={type:16,number:100,flags:4},ot=function(e,t,n){var r=e[0],o=e[1];return[it(r,t),it(void 0!==o?o:r,n)]},it=function(e,t){if(16===e.type)return e.number/100*t;if(ze(e))switch(e.unit){case"rem":case"em":return 16*e.number;default:return e.number}return e.number},at="grad",st="turn",lt=function(e,t){if(15===t.type)switch(t.unit){case"deg":return Math.PI*t.number/180;case at:return Math.PI/200*t.number;case"rad":return t.number;case st:return 2*Math.PI*t.number}throw new Error("Unsupported angle type")},ct=function(e){return 15===e.type&&("deg"===e.unit||e.unit===at||"rad"===e.unit||e.unit===st)},At=function(e){switch(e.filter($e).map(function(e){return e.value}).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[tt,tt];case"to top":case"bottom":return ut(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[tt,rt];case"to right":case"left":return ut(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[rt,rt];case"to bottom":case"top":return ut(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[rt,tt];case"to left":case"right":return ut(270)}return 0},ut=function(e){return Math.PI*e/180},dt=function(e,t){if(18===t.type){var n=vt[t.name];if(void 0===n)throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return n(e,t.values)}if(5===t.type){if(3===t.value.length){var r=t.value.substring(0,1),o=t.value.substring(1,2),i=t.value.substring(2,3);return ht(parseInt(r+r,16),parseInt(o+o,16),parseInt(i+i,16),1)}if(4===t.value.length){r=t.value.substring(0,1),o=t.value.substring(1,2),i=t.value.substring(2,3);var a=t.value.substring(3,4);return ht(parseInt(r+r,16),parseInt(o+o,16),parseInt(i+i,16),parseInt(a+a,16)/255)}if(6===t.value.length)return r=t.value.substring(0,2),o=t.value.substring(2,4),i=t.value.substring(4,6),ht(parseInt(r,16),parseInt(o,16),parseInt(i,16),1);if(8===t.value.length)return r=t.value.substring(0,2),o=t.value.substring(2,4),i=t.value.substring(4,6),a=t.value.substring(6,8),ht(parseInt(r,16),parseInt(o,16),parseInt(i,16),parseInt(a,16)/255)}if(20===t.type){var s=xt[t.value.toUpperCase()];if(void 0!==s)return s}return xt.TRANSPARENT},pt=function(e){return!(255&e)},ft=function(e){var t=255&e,n=255&e>>8,r=255&e>>16,o=255&e>>24;return t<255?"rgba("+o+","+r+","+n+","+t/255+")":"rgb("+o+","+r+","+n+")"},ht=function(e,t,n,r){return(e<<24|t<<16|n<<8|Math.round(255*r))>>>0},mt=function(e,t){if(17===e.type)return e.number;if(16===e.type){var n=3===t?1:255;return 3===t?e.number/100*n:Math.round(e.number/100*n)}return 0},gt=function(e,t){var n=t.filter(Ge);if(3===n.length){var r=n.map(mt),o=r[0],i=r[1],a=r[2];return ht(o,i,a,1)}if(4===n.length){var s=n.map(mt),l=(o=s[0],i=s[1],a=s[2],s[3]);return ht(o,i,a,l)}return 0};function yt(e,t,n){return n<0&&(n+=1),n>=1&&(n-=1),n<1/6?(t-e)*n*6+e:n<.5?t:n<2/3?6*(t-e)*(2/3-n)+e:e}var wt=function(e,t){var n=t.filter(Ge),r=n[0],o=n[1],i=n[2],a=n[3],s=(17===r.type?ut(r.number):lt(e,r))/(2*Math.PI),l=Ze(o)?o.number/100:0,c=Ze(i)?i.number/100:0,A=void 0!==a&&Ze(a)?it(a,1):1;if(0===l)return ht(255*c,255*c,255*c,1);var u=c<=.5?c*(l+1):c+l-c*l,d=2*c-u,p=yt(d,u,s+1/3),f=yt(d,u,s),h=yt(d,u,s-1/3);return ht(255*p,255*f,255*h,A)},vt={hsl:wt,hsla:wt,rgb:gt,rgba:gt},bt=function(e,t){return dt(e,He.create(t).parseComponentValue())},xt={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},_t={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map(function(e){if($e(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Bt={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Ct=function(e,t){var n=dt(e,t[0]),r=t[1];return r&&Ze(r)?{color:n,stop:r}:{color:n,stop:null}},kt=function(e,t){var n=e[0],r=e[e.length-1];null===n.stop&&(n.stop=tt),null===r.stop&&(r.stop=rt);for(var o=[],i=0,a=0;a<e.length;a++){var s=e[a].stop;if(null!==s){var l=it(s,t);l>i?o.push(l):o.push(i),i=l}else o.push(null)}var c=null;for(a=0;a<o.length;a++){var A=o[a];if(null===A)null===c&&(c=a);else if(null!==c){for(var u=a-c,d=(A-o[c-1])/(u+1),p=1;p<=u;p++)o[c+p-1]=d*p;c=null}}return e.map(function(e,n){return{color:e.color,stop:Math.max(Math.min(1,o[n]/t),0)}})},St=function(e,t,n){var r="number"==typeof e?e:function(e,t,n){var r=t/2,o=n/2,i=it(e[0],t)-r,a=o-it(e[1],n);return(Math.atan2(a,i)+2*Math.PI)%(2*Math.PI)}(e,t,n),o=Math.abs(t*Math.sin(r))+Math.abs(n*Math.cos(r)),i=t/2,a=n/2,s=o/2,l=Math.sin(r-Math.PI/2)*s,c=Math.cos(r-Math.PI/2)*s;return[o,i-c,i+c,a-l,a+l]},jt=function(e,t){return Math.sqrt(e*e+t*t)},Et=function(e,t,n,r,o){return[[0,0],[0,t],[e,0],[e,t]].reduce(function(e,t){var i=t[0],a=t[1],s=jt(n-i,r-a);return(o?s<e.optimumDistance:s>e.optimumDistance)?{optimumCorner:t,optimumDistance:s}:e},{optimumDistance:o?1/0:-1/0,optimumCorner:null}).optimumCorner},Ft=function(e,t){var n=ut(180),r=[];return Ye(t).forEach(function(t,o){if(0===o){var i=t[0];if(20===i.type&&-1!==["top","left","right","bottom"].indexOf(i.value))return void(n=At(t));if(ct(i))return void(n=(lt(e,i)+ut(270))%ut(360))}var a=Ct(e,t);r.push(a)}),{angle:n,stops:r,type:1}},Nt="closest-side",Ut="farthest-side",Lt="closest-corner",It="farthest-corner",Pt="circle",Qt="ellipse",Tt="cover",Dt="contain",Ot=function(e,t){var n=0,r=3,o=[],i=[];return Ye(t).forEach(function(t,a){var s=!0;if(0===a?s=t.reduce(function(e,t){if($e(t))switch(t.value){case"center":return i.push(nt),!1;case"top":case"left":return i.push(tt),!1;case"right":case"bottom":return i.push(rt),!1}else if(Ze(t)||Je(t))return i.push(t),!1;return e},s):1===a&&(s=t.reduce(function(e,t){if($e(t))switch(t.value){case Pt:return n=0,!1;case Qt:return n=1,!1;case Dt:case Nt:return r=0,!1;case Ut:return r=1,!1;case Lt:return r=2,!1;case Tt:case It:return r=3,!1}else if(Je(t)||Ze(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return e},s)),s){var l=Ct(e,t);o.push(l)}}),{size:r,shape:n,stops:o,position:i,type:2}},Rt=function(e,t){if(22===t.type){var n={url:t.value,type:0};return e.cache.addImage(t.value),n}if(18===t.type){var r=Ht[t.name];if(void 0===r)throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return r(e,t.values)}throw new Error("Unsupported image type "+t.type)};var Mt,Ht={"linear-gradient":function(e,t){var n=ut(180),r=[];return Ye(t).forEach(function(t,o){if(0===o){var i=t[0];if(20===i.type&&"to"===i.value)return void(n=At(t));if(ct(i))return void(n=lt(e,i))}var a=Ct(e,t);r.push(a)}),{angle:n,stops:r,type:1}},"-moz-linear-gradient":Ft,"-ms-linear-gradient":Ft,"-o-linear-gradient":Ft,"-webkit-linear-gradient":Ft,"radial-gradient":function(e,t){var n=0,r=3,o=[],i=[];return Ye(t).forEach(function(t,a){var s=!0;if(0===a){var l=!1;s=t.reduce(function(e,t){if(l)if($e(t))switch(t.value){case"center":return i.push(nt),e;case"top":case"left":return i.push(tt),e;case"right":case"bottom":return i.push(rt),e}else(Ze(t)||Je(t))&&i.push(t);else if($e(t))switch(t.value){case Pt:return n=0,!1;case Qt:return n=1,!1;case"at":return l=!0,!1;case Nt:return r=0,!1;case Tt:case Ut:return r=1,!1;case Dt:case Lt:return r=2,!1;case It:return r=3,!1}else if(Je(t)||Ze(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return e},s)}if(s){var c=Ct(e,t);o.push(c)}}),{size:r,shape:n,stops:o,position:i,type:2}},"-moz-radial-gradient":Ot,"-ms-radial-gradient":Ot,"-o-radial-gradient":Ot,"-webkit-radial-gradient":Ot,"-webkit-gradient":function(e,t){var n=ut(180),r=[],o=1;return Ye(t).forEach(function(t,n){var i=t[0];if(0===n){if($e(i)&&"linear"===i.value)return void(o=1);if($e(i)&&"radial"===i.value)return void(o=2)}if(18===i.type)if("from"===i.name){var a=dt(e,i.values[0]);r.push({stop:tt,color:a})}else if("to"===i.name)a=dt(e,i.values[0]),r.push({stop:rt,color:a});else if("color-stop"===i.name){var s=i.values.filter(Ge);if(2===s.length){a=dt(e,s[1]);var l=s[0];Ke(l)&&r.push({stop:{type:16,number:100*l.number,flags:l.flags},color:a})}}}),1===o?{angle:(n+ut(180))%ut(360),stops:r,type:o}:{size:3,shape:0,stops:r,position:[],type:o}}},zt={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var n=t[0];return 20===n.type&&"none"===n.value?[]:t.filter(function(e){return Ge(e)&&function(e){return!(20===e.type&&"none"===e.value||18===e.type&&!Ht[e.name])}(e)}).map(function(t){return Rt(e,t)})}},Kt={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map(function(e){if($e(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},$t={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(e,t){return Ye(t).map(function(e){return e.filter(Ze)}).map(et)}},Vt={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(e,t){return Ye(t).map(function(e){return e.filter($e).map(function(e){return e.value}).join(" ")}).map(qt)}},qt=function(e){switch(e){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}};!function(e){e.AUTO="auto",e.CONTAIN="contain",e.COVER="cover"}(Mt||(Mt={}));var Wt,Gt={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(e,t){return Ye(t).map(function(e){return e.filter(Yt)})}},Yt=function(e){return $e(e)||Ze(e)},Xt=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Jt=Xt("top"),Zt=Xt("right"),en=Xt("bottom"),tn=Xt("left"),nn=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return et(t.filter(Ze))}}},rn=nn("top-left"),on=nn("top-right"),an=nn("bottom-right"),sn=nn("bottom-left"),ln=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},cn=ln("top"),An=ln("right"),un=ln("bottom"),dn=ln("left"),pn=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return ze(t)?t.number:0}}},fn=pn("top"),hn=pn("right"),mn=pn("bottom"),gn=pn("left"),yn={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},wn={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(e,t){return"rtl"===t?1:0}},vn={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(e,t){return t.filter($e).reduce(function(e,t){return e|bn(t.value)},0)}},bn=function(e){switch(e){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},xn={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},_n={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(e,t){return 20===t.type&&"normal"===t.value?0:17===t.type||15===t.type?t.number:0}};!function(e){e.NORMAL="normal",e.STRICT="strict"}(Wt||(Wt={}));var Bn,Cn={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){return"strict"===t?Wt.STRICT:Wt.NORMAL}},kn={name:"line-height",initialValue:"normal",prefix:!1,type:4},Sn=function(e,t){return $e(e)&&"normal"===e.value?1.2*t:17===e.type?t*e.number:Ze(e)?it(e,t):t},jn={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(e,t){return 20===t.type&&"none"===t.value?null:Rt(e,t)}},En={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(e,t){return"inside"===t?0:1}},Fn={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},Nn=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:4}},Un=Nn("top"),Ln=Nn("right"),In=Nn("bottom"),Pn=Nn("left"),Qn={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(e,t){return t.filter($e).map(function(e){switch(e.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})}},Tn={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){return"break-word"===t?"break-word":"normal"}},Dn=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},On=Dn("top"),Rn=Dn("right"),Mn=Dn("bottom"),Hn=Dn("left"),zn={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(e,t){switch(t){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},Kn={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(e,t){switch(t){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},$n={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return 1===t.length&&qe(t[0],"none")?[]:Ye(t).map(function(t){for(var n={color:xt.TRANSPARENT,offsetX:tt,offsetY:tt,blur:tt},r=0,o=0;o<t.length;o++){var i=t[o];Je(i)?(0===r?n.offsetX=i:1===r?n.offsetY=i:n.blur=i,r++):n.color=dt(e,i)}return n})}},Vn={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},qn={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(e,t){if(20===t.type&&"none"===t.value)return null;if(18===t.type){var n=Wn[t.name];if(void 0===n)throw new Error('Attempting to parse an unsupported transform function "'+t.name+'"');return n(t.values)}return null}},Wn={matrix:function(e){var t=e.filter(function(e){return 17===e.type}).map(function(e){return e.number});return 6===t.length?t:null},matrix3d:function(e){var t=e.filter(function(e){return 17===e.type}).map(function(e){return e.number}),n=t[0],r=t[1];t[2],t[3];var o=t[4],i=t[5];t[6],t[7],t[8],t[9],t[10],t[11];var a=t[12],s=t[13];return t[14],t[15],16===t.length?[n,r,o,i,a,s]:null}},Gn={type:16,number:50,flags:4},Yn=[Gn,Gn],Xn={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(e,t){var n=t.filter(Ze);return 2!==n.length?Yn:[n[0],n[1]]}},Jn={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"hidden":return 1;case"collapse":return 2;default:return 0}}};!function(e){e.NORMAL="normal",e.BREAK_ALL="break-all",e.KEEP_ALL="keep-all"}(Bn||(Bn={}));for(var Zn={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"break-all":return Bn.BREAK_ALL;case"keep-all":return Bn.KEEP_ALL;default:return Bn.NORMAL}}},er={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(e,t){if(20===t.type)return{auto:!0,order:0};if(Ke(t))return{auto:!1,order:t.number};throw new Error("Invalid z-index number parsed")}},tr={name:"time",parse:function(e,t){if(15===t.type)switch(t.unit.toLowerCase()){case"s":return 1e3*t.number;case"ms":return t.number}throw new Error("Unsupported time type")}},nr={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(e,t){return Ke(t)?t.number:1}},rr={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},or={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(e,t){return t.filter($e).map(function(e){switch(e.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(e){return 0!==e})}},ir={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(e,t){var n=[],r=[];return t.forEach(function(e){switch(e.type){case 20:case 0:n.push(e.value);break;case 17:n.push(e.number.toString());break;case 4:r.push(n.join(" ")),n.length=0}}),n.length&&r.push(n.join(" ")),r.map(function(e){return-1===e.indexOf(" ")?e:"'"+e+"'"})}},ar={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},sr={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(e,t){return Ke(t)?t.number:$e(t)&&"bold"===t.value?700:400}},lr={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return t.filter($e).map(function(e){return e.value})}},cr={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},Ar=function(e,t){return 0!==(e&t)},ur={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var n=t[0];return 20===n.type&&"none"===n.value?[]:t}},dr={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return null;var n=t[0];if(20===n.type&&"none"===n.value)return null;for(var r=[],o=t.filter(We),i=0;i<o.length;i++){var a=o[i],s=o[i+1];if(20===a.type){var l=s&&Ke(s)?s.number:1;r.push({counter:a.value,increment:l})}}return r}},pr={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return[];for(var n=[],r=t.filter(We),o=0;o<r.length;o++){var i=r[o],a=r[o+1];if($e(i)&&"none"!==i.value){var s=a&&Ke(a)?a.number:0;n.push({counter:i.value,reset:s})}}return n}},fr={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(e,t){return t.filter(ze).map(function(t){return tr.parse(e,t)})}},hr={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return null;var n=t[0];if(20===n.type&&"none"===n.value)return null;var r=[],o=t.filter(Ve);if(o.length%2!=0)return null;for(var i=0;i<o.length;i+=2){var a=o[i].value,s=o[i+1].value;r.push({open:a,close:s})}return r}},mr=function(e,t,n){if(!e)return"";var r=e[Math.min(t,e.length-1)];return r?n?r.open:r.close:""},gr={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return 1===t.length&&qe(t[0],"none")?[]:Ye(t).map(function(t){for(var n={color:255,offsetX:tt,offsetY:tt,blur:tt,spread:tt,inset:!1},r=0,o=0;o<t.length;o++){var i=t[o];qe(i,"inset")?n.inset=!0:Je(i)?(0===r?n.offsetX=i:1===r?n.offsetY=i:2===r?n.blur=i:n.spread=i,r++):n.color=dt(e,i)}return n})}},yr={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(e,t){var n=[];return t.filter($e).forEach(function(e){switch(e.value){case"stroke":n.push(1);break;case"fill":n.push(0);break;case"markers":n.push(2)}}),[0,1,2].forEach(function(e){-1===n.indexOf(e)&&n.push(e)}),n}},wr={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},vr={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return ze(t)?t.number:0}},br=function(){function e(e,t){var n,r;this.animationDuration=Br(e,fr,t.animationDuration),this.backgroundClip=Br(e,_t,t.backgroundClip),this.backgroundColor=Br(e,Bt,t.backgroundColor),this.backgroundImage=Br(e,zt,t.backgroundImage),this.backgroundOrigin=Br(e,Kt,t.backgroundOrigin),this.backgroundPosition=Br(e,$t,t.backgroundPosition),this.backgroundRepeat=Br(e,Vt,t.backgroundRepeat),this.backgroundSize=Br(e,Gt,t.backgroundSize),this.borderTopColor=Br(e,Jt,t.borderTopColor),this.borderRightColor=Br(e,Zt,t.borderRightColor),this.borderBottomColor=Br(e,en,t.borderBottomColor),this.borderLeftColor=Br(e,tn,t.borderLeftColor),this.borderTopLeftRadius=Br(e,rn,t.borderTopLeftRadius),this.borderTopRightRadius=Br(e,on,t.borderTopRightRadius),this.borderBottomRightRadius=Br(e,an,t.borderBottomRightRadius),this.borderBottomLeftRadius=Br(e,sn,t.borderBottomLeftRadius),this.borderTopStyle=Br(e,cn,t.borderTopStyle),this.borderRightStyle=Br(e,An,t.borderRightStyle),this.borderBottomStyle=Br(e,un,t.borderBottomStyle),this.borderLeftStyle=Br(e,dn,t.borderLeftStyle),this.borderTopWidth=Br(e,fn,t.borderTopWidth),this.borderRightWidth=Br(e,hn,t.borderRightWidth),this.borderBottomWidth=Br(e,mn,t.borderBottomWidth),this.borderLeftWidth=Br(e,gn,t.borderLeftWidth),this.boxShadow=Br(e,gr,t.boxShadow),this.color=Br(e,yn,t.color),this.direction=Br(e,wn,t.direction),this.display=Br(e,vn,t.display),this.float=Br(e,xn,t.cssFloat),this.fontFamily=Br(e,ir,t.fontFamily),this.fontSize=Br(e,ar,t.fontSize),this.fontStyle=Br(e,cr,t.fontStyle),this.fontVariant=Br(e,lr,t.fontVariant),this.fontWeight=Br(e,sr,t.fontWeight),this.letterSpacing=Br(e,_n,t.letterSpacing),this.lineBreak=Br(e,Cn,t.lineBreak),this.lineHeight=Br(e,kn,t.lineHeight),this.listStyleImage=Br(e,jn,t.listStyleImage),this.listStylePosition=Br(e,En,t.listStylePosition),this.listStyleType=Br(e,Fn,t.listStyleType),this.marginTop=Br(e,Un,t.marginTop),this.marginRight=Br(e,Ln,t.marginRight),this.marginBottom=Br(e,In,t.marginBottom),this.marginLeft=Br(e,Pn,t.marginLeft),this.opacity=Br(e,nr,t.opacity);var o=Br(e,Qn,t.overflow);this.overflowX=o[0],this.overflowY=o[o.length>1?1:0],this.overflowWrap=Br(e,Tn,t.overflowWrap),this.paddingTop=Br(e,On,t.paddingTop),this.paddingRight=Br(e,Rn,t.paddingRight),this.paddingBottom=Br(e,Mn,t.paddingBottom),this.paddingLeft=Br(e,Hn,t.paddingLeft),this.paintOrder=Br(e,yr,t.paintOrder),this.position=Br(e,Kn,t.position),this.textAlign=Br(e,zn,t.textAlign),this.textDecorationColor=Br(e,rr,null!==(n=t.textDecorationColor)&&void 0!==n?n:t.color),this.textDecorationLine=Br(e,or,null!==(r=t.textDecorationLine)&&void 0!==r?r:t.textDecoration),this.textShadow=Br(e,$n,t.textShadow),this.textTransform=Br(e,Vn,t.textTransform),this.transform=Br(e,qn,t.transform),this.transformOrigin=Br(e,Xn,t.transformOrigin),this.visibility=Br(e,Jn,t.visibility),this.webkitTextStrokeColor=Br(e,wr,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=Br(e,vr,t.webkitTextStrokeWidth),this.wordBreak=Br(e,Zn,t.wordBreak),this.zIndex=Br(e,er,t.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},e.prototype.isTransparent=function(){return pt(this.backgroundColor)},e.prototype.isTransformed=function(){return null!==this.transform},e.prototype.isPositioned=function(){return 0!==this.position},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return 0!==this.float},e.prototype.isInlineLevel=function(){return Ar(this.display,4)||Ar(this.display,33554432)||Ar(this.display,268435456)||Ar(this.display,536870912)||Ar(this.display,67108864)||Ar(this.display,134217728)},e}(),xr=function(e,t){this.content=Br(e,ur,t.content),this.quotes=Br(e,hr,t.quotes)},_r=function(e,t){this.counterIncrement=Br(e,dr,t.counterIncrement),this.counterReset=Br(e,pr,t.counterReset)},Br=function(e,t,n){var r=new Me,o=null!=n?n.toString():t.initialValue;r.write(o);var i=new He(r.read());switch(t.type){case 2:var a=i.parseComponentValue();return t.parse(e,$e(a)?a.value:t.initialValue);case 0:return t.parse(e,i.parseComponentValue());case 1:return t.parse(e,i.parseComponentValues());case 4:return i.parseComponentValue();case 3:switch(t.format){case"angle":return lt(e,i.parseComponentValue());case"color":return dt(e,i.parseComponentValue());case"image":return Rt(e,i.parseComponentValue());case"length":var s=i.parseComponentValue();return Je(s)?s:tt;case"length-percentage":var l=i.parseComponentValue();return Ze(l)?l:tt;case"time":return tr.parse(e,i.parseComponentValue())}}},Cr=function(e,t){var n=function(e){switch(e.getAttribute("data-html2canvas-debug")){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}}(e);return 1===n||t===n},kr=function(e,t){this.context=e,this.textNodes=[],this.elements=[],this.flags=0,Cr(t,3),this.styles=new br(e,window.getComputedStyle(t,null)),No(t)&&(this.styles.animationDuration.some(function(e){return e>0})&&(t.style.animationDuration="0s"),null!==this.styles.transform&&(t.style.transform="none")),this.bounds=s(this.context,t),Cr(t,4)&&(this.flags|=16)},Sr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
2+/",jr="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Er=0;Er<64;Er++)jr[Sr.charCodeAt(Er)]=Er;for(var Fr=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},Nr=function(){function e(e,t,n,r,o,i){this.initialValue=e,this.errorValue=t,this.highStart=n,this.highValueIndex=r,this.index=o,this.data=i}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=((t=this.index[e>>5])<<2)+(31&e),this.data[t];if(e<=65535)return t=((t=this.index[2048+(e-55296>>5)])<<2)+(31&e),this.data[t];if(e<this.highStart)return t=2080+(e>>11),t=this.index[t],t+=e>>5&63,t=((t=this.index[t])<<2)+(31&e),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),Ur="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Lr="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Ir=0;Ir<64;Ir++)Lr[Ur.charCodeAt(Ir)]=Ir;var Pr,Qr=8,Tr=9,Dr=11,Or=12,Rr=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return"";for(var r=[],o=-1,i="";++o<n;){var a=e[o];a<=65535?r.push(a):(a-=65536,r.push(55296+(a>>10),a%1024+56320)),(o+1===n||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},Mr=function(e){var t,n,r,o=function(e){var t,n,r,o,i,a=.75*e.length,s=e.length,l=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var c="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(a):new Array(a),A=Array.isArray(c)?c:new Uint8Array(c);for(t=0;t<s;t+=4)n=jr[e.charCodeAt(t)],r=jr[e.charCodeAt(t+1)],o=jr[e.charCodeAt(t+2)],i=jr[e.charCodeAt(t+3)],A[l++]=n<<2|r>>4,A[l++]=(15&r)<<4|o>>2,A[l++]=(3&o)<<6|63&i;return c}(e),i=Array.isArray(o)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=4)n.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return n}(o):new Uint32Array(o),a=Array.isArray(o)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n.push(e[r+1]<<8|e[r]);return n}(o):new Uint16Array(o),s=Fr(a,12,i[4]/2),l=2===i[5]?Fr(a,(24+i[4])/2):(t=i,n=Math.ceil((24+i[4])/4),t.slice?t.slice(n,r):new Uint32Array(Array.prototype.slice.call(t,n,r)));return new Nr(i[0],i[1],i[2],i[3],s,l)}(
vendor: 26,158 bytes, line 2
2"AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA="
vendor: 18,259 bytes, line 2
2),Hr="×",zr=function(e){return Mr.get(e)},Kr=function(e,t,n){var r=n-2,o=t[r],i=t[n-1],a=t[n];if(2===i&&3===a)return Hr;if(2===i||3===i||4===i)return"÷";if(2===a||3===a||4===a)return"÷";if(i===Qr&&-1!==[Qr,Tr,Dr,Or].indexOf(a))return Hr;if(!(i!==Dr&&i!==Tr||a!==Tr&&10!==a))return Hr;if((i===Or||10===i)&&10===a)return Hr;if(13===a||5===a)return Hr;if(7===a)return Hr;if(1===i)return Hr;if(13===i&&14===a){for(;5===o;)o=t[--r];if(14===o)return Hr}if(15===i&&15===a){for(var s=0;15===o;)s++,o=t[--r];if(s%2==0)return Hr}return"÷"},$r=function(e){var t=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t}(e),n=t.length,r=0,o=0,i=t.map(zr);return{next:function(){if(r>=n)return{done:!0,value:null};for(var e=Hr;r<n&&(e=Kr(0,i,++r))===Hr;);if(e!==Hr||r===n){var a=Rr.apply(null,t.slice(o,r));return o=r,{value:a,done:!1}}return{done:!0,value:null}}}},Vr=function(e){return 0===e[0]&&255===e[1]&&0===e[2]&&255===e[3]},qr=function(e,t,n,r,o){var i="http://www.w3.org/2000/svg",a=document.createElementNS(i,"svg"),s=document.createElementNS(i,"foreignObject");return a.setAttributeNS(null,"width",e.toString()),a.setAttributeNS(null,"height",t.toString()),s.setAttributeNS(null,"width","100%"),s.setAttributeNS(null,"height","100%"),s.setAttributeNS(null,"x",n.toString()),s.setAttributeNS(null,"y",r.toString()),s.setAttributeNS(null,"externalResourcesRequired","true"),a.appendChild(s),s.appendChild(o),a},Wr=function(e){return new Promise(function(t,n){var r=new Image;r.onload=function(){return t(r)},r.onerror=n,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))})},Gr={get SUPPORT_RANGE_BOUNDS(){var e=function(e){if(e.createRange){var t=e.createRange();if(t.getBoundingClientRect){var n=e.createElement("boundtest");n.style.height="123px",n.style.display="block",e.body.appendChild(n),t.selectNode(n);var r=t.getBoundingClientRect(),o=Math.round(r.height);if(e.body.removeChild(n),123===o)return!0}}return!1}(document);return Object.defineProperty(Gr,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=Gr.SUPPORT_RANGE_BOUNDS&&function(e){var t=e.createElement("boundtest");t.style.width="50px",t.style.display="block",t.style.fontSize="12px",t.style.letterSpacing="0px",t.style.wordSpacing="0px",e.body.appendChild(t);var n=e.createRange();t.innerHTML="function"==typeof"".repeat?"&#128104;".repeat(10):"";var r=t.firstChild,o=l(r.data).map(function(e){return c(e)}),i=0,a={},s=o.every(function(e,t){n.setStart(r,i),n.setEnd(r,i+e.length);var o=n.getBoundingClientRect();i+=e.length;var s=o.x>a.x||o.y>a.y;return a=o,0===t||s});return e.body.removeChild(t),s}(document);return Object.defineProperty(Gr,"SUPPORT_WORD_BREAKING",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=function(e){var t=new Image,n=e.createElement("canvas"),r=n.getContext("2d");if(!r)return!1;t.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(t,0,0),n.toDataURL()}catch(e){return!1}return!0}(document);return Object.defineProperty(Gr,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e="function"==typeof Array.from&&"function"==typeof window.fetch?function(e){var t=e.createElement("canvas"),n=100;t.width=n,t.height=n;var r=t.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,n,n);var o=new Image,i=t.toDataURL();o.src=i;var a=qr(n,n,0,0,o);return r.fillStyle="red",r.fillRect(0,0,n,n),Wr(a).then(function(t){r.drawImage(t,0,0);var o=r.getImageData(0,0,n,n).data;r.fillStyle="red",r.fillRect(0,0,n,n);var a=e.createElement("div");return a.style.backgroundImage="url("+i+")",a.style.height=n+"px",Vr(o)?Wr(qr(n,n,0,0,a)):Promise.reject(!1)}).then(function(e){return r.drawImage(e,0,0),Vr(r.getImageData(0,0,n,n).data)}).catch(function(){return!1})}(document):Promise.resolve(!1);return Object.defineProperty(Gr,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=void 0!==(new Image).crossOrigin;return Object.defineProperty(Gr,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e="string"==typeof(new XMLHttpRequest).responseType;return Object.defineProperty(Gr,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Gr,"SUPPORT_CORS_XHR",{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!("undefined"==typeof Intl||!Intl.Segmenter);return Object.defineProperty(Gr,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:e}),e}},Yr=function(e,t){this.text=e,this.bounds=t},Xr=function(e,t){var n=t.ownerDocument;if(n){var r=n.createElement("html2canvaswrapper");r.appendChild(t.cloneNode(!0));var o=t.parentNode;if(o){o.replaceChild(r,t);var i=s(e,r);return r.firstChild&&o.replaceChild(r.firstChild,r),i}}return a.EMPTY},Jr=function(e,t,n){var r=e.ownerDocument;if(!r)throw new Error("Node has no owner document");var o=r.createRange();return o.setStart(e,t),o.setEnd(e,t+n),o},Zr=function(e){if(Gr.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(t.segment(e)).map(function(e){return e.segment})}return function(e){for(var t,n=$r(e),r=[];!(t=n.next()).done;)t.value&&r.push(t.value.slice());return r}(e)},eo=function(e,t){return 0!==t.letterSpacing?Zr(e):function(e,t){if(Gr.SUPPORT_NATIVE_TEXT_SEGMENTATION){var n=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(n.segment(e)).map(function(e){return e.segment})}return no(e,t)}(e,t)},to=[32,160,4961,65792,65793,4153,4241],no=function(e,t){for(var n,r=function(e,t){var n=l(e),r=ie(n,t),o=r[0],i=r[1],a=r[2],s=n.length,c=0,A=0;return{next:function(){if(A>=s)return{done:!0,value:null};for(var e=V;A<s&&(e=oe(n,i,o,++A,a))===V;);if(e!==V||A===s){var t=new ae(n,e,c,A);return c=A,{value:t,done:!1}}return{done:!0,value:null}}}}(e,{lineBreak:t.lineBreak,wordBreak:"break-word"===t.overflowWrap?"break-word":t.wordBreak}),o=[],i=function(){if(n.value){var e=n.value.slice(),t=l(e),r="";t.forEach(function(e){-1===to.indexOf(e)?r+=c(e):(r.length&&o.push(r),o.push(c(e)),r="")}),r.length&&o.push(r)}};!(n=r.next()).done;)i();return o},ro=function(e,t,n){this.text=oo(t.data,n.textTransform),this.textBounds=function(e,t,n,r){var o=eo(t,n),i=[],s=0;return o.forEach(function(t){if(n.textDecorationLine.length||t.trim().length>0)if(Gr.SUPPORT_RANGE_BOUNDS){var o=Jr(r,s,t.length).getClientRects();if(o.length>1){var l=Zr(t),c=0;l.forEach(function(t){i.push(new Yr(t,a.fromDOMRectList(e,Jr(r,c+s,t.length).getClientRects()))),c+=t.length})}else i.push(new Yr(t,a.fromDOMRectList(e,o)))}else{var A=r.splitText(t.length);i.push(new Yr(t,Xr(e,r))),r=A}else Gr.SUPPORT_RANGE_BOUNDS||(r=r.splitText(t.length));s+=t.length}),i}(e,this.text,n,t)},oo=function(e,t){switch(t){case 1:return e.toLowerCase();case 3:return e.replace(io,ao);case 2:return e.toUpperCase();default:return e}},io=/(^|\s|:|-|\(|\))([a-z])/g,ao=function(e,t,n){return e.length>0?t+n.toUpperCase():e},so=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.src=n.currentSrc||n.src,r.intrinsicWidth=n.naturalWidth,r.intrinsicHeight=n.naturalHeight,r.context.cache.addImage(r.src),r}return t(n,e),n}(kr),lo=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.canvas=n,r.intrinsicWidth=n.width,r.intrinsicHeight=n.height,r}return t(n,e),n}(kr),co=function(e){function n(t,n){var r=e.call(this,t,n)||this,o=new XMLSerializer,i=s(t,n);return n.setAttribute("width",i.width+"px"),n.setAttribute("height",i.height+"px"),r.svg="data:image/svg+xml,"+encodeURIComponent(o.serializeToString(n)),r.intrinsicWidth=n.width.baseVal.value,r.intrinsicHeight=n.height.baseVal.value,r.context.cache.addImage(r.svg),r}return t(n,e),n}(kr),Ao=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.value=n.value,r}return t(n,e),n}(kr),uo=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.start=n.start,r.reversed="boolean"==typeof n.reversed&&!0===n.reversed,r}return t(n,e),n}(kr),po=[{type:15,flags:0,unit:"px",number:3}],fo=[{type:16,flags:0,number:50}],ho="checkbox",mo="radio",go="password",yo=707406591,wo=function(e){function n(t,n){var r,o,i,s=e.call(this,t,n)||this;switch(s.type=n.type.toLowerCase(),s.checked=n.checked,s.value=0===(i=(o=n).type===go?new Array(o.value.length+1).join("•"):o.value).length?o.placeholder||"":i,s.type!==ho&&s.type!==mo||(s.styles.backgroundColor=3739148031,s.styles.borderTopColor=s.styles.borderRightColor=s.styles.borderBottomColor=s.styles.borderLeftColor=2779096575,s.styles.borderTopWidth=s.styles.borderRightWidth=s.styles.borderBottomWidth=s.styles.borderLeftWidth=1,s.styles.borderTopStyle=s.styles.borderRightStyle=s.styles.borderBottomStyle=s.styles.borderLeftStyle=1,s.styles.backgroundClip=[0],s.styles.backgroundOrigin=[0],s.bounds=(r=s.bounds).width>r.height?new a(r.left+(r.width-r.height)/2,r.top,r.height,r.height):r.width<r.height?new a(r.left,r.top+(r.height-r.width)/2,r.width,r.width):r),s.type){case ho:s.styles.borderTopRightRadius=s.styles.borderTopLeftRadius=s.styles.borderBottomRightRadius=s.styles.borderBottomLeftRadius=po;break;case mo:s.styles.borderTopRightRadius=s.styles.borderTopLeftRadius=s.styles.borderBottomRightRadius=s.styles.borderBottomLeftRadius=fo}return s}return t(n,e),n}(kr),vo=function(e){function n(t,n){var r=e.call(this,t,n)||this,o=n.options[n.selectedIndex||0];return r.value=o&&o.text||"",r}return t(n,e),n}(kr),bo=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.value=n.value,r}return t(n,e),n}(kr),xo=function(e){function n(t,n){var r=e.call(this,t,n)||this;r.src=n.src,r.width=parseInt(n.width,10)||0,r.height=parseInt(n.height,10)||0,r.backgroundColor=r.styles.backgroundColor;try{if(n.contentWindow&&n.contentWindow.document&&n.contentWindow.document.documentElement){r.tree=ko(t,n.contentWindow.document.documentElement);var o=n.contentWindow.document.documentElement?bt(t,getComputedStyle(n.contentWindow.document.documentElement).backgroundColor):xt.TRANSPARENT,i=n.contentWindow.document.body?bt(t,getComputedStyle(n.contentWindow.document.body).backgroundColor):xt.TRANSPARENT;r.backgroundColor=pt(o)?pt(i)?r.styles.backgroundColor:i:o}}catch(e){}return r}return t(n,e),n}(kr),_o=["OL","UL","MENU"],Bo=function(e,t,n,r){for(var o=t.firstChild,i=void 0;o;o=i)if(i=o.nextSibling,Eo(o)&&o.data.trim().length>0)n.textNodes.push(new ro(e,o,n.styles));else if(Fo(o))if($o(o)&&o.assignedNodes)o.assignedNodes().forEach(function(t){return Bo(e,t,n,r)});else{var a=Co(e,o);a.styles.isVisible()&&(So(o,a,r)?a.flags|=4:jo(a.styles)&&(a.flags|=2),-1!==_o.indexOf(o.tagName)&&(a.flags|=8),n.elements.push(a),o.slot,o.shadowRoot?Bo(e,o.shadowRoot,a,r):zo(o)||Qo(o)||Ko(o)||Bo(e,o,a,r))}},Co=function(e,t){return Ro(t)?new so(e,t):Do(t)?new lo(e,t):Qo(t)?new co(e,t):Lo(t)?new Ao(e,t):Io(t)?new uo(e,t):Po(t)?new wo(e,t):Ko(t)?new vo(e,t):zo(t)?new bo(e,t):Mo(t)?new xo(e,t):new kr(e,t)},ko=function(e,t){var n=Co(e,t);return n.flags|=4,Bo(e,t,n,n),n},So=function(e,t,n){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||To(e)&&n.styles.isTransparent()},jo=function(e){return e.isPositioned()||e.isFloating()},Eo=function(e){return e.nodeType===Node.TEXT_NODE},Fo=function(e){return e.nodeType===Node.ELEMENT_NODE},No=function(e){return Fo(e)&&void 0!==e.style&&!Uo(e)},Uo=function(e){return"object"==typeof e.className},Lo=function(e){return"LI"===e.tagName},Io=function(e){return"OL"===e.tagName},Po=function(e){return"INPUT"===e.tagName},Qo=function(e){return"svg"===e.tagName},To=function(e){return"BODY"===e.tagName},Do=function(e){return"CANVAS"===e.tagName},Oo=function(e){return"VIDEO"===e.tagName},Ro=function(e){return"IMG"===e.tagName},Mo=function(e){return"IFRAME"===e.tagName},Ho=function(e){return"STYLE"===e.tagName},zo=function(e){return"TEXTAREA"===e.tagName},Ko=function(e){return"SELECT"===e.tagName},$o=function(e){return"SLOT"===e.tagName},Vo=function(e){return e.tagName.indexOf("-")>0},qo=function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},e.prototype.getCounterValues=function(e){return this.counters[e]||[]},e.prototype.pop=function(e){var t=this;e.forEach(function(e){return t.counters[e].pop()})},e.prototype.parse=function(e){var t=this,n=e.counterIncrement,r=e.counterReset,o=!0;null!==n&&n.forEach(function(e){var n=t.counters[e.counter];n&&0!==e.increment&&(o=!1,n.length||n.push(1),n[Math.max(0,n.length-1)]+=e.increment)});var i=[];return o&&r.forEach(function(e){var n=t.counters[e.counter];i.push(e.counter),n||(n=t.counters[e.counter]=[]),n.push(e.reset)}),i},e}(),Wo={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Go={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},Yo={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},Xo={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Jo=function(e,t,n,r,o,i){return e<t||e>n?si(e,o,i.length>0):r.integers.reduce(function(t,n,o){for(;e>=n;)e-=n,t+=r.values[o];return t},"")+i},Zo=function(e,t,n,r){var o="";do{n||e--,o=r(e)+o,e/=t}while(e*t>=t);return o},ei=function(e,t,n,r,o){var i=n-t+1;return(e<0?"-":"")+(Zo(Math.abs(e),i,r,function(e){return c(Math.floor(e%i)+t)})+o)},ti=function(e,t,n){void 0===n&&(n=". ");var r=t.length;return Zo(Math.abs(e),r,!1,function(e){return t[Math.floor(e%r)]})+n},ni=function(e,t,n,r,o,i){if(e<-9999||e>9999)return si(e,4,o.length>0);var a=Math.abs(e),s=o;if(0===a)return t[0]+s;for(var l=0;a>0&&l<=4;l++){var c=a%10;0===c&&Ar(i,1)&&""!==s?s=t[c]+s:c>1||1===c&&0===l||1===c&&1===l&&Ar(i,2)||1===c&&1===l&&Ar(i,4)&&e>100||1===c&&l>1&&Ar(i,8)?s=t[c]+(l>0?n[l-1]:"")+s:1===c&&l>0&&(s=n[l-1]+s),a=Math.floor(a/10)}return(e<0?r:"")+s},ri="十百千萬",oi="拾佰仟萬",ii="マイナス",ai="마이너스",si=function(e,t,n){var r=n?". ":"",o=n?"、":"",i=n?", ":"",a=n?" ":"";switch(t){case 0:return"•"+a;case 1:return"◦"+a;case 2:return"◾"+a;case 5:var s=ei(e,48,57,!0,r);return s.length<4?"0"+s:s;case 4:return ti(e,"〇一二三四五六七八九",o);case 6:return Jo(e,1,3999,Wo,3,r).toLowerCase();case 7:return Jo(e,1,3999,Wo,3,r);case 8:return ei(e,945,969,!1,r);case 9:return ei(e,97,122,!1,r);case 10:return ei(e,65,90,!1,r);case 11:return ei(e,1632,1641,!0,r);case 12:case 49:return Jo(e,1,9999,Go,3,r);case 35:return Jo(e,1,9999,Go,3,r).toLowerCase();case 13:return ei(e,2534,2543,!0,r);case 14:case 30:return ei(e,6112,6121,!0,r);case 15:return ti(e,"子丑寅卯辰巳午未申酉戌亥",o);case 16:return ti(e,"甲乙丙丁戊己庚辛壬癸",o);case 17:case 48:return ni(e,"零一二三四五六七八九",ri,"負",o,14);case 47:return ni(e,"零壹貳參肆伍陸柒捌玖",oi,"負",o,15);case 42:return ni(e,"零一二三四五六七八九",ri,"负",o,14);case 41:return ni(e,"零壹贰叁肆伍陆柒捌玖",oi,"负",o,15);case 26:return ni(e,"〇一二三四五六七八九","十百千万",ii,o,0);case 25:return ni(e,"零壱弐参四伍六七八九","拾百千万",ii,o,7);case 31:return ni(e,"영일이삼사오육칠팔구","십백천만",ai,i,7);case 33:return ni(e,"零一二三四五六七八九","十百千萬",ai,i,0);case 32:return ni(e,"零壹貳參四五六七八九","拾百千",ai,i,7);case 18:return ei(e,2406,2415,!0,r);case 20:return Jo(e,1,19999,Xo,3,r);case 21:return ei(e,2790,2799,!0,r);case 22:return ei(e,2662,2671,!0,r);case 22:return Jo(e,1,10999,Yo,3,r);case 23:return ti(e,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return ti(e,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return ei(e,3302,3311,!0,r);case 28:return ti(e,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",o);case 29:return ti(e,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",o);case 34:return ei(e,3792,3801,!0,r);case 37:return ei(e,6160,6169,!0,r);case 38:return ei(e,4160,4169,!0,r);case 39:return ei(e,2918,2927,!0,r);case 40:return ei(e,1776,1785,!0,r);case 43:return ei(e,3046,3055,!0,r);case 44:return ei(e,3174,3183,!0,r);case 45:return ei(e,3664,3673,!0,r);case 46:return ei(e,3872,3881,!0,r);default:return ei(e,48,57,!0,r)}},li="data-html2canvas-ignore",ci=function(){function e(e,t,n){if(this.context=e,this.options=n,this.scrolledElements=[],this.referenceElement=t,this.counters=new qo,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(e,t){var n=this,i=ui(e,t);if(!i.contentWindow)return Promise.reject("Unable to find iframe window");var a=e.defaultView.pageXOffset,s=e.defaultView.pageYOffset,l=i.contentWindow,c=l.document,A=fi(i).then(function(){return r(n,void 0,void 0,function(){var e,n;return o(this,function(r){switch(r.label){case 0:return this.scrolledElements.forEac
vendor: 1,818 bytes, line 2
2h(wi),l&&(l.scrollTo(t.left,t.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||l.scrollY===t.top&&l.scrollX===t.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(l.scrollX-t.left,l.scrollY-t.top,0,0))),e=this.options.onclone,void 0===(n=this.clonedReferenceElement)?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:c.fonts&&c.fonts.ready?[4,c.fonts.ready]:[3,2];case 1:r.sent(),r.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,pi(c)]:[3,4];case 3:r.sent(),r.label=4;case 4:return"function"==typeof e?[2,Promise.resolve().then(function(){return e(c,n)}).then(function(){return i})]:[2,i]}})})});return c.open(),c.write(gi(document.doctype)+"<html></html>"),yi(this.referenceElement.ownerDocument,a,s),c.replaceChild(c.adoptNode(this.documentElement),c.documentElement),c.close(),A},e.prototype.createElementClone=function(e){if(Cr(e,2),Do(e))return this.createCanvasClone(e);if(Oo(e))return this.createVideoClone(e);if(Ho(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return Ro(t)&&(Ro(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),"lazy"===t.loading&&(t.loading="eager")),Vo(t)?this.createCustomElementClone(t):t},e.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return mi(e.style,t),t},e.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var n=[].slice.call(t.cssRules,0).reduce(function(e,t){return t&&"string"==typeof t.cssText?e+t.cssText:e},""),r=e.cloneNode(!1);return r.textContent=n,r}}catch(e){if(this.context.logger.error("Unable to access cssRules property",e),"SecurityError"!==e.name)throw e}return e.cloneNode(!1)}
vendor: 45,403 bytes, line 2
2,e.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var n=e.ownerDocument.createElement("img");try{return n.src=e.toDataURL(),n}catch(t){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var r=e.cloneNode(!1);try{r.width=e.width,r.height=e.height;var o=e.getContext("2d"),i=r.getContext("2d");if(i)if(!this.options.allowTaint&&o)i.putImageData(o.getImageData(0,0,e.width,e.height),0,0);else{var a=null!==(t=e.getContext("webgl2"))&&void 0!==t?t:e.getContext("webgl");if(a){var s=a.getContextAttributes();!1===(null==s?void 0:s.preserveDrawingBuffer)&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}i.drawImage(e,0,0)}return r}catch(t){this.context.logger.info("Unable to clone canvas as it is tainted",e)}return r},e.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var n=t.getContext("2d");try{return n&&(n.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||n.getImageData(0,0,t.width,t.height)),t}catch(t){this.context.logger.info("Unable to clone video as it is tainted",e)}var r=e.ownerDocument.createElement("canvas");return r.width=e.offsetWidth,r.height=e.offsetHeight,r},e.prototype.appendChildNode=function(e,t,n){Fo(t)&&("SCRIPT"===t.tagName||t.hasAttribute(li)||"function"==typeof this.options.ignoreElements&&this.options.ignoreElements(t))||this.options.copyStyles&&Fo(t)&&Ho(t)||e.appendChild(this.cloneNode(t,n))},e.prototype.cloneChildNodes=function(e,t,n){for(var r=this,o=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;o;o=o.nextSibling)if(Fo(o)&&$o(o)&&"function"==typeof o.assignedNodes){var i=o.assignedNodes();i.length&&i.forEach(function(e){return r.appendChildNode(t,e,n)})}else this.appendChildNode(t,o,n)},e.prototype.cloneNode=function(e,t){if(Eo(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var n=e.ownerDocument.defaultView;if(n&&Fo(e)&&(No(e)||Uo(e))){var r=this.createElementClone(e);r.style.transitionProperty="none";var o=n.getComputedStyle(e),i=n.getComputedStyle(e,":before"),a=n.getComputedStyle(e,":after");this.referenceElement===e&&No(r)&&(this.clonedReferenceElement=r),To(r)&&_i(r);var s=this.counters.parse(new _r(this.context,o)),l=this.resolvePseudoContent(e,r,i,Pr.BEFORE);Vo(e)&&(t=!0),Oo(e)||this.cloneChildNodes(e,r,t),l&&r.insertBefore(l,r.firstChild);var c=this.resolvePseudoContent(e,r,a,Pr.AFTER);return c&&r.appendChild(c),this.counters.pop(s),(o&&(this.options.copyStyles||Uo(e))&&!Mo(e)||t)&&mi(o,r),0===e.scrollTop&&0===e.scrollLeft||this.scrolledElements.push([r,e.scrollLeft,e.scrollTop]),(zo(e)||Ko(e))&&(zo(r)||Ko(r))&&(r.value=e.value),r}return e.cloneNode(!1)},e.prototype.resolvePseudoContent=function(e,t,n,r){var o=this;if(n){var i=n.content,a=t.ownerDocument;if(a&&i&&"none"!==i&&"-moz-alt-content"!==i&&"none"!==n.display){this.counters.parse(new _r(this.context,n));var s=new xr(this.context,n),l=a.createElement("html2canvaspseudoelement");mi(n,l),s.content.forEach(function(t){if(0===t.type)l.appendChild(a.createTextNode(t.value));else if(22===t.type){var n=a.createElement("img");n.src=t.value,n.style.opacity="1",l.appendChild(n)}else if(18===t.type){if("attr"===t.name){var r=t.values.filter($e);r.length&&l.appendChild(a.createTextNode(e.getAttribute(r[0].value)||""))}else if("counter"===t.name){var i=t.values.filter(Ge),c=i[0],A=i[1];if(c&&$e(c)){var u=o.counters.getCounterValue(c.value),d=A&&$e(A)?Fn.parse(o.context,A.value):3;l.appendChild(a.createTextNode(si(u,d,!1)))}}else if("counters"===t.name){var p=t.values.filter(Ge),f=(c=p[0],p[1]);if(A=p[2],c&&$e(c)){var h=o.counters.getCounterValues(c.value),m=A&&$e(A)?Fn.parse(o.context,A.value):3,g=f&&0===f.type?f.value:"",y=h.map(function(e){return si(e,m,!1)}).join(g);l.appendChild(a.createTextNode(y))}}}else if(20===t.type)switch(t.value){case"open-quote":l.appendChild(a.createTextNode(mr(s.quotes,o.quoteDepth++,!0)));break;case"close-quote":l.appendChild(a.createTextNode(mr(s.quotes,--o.quoteDepth,!1)));break;default:l.appendChild(a.createTextNode(t.value))}}),l.className=vi+" "+bi;var c=r===Pr.BEFORE?" "+vi:" "+bi;return Uo(t)?t.className.baseValue+=c:t.className+=c,l}}},e.destroy=function(e){return!!e.parentNode&&(e.parentNode.removeChild(e),!0)},e}();!function(e){e[e.BEFORE=0]="BEFORE",e[e.AFTER=1]="AFTER"}(Pr||(Pr={}));var Ai,ui=function(e,t){var n=e.createElement("iframe");return n.className="html2canvas-container",n.style.visibility="hidden",n.style.position="fixed",n.style.left="-10000px",n.style.top="0px",n.style.border="0",n.width=t.width.toString(),n.height=t.height.toString(),n.scrolling="no",n.setAttribute(li,"true"),e.body.appendChild(n),n},di=function(e){return new Promise(function(t){e.complete?t():e.src?(e.onload=t,e.onerror=t):t()})},pi=function(e){return Promise.all([].slice.call(e.images,0).map(di))},fi=function(e){return new Promise(function(t,n){var r=e.contentWindow;if(!r)return n("No window assigned for iframe");var o=r.document;r.onload=e.onload=function(){r.onload=e.onload=null;var n=setInterval(function(){o.body.childNodes.length>0&&"complete"===o.readyState&&(clearInterval(n),t(e))},50)}})},hi=["all","d","content"],mi=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e.item(n);-1===hi.indexOf(r)&&t.style.setProperty(r,e.getPropertyValue(r))}return t},gi=function(e){var t="";return e&&(t+="<!DOCTYPE ",e.name&&(t+=e.name),e.internalSubset&&(t+=e.internalSubset),e.publicId&&(t+='"'+e.publicId+'"'),e.systemId&&(t+='"'+e.systemId+'"'),t+=">"),t},yi=function(e,t,n){e&&e.defaultView&&(t!==e.defaultView.pageXOffset||n!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(t,n)},wi=function(e){var t=e[0],n=e[1],r=e[2];t.scrollLeft=n,t.scrollTop=r},vi="___html2canvas___pseudoelement_before",bi="___html2canvas___pseudoelement_after",xi='{\n    content: "" !important;\n    display: none !important;\n}',_i=function(e){Bi(e,"."+vi+":before"+xi+"\n         ."+bi+":after"+xi)},Bi=function(e,t){var n=e.ownerDocument;if(n){var r=n.createElement("style");r.textContent=t,e.appendChild(r)}},Ci=function(){function e(){}return e.getOrigin=function(t){var n=e._link;return n?(n.href=t,n.href=n.href,n.protocol+n.hostname+n.port):"about:blank"},e.isSameOrigin=function(t){return e.getOrigin(t)===e._origin},e.setContext=function(t){e._link=t.document.createElement("a"),e._origin=e.getOrigin(t.location.href)},e._origin="about:blank",e}(),ki=function(){function e(e,t){this.context=e,this._options=t,this._cache={}}return e.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)?t:Li(e)||Fi(e)?((this._cache[e]=this.loadImage(e)).catch(function(){}),t):t},e.prototype.match=function(e){return this._cache[e]},e.prototype.loadImage=function(e){return r(this,void 0,void 0,function(){var t,n,r,i,a=this;return o(this,function(o){switch(o.label){case 0:return t=Ci.isSameOrigin(e),n=!Ni(e)&&!0===this._options.useCORS&&Gr.SUPPORT_CORS_IMAGES&&!t,r=!Ni(e)&&!t&&!Li(e)&&"string"==typeof this._options.proxy&&Gr.SUPPORT_CORS_XHR&&!n,t||!1!==this._options.allowTaint||Ni(e)||Li(e)||r||n?(i=e,r?[4,this.proxy(i)]:[3,2]):[2];case 1:i=o.sent(),o.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise(function(e,t){var r=new Image;r.onload=function(){return e(r)},r.onerror=t,(Ui(i)||n)&&(r.crossOrigin="anonymous"),r.src=i,!0===r.complete&&setTimeout(function(){return e(r)},500),a._options.imageTimeout>0&&setTimeout(function(){return t("Timed out ("+a._options.imageTimeout+"ms) loading image")},a._options.imageTimeout)})];case 3:return[2,o.sent()]}})})},e.prototype.has=function(e){return void 0!==this._cache[e]},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(e){var t=this,n=this._options.proxy;if(!n)throw new Error("No proxy defined");var r=e.substring(0,256);return new Promise(function(o,i){var a=Gr.SUPPORT_RESPONSE_TYPE?"blob":"text",s=new XMLHttpRequest;s.onload=function(){if(200===s.status)if("text"===a)o(s.response);else{var e=new FileReader;e.addEventListener("load",function(){return o(e.result)},!1),e.addEventListener("error",function(e){return i(e)},!1),e.readAsDataURL(s.response)}else i("Failed to proxy resource "+r+" with status code "+s.status)},s.onerror=i;var l=n.indexOf("?")>-1?"&":"?";if(s.open("GET",""+n+l+"url="+encodeURIComponent(e)+"&responseType="+a),"text"!==a&&s instanceof XMLHttpRequest&&(s.responseType=a),t._options.imageTimeout){var c=t._options.imageTimeout;s.timeout=c,s.ontimeout=function(){return i("Timed out ("+c+"ms) proxying "+r)}}s.send()})},e}(),Si=/^data:image\/svg\+xml/i,ji=/^data:image\/.*;base64,/i,Ei=/^data:image\/.*/i,Fi=function(e){return Gr.SUPPORT_SVG_DRAWING||!Ii(e)},Ni=function(e){return Ei.test(e)},Ui=function(e){return ji.test(e)},Li=function(e){return"blob"===e.substr(0,4)},Ii=function(e){return"svg"===e.substr(-3).toLowerCase()||Si.test(e)},Pi=function(){function e(e,t){this.type=0,this.x=e,this.y=t}return e.prototype.add=function(t,n){return new e(this.x+t,this.y+n)},e}(),Qi=function(e,t,n){return new Pi(e.x+(t.x-e.x)*n,e.y+(t.y-e.y)*n)},Ti=function(){function e(e,t,n,r){this.type=1,this.start=e,this.startControl=t,this.endControl=n,this.end=r}return e.prototype.subdivide=function(t,n){var r=Qi(this.start,this.startControl,t),o=Qi(this.startControl,this.endControl,t),i=Qi(this.endControl,this.end,t),a=Qi(r,o,t),s=Qi(o,i,t),l=Qi(a,s,t);return n?new e(this.start,r,a,l):new e(l,s,i,this.end)},e.prototype.add=function(t,n){return new e(this.start.add(t,n),this.startControl.add(t,n),this.endControl.add(t,n),this.end.add(t,n))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e}(),Di=function(e){return 1===e.type},Oi=function(e){var t=e.styles,n=e.bounds,r=ot(t.borderTopLeftRadius,n.width,n.height),o=r[0],i=r[1],a=ot(t.borderTopRightRadius,n.width,n.height),s=a[0],l=a[1],c=ot(t.borderBottomRightRadius,n.width,n.height),A=c[0],u=c[1],d=ot(t.borderBottomLeftRadius,n.width,n.height),p=d[0],f=d[1],h=[];h.push((o+s)/n.width),h.push((p+A)/n.width),h.push((i+f)/n.height),h.push((l+u)/n.height);var m=Math.max.apply(Math,h);m>1&&(o/=m,i/=m,s/=m,l/=m,A/=m,u/=m,p/=m,f/=m);var g=n.width-s,y=n.height-u,w=n.width-A,v=n.height-f,b=t.borderTopWidth,x=t.borderRightWidth,_=t.borderBottomWidth,B=t.borderLeftWidth,C=it(t.paddingTop,e.bounds.width),k=it(t.paddingRight,e.bounds.width),S=it(t.paddingBottom,e.bounds.width),j=it(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=o>0||i>0?Ri(n.left+B/3,n.top+b/3,o-B/3,i-b/3,Ai.TOP_LEFT):new Pi(n.left+B/3,n.top+b/3),this.topRightBorderDoubleOuterBox=o>0||i>0?Ri(n.left+g,n.top+b/3,s-x/3,l-b/3,Ai.TOP_RIGHT):new Pi(n.left+n.width-x/3,n.top+b/3),this.bottomRightBorderDoubleOuterBox=A>0||u>0?Ri(n.left+w,n.top+y,A-x/3,u-_/3,Ai.BOTTOM_RIGHT):new Pi(n.left+n.width-x/3,n.top+n.height-_/3),this.bottomLeftBorderDoubleOuterBox=p>0||f>0?Ri(n.left+B/3,n.top+v,p-B/3,f-_/3,Ai.BOTTOM_LEFT):new Pi(n.left+B/3,n.top+n.height-_/3),this.topLeftBorderDoubleInnerBox=o>0||i>0?Ri(n.left+2*B/3,n.top+2*b/3,o-2*B/3,i-2*b/3,Ai.TOP_LEFT):new Pi(n.left+2*B/3,n.top+2*b/3),this.topRightBorderDoubleInnerBox=o>0||i>0?Ri(n.left+g,n.top+2*b/3,s-2*x/3,l-2*b/3,Ai.TOP_RIGHT):new Pi(n.left+n.width-2*x/3,n.top+2*b/3),this.bottomRightBorderDoubleInnerBox=A>0||u>0?Ri(n.left+w,n.top+y,A-2*x/3,u-2*_/3,Ai.BOTTOM_RIGHT):new Pi(n.left+n.width-2*x/3,n.top+n.height-2*_/3),this.bottomLeftBorderDoubleInnerBox=p>0||f>0?Ri(n.left+2*B/3,n.top+v,p-2*B/3,f-2*_/3,Ai.BOTTOM_LEFT):new Pi(n.left+2*B/3,n.top+n.height-2*_/3),this.topLeftBorderStroke=o>0||i>0?Ri(n.left+B/2,n.top+b/2,o-B/2,i-b/2,Ai.TOP_LEFT):new Pi(n.left+B/2,n.top+b/2),this.topRightBorderStroke=o>0||i>0?Ri(n.left+g,n.top+b/2,s-x/2,l-b/2,Ai.TOP_RIGHT):new Pi(n.left+n.width-x/2,n.top+b/2),this.bottomRightBorderStroke=A>0||u>0?Ri(n.left+w,n.top+y,A-x/2,u-_/2,Ai.BOTTOM_RIGHT):new Pi(n.left+n.width-x/2,n.top+n.height-_/2),this.bottomLeftBorderStroke=p>0||f>0?Ri(n.left+B/2,n.top+v,p-B/2,f-_/2,Ai.BOTTOM_LEFT):new Pi(n.left+B/2,n.top+n.height-_/2),this.topLeftBorderBox=o>0||i>0?Ri(n.left,n.top,o,i,Ai.TOP_LEFT):new Pi(n.left,n.top),this.topRightBorderBox=s>0||l>0?Ri(n.left+g,n.top,s,l,Ai.TOP_RIGHT):new Pi(n.left+n.width,n.top),this.bottomRightBorderBox=A>0||u>0?Ri(n.left+w,n.top+y,A,u,Ai.BOTTOM_RIGHT):new Pi(n.left+n.width,n.top+n.height),this.bottomLeftBorderBox=p>0||f>0?Ri(n.left,n.top+v,p,f,Ai.BOTTOM_LEFT):new Pi(n.left,n.top+n.height),this.topLeftPaddingBox=o>0||i>0?Ri(n.left+B,n.top+b,Math.max(0,o-B),Math.max(0,i-b),Ai.TOP_LEFT):new Pi(n.left+B,n.top+b),this.topRightPaddingBox=s>0||l>0?Ri(n.left+Math.min(g,n.width-x),n.top+b,g>n.width+x?0:Math.max(0,s-x),Math.max(0,l-b),Ai.TOP_RIGHT):new Pi(n.left+n.width-x,n.top+b),this.bottomRightPaddingBox=A>0||u>0?Ri(n.left+Math.min(w,n.width-B),n.top+Math.min(y,n.height-_),Math.max(0,A-x),Math.max(0,u-_),Ai.BOTTOM_RIGHT):new Pi(n.left+n.width-x,n.top+n.height-_),this.bottomLeftPaddingBox=p>0||f>0?Ri(n.left+B,n.top+Math.min(v,n.height-_),Math.max(0,p-B),Math.max(0,f-_),Ai.BOTTOM_LEFT):new Pi(n.left+B,n.top+n.height-_),this.topLeftContentBox=o>0||i>0?Ri(n.left+B+j,n.top+b+C,Math.max(0,o-(B+j)),Math.max(0,i-(b+C)),Ai.TOP_LEFT):new Pi(n.left+B+j,n.top+b+C),this.topRightContentBox=s>0||l>0?Ri(n.left+Math.min(g,n.width+B+j),n.top+b+C,g>n.width+B+j?0:s-B+j,l-(b+C),Ai.TOP_RIGHT):new Pi(n.left+n.width-(x+k),n.top+b+C),this.bottomRightContentBox=A>0||u>0?Ri(n.left+Math.min(w,n.width-(B+j)),n.top+Math.min(y,n.height+b+C),Math.max(0,A-(x+k)),u-(_+S),Ai.BOTTOM_RIGHT):new Pi(n.left+n.width-(x+k),n.top+n.height-(_+S)),this.bottomLeftContentBox=p>0||f>0?Ri(n.left+B+j,n.top+v,Math.max(0,p-(B+j)),f-(_+S),Ai.BOTTOM_LEFT):new Pi(n.left+B+j,n.top+n.height-(_+S))};!function(e){e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=1]="TOP_RIGHT",e[e.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",e[e.BOTTOM_LEFT=3]="BOTTOM_LEFT"}(Ai||(Ai={}));var Ri=function(e,t,n,r,o){var i=(Math.sqrt(2)-1)/3*4,a=n*i,s=r*i,l=e+n,c=t+r;switch(o){case Ai.TOP_LEFT:return new Ti(new Pi(e,c),new Pi(e,c-s),new Pi(l-a,t),new Pi(l,t));case Ai.TOP_RIGHT:return new Ti(new Pi(e,t),new Pi(e+a,t),new Pi(l,c-s),new Pi(l,c));case Ai.BOTTOM_RIGHT:return new Ti(new Pi(l,t),new Pi(l,t+s),new Pi(e+a,c),new Pi(e,c));case Ai.BOTTOM_LEFT:default:return new Ti(new Pi(l,c),new Pi(l-a,c),new Pi(e,t+s),new Pi(e,t))}},Mi=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},Hi=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},zi=function(e,t,n){this.offsetX=e,this.offsetY=t,this.matrix=n,this.type=0,this.target=6},Ki=function(e,t){this.path=e,this.target=t,this.type=1},$i=function(e){this.opacity=e,this.type=2,this.target=6},Vi=function(e){return 1===e.type},qi=function(e,t){return e.length===t.length&&e.some(function(e,n){return e===t[n]})},Wi=function(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]},Gi=function(){function e(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new Oi(this.container),this.container.styles.opacity<1&&this.effects.push(new $i(this.container.styles.opacity)),null!==this.container.styles.transform){var n=this.container.bounds.left+this.container.styles.transformOrigin[0].number,r=this.container.bounds.top+this.container.styles.transformOrigin[1].number,o=this.container.styles.transform;this.effects.push(new zi(n,r,o))}if(0!==this.container.styles.overflowX){var i=Mi(this.curves),a=Hi(this.curves);qi(i,a)?this.effects.push(new Ki(i,6)):(this.effects.push(new Ki(i,2)),this.effects.push(new Ki(a,4)))}}return e.prototype.getEffects=function(e){for(var t=-1===[2,3].indexOf(this.container.styles.position),n=this.parent,r=this.effects.slice(0);n;){var o=n.effects.filter(function(e){return!Vi(e)});if(t||0!==n.container.styles.position||!n.parent){if(r.unshift.apply(r,o),t=-1===[2,3].indexOf(n.container.styles.position),0!==n.container.styles.overflowX){var i=Mi(n.curves),a=Hi(n.curves);qi(i,a)||r.unshift(new Ki(a,6))}}else r.unshift.apply(r,o);n=n.parent}return r.filter(function(t){return Ar(t.target,e)})},e}(),Yi=function(e,t,n,r){e.container.elements.forEach(function(o){var i=Ar(o.flags,4),a=Ar(o.flags,2),s=new Gi(o,e);Ar(o.styles.display,2048)&&r.push(s);var l=Ar(o.flags,8)?[]:r;if(i||a){var c=i||o.styles.isPositioned()?n:t,A=new Wi(s);if(o.styles.isPositioned()||o.styles.opacity<1||o.styles.isTransformed()){var u=o.styles.zIndex.order;if(u<0){var d=0;c.negativeZIndex.some(function(e,t){return u>e.element.container.styles.zIndex.order?(d=t,!1):d>0}),c.negativeZIndex.splice(d,0,A)}else if(u>0){var p=0;c.positiveZIndex.some(function(e,t){return u>=e.element.container.styles.zIndex.order?(p=t+1,!1):p>0}),c.positiveZIndex.splice(p,0,A)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(A)}else o.styles.isFloating()?c.nonPositionedFloats.push(A):c.nonPositionedInlineLevel.push(A);Yi(s,A,i?A:n,l)}else o.styles.isInlineLevel()?t.inlineLevel.push(s):t.nonInlineLevel.push(s),Yi(s,t,n,l);Ar(o.flags,8)&&Xi(o,l)})},Xi=function(e,t){for(var n=e instanceof uo?e.start:1,r=e instanceof uo&&e.reversed,o=0;o<t.length;o++){var i=t[o];i.container instanceof Ao&&"number"==typeof i.container.value&&0!==i.container.value&&(n=i.container.value),i.listValue=si(n,i.container.styles.listStyleType,!0),n+=r?-1:1}},Ji=function(e,t){switch(t){case 0:return ea(e.topLeftBorderBox,e.topLeftPaddingBox,e.topRightBorderBox,e.topRightPaddingBox);case 1:return ea(e.topRightBorderBox,e.topRightPaddingBox,e.bottomRightBorderBox,e.bottomRightPaddingBox);case 2:return ea(e.bottomRightBorderBox,e.bottomRightPaddingBox,e.bottomLeftBorderBox,e.bottomLeftPaddingBox);default:return ea(e.bottomLeftBorderBox,e.bottomLeftPaddingBox,e.topLeftBorderBox,e.topLeftPaddingBox)}},Zi=function(e,t){var n=[];return Di(e)?n.push(e.subdivide(.5,!1)):n.push(e),Di(t)?n.push(t.subdivide(.5,!0)):n.push(t),n},ea=function(e,t,n,r){var o=[];return Di(e)?o.push(e.subdivide(.5,!1)):o.push(e),Di(n)?o.push(n.subdivide(.5,!0)):o.push(n),Di(r)?o.push(r.subdivide(.5,!0).reverse()):o.push(r),Di(t)?o.push(t.subdivide(.5,!1).reverse()):o.push(t),o},ta=function(e){var t=e.bounds,n=e.styles;return t.add(n.borderLeftWidth,n.borderTopWidth,-(n.borderRightWidth+n.borderLeftWidth),-(n.borderTopWidth+n.borderBottomWidth))},na=function(e){var t=e.styles,n=e.bounds,r=it(t.paddingLeft,n.width),o=it(t.paddingRight,n.width),i=it(t.paddingTop,n.width),a=it(t.paddingBottom,n.width);return n.add(r+t.borderLeftWidth,i+t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth+r+o),-(t.borderTopWidth+t.borderBottomWidth+i+a))},ra=function(e,t,n){var r=function(e,t){return 0===e?t.bounds:2===e?na(t):ta(t)}(sa(e.styles.backgroundOrigin,t),e),o=function(e,t){return 0===e?t.bounds:2===e?na(t):ta(t)}(sa(e.styles.backgroundClip,t),e),i=aa(sa(e.styles.backgroundSize,t),n,r),a=i[0],s=i[1],l=ot(sa(e.styles.backgroundPosition,t),r.width-a,r.height-s);return[la(sa(e.styles.backgroundRepeat,t),l,i,r,o),Math.round(r.left+l[0]),Math.round(r.top+l[1]),a,s]},oa=function(e){return $e(e)&&e.value===Mt.AUTO},ia=function(e){return"number"==typeof e},aa=function(e,t,n){var r=t[0],o=t[1],i=t[2],a=e[0],s=e[1];if(!a)return[0,0];if(Ze(a)&&s&&Ze(s))return[it(a,n.width),it(s,n.height)];var l=ia(i);if($e(a)&&(a.value===Mt.CONTAIN||a.value===Mt.COVER))return ia(i)?n.width/n.height<i!=(a.value===Mt.COVER)?[n.width,n.width/i]:[n.height*i,n.height]:[n.width,n.height];var c=ia(r),A=ia(o),u=c||A;if(oa(a)&&(!s||oa(s)))return c&&A?[r,o]:l||u?u&&l?[c?r:o*i,A?o:r/i]:[c?r:n.width,A?o:n.height]:[n.width,n.height];if(l){var d=0,p=0;return Ze(a)?d=it(a,n.width):Ze(s)&&(p=it(s,n.height)),oa(a)?d=p*i:s&&!oa(s)||(p=d/i),[d,p]}var f=null,h=null;if(Ze(a)?f=it(a,n.width):s&&Ze(s)&&(h=it(s,n.height)),null===f||s&&!oa(s)||(h=c&&A?f/r*o:n.height),null!==h&&oa(a)&&(f=c&&A?h/o*r:n.width),null!==f&&null!==h)return[f,h];throw new Error("Unable to calculate background-size for element")},sa=function(e,t){var n=e[t];return void 0===n?e[0]:n},la=function(e,t,n,r,o){var i=t[0],a=t[1],s=n[0],l=n[1];switch(e){case 2:return[new Pi(Math.round(r.left),Math.round(r.top+a)),new Pi(Math.round(r.left+r.width),Math.round(r.top+a)),new Pi(Math.round(r.left+r.width),Math.round(l+r.top+a)),new Pi(Math.round(r.left),Math.round(l+r.top+a))];case 3:return[new Pi(Math.round(r.left+i),Math.round(r.top)),new Pi(Math.round(r.left+i+s),Math.round(r.top)),new Pi(Math.round(r.left+i+s),Math.round(r.height+r.top)),new Pi(Math.round(r.left+i),Math.round(r.height+r.top))];case 1:return[new Pi(Math.round(r.left+i),Math.round(r.top+a)),new Pi(Math.round(r.left+i+s),Math.round(r.top+a)),new Pi(Math.round(r.left+i+s),Math.round(r.top+a+l)),new Pi(Math.round(r.left+i),Math.round(r.top+a+l))];default:return[new Pi(Math.round(o.left),Math.round(o.top)),new Pi(Math.round(o.left+o.width),Math.round(o.top)),new Pi(Math.round(o.left+o.width),Math.round(o.height+o.top)),new Pi(Math.round(o.left),Math.round(o.height+o.top))]}},ca="Hidden Text",Aa=function(){function e(e){this._data={},this._document=e}return e.prototype.parseMetrics=function(e,t){var n=this._document.createElement("div"),r=this._document.createElement("img"),o=this._document.createElement("span"),i=this._document.body;n.style.visibility="hidden",n.style.fontFamily=e,n.style.fontSize=t,n.style.margin="0",n.style.padding="0",n.style.whiteSpace="nowrap",i.appendChild(n),r.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",r.width=1,r.height=1,r.style.margin="0",r.style.padding="0",r.style.verticalAlign="baseline",o.style.fontFamily=e,o.style.fontSize=t,o.style.margin="0",o.style.padding="0",o.appendChild(this._document.createTextNode(ca)),n.appendChild(o),n.appendChild(r);var a=r.offsetTop-o.offsetTop+2;n.removeChild(o),n.appendChild(this._document.createTextNode(ca)),n.style.lineHeight="normal",r.style.verticalAlign="super";var s=r.offsetTop-n.offsetTop+2;return i.removeChild(n),{baseline:a,middle:s}},e.prototype.getMetrics=function(e,t){var n=e+" "+t;return void 0===this._data[n]&&(this._data[n]=this.parseMetrics(e,t)),this._data[n]},e}(),ua=function(e,t){this.context=e,this.options=t},da=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r._activeEffects=[],r.canvas=n.canvas?n.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),n.canvas||(r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+"px",r.canvas.style.height=n.height+"px"),r.fontMetrics=new Aa(document),r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.ctx.textBaseline="bottom",r._activeEffects=[],r.context.logger.debug("Canvas renderer initialized ("+n.width+"x"+n.height+") with scale "+n.scale),r}return t(n,e),n.prototype.applyEffects=function(e){for(var t=this;this._activeEffects.length;)this.popEffect();e.forEach(function(e){return t.applyEffect(e)})},n.prototype.applyEffect=function(e){this.ctx.save(),function(e){return 2===e.type}(e)&&(this.ctx.globalAlpha=e.opacity),function(e){return 0===e.type}(e)&&(this.ctx.translate(e.offsetX,e.offsetY),this.ctx.transform(e.matrix[0],e.matrix[1],e.matrix[2],e.matrix[3],e.matrix[4],e.matrix[5]),this.ctx.translate(-e.offsetX,-e.offsetY)),Vi(e)&&(this.path(e.path),this.ctx.clip()),this._activeEffects.push(e)},n.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},n.prototype.renderStack=function(e){return r(this,void 0,void 0,function(){return o(this,function(t){switch(t.label){case 0:return e.element.container.styles.isVisible()?[4,this.renderStackContent(e)]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}})})},n.prototype.renderNode=function(e){return r(this,void 0,void 0,function(){return o(this,function(t){switch(t.label){case 0:return Ar(e.container.flags,16),e.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(e)]:[3,3];case 1:return t.sent(),[4,this.renderNodeContent(e)];case 2:t.sent(),t.label=3;case 3:return[2]}})})},n.prototype.renderTextWithLetterSpacing=function(e,t,n){var r=this;0===t?this.ctx.fillText(e.text,e.bounds.left,e.bounds.top+n):Zr(e.text).reduce(function(t,o){return r.ctx.fillText(o,t,e.bounds.top+n),t+r.ctx.measureText(o).width},e.bounds.left)},n.prototype.createFontStyle=function(e){var t=e.fontVariant.filter(function(e){return"normal"===e||"small-caps"===e}).join(""),n=ga(e.fontFamily).join(", "),r=ze(e.fontSize)?""+e.fontSize.number+e.fontSize.unit:e.fontSize.number+"px";return[[e.fontStyle,t,e.fontWeight,r,n].join(" "),n,r]},n.prototype.renderTextNode=function(e,t){return r(this,void 0,void 0,function(){var n,r,i,a,s,l,c,A,u=this;return o(this,function(o){return n=this.createFontStyle(t),r=n[0],i=n[1],a=n[2],this.ctx.font=r,this.ctx.direction=1===t.direction?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",s=this.fontMetrics.getMetrics(i,a),l=s.baseline,c=s.middle,A=t.paintOrder,e.textBounds.forEach(function(e){A.forEach(function(n){switch(n){case 0:u.ctx.fillStyle=ft(t.color),u.renderTextWithLetterSpacing(e,t.letterSpacing,l);var r=t.textShadow;r.length&&e.text.trim().length&&(r.slice(0).reverse().forEach(function(n){u.ctx.shadowColor=ft(n.color),u.ctx.shadowOffsetX=n.offsetX.number*u.options.scale,u.ctx.shadowOffsetY=n.offsetY.number*u.options.scale,u.ctx.shadowBlur=n.blur.number,u.renderTextWithLetterSpacing(e,t.letterSpacing,l)}),u.ctx.shadowColor="",u.ctx.shadowOffsetX=0,u.ctx.shadowOffsetY=0,u.ctx.shadowBlur=0),t.textDecorationLine.length&&(u.ctx.fillStyle=ft(t.textDecorationColor||t.color),t.textDecorationLine.forEach(function(t){switch(t){case 1:u.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top+l),e.bounds.width,1);break;case 2:u.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top),e.bounds.width,1);break;case 3:u.ctx.fillRect(e.bounds.left,Math.ceil(e.bounds.top+c),e.bounds.width,1)}}));break;case 1:t.webkitTextStrokeWidth&&e.text.trim().length&&(u.ctx.strokeStyle=ft(t.webkitTextStrokeColor),u.ctx.lineWidth=t.webkitTextStrokeWidth,u.ctx.lineJoin=window.chrome?"miter":"round",u.ctx.strokeText(e.text,e.bounds.left,e.bounds.top+l)),u.ctx.strokeStyle="",u.ctx.lineWidth=0,u.ctx.lineJoin="miter"}})}),[2]})})},n.prototype.renderReplacedElement=function(e,t,n){if(n&&e.intrinsicWidth>0&&e.intrinsicHeight>0){var r=na(e),o=Hi(t);this.path(o),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,e.intrinsicWidth,e.intrinsicHeight,r.left,r.top,r.width,r.height),this.ctx.restore()}},n.prototype.renderNodeContent=function(e){return r(this,void 0,void 0,function(){var t,r,i,s,l,c,A,u,d,p,f,h,m,g,y,w,v,b;return o(this,function(o){switch(o.label){case 0:this.applyEffects(e.getEffects(4)),t=e.container,r=e.curves,i=t.styles,s=0,l=t.textNodes,o.label=1;case 1:return s<l.length?(c=l[s],[4,this.renderTextNode(c,i)]):[3,4];case 2:o.sent(),o.label=3;case 3:return s++,[3,1];case 4:if(!(t instanceof so))return[3,8];o.label=5;case 5:return o.trys.push([5,7,,8]),[4,this.context.cache.match(t.src)];case 6:return y=o.sent(),this.renderReplacedElement(t,r,y),[3,8];case 7:return o.sent(),this.context.logger.error("Error loading image "+t.src),[3,8];case 8:if(t instanceof lo&&this.renderReplacedElement(t,r,t.canvas),!(t instanceof co))return[3,12];o.label=9;case 9:return o.trys.push([9,11,,12]),[4,this.context.cache.match(t.svg)];case 10:return y=o.sent(),this.renderReplacedElement(t,r,y),[3,12];case 11:return o.sent(),this.context.logger.error("Error loading svg "+t.svg.substring(0,255)),[3,12];case 12:return t instanceof xo&&t.tree?[4,new n(this.context,{scale:this.options.scale,backgroundColor:t.backgroundColor,x:0,y:0,width:t.width,height:t.height}).render(t.tree)]:[3,14];case 13:A=o.sent(),t.width&&t.height&&this.ctx.drawImage(A,0,0,t.width,t.height,t.bounds.left,t.bounds.top,t.bounds.width,t.bounds.height),o.label=14;case 14:if(t instanceof wo&&(u=Math.min(t.bounds.width,t.bounds.height),t.type===ho?t.checked&&(this.ctx.save(),this.path([new Pi(t.bounds.left+.39363*u,t.bounds.top+.79*u),new Pi(t.bounds.left+.16*u,t.bounds.top+.5549*u),new Pi(t.bounds.left+.27347*u,t.bounds.top+.44071*u),new Pi(t.bounds.left+.39694*u,t.bounds.top+.5649*u),new Pi(t.bounds.left+.72983*u,t.bounds.top+.23*u),new Pi(t.bounds.left+.84*u,t.bounds.top+.34085*u),new Pi(t.bounds.left+.39363*u,t.bounds.top+.79*u)]),this.ctx.fillStyle=ft(yo),this.ctx.fill(),this.ctx.restore()):t.type===mo&&t.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(t.bounds.left+u/2,t.bounds.top+u/2,u/4,0,2*Math.PI,!0),this.ctx.fillStyle=ft(yo),this.ctx.fill(),this.ctx.restore())),pa(t)&&t.value.length){switch(d=this.createFontStyle(i),v=d[0],p=d[1],f=this.fontMetrics.getMetrics(v,p).baseline,this.ctx.font=v,this.ctx.fillStyle=ft(i.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=ha(t.styles.textAlign),b=na(t),h=0,t.styles.textAlign){case 1:h+=b.width/2;break;case 2:h+=b.width}m=b.add(h,0,0,-b.height/2+1),this.ctx.save(),this.path([new Pi(b.left,b.top),new Pi(b.left+b.width,b.top),new Pi(b.left+b.width,b.top+b.height),new Pi(b.left,b.top+b.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Yr(t.value,m),i.letterSpacing,f),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!Ar(t.styles.display,2048))return[3,20];if(null===t.styles.listStyleImage)return[3,19];if(0!==(g=t.styles.listStyleImage).type)return[3,18];y=void 0,w=g.url,o.label=15;case 15:return o.trys.push([15,17,,18]),[4,this.context.cache.match(w)];case 16:return y=o.sent(),this.ctx.drawImage(y,t.bounds.left-(y.width+10),t.bounds.top),[3,18];case 17:return o.sent(),this.context.logger.error("Error loading list-style-image "+w),[3,18];case 18:return[3,20];case 19:e.listValue&&-1!==t.styles.listStyleType&&(v=this.createFontStyle(i)[0],this.ctx.font=v,this.ctx.fillStyle=ft(i.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",b=new a(t.bounds.left,t.bounds.top+it(t.styles.paddingTop,t.bounds.width),t.bounds.width,Sn(i.lineHeight,i.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Yr(e.listValue,b),i.letterSpacing,Sn(i.lineHeight,i.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),o.label=20;case 20:return[2]}})})},n.prototype.renderStackContent=function(e){return r(this,void 0,void 0,function(){var t,n,r,i,a,s,l,c,A,u,d,p,f,h,m;return o(this,function(o){switch(o.label){case 0:return Ar(e.element.container.flags,16),[4,this.renderNodeBackgroundAndBorders(e.element)];case 1:o.sent(),t=0,n=e.negativeZIndex,o.label=2;case 2:return t<n.length?(m=n[t],[4,this.renderStack(m)]):[3,5];case 3:o.sent(),o.label=4;case 4:return t++,[3,2];case 5:return[4,this.renderNodeContent(e.element)];case 6:o.sent(),r=0,i=e.nonInlineLevel,o.label=7;case 7:return r<i.length?(m=i[r],[4,this.renderNode(m)]):[3,10];case 8:o.sent(),o.label=9;case 9:return r++,[3,7];case 10:a=0,s=e.nonPositionedFloats,o.label=11;case 11:return a<s.length?(m=s[a],[4,this.renderStack(m)]):[3,14];case 12:o.sent(),o.label=13;case 13:return a++,[3,11];case 14:l=0,c=e.nonPositionedInlineLevel,o.label=15;case 15:return l<c.length?(m=c[l],[4,this.renderStack(m)]):[3,18];case 16:o.sent(),o.label=17;case 17:return l++,[3,15];case 18:A=0,u=e.inlineLevel,o.label=19;case 19:return A<u.length?(m=u[A],[4,this.renderNode(m)]):[3,22];case 20:o.sent(),o.label=21;case 21:return A++,[3,19];case 22:d=0,p=e.zeroOrAutoZIndexOrTransformedOrOpacity,o.label=23;case 23:return d<p.length?(m=p[d],[4,this.renderStack(m)]):[3,26];case 24:o.sent(),o.label=25;case 25:return d++,[3,23];case 26:f=0,h=e.positiveZIndex,o.label=27;case 27:return f<h.length?(m=h[f],[4,this.renderStack(m)]):[3,30];case 28:o.sent(),o.label=29;case 29:return f++,[3,27];case 30:return[2]}})})},n.prototype.mask=function(e){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(e.slice(0).reverse()),this.ctx.closePath()},n.prototype.path=function(e){this.ctx.beginPath(),this.formatPath(e),this.ctx.closePath()},n.prototype.formatPath=function(e){var t=this;e.forEach(function(e,n){var r=Di(e)?e.start:e;0===n?t.ctx.moveTo(r.x,r.y):t.ctx.lineTo(r.x,r.y),Di(e)&&t.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)})},n.prototype.renderRepeat=function(e,t,n,r){this.path(e),this.ctx.fillStyle=t,this.ctx.translate(n,r),this.ctx.fill(),this.ctx.translate(-n,-r)},n.prototype.resizeImage=function(e,t,n){var r;if(e.width===t&&e.height===n)return e;var o=(null!==(r=this.canvas.ownerDocument)&&void 0!==r?r:document).createElement("canvas");return o.width=Math.max(1,t),o.height=Math.max(1,n),o.getContext("2d").drawImage(e,0,0,e.width,e.height,0,0,t,n),o},n.prototype.renderBackgroundImage=function(e){return r(this,void 0,void 0,function(){var t,n,r,i,a,s;return o(this,function(l){switch(l.label){case 0:t=e.styles.backgroundImage.length-1,n=function(n){var i,a,s,l,c,A,u,d,p,f,h,m,g,y,w,v,b,x,_,B,C,k,S,j,E,F,N,U,L,I,P;return o(this,function(o){switch(o.label){case 0:if(0!==n.type)return[3,5];i=void 0,a=n.url,o.label=1;case 1:return o.trys.push([1,3,,4]),[4,r.context.cache.match(a)];case 2:return i=o.sent(),[3,4];case 3:return o.sent(),r.context.logger.error("Error loading background-image "+a),[3,4];case 4:return i&&(s=ra(e,t,[i.width,i.height,i.width/i.height]),v=s[0],k=s[1],S=s[2],_=s[3],B=s[4],y=r.ctx.createPattern(r.resizeImage(i,_,B),"repeat"),r.renderRepeat(v,y,k,S)),[3,6];case 5:1===n.type?(l=ra(e,t,[null,null,null]),v=l[0],k=l[1],S=l[2],_=l[3],B=l[4],c=St(n.angle,_,B),A=c[0],u=c[1],d=c[2],p=c[3],f=c[4],(h=document.createElement("canvas")).width=_,h.height=B,m=h.getContext("2d"),g=m.createLinearGradient(u,p,d,f),kt(n.stops,A).forEach(function(e){return g.addColorStop(e.stop,ft(e.color))}),m.fillStyle=g,m.fillRect(0,0,_,B),_>0&&B>0&&(y=r.ctx.createPattern(h,"repeat"),r.renderRepeat(v,y,k,S))):function(e){return 2===e.type}(n)&&(w=ra(e,t,[null,null,null]),v=w[0],b=w[1],x=w[2],_=w[3],B=w[4],C=0===n.position.length?[nt]:n.position,k=it(C[0],_),S=it(C[C.length-1],B),j=function(e,t,n,r,o){var i=0,a=0;switch(e.size){case 0:0===e.shape?i=a=Math.min(Math.abs(t),Math.abs(t-r),Math.abs(n),Math.abs(n-o)):1===e.shape&&(i=Math.min(Math.abs(t),Math.abs(t-r)),a=Math.min(Math.abs(n),Math.abs(n-o)));break;case 2:if(0===e.shape)i=a=Math.min(jt(t,n),jt(t,n-o),jt(t-r,n),jt(t-r,n-o));else if(1===e.shape){var s=Math.min(Math.abs(n),Math.abs(n-o))/Math.min(Math.abs(t),Math.abs(t-r)),l=Et(r,o,t,n,!0),c=l[0],A=l[1];a=s*(i=jt(c-t,(A-n)/s))}break;case 1:0===e.shape?i=a=Math.max(Math.abs(t),Math.abs(t-r),Math.abs(n),Math.abs(n-o)):1===e.shape&&(i=Math.max(Math.abs(t),Math.abs(t-r)),a=Math.max(Math.abs(n),Math.abs(n-o)));break;case 3:if(0===e.shape)i=a=Math.max(jt(t,n),jt(t,n-o),jt(t-r,n),jt(t-r,n-o));else if(1===e.shape){s=Math.max(Math.abs(n),Math.abs(n-o))/Math.max(Math.abs(t),Math.abs(t-r));var u=Et(r,o,t,n,!1);c=u[0],A=u[1],a=s*(i=jt(c-t,(A-n)/s))}}return Array.isArray(e.size)&&(i=it(e.size[0],r),a=2===e.size.length?it(e.size[1],o):i),[i,a]}(n,k,S,_,B),E=j[0],F=j[1],E>0&&F>0&&(N=r.ctx.createRadialGradient(b+k,x+S,0,b+k,x+S,E),kt(n.stops,2*E).forEach(function(e){return N.addColorStop(e.stop,ft(e.color))}),r.path(v),r.ctx.fillStyle=N,E!==F?(U=e.bounds.left+.5*e.bounds.width,L=e.bounds.top+.5*e.bounds.height,P=1/(I=F/E),r.ctx.save(),r.ctx.translate(U,L),r.ctx.transform(1,0,0,I,0,0),r.ctx.translate(-U,-L),r.ctx.fillRect(b,P*(x-L)+L,_,B*P),r.ctx.restore()):r.ctx.fill())),o.label=6;case 6:return t--,[2]}})},r=this,i=0,a=e.styles.backgroundImage.slice(0).reverse(),l.label=1;case 1:return i<a.length?(s=a[i],[5,n(s)]):[3,4];case 2:l.sent(),l.label=3;case 3:return i++,[3,1];case 4:return[2]}})})},n.prototype.renderSolidBorder=function(e,t,n){return r(this,void 0,void 0,function(){return o(this,function(r){return this.path(Ji(n,t)),this.ctx.fillStyle=ft(e),this.ctx.fill(),[2]})})},n.prototype.renderDoubleBorder=function(e,t,n,i){return r(this,void 0,void 0,function(){var r,a;return o(this,function(o){switch(o.label){case 0:return t<3?[4,this.renderSolidBorder(e,n,i)]:[3,2];case 1:return o.sent(),[2];case 2:return r=function(e,t){switch(t){case 0:return ea(e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox,e.topRightBorderBox,e.topRightBorderDoubleOuterBox);case 1:return ea(e.topRightBorderBox,e.topRightBorderDoubleOuterBox,e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox);case 2:return ea(e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox,e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox);default:return ea(e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox,e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox)}}(i,n),this.path(r),this.ctx.fillStyle=ft(e),this.ctx.fill(),a=function(e,t){switch(t){case 0:return ea(e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox,e.topRightBorderDoubleInnerBox,e.topRightPaddingBox);case 1:return ea(e.topRightBorderDoubleInnerBox,e.topRightPaddingBox,e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox);case 2:return ea(e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox,e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox);default:return ea(e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox,e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox)}}(i,n),this.path(a),this.ctx.fill(),[2]}})})},n.prototype.renderNodeBackgroundAndBorders=function(e){return r(this,void 0,void 0,function(){var t,n,r,i,a,s,l,c,A=this;return o(this,function(o){switch(o.label){case 0:return this.applyEffects(e.getEffects(2)),t=e.container.styles,n=!pt(t.backgroundColor)||t.backgroundImage.length,r=[{style:t.borderTopStyle,color:t.borderTopColor,width:t.borderTopWidth},{style:t.borderRightStyle,color:t.borderRightColor,width:t.borderRightWidth},{style:t.borderBottomStyle,color:t.borderBottomColor,width:t.borderBottomWidth},{style:t.borderLeftStyle,color:t.borderLeftColor,width:t.borderLeftWidth}],i=fa(sa(t.backgroundClip,0),e.curves),n||t.boxShadow.length?(this.ctx.save(),this.path(i),this.ctx.clip(),pt(t.backgroundColor)||(this.ctx.fillStyle=ft(t.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(e.container)]):[3,2];case 1:o.sent(),this.ctx.restore(),t.boxShadow.slice(0).reverse().forEach(function(t){A.ctx.save();var n,r,o,i,a,s=Mi(e.curves),l=t.inset?0:1e4,c=(n=s,r=-l+(t.inset?1:-1)*t.spread.number,o=(t.inset?1:-1)*t.spread.number,i=t.spread.number*(t.inset?-2:2),a=t.spread.number*(t.inset?-2:2),n.map(function(e,t){switch(t){case 0:return e.add(r,o);case 1:return e.add(r+i,o);case 2:return e.add(r+i,o+a);case 3:return e.add(r,o+a)}return e}));t.inset?(A.path(s),A.ctx.clip(),A.mask(c)):(A.mask(s),A.ctx.clip(),A.path(c)),A.ctx.shadowOffsetX=t.offsetX.number+l,A.ctx.shadowOffsetY=t.offsetY.number,A.ctx.shadowColor=ft(t.color),A.ctx.shadowBlur=t.blur.number,A.ctx.fillStyle=t.inset?ft(t.color):"rgba(0,0,0,1)",A.ctx.fill(),A.ctx.restore()}),o.label=2;case 2:a=0,s=0,l=r,o.label=3;case 3:return s<l.length?0!==(c=l[s]).style&&!pt(c.color)&&c.width>0?2!==c.style?[3,5]:[4,this.renderDashedDottedBorder(c.color,c.width,a,e.curves,2)]:[3,11]:[3,13];case 4:return o.sent(),[3,11];case 5:return 3!==c.style?[3,7]:[4,this.renderDashedDottedBorder(c.color,c.width,a,e.curves,3)];case 6:return o.sent(),[3,11];case 7:return 4!==c.style?[3,9]:[4,this.renderDoubleBorder(c.color,c.width,a,e.curves)];case 8:return o.sent(),[3,11];case 9:return[4,this.renderSolidBorder(c.color,a,e.curves)];case 10:o.sent(),o.label=11;case 11:a++,o.label=12;case 12:return s++,[3,3];case 13:return[2]}})})},n.prototype.renderDashedDottedBorder=function(e,t,n,i,a){return r(this,void 0,void 0,function(){var r,s,l,c,A,u,d,p,f,h,m,g,y,w,v,b;return o(this,function(o){return this.ctx.save(),r=function(e,t){switch(t){case 0:return Zi(e.topLeftBorderStroke,e.topRightBorderStroke);case 1:return Zi(e.topRightBorderStroke,e.bottomRightBorderStroke);case 2:return Zi(e.bottomRightBorderStroke,e.bottomLeftBorderStroke);default:return Zi(e.bottomLeftBorderStroke,e.topLeftBorderStroke)}}(i,n),s=Ji(i,n),2===a&&(this.path(s),this.ctx.clip()),Di(s[0])?(l=s[0].start.x,c=s[0].start.y):(l=s[0].x,c=s[0].y),Di(s[1])?(A=s[1].end.x,u=s[1].end.y):(A=s[1].x,u=s[1].y),d=0===n||2===n?Math.abs(l-A):Math.abs(c-u),this.ctx.beginPath(),3===a?this.formatPath(r):this.formatPath(s.slice(0,2)),p=t<3?3*t:2*t,f=t<3?2*t:t,3===a&&(p=t,f=t),h=!0,d<=2*p?h=!1:d<=2*p+f?(p*=m=d/(2*p+f),f*=m):(g=Math.floor((d+f)/(p+f)),y=(d-g*p)/(g-1),f=(w=(d-(g+1)*p)/g)<=0||Math.abs(f-y)<Math.abs(f-w)?y:w),h&&(3===a?this.ctx.setLineDash([0,p+f]):this.ctx.setLineDash([p,f])),3===a?(this.ctx.lineCap="round",this.ctx.lineWidth=t):this.ctx.lineWidth=2*t+1.1,this.ctx.strokeStyle=ft(e),this.ctx.stroke(),this.ctx.setLineDash([]),2===a&&(Di(s[0])&&(v=s[3],b=s[0],this.ctx.beginPath(),this.formatPath([new Pi(v.end.x,v.end.y),new Pi(b.start.x,b.start.y)]),this.ctx.stroke()),Di(s[1])&&(v=s[1],b=s[2],this.ctx.beginPath(),this.formatPath([new Pi(v.end.x,v.end.y),new Pi(b.start.x,b.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},n.prototype.render=function(e){return r(this,void 0,void 0,function(){var t;return o(this,function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=ft(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),r=new Gi(e,null),o=new Wi(r),Yi(r,o,o,i=[]),Xi(r.container,i),t=o,[4,this.renderStack(t)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}var r,o,i})})},n}(ua),pa=function(e){return e instanceof bo||e instanceof vo||e instanceof wo&&e.type!==mo&&e.type!==ho},fa=function(e,t){switch(e){case 0:return Mi(t);case 2:return function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]}(t);default:return Hi(t)}},ha=function(e){switch(e){case 1:return"center";case 2:return"right";default:return"left"}},ma=["-apple-system","system-ui"],ga=function(e){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?e.filter(function(e){return-1===ma.indexOf(e)}):e},ya=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.canvas=n.canvas?n.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),r.options=n,r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+"px",r.canvas.style.height=n.height+"px",r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+n.width+"x"+n.height+" at "+n.x+","+n.y+") with scale "+n.scale),r}return t(n,e),n.prototype.render=function(e){return r(this,void 0,void 0,function(){var t,n;return o(this,function(r){switch(r.label){case 0:return t=qr(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,e),[4,wa(t)];case 1:return n=r.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=ft(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},n}(ua),wa=function(e){return new Promise(function(t,n){var r=new Image;r.onload=function(){t(r)},r.onerror=n,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))})},va=function(){function e(e){var t=e.id,n=e.enabled;this.id=t,this.enabled=n,this.start=Date.now()}return e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.debug?console.debug.apply(console,i([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},e.prototype.getTime=function(){return Date.now()-this.start},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&"undefined"!=typeof window&&window.console&&"function"==typeof console.info&&console.info.apply(console,i([this.id,this.getTime()+"ms"],e))},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.warn?console.warn.apply(console,i([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.error?console.error.apply(console,i([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},e.instances={},e}(),ba=function(){function e(t,n){var r;this.windowBounds=n,this.instanceName="#"+e.instanceCount++,this.logger=new va({id:this.instanceName,enabled:t.logging}),this.cache=null!==(r=t.cache)&&void 0!==r?r:new ki(this,t)}return e.instanceCount=1,e}();"undefined"!=typeof window&&Ci.setContext(window);var xa=function(e,t){return r(void 0,void 0,void 0,function(){var r,i,l,c,A,u,d,p,f,h,m,g,y,w,v,b,x,_,B,C,k,S,j,E,F,N,U,L,I,P,Q,T,D,O,R,M,H,z;return o(this,function(o){switch(o.label){case 0:if(!e||"object"!=typeof e)return[2,Promise.reject("Invalid element provided as first argument")];if(!(r=e.ownerDocument))throw new Error("Element is not attached to a Document");
2if(!(i=r.defaultView))throw new Error("Document is not attached to a Window");return l={allowTaint:null!==(S=t.allowTaint)&&void 0!==S&&S,imageTimeout:null!==(j=t.imageTimeout)&&void 0!==j?j:15e3,proxy:t.proxy,useCORS:null!==(E=t.useCORS)&&void 0!==E&&E},c=n({logging:null===(F=t.logging)||void 0===F||F,cache:t.cache},l),A={windowWidth:null!==(N=t.windowWidth)&&void 0!==N?N:i.innerWidth,windowHeight:null!==(U=t.windowHeight)&&void 0!==U?U:i.innerHeight,scrollX:null!==(L=t.scrollX)&&void 0!==L?L:i.pageXOffset,scrollY:null!==(I=t.scrollY)&&void 0!==I?I:i.pageYOffset},u=new a(A.scrollX,A.scrollY,A.windowWidth,A.windowHeight),d=new ba(c,u),p=null!==(P=t.foreignObjectRendering)&&void 0!==P&&P,f={allowTaint:null!==(Q=t.allowTaint)&&void 0!==Q&&Q,onclone:t.onclone,ignoreElements:t.ignoreElements,inlineImages:p,copyStyles:p},d.logger.debug("Starting document clone with size "+u.width+"x"+u.height+" scrolled to "+-u.left+","+-u.top),h=new ci(d,e,f),(m=h.clonedReferenceElement)?[4,h.toIFrame(r,u)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return g=o.sent(),y=To(m)||"HTML"===m.tagName?function(e){var t=e.body,n=e.documentElement;if(!t||!n)throw new Error("Unable to get document size");var r=Math.max(Math.max(t.scrollWidth,n.scrollWidth),Math.max(t.offsetWidth,n.offsetWidth),Math.max(t.clientWidth,n.clientWidth)),o=Math.max(Math.max(t.scrollHeight,n.scrollHeight),Math.max(t.offsetHeight,n.offsetHeight),Math.max(t.clientHeight,n.clientHeight));return new a(0,0,r,o)}(m.ownerDocument):s(d,m),w=y.width,v=y.height,b=y.left,x=y.top,_=_a(d,m,t.backgroundColor),B={canvas:t.canvas,backgroundColor:_,scale:null!==(D=null!==(T=t.scale)&&void 0!==T?T:i.devicePixelRatio)&&void 0!==D?D:1,x:(null!==(O=t.x)&&void 0!==O?O:0)+b,y:(null!==(R=t.y)&&void 0!==R?R:0)+x,width:null!==(M=t.width)&&void 0!==M?M:Math.ceil(w),height:null!==(H=t.height)&&void 0!==H?H:Math.ceil(v)},p?(d.logger.debug("Document cloned, using foreign object rendering"),[4,new ya(d,B).render(m)]):[3,3];case 2:return C=o.sent(),[3,5];case 3:return d.logger.debug("Document cloned, element located at "+b+","+x+" with size "+w+"x"+v+" using computed rendering"),d.logger.debug("Starting DOM parsing"),k=ko(d,m),_===k.styles.backgroundColor&&(k.styles.backgroundColor=xt.TRANSPARENT),d.logger.debug("Starting renderer for element at "+B.x+","+B.y+" with size "+B.width+"x"+B.height),[4,new da(d,B).render(k)];case 4:C=o.sent(),o.label=5;case 5:return(null===(z=t.removeContainer)||void 0===z||z)&&(ci.destroy(g)||d.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),d.logger.debug("Finished rendering"),[2,C]}})})},_a=function(e,t,n){var r=t.ownerDocument,o=r.documentElement?bt(e,getComputedStyle(r.documentElement).backgroundColor):xt.TRANSPARENT,i=r.body?bt(e,getComputedStyle(r.body).backgroundColor):xt.TRANSPARENT,a="string"==typeof n?bt(e,n):null===n?xt.TRANSPARENT:4294967295;return t===r.documentElement?pt(o)?pt(i)?a:i:o:a};return function(e,t){return void 0===t&&(t={}),xa(e,t)}}()},540:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},961:(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(6221)},1113:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},1247:(e,t,n)=>{"use strict";var r=n(9982),o=n(6540),i=n(961);function a(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;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."}function s(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function l(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 c(e){if(s(e)!==e)throw Error(a(188))}function A(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e;for(e=e.child;null!==e;){if(null!==(t=A(e)))return t;e=e.sibling}return null}var u=Object.assign,d=Symbol.for("react.element"),p=Symbol.for("react.transitional.element"),f=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),m=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),y=Symbol.for("react.provider"),w=Symbol.for("react.consumer"),v=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),C=Symbol.for("react.lazy");Symbol.for("react.scope");var k=Symbol.for("react.activity");Symbol.for("react.legacy_hidden"),Symbol.for("react.tracing_marker");var S=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var j=Symbol.iterator;function E(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=j&&e[j]||e["@@iterator"])?e:null}var F=Symbol.for("react.client.reference");function N(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===F?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case h:return"Fragment";case g:return"Profiler";case m:return"StrictMode";case x:return"Suspense";case _:return"SuspenseList";case k:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case f:return"Portal";case v:return(e.displayName||"Context")+".Provider";case w:return(e._context.displayName||"Context")+".Consumer";case b:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case B:return null!==(t=e.displayName||null)?t:N(e.type)||"Memo";case C:t=e._payload,e=e._init;try{return N(e(t))}catch(e){}}return null}var U=Array.isArray,L=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,I=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,P={pen
vendor: 11,415 bytes, line 2
2ding:!1,data:null,method:null,action:null},Q=[],T=-1;function D(e){return{current:e}}function O(e){0>T||(e.current=Q[T],Q[T]=null,T--)}function R(e,t){T++,Q[T]=e.current,e.current=t}var M=D(null),H=D(null),z=D(null),K=D(null);function $(e,t){switch(R(z,t),R(H,e),R(M,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?ru(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=ou(t=ru(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}O(M),R(M,e)}function V(){O(M),O(H),O(z)}function q(e){null!==e.memoizedState&&R(K,e);var t=M.current,n=ou(t,e.type);t!==n&&(R(H,e),R(M,n))}function W(e){H.current===e&&(O(M),O(H)),K.current===e&&(O(K),qu._currentValue=P)}var G=Object.prototype.hasOwnProperty,Y=r.unstable_scheduleCallback,X=r.unstable_cancelCallback,J=r.unstable_shouldYield,Z=r.unstable_requestPaint,ee=r.unstable_now,te=r.unstable_getCurrentPriorityLevel,ne=r.unstable_ImmediatePriority,re=r.unstable_UserBlockingPriority,oe=r.unstable_NormalPriority,ie=r.unstable_LowPriority,ae=r.unstable_IdlePriority,se=r.log,le=r.unstable_setDisableYieldValue,ce=null,Ae=null;function ue(e){if("function"==typeof se&&le(e),Ae&&"function"==typeof Ae.setStrictMode)try{Ae.setStrictMode(ce,e)}catch(e){}}var de=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(pe(e)/fe|0)|0},pe=Math.log,fe=Math.LN2,he=256,me=4194304;function ge(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194048&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function ye(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var o=0,i=e.suspendedLanes,a=e.pingedLanes;e=e.warmLanes;var s=134217727&r;return 0!==s?0!==(r=s&~i)?o=ge(r):0!==(a&=s)?o=ge(a):n||0!==(n=s&~e)&&(o=ge(n)):0!==(s=r&~i)?o=ge(s):0!==a?o=ge(a):n||0!==(n=r&~e)&&(o=ge(n)),0===o?0:0!==t&&t!==o&&0===(t&i)&&((i=o&-o)>=(n=t&-t)||32===i&&4194048&n)?t:o}function we(e,t){return 0===(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function ve(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function be(){var e=he;return!(4194048&(he<<=1))&&(he=256),e}function xe(){var e=me;return!(62914560&(me<<=1))&&(me=4194304),e}function _e(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Be(e,t){e.pendingLanes|=t,268435456!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ce(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-de(t);e.entangledLanes|=t,e.entanglements[r]=1073741824|e.entanglements[r]|4194090&n}function ke(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-de(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}function Se(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function je(e){return 2<(e&=-e)?8<e?134217727&e?32:268435456:8:2}function Ee(){var e=I.p;return 0!==e?e:void 0===(e=window.event)?32:ad(e.type)}var Fe=Math.random().toString(36).slice(2),Ne="__reactFiber$"+Fe,Ue="__reactProps$"+Fe,Le="__reactContainer$"+Fe,Ie="__reactEvents$"+Fe,Pe="__reactListeners$"+Fe,Qe="__reactHandles$"+Fe,Te="__reactResources$"+Fe,De="__reactMarker$"+Fe;function Oe(e){delete e[Ne],delete e[Ue],delete e[Ie],delete e[Pe],delete e[Qe]}function Re(e){var t=e[Ne];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Le]||n[Ne]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=yu(e);null!==e;){if(n=e[Ne])return n;e=yu(e)}return t}n=(e=n).parentNode}return null}function Me(e){if(e=e[Ne]||e[Le]){var t=e.tag;if(5===t||6===t||13===t||26===t||27===t||3===t)return e}return null}function He(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(a(33))}function ze(e){var t=e[Te];return t||(t=e[Te]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Ke(e){e[De]=!0}var $e=new Set,Ve={};function qe(e,t){We(e,t),We(e+"Capture",t)}function We(e,t){for(Ve[e]=t,e=0;e<t.length;e++)$e.add(t[e])}var Ge,Ye,Xe=RegExp("^[: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]*$"),Je={},Ze={};function et(e,t,n){if(o=t,G.call(Ze,o)||!G.call(Je,o)&&(Xe.test(o)?Ze[o]=!0:(Je[o]=!0,0)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":return void e.removeAttribute(t);case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,""+n)}var o}function tt(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(t)}e.setAttribute(t,""+n)}}function nt(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(n)}e.setAttributeNS(t,n,""+r)}}function rt(e){if(void 0===Ge)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Ge=t&&t[1]||"",Ye=-1<e.stack.indexOf("\n    at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+Ge+e+Ye}var ot=!1;function it(e,t){if(!e||ot)return"";ot=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=r.DetermineComponentFrameRoot(),a=i[0],s=i[1];if(a&&s){var l=a.split("\n"),c=s.split("\n");for(o=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;o<c.length&&!c[o].includes("DetermineComponentFrameRoot");)o++;if(r===l.length||o===c.length)for(r=l.length-1,o=c.length-1;1<=r&&0<=o&&l[r]!==c[o];)o--;for(;1<=r&&0<=o;r--,o--)if(l[r]!==c[o]){if(1!==r||1!==o)do{if(r--,0>--o||l[r]!==c[o]){var A="\n"+l[r].replace(" at new "," at ");return e.displayName&&A.includes("<anonymous>")&&(A=A.replace("<anonymous>",e.displayName)),A}}while(1<=r&&0<=o);break}}}finally{ot=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?rt(n):""}function at(e){switch(e.tag){case 26:case 27:case 5:return rt(e.type);case 16:return rt("Lazy");case 13:return rt("Suspense");case 19:return rt("SuspenseList");case 0:case 15:return it(e.type,!1);case 11:return it(e.type.render,!1);case 1:return it(e.type,!0);case 31:return rt("Activity");default:return""}}function st(e){try{var t="";do{t+=at(e),e=e.return}while(e);return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}function lt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function ct(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function At(e){e._valueTracker||(e._valueTracker=function(e){var t=ct(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,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.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 ut(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ct(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function dt(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}}var pt=/[\n"\\]/g;function ft(e){return e.replace(pt,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function ht(e,t,n,r,o,i,a,s){e.name="",null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a?e.type=a:e.removeAttribute("type"),null!=t?"number"===a?(0===t&&""===e.value||e.value!=t)&&(e.value=""+lt(t)):e.value!==""+lt(t)&&(e.value=""+lt(t)):"submit"!==a&&"reset"!==a||e.removeAttribute("value"),null!=t?gt(e,a,lt(t)):null!=n?gt(e,a,lt(n)):null!=r&&e.removeAttribute("value"),null==o&&null!=i&&(e.defaultChecked=!!i),null!=o&&(e.checked=o&&"function"!=typeof o&&"symbol"!=typeof o),null!=s&&"function"!=typeof s&&"symbol"!=typeof s&&"boolean"!=typeof s?e.name=""+lt(s):e.removeAttribute("name")}function mt(e,t,n,r,o,i,a,s){if(null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i&&(e.type=i),null!=t||null!=n){if(("submit"===i||"reset"===i)&&null==t)return;n=null!=n?""+lt(n):"",t=null!=t?""+lt(t):n,s||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:o)&&"symbol"!=typeof r&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a&&(e.name=a)}function gt(e,t,n){"number"===t&&dt(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function yt(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=""+lt(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 wt(e,t,n){null==t||((t=""+lt(t))!==e.value&&(e.value=t),null!=n)?e.defaultValue=null!=n?""+lt(n):"":e.defaultValue!==t&&(e.defaultValue=t)}function vt(e,t,n,r){if(null==t){if(null!=r){if(null!=n)throw Error(a(92));if(U(r)){if(1<r.length)throw Error(a(93));r=r[0]}n=r}null==n&&(n=""),t=n}n=lt(t),e.defaultValue=n,(r=e.textContent)===n&&""!==r&&null!==r&&(e.value=r)}function bt(e,t){if(t){var n=e.firstChild;
vendor: 4,144 bytes, line 2
2if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var xt=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function _t(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||xt.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function Bt(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(a(62));if(e=e.style,null!=n){for(var r in n)!n.hasOwnProperty(r)||null!=t&&t.hasOwnProperty(r)||(0===r.indexOf("--")?e.setProperty(r,""):"float"===r?e.cssFloat="":e[r]="");for(var o in t)r=t[o],t.hasOwnProperty(o)&&n[o]!==r&&_t(e,o,r)}else for(var i in t)t.hasOwnProperty(i)&&_t(e,i,t[i])}function Ct(e){if(-1===e.indexOf("-"))return!1;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}}var kt=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
2-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),St=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function jt(e){return St.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var Et=null;function Ft(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Nt=null,Ut=null;function Lt(e){var t=Me(e);if(t&&(e=t.stateNode)){var n=e[Ue]||null;e:switch(e=t.stateNode,t.type){case"input":if(ht(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+ft(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=r[Ue]||null;if(!o)throw Error(a(90));ht(r,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<n.length;t++)(r=n[t]).form===e.form&&ut(r)}break e;case"textarea":wt(e,n.value,n.defaultValue);break e;case"select":null!=(t=n.value)&&yt(e,!!n.multiple,t,!1)}}}var It=!1;function Pt(e,t,n){if(It)return e(t,n);It=!0;try{return e(t)}finally{if(It=!1,(null!==Nt||null!==Ut)&&(Rc(),Nt&&(t=Nt,e=Ut,Ut=Nt=null,Lt(t),e)))for(t=0;t<e.length;t++)Lt(e[t])}}function Qt(e,t){var n=e.stateNode;if(null===n)return null;var r=n[Ue]||null;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(a(231,t,typeof n));return n}var Tt=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),Dt=!1;if(Tt)try{var Ot={};Object.defineProperty(Ot,"passive",{get:function(){Dt=!0}}),window.addEventListener("test",Ot,Ot),window.removeEventListener("test",Ot,Ot)}catch(e){Dt=!1}var Rt=null,Mt=null,Ht=null;function zt(){if(Ht)return Ht;var e,t,n=Mt,r=n.length,o="value"in Rt?Rt.value:Rt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Ht=o.slice(e,1<t?1-t:void 0)}function Kt(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 $t(){return!0}function Vt(){return!1}function qt(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?$t:Vt,this.isPropagationStopped=Vt,this}return u(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=$t)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=$t)},persist:function(){},isPersistent:$t}),t}var Wt,Gt,Yt,Xt={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Jt=qt(Xt),Zt=u({},Xt,{view:0,detail:0}),en=qt(Zt),tn=u({},Zt,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:pn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.from
vendor: 4,394 bytes, line 2
2Element===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Yt&&(Yt&&"mousemove"===e.type?(Wt=e.screenX-Yt.screenX,Gt=e.screenY-Yt.screenY):Gt=Wt=0,Yt=e),Wt)},movementY:function(e){return"movementY"in e?e.movementY:Gt}}),nn=qt(tn),rn=qt(u({},tn,{dataTransfer:0})),on=qt(u({},Zt,{relatedTarget:0})),an=qt(u({},Xt,{animationName:0,elapsedTime:0,pseudoElement:0})),sn=qt(u({},Xt,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),ln=qt(u({},Xt,{data:0})),cn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},An={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"},un={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function dn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=un[e])&&!!t[e]}function pn(){return dn}var fn=qt(u({},Zt,{key:function(e){if(e.key){var t=cn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Kt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?An[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:pn,charCode:function(e){return"keypress"===e.type?Kt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Kt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),hn=qt(u({},tn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),mn=qt(u({},Zt,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:pn})),gn=qt(u({},Xt,{propertyName:0,elapsedTime:0,pseudoElement:0})),yn=qt(u({},tn,{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})),wn=qt(u({},Xt,{newState:0,oldState:0})),vn=[9,13,27,32],bn=Tt&&"CompositionEvent"in window,xn=null;Tt&&"documentMode"in document&&(xn=document.documentMode);var _n=Tt&&"TextEvent"in window&&!xn,Bn=Tt&&(!bn||xn&&8<xn&&11>=xn),Cn=String.fromCharCode(32),kn=!1;function Sn(e,t){switch(e){case"keyup":return-1!==vn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var En=!1,Fn={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 Nn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Fn[e.type]:"textarea"===t}function Un(e,t,n,r){Nt?Ut?Ut.push(r):Ut=[r]:Nt=r,0<(t=zA(t,"onChange")).length&&(n=new Jt("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Ln=null,In=null;function Pn(e){PA(e,0)}function Qn(e){if(ut(He(e)))return e}function Tn(e,t){if("change"===e)return t}var Dn=!1;if(Tt){var On;if(Tt){var Rn="oninput"in document;if(!Rn){var Mn=document.createElement("div");Mn.setAttribute("oninput","return;"),Rn="function"==typeof Mn.oninput}On=Rn}else On=!1;Dn=On&&(!document.documentMode||9<document.documentMode)}function Hn(){Ln&&(Ln.detachEvent("onpropertychange",zn),In=Ln=null)}function zn(e){if("value"===e.propertyName&&Qn(In)){var t=[];Un(t,In,e,Ft(e)),Pt(Pn,t)}}function Kn(e,t,n){"focusin"===e?(Hn(),In=n,(Ln=t).attachEvent("onpropertychange",zn)):"focusout"===e&&Hn()}function $n(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Qn(In)}function Vn(e,t){if("click"===e)return Qn(t)}function qn(e,t){if("input"===e||"change"===e)return Qn(t)}var Wn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Gn(e,t){if(Wn(e,t))return!0;
vendor: 38,357 bytes, line 2
2if("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++){var o=n[r];if(!G.call(t,o)||!Wn(e[o],t[o]))return!1}return!0}function Yn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Xn(e,t){var n,r=Yn(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=Yn(r)}}function Jn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Jn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Zn(e){for(var t=dt((e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window).document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=dt((e=t.contentWindow).document)}return t}function er(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 tr=Tt&&"documentMode"in document&&11>=document.documentMode,nr=null,rr=null,or=null,ir=!1;function ar(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;ir||null==nr||nr!==dt(r)||(r="selectionStart"in(r=nr)&&er(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},or&&Gn(or,r)||(or=r,0<(r=zA(rr,"onSelect")).length&&(t=new Jt("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=nr)))}function sr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var lr={animationend:sr("Animation","AnimationEnd"),animationiteration:sr("Animation","AnimationIteration"),animationstart:sr("Animation","AnimationStart"),transitionrun:sr("Transition","TransitionRun"),transitionstart:sr("Transition","TransitionStart"),transitioncancel:sr("Transition","TransitionCancel"),transitionend:sr("Transition","TransitionEnd")},cr={},Ar={};function ur(e){if(cr[e])return cr[e];if(!lr[e])return e;var t,n=lr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ar)return cr[e]=n[t];return e}Tt&&(Ar=document.createElement("div").style,"AnimationEvent"in window||(delete lr.animationend.animation,delete lr.animationiteration.animation,delete lr.animationstart.animation),"TransitionEvent"in window||delete lr.transitionend.transition);var dr=ur("animationend"),pr=ur("animationiteration"),fr=ur("animationstart"),hr=ur("transitionrun"),mr=ur("transitionstart"),gr=ur("transitioncancel"),yr=ur("transitionend"),wr=new Map,vr="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function br(e,t){wr.set(e,t),qe(t,[e])}vr.push("scrollEnd");var xr=new WeakMap;function _r(e,t){if("object"==typeof e&&null!==e){var n=xr.get(e);return void 0!==n?n:(t={value:e,source:t,stack:st(t)},xr.set(e,t),t)}return{value:e,source:t,stack:st(t)}}var Br=[],Cr=0,kr=0;function Sr(){for(var e=Cr,t=kr=Cr=0;t<e;){var n=Br[t];Br[t++]=null;var r=Br[t];Br[t++]=null;var o=Br[t];Br[t++]=null;var i=Br[t];if(Br[t++]=null,null!==r&&null!==o){var a=r.pending;null===a?o.next=o:(o.next=a.next,a.next=o),r.pending=o}0!==i&&Nr(n,o,i)}}function jr(e,t,n,r){Br[Cr++]=e,Br[Cr++]=t,Br[Cr++]=n,Br[Cr++]=r,kr|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function Er(e,t,n,r){return jr(e,t,n,r),Ur(e)}function Fr(e,t){return jr(e,null,null,t),Ur(e)}function Nr(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var o=!1,i=e.return;null!==i;)i.childLanes|=n,null!==(r=i.alternate)&&(r.childLanes|=n),22===i.tag&&(null===(e=i.stateNode)||1&e._visibility||(o=!0)),e=i,i=i.return;return 3===e.tag?(i=e.stateNode,o&&null!==t&&(o=31-de(n),null===(r=(e=i.hiddenUpdates)[o])?e[o]=[t]:r.push(t),t.lane=536870912|n),i):null}function Ur(e){if(50<Nc)throw Nc=0,Uc=null,Error(a(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var Lr={};function Ir(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.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Pr(e,t,n,r){return new Ir(e,t,n,r)}function Qr(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Tr(e,t){var n=e.alternate;return null===n?((n=Pr(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.subtreeFlags=0,n.deletions=null),n.flags=65011712&e.flags,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.refCleanup=e.refCleanup,n}function Dr(e,t){e.flags&=65011714;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Or(e,t,n,r,o,i){var s=0;if(r=e,"function"==typeof e)Qr(e)&&(s=1);else if("string"==typeof e)s=function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;return"stylesheet"!==t.rel||(e=t.disabled,"string"==typeof t.precedence&&null==e);case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,n,M.current)?26:"html"===e||"head"===e||"body"===e?27:5;else e:switch(e){case k:return(e=Pr(31,n,t,o)).elementType=k,e.lanes=i,e;case h:return Rr(n.children,o,i,t);case m:s=8,o|=24;break;case g:return(e=Pr(12,n,t,2|o)).elementType=g,e.lanes=i,e;case x:return(e=Pr(13,n,t,o)).elementType=x,e.lanes=i,e;case _:return(e=Pr(19,n,t,o)).elementType=_,e.lanes=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case y:case v:s=10;break e;case w:s=9;break e;case b:s=11;break e;case B:s=14;break e;case C:s=16,r=null;break e}s=29,n=Error(a(130,null===e?"null":typeof e,"")),r=null}return(t=Pr(s,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Rr(e,t,n,r){return(e=Pr(7,e,r,t)).lanes=n,e}function Mr(e,t,n){return(e=Pr(6,e,null,t)).lanes=n,e}function Hr(e,t,n){return(t=Pr(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var zr=[],Kr=0,$r=null,Vr=0,qr=[],Wr=0,Gr=null,Yr=1,Xr="";function Jr(e,t){zr[Kr++]=Vr,zr[Kr++]=$r,$r=e,Vr=t}function Zr(e,t,n){qr[Wr++]=Yr,qr[Wr++]=Xr,qr[Wr++]=Gr,Gr=e;var r=Yr;e=Xr;var o=32-de(r)-1;r&=~(1<<o),n+=1;var i=32-de(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Yr=1<<32-de(t)+o|n<<o|r,Xr=i+e}else Yr=1<<i|n<<o|r,Xr=e}function eo(e){null!==e.return&&(Jr(e,1),Zr(e,1,0))}function to(e){for(;e===$r;)$r=zr[--Kr],zr[Kr]=null,Vr=zr[--Kr],zr[Kr]=null;for(;e===Gr;)Gr=qr[--Wr],qr[Wr]=null,Xr=qr[--Wr],qr[Wr]=null,Yr=qr[--Wr],qr[Wr]=null}var no=null,ro=null,oo=!1,io=null,ao=!1,so=Error(a(519));function lo(e){throw ho(_r(Error(a(418,"")),e)),so}function co(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[Ne]=e,t[Ue]=r,n){case"dialog":QA("cancel",t),QA("close",t);break;case"iframe":case"object":case"embed":QA("load",t);break;case"video":case"audio":for(n=0;n<LA.length;n++)QA(LA[n],t);break;case"source":QA("error",t);break;case"img":case"image":case"link":QA("error",t),QA("load",t);break;case"details":QA("toggle",t);break;case"input":QA("invalid",t),mt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0),At(t);break;case"select":QA("invalid",t);break;case"textarea":QA("invalid",t),vt(t,r.value,r.defaultValue,r.children),At(t)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||GA(t.textContent,n)?(null!=r.popover&&(QA("beforetoggle",t),QA("toggle",t)),null!=r.onScroll&&QA("scroll",t),null!=r.onScrollEnd&&QA("scrollend",t),null!=r.onClick&&(t.onclick=YA),t=!0):t=!1,t||lo(e)}function Ao(e){for(no=e.return;no;)switch(no.tag){case 5:case 13:return void(ao=!1);case 27:case 3:return void(ao=!0);default:no=no.return}}function uo(e){if(e!==no)return!1;if(!oo)return Ao(e),oo=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t=!("form"!==(t=e.type)&&"button"!==t)||iu(e.type,e.memoizedProps)),t=!t),t&&ro&&lo(e),Ao(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,n=0;e;){if(8===e.nodeType)if("/$"===(t=e.data)){if(0===n){ro=mu(e.nextSibling);break e}n--}else"$"!==t&&"$!"!==t&&"$?"!==t||n++;e=e.nextSibling}ro=null}}else 27===n?(n=ro,du(e.type)?(e=gu,gu=null,ro=e):ro=n):ro=no?mu(e.stateNode.nextSibling):null;return!0}function po(){ro=no=null,oo=!1}function fo(){var e=io;return null!==e&&(null===yc?yc=e:yc.push.apply(yc,e),io=null),e}function ho(e){null===io?io=[e]:io.push(e)}var mo=D(null),go=null,yo=null;function wo(e,t,n){R(mo,t._currentValue),t._currentValue=n}function vo(e){e._currentValue=mo.current,O(mo)}function bo(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function xo(e,t,n,r){var o=e.child;for(null!==o&&(o.return=e);null!==o;){var i=o.dependencies;if(null!==i){var s=o.child;i=i.firstContext;e:for(;null!==i;){var l=i;i=o;for(var c=0;c<t.length;c++)if(l.context===t[c]){i.lanes|=n,null!==(l=i.alternate)&&(l.lanes|=n),bo(i.return,n,e),r||(s=null);break e}i=l.next}}else if(18===o.tag){if(null===(s=o.return))throw Error(a(341));s.lanes|=n,null!==(i=s.alternate)&&(i.lanes|=n),bo(s,n,e),s=null}else s=o.child;if(null!==s)s.return=o;else for(s=o;null!==s;){if(s===e){s=null;break}if(null!==(o=s.sibling)){o.return=s.return,s=o;break}s=s.return}o=s}}function _o(e,t,n,r){e=null;for(var o=t,i=!1;null!==o;){if(!i)if(524288&o.flags)i=!0;else if(262144&o.flags)break;if(10===o.tag){var s=o.alternate;if(null===s)throw Error(a(387));if(null!==(s=s.memoizedProps)){var l=o.type;Wn(o.pendingProps.value,s.value)||(null!==e?e.push(l):e=[l])}}else if(o===K.current){if(null===(s=o.alternate))throw Error(a(387));s.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(null!==e?e.push(qu):e=[qu])}o=o.return}null!==e&&xo(t,e,n,r),t.flags|=262144}function Bo(e){for(e=e.firstContext;null!==e;){if(!Wn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Co(e){go=e,yo=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function ko(e){return jo(go,e)}function So(e,t){return null===go&&Co(e),jo(e,t)}function jo(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===yo){if(null===e)throw Error(a(308));yo=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else yo=yo.next=t;return n}var Eo="undefined"!=typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},Fo=r.unstable_scheduleCallback,No=r.unstable_NormalPriority,Uo={$$typeof:v,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Lo(){return{controller:new Eo,data:new Map,refCount:0}}function Io(e){e.refCount--,0===e.refCount&&Fo(No,function(){e.controller.abort()})}var Po=null,Qo=0,To=0,Do=null;function Oo(){if(0===--Qo&&null!==Po){null!==Do&&(Do.status="fulfilled");var e=Po;Po=null,To=0,Do=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var Ro=L.S;L.S=function(e,t){"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e,t){if(null===Po){var n=Po=[];Qo=0,To=jA(),Do={status:"pending",value:void 0,then:function(e){n.push(e)}}}Qo++,t.then(Oo,Oo)}(0,t),null!==Ro&&Ro(e,t)};var Mo=D(null);function Ho(){var e=Mo.current;return null!==e?e:nc.pooledCache}function zo(e,t){R(Mo,null===t?Mo.current:t.pool)}function Ko(){var e=Ho();return null===e?null:{parent:Uo._currentValue,pool:e}}var $o=Error(a(460)),Vo=Error(a(474)),qo=Error(a(542)),Wo={then:function(){}};function Go(e){return"fulfilled"===(e=e.status)||"rejected"===e}function Yo(){}function Xo(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(Yo,Yo),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw ei(e=t.reason),e;default:if("string"==typeof t.status)t.then(Yo,Yo);else{if(null!==(e=nc)&&100<e.shellSuspendCounter)throw Error(a(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw ei(e=t.reason),e}throw Jo=t,$o}}var Jo=null;function Zo(){if(null===Jo)throw Error(a(459));var e=Jo;return Jo=null,e}function ei(e){if(e===$o||e===qo)throw Error(a(483))}var ti=!1;function ni(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ri(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function oi(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ii(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&tc){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,t=Ur(e),Nr(e,null,n),t}return jr(e,r,t,n),Ur(e)}function ai(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194048&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,ke(e,n)}}function si(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,callbacks:r.callbacks},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var li=!1;function ci(){if(li&&null!==Do)throw Do}function Ai(e,t,n,r){li=!1;var o=e.updateQueue;ti=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,c=l.next;l.next=null,null===a?i=c:a.next=c,a=l;var A=e.alternate;null!==A&&(s=(A=A.updateQueue).lastBaseUpdate)!==a&&(null===s?A.firstBaseUpdate=c:s.next=c,A.lastBaseUpdate=l)}if(null!==i){var d=o.baseState;for(a=0,A=c=l=null,s=i;;){var p=-536870913&s.lane,f=p!==s.lane;if(f?(oc&p)===p:(r&p)===p){0!==p&&p===To&&(li=!0),null!==A&&(A=A.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var h=e,m=s;p=t;var g=n;switch(m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(g,d,p);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(p="function"==typeof(h=m.payload)?h.call(g,d,p):h))break e;d=u({},d,p);break e;case 2:ti=!0}}null!==(p=s.callback)&&(e.flags|=64,f&&(e.flags|=8192),null===(f=o.callbacks)?o.callbacks=[p]:f.push(p))}else f={lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===A?(c=A=f,l=d):A=A.next=f,a|=p;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(f=s).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}null===A&&(l=d),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=A,null===i&&(o.shared.lanes=0),dc|=a,e.lanes=a,e.memoizedState=d}}function ui(e,t){if("function"!=typeof e)throw Error(a(191,e));e.call(t)}function di(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)ui(n[e],t)}var pi=D(null),fi=D(0);function hi(e,t){R(fi,e=Ac),R(pi,t),Ac=e|t.baseLanes}function mi(){R(fi,Ac),R(pi,pi.current)}function gi(){Ac=fi.current,O(pi),O(fi)}var yi=0,wi=null,vi=null,bi=null,xi=!1,_i=!1,Bi=!1,Ci=0,ki=0,Si=null,ji=0;function Ei(){throw Error(a(321))}function Fi(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Wn(e[n],t[n]))return!1;return!0}function Ni(e,t,n,r,o,i){return yi=i,wi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,L.H=null===e||null===e.memoizedState?$a:Va,Bi=!1,i=n(r,o),Bi=!1,_i&&(i=Li(t,n,r,o)),Ui(e),i}function Ui(e){L.H=Ka;var t=null!==vi&&null!==vi.next;if(yi=0,bi=vi=wi=null,xi=!1,ki=0,Si=null,t)throw Error(a(300));null===e||ks||null!==(e=e.dependencies)&&Bo(e)&&(ks=!0)}function Li(e,t,n,r){wi=e;var o=0;do{if(_i&&(Si=null),ki=0,_i=!1,25<=o)throw Error(a(301));if(o+=1,bi=vi=null,null!=e.updateQueue){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,null!=i.memoCache&&(i.memoCache.index=0)}L.H=qa,i=t(n,r)}while(_i);return i}function Ii(){var e=L.H,t=e.useState()[0];return t="function"==typeof t.then?Ri(t):t,e=e.useState()[0],(null!==vi?vi.memoizedState:null)!==e&&(wi.flags|=1024),t}function Pi(){var e=0!==Ci;return Ci=0,e}function Qi(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Ti(e){if(xi){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}xi=!1}yi=0,bi=vi=wi=null,_i=!1,ki=Ci=0,Si=null}function Di(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===bi?wi.memoizedState=bi=e:bi=bi.next=e,bi}function Oi(){if(null===vi){var e=wi.alternate;e=null!==e?e.memoizedState:null}else e=vi.next;var t=null===bi?wi.memoizedState:bi.next;if(null!==t)bi=t,vi=e;else{if(null===e){if(null===wi.alternate)throw Error(a(467));throw Error(a(310))}e={memoizedState:(vi=e).memoizedState,baseState:vi.baseState,baseQueue:vi.baseQueue,queue:vi.queue,next:null},null===bi?wi.memoizedState=bi=e:bi=bi.next=e}return bi}function Ri(e){var t=ki;return ki+=1,null===Si&&(Si=[]),e=Xo(Si,e,t),t=wi,null===(null===bi?t.memoizedState:bi.next)&&(t=t.alternate,L.H=null===t||null===t.memoizedState?$a:Va),e}function Mi(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return Ri(e);if(e.$$typeof===v)return ko(e)}throw Error(a(438,String(e)))}function Hi(e){var t=null,n=wi.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=wi.alternate;null!==r&&null!==(r=r.updateQueue)&&null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})}if(null==t&&(t={data:[],index:0}),null===n&&(n={lastEffect:null,events:null,stores:null,memoCache:null},wi.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=S;return t.index++,n}function zi(e,t){return"function"==typeof t?t(e):t}function Ki(e){return $i(Oi(),vi,e)}function $i(e,t,n){var r=e.queue;if(null===r)throw Error(a(311));r.lastRenderedReducer=n;var o=e.baseQueue,i=r.pending;if(null!==i){if(null!==o){var s=o.next;o.next=i.next,i.next=s}t.baseQueue=o=i,r.pending=null}if(i=e.baseState,null===o)e.memoizedState=i;else{var l=s=null,c=null,A=t=o.next,u=!1;do{var d=-536870913&A.lane;if(d!==A.lane?(oc&d)===d:(yi&d)===d){var p=A.revertLane;if(0===p)null!==c&&(c=c.next={lane:0,revertLane:0,action:A.action,hasEagerState:A.hasEagerState,eagerState:A.eagerState,next:null}),d===To&&(u=!0);else{if((yi&p)===p){A=A.next,p===To&&(u=!0);continue}d={lane:0,revertLane:A.revertLane,action:A.action,hasEagerState:A.hasEagerState,eagerState:A.eagerState,next:null},null===c?(l=c=d,s=i):c=c.next=d,wi.lanes|=p,dc|=p}d=A.action,Bi&&n(i,d),i=A.hasEagerState?A.eagerState:n(i,d)}else p={lane:d,revertLane:A.revertLane,action:A.action,hasEagerState:A.hasEagerState,eagerState:A.eagerState,next:null},null===c?(l=c=p,s=i):c=c.next=p,wi.lanes|=d,dc|=d;A=A.next}while(null!==A&&A!==t);if(null===c?s=i:c.next=l,!Wn(i,e.memoizedState)&&(ks=!0,u&&null!==(n=Do)))throw n;e.memoizedState=i,e.baseState=s,e.baseQueue=c,r.lastRenderedState=i}return null===o&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Vi(e){var t=Oi(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{i=e(i,s.action),s=s.next}while(s!==o);Wn(i,t.memoizedState)||(ks=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function qi(e,t,n){var r=wi,o=Oi(),i=oo;if(i){if(void 0===n)throw Error(a(407));n=n()}else n=t();var s=!Wn((vi||o).memoizedState,n);if(s&&(o.memoizedState=n,ks=!0),o=o.queue,ma(2048,8,Yi.bind(null,r,o,e),[e]),o.getSnapshot!==t||s||null!==bi&&1&bi.memoizedState.tag){if(r.flags|=2048,pa(9,{destroy:void 0,resource:void 0},Gi.bind(null,r,o,n,t),null),null===nc)throw Error(a(349));i||124&yi||Wi(r,t,n)}return n}function Wi(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=wi.updateQueue)?(t={lastEffect:null,events:null,stores:null,memoCache:null},wi.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Gi(e,t,n,r){t.value=n,t.getSnapshot=r,Xi(t)&&Ji(e)}function Yi(e,t,n){return n(function(){Xi(t)&&Ji(e)})}function Xi(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Wn(e,n)}catch(e){return!0}}function Ji(e){var t=Fr(e,2);null!==t&&Pc(t,0,2)}function Zi(e){var t=Di();if("function"==typeof e){var n=e;if(e=n(),Bi){ue(!0);try{n()}finally{ue(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:zi,lastRenderedState:e},t}function ea(e,t,n,r){return e.baseState=n,$i(e,vi,"function"==typeof r?r:zi)}function ta(e,t,n,r,o){if(Ma(e))throw Error(a(485));if(null!==(e=t.action)){var i={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){i.listeners.push(e)}};null!==L.T?n(!0):i.isTransition=!1,r(i),null===(n=t.pending)?(i.next=t.pending=i,na(t,i)):(i.next=n.next,t.pending=n.next=i)}}function na(e,t){var n=t.action,r=t.payload,o=e.state;if(t.isTransition){var i=L.T,a={};L.T=a;try{var s=n(o,r),l=L.S;null!==l&&l(a,s),ra(e,t,s)}catch(n){ia(e,t,n)}finally{L.T=i}}else try{ra(e,t,i=n(o,r))}catch(n){ia(e,t,n)}}function ra(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then(function(n){oa(e,t,n)},function(n){return ia(e,t,n)}):oa(e,t,n)}function oa(e,t,n){t.status="fulfilled",t.value=n,aa(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,na(e,n)))}function ia(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do{t.status="rejected",t.reason=n,aa(t),t=t.next}while(t!==r)}e.action=null}function aa(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function sa(e,t){return t}function la(e,t){if(oo){var n=nc.formState;if(null!==n){e:{var r=wi;if(oo){if(ro){t:{for(var o=ro,i=ao;8!==o.nodeType;){if(!i){o=null;break t}if(null===(o=mu(o.nextSibling))){o=null;break t}}o="F!"===(i=o.data)||"F"===i?o:null}if(o){ro=mu(o.nextSibling),r="F!"===o.data;break e}}lo(r)}r=!1}r&&(t=n[0])}}return(n=Di()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:sa,lastRenderedState:t},n.queue=r,n=Da.bind(null,wi,r),r.dispatch=n,r=Zi(!1),i=Ra.bind(null,wi,!1,r.queue),o={state:t,dispatch:null,action:e,pending:null},(r=Di()).queue=o,n=ta.bind(null,wi,o,i,n),o.dispatch=n,r.memoizedState=e,[t,n,!1]}function ca(e){return Aa(Oi(),vi,e)}function Aa(e,t,n){if(t=$i(e,t,sa)[0],e=Ki(zi)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var r=Ri(t)}catch(e){if(e===$o)throw qo;throw e}else r=t;var o=(t=Oi()).queue,i=o.dispatch;return n!==t.memoizedState&&(wi.flags|=2048,pa(9,{destroy:void 0,resource:void 0},ua.bind(null,o,n),null)),[r,i,e]}function ua(e,t){e.action=t}function da(e){var t=Oi(),n=vi;if(null!==n)return Aa(t,n,e);Oi(),t=t.memoizedState;var r=(n=Oi()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function pa(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=wi.updateQueue)&&(t={lastEffect:null,events:null,stores:null,memoCache:null},wi.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function fa(){return Oi().memoizedState}function ha(e,t,n,r){var o=Di();r=void 0===r?null:r,wi.flags|=e,o.memoizedState=pa(1|t,{destroy:void 0,resource:void 0},n,r)}function ma(e,t,n,r){var o=Oi();r=void 0===r?null:r;var i=o.memoizedState.inst;null!==vi&&null!==r&&Fi(r,vi.memoizedState.deps)?o.memoizedState=pa(t,i,n,r):(wi.flags|=e,o.memoizedState=pa(1|t,i,n,r))}function ga(e,t){ha(8390656,8,e,t)}function ya(e,t){ma(2048,8,e,t)}function wa(e,t){return ma(4,2,e,t)}function va(e,t){return ma(4,4,e,t)}function ba(e,t){if("function"==typeof t){e=e();var n=t(e);return function(){"function"==typeof n?n():t(null)}}if(null!=t)return e=e(),t.current=e,function(){t.current=null}}function xa(e,t,n){n=null!=n?n.concat([e]):null,ma(4,4,ba.bind(null,t,e),n)}function _a(){}function Ba(e,t){var n=Oi();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&Fi(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ca(e,t){var n=Oi();t=void 0===t?null:t;var r=n.memoizedState;if(null!==t&&Fi(t,r[1]))return r[0];if(r=e(),Bi){ue(!0);try{e()}finally{ue(!1)}}return n.memoizedState=[r,t],r}function ka(e,t,n){return void 0===n||1073741824&yi?e.memoizedState=t:(e.memoizedState=n,e=Ic(),wi.lanes|=e,dc|=e,n)}function Sa(e,t,n,r){return Wn(n,t)?n:null!==pi.current?(e=ka(e,n,r),Wn(e,t)||(ks=!0),e):42&yi?(e=Ic(),wi.lanes|=e,dc|=e,t):(ks=!0,e.memoizedState=n)}function ja(e,t,n,r,o){var i=I.p;I.p=0!==i&&8>i?i:8;var a,s,l,c=L.T,A={};L.T=A,Ra(e,!1,t,n);try{var u=o(),d=L.S;null!==d&&d(A,u),null!==u&&"object"==typeof u&&"function"==typeof u.then?Oa(e,t,(a=r,s=[],l={status:"pending",value:null,reason:null,then:function(e){s.push(e)}},u.then(function(){l.status="fulfilled",l.value=a;for(var e=0;e<s.length;e++)(0,s[e])(a)},function(e){for(l.status="rejected",l.reason=e,e=0;e<s.length;e++)(0,s[e])(void 0)}),l),Lc()):Oa(e,t,r,Lc())}catch(n){Oa(e,t,{then:function(){},status:"rejected",reason:n},Lc())}finally{I.p=i,L.T=c}}function Ea(){}function Fa(e,t,n,r){if(5!==e.tag)throw Error(a(476));var o=Na(e).queue;ja(e,o,t,P,null===n?Ea:function(){return Ua(e),n(r)})}function Na(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:P,baseState:P,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zi,lastRenderedState:P},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zi,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function Ua(e){Oa(e,Na(e).next.queue,{},Lc())}function La(){return ko(qu)}function Ia(){return Oi().memoizedState}function Pa(){return Oi().memoizedState}function Qa(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=Lc(),r=ii(t,e=oi(n),n);return null!==r&&(Pc(r,0,n),ai(r,t,n)),t={cache:Lo()},void(e.payload=t)}t=t.return}}function Ta(e,t,n){var r=Lc();n={lane:r,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},Ma(e)?Ha(t,n):null!==(n=Er(e,t,n,r))&&(Pc(n,0,r),za(n,t,r))}function Da(e,t,n){Oa(e,t,n,Lc())}function Oa(e,t,n,r){var o={lane:r,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ma(e))Ha(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,Wn(s,a))return jr(e,t,o,0),null===nc&&Sr(),!1}catch(e){}if(null!==(n=Er(e,t,o,r)))return Pc(n,0,r),za(n,t,r),!0}return!1}function Ra(e,t,n,r){if(r={lane:2,revertLane:jA(),action:r,hasEagerState:!1,eagerState:null,next:null},Ma(e)){if(t)throw Error(a(479))}else null!==(t=Er(e,n,r,2))&&Pc(t,0,2)}function Ma(e){var t=e.alternate;return e===wi||null!==t&&t===wi}function Ha(e,t){_i=xi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function za(e,t,n){if(4194048&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,ke(e,n)}}var Ka={readContext:ko,use:Mi,useCallback:Ei,useContext:Ei,useEffect:Ei,useImperativeHandle:Ei,useLayoutEffect:Ei,useInsertionEffect:Ei,useMemo:Ei,useReducer:Ei,useRef:Ei,useState:Ei,useDebugValue:Ei,useDeferredValue:Ei,useTransition:Ei,useSyncExternalStore:Ei,useId:Ei,useHostTransitionStatus:Ei,useFormState:Ei,useActionState:Ei,useOptimistic:Ei,useMemoCache:Ei,useCacheRefresh:Ei},$a={readContext:ko,use:Mi,useCallback:function(e,t){return Di().memoizedState=[e,void 0===t?null:t],e},useContext:ko,useEffect:ga,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,ha(4194308,4,ba.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ha(4194308,4,e,t)},useInsertionEffect:function(e,t){ha(4,2,e,t)},useMemo:function(e,t){var n=Di();t=void 0===t?null:t;var r=e();if(Bi){ue(!0);try{e()}finally{ue(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=Di();if(void 0!==n){var o=n(t);if(Bi){ue(!0);try{n(t)}finally{ue(!1)}}}else o=t;return r.memoizedState=r.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},r.queue=e,e=e.dispatch=Ta.bind(null,wi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Di().memoizedState=e},useState:function(e){var t=(e=Zi(e)).queue,n=Da.bind(null,wi,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:_a,useDeferredValue:function(e,t){return ka(Di(),e,t)},useTransition:function(){var e=Zi(!1);return e=ja.bind(null,wi,e.queue,!0,!1),Di().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=wi,o=Di();if(oo){if(void 0===n)throw Error(a(407));n=n()}else{if(n=t(),null===nc)throw Error(a(349));124&oc||Wi(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,ga(Yi.bind(null,r,i,e),[e]),r.flags|=2048,pa(9,{destroy:void 0,resource:void 0},Gi.bind(null,r,i,n,t),null),n},useId:function(){var e=Di(),t=nc.identifierPrefix;if(oo){var n=Xr;t="«"+t+"R"+(n=(Yr&~(1<<32-de(Yr)-1)).toString(32)+n),0<(n=Ci++)&&(t+="H"+n.toString(32)),t+="»"}else t="«"+t+"r"+(n=ji++).toString(32)+"»";return e.memoizedState=t},useHostTransitionStatus:La,useFormState:la,useActionState:la,useOptimistic:function(e){var t=Di();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Ra.bind(null,wi,!0,n),n.dispatch=t,[e,t]},useMemoCache:Hi,useCacheRefresh:function(){return Di().memoizedState=Qa.bind(null,wi)}},Va={readContext:ko,use:Mi,useCallback:Ba,useContext:ko,useEffect:ya,useImperativeHandle:xa,useInsertionEffect:wa,useLayoutEffect:va,useMemo:Ca,useReducer:Ki,useRef:fa,useState:function(){return Ki(zi)},useDebugValue:_a,useDeferredValue:function(e,t){return Sa(Oi(),vi.memoizedState,e,t)},useTransition:function(){var e=Ki(zi)[0],t=Oi().memoizedState;return["boolean"==typeof e?e:Ri(e),t]},useSyncExternalStore:qi,useId:Ia,useHostTransitionStatus:La,useFormState:ca,useActionState:ca,useOptimistic:function(e,t){return ea(Oi(),0,e,t)},useMemoCache:Hi,useCacheRefresh:Pa},qa={readContext:ko,use:Mi,useCallback:Ba,useContext:ko,useEffect:ya,useImperativeHandle:xa,useInsertionEffect:wa,useLayoutEffect:va,useMemo:Ca,useReducer:Vi,useRef:fa,useState:function(){return Vi(zi)},useDebugValue:_a,useDeferredValue:function(e,t){var n=Oi();return null===vi?ka(n,e,t):Sa(n,vi.memoizedState,e,t)},useTransition:function(){var e=Vi(zi)[0],t=Oi().memoizedState;return["boolean"==typeof e?e:Ri(e),t]},useSyncExternalStore:qi,useId:Ia,useHostTransitionStatus:La,useFormState:da,useActionState:da,useOptimistic:function(e,t){var n=Oi();return null!==vi?ea(n,0,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:Hi,useCacheRefresh:Pa},Wa=null,Ga=0;function Ya(e){var t=Ga;return Ga+=1,null===Wa&&(Wa=[]),Xo(Wa,e,t)}function Xa(e,t){t=t.props.ref,e.ref=void 0!==t?t:null}function Ja(e,t){if(t.$$typeof===d)throw Error(a(525));throw e=Object.prototype.toString.call(t),Error(a(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Za(e){return(0,e._init)(e._payload)}function es(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function o(e,t){return(e=Tr(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=67108866,n):r:(t.flags|=67108866,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=67108866),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Mr(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){var i=n.type;return i===h?u(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===C&&Za(i)===t.type)?(Xa(t=o(t,n.props),n),t.return=e,t):(Xa(t=Or(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function A(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Hr(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function u(e,t,n,r,i){return null===t||7!==t.tag?((t=Rr(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=Mr(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case p:return Xa(n=Or(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case f:return(t=Hr(t,e.mode,n)).return=e,t;case C:return d(e,t=(0,t._init)(t._payload),n)}if(U(t)||E(t))return(t=Rr(t,e.mode,n,null)).return=e,t;if("function"==typeof t.then)return d(e,Ya(t),n);if(t.$$typeof===v)return d(e,So(e,t),n);Ja(e,t)}return null}function m(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case p:return n.key===o?c(e,t,n,r):null;case f:return n.key===o?A(e,t,n,r):null;case C:return m(e,t,n=(o=n._init)(n._payload),r)}if(U(n)||E(n))return null!==o?null:u(e,t,n,r,null);if("function"==typeof n.then)return m(e,t,Ya(n),r);if(n.$$typeof===v)return m(e,t,So(e,n),r);Ja(e,n)}return null}function g(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case p:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case f:return A(t,e=e.get(null===r.key?n:r.key)||null,r,o);case C:return g(e,t,n,r=(0,r._init)(r._payload),o)}if(U(r)||E(r))return u(t,e=e.get(n)||null,r,o,null);if("function"==typeof r.then)return g(e,t,n,Ya(r),o);if(r.$$typeof===v)return g(e,t,n,So(t,r),o);Ja(t,r)}return null}function y(l,c,A,u){if("object"==typeof A&&null!==A&&A.type===h&&null===A.key&&(A=A.props.children),"object"==typeof A&&null!==A){switch(A.$$typeof){case p:e:{for(var w=A.key;null!==c;){if(c.key===w){if((w=A.type)===h){if(7===c.tag){n(l,c.sibling),(u=o(c,A.props.children)).return=l,l=u;break e}}else if(c.elementType===w||"object"==typeof w&&null!==w&&w.$$typeof===C&&Za(w)===c.type){n(l,c.sibling),Xa(u=o(c,A.props),A),u.return=l,l=u;break e}n(l,c);break}t(l,c),c=c.sibling}A.type===h?((u=Rr(A.props.children,l.mode,u,A.key)).return=l,l=u):(Xa(u=Or(A.type,A.key,A.props,null,l.mode,u),A),u.return=l,l=u)}return s(l);case f:e:{for(w=A.key;null!==c;){if(c.key===w){if(4===c.tag&&c.stateNode.containerInfo===A.containerInfo&&c.stateNode.implementation===A.implementation){n(l,c.sibling),(u=o(c,A.children||[])).return=l,l=u;break e}n(l,c);break}t(l,c),c=c.sibling}(u=Hr(A,l.mode,u)).return=l,l=u}return s(l);case C:return y(l,c,A=(w=A._init)(A._payload),u)}if(U(A))return function(o,a,s,l){for(var c=null,A=null,u=a,p=a=0,f=null;null!==u&&p<s.length;p++){u.index>p?(f=u,u=null):f=u.sibling;var h=m(o,u,s[p],l);if(null===h){null===u&&(u=f);break}e&&u&&null===h.alternate&&t(o,u),a=i(h,a,p),null===A?c=h:A.sibling=h,A=h,u=f}if(p===s.length)return n(o,u),oo&&Jr(o,p),c;if(null===u){for(;p<s.length;p++)null!==(u=d(o,s[p],l))&&(a=i(u,a,p),null===A?c=u:A.sibling=u,A=u);return oo&&Jr(o,p),c}for(u=r(u);p<s.length;p++)null!==(f=g(u,o,p,s[p],l))&&(e&&null!==f.alternate&&u.delete(null===f.key?p:f.key),a=i(f,a,p),null===A?c=f:A.sibling=f,A=f);return e&&u.forEach(function(e){return t(o,e)}),oo&&Jr(o,p),c}(l,c,A,u);if(E(A)){if("function"!=typeof(w=E(A)))throw Error(a(150));return function(o,s,l,c){if(null==l)throw Error(a(151));for(var A=null,u=null,p=s,f=s=0,h=null,y=l.next();null!==p&&!y.done;f++,y=l.next()){p.index>f?(h=p,p=null):h=p.sibling;var w=m(o,p,y.value,c);if(null===w){null===p&&(p=h);break}e&&p&&null===w.alternate&&t(o,p),s=i(w,s,f),null===u?A=w:u.sibling=w,u=w,p=h}if(y.done)return n(o,p),oo&&Jr(o,f),A;if(null===p){for(;!y.done;f++,y=l.next())null!==(y=d(o,y.value,c))&&(s=i(y,s,f),null===u?A=y:u.sibling=y,u=y);return oo&&Jr(o,f),A}for(p=r(p);!y.done;f++,y=l.next())null!==(y=g(p,o,f,y.value,c))&&(e&&null!==y.alternate&&p.delete(null===y.key?f:y.key),s=i(y,s,f),null===u?A=y:u.sibling=y,u=y);return e&&p.forEach(function(e){return t(o,e)}),oo&&Jr(o,f),A}(l,c,A=w.call(A),u)}if("function"==typeof A.then)return y(l,c,Ya(A),u);
vendor: 5,217 bytes, line 2
2if(A.$$typeof===v)return y(l,c,So(l,A),u);Ja(l,A)}return"string"==typeof A&&""!==A||"number"==typeof A||"bigint"==typeof A?(A=""+A,null!==c&&6===c.tag?(n(l,c.sibling),(u=o(c,A)).return=l,l=u):(n(l,c),(u=Mr(A,l.mode,u)).return=l,l=u),s(l)):n(l,c)}return function(e,t,n,r){try{Ga=0;var o=y(e,t,n,r);return Wa=null,o}catch(t){if(t===$o||t===qo)throw t;var i=Pr(29,t,null,e.mode);return i.lanes=r,i.return=e,i}}}var ts=es(!0),ns=es(!1),rs=D(null),os=null;function is(e){var t=e.alternate;R(cs,1&cs.current),R(rs,e),null===os&&(null===t||null!==pi.current||null!==t.memoizedState)&&(os=e)}function as(e){if(22===e.tag){if(R(cs,cs.current),R(rs,e),null===os){var t=e.alternate;null!==t&&null!==t.memoizedState&&(os=e)}}else ss()}function ss(){R(cs,cs.current),R(rs,rs.current)}function ls(e){O(rs),os===e&&(os=null),O(cs)}var cs=D(0);function As(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||hu(n)))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&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}function us(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:u({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ds={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Lc(),o=oi(r);o.payload=t,null!=n&&(o.callback=n),null!==(t=ii(e,o,r))&&(Pc(t,0,r),ai(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Lc(),o=oi(r);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=ii(e,o,r))&&(Pc(t,0,r),ai(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Lc(),r=oi(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=ii(e,r,n))&&(Pc(t,0,n),ai(t,e,n))}};function ps(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!(t.prototype&&t.prototype.isPureReactComponent&&Gn(n,r)&&Gn(o,i))}function fs(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&&ds.enqueueReplaceState(t,t.state,null)}function hs(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var o in n===t&&(n=u({},n)),e)void 0===n[o]&&(n[o]=e[o]);return n}var ms="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)};function gs(e){ms(e)}function ys(e){console.error(e)}function ws(e){ms(e)}function vs(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function bs(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function xs(e,t,n){return(n=oi(n)).tag=3,n.payload={element:null},n.callback=function(){vs(e,t)},n}function _s(e){return(e=oi(e)).tag=3,e}function Bs(e,t,n,r){var o=n.type.getDerivedStateFromError;if("function"==typeof o){var i=r.value;e.payload=function(){return o(i)},e.callback=function(){bs(t,n,r)}}var a=n.stateNode;null!==a&&"function"==typeof a.componentDidCatch&&(e.callback=function(){bs(t,n,r),"function"!=typeof o&&(null===_c?_c=new Set([this]):_c.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var Cs=Error(a(461)),ks=!1;function Ss(e,t,n,r){t.child=null===e?ns(t,null,n,r):ts(t,e.child,n,r)}function js(e,t,n,r,o){n=n.render;var i=t.ref;if("ref"in r){var a={};for(var s in r)"ref"!==s&&(a[s]=r[s])}else a=r;return Co(t),r=Ni(e,t,n,a,i,o),s=Pi(),null===e||ks?(oo&&s&&eo(t),t.flags|=1,Ss(e,t,r,o),t.child):(Qi(e,t,o),Ws(e,t,o))}function Es(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||Qr(i)||void 0!==i.defaultProps||null!==n.compare?((e=Or(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Fs(e,t,i,r,o))}if(i=e.child,!Gs(e,o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:Gn)(a,r)&&e.ref===t.ref)return Ws(e,t,o)}return t.flags|=1,(e=Tr(i,r)).ref=t.ref,e.return=t,t.child=e}function Fs(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(Gn(i,r)&&e.ref===t.ref){if(ks=!1,t.pendingProps=r=i,!Gs(e,o))return t.lanes=e.lanes,Ws(e,t,o);131072&e.flags&&(ks=!0)}}return Is(e,t,n,r,o)}function Ns(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode){if(128&t.flags){if(r=null!==i?i.baseLanes|n:n,null!==e){for(o=t.child=e.child,i=0;null!==o;)i=i|o.lanes|o.childLanes,o=o.sibling;t.childLanes=i&~r}else t.childLanes=0,t.child=null;return Us(e,t,r,n)}if(!(536870912&n))return t.lanes=t.childLanes=536870912,Us(e,t,null!==i?i.baseLanes|n:n,n);t.memoizedState={baseLanes:0,cachePool:null}
vendor: 23,284 bytes, line 2
2,null!==e&&zo(0,null!==i?i.cachePool:null),null!==i?hi(t,i):mi(),as(t)}else null!==i?(zo(0,i.cachePool),hi(t,i),ss(),t.memoizedState=null):(null!==e&&zo(0,null),mi(),ss());return Ss(e,t,o,n),t.child}function Us(e,t,n,r){var o=Ho();return o=null===o?null:{parent:Uo._currentValue,pool:o},t.memoizedState={baseLanes:n,cachePool:o},null!==e&&zo(0,null),mi(),as(t),null!==e&&_o(e,t,r,!0),null}function Ls(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(a(284));null!==e&&e.ref===n||(t.flags|=4194816)}}function Is(e,t,n,r,o){return Co(t),n=Ni(e,t,n,r,void 0,o),r=Pi(),null===e||ks?(oo&&r&&eo(t),t.flags|=1,Ss(e,t,n,o),t.child):(Qi(e,t,o),Ws(e,t,o))}function Ps(e,t,n,r,o,i){return Co(t),t.updateQueue=null,n=Li(t,r,n,o),Ui(e),r=Pi(),null===e||ks?(oo&&r&&eo(t),t.flags|=1,Ss(e,t,n,i),t.child):(Qi(e,t,i),Ws(e,t,i))}function Qs(e,t,n,r,o){if(Co(t),null===t.stateNode){var i=Lr,a=n.contextType;"object"==typeof a&&null!==a&&(i=ko(a)),i=new n(r,i),t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,i.updater=ds,t.stateNode=i,i._reactInternals=t,(i=t.stateNode).props=r,i.state=t.memoizedState,i.refs={},ni(t),a=n.contextType,i.context="object"==typeof a&&null!==a?ko(a):Lr,i.state=t.memoizedState,"function"==typeof(a=n.getDerivedStateFromProps)&&(us(t,n,a,r),i.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(a=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),a!==i.state&&ds.enqueueReplaceState(i,i.state,null),Ai(t,r,i,o),ci(),i.state=t.memoizedState),"function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){i=t.stateNode;var s=t.memoizedProps,l=hs(n,s);i.props=l;var c=i.context,A=n.contextType;a=Lr,"object"==typeof A&&null!==A&&(a=ko(A));var u=n.getDerivedStateFromProps;A="function"==typeof u||"function"==typeof i.getSnapshotBeforeUpdate,s=t.pendingProps!==s,A||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s||c!==a)&&fs(t,i,r,a),ti=!1;var d=t.memoizedState;i.state=d,Ai(t,r,i,o),ci(),c=t.memoizedState,s||d!==c||ti?("function"==typeof u&&(us(t,n,u,r),c=t.memoizedState),(l=ti||ps(t,n,l,r,d,c,a))?(A||"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|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),i.props=r,i.state=c,i.context=a,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,ri(e,t),A=hs(n,a=t.memoizedProps),i.props=A,u=t.pendingProps,d=i.context,c=n.contextType,l=Lr,"object"==typeof c&&null!==c&&(l=ko(c)),(c="function"==typeof(s=n.getDerivedStateFromProps)||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(a!==u||d!==l)&&fs(t,i,r,l),ti=!1,d=t.memoizedState,i.state=d,Ai(t,r,i,o),ci();var p=t.memoizedState;a!==u||d!==p||ti||null!==e&&null!==e.dependencies&&Bo(e.dependencies)?("function"==typeof s&&(us(t,n,s,r),p=t.memoizedState),(A=ti||ps(t,n,A,r,d,p,l)||null!==e&&null!==e.dependencies&&Bo(e.dependencies))?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,p,l),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,p,l)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),i.props=r,i.state=p,i.context=l,r=A):("function"!=typeof i.componentDidUpdate||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return i=r,Ls(e,t),r=!!(128&t.flags),i||r?(i=t.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:i.render(),t.flags|=1,null!==e&&r?(t.child=ts(t,e.child,null,o),t.child=ts(t,null,n,o)):Ss(e,t,n,o),t.memoizedState=i.state,e=t.child):e=Ws(e,t,o),e}function Ts(e,t,n,r){return po(),t.flags|=256,Ss(e,t,n,r),t.child}var Ds={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Os(e){return{baseLanes:e,cachePool:Ko()}}function Rs(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=hc),e}function Ms(e,t,n){var r,o=t.pendingProps,i=!1,s=!!(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&!!(2&cs.current)),r&&(i=!0,t.flags&=-129),r=!!(32&t.flags),t.flags&=-33,null===e){if(oo){if(i?is(t):ss(),oo){var l,c=ro;if(l=c){e:{for(l=c,c=ao;8!==l.nodeType;){if(!c){c=null;break e}if(null===(l=mu(l.nextSibling))){c=null;break e}}c=l}null!==c?(t.memoizedState={dehydrated:c,treeContext:null!==Gr?{id:Yr,overflow:Xr}:null,retryLane:536870912,hydrationErrors:null},(l=Pr(18,null,null,0)).stateNode=c,l.return=t,t.child=l,no=t,ro=null,l=!0):l=!1}l||lo(t)}if(null!==(c=t.memoizedState)&&null!==(c=c.dehydrated))return hu(c)?t.lanes=32:t.lanes=536870912,null;ls(t)}return c=o.children,o=o.fallback,i?(ss(),c=zs({mode:"hidden",children:c},i=t.mode),o=Rr(o,i,n,null),c.return=t,o.return=t,c.sibling=o,t.child=c,(i=t.child).memoizedState=Os(n),i.childLanes=Rs(e,r,n),t.memoizedState=Ds,o):(is(t),Hs(t,c))}if(null!==(l=e.memoizedState)&&null!==(c=l.dehydrated)){if(s)256&t.flags?(is(t),t.flags&=-257,t=Ks(e,t,n)):null!==t.memoizedState?(ss(),t.child=e.child,t.flags|=128,t=null):(ss(),i=o.fallback,c=t.mode,o=zs({mode:"visible",children:o.children},c),(i=Rr(i,c,n,null)).flags|=2,o.return=t,i.return=t,o.sibling=i,t.child=o,ts(t,e.child,null,n),(o=t.child).memoizedState=Os(n),o.childLanes=Rs(e,r,n),t.memoizedState=Ds,t=i);else if(is(t),hu(c)){if(r=c.nextSibling&&c.nextSibling.dataset)var A=r.dgst;r=A,(o=Error(a(419))).stack="",o.digest=r,ho({value:o,source:null,stack:null}),t=Ks(e,t,n)}else if(ks||_o(e,t,n,!1),r=0!==(n&e.childLanes),ks||r){if(null!==(r=nc)&&0!==(o=0!==((o=42&(o=n&-n)?1:Se(o))&(r.suspendedLanes|n))?0:o)&&o!==l.retryLane)throw l.retryLane=o,Fr(e,o),Pc(r,0,o),Cs;"$?"===c.data||Vc(),t=Ks(e,t,n)}else"$?"===c.data?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,ro=mu(c.nextSibling),no=t,oo=!0,io=null,ao=!1,null!==e&&(qr[Wr++]=Yr,qr[Wr++]=Xr,qr[Wr++]=Gr,Yr=e.id,Xr=e.overflow,Gr=t),(t=Hs(t,o.children)).flags|=4096);return t}return i?(ss(),i=o.fallback,c=t.mode,A=(l=e.child).sibling,(o=Tr(l,{mode:"hidden",children:o.children})).subtreeFlags=65011712&l.subtreeFlags,null!==A?i=Tr(A,i):(i=Rr(i,c,n,null)).flags|=2,i.return=t,o.return=t,o.sibling=i,t.child=o,o=i,i=t.child,null===(c=e.child.memoizedState)?c=Os(n):(null!==(l=c.cachePool)?(A=Uo._currentValue,l=l.parent!==A?{parent:A,pool:A}:l):l=Ko(),c={baseLanes:c.baseLanes|n,cachePool:l}),i.memoizedState=c,i.childLanes=Rs(e,r,n),t.memoizedState=Ds,o):(is(t),e=(n=e.child).sibling,(n=Tr(n,{mode:"visible",children:o.children})).return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function Hs(e,t){return(t=zs({mode:"visible",children:t},e.mode)).return=e,e.child=t}function zs(e,t){return(e=Pr(22,e,null,t)).lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function Ks(e,t,n){return ts(t,e.child,null,n),(e=Hs(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function $s(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),bo(e.return,t,n)}function Vs(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function qs(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Ss(e,t,r.children,n),2&(r=cs.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&$s(e,n,t);else if(19===e.tag)$s(e,n,t);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}switch(R(cs,r),o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===As(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Vs(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===As(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Vs(t,!0,n,null,i);break;case"together":Vs(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ws(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),dc|=t.lanes,0===(n&t.childLanes)){if(null===e)return null;if(_o(e,t,n,!1),0===(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Tr(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Tr(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Gs(e,t){return 0!==(e.lanes&t)||!(null===(e=e.dependencies)||!Bo(e))}function Ys(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)ks=!0;else{if(!(Gs(e,n)||128&t.flags))return ks=!1,function(e,t,n){switch(t.tag){case 3:$(t,t.stateNode.containerInfo),wo(0,Uo,e.memoizedState.cache),po();break;case 27:case 5:q(t);break;case 4:$(t,t.stateNode.containerInfo);break;case 10:wo(0,t.type,t.memoizedProps.value);break;case 13:var r=t.memoizedState;if(null!==r)return null!==r.dehydrated?(is(t),t.flags|=128,null):0!==(n&t.child.childLanes)?Ms(e,t,n):(is(t),null!==(e=Ws(e,t,n))?e.sibling:null);is(t);break;case 19:var o=!!(128&e.flags);if((r=0!==(n&t.childLanes))||(_o(e,t,n,!1),r=0!==(n&t.childLanes)),o){if(r)return qs(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),R(cs,cs.current),r)break;return null;case 22:case 23:return t.lanes=0,Ns(e,t,n);case 24:wo(0,Uo,e.memoizedState.cache)}return Ws(e,t,n)}(e,t,n);ks=!!(131072&e.flags)}else ks=!1,oo&&1048576&t.flags&&Zr(t,Vr,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var r=t.elementType,o=r._init;if(r=o(r._payload),t.type=r,"function"!=typeof r){if(null!=r){if((o=r.$$typeof)===b){t.tag=11,t=js(null,t,r,e,n);break e}if(o===B){t.tag=14,t=Es(null,t,r,e,n);break e}}throw t=N(r)||r,Error(a(306,t,""))}Qr(r)?(e=hs(r,e),t.tag=1,t=Qs(null,t,r,e,n)):(t.tag=0,t=Is(null,t,r,e,n))}return t;case 0:return Is(e,t,t.type,t.pendingProps,n);case 1:return Qs(e,t,r=t.type,o=hs(r,t.pendingProps),n);case 3:e:{if($(t,t.stateNode.containerInfo),null===e)throw Error(a(387));r=t.pendingProps;var i=t.memoizedState;o=i.element,ri(e,t),Ai(t,r,null,n);var s=t.memoizedState;if(r=s.cache,wo(0,Uo,r),r!==i.cache&&xo(t,[Uo],n,!0),ci(),r=s.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Ts(e,t,r,n);break e}if(r!==o){ho(o=_r(Error(a(424)),t)),t=Ts(e,t,r,n);break e}for(e=9===(e=t.stateNode.containerInfo).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,ro=mu(e.firstChild),no=t,oo=!0,io=null,ao=!0,n=ns(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(po(),r===o){t=Ws(e,t,n);break e}Ss(e,t,r,n)}t=t.child}return t;case 26:return Ls(e,t),null===e?(n=Su(t.type,null,t.pendingProps,null))?t.memoizedState=n:oo||(n=t.type,e=t.pendingProps,(r=nu(z.current).createElement(n))[Ne]=t,r[Ue]=e,ZA(r,n,e),Ke(r),t.stateNode=r):t.memoizedState=Su(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return q(t),null===e&&oo&&(r=t.stateNode=wu(t.type,t.pendingProps,z.current),no=t,ao=!0,o=ro,du(t.type)?(gu=o,ro=mu(r.firstChild)):ro=o),Ss(e,t,t.pendingProps.children,n),Ls(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&oo&&((o=r=ro)&&(null!==(r=function(e,t,n,r){for(;1===e.nodeType;){var o=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[De])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(i=e.getAttribute("rel"))&&e.hasAttribute("data-precedence"))break;if(i!==o.rel||e.getAttribute("href")!==(null==o.href||""===o.href?null:o.href)||e.getAttribute("crossorigin")!==(null==o.crossOrigin?null:o.crossOrigin)||e.getAttribute("title")!==(null==o.title?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((i=e.getAttribute("src"))!==(null==o.src?null:o.src)||e.getAttribute("type")!==(null==o.type?null:o.type)||e.getAttribute("crossorigin")!==(null==o.crossOrigin?null:o.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var i=null==o.name?null:""+o.name;if("hidden"===o.type&&e.getAttribute("name")===i)return e}if(null===(e=mu(e.nextSibling)))break}return null}(r,t.type,t.pendingProps,ao))?(t.stateNode=r,no=t,ro=mu(r.firstChild),ao=!1,o=!0):o=!1),o||lo(t)),q(t),o=t.type,i=t.pendingProps,s=null!==e?e.memoizedProps:null,r=i.children,iu(o,i)?r=null:null!==s&&iu(o,s)&&(t.flags|=32),null!==t.memoizedState&&(o=Ni(e,t,Ii,null,null,n),qu._currentValue=o),Ls(e,t),Ss(e,t,r,n),t.child;case 6:return null===e&&oo&&((e=n=ro)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n)return null;if(null===(e=mu(e.nextSibling)))return null}return e}(n,t.pendingProps,ao))?(t.stateNode=n,no=t,ro=null,e=!0):e=!1),e||lo(t)),null;case 13:return Ms(e,t,n);case 4:return $(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=ts(t,null,r,n):Ss(e,t,r,n),t.child;case 11:return js(e,t,t.type,t.pendingProps,n);case 7:return Ss(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ss(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,wo(0,t.type,r.value),Ss(e,t,r.children,n),t.child;case 9:return o=t.type._context,r=t.pendingProps.children,Co(t),r=r(o=ko(o)),t.flags|=1,Ss(e,t,r,n),t.child;case 14:return Es(e,t,t.type,t.pendingProps,n);case 15:return Fs(e,t,t.type,t.pendingProps,n);case 19:return qs(e,t,n);case 31:return r=t.pendingProps,n=t.mode,r={mode:r.mode,children:r.children},null===e?((n=zs(r,n)).ref=t.ref,t.child=n,n.return=t,t=n):((n=Tr(e.child,r)).ref=t.ref,t.child=n,n.return=t,t=n),t;case 22:return Ns(e,t,n);case 24:return Co(t),r=ko(Uo),null===e?(null===(o=Ho())&&(o=nc,i=Lo(),o.pooledCache=i,i.refCount++,null!==i&&(o.pooledCacheLanes|=n),o=i),t.memoizedState={parent:r,cache:o},ni(t),wo(0,Uo,o)):(0!==(e.lanes&n)&&(ri(e,t),Ai(t,null,null,n),ci()),o=e.memoizedState,i=t.memoizedState,o.parent!==r?(o={parent:r,cache:r},t.memoizedState=o,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=o),wo(0,Uo,r)):(r=i.cache,wo(0,Uo,r),r!==o.cache&&xo(t,[Uo],n,!0))),Ss(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(a(156,t.tag))}function Xs(e){e.flags|=4}function Js(e,t){if("stylesheet"!==t.type||4&t.state.loading)e.flags&=-16777217;else if(e.flags|=16777216,!Ru(t)){if(null!==(t=rs.current)&&((4194048&oc)===oc?null!==os:(62914560&oc)!==oc&&!(536870912&oc)||t!==os))throw Jo=Wo,Vo;e.flags|=8192}}function Zs(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?xe():536870912,e.lanes|=t,mc|=t)}function el(e,t){if(!oo)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 tl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=65011712&o.subtreeFlags,r|=65011712&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function nl(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return tl(t),null;case 3:return n=t.stateNode,r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),vo(Uo),V(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(uo(t)?Xs(t):null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,fo())),tl(t),null;case 26:return n=t.memoizedState,null===e?(Xs(t),null!==n?(tl(t),Js(t,n)):(tl(t),t.flags&=-16777217)):n?n!==e.memoizedState?(Xs(t),tl(t),Js(t,n)):(tl(t),t.flags&=-16777217):(e.memoizedProps!==r&&Xs(t),tl(t),t.flags&=-16777217),null;case 27:W(t),n=z.current;var o=t.type;if(null!==e&&null!=t.stateNode)e.memoizedProps!==r&&Xs(t);else{if(!r){if(null===t.stateNode)throw Error(a(166));return tl(t),null}e=M.current,uo(t)?co(t):(e=wu(o,r,n),t.stateNode=e,Xs(t))}return tl(t),null;case 5:if(W(t),n=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&Xs(t);else{if(!r){if(null===t.stateNode)throw Error(a(166));return tl(t),null}if(e=M.current,uo(t))co(t);else{switch(o=nu(z.current),e){case 1:e=o.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:e=o.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":e=o.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":e=o.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":(e=o.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e="string"==typeof r.is?o.createElement("select",{is:r.is}):o.createElement("select"),r.multiple?e.multiple=!0:r.size&&(e.size=r.size);break;default:e="string"==typeof r.is?o.createElement(n,{is:r.is}):o.createElement(n)}}e[Ne]=t,e[Ue]=r;e:for(o=t.child;null!==o;){if(5===o.tag||6===o.tag)e.appendChild(o.stateNode);else if(4!==o.tag&&27!==o.tag&&null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break e;for(;null===o.sibling;){if(null===o.return||o.return===t)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}t.stateNode=e;e:switch(ZA(e,n,r),n){case"button":case"input":case"select":case"textarea":e=!!r.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&Xs(t)}}return tl(t),t.flags&=-16777217,null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&Xs(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));if(e=z.current,uo(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,null!==(o=no))switch(o.tag){case 27:case 5:r=o.memoizedProps}e[Ne]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||GA(e.nodeValue,n)))||lo(t)}else(e=nu(e).createTextNode(r))[Ne]=t,t.stateNode=e}return tl(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(o=uo(t),null!==r&&null!==r.dehydrated){if(null===e){if(!o)throw Error(a(318));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(a(317));o[Ne]=t}else po(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;tl(t),o=!1}else o=fo(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return 256&t.flags?(ls(t),t):(ls(t),null)}if(ls(t),128&t.flags)return t.lanes=n,t;if(n=null!==r,e=null!==e&&null!==e.memoizedState,n){o=null,null!==(r=t.child).alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(o=r.alternate.memoizedState.cachePool.pool);var i=null;null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(i=r.memoizedState.cachePool.pool),i!==o&&(r.flags|=2048)}return n!==e&&n&&(t.child.flags|=8192),Zs(t,t.updateQueue),tl(t),null;case 4:return V(),null===e&&OA(t.stateNode.containerInfo),tl(t),null;case 10:return vo(t.type),tl(t),null;case 19:if(O(cs),null===(o=t.memoizedState))return tl(t),null;if(r=!!(128&t.flags),null===(i=o.rendering))if(r)el(o,!1);else{if(0!==uc||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(i=As(e))){for(t.flags|=128,el(o,!1),e=i.updateQueue,t.updateQueue=e,Zs(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)Dr(n,e),n=n.sibling;return R(cs,1&cs.current|2),t.child}e=e.sibling}null!==o.tail&&ee()>bc&&(t.flags|=128,r=!0,el(o,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=As(i))){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,Zs(t,e),el(o,!0),null===o.tail&&"hidden"===o.tailMode&&!i.alternate&&!oo)return tl(t),null}else 2*ee()-o.renderingStartTime>bc&&536870912!==n&&(t.flags|=128,r=!0,el(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(null!==(e=o.last)?e.sibling=i:t.child=i,o.last=i)}return null!==o.tail?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=ee(),t.sibling=null,e=cs.current,R(cs,r?1&e|2:1&e),t):(tl(t),null);case 22:case 23:return ls(t),gi(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?!!(536870912&n)&&!(128&t.flags)&&(tl(t),6&t.subtreeFlags&&(t.flags|=8192)):tl(t),null!==(n=t.updateQueue)&&Zs(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&O(Mo),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),vo(Uo),tl(t),null;case 25:case 30:return null}throw Error(a(156,t.tag))}function rl(e,t){switch(to(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return vo(Uo),V(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return W(t),null;case 13:if(ls(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(a(340));po()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return O(cs),null;case 4:return V(),null;case 10:return vo(t.type),null;case 22:case 23:return ls(t),gi(),null!==e&&O(Mo),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return vo(Uo),null;default:return null}}function ol(e,t){switch(to(t),t.tag){case 3:vo(Uo),V();break;case 26:case 27:case 5:W(t);break;case 4:V();break;case 13:ls(t);break;case 19:O(cs);break;case 10:vo(t.type);break;case 22:case 23:ls(t),gi(),null!==e&&O(Mo);break;case 24:vo(Uo)}}function il(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var o=r.next;n=o;do{if((n.tag&e)===e){r=void 0;var i=n.create,a=n.inst;r=i(),a.destroy=r}n=n.next}while(n!==o)}}catch(e){cA(t,t.return,e)}}function al(e,t,n){try{var r=t.updateQueue,o=null!==r?r.lastEffect:null;if(null!==o){var i=o.next;r=i;do{if((r.tag&e)===e){var a=r.inst,s=a.destroy;if(void 0!==s){a.destroy=void 0,o=t;var l=n,c=s;try{c()}catch(e){cA(o,l,e)}}}r=r.next}
vendor: 4,316 bytes, line 2
2while(r!==i)}}catch(e){cA(t,t.return,e)}}function sl(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{di(t,n)}catch(t){cA(e,e.return,t)}}}function ll(e,t,n){n.props=hs(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){cA(e,t,n)}}function cl(e,t){try{var n=e.ref;if(null!==n){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;default:r=e.stateNode}"function"==typeof n?e.refCleanup=n(r):n.current=r}}catch(n){cA(e,t,n)}}function Al(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{r()}catch(n){cA(e,t,n)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(n){cA(e,t,n)}else n.current=null}function ul(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break e;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){cA(e,e.return,t)}}function dl(e,t,n){try{var r=e.stateNode;!function(e,t,n,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,i=null,s=null,l=null,c=null,A=null,u=null;for(f in n){var d=n[f];if(n.hasOwnProperty(f)&&null!=d)switch(f){case"checked":case"value":break;case"defaultValue":c=d;default:r.hasOwnProperty(f)||XA(e,t,f,null,r,d)}}for(var p in r){var f=r[p];if(d=n[p],r.hasOwnProperty(p)&&(null!=f||null!=d))switch(p){case"type":i=f;break;case"name":o=f;break;case"checked":A=f;break;case"defaultChecked":u=f;break;case"value":s=f;break;case"defaultValue":l=f;break;case"children":case"dangerouslySetInnerHTML":if(null!=f)throw Error(a(137,t));break;default:f!==d&&XA(e,t,p,f,r,d)}}return void ht(e,s,l,c,A,u,i,o);case"select":for(i in f=s=l=p=null,n)if(c=n[i],n.hasOwnProperty(i)&&null!=c)switch(i){case"value":break;case"multiple":f=c;default:r.hasOwnProperty(i)||XA(e,t,i,null,r,c)}for(o in r)if(i=r[o],c=n[o],r.hasOwnProperty(o)&&(null!=i||null!=c))switch(o){case"value":p=i;break;case"defaultValue":l=i;break;case"multiple":s=i;default:i!==c&&XA(e,t,o,i,r,c)}return t=l,n=s,r=f,void(null!=p?yt(e,!!n,p,!1):!!r!=!!n&&(null!=t?yt(e,!!n,t,!0):yt(e,!!n,n?[]:"",!1)));case"textarea":for(l in f=p=null,n)if(o=n[l],n.hasOwnProperty(l)&&null!=o&&!r.hasOwnProperty(l))switch(l){case"value":case"children":break;default:XA(e,t,l,null,r,o)}for(s in r)if(o=r[s],i=n[s],r.hasOwnProperty(s)&&(null!=o||null!=i))switch(s){case"value":p=o;break;case"defaultValue":f=o;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=o)throw Error(a(91));break;default:o!==i&&XA(e,t,s,o,r,i)}return void wt(e,p,f);case"option":for(var h in n)p=n[h],n.hasOwnProperty(h)&&null!=p&&!r.hasOwnProperty(h)&&("selected"===h?e.selected=!1:XA(e,t,h,null,r,p));for(c in r)p=r[c],f=n[c],!r.hasOwnProperty(c)||p===f||null==p&&null==f||("selected"===c?e.selected=p&&"function"!=typeof p&&"symbol"!=typeof p:XA(e,t,c,p,r,f));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var m in n)p=n[m],n.hasOwnProperty(m)&&null!=p&&!r.hasOwnProperty(m)&&XA(e,t,m,null,r,p);for(A in r)if(p=r[A],f=n[A],r.hasOwnProperty(A)&&p!==f&&(null!=p||null!=f))switch(A){case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(a(137,t));break;default:XA(e,t,A,p,r,f)}return;default:if(Ct(t)){for(var g in n)p=n[g],n.hasOwnProperty(g)&&void 0!==p&&!r.hasOwnProperty(g)&&JA(e,t,g,void 0,r,p);for(u in r)p=r[u],f=n[u],!r.hasOwnProperty(u)||p===f||void 0===p&&void 0===f||JA(e,t,u,p,r,f);return}}for(var y in n)p=n[y],n.hasOwnProperty(y)&&null!=p&&!r.hasOwnProperty(y)&&XA(e,t,y,null,r,p);for(d in r)p=r[d],f=n[d],!r.hasOwnProperty(d)||p===f||null==p&&null==f||XA(e,t,d,p,r,f)}(r,e.type,n,t),r[Ue]=t}catch(t){cA(e,e.return,t)}}function pl(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&du(e.type)||4===e.tag}function fl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||pl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&du(e.type))continue e;if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function hl(e,t,n){var r=e.tag;
vendor: 20,979 bytes, line 2
2if(5===r||6===r)e=e.stateNode,t?(9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).insertBefore(e,t):((t=9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=YA));else if(4!==r&&(27===r&&du(e.type)&&(n=e.stateNode,t=null),null!==(e=e.child)))for(hl(e,t,n),e=e.sibling;null!==e;)hl(e,t,n),e=e.sibling}function ml(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&(27===r&&du(e.type)&&(n=e.stateNode),null!==(e=e.child)))for(ml(e,t,n),e=e.sibling;null!==e;)ml(e,t,n),e=e.sibling}function gl(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,o=t.attributes;o.length;)t.removeAttributeNode(o[0]);ZA(t,r,n),t[Ne]=e,t[Ue]=n}catch(t){cA(e,e.return,t)}}var yl=!1,wl=!1,vl=!1,bl="function"==typeof WeakSet?WeakSet:Set,xl=null;function _l(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Ql(e,n),4&r&&il(5,n);break;case 1:if(Ql(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(e){cA(n,n.return,e)}else{var o=hs(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){cA(n,n.return,e)}}64&r&&sl(n),512&r&&cl(n,n.return);break;case 3:if(Ql(e,n),64&r&&null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{di(e,t)}catch(e){cA(n,n.return,e)}}break;case 27:null===t&&4&r&&gl(n);case 26:case 5:Ql(e,n),null===t&&4&r&&ul(n),512&r&&cl(n,n.return);break;case 12:Ql(e,n);break;case 13:Ql(e,n),4&r&&El(e,n),64&r&&null!==(e=n.memoizedState)&&null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if("$?"!==e.data||"complete"===n.readyState)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,n=pA.bind(null,n));break;case 22:if(!(r=null!==n.memoizedState||yl)){t=null!==t&&null!==t.memoizedState||wl,o=yl;var i=wl;yl=r,(wl=t)&&!i?Dl(e,n,!!(8772&n.subtreeFlags)):Ql(e,n),yl=o,wl=i}break;case 30:break;default:Ql(e,n)}}function Bl(e){var t=e.alternate;null!==t&&(e.alternate=null,Bl(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&Oe(t),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Cl=null,kl=!1;function Sl(e,t,n){for(n=n.child;null!==n;)jl(e,t,n),n=n.sibling}function jl(e,t,n){if(Ae&&"function"==typeof Ae.onCommitFiberUnmount)try{Ae.onCommitFiberUnmount(ce,n)}catch(e){}switch(n.tag){case 26:wl||Al(n,t),Sl(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:wl||Al(n,t);var r=Cl,o=kl;du(n.type)&&(Cl=n.stateNode,kl=!1),Sl(e,t,n),vu(n.stateNode),Cl=r,kl=o;break;case 5:wl||Al(n,t);case 6:if(r=Cl,o=kl,Cl=null,Sl(e,t,n),kl=o,null!==(Cl=r))if(kl)try{(9===Cl.nodeType?Cl.body:"HTML"===Cl.nodeName?Cl.ownerDocument.body:Cl).removeChild(n.stateNode)}catch(e){cA(n,t,e)}else try{Cl.removeChild(n.stateNode)}catch(e){cA(n,t,e)}break;case 18:null!==Cl&&(kl?(pu(9===(e=Cl).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,n.stateNode),Bd(e)):pu(Cl,n.stateNode));break;case 4:r=Cl,o=kl,Cl=n.stateNode.containerInfo,kl=!0,Sl(e,t,n),Cl=r,kl=o;break;case 0:case 11:case 14:case 15:wl||al(2,n,t),wl||al(4,n,t),Sl(e,t,n);break;case 1:wl||(Al(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount&&ll(n,t,r)),Sl(e,t,n);break;case 21:Sl(e,t,n);break;case 22:wl=(r=wl)||null!==n.memoizedState,Sl(e,t,n),wl=r;break;default:Sl(e,t,n)}}function El(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))try{Bd(e)}catch(e){cA(t,t.return,e)}}function Fl(e,t){var n=function(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new bl),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new bl),t;default:throw Error(a(435,e.tag))}}(e);t.forEach(function(t){var r=fA.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}function Nl(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r],i=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 27:if(du(l.type)){Cl=l.stateNode,kl=!1;break e}break;case 5:Cl=l.stateNode,kl=!1;break e;case 3:case 4:Cl=l.stateNode.containerInfo,kl=!0;break e}l=l.return}if(null===Cl)throw Error(a(160));jl(i,s,o),Cl=null,kl=!1,null!==(i=o.alternate)&&(i.return=null),o.return=null}if(13878&t.subtreeFlags)for(t=t.child;null!==t;)Ll(t,e),t=t.sibling}var Ul=null;function Ll(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Nl(t,e),Il(e),4&r&&(al(3,e,e.return),il(3,e),al(5,e,e.return));break;case 1:Nl(t,e),Il(e),512&r&&(wl||null===n||Al(n,n.return)),64&r&&yl&&null!==(e=e.updateQueue)&&null!==(r=e.callbacks)&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===n?r:n.concat(r));break;case 26:var o=Ul;if(Nl(t,e),Il(e),512&r&&(wl||null===n||Al(n,n.return)),4&r){var i=null!==n?n.memoizedState:null;if(r=e.memoizedState,null===n)if(null===r)if(null===e.stateNode){e:{r=e.type,n=e.memoizedProps,o=o.ownerDocument||o;t:switch(r){case"title":(!(i=o.getElementsByTagName("title")[0])||i[De]||i[Ne]||"http://www.w3.org/2000/svg"===i.namespaceURI||i.hasAttribute("itemprop"))&&(i=o.createElement(r),o.head.insertBefore(i,o.querySelector("head > title"))),ZA(i,r,n),i[Ne]=e,Ke(i),r=i;break e;case"link":var s=Du("link","href",o).get(r+(n.href||""));if(s)for(var l=0;l<s.length;l++)if((i=s[l]).getAttribute("href")===(null==n.href||""===n.href?null:n.href)&&i.getAttribute("rel")===(null==n.rel?null:n.rel)&&i.getAttribute("title")===(null==n.title?null:n.title)&&i.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){s.splice(l,1);break t}ZA(i=o.createElement(r),r,n),o.head.appendChild(i);break;case"meta":if(s=Du("meta","content",o).get(r+(n.content||"")))for(l=0;l<s.length;l++)if((i=s[l]).getAttribute("content")===(null==n.content?null:""+n.content)&&i.getAttribute("name")===(null==n.name?null:n.name)&&i.getAttribute("property")===(null==n.property?null:n.property)&&i.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&i.getAttribute("charset")===(null==n.charSet?null:n.charSet)){s.splice(l,1);break t}ZA(i=o.createElement(r),r,n),o.head.appendChild(i);break;default:throw Error(a(468,r))}i[Ne]=e,Ke(i),r=i}e.stateNode=r}else Ou(o,e.type,e.stateNode);else e.stateNode=Lu(o,r,e.memoizedProps);else i!==r?(null===i?null!==n.stateNode&&(n=n.stateNode).parentNode.removeChild(n):i.count--,null===r?Ou(o,e.type,e.stateNode):Lu(o,r,e.memoizedProps)):null===r&&null!==e.stateNode&&dl(e,e.memoizedProps,n.memoizedProps)}break;case 27:Nl(t,e),Il(e),512&r&&(wl||null===n||Al(n,n.return)),null!==n&&4&r&&dl(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Nl(t,e),Il(e),512&r&&(wl||null===n||Al(n,n.return)),32&e.flags){o=e.stateNode;try{bt(o,"")}catch(t){cA(e,e.return,t)}}4&r&&null!=e.stateNode&&dl(e,o=e.memoizedProps,null!==n?n.memoizedProps:o),1024&r&&(vl=!0);break;case 6:if(Nl(t,e),Il(e),4&r){if(null===e.stateNode)throw Error(a(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){cA(e,e.return,t)}}break;case 3:if(Tu=null,o=Ul,Ul=_u(t.containerInfo),Nl(t,e),Ul=o,Il(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Bd(t.containerInfo)}catch(t){cA(e,e.return,t)}vl&&(vl=!1,Pl(e));break;case 4:r=Ul,Ul=_u(e.stateNode.containerInfo),Nl(t,e),Il(e),Ul=r;break;case 12:default:Nl(t,e),Il(e);break;case 13:Nl(t,e),Il(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==n&&null!==n.memoizedState)&&(vc=ee()),4&r&&null!==(r=e.updateQueue)&&(e.updateQueue=null,Fl(e,r));break;case 22:o=null!==e.memoizedState;var c=null!==n&&null!==n.memoizedState,A=yl,u=wl;if(yl=A||o,wl=u||c,Nl(t,e),wl=u,yl=A,Il(e),8192&r)e:for(t=e.stateNode,t._visibility=o?-2&t._visibility:1|t._visibility,o&&(null===n||c||yl||wl||Tl(e)),n=null,t=e;;){if(5===t.tag||26===t.tag){if(null===n){c=n=t;try{if(i=c.stateNode,o)"function"==typeof(s=i.style).setProperty?s.setProperty("display","none","important"):s.display="none";else{l=c.stateNode;var d=c.memoizedProps.style,p=null!=d&&d.hasOwnProperty("display")?d.display:null;l.style.display=null==p||"boolean"==typeof p?"":(""+p).trim()}}catch(e){cA(c,c.return,e)}}}else if(6===t.tag){if(null===n){c=t;try{c.stateNode.nodeValue=o?"":c.memoizedProps}catch(e){cA(c,c.return,e)}}}else if((22!==t.tag&&23!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}4&r&&null!==(r=e.updateQueue)&&null!==(n=r.retryQueue)&&(r.retryQueue=null,Fl(e,n));break;case 19:Nl(t,e),Il(e),4&r&&null!==(r=e.updateQueue)&&(e.updateQueue=null,Fl(e,r));case 30:case 21:}}function Il(e){var t=e.flags;if(2&t){try{for(var n,r=e.return;null!==r;){if(pl(r)){n=r;break}r=r.return}if(null==n)throw Error(a(160));switch(n.tag){case 27:var o=n.stateNode;ml(e,fl(e),o);break;case 5:var i=n.stateNode;32&n.flags&&(bt(i,""),n.flags&=-33),ml(e,fl(e),i);break;case 3:case 4:var s=n.stateNode.containerInfo;hl(e,fl(e),s);break;default:throw Error(a(161))}}catch(t){cA(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Pl(e){if(1024&e.subtreeFlags)for(e=e.child;null!==e;){var t=e;Pl(t),5===t.tag&&1024&t.flags&&t.stateNode.reset(),e=e.sibling}}function Ql(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)_l(e,t.alternate,t),t=t.sibling}function Tl(e){for(e=e.child;null!==e;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:al(4,t,t.return),Tl(t);break;case 1:Al(t,t.return);var n=t.stateNode;"function"==typeof n.componentWillUnmount&&ll(t,t.return,n),Tl(t);break;case 27:vu(t.stateNode);case 26:case 5:Al(t,t.return),Tl(t);break;case 22:null===t.memoizedState&&Tl(t);break;default:Tl(t)}e=e.sibling}}function Dl(e,t,n){for(n=n&&!!(8772&t.subtreeFlags),t=t.child;null!==t;){var r=t.alternate,o=e,i=t,a=i.flags;switch(i.tag){case 0:case 11:case 15:Dl(o,i,n),il(4,i);break;case 1:if(Dl(o,i,n),"function"==typeof(o=(r=i).stateNode).componentDidMount)try{o.componentDidMount()}catch(e){cA(r,r.return,e)}if(null!==(o=(r=i).updateQueue)){var s=r.stateNode;try{var l=o.shared.hiddenCallbacks;if(null!==l)for(o.shared.hiddenCallbacks=null,o=0;o<l.length;o++)ui(l[o],s)}catch(e){cA(r,r.return,e)}}n&&64&a&&sl(i),cl(i,i.return);break;case 27:gl(i);case 26:case 5:Dl(o,i,n),n&&null===r&&4&a&&ul(i),cl(i,i.return);break;case 12:Dl(o,i,n);break;case 13:Dl(o,i,n),n&&4&a&&El(o,i);break;case 22:null===i.memoizedState&&Dl(o,i,n),cl(i,i.return);break;case 30:break;default:Dl(o,i,n)}t=t.sibling}}function Ol(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&Io(n))}function Rl(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Io(e))}function Ml(e,t,n,r){if(10256&t.subtreeFlags)for(t=t.child;null!==t;)Hl(e,t,n,r),t=t.sibling}function Hl(e,t,n,r){var o=t.flags;switch(t.tag){case 0:case 11:case 15:Ml(e,t,n,r),2048&o&&il(9,t);break;case 1:case 13:default:Ml(e,t,n,r);break;case 3:Ml(e,t,n,r),2048&o&&(e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Io(e)));break;case 12:if(2048&o){Ml(e,t,n,r),e=t.stateNode;try{var i=t.memoizedProps,a=i.id,s=i.onPostCommit;"function"==typeof s&&s(a,null===t.alternate?"mount":"update",e.passiveEffectDuration,-0)}catch(e){cA(t,t.return,e)}}else Ml(e,t,n,r);break;case 23:break;case 22:i=t.stateNode,a=t.alternate,null!==t.memoizedState?2&i._visibility?Ml(e,t,n,r):Kl(e,t):2&i._visibility?Ml(e,t,n,r):(i._visibility|=2,zl(e,t,n,r,!!(10256&t.subtreeFlags))),2048&o&&Ol(a,t);break;case 24:Ml(e,t,n,r),2048&o&&Rl(t.alternate,t)}}function zl(e,t,n,r,o){for(o=o&&!!(10256&t.subtreeFlags),t=t.child;null!==t;){var i=e,a=t,s=n,l=r,c=a.flags;switch(a.tag){case 0:case 11:case 15:zl(i,a,s,l,o),il(8,a);break;case 23:break;case 22:var A=a.stateNode;null!==a.memoizedState?2&A._visibility?zl(i,a,s,l,o):Kl(i,a):(A._visibility|=2,zl(i,a,s,l,o)),o&&2048&c&&Ol(a.alternate,a);break;case 24:zl(i,a,s,l,o),o&&2048&c&&Rl(a.alternate,a);break;default:zl(i,a,s,l,o)}t=t.sibling}}function Kl(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=e,r=t,o=r.flags;switch(r.tag){case 22:Kl(n,r),2048&o&&Ol(r.alternate,r);break;case 24:Kl(n,r),2048&o&&Rl(r.alternate,r);break;default:Kl(n,r)}t=t.sibling}}var $l=8192;function Vl(e){if(e.subtreeFlags&$l)for(e=e.child;null!==e;)ql(e),e=e.sibling}function ql(e){switch(e.tag){case 26:Vl(e),e.flags&$l&&null!==e.memoizedState&&function(e,t,n){if(null===Mu)throw Error(a(475));var r=Mu;if(!("stylesheet"!==t.type||"string"==typeof n.media&&!1===matchMedia(n.media).matches||4&t.state.loading)){if(null===t.instance){var o=ju(n.href),i=e.querySelector(Eu(o));if(i)return null!==(e=i._p)&&"object"==typeof e&&"function"==typeof e.then&&(r.count++,r=zu.bind(r),e.then(r,r)),t.state.loading|=4,t.instance=i,void Ke(i);i=e.ownerDocument||e,n=Fu(n),(o=bu.get(o))&&Pu(n,o),Ke(i=i.createElement("link"));var s=i;s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),ZA(i,"link",n),t.instance=i}null===r.stylesheets&&(r.stylesheets=new Map),r.stylesheets.set(t,e),(e=t.state.preload)&&!(3&t.state.loading)&&(r.count++,t=zu.bind(r),e.addEventListener("load",t),e.addEventListener("error",t))}}(Ul,e.memoizedState,e.memoizedProps);break;case 5:default:Vl(e);break;case 3:case 4:var t=Ul;Ul=_u(e.stateNode.containerInfo),Vl(e),Ul=t;break;case 22:null===e.memoizedState&&(null!==(t=e.alternate)&&null!==t.memoizedState?(t=$l,$l=16777216,Vl(e),$l=t):Vl(e))}}function Wl(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do{t=e.sibling,e.sibling=null,e=t}while(null!==e)}}function Gl(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];xl=r,Jl(r,e)}Wl(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)Yl(e),e=e.sibling}function Yl(e){switch(e.tag){case 0:case 11:case 15:Gl(e),2048&e.flags&&al(9,e,e.return);break;case 3:case 12:default:Gl(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,Xl(e)):Gl(e)}}function Xl(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];xl=r,Jl(r,e)}Wl(e)}for(e=e.child;null!==e;){switch((t=e).tag){case 0:case 11:case 15:al(8,t,t.return),Xl(t);break;case 22:2&(n=t.stateNode)._visibility&&(n._visibility&=-3,Xl(t));break;default:Xl(t)}e=e.sibling}}function Jl(e,t){for(;null!==xl;){var n=xl;switch(n.tag){case 0:case 11:case 15:al(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:Io(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,xl=r;else e:for(n=e;null!==xl;){var o=(r=xl).sibling,i=r.return;if(Bl(r),r===n){xl=null;break e}if(null!==o){o.return=i,xl=o;break e}xl=i}}}var Zl={getCacheForType:function(e){var t=ko(Uo),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n}},ec="function"==typeof WeakMap?WeakMap:Map,tc=0,nc=null,rc=null,oc=0,ic=0,ac=null,sc=!1,lc=!1,cc=!1,Ac=0,uc=0,dc=0,pc=0,fc=0,hc=0,mc=0,gc=null,yc=null,wc=!1,vc=0,bc=1/0,xc=null,_c=null,Bc=0,Cc=null,kc=null,Sc=0,jc=0,Ec=null,Fc=null,Nc=0,Uc=null;function Lc(){return 2&tc&&0!==oc?oc&-oc:null!==L.T?0!==To?To:jA():Ee()}function Ic(){0===hc&&(hc=536870912&oc&&!oo?536870912:be());var e=rs.current;return null!==e&&(e.flags|=32),hc}function Pc(e,t,n){(e!==nc||2!==ic&&9!==ic)&&null===e.cancelPendingCommit||(Hc(e,0),Oc(e,oc,hc,!1)),Be(e,n),2&tc&&e===nc||(e===nc&&(!(2&tc)&&(pc|=n),4===uc&&Oc(e,oc,hc,!1)),bA(e))}function Qc(e,t,n){if(6&tc)throw Error(a(327));for(var r=!n&&!(124&t)&&0===(t&e.expiredLanes)||we(e,t),o=r?function(e,t){var n=tc;tc|=2;var r=Kc(),o=$c();nc!==e||oc!==t?(xc=null,bc=ee()+500,Hc(e,t)):lc=we(e,t);e:for(;;)try{if(0!==ic&&null!==rc){t=rc;var i=ac;t:switch(ic){case 1:ic=0,ac=null,Jc(e,t,i,1);break;case 2:case 9:if(Go(i)){ic=0,ac=null,Xc(t);break}t=function(){2!==ic&&9!==ic||nc!==e||(ic=7),bA(e)},i.then(t,t);break e;case 3:ic=7;break e;case 4:ic=5;break e;case 7:Go(i)?(ic=0,ac=null,Xc(t)):(ic=0,ac=null,Jc(e,t,i,7));break;case 5:var s=null;switch(rc.tag){case 26:s=rc.memoizedState;case 5:case 27:var l=rc;if(!s||Ru(s)){ic=0,ac=null;var c=l.sibling;if(null!==c)rc=c;else{var A=l.return;null!==A?(rc=A,Zc(A)):rc=null}break t}}ic=0,ac=null,Jc(e,t,i,5);break;case 6:ic=0,ac=null,Jc(e,t,i,6);break;case 8:Mc(),uc=6;break e;default:throw Error(a(462))}}Gc();break}catch(t){zc(e,t)}return yo=go=null,L.H=r,L.A=o,tc=n,null!==rc?0:(nc=null,oc=0,Sr(),uc)}(e,t):qc(e,t,!0),i=r;;){if(0===o){lc&&!r&&Oc(e,t,0,!1);break}if(n=e.current.alternate,!i||Dc(n)){if(2===o){if(i=t,e.errorRecoveryDisabledLanes&i)var s=0;else s=0!=(s=-536870913&e.pendingLanes)?s:536870912&s?536870912:0;if(0!==s){t=s;e:{var l=e;o=gc;var c=l.current.memoizedState.isDehydrated;if(c&&(Hc(l,s).flags|=256),2!==(s=qc(l,s,!1))){if(cc&&!c){l.errorRecoveryDisabledLanes|=i,pc|=i,o=4;break e}i=yc,yc=o,null!==i&&(null===yc?yc=i:yc.push.apply(yc,i))}o=s}if(i=!1,2!==o)continue}}if(1===o){Hc(e,0),Oc(e,t,0,!0);break}e:{switch(r=e,i=o){case 0:case 1:throw Error(a(345));case 4:if((4194048&t)!==t)break;case 6:Oc(r,t,hc,!sc);break e;case 2:yc=null;break;case 3:case 5:break;default:throw Error(a(329))}if((62914560&t)===t&&10<(o=vc+300-ee())){if(Oc(r,t,hc,!sc),0!==ye(r,0,!0))break e;r.timeoutHandle=su(Tc.bind(null,r,n,yc,xc,wc,t,hc,pc,mc,sc,i,2,-0,0),o)}else Tc(r,n,yc,xc,wc,t,hc,pc,mc,sc,i,0,-0,0)}break}o=qc(e,t,!1),i=!1}bA(e)}function Tc(e,t,n,r,o,i,s,l,c,A,u,d,p,f){if(e.timeoutHandle=-1,(8192&(d=t.subtreeFlags)||!(16785408&~d))&&(Mu={stylesheets:null,count:0,unsuspend:Hu},ql(t),null!==(d=function(){if(null===Mu)throw Error(a(475));var e=Mu;return e.stylesheets&&0===e.count&&$u(e,e.stylesheets),0<e.count?function(t){var n=setTimeout(function(){if(e.stylesheets&&$u(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(n)}}:null}())))return e.cancelPendingCommit=d(tA.bind(null,e,t,i,n,r,o,s,l,c,u,1,p,f)),void Oc(e,i,s,!A);tA(e,t,i,n,r,o,s,l,c)}function Dc(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&null!==(n=t.updateQueue)&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!Wn(i(),o))return!1}catch(e){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Oc(e,t,n,r){t&=~fc,t&=~pc,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var o=t;0<o;){var i=31-de(o),a=1<<i;r[i]=-1,o&=~a}0!==n&&Ce(e,n,t)}function Rc(){return!!(6&tc)||(xA(0,!1),!1)}function Mc(){if(null!==rc){if(0===ic)var e=rc.return;else yo=go=null,Ti(e=rc),Wa=null,Ga=0,e=rc;for(;null!==e;)ol(e.alternate,e),e=e.return;rc=null}}function Hc(e,t){var n=e.timeoutHandle;-1!==n&&(e.timeoutHandle=-1,lu(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),Mc(),nc=e,rc=n=Tr(e.current,null),oc=t,ic=0,ac=null,sc=!1,lc=we(e,t),cc=!1,mc=hc=fc=pc=dc=uc=0,yc=gc=null,wc=!1,8&t&&(t|=32&t);var r=e.entangledLanes;if(0!==r)for(e=e.entanglements,r&=t;0<r;){var o=31-de(r),i=1<<o;t|=e[o],r&=~i}return Ac=t,Sr(),n}function zc(e,t){wi=null,L.H=Ka,t===$o||t===qo?(t=Zo(),ic=3):t===Vo?(t=Zo(),ic=4):ic=t===Cs?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,ac=t,null===rc&&(uc=1,vs(e,_r(t,e.current)))}function Kc(){var e=L.H;return L.H=Ka,null===e?Ka:e}function $c(){var e=L.A;return L.A=Zl,e}function Vc(){uc=4,sc||(4194048&oc)!==oc&&null!==rs.current||(lc=!0),!(134217727&dc)&&!(134217727&pc)||null===nc||Oc(nc,oc,hc,!1)}function qc(e,t,n){var r=tc;tc|=2;var o=Kc(),i=$c();nc===e&&oc===t||(xc=null,Hc(e,t)),t=!1;var a=uc;e:for(;;)try{if(0!==ic&&null!==rc){var s=rc,l=ac;switch(ic){case 8:Mc(),a=6;break e;case 3:case 2:case 9:case 6:null===rs.current&&(t=!0);var c=ic;if(ic=0,ac=null,Jc(e,s,l,c),n&&lc){a=0;break e}break;default:c=ic,ic=0,ac=null,Jc(e,s,l,c)}}Wc(),a=uc;break}catch(t){zc(e,t)}return t&&e.shellSuspendCounter++,yo=go=null,tc=r,L.H=o,L.A=i,null===rc&&(nc=null,oc=0,Sr()),a}function Wc(){for(;null!==rc;)Yc(rc)}function Gc(){for(;null!==rc&&!J();)Yc(rc)}function Yc(e){var t=Ys(e.alternate,e,Ac);e.memoizedProps=e.pendingProps,null===t?Zc(e):rc=t}function Xc(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Ps(n,t,t.pendingProps,t.type,void 0,oc);break;case 11:t=Ps(n,t,t.pendingProps,t.type.render,t.ref,oc);break;case 5:Ti(t);default:ol(n,t),t=Ys(n,t=rc=Dr(t,Ac),Ac)}e.memoizedProps=e.pendingProps,null===t?Zc(e):rc=t}
vendor: 4,399 bytes, line 2
2function Jc(e,t,n,r){yo=go=null,Ti(t),Wa=null,Ga=0;var o=t.return;try{if(function(e,t,n,r,o){if(n.flags|=32768,null!==r&&"object"==typeof r&&"function"==typeof r.then){if(null!==(t=n.alternate)&&_o(t,n,o,!0),null!==(n=rs.current)){switch(n.tag){case 13:return null===os?Vc():null===n.alternate&&0===uc&&(uc=3),n.flags&=-257,n.flags|=65536,n.lanes=o,r===Wo?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([r]):t.add(r),AA(e,r,o)),!1;case 22:return n.flags|=65536,r===Wo?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([r]):n.add(r),AA(e,r,o)),!1}throw Error(a(435,n.tag))}return AA(e,r,o),Vc(),!1}if(oo)return null!==(t=rs.current)?(!(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=o,r!==so&&ho(_r(e=Error(a(422),{cause:r}),n))):(r!==so&&ho(_r(t=Error(a(423),{cause:r}),n)),(e=e.current.alternate).flags|=65536,o&=-o,e.lanes|=o,r=_r(r,n),si(e,o=xs(e.stateNode,r,o)),4!==uc&&(uc=2)),!1;var i=Error(a(520),{cause:r});if(i=_r(i,n),null===gc?gc=[i]:gc.push(i),4!==uc&&(uc=2),null===t)return!0;r=_r(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=o&-o,n.lanes|=e,si(n,e=xs(n.stateNode,r,e)),!1;case 1:if(t=n.type,i=n.stateNode,!(128&n.flags||"function"!=typeof t.getDerivedStateFromError&&(null===i||"function"!=typeof i.componentDidCatch||null!==_c&&_c.has(i))))return n.flags|=65536,o&=-o,n.lanes|=o,Bs(o=_s(o),e,n,r),si(n,o),!1}n=n.return}while(null!==n);return!1}(e,o,t,n,oc))return uc=1,vs(e,_r(n,e.current)),void(rc=null)}catch(t){if(null!==o)throw rc=o,t;return uc=1,vs(e,_r(n,e.current)),void(rc=null)}32768&t.flags?(oo||1===r?e=!0:lc||536870912&oc?e=!1:(sc=e=!0,(2===r||9===r||3===r||6===r)&&null!==(r=rs.current)&&13===r.tag&&(r.flags|=16384)),eA(t,e)):Zc(t)}function Zc(e){var t=e;do{if(32768&t.flags)return void eA(t,sc);e=t.return;var n=nl(t.alternate,t,Ac);if(null!==n)return void(rc=n);if(null!==(t=t.sibling))return void(rc=t);rc=t=e}while(null!==t);0===uc&&(uc=5)}function eA(e,t){do{var n=rl(e.alternate,e);if(null!==n)return n.flags&=32767,void(rc=n);if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling))return void(rc=e);rc=e=n}while(null!==e);uc=6,rc=null}function tA(e,t,n,r,o,i,s,l,c){e.cancelPendingCommit=null;do{aA()}while(0!==Bc);if(6&tc)throw Error(a(327));if(null!==t){if(t===e.current)throw Error(a(177));if(i=t.lanes|t.childLanes,function(e,t,n,r,o,i){var a=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,l=e.expirationTimes,c=e.hiddenUpdates;for(n=a&~n;0<n;){var A=31-de(n),u=1<<A;s[A]=0,l[A]=-1;var d=c[A];if(null!==d)for(c[A]=null,A=0;A<d.length;A++){var p=d[A];null!==p&&(p.lane&=-536870913)}n&=~u}0!==r&&Ce(e,r,0),0!==i&&0===o&&0!==e.tag&&(e.suspendedLanes|=i&~(a&~t))}(e,n,i|=kr,s,l,c),e===nc&&(rc=nc=null,oc=0),kc=t,Cc=e,Sc=n,jc=i,Ec=o,Fc=r,10256&t.subtreeFlags||10256&t.flags?(e.callbackNode=null,e.callbackPriority=0,Y(oe,function(){return sA(),null})):(e.callbackNode=null,e.callbackPriority=0),r=!!(13878&t.flags),13878&t.subtreeFlags||r){r=L.T,L.T=null,o=I.p,I.p=2,s=tc,tc|=4;try{!function(e,t){if(e=e.containerInfo,eu=Zu,er(e=Zn(e))){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(e){n=null;break e}var s=0,l=-1,c=-1,A=0,u=0,d=e,p=null;t:for(;;){for(var f;d!==n||0!==o&&3!==d.nodeType||(l=s+o),d!==i||0!==r&&3!==d.nodeType||(c=s+r),3===d.nodeType&&(s+=d.nodeValue.length),null!==(f=d.firstChild);)p=d,d=f;for(;;){if(d===e)break t;if(p===n&&++A===o&&(l=s),p===i&&++u===r&&(c=s),null!==(f=d.nextSibling))break;p=(d=p).parentNode}d=f}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(tu={focusedElem:e,selectionRange:n},Zu=!1,xl=t;null!==xl;)if(e=(t=xl).child,1024&t.subtreeFlags&&null!==e)e.return=t,xl=e;else for(;null!==xl;){switch(i=(t=xl).alternate,e=t.flags,t.tag){case 0:case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(1024&e&&null!==i){e=void 0,n=t,o=i.memoizedProps,i=i.memoizedState,r=n.stateNode;
vendor: 11,491 bytes, line 2
2try{var h=hs(n.type,o,(n.elementType,n.type));e=r.getSnapshotBeforeUpdate(h,i),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){cA(n,n.return,e)}}break;case 3:if(1024&e)if(9===(n=(e=t.stateNode.containerInfo).nodeType))fu(e);else if(1===n)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":fu(e);break;default:e.textContent=""}break;default:if(1024&e)throw Error(a(163))}if(null!==(e=t.sibling)){e.return=t.return,xl=e;break}xl=t.return}}(e,t)}finally{tc=s,I.p=o,L.T=r}}Bc=1,nA(),rA(),oA()}}function nA(){if(1===Bc){Bc=0;var e=Cc,t=kc,n=!!(13878&t.flags);if(13878&t.subtreeFlags||n){n=L.T,L.T=null;var r=I.p;I.p=2;var o=tc;tc|=4;try{Ll(t,e);var i=tu,a=Zn(e.containerInfo),s=i.focusedElem,l=i.selectionRange;if(a!==s&&s&&s.ownerDocument&&Jn(s.ownerDocument.documentElement,s)){if(null!==l&&er(s)){var c=l.start,A=l.end;if(void 0===A&&(A=c),"selectionStart"in s)s.selectionStart=c,s.selectionEnd=Math.min(A,s.value.length);else{var u=s.ownerDocument||document,d=u&&u.defaultView||window;if(d.getSelection){var p=d.getSelection(),f=s.textContent.length,h=Math.min(l.start,f),m=void 0===l.end?h:Math.min(l.end,f);!p.extend&&h>m&&(a=m,m=h,h=a);var g=Xn(s,h),y=Xn(s,m);if(g&&y&&(1!==p.rangeCount||p.anchorNode!==g.node||p.anchorOffset!==g.offset||p.focusNode!==y.node||p.focusOffset!==y.offset)){var w=u.createRange();w.setStart(g.node,g.offset),p.removeAllRanges(),h>m?(p.addRange(w),p.extend(y.node,y.offset)):(w.setEnd(y.node,y.offset),p.addRange(w))}}}}for(u=[],p=s;p=p.parentNode;)1===p.nodeType&&u.push({element:p,left:p.scrollLeft,top:p.scrollTop});for("function"==typeof s.focus&&s.focus(),s=0;s<u.length;s++){var v=u[s];v.element.scrollLeft=v.left,v.element.scrollTop=v.top}}Zu=!!eu,tu=eu=null}finally{tc=o,I.p=r,L.T=n}}e.current=t,Bc=2}}function rA(){if(2===Bc){Bc=0;var e=Cc,t=kc,n=!!(8772&t.flags);if(8772&t.subtreeFlags||n){n=L.T,L.T=null;var r=I.p;I.p=2;var o=tc;tc|=4;try{_l(e,t.alternate,t)}finally{tc=o,I.p=r,L.T=n}}Bc=3}}function oA(){if(4===Bc||3===Bc){Bc=0,Z();var e=Cc,t=kc,n=Sc,r=Fc;10256&t.subtreeFlags||10256&t.flags?Bc=5:(Bc=0,kc=Cc=null,iA(e,e.pendingLanes));var o=e.pendingLanes;if(0===o&&(_c=null),je(n),t=t.stateNode,Ae&&"function"==typeof Ae.onCommitFiberRoot)try{Ae.onCommitFiberRoot(ce,t,void 0,!(128&~t.current.flags))}catch(e){}if(null!==r){t=L.T,o=I.p,I.p=2,L.T=null;try{for(var i=e.onRecoverableError,a=0;a<r.length;a++){var s=r[a];i(s.value,{componentStack:s.stack})}}finally{L.T=t,I.p=o}}3&Sc&&aA(),bA(e),o=e.pendingLanes,4194090&n&&42&o?e===Uc?Nc++:(Nc=0,Uc=e):Nc=0,xA(0,!1)}}function iA(e,t){0===(e.pooledCacheLanes&=t)&&null!=(t=e.pooledCache)&&(e.pooledCache=null,Io(t))}function aA(e){return nA(),rA(),oA(),sA()}function sA(){if(5!==Bc)return!1;var e=Cc,t=jc;jc=0;var n=je(Sc),r=L.T,o=I.p;try{I.p=32>n?32:n,L.T=null,n=Ec,Ec=null;var i=Cc,s=Sc;if(Bc=0,kc=Cc=null,Sc=0,6&tc)throw Error(a(331));var l=tc;if(tc|=4,Yl(i.current),Hl(i,i.current,s,n),tc=l,xA(0,!1),Ae&&"function"==typeof Ae.onPostCommitFiberRoot)try{Ae.onPostCommitFiberRoot(ce,i)}catch(e){}return!0}finally{I.p=o,L.T=r,iA(e,t)}}function lA(e,t,n){t=_r(n,t),null!==(e=ii(e,t=xs(e.stateNode,t,2),2))&&(Be(e,2),bA(e))}function cA(e,t,n){if(3===e.tag)lA(e,e,n);else for(;null!==t;){if(3===t.tag){lA(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===_c||!_c.has(r))){e=_r(n,e),null!==(r=ii(t,n=_s(2),2))&&(Bs(n,r,t,e),Be(r,2),bA(r));break}}t=t.return}}function AA(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new ec;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(cc=!0,o.add(n),e=uA.bind(null,e,t,n),t.then(e,e))}function uA(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,nc===e&&(oc&n)===n&&(4===uc||3===uc&&(62914560&oc)===oc&&300>ee()-vc?!(2&tc)&&Hc(e,0):fc|=n,mc===oc&&(mc=0)),bA(e)}function dA(e,t){0===t&&(t=xe()),null!==(e=Fr(e,t))&&(Be(e,t),bA(e))}function pA(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),dA(e,n)}function fA(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(a(314))}null!==r&&r.delete(t),dA(e,n)}var hA=null,mA=null,gA=!1,yA=!1,wA=!1,vA=0;function bA(e){e!==mA&&null===e.next&&(null===mA?hA=mA=e:mA=mA.next=e),yA=!0,gA||(gA=!0,Au(function(){6&tc?Y(ne,_A):BA()}))}function xA(e,t){if(!wA&&yA){wA=!0;do{for(var n=!1,r=hA;null!==r;){if(!t)if(0!==e){var o=r.pendingLanes;if(0===o)var i=0;else{var a=r.suspendedLanes,s=r.pingedLanes;i=(1<<31-de(42|e)+1)-1,i=201326741&(i&=o&~(a&~s))?201326741&i|1:i?2|i:0}0!==i&&(n=!0,SA(r,i))}else i=oc,!(3&(i=ye(r,r===nc?i:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||we(r,i)||(n=!0,SA(r,i));r=r.next}}while(n);wA=!1}}function _A(){BA()}function BA(){yA=gA=!1;var e,t=0;0!==vA&&(((e=window.event)&&"popstate"===e.type?e!==au&&(au=e,!0):(au=null,!1))&&(t=vA),vA=0);for(var n=ee(),r=null,o=hA;null!==o;){var i=o.next,a=CA(o,n);0===a?(o.next=null,null===r?hA=i:r.next=i,null===i&&(mA=r)):(r=o,(0!==t||3&a)&&(yA=!0)),o=i}xA(t,!1)}function CA(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=-62914561&e.pendingLanes;0<i;){var a=31-de(i),s=1<<a,l=o[a];-1===l?0!==(s&n)&&0===(s&r)||(o[a]=ve(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}if(n=oc,n=ye(e,e===(t=nc)?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),r=e.callbackNode,0===n||e===t&&(2===ic||9===ic)||null!==e.cancelPendingCommit)return null!==r&&null!==r&&X(r),e.callbackNode=null,e.callbackPriority=0;if(!(3&n)||we(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&X(r),je(n)){case 2:case 8:n=re;break;case 32:default:n=oe;break;case 268435456:n=ae}return r=kA.bind(null,e),n=Y(n,r),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&X(r),e.callbackPriority=2,e.callbackNode=null,2}function kA(e,t){if(0!==Bc&&5!==Bc)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(aA()&&e.callbackNode!==n)return null;var r=oc;return 0===(r=ye(e,e===nc?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(Qc(e,r,t),CA(e,ee()),null!=e.callbackNode&&e.callbackNode===n?kA.bind(null,e):null)}function SA(e,t){if(aA())return null;Qc(e,t,!0)}function jA(){return 0===vA&&(vA=be()),vA}function EA(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:jt(""+e)}function FA(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}for(var NA=0;NA<vr.length;NA++){var UA=vr[NA];br(UA.toLowerCase(),"on"+(UA[0].toUpperCase()+UA.slice(1)))}br(dr,"onAnimationEnd"),br(pr,"onAnimationIteration"),br(fr,"onAnimationStart"),br("dblclick","onDoubleClick"),br("focusin","onFocus"),br("focusout","onBlur"),br(hr,"onTransitionRun"),br(mr,"onTransitionStart"),br(gr,"onTransitionCancel"),br(yr,"onTransitionEnd"),We("onMouseEnter",["mouseout","mouseover"]),We("onMouseLeave",["mouseout","mouseover"]),We("onPointerEnter",["pointerout","pointerover"]),We("onPointerLeave",["pointerout","pointerover"]),qe("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),qe("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),qe("onBeforeInput",["compositionend","keypress","textInput","paste"]),qe("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),qe("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),qe("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var LA="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),IA=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(LA));function PA(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;i=s,o.currentTarget=c;try{i(o)}catch(e){ms(e)}o.currentTarget=null,i=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,c=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;i=s,o.currentTarget=c;try{i(o)}catch(e){ms(e)}o.currentTarget=null,i=l}}}}function QA(e,t){var n=t[Ie];void 0===n&&(n=t[Ie]=new Set);var r=e+"__bubble";n.has(r)||(RA(t,e,2,!1),n.add(r))}function TA(e,t,n){var r=0;t&&(r|=4),RA(n,e,r,t)}var DA="_reactListening"+Math.random().toString(36).slice(2);function OA(e){if(!e[DA]){e[DA]=!0,$e.forEach(function(t){"selectionchange"!==t&&(IA.has(t)||TA(t,!1,e),TA(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[DA]||(t[DA]=!0,TA("selectionchange",!1,t))}}function RA(e,t,n,r){switch(ad(t)){case 2:var o=ed;break;case 8:o=td;break;default:o=nd}n=o.bind(null,t,n,e),o=void 0,!Dt||"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 MA(e,t,n,r,o){var i=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var l=r.stateNode.containerInfo;if(l===o)break;if(4===a)for(a=r.return;null!==a;){var c=a.tag;if((3===c||4===c)&&a.stateNode.containerInfo===o)return;a=a.return}for(;null!==l;){if(null===(a=Re(l)))return;if(5===(c=a.tag)||6===c||26===c||27===c){r=i=a;continue e}l=l.parentNode}}r=r.return}Pt(function(){var r=i,o=Ft(n),a=[];e:{var l=wr.get(e);if(void 0!==l){var c=Jt,A=e;switch(e){case"keypress":if(0===Kt(n))break e;case"keydown":case"keyup":c=fn;break;case"focusin":A="focus",c=on;break;case"focusout":A="blur",c=on;break;case"beforeblur":case"afterblur":c=on;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":c=nn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":c=rn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=mn;break;case dr:case pr:case fr:c=an;break;case yr:c=gn;break;case"scroll":case"scrollend":c=en;break;case"wheel":c=yn;break;case"copy":case"cut":case"paste":c=sn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":c=hn;break;case"toggle":case"beforetoggle":c=wn}var u=!!(4&t),d=!u&&("scroll"===e||"scrollend"===e),p=u?null!==l?l+"Capture":null:l;u=[];for(var f,h=r;null!==h;){var m=h;if(f=m.stateNode,5!==(m=m.tag)&&26!==m&&27!==m||null===f||null===p||null!=(m=Qt(h,p))&&u.push(HA(h,m,f)),d)break;h=h.return}0<u.length&&(l=new c(l,A,null,n,o),a.push({event:l,listeners:u}))}}if(!(7&t)){if(c="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===Et||!(A=n.relatedTarget||n.fromElement)||!Re(A)&&!A[Le])&&(c||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,c?(c=r,null!==(A=(A=n.relatedTarget||n.toElement)?Re(A):null)&&(d=s(A),u=A.tag,A!==d||5!==u&&27!==u&&6!==u)&&(A=null)):(c=null,A=r),c!==A)){
vendor: 2,351 bytes, line 2
2if(u=nn,m="onMouseLeave",p="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(u=hn,m="onPointerLeave",p="onPointerEnter",h="pointer"),d=null==c?l:He(c),f=null==A?l:He(A),(l=new u(m,h+"leave",c,n,o)).target=d,l.relatedTarget=f,m=null,Re(o)===r&&((u=new u(p,h+"enter",A,n,o)).target=f,u.relatedTarget=d,m=u),d=m,c&&A)e:{for(p=A,h=0,f=u=c;f;f=KA(f))h++;for(f=0,m=p;m;m=KA(m))f++;for(;0<h-f;)u=KA(u),h--;for(;0<f-h;)p=KA(p),f--;for(;h--;){if(u===p||null!==p&&u===p.alternate)break e;u=KA(u),p=KA(p)}u=null}else u=null;null!==c&&$A(a,l,c,u,!1),null!==A&&null!==d&&$A(a,d,A,u,!0)}if("select"===(c=(l=r?He(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===c&&"file"===l.type)var g=Tn;else if(Nn(l))if(Dn)g=qn;else{g=$n;var y=Kn}else!(c=l.nodeName)||"input"!==c.toLowerCase()||"checkbox"!==l.type&&"radio"!==l.type?r&&Ct(r.elementType)&&(g=Tn):g=Vn;switch(g&&(g=g(e,r))?Un(a,g,n,o):(y&&y(e,l,r),"focusout"===e&&r&&"number"===l.type&&null!=r.memoizedProps.value&&gt(l,"number",l.value)),y=r?He(r):window,e){case"focusin":(Nn(y)||"true"===y.contentEditable)&&(nr=y,rr=r,or=null);break;case"focusout":or=rr=nr=null;break;case"mousedown":ir=!0;break;case"contextmenu":case"mouseup":case"dragend":ir=!1,ar(a,n,o);break;case"selectionchange":if(tr)break;case"keydown":case"keyup":ar(a,n,o)}var w;if(bn)e:{switch(e){case"compositionstart":var v="onCompositionStart";break e;case"compositionend":v="onCompositionEnd";break e;case"compositionupdate":v="onCompositionUpdate";break e}v=void 0}else En?Sn(e,n)&&(v="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(v="onCompositionStart");v&&(Bn&&"ko"!==n.locale&&(En||"onCompositionStart"!==v?"onCompositionEnd"===v&&En&&(w=zt()):(Mt="value"in(Rt=o)?Rt.value:Rt.textContent,En=!0)),0<(y=zA(r,v)).length&&(v=new ln(v,e,null,n,o),a.push({event:v,listeners:y}),(w||null!==(w=jn(n)))&&(v.data=w))),(w=_n?function(e,t){switch(e){case"compositionend":return jn(t);case"keypress":return 32!==t.which?null:(kn=!0,Cn);case"textInput":return(e=t.data)===Cn&&kn?null:e;default:return null}}(e,n):function(e,t){if(En)return"compositionend"===e||!bn&&Sn(e,t)?(e=zt(),Ht=Mt=Rt=null,En=!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;
vendor: 4,469 bytes, line 2
2case"compositionend":return Bn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(v=zA(r,"onBeforeInput")).length&&(y=new ln("onBeforeInput","beforeinput",null,n,o),a.push({event:y,listeners:v}),y.data=w),function(e,t,n,r,o){if("submit"===t&&n&&n.stateNode===o){var i=EA((o[Ue]||null).action),a=r.submitter;a&&null!==(t=(t=a[Ue]||null)?EA(t.formAction):a.getAttribute("formAction"))&&(i=t,a=null);var s=new Jt("action","action",null,r,o);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(0!==vA){var e=a?FA(o,a):new FormData(o);Fa(n,{pending:!0,data:e,method:o.method,action:i},null,e)}}else"function"==typeof i&&(s.preventDefault(),e=a?FA(o,a):new FormData(o),Fa(n,{pending:!0,data:e,method:o.method,action:i},i,e))},currentTarget:o}]})}}(a,e,r,n,o)}PA(a,t)})}function HA(e,t,n){return{instance:e,listener:t,currentTarget:n}}function zA(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;if(5!==(o=o.tag)&&26!==o&&27!==o||null===i||(null!=(o=Qt(e,n))&&r.unshift(HA(e,o,i)),null!=(o=Qt(e,t))&&r.push(HA(e,o,i))),3===e.tag)return r;e=e.return}return[]}function KA(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag&&27!==e.tag);return e||null}function $A(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(s=s.tag,null!==l&&l===r)break;5!==s&&26!==s&&27!==s||null===c||(l=c,o?null!=(c=Qt(n,i))&&a.unshift(HA(n,c,l)):o||null!=(c=Qt(n,i))&&a.push(HA(n,c,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var VA=/\r\n?/g,qA=/\u0000|\uFFFD/g;function WA(e){return("string"==typeof e?e:""+e).replace(VA,"\n").replace(qA,"")}function GA(e,t){return t=WA(t),WA(e)===t}function YA(){}function XA(e,t,n,r,o,i){switch(n){case"children":"string"==typeof r?"body"===t||"textarea"===t&&""===r||bt(e,r):("number"==typeof r||"bigint"==typeof r)&&"body"!==t&&bt(e,""+r);break;case"className":tt(e,"class",r);break;case"tabIndex":tt(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":tt(e,n,r);break;case"style":Bt(e,r,i);break;case"data":if("object"!==t){tt(e,"data",r);break}case"src":case"href":if(""===r&&("a"!==t||"href"!==n)){e.removeAttribute(n);break}if(null==r||"function"==typeof r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=jt(""+r),e.setAttribute(n,r);break;case"action":case"formAction":if("function"==typeof r){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof i&&("formAction"===n?("input"!==t&&XA(e,t,"name",o.name,o,null),XA(e,t,"formEncType",o.formEncType,o,null),XA(e,t,"formMethod",o.formMethod,o,null),XA(e,t,"formTarget",o.formTarget,o,null)):(XA(e,t,"encType",o.encType,o,null),XA(e,t,"method",o.method,o,null),XA(e,t,"target",o.target,o,null))),null==r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=jt(""+r),e.setAttribute(n,r);break;case"onClick":null!=r&&(e.onclick=YA);break;case"onScroll":null!=r&&QA("scroll",e);break;case"onScrollEnd":null!=r&&QA("scrollend",e);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(a(61));if(null!=(n=r.__html)){if(null!=o.children)throw Error(a(60));e.innerHTML=n}}break;case"multiple":e.multiple=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"muted":e.muted=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==r||"function"==typeof r||"boolean"==typeof r||"symbol"==typeof r){e.removeAttribute("xlink:href");break}n=jt(""+r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""+r):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
2ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===r?e.setAttribute(n,""):!1!==r&&null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=r&&"function"!=typeof r&&"symbol"!=typeof r&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case"rowSpan":case"start":null==r||"function"==typeof r||"symbol"==typeof r||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case"popover":QA("beforetoggle",e),QA("toggle",e),et(e,"popover",r);break;case"xlinkActuate":nt(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":nt(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":nt(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":nt(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":nt(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":nt(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":nt(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":nt(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":nt(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":et(e,"is",r);break;case"innerText":case"textContent":break;default:(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])&&et(e,n=kt.get(n)||n,r)}}function JA(e,t,n,r,o,i){switch(n){case"style":Bt(e,r,i);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(a(61));if(null!=(n=r.__html)){if(null!=o.children)throw Error(a(60));e.innerHTML=n}}break;case"children":"string"==typeof r?bt(e,r):("number"==typeof r||"bigint"==typeof r)&&bt(e,""+r);break;case"onScroll":null!=r&&QA("scroll",e);break;case"onScrollEnd":null!=r&&QA("scrollend",e);break;case"onClick":null!=r&&(e.onclick=YA);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:Ve.hasOwnProperty(n)||("o"!==n[0]||"n"!==n[1]||(o=n.endsWith("Capture"),t=n.slice(2,o?n.length-7:void 0),"function"==typeof(i=null!=(i=e[Ue]||null)?i[n]:null)&&e.removeEventListener(t,i,o),"function"!=typeof r)?n in e?e[n]=r:!0===r?e.setAttribute(n,""):et(e,n,r):("function"!=typeof i&&null!==i&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,o)))}}function ZA(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":QA("error",e),QA("load",e);var r,o=!1,i=!1;for(r in n)if(n.hasOwnProperty(r)){var s=n[r];if(null!=s)switch(r){case"src":o=!0;break;case"srcSet":i=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a(137,t));default:XA(e,t,r,s,n,null)}}return i&&XA(e,t,"srcSet",n.srcSet,n,null),void(o&&XA(e,t,"src",n.src,n,null));case"input":QA("invalid",e);var l=r=s=i=null,c=null,A=null;for(o in n)if(n.hasOwnProperty(o)){var u=n[o];if(null!=u)switch(o){case"name":i=u;break;case"type":s=u;break;case"checked":c=u;break;case"defaultChecked":A=u;break;case"value":r=u;break;case"defaultValue":l=u;break;case"children":case"dangerouslySetInnerHTML":if(null!=u)throw Error(a(137,t));break;default:XA(e,t,o,u,n,null)}}return mt(e,r,l,c,A,s,i,!1),void At(e);case"select":for(i in QA("invalid",e),o=s=r=null,n)if(n.hasOwnProperty(i)&&null!=(l=n[i]))switch(i){case"value":r=l;break;case"defaultValue":s=l;break;case"multiple":o=l;default:XA(e,t,i,l,n,null)}return t=r,n=s,e.multiple=!!o,void(null!=t?yt(e,!!o,t,!1):null!=n&&yt(e,!!o,n,!0));case"textarea":for(s in QA("invalid",e),r=i=o=null,n)if(n.hasOwnProperty(s)&&null!=(l=n[s]))switch(s){case"value":o=l;break;case"defaultValue":i=l;break;case"children":r=l;break;case"dangerouslySetInnerHTML":if(null!=l)throw Error(a(91));break;default:XA(e,t,s,l,n,null)}return vt(e,o,i,r),void At(e);case"option":for(c in n)n.hasOwnProperty(c)&&null!=(o=n[c])&&("selected"===c?e.selected=o&&"function"!=typeof o&&"symbol"!=typeof o:XA(e,t,c,o,n,null));return;case"dialog":QA("beforetoggle",e),QA("toggle",e),QA("cancel",e),QA("close",e);break;case"iframe":case"object":QA("load",e);break;case"video":case"audio":for(o=0;o<LA.length;o++)QA(LA[o],e);break;case"image":QA("error",e),QA("load",e);break;case"details":QA("toggle",e);break;case"embed":case"source":case"link":QA("error",e),QA("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(A in n)if(n.hasOwnProperty(A)&&null!=(o=n[A]))switch(A){case"children":case"dangerouslySetInnerHTML":throw Error(a(137,t));default:XA(e,t,A,o,n,null)}return;default:if(Ct(t)){for(u in n)n.hasOwnProperty(u)&&void 0!==(o=n[u])&&JA(e,t,u,o,n,void 0);return}}for(l in n)n.hasOwnProperty(l)&&null!=(o=n[l])&&XA(e,t,l,o,n,null)}var eu=null,tu=null;
vendor: 10,215 bytes, line 2
2function nu(e){return 9===e.nodeType?e:e.ownerDocument}function ru(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function ou(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function iu(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var au=null,su="function"==typeof setTimeout?setTimeout:void 0,lu="function"==typeof clearTimeout?clearTimeout:void 0,cu="function"==typeof Promise?Promise:void 0,Au="function"==typeof queueMicrotask?queueMicrotask:void 0!==cu?function(e){return cu.resolve(null).then(e).catch(uu)}:su;function uu(e){setTimeout(function(){throw e})}function du(e){return"head"===e}function pu(e,t){var n=t,r=0,o=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)){if(0<r&&8>r){n=r;var a=e.ownerDocument;if(1&n&&vu(a.documentElement),2&n&&vu(a.body),4&n)for(vu(n=a.head),a=n.firstChild;a;){var s=a.nextSibling,l=a.nodeName;a[De]||"SCRIPT"===l||"STYLE"===l||"LINK"===l&&"stylesheet"===a.rel.toLowerCase()||n.removeChild(a),a=s}}if(0===o)return e.removeChild(i),void Bd(t);o--}else"$"===n||"$?"===n||"$!"===n?o++:r=n.charCodeAt(0)-48;else r=0;n=i}while(n);Bd(t)}function fu(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":fu(n),Oe(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function hu(e){return"$!"===e.data||"$?"===e.data&&"complete"===e.ownerDocument.readyState}function mu(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"F!"===t||"F"===t)break;if("/$"===t)return null}}return e}var gu=null;function yu(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}function wu(e,t,n){switch(t=nu(n),e){case"html":if(!(e=t.documentElement))throw Error(a(452));return e;case"head":if(!(e=t.head))throw Error(a(453));return e;case"body":if(!(e=t.body))throw Error(a(454));return e;default:throw Error(a(451))}}function vu(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Oe(e)}var bu=new Map,xu=new Set;function _u(e){return"function"==typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}var Bu=I.d;I.d={f:function(){var e=Bu.f(),t=Rc();return e||t},r:function(e){var t=Me(e);null!==t&&5===t.tag&&"form"===t.type?Ua(t):Bu.r(e)},D:function(e){Bu.D(e),ku("dns-prefetch",e,null)},C:function(e,t){Bu.C(e,t),ku("preconnect",e,t)},L:function(e,t,n){Bu.L(e,t,n);var r=Cu;if(r&&e&&t){var o='link[rel="preload"][as="'+ft(t)+'"]';"image"===t&&n&&n.imageSrcSet?(o+='[imagesrcset="'+ft(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(o+='[imagesizes="'+ft(n.imageSizes)+'"]')):o+='[href="'+ft(e)+'"]';var i=o;switch(t){case"style":i=ju(e);break;case"script":i=Nu(e)}bu.has(i)||(e=u({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),bu.set(i,e),null!==r.querySelector(o)||"style"===t&&r.querySelector(Eu(i))||"script"===t&&r.querySelector(Uu(i))||(ZA(t=r.createElement("link"),"link",e),Ke(t),r.head.appendChild(t)))}},m:function(e,t){Bu.m(e,t);var n=Cu;if(n&&e){var r=t&&"string"==typeof t.as?t.as:"script",o='link[rel="modulepreload"][as="'+ft(r)+'"][href="'+ft(e)+'"]',i=o;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=Nu(e)}if(!bu.has(i)&&(e=u({rel:"modulepreload",href:e},t),bu.set(i,e),null===n.querySelector(o))){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Uu(i)))return}ZA(r=n.createElement("link"),"link",e),Ke(r),n.head.appendChild(r)}}},X:function(e,t){Bu.X(e,t);var n=Cu;if(n&&e){var r=ze(n).hoistableScripts,o=Nu(e),i=r.get(o);i||((i=n.querySelector(Uu(o)))||(e=u({src:e,async:!0},t),(t=bu.get(o))&&Qu(e,t),Ke(i=n.createElement("script")),ZA(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},r.set(o,i))}},S:function(e,t,n){Bu.S(e,t,n);var r=Cu;if(r&&e){var o=ze(r).hoistableStyles,i=ju(e);t=t||"default";var a=o.get(i);if(!a){var s={loading:0,preload:null};if(a=r.querySelector(Eu(i)))s.loading=5;else{e=u({rel:"stylesheet",href:e,"data-precedence":t},n),(n=bu.get(i))&&Pu(e,n);var l=a=r.createElement("link");Ke(l),ZA(l,"link",e),l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),l.addEventListener("load",function(){s.loading|=1}),l.addEventListener("error",function(){s.loading|=2}),s.loading|=4,Iu(a,t,r)}a={type:"stylesheet",instance:a,count:1,state:s},o.set(i,a)}}},M:function(e,t){Bu.M(e,t);var n=Cu;if(n&&e){var r=ze(n).hoistableScripts,o=Nu(e),i=r.get(o);i||((i=n.querySelector(Uu(o)))||(e=u({src:e,async:!0,type:"module"},t),(t=bu.get(o))&&Qu(e,t),Ke(i=n.createElement("script")),ZA(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},r.set(o,i))}}};var Cu="undefined"==typeof document?null:document;function ku(e,t,n){var r=Cu;if(r&&"string"==typeof t&&t){var o=ft(t);o='link[rel="'+e+'"][href="'+o+'"]',"string"==typeof n&&(o+='[crossorigin="'+n+'"]'),xu.has(o)||(xu.add(o),e={rel:e,crossOrigin:n,href:t},null===r.querySelector(o)&&(ZA(t=r.createElement("link"),"link",e),Ke(t),r.head.appendChild(t)))}}function Su(e,t,n,r){var o,i,s,l,c=(c=z.current)?_u(c):null;if(!c)throw Error(a(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(t=ju(n.href),(r=(n=ze(c).hoistableStyles).get(t))||(r={type:"style",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=ju(n.href);var A=ze(c).hoistableStyles,u=A.get(e);if(u||(c=c.ownerDocument||c,u={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},A.set(e,u),(A=c.querySelector(Eu(e)))&&!A._p&&(u.instance=A,u.state.loading=5),bu.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},bu.set(e,n),A||(o=c,i=e,s=n,l=u.state,o.querySelector('link[rel="preload"][as="style"]['+i+"]")?l.loading=1:(i=o.createElement("link"),l.preload=i,i.addEventListener("load",function(){return l.loading|=1}),i.addEventListener("error",function(){return l.loading|=2}),ZA(i,"link",s),Ke(i),o.head.appendChild(i))))),t&&null===r)throw Error(a(528,""));return u}if(t&&null!==r)throw Error(a(529,""));return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(t=Nu(n),(r=(n=ze(c).hoistableScripts).get(t))||(r={type:"script",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(a(444,e))}}function ju(e){return'href="'+ft(e)+'"'}function Eu(e){return'link[rel="stylesheet"]['+e+"]"}function Fu(e){return u({},e,{"data-precedence":e.precedence,precedence:null})}function Nu(e){return'[src="'+ft(e)+'"]'}function Uu(e){return"script[async]"+e}function Lu(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+ft(n.href)+'"]');if(r)return t.instance=r,Ke(r),r;var o=u({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return Ke(r=(e.ownerDocument||e).createElement("style")),ZA(r,"style",o),Iu(r,n.precedence,e),t.instance=r;case"stylesheet":o=ju(n.href);var i=e.querySelector(Eu(o));if(i)return t.state.loading|=4,t.instance=i,Ke(i),i;r=Fu(n),(o=bu.get(o))&&Pu(r,o),Ke(i=(e.ownerDocument||e).createElement("link"));var s=i;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),ZA(i,"link",r),t.state.loading|=4,Iu(i,n.precedence,e),t.instance=i;case"script":return i=Nu(n.src),(o=e.querySelector(Uu(i)))?(t.instance=o,Ke(o),o):(r=n,(o=bu.get(i))&&Qu(r=u({},n),o),Ke(o=(e=e.ownerDocument||e).createElement("script")),ZA(o,"link",r),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error(a(443,t.type))}else"stylesheet"===t.type&&!(4&t.state.loading)&&(r=t.instance,t.state.loading|=4,Iu(r,n.precedence,e));return t.instance}function Iu(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=r.length?r[r.length-1]:null,i=o,a=0;a<r.length;a++){var s=r[a];if(s.dataset.precedence===t)i=s;else if(i!==o)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function Pu(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function Qu(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var Tu=null;function Du(e,t,n){if(null===Tu){var r=new Map,o=Tu=new Map;o.set(n,r)}else(r=(o=Tu).get(n))||(r=new Map,o.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),o=0;o<n.length;o++){var i=n[o];if(!(i[De]||i[Ne]||"link"===e&&"stylesheet"===i.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==i.namespaceURI){var a=i.getAttribute(t)||"";a=e+a;var s=r.get(a);s?s.push(i):r.set(a,[i])}}return r}function Ou(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function Ru(e){return!!("stylesheet"!==e.type||3&e.state.loading)}var Mu=null;function Hu(){}function zu(){if(this.count--,0===this.count)if(this.stylesheets)$u(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}var Ku=null;function $u(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,Ku=new Map,t.forEach(Vu,e),Ku=null,zu.call(e))}function Vu(e,t){if(!(4&t.state.loading)){var n=Ku.get(e);
vendor: 5,509 bytes, line 2
2if(n)var r=n.get(null);else{n=new Map,Ku.set(e,n);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<o.length;i++){var a=o[i];"LINK"!==a.nodeName&&"not all"===a.getAttribute("media")||(n.set(a.dataset.precedence,a),r=a)}r&&n.set(null,r)}a=(o=t.instance).getAttribute("data-precedence"),(i=n.get(a)||r)===r&&n.set(null,o),n.set(a,o),this.count++,r=zu.bind(this),o.addEventListener("load",r),o.addEventListener("error",r),i?i.parentNode.insertBefore(o,i.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(o,e.firstChild),t.state.loading|=4}}var qu={$$typeof:v,Provider:null,Consumer:null,_currentValue:P,_currentValue2:P,_threadCount:0};function Wu(e,t,n,r,o,i,a,s){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=_e(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=_e(0),this.hiddenUpdates=_e(null),this.identifierPrefix=r,this.onUncaughtError=o,this.onCaughtError=i,this.onRecoverableError=a,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map}function Gu(e,t,n,r,o,i){o=function(e){return e?e=Lr:Lr}(o),null===r.context?r.context=o:r.pendingContext=o,(r=oi(t)).payload={element:n},null!==(i=void 0===i?null:i)&&(r.callback=i),null!==(n=ii(e,r,t))&&(Pc(n,0,t),ai(n,e,t))}function Yu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Xu(e,t){Yu(e,t),(e=e.alternate)&&Yu(e,t)}function Ju(e){if(13===e.tag){var t=Fr(e,67108864);null!==t&&Pc(t,0,67108864),Xu(e,67108864)}}var Zu=!0;function ed(e,t,n,r){var o=L.T;L.T=null;var i=I.p;try{I.p=2,nd(e,t,n,r)}finally{I.p=i,L.T=o}}function td(e,t,n,r){var o=L.T;L.T=null;var i=I.p;try{I.p=8,nd(e,t,n,r)}finally{I.p=i,L.T=o}}function nd(e,t,n,r){if(Zu){var o=rd(r);if(null===o)MA(e,t,r,od,n),hd(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return ld=md(ld,e,t,n,r,o),!0;case"dragenter":return cd=md(cd,e,t,n,r,o),!0;case"mouseover":return Ad=md(Ad,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return ud.set(i,md(ud.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,dd.set(i,md(dd.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(hd(e,r),4&t&&-1<fd.indexOf(e)){for(;null!==o;){var i=Me(o);if(null!==i)switch(i.tag){case 3:if((i=i.stateNode).current.memoizedState.isDehydrated){var a=ge(i.pendingLanes);if(0!==a){var s=i;for(s.pendingLanes|=2,s.entangledLanes|=2;a;){var l=1<<31-de(a);s.entanglements[1]|=l,a&=~l}bA(i),!(6&tc)&&(bc=ee()+500,xA(0,!1))}}break;case 13:null!==(s=Fr(i,2))&&Pc(s,0,2),Rc(),Xu(i,2)}if(null===(i=rd(r))&&MA(e,t,r,od,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else MA(e,t,r,null,n)}}function rd(e){return id(e=Ft(e))}var od=null;function id(e){if(od=null,null!==(e=Re(e))){var t=s(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=l(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return od=e,null}function ad(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(te()){case ne:return 2;case re:return 8;case oe:case ie:return 32;case ae:return 268435456;default:return 32}default:return 32}}var sd=!1,ld=null,cd=null,Ad=null,ud=new Map,dd=new Map,pd=[],fd="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".split(" ");function hd(e,t){switch(e){case"focusin":case"focusout":ld=null;break;case"dragenter":case"dragleave":cd=null;break;case"mouseover":case"mouseout":Ad=null;break;case"pointerover":case"pointerout":ud.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":dd.delete(t.pointerId)}}function md(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&null!==(t=Me(t))&&Ju(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.pu
vendor: 5,074 bytes, line 2
2sh(o),e)}function gd(e){var t=Re(e.target);if(null!==t){var n=s(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=l(n)))return e.blockedOn=t,void function(e){var t=I.p;try{return I.p=e,function(){if(13===n.tag){var e=Lc();e=Se(e);var t=Fr(n,e);null!==t&&Pc(t,0,e),Xu(n,e)}}()}finally{I.p=t}}(e.priority)}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function yd(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=rd(e.nativeEvent);if(null!==n)return null!==(t=Me(n))&&Ju(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);Et=r,n.target.dispatchEvent(r),Et=null,t.shift()}return!0}function wd(e,t,n){yd(e)&&n.delete(t)}function vd(){sd=!1,null!==ld&&yd(ld)&&(ld=null),null!==cd&&yd(cd)&&(cd=null),null!==Ad&&yd(Ad)&&(Ad=null),ud.forEach(wd),dd.forEach(wd)}function bd(e,t){e.blockedOn===t&&(e.blockedOn=null,sd||(sd=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,vd)))}var xd=null;function _d(e){xd!==e&&(xd=e,r.unstable_scheduleCallback(r.unstable_NormalPriority,function(){xd===e&&(xd=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],o=e[t+2];if("function"!=typeof r){if(null===id(r||n))continue;break}var i=Me(n);null!==i&&(e.splice(t,3),t-=3,Fa(i,{pending:!0,data:o,method:n.method,action:r},r,o))}}))}function Bd(e){function t(t){return bd(t,e)}null!==ld&&bd(ld,e),null!==cd&&bd(cd,e),null!==Ad&&bd(Ad,e),ud.forEach(t),dd.forEach(t);for(var n=0;n<pd.length;n++){var r=pd[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<pd.length&&null===(n=pd[0]).blockedOn;)gd(n),null===n.blockedOn&&pd.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var o=n[r],i=n[r+1],a=o[Ue]||null;if("function"==typeof i)a||_d(n);else if(a){var s=null;if(i&&i.hasAttribute("formAction")){if(o=i,a=i[Ue]||null)s=a.formAction;else if(null!==id(o))continue}else s=a.action;"function"==typeof s?n[r+1]=s:(n.splice(r,3),r-=3),_d(n)}}}function Cd(e){this._internalRoot=e}function kd(e){this._internalRoot=e}kd.prototype.render=Cd.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(a(409));Gu(t.current,Lc(),e,t,null,null)},kd.prototype.unmount=Cd.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;Gu(e.current,2,null,e,null,null),Rc(),t[Le]=null}},kd.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ee();e={blockedOn:null,target:e,priority:t};for(var n=0;n<pd.length&&0!==t&&t<pd[n].priority;n++);pd.splice(n,0,e),0===n&&gd(e)}};var Sd=o.version;if("19.1.1"!==Sd)throw Error(a(527,Sd,"19.1.1"));I.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw e=Object.keys(e).join(","),Error(a(268,e))}return e=function(e){var t=e.alternate;if(!t){if(null===(t=s(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return c(o),e;if(i===r)return c(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var l=!1,A=o.child;A;){if(A===n){l=!0,n=o,r=i;break}if(A===r){l=!0,r=o,n=i;break}A=A.sibling}if(!l){for(A=i.child;A;){if(A===n){l=!0,n=i,r=o;break}if(A===r){l=!0,r=i,n=o;break}A=A.sibling}if(!l)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(t),null===(e=null!==e?A(e):null)?null:e.stateNode};var jd={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:L,reconcilerVersion:"19.1.1"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Ed=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ed.isDisabled&&Ed.supportsFiber)try{ce=Ed.inject(jd),Ae=Ed}catch(e){}}t.createRoot=function(e,t){if(!(n=e)||1!==n.nodeType&&9!==n.nodeType&&11!==n.nodeType)throw Error(a(299));var n,r=!1,o="",i=gs,s=ys,l=ws;return null!=t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(o=t.identifierPrefix),void 0!==t.onUncaughtError&&(i=t.onUncaughtError),void 0!==t.onCaughtError&&(s=t.onCaughtError),void 0!==t.onRecoverableError&&(l=t.onRecoverableError),void 0!==t.unstable_transitionCallbacks&&t.unstable_transitionCallbacks),t=function(e,t,n,r,o,i,a,s,l,c,A,u){return e=new Wu(e,t,n,a,s,l,c,u),t=1,!0===i&&(t|=24),i=Pr(3,null,null,t),e.current=i,i.stateNode=e,(t=Lo()).refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:r,isDehydrated:n,cache:t},ni(i),e}(e,1,!1,null,0,r,o,i,s,l,0,null),e[Le]=t.current,OA(e),new Cd(t)}},1601:e=>{"use strict";e.exports=function(e){return e[1]}},1930:(e,t,n)=>{"use strict";e.exports=n.p+"94ac73c7574ade265bab.woff2"},2284:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})},3072:(e,t)=>
vendor: 2,252 bytes, line 2
2{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,A=n?Symbol.for("react.async_mode"):60111,u=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,f=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,w=n?Symbol.for("react.responder"):60118,v=n?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case A:case u:case i:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case d:case m:case h:case l:return e;default:return t}}case o:return t}}}function x(e){return b(e)===u}t.AsyncMode=A,t.ConcurrentMode=u,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=d,t.Fragment=i,t.Lazy=m,t.Memo=h,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return x(e)||b(e)===A},t.isConcurrentMode=x,t.isContextConsumer=function(e){return b(e)===c},t.isContextProvider=function(e){return b(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return b(e)===d},t.isFragment=function(e){return b(e)===i},t.isLazy=function(e){return b(e)===m},t.isMemo=function(e){return b(e)===h},t.isPortal=function(e){return b(e)===o},t.isProfiler=function(e){return b(e)===s},t.isStrictMode=function(e){return b(e)===a},t.isSuspense=function(e){return b(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===u||e===s||e===a||e===p||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===l||e.$$typeof===c||e.$$typeof===d||e.$$typeof===y||e.$$typeof===w||e.$$typeof===v||e.$$typeof===g)},t.typeOf=b},3404:(e,t,n)=>{"use strict";e.exports=n(3072)},3833:(e,t,n)=>{var r;self,r=function(e,t){return function(){"use strict";var r={
vendor: 273 bytes, line 2
2"./node_modules/core-js/internals/a-callable.js":function(e,t,n){var r=n("./node_modules/core-js/internals/is-callable.js"),o=n("./node_modules/core-js/internals/try-to-string.js"),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},
vendor: 282 bytes, line 2
2"./node_modules/core-js/internals/a-constructor.js":function(e,t,n){var r=n("./node_modules/core-js/internals/is-constructor.js"),o=n("./node_modules/core-js/internals/try-to-string.js"),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a constructor")}},
vendor: 255 bytes, line 2
2"./node_modules/core-js/internals/a-possible-prototype.js":function(e,t,n){var r=n("./node_modules/core-js/internals/is-possible-prototype.js"),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},
vendor: 161 bytes, line 2
2"./node_modules/core-js/internals/a-set.js":function(e,t,n){var r=n("./node_modules/core-js/internals/set-helpers.js").has;e.exports=function(e){return r(e),e}},
vendor: 389 bytes, line 2
2"./node_modules/core-js/internals/add-to-unscopables.js":function(e,t,n){var r=n("./node_modules/core-js/internals/well-known-symbol.js"),o=n("./node_modules/core-js/internals/object-create.js"),i=n("./node_modules/core-js/internals/object-define-property.js").f,a=r("unscopables"),s=Array.prototype;void 0===s[a]&&i(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},
vendor: 229 bytes, line 2
2"./node_modules/core-js/internals/an-instance.js":function(e,t,n){var r=n("./node_modules/core-js/internals/object-is-prototype-of.js"),o=TypeError;e.exports=function(e,t){if(r(t,e))return e;throw new o("Incorrect invocation")}},
vendor: 221 bytes, line 2
2"./node_modules/core-js/internals/an-object.js":function(e,t,n){var r=n("./node_modules/core-js/internals/is-object.js"),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},
vendor: 285 bytes, line 2
2"./node_modules/core-js/internals/array-buffer-non-extensible.js":function(e,t,n){var r=n("./node_modules/core-js/internals/fails.js");e.exports=r(function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})},
vendor: 310 bytes, line 2
2"./node_modules/core-js/internals/array-for-each.js":function(e,t,n){var r=n("./node_modules/core-js/internals/array-iteration.js").forEach,o=n("./node_modules/core-js/internals/array-method-is-strict.js")("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},
vendor: 1,079 bytes, line 2
2"./node_modules/core-js/internals/array-from.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-bind-context.js"),o=n("./node_modules/core-js/internals/function-call.js"),i=n("./node_modules/core-js/internals/to-object.js"),a=n("./node_modules/core-js/internals/call-with-safe-iteration-closing.js"),s=n("./node_modules/core-js/internals/is-array-iterator-method.js"),l=n("./node_modules/core-js/internals/is-constructor.js"),c=n("./node_modules/core-js/internals/length-of-array-like.js"),A=n("./node_modules/core-js/internals/create-property.js"),u=n("./node_modules/core-js/internals/get-iterator.js"),d=n("./node_modules/core-js/internals/get-iterator-method.js"),p=Array;e.exports=function(e){var t=i(e),n=l(this),f=arguments.length,h=f>1?arguments[1]:void 0,m=void 0!==h;m&&(h=r(h,f>2?arguments[2]:void 0));var g,y,w,v,b,x,_=d(t),B=0;if(!_||this===p&&s(_))for(g=c(t),y=n?new this(g):p(g);g>B;B++)x=m?h(t[B],B):t[B],A(y,B,x);else for(y=n?new this:[],b=(v=u(t,_)).next;!(w=o(b,v)).done;B++)x=m?a(v,h,[w.value,B],!0):w.value,A(y,B,x);return y.length=B,y}},
vendor: 514 bytes, line 2
2"./node_modules/core-js/internals/array-includes.js":function(e,t,n){var r=n("./node_modules/core-js/internals/to-indexed-object.js"),o=n("./node_modules/core-js/internals/to-absolute-index.js"),i=n("./node_modules/core-js/internals/length-of-array-like.js"),a=function(e){return function(t,n,a){var s=r(t),l=i(s);if(0===l)return!e&&-1;var c,A=o(a,l);if(e&&n!=n){for(;l>A;)if((c=s[A++])!=c)return!0}else for(;l>A;A++)if((e||A in s)&&s[A]===n)return e||A||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},
vendor: 958 bytes, line 2
2"./node_modules/core-js/internals/array-iteration.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-bind-context.js"),o=n("./node_modules/core-js/internals/function-uncurry-this.js"),i=n("./node_modules/core-js/internals/indexed-object.js"),a=n("./node_modules/core-js/internals/to-object.js"),s=n("./node_modules/core-js/internals/length-of-array-like.js"),l=n("./node_modules/core-js/internals/array-species-create.js"),c=o([].push),A=function(e){var t=1===e,n=2===e,o=3===e,A=4===e,u=6===e,d=7===e,p=5===e||u;return function(f,h,m,g){for(var y,w,v=a(f),b=i(v),x=s(b),_=r(h,m),B=0,C=g||l,k=t?C(f,x):n||d?C(f,0):void 0;x>B;B++)if((p||B in b)&&(w=_(y=b[B],B,v),e))if(t)k[B]=w;else if(w)switch(e){case 3:return!0;case 5:return y;case 6:return B;case 2:c(k,y)}else switch(e){case 4:return!1;case 7:c(k,y)}return u?-1:o||A?A:k}};e.exports={forEach:A(0),map:A(1),filter:A(2),some:A(3),every:A(4),find:A(5),findIndex:A(6),filterReject:A(7)}},
vendor: 421 bytes, line 2
2"./node_modules/core-js/internals/array-method-has-species-support.js":function(e,t,n){var r=n("./node_modules/core-js/internals/fails.js"),o=n("./node_modules/core-js/internals/well-known-symbol.js"),i=n("./node_modules/core-js/internals/environment-v8-version.js"),a=o("species");e.exports=function(e){return i>=51||!r(function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo})}},
vendor: 233 bytes, line 2
2"./node_modules/core-js/internals/array-method-is-strict.js":function(e,t,n){var r=n("./node_modules/core-js/internals/fails.js");e.exports=function(e,t){var n=[][e];return!!n&&r(function(){n.call(null,t||function(){return 1},1)})}},
vendor: 158 bytes, line 2
2"./node_modules/core-js/internals/array-slice.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-uncurry-this.js");e.exports=r([].slice)},
vendor: 470 bytes, line 2
2"./node_modules/core-js/internals/array-species-constructor.js":function(e,t,n){var r=n("./node_modules/core-js/internals/is-array.js"),o=n("./node_modules/core-js/internals/is-constructor.js"),i=n("./node_modules/core-js/internals/is-object.js"),a=n("./node_modules/core-js/internals/well-known-symbol.js")("species"),s=Array;e.exports=function(e){var t;return r(e)&&(t=e.constructor,(o(t)&&(t===s||r(t.prototype))||i(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?s:t}},
vendor: 202 bytes, line 2
2"./node_modules/core-js/internals/array-species-create.js":function(e,t,n){var r=n("./node_modules/core-js/internals/array-species-constructor.js");e.exports=function(e,t){return new(r(e))(0===t?0:t)}},
vendor: 291 bytes, line 2
2"./node_modules/core-js/internals/call-with-safe-iteration-closing.js":function(e,t,n){var r=n("./node_modules/core-js/internals/an-object.js"),o=n("./node_modules/core-js/internals/iterator-close.js");e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){o(e,"throw",t)}}},
vendor: 489 bytes, line 2
2"./node_modules/core-js/internals/check-correctness-of-iteration.js":function(e,t,n){var r=n("./node_modules/core-js/internals/well-known-symbol.js")("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){try{if(!t&&!o)return!1}catch(e){return!1}var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},
vendor: 210 bytes, line 2
2"./node_modules/core-js/internals/classof-raw.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-uncurry-this.js"),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},
vendor: 588 bytes, line 2
2"./node_modules/core-js/internals/classof.js":function(e,t,n){var r=n("./node_modules/core-js/internals/to-string-tag-support.js"),o=n("./node_modules/core-js/internals/is-callable.js"),i=n("./node_modules/core-js/internals/classof-raw.js"),a=n("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag"),s=Object,l="Arguments"===i(function(){return arguments}());e.exports=r?i: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=s(e),a))?n:l?i(t):"Object"===(r=i(t))&&o(t.callee)?"Arguments":r}},
vendor: 2,648 bytes, line 2
2"./node_modules/core-js/internals/collection-strong.js":function(e,t,n){var r=n("./node_modules/core-js/internals/object-create.js"),o=n("./node_modules/core-js/internals/define-built-in-accessor.js"),i=n("./node_modules/core-js/internals/define-built-ins.js"),a=n("./node_modules/core-js/internals/function-bind-context.js"),s=n("./node_modules/core-js/internals/an-instance.js"),l=n("./node_modules/core-js/internals/is-null-or-undefined.js"),c=n("./node_modules/core-js/internals/iterate.js"),A=n("./node_modules/core-js/internals/iterator-define.js"),u=n("./node_modules/core-js/internals/create-iter-result-object.js"),d=n("./node_modules/core-js/internals/set-species.js"),p=n("./node_modules/core-js/internals/descriptors.js"),f=n("./node_modules/core-js/internals/internal-metadata.js").fastKey,h=n("./node_modules/core-js/internals/internal-state.js"),m=h.set,g=h.getterFor;e.exports={getConstructor:function(e,t,n,A){var u=e(function(e,o){s(e,d),m(e,{type:t,index:r(null),first:null,last:null,size:0}),p||(e.size=0),l(o)||c(o,e[A],{that:e,AS_ENTRIES:n})}),d=u.prototype,h=g(t),y=function(e,t,n){var r,o,i=h(e),a=w(e,t);return a?a.value=n:(i.last=a={index:o=f(t,!0),key:t,value:n,previous:r=i.last,next:null,removed:!1},i.first||(i.first=a),r&&(r.next=a),p?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},w=function(e,t){var n,r=h(e),o=f(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key===t)return n};return i(d,{clear:function(){for(var e=h(this),t=e.first;t;)t.removed=!0,t.previous&&(t.previous=t.previous.next=null),t=t.next;e.first=e.last=null,e.index=r(null),p?e.size=0:this.size=0},delete:function(e){var t=this,n=h(t),r=w(t,e);if(r){var o=r.next,i=r.previous;delete n.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),n.first===r&&(n.first=o),n.last===r&&(n.last=i),p?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=h(this),r=a(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!w(this,e)}}),i(d,n?{get:function(e){var t=w(this,e);return t&&t.value},set:function(e,t){return y(this,0===e?0:e,t)}}:{add:function(e){return y(this,e=0===e?0:e,e)}}),p&&o(d,"size",{configurable:!0,get:function(){return h(this).size}}),u},setStrong:function(e,t,n){var r=t+" Iterator",o=g(t),i=g(r);A(e,t,function(e,t){m(this,{type:r,target:e,state:o(e),kind:t,last:null})},function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?u("keys"===t?n.key:"values"===t?n.value:[n.key,n.value],!1):(e.target=null,u(void 0,!0))},n?"entries":"values",!n,!0),d(t)}}},
vendor: 1,980 bytes, line 2
2"./node_modules/core-js/internals/collection.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/global-this.js"),i=n("./node_modules/core-js/internals/function-uncurry-this.js"),a=n("./node_modules/core-js/internals/is-forced.js"),s=n("./node_modules/core-js/internals/define-built-in.js"),l=n("./node_modules/core-js/internals/internal-metadata.js"),c=n("./node_modules/core-js/internals/iterate.js"),A=n("./node_modules/core-js/internals/an-instance.js"),u=n("./node_modules/core-js/internals/is-callable.js"),d=n("./node_modules/core-js/internals/is-null-or-undefined.js"),p=n("./node_modules/core-js/internals/is-object.js"),f=n("./node_modules/core-js/internals/fails.js"),h=n("./node_modules/core-js/internals/check-correctness-of-iteration.js"),m=n("./node_modules/core-js/internals/set-to-string-tag.js"),g=n("./node_modules/core-js/internals/inherit-if-required.js");e.exports=function(e,t,n){var y=-1!==e.indexOf("Map"),w=-1!==e.indexOf("Weak"),v=y?"set":"add",b=o[e],x=b&&b.prototype,_=b,B={},C=function(e){var t=i(x[e]);s(x,e,"add"===e?function(e){return t(this,0===e?0:e),this}:"delete"===e?function(e){return!(w&&!p(e))&&t(this,0===e?0:e)}:"get"===e?function(e){return w&&!p(e)?void 0:t(this,0===e?0:e)}:"has"===e?function(e){return!(w&&!p(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(a(e,!u(b)||!(w||x.forEach&&!f(function(){(new b).entries().next()}))))_=n.getConstructor(t,e,y,v),l.enable();else if(a(e,!0)){var k=new _,S=k[v](w?{}:-0,1)!==k,j=f(function(){k.has(1)}),E=h(function(e){new b(e)}),F=!w&&f(function(){for(var e=new b,t=5;t--;)e[v](t,t);return!e.has(-0)});E||((_=t(function(e,t){A(e,x);var n=g(new b,e,_);return d(t)||c(t,n[v],{that:n,AS_ENTRIES:y}),n})).prototype=x,x.constructor=_),(j||F)&&(C("delete"),C("has"),y&&C("get")),(F||S)&&C(v),w&&x.clear&&delete x.clear}return B[e]=_,r({global:!0,constructor:!0,forced:_!==b},B),m(_,e),w||n.setStrong(_,e,y),_}},
vendor: 462 bytes, line 2
2"./node_modules/core-js/internals/copy-constructor-properties.js":function(e,t,n){var r=n("./node_modules/core-js/internals/has-own-property.js"),o=n("./node_modules/core-js/internals/own-keys.js"),i=n("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),a=n("./node_modules/core-js/internals/object-define-property.js");e.exports=function(e,t,n){for(var s=o(t),l=a.f,c=i.f,A=0;A<s.length;A++){var u=s[A];r(e,u)||n&&r(n,u)||l(e,u,c(t,u))}}},
vendor: 252 bytes, line 2
2"./node_modules/core-js/internals/correct-prototype-getter.js":function(e,t,n){var r=n("./node_modules/core-js/internals/fails.js");e.exports=!r(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},
vendor: 403 bytes, line 2
2"./node_modules/core-js/internals/create-html.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-uncurry-this.js"),o=n("./node_modules/core-js/internals/require-object-coercible.js"),i=n("./node_modules/core-js/internals/to-string.js"),a=/"/g,s=r("".replace);e.exports=function(e,t,n,r){var l=i(o(e)),c="<"+t;return""!==n&&(c+=" "+n+'="'+s(i(r),a,"&quot;")+'"'),c+">"+l+"</"+t+">"}},
vendor: 125 bytes, line 2
2"./node_modules/core-js/internals/create-iter-result-object.js":function(e){e.exports=function(e,t){return{value:e,done:t}}},
vendor: 366 bytes, line 2
2"./node_modules/core-js/internals/create-non-enumerable-property.js":function(e,t,n){var r=n("./node_modules/core-js/internals/descriptors.js"),o=n("./node_modules/core-js/internals/object-define-property.js"),i=n("./node_modules/core-js/internals/create-property-descriptor.js");e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},
vendor: 173 bytes, line 2
2"./node_modules/core-js/internals/create-property-descriptor.js":function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},
vendor: 318 bytes, line 2
2"./node_modules/core-js/internals/create-property.js":function(e,t,n){var r=n("./node_modules/core-js/internals/descriptors.js"),o=n("./node_modules/core-js/internals/object-define-property.js"),i=n("./node_modules/core-js/internals/create-property-descriptor.js");e.exports=function(e,t,n){r?o.f(e,t,i(0,n)):e[t]=n}},
vendor: 312 bytes, line 2
2"./node_modules/core-js/internals/define-built-in-accessor.js":function(e,t,n){var r=n("./node_modules/core-js/internals/make-built-in.js"),o=n("./node_modules/core-js/internals/object-define-property.js");e.exports=function(e,t,n){return n.get&&r(n.get,t,{getter:!0}),n.set&&r(n.set,t,{setter:!0}),o.f(e,t,n)}},
vendor: 607 bytes, line 2
2"./node_modules/core-js/internals/define-built-in.js":function(e,t,n){var r=n("./node_modules/core-js/internals/is-callable.js"),o=n("./node_modules/core-js/internals/object-define-property.js"),i=n("./node_modules/core-js/internals/make-built-in.js"),a=n("./node_modules/core-js/internals/define-global-property.js");e.exports=function(e,t,n,s){s||(s={});var l=s.enumerable,c=void 0!==s.name?s.name:t;if(r(n)&&i(n,c,s),s.global)l?e[t]=n:a(t,n);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},
vendor: 200 bytes, line 2
2"./node_modules/core-js/internals/define-built-ins.js":function(e,t,n){var r=n("./node_modules/core-js/internals/define-built-in.js");e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},
vendor: 260 bytes, line 2
2"./node_modules/core-js/internals/define-global-property.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global-this.js"),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}},
vendor: 215 bytes, line 2
2"./node_modules/core-js/internals/descriptors.js":function(e,t,n){var r=n("./node_modules/core-js/internals/fails.js");e.exports=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},
vendor: 285 bytes, line 2
2"./node_modules/core-js/internals/document-create-element.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global-this.js"),o=n("./node_modules/core-js/internals/is-object.js"),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},
vendor: 192 bytes, line 2
2"./node_modules/core-js/internals/does-not-exceed-safe-integer.js":function(e){var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},
vendor: 577 bytes, line 2
2"./node_modules/core-js/internals/dom-iterables.js":function(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}},
vendor: 253 bytes, line 2
2"./node_modules/core-js/internals/dom-token-list-prototype.js":function(e,t,n){var r=n("./node_modules/core-js/internals/document-create-element.js")("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},
vendor: 185 bytes, line 2
2"./node_modules/core-js/internals/enum-bug-keys.js":function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},
vendor: 217 bytes, line 2
2"./node_modules/core-js/internals/environment-is-ios-pebble.js":function(e,t,n){var r=n("./node_modules/core-js/internals/environment-user-agent.js");e.exports=/ipad|iphone|ipod/i.test(r)&&"undefined"!=typeof Pebble},
vendor: 199 bytes, line 2
2"./node_modules/core-js/internals/environment-is-ios.js":function(e,t,n){var r=n("./node_modules/core-js/internals/environment-user-agent.js");e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},
vendor: 155 bytes, line 2
2"./node_modules/core-js/internals/environment-is-node.js":function(e,t,n){var r=n("./node_modules/core-js/internals/environment.js");e.exports="NODE"===r},
vendor: 192 bytes, line 2
2"./node_modules/core-js/internals/environment-is-webos-webkit.js":function(e,t,n){var r=n("./node_modules/core-js/internals/environment-user-agent.js");e.exports=/web0s(?!.*chrome)/i.test(r)},
vendor: 189 bytes, line 2
2"./node_modules/core-js/internals/environment-user-agent.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global-this.js").navigator,o=r&&r.userAgent;e.exports=o?String(o):""},
vendor: 420 bytes, line 2
2"./node_modules/core-js/internals/environment-v8-version.js":function(e,t,n){var r,o,i=n("./node_modules/core-js/internals/global-this.js"),a=n("./node_modules/core-js/internals/environment-user-agent.js"),s=i.process,l=i.Deno,c=s&&s.versions||l&&l.version,A=c&&c.v8;A&&(o=(r=A.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},
vendor: 552 bytes, line 2
2"./node_modules/core-js/internals/environment.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global-this.js"),o=n("./node_modules/core-js/internals/environment-user-agent.js"),i=n("./node_modules/core-js/internals/classof-raw.js"),a=function(e){return o.slice(0,e.length)===e};e.exports=a("Bun/")?"BUN":a("Cloudflare-Workers")?"CLOUDFLARE":a("Deno/")?"DENO":a("Node.js/")?"NODE":r.Bun&&"string"==typeof Bun.version?"BUN":r.Deno&&"object"==typeof Deno.version?"DENO":"process"===i(r.process)?"NODE":r.window&&r.document?"BROWSER":"REST"},
vendor: 838 bytes, line 2
2"./node_modules/core-js/internals/export.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global-this.js"),o=n("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,i=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),a=n("./node_modules/core-js/internals/define-built-in.js"),s=n("./node_modules/core-js/internals/define-global-property.js"),l=n("./node_modules/core-js/internals/copy-constructor-properties.js"),c=n("./node_modules/core-js/internals/is-forced.js");e.exports=function(e,t){var n,A,u,d,p,f=e.target,h=e.global,m=e.stat;if(n=h?r:m?r[f]||s(f,{}):r[f]&&r[f].prototype)for(A in t){if(d=t[A],u=e.dontCallGetSet?(p=o(n,A))&&p.value:n[A],!c(h?A:f+(m?".":"#")+A,e.forced)&&void 0!==u){if(typeof d==typeof u)continue;l(d,u)}(e.sham||u&&u.sham)&&i(d,"sham",!0),a(n,A,d,e)}}},
vendor: 115 bytes, line 2
2"./node_modules/core-js/internals/fails.js":function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},
vendor: 200 bytes, line 2
2"./node_modules/core-js/internals/freezing.js":function(e,t,n){var r=n("./node_modules/core-js/internals/fails.js");e.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},
vendor: 283 bytes, line 2
2"./node_modules/core-js/internals/function-apply.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-bind-native.js"),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},
vendor: 382 bytes, line 2
2"./node_modules/core-js/internals/function-bind-context.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-uncurry-this-clause.js"),o=n("./node_modules/core-js/internals/a-callable.js"),i=n("./node_modules/core-js/internals/function-bind-native.js"),a=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},
vendor: 239 bytes, line 2
2"./node_modules/core-js/internals/function-bind-native.js":function(e,t,n){var r=n("./node_modules/core-js/internals/fails.js");e.exports=!r(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},
vendor: 225 bytes, line 2
2"./node_modules/core-js/internals/function-call.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-bind-native.js"),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},
vendor: 381 bytes, line 2
2"./node_modules/core-js/internals/function-name.js":function(e,t,n){var r=n("./node_modules/core-js/internals/descriptors.js"),o=n("./node_modules/core-js/internals/has-own-property.js"),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=o(i,"name"),l=s&&"something"===function(){}.name,c=s&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},
vendor: 304 bytes, line 2
2"./node_modules/core-js/internals/function-uncurry-this-accessor.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-uncurry-this.js"),o=n("./node_modules/core-js/internals/a-callable.js");e.exports=function(e,t,n){try{return r(o(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},
vendor: 264 bytes, line 2
2"./node_modules/core-js/internals/function-uncurry-this-clause.js":function(e,t,n){var r=n("./node_modules/core-js/internals/classof-raw.js"),o=n("./node_modules/core-js/internals/function-uncurry-this.js");e.exports=function(e){if("Function"===r(e))return o(e)}},
vendor: 271 bytes, line 2
2"./node_modules/core-js/internals/function-uncurry-this.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-bind-native.js"),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},
vendor: 276 bytes, line 2
2"./node_modules/core-js/internals/get-built-in.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global-this.js"),o=n("./node_modules/core-js/internals/is-callable.js");e.exports=function(e,t){return arguments.length<2?(n=r[e],o(n)?n:void 0):r[e]&&r[e][t];var n}},
vendor: 133 bytes, line 2
2"./node_modules/core-js/internals/get-iterator-direct.js":function(e){e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},
vendor: 448 bytes, line 2
2"./node_modules/core-js/internals/get-iterator-method.js":function(e,t,n){var r=n("./node_modules/core-js/internals/classof.js"),o=n("./node_modules/core-js/internals/get-method.js"),i=n("./node_modules/core-js/internals/is-null-or-undefined.js"),a=n("./node_modules/core-js/internals/iterators.js"),s=n("./node_modules/core-js/internals/well-known-symbol.js")("iterator");e.exports=function(e){if(!i(e))return o(e,s)||o(e,"@@iterator")||a[r(e)]}},
vendor: 487 bytes, line 2
2"./node_modules/core-js/internals/get-iterator.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-call.js"),o=n("./node_modules/core-js/internals/a-callable.js"),i=n("./node_modules/core-js/internals/an-object.js"),a=n("./node_modules/core-js/internals/try-to-string.js"),s=n("./node_modules/core-js/internals/get-iterator-method.js"),l=TypeError;e.exports=function(e,t){var n=arguments.length<2?s(e):t;if(o(n))return i(r(n,e));throw new l(a(e)+" is not iterable")}},
vendor: 689 bytes, line 2
2"./node_modules/core-js/internals/get-json-replacer-function.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-uncurry-this.js"),o=n("./node_modules/core-js/internals/is-array.js"),i=n("./node_modules/core-js/internals/is-callable.js"),a=n("./node_modules/core-js/internals/classof-raw.js"),s=n("./node_modules/core-js/internals/to-string.js"),l=r([].push);e.exports=function(e){if(i(e))return e;if(o(e)){for(var t=e.length,n=[],r=0;r<t;r++){var c=e[r];"string"==typeof c?l(n,c):"number"!=typeof c&&"Number"!==a(c)&&"String"!==a(c)||l(n,s(c))}var A=n.length,u=!0;return function(e,t){if(u)return u=!1,t;if(o(this))return t;for(var r=0;r<A;r++)if(n[r]===e)return t}}}},
vendor: 248 bytes, line 2
2"./node_modules/core-js/internals/get-method.js":function(e,t,n){var r=n("./node_modules/core-js/internals/a-callable.js"),o=n("./node_modules/core-js/internals/is-null-or-undefined.js");e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},
vendor: 744 bytes, line 2
2"./node_modules/core-js/internals/get-set-record.js":function(e,t,n){var r=n("./node_modules/core-js/internals/a-callable.js"),o=n("./node_modules/core-js/internals/an-object.js"),i=n("./node_modules/core-js/internals/function-call.js"),a=n("./node_modules/core-js/internals/to-integer-or-infinity.js"),s=n("./node_modules/core-js/internals/get-iterator-direct.js"),l="Invalid size",c=RangeError,A=TypeError,u=Math.max,d=function(e,t){this.set=e,this.size=u(t,0),this.has=r(e.has),this.keys=r(e.keys)};d.prototype={getIterator:function(){return s(o(i(this.keys,this.set)))},includes:function(e){return i(this.has,this.set,e)}},e.exports=function(e){o(e);var t=+e.size;if(t!=t)throw new A(l);var n=a(t);if(n<0)throw new c(l);return new d(e,n)}},
vendor: 346 bytes, line 2
2"./node_modules/core-js/internals/global-this.js":function(e){var t=function(e){return e&&e.Math===Math&&e};e.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof n.g&&n.g)||t("object"==typeof this&&this)||function(){return this}()||Function("return this")()},
vendor: 274 bytes, line 2
2"./node_modules/core-js/internals/has-own-property.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-uncurry-this.js"),o=n("./node_modules/core-js/internals/to-object.js"),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},
vendor: 76 bytes, line 2
2"./node_modules/core-js/internals/hidden-keys.js":function(e){e.exports={}},
vendor: 167 bytes, line 2
2"./node_modules/core-js/internals/host-report-errors.js":function(e){e.exports=function(e,t){try{1===arguments.length?console.error(e):console.error(e,t)}catch(e){}}},
vendor: 162 bytes, line 2
2"./node_modules/core-js/internals/html.js":function(e,t,n){var r=n("./node_modules/core-js/internals/get-built-in.js");e.exports=r("document","documentElement")},
vendor: 351 bytes, line 2
2"./node_modules/core-js/internals/ie8-dom-define.js":function(e,t,n){var r=n("./node_modules/core-js/internals/descriptors.js"),o=n("./node_modules/core-js/internals/fails.js"),i=n("./node_modules/core-js/internals/document-create-element.js");e.exports=!r&&!o(function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},
vendor: 379 bytes, line 2
2"./node_modules/core-js/internals/indexed-object.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-uncurry-this.js"),o=n("./node_modules/core-js/internals/fails.js"),i=n("./node_modules/core-js/internals/classof-raw.js"),a=Object,s=r("".split);e.exports=o(function(){return!a("z").propertyIsEnumerable(0)})?function(e){return"String"===i(e)?s(e,""):a(e)}:a},
vendor: 370 bytes, line 2
2"./node_modules/core-js/internals/inherit-if-required.js":function(e,t,n){var r=n("./node_modules/core-js/internals/is-callable.js"),o=n("./node_modules/core-js/internals/is-object.js"),i=n("./node_modules/core-js/internals/object-set-prototype-of.js");e.exports=function(e,t,n){var a,s;return i&&r(a=t.constructor)&&a!==n&&o(s=a.prototype)&&s!==n.prototype&&i(e,s),e}},
vendor: 362 bytes, line 2
2"./node_modules/core-js/internals/inspect-source.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-uncurry-this.js"),o=n("./node_modules/core-js/internals/is-callable.js"),i=n("./node_modules/core-js/internals/shared-store.js"),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},
vendor: 1,423 bytes, line 2
2"./node_modules/core-js/internals/internal-metadata.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/function-uncurry-this.js"),i=n("./node_modules/core-js/internals/hidden-keys.js"),a=n("./node_modules/core-js/internals/is-object.js"),s=n("./node_modules/core-js/internals/has-own-property.js"),l=n("./node_modules/core-js/internals/object-define-property.js").f,c=n("./node_modules/core-js/internals/object-get-own-property-names.js"),A=n("./node_modules/core-js/internals/object-get-own-property-names-external.js"),u=n("./node_modules/core-js/internals/object-is-extensible.js"),d=n("./node_modules/core-js/internals/uid.js"),p=n("./node_modules/core-js/internals/freezing.js"),f=!1,h=d("meta"),m=0,g=function(e){l(e,h,{value:{objectID:"O"+m++,weakData:{}}})},y=e.exports={enable:function(){y.enable=function(){},f=!0;var e=c.f,t=o([].splice),n={};n[h]=1,e(n).length&&(c.f=function(n){for(var r=e(n),o=0,i=r.length;o<i;o++)if(r[o]===h){t(r,o,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:A.f}))},fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!s(e,h)){if(!u(e))return"F";if(!t)return"E";g(e)}return e[h].objectID},getWeakData:function(e,t){if(!s(e,h)){if(!u(e))return!0;if(!t)return!1;g(e)}return e[h].weakData},onFreeze:function(e){return p&&f&&u(e)&&!s(e,h)&&g(e),e}};i[h]=!0},
vendor: 1,217 bytes, line 2
2"./node_modules/core-js/internals/internal-state.js":function(e,t,n){var r,o,i,a=n("./node_modules/core-js/internals/weak-map-basic-detection.js"),s=n("./node_modules/core-js/internals/global-this.js"),l=n("./node_modules/core-js/internals/is-object.js"),c=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),A=n("./node_modules/core-js/internals/has-own-property.js"),u=n("./node_modules/core-js/internals/shared-store.js"),d=n("./node_modules/core-js/internals/shared-key.js"),p=n("./node_modules/core-js/internals/hidden-keys.js"),f="Object already initialized",h=s.TypeError,m=s.WeakMap;if(a||u.state){var g=u.state||(u.state=new m);g.get=g.get,g.has=g.has,g.set=g.set,r=function(e,t){if(g.has(e))throw new h(f);return t.facade=e,g.set(e,t),t},o=function(e){return g.get(e)||{}},i=function(e){return g.has(e)}}else{var y=d("state");p[y]=!0,r=function(e,t){if(A(e,y))throw new h(f);return t.facade=e,c(e,y,t),t},o=function(e){return A(e,y)?e[y]:{}},i=function(e){return A(e,y)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw new h("Incompatible receiver, "+e+" required");return n}}}},
vendor: 298 bytes, line 2
2"./node_modules/core-js/internals/is-array-iterator-method.js":function(e,t,n){var r=n("./node_modules/core-js/internals/well-known-symbol.js"),o=n("./node_modules/core-js/internals/iterators.js"),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},
vendor: 182 bytes, line 2
2"./node_modules/core-js/internals/is-array.js":function(e,t,n){var r=n("./node_modules/core-js/internals/classof-raw.js");e.exports=Array.isArray||function(e){return"Array"===r(e)}},
vendor: 229 bytes, line 2
2"./node_modules/core-js/internals/is-callable.js":function(e){var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},
vendor: 856 bytes, line 2
2"./node_modules/core-js/internals/is-constructor.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-uncurry-this.js"),o=n("./node_modules/core-js/internals/fails.js"),i=n("./node_modules/core-js/internals/is-callable.js"),a=n("./node_modules/core-js/internals/classof.js"),s=n("./node_modules/core-js/internals/get-built-in.js"),l=n("./node_modules/core-js/internals/inspect-source.js"),c=function(){},A=s("Reflect","construct"),u=/^\s*(?:class|function)\b/,d=r(u.exec),p=!u.test(c),f=function(e){if(!i(e))return!1;try{return A(c,[],e),!0}catch(e){return!1}},h=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!d(u,l(e))}catch(e){return!0}};h.sham=!0,e.exports=!A||o(function(){var e;return f(f.call)||!f(Object)||!f(function(){e=!0})||e})?h:f},
vendor: 390 bytes, line 2
2"./node_modules/core-js/internals/is-forced.js":function(e,t,n){var r=n("./node_modules/core-js/internals/fails.js"),o=n("./node_modules/core-js/internals/is-callable.js"),i=/#|\.prototype\./,a=function(e,t){var n=l[s(e)];return n===A||n!==c&&(o(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},l=a.data={},c=a.NATIVE="N",A=a.POLYFILL="P";e.exports=a},
vendor: 486 bytes, line 2
2"./node_modules/core-js/internals/is-iterable.js":function(e,t,n){var r=n("./node_modules/core-js/internals/classof.js"),o=n("./node_modules/core-js/internals/has-own-property.js"),i=n("./node_modules/core-js/internals/is-null-or-undefined.js"),a=n("./node_modules/core-js/internals/well-known-symbol.js"),s=n("./node_modules/core-js/internals/iterators.js"),l=a("iterator"),c=Object;e.exports=function(e){if(i(e))return!1;var t=c(e);return void 0!==t[l]||"@@iterator"in t||o(s,r(t))}},
vendor: 110 bytes, line 2
2"./node_modules/core-js/internals/is-null-or-undefined.js":function(e){e.exports=function(e){return null==e}},
vendor: 186 bytes, line 2
2"./node_modules/core-js/internals/is-object.js":function(e,t,n){var r=n("./node_modules/core-js/internals/is-callable.js");e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},
vendor: 179 bytes, line 2
2"./node_modules/core-js/internals/is-possible-prototype.js":function(e,t,n){var r=n("./node_modules/core-js/internals/is-object.js");e.exports=function(e){return r(e)||null===e}},
vendor: 72 bytes, line 2
2"./node_modules/core-js/internals/is-pure.js":function(e){e.exports=!1},
vendor: 430 bytes, line 2
2"./node_modules/core-js/internals/is-symbol.js":function(e,t,n){var r=n("./node_modules/core-js/internals/get-built-in.js"),o=n("./node_modules/core-js/internals/is-callable.js"),i=n("./node_modules/core-js/internals/object-is-prototype-of.js"),a=n("./node_modules/core-js/internals/use-symbol-as-uid.js"),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&i(t.prototype,s(e))}},
vendor: 250 bytes, line 2
2"./node_modules/core-js/internals/iterate-simple.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-call.js");e.exports=function(e,t,n){for(var o,i,a=n?e:e.iterator,s=e.next;!(o=r(s,a)).done;)if(void 0!==(i=t(o.value)))return i}},
vendor: 1,349 bytes, line 2
2"./node_modules/core-js/internals/iterate.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-bind-context.js"),o=n("./node_modules/core-js/internals/function-call.js"),i=n("./node_modules/core-js/internals/an-object.js"),a=n("./node_modules/core-js/internals/try-to-string.js"),s=n("./node_modules/core-js/internals/is-array-iterator-method.js"),l=n("./node_modules/core-js/internals/length-of-array-like.js"),c=n("./node_modules/core-js/internals/object-is-prototype-of.js"),A=n("./node_modules/core-js/internals/get-iterator.js"),u=n("./node_modules/core-js/internals/get-iterator-method.js"),d=n("./node_modules/core-js/internals/iterator-close.js"),p=TypeError,f=function(e,t){this.stopped=e,this.result=t},h=f.prototype;e.exports=function(e,t,n){var m,g,y,w,v,b,x,_=n&&n.that,B=!(!n||!n.AS_ENTRIES),C=!(!n||!n.IS_RECORD),k=!(!n||!n.IS_ITERATOR),S=!(!n||!n.INTERRUPTED),j=r(t,_),E=function(e){return m&&d(m,"normal"),new f(!0,e)},F=function(e){return B?(i(e),S?j(e[0],e[1],E):j(e[0],e[1])):S?j(e,E):j(e)};if(C)m=e.iterator;else if(k)m=e;else{if(!(g=u(e)))throw new p(a(e)+" is not iterable");if(s(g)){for(y=0,w=l(e);w>y;y++)if((v=F(e[y]))&&c(h,v))return v;return new f(!1)}m=A(e,g)}for(b=C?e.next:m.next;!(x=o(b,m)).done;){try{v=F(x.value)}catch(e){d(m,"throw",e)}if("object"==typeof v&&v&&c(h,v))return v}return new f(!1)}},
vendor: 292 bytes, line 2
2"./node_modules/core-js/internals/iterator-close-all.js":function(e,t,n){var r=n("./node_modules/core-js/internals/iterator-close.js");e.exports=function(e,t,n){for(var o=e.length-1;o>=0;o--)if(void 0!==e[o])try{n=r(e[o].iterator,t,n)}catch(e){t="throw",n=e}if("throw"===t)throw n;return n}},
vendor: 414 bytes, line 2
2"./node_modules/core-js/internals/iterator-close.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-call.js"),o=n("./node_modules/core-js/internals/an-object.js"),i=n("./node_modules/core-js/internals/get-method.js");e.exports=function(e,t,n){var a,s;o(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw n;return n}a=r(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw n;if(s)throw a;return o(a),n}},
vendor: 541 bytes, line 2
2"./node_modules/core-js/internals/iterator-create-constructor.js":function(e,t,n){var r=n("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,o=n("./node_modules/core-js/internals/object-create.js"),i=n("./node_modules/core-js/internals/create-property-descriptor.js"),a=n("./node_modules/core-js/internals/set-to-string-tag.js"),s=n("./node_modules/core-js/internals/iterators.js"),l=function(){return this};e.exports=function(e,t,n,c){var A=t+" Iterator";return e.prototype=o(r,{next:i(+!c,n)}),a(e,A,!1,!0),s[A]=l,e}},
vendor: 1,613 bytes, line 2
2"./node_modules/core-js/internals/iterator-create-proxy.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-call.js"),o=n("./node_modules/core-js/internals/object-create.js"),i=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),a=n("./node_modules/core-js/internals/define-built-ins.js"),s=n("./node_modules/core-js/internals/well-known-symbol.js"),l=n("./node_modules/core-js/internals/internal-state.js"),c=n("./node_modules/core-js/internals/get-method.js"),A=n("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,u=n("./node_modules/core-js/internals/create-iter-result-object.js"),d=n("./node_modules/core-js/internals/iterator-close.js"),p=n("./node_modules/core-js/internals/iterator-close-all.js"),f=s("toStringTag"),h="IteratorHelper",m="WrapForValidIterator",g="normal",y="throw",w=l.set,v=function(e){var t=l.getterFor(e?m:h);return a(o(A),{next:function(){var n=t(this);if(e)return n.nextHandler();if(n.done)return u(void 0,!0);try{var r=n.nextHandler();return n.returnHandlerResult?r:u(r,n.done)}catch(e){throw n.done=!0,e}},return:function(){var n=t(this),o=n.iterator;if(n.done=!0,e){var i=c(o,"return");return i?r(i,o):u(void 0,!0)}if(n.inner)try{d(n.inner.iterator,g)}catch(e){return d(o,y,e)}if(n.openIters)try{p(n.openIters,g)}catch(e){return d(o,y,e)}return o&&d(o,g),u(void 0,!0)}})},b=v(!0),x=v(!1);i(x,f,"Iterator Helper"),e.exports=function(e,t,n){var r=function(r,o){o?(o.iterator=r.iterator,o.next=r.next):o=r,o.type=t?m:h,o.returnHandlerResult=!!n,o.nextHandler=e,o.counter=0,o.done=!1,w(this,o)};return r.prototype=t?b:x,r}},
vendor: 1,799 bytes, line 2
2"./node_modules/core-js/internals/iterator-define.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/function-call.js"),i=n("./node_modules/core-js/internals/is-pure.js"),a=n("./node_modules/core-js/internals/function-name.js"),s=n("./node_modules/core-js/internals/is-callable.js"),l=n("./node_modules/core-js/internals/iterator-create-constructor.js"),c=n("./node_modules/core-js/internals/object-get-prototype-of.js"),A=n("./node_modules/core-js/internals/object-set-prototype-of.js"),u=n("./node_modules/core-js/internals/set-to-string-tag.js"),d=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),p=n("./node_modules/core-js/internals/define-built-in.js"),f=n("./node_modules/core-js/internals/well-known-symbol.js"),h=n("./node_modules/core-js/internals/iterators.js"),m=n("./node_modules/core-js/internals/iterators-core.js"),g=a.PROPER,y=a.CONFIGURABLE,w=m.IteratorPrototype,v=m.BUGGY_SAFARI_ITERATORS,b=f("iterator"),x="keys",_="values",B="entries",C=function(){return this};e.exports=function(e,t,n,a,f,m,k){l(n,t,a);var S,j,E,F=function(e){if(e===f&&P)return P;if(!v&&e&&e in L)return L[e];switch(e){case x:case _:case B:return function(){return new n(this,e)}}return function(){return new n(this)}},N=t+" Iterator",U=!1,L=e.prototype,I=L[b]||L["@@iterator"]||f&&L[f],P=!v&&I||F(f),Q="Array"===t&&L.entries||I;if(Q&&(S=c(Q.call(new e)))!==Object.prototype&&S.next&&(i||c(S)===w||(A?A(S,w):s(S[b])||p(S,b,C)),u(S,N,!0,!0),i&&(h[N]=C)),g&&f===_&&I&&I.name!==_&&(!i&&y?d(L,"name",_):(U=!0,P=function(){return o(I,this)})),f)if(j={values:F(_),keys:m?P:F(x),entries:F(B)},k)for(E in j)(v||U||!(E in L))&&p(L,E,j[E]);else r({target:t,proto:!0,forced:v||U},j);return i&&!k||L[b]===P||p(L,b,P,{name:f}),h[t]=P,j}},
vendor: 233 bytes, line 2
2"./node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js":function(e){e.exports=function(e,t){var n="function"==typeof Iterator&&Iterator.prototype[e];if(n)try{n.call({next:null},t).next()}catch(e){return!0}}},
vendor: 361 bytes, line 2
2"./node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global-this.js");e.exports=function(e,t){var n=r.Iterator,o=n&&n.prototype,i=o&&o[e],a=!1;if(i)try{i.call({next:function(){return{done:!0}},return:function(){a=!0}},-1)}catch(e){e instanceof t||(a=!1)}if(!a)return i}},
vendor: 798 bytes, line 2
2"./node_modules/core-js/internals/iterators-core.js":function(e,t,n){var r,o,i,a=n("./node_modules/core-js/internals/fails.js"),s=n("./node_modules/core-js/internals/is-callable.js"),l=n("./node_modules/core-js/internals/is-object.js"),c=n("./node_modules/core-js/internals/object-create.js"),A=n("./node_modules/core-js/internals/object-get-prototype-of.js"),u=n("./node_modules/core-js/internals/define-built-in.js"),d=n("./node_modules/core-js/internals/well-known-symbol.js"),p=n("./node_modules/core-js/internals/is-pure.js"),f=d("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=A(A(i)))!==Object.prototype&&(r=o):h=!0),!l(r)||a(function(){var e={};return r[f].call(e)!==e})?r={}:p&&(r=c(r)),s(r[f])||u(r,f,function(){return this}),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},
vendor: 74 bytes, line 2
2"./node_modules/core-js/internals/iterators.js":function(e){e.exports={}},
vendor: 175 bytes, line 2
2"./node_modules/core-js/internals/length-of-array-like.js":function(e,t,n){var r=n("./node_modules/core-js/internals/to-length.js");e.exports=function(e){return r(e.length)}},
vendor: 1,341 bytes, line 2
2"./node_modules/core-js/internals/make-built-in.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-uncurry-this.js"),o=n("./node_modules/core-js/internals/fails.js"),i=n("./node_modules/core-js/internals/is-callable.js"),a=n("./node_modules/core-js/internals/has-own-property.js"),s=n("./node_modules/core-js/internals/descriptors.js"),l=n("./node_modules/core-js/internals/function-name.js").CONFIGURABLE,c=n("./node_modules/core-js/internals/inspect-source.js"),A=n("./node_modules/core-js/internals/internal-state.js"),u=A.enforce,d=A.get,p=String,f=Object.defineProperty,h=r("".slice),m=r("".replace),g=r([].join),y=s&&!o(function(){return 8!==f(function(){},"length",{value:8}).length}),w=String(String).split("String"),v=e.exports=function(e,t,n){"Symbol("===h(p(t),0,7)&&(t="["+m(p(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||l&&e.name!==t)&&(s?f(e,"name",{value:t,configurable:!0}):e.name=t),y&&n&&a(n,"arity")&&e.length!==n.arity&&f(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=u(e);return a(r,"source")||(r.source=g(w,"string"==typeof t?t:"")),e};Function.prototype.toString=v(function(){return i(this)&&d(this).source||c(this)},"toString")},
vendor: 154 bytes, line 2
2"./node_modules/core-js/internals/math-trunc.js":function(e){var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},
vendor: 1,171 bytes, line 2
2"./node_modules/core-js/internals/microtask.js":function(e,t,n){var r,o,i,a,s,l=n("./node_modules/core-js/internals/global-this.js"),c=n("./node_modules/core-js/internals/safe-get-built-in.js"),A=n("./node_modules/core-js/internals/function-bind-context.js"),u=n("./node_modules/core-js/internals/task.js").set,d=n("./node_modules/core-js/internals/queue.js"),p=n("./node_modules/core-js/internals/environment-is-ios.js"),f=n("./node_modules/core-js/internals/environment-is-ios-pebble.js"),h=n("./node_modules/core-js/internals/environment-is-webos-webkit.js"),m=n("./node_modules/core-js/internals/environment-is-node.js"),g=l.MutationObserver||l.WebKitMutationObserver,y=l.document,w=l.process,v=l.Promise,b=c("queueMicrotask");if(!b){var x=new d,_=function(){var e,t;for(m&&(e=w.domain)&&e.exit();t=x.get();)try{t()}catch(e){throw x.head&&r(),e}e&&e.enter()};p||m||h||!g||!y?!f&&v&&v.resolve?((a=v.resolve(void 0)).constructor=v,s=A(a.then,a),r=function(){s(_)}):m?r=function(){w.nextTick(_)}:(u=A(u,l),r=function(){u(_)}):(o=!0,i=y.createTextNode(""),new g(_).observe(i,{characterData:!0}),r=function(){i.data=o=!o}),b=function(e){x.head||r(),x.add(e)}}e.exports=b},
vendor: 355 bytes, line 2
2"./node_modules/core-js/internals/new-promise-capability.js":function(e,t,n){var r=n("./node_modules/core-js/internals/a-callable.js"),o=TypeError,i=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw new o("Bad Promise constructor");t=e,n=r}),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new i(e)}},
vendor: 1,165 bytes, line 2
2"./node_modules/core-js/internals/object-assign.js":function(e,t,n){var r=n("./node_modules/core-js/internals/descriptors.js"),o=n("./node_modules/core-js/internals/function-uncurry-this.js"),i=n("./node_modules/core-js/internals/function-call.js"),a=n("./node_modules/core-js/internals/fails.js"),s=n("./node_modules/core-js/internals/object-keys.js"),l=n("./node_modules/core-js/internals/object-get-own-property-symbols.js"),c=n("./node_modules/core-js/internals/object-property-is-enumerable.js"),A=n("./node_modules/core-js/internals/to-object.js"),u=n("./node_modules/core-js/internals/indexed-object.js"),d=Object.assign,p=Object.defineProperty,f=o([].concat);e.exports=!d||a(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("assign detection"),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach(function(e){t[e]=e}),7!==d({},e)[n]||s(d({},t)).join("")!==o})?function(e,t){for(var n=A(e),o=arguments.length,a=1,d=l.f,p=c.f;o>a;)for(var h,m=u(arguments[a++]),g=d?f(s(m),d(m)):s(m),y=g.length,w=0;y>w;)h=g[w++],r&&!i(p,m,h)||(n[h]=m[h]);return n}:d},
vendor: 1,148 bytes, line 2
2"./node_modules/core-js/internals/object-create.js":function(e,t,n){var r,o=n("./node_modules/core-js/internals/an-object.js"),i=n("./node_modules/core-js/internals/object-define-properties.js"),a=n("./node_modules/core-js/internals/enum-bug-keys.js"),s=n("./node_modules/core-js/internals/hidden-keys.js"),l=n("./node_modules/core-js/internals/html.js"),c=n("./node_modules/core-js/internals/document-create-element.js"),A=n("./node_modules/core-js/internals/shared-key.js"),u="prototype",d="script",p=A("IE_PROTO"),f=function(){},h=function(e){return"<"+d+">"+e+"</"+d+">"},m=function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;g="undefined"!=typeof document?document.domain&&r?m(r):(t=c("iframe"),n="java"+d+":",t.style.display="none",l.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):m(r);for(var o=a.length;o--;)delete g[u][a[o]];return g()};s[p]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f[u]=o(e),n=new f,f[u]=null,n[p]=e):n=g(),void 0===t?n:i.f(n,t)}},
vendor: 569 bytes, line 2
2"./node_modules/core-js/internals/object-define-properties.js":function(e,t,n){var r=n("./node_modules/core-js/internals/descriptors.js"),o=n("./node_modules/core-js/internals/v8-prototype-define-bug.js"),i=n("./node_modules/core-js/internals/object-define-property.js"),a=n("./node_modules/core-js/internals/an-object.js"),s=n("./node_modules/core-js/internals/to-indexed-object.js"),l=n("./node_modules/core-js/internals/object-keys.js");t.f=r&&!o?Object.defineProperties:function(e,t){a(e);for(var n,r=s(t),o=l(t),c=o.length,A=0;c>A;)i.f(e,n=o[A++],r[n]);return e}},
vendor: 898 bytes, line 2
2"./node_modules/core-js/internals/object-define-property.js":function(e,t,n){var r=n("./node_modules/core-js/internals/descriptors.js"),o=n("./node_modules/core-js/internals/ie8-dom-define.js"),i=n("./node_modules/core-js/internals/v8-prototype-define-bug.js"),a=n("./node_modules/core-js/internals/an-object.js"),s=n("./node_modules/core-js/internals/to-property-key.js"),l=TypeError,c=Object.defineProperty,A=Object.getOwnPropertyDescriptor,u="enumerable",d="configurable",p="writable";t.f=r?i?function(e,t,n){if(a(e),t=s(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&p in n&&!n[p]){var r=A(e,t);r&&r[p]&&(e[t]=n.value,n={configurable:d in n?n[d]:r[d],enumerable:u in n?n[u]:r[u],writable:!1})}return c(e,t,n)}:c:function(e,t,n){if(a(e),t=s(t),a(n),o)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},
vendor: 728 bytes, line 2
2"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(e,t,n){var r=n("./node_modules/core-js/internals/descriptors.js"),o=n("./node_modules/core-js/internals/function-call.js"),i=n("./node_modules/core-js/internals/object-property-is-enumerable.js"),a=n("./node_modules/core-js/internals/create-property-descriptor.js"),s=n("./node_modules/core-js/internals/to-indexed-object.js"),l=n("./node_modules/core-js/internals/to-property-key.js"),c=n("./node_modules/core-js/internals/has-own-property.js"),A=n("./node_modules/core-js/internals/ie8-dom-define.js"),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=s(e),t=l(t),A)try{return u(e,t)}catch(e){}if(c(e,t))return a(!o(i.f,e,t),e[t])}},
vendor: 557 bytes, line 2
2"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(e,t,n){var r=n("./node_modules/core-js/internals/classof-raw.js"),o=n("./node_modules/core-js/internals/to-indexed-object.js"),i=n("./node_modules/core-js/internals/object-get-own-property-names.js").f,a=n("./node_modules/core-js/internals/array-slice.js"),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"Window"===r(e)?function(e){try{return i(e)}catch(e){return a(s)}}(e):i(o(e))}},
vendor: 298 bytes, line 2
2"./node_modules/core-js/internals/object-get-own-property-names.js":function(e,t,n){var r=n("./node_modules/core-js/internals/object-keys-internal.js"),o=n("./node_modules/core-js/internals/enum-bug-keys.js").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},
vendor: 118 bytes, line 2
2"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(e,t){t.f=Object.getOwnPropertySymbols},
vendor: 569 bytes, line 2
2"./node_modules/core-js/internals/object-get-prototype-of.js":function(e,t,n){var r=n("./node_modules/core-js/internals/has-own-property.js"),o=n("./node_modules/core-js/internals/is-callable.js"),i=n("./node_modules/core-js/internals/to-object.js"),a=n("./node_modules/core-js/internals/shared-key.js"),s=n("./node_modules/core-js/internals/correct-prototype-getter.js"),l=a("IE_PROTO"),c=Object,A=c.prototype;e.exports=s?c.getPrototypeOf:function(e){var t=i(e);if(r(t,l))return t[l];var n=t.constructor;return o(n)&&t instanceof n?n.prototype:t instanceof c?A:null}},
vendor: 435 bytes, line 2
2"./node_modules/core-js/internals/object-is-extensible.js":function(e,t,n){var r=n("./node_modules/core-js/internals/fails.js"),o=n("./node_modules/core-js/internals/is-object.js"),i=n("./node_modules/core-js/internals/classof-raw.js"),a=n("./node_modules/core-js/internals/array-buffer-non-extensible.js"),s=Object.isExtensible,l=r(function(){s(1)});e.exports=l||a?function(e){return!!o(e)&&(!a||"ArrayBuffer"!==i(e))&&(!s||s(e))}:s},
vendor: 177 bytes, line 2
2"./node_modules/core-js/internals/object-is-prototype-of.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-uncurry-this.js");e.exports=r({}.isPrototypeOf)},
vendor: 541 bytes, line 2
2"./node_modules/core-js/internals/object-keys-internal.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-uncurry-this.js"),o=n("./node_modules/core-js/internals/has-own-property.js"),i=n("./node_modules/core-js/internals/to-indexed-object.js"),a=n("./node_modules/core-js/internals/array-includes.js").indexOf,s=n("./node_modules/core-js/internals/hidden-keys.js"),l=r([].push);e.exports=function(e,t){var n,r=i(e),c=0,A=[];for(n in r)!o(s,n)&&o(r,n)&&l(A,n);for(;t.length>c;)o(r,n=t[c++])&&(~a(A,n)||l(A,n));return A}},
vendor: 242 bytes, line 2
2"./node_modules/core-js/internals/object-keys.js":function(e,t,n){var r=n("./node_modules/core-js/internals/object-keys-internal.js"),o=n("./node_modules/core-js/internals/enum-bug-keys.js");e.exports=Object.keys||function(e){return r(e,o)}},
vendor: 230 bytes, line 2
2"./node_modules/core-js/internals/object-property-is-enumerable.js":function(e,t){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},
vendor: 586 bytes, line 2
2"./node_modules/core-js/internals/object-set-prototype-of.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-uncurry-this-accessor.js"),o=n("./node_modules/core-js/internals/is-object.js"),i=n("./node_modules/core-js/internals/require-object-coercible.js"),a=n("./node_modules/core-js/internals/a-possible-prototype.js");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return i(n),a(r),o(n)?(t?e(n,r):n.__proto__=r,n):n}}():void 0)},
vendor: 257 bytes, line 2
2"./node_modules/core-js/internals/object-to-string.js":function(e,t,n){var r=n("./node_modules/core-js/internals/to-string-tag-support.js"),o=n("./node_modules/core-js/internals/classof.js");e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},
vendor: 499 bytes, line 2
2"./node_modules/core-js/internals/ordinary-to-primitive.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-call.js"),o=n("./node_modules/core-js/internals/is-callable.js"),i=n("./node_modules/core-js/internals/is-object.js"),a=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&o(n=e.toString)&&!i(s=r(n,e)))return s;if(o(n=e.valueOf)&&!i(s=r(n,e)))return s;if("string"!==t&&o(n=e.toString)&&!i(s=r(n,e)))return s;throw new a("Can't convert object to primitive value")}},
vendor: 495 bytes, line 2
2"./node_modules/core-js/internals/own-keys.js":function(e,t,n){var r=n("./node_modules/core-js/internals/get-built-in.js"),o=n("./node_modules/core-js/internals/function-uncurry-this.js"),i=n("./node_modules/core-js/internals/object-get-own-property-names.js"),a=n("./node_modules/core-js/internals/object-get-own-property-symbols.js"),s=n("./node_modules/core-js/internals/an-object.js"),l=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(s(e)),n=a.f;return n?l(t,n(e)):t}},
vendor: 131 bytes, line 2
2"./node_modules/core-js/internals/path.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global-this.js");e.exports=r},
vendor: 148 bytes, line 2
2"./node_modules/core-js/internals/perform.js":function(e){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},
vendor: 1,079 bytes, line 2
2"./node_modules/core-js/internals/promise-constructor-detection.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global-this.js"),o=n("./node_modules/core-js/internals/promise-native-constructor.js"),i=n("./node_modules/core-js/internals/is-callable.js"),a=n("./node_modules/core-js/internals/is-forced.js"),s=n("./node_modules/core-js/internals/inspect-source.js"),l=n("./node_modules/core-js/internals/well-known-symbol.js"),c=n("./node_modules/core-js/internals/environment.js"),A=n("./node_modules/core-js/internals/is-pure.js"),u=n("./node_modules/core-js/internals/environment-v8-version.js"),d=o&&o.prototype,p=l("species"),f=!1,h=i(r.PromiseRejectionEvent),m=a("Promise",function(){var e=s(o),t=e!==String(o);if(!t&&66===u)return!0;if(A&&(!d.catch||!d.finally))return!0;if(!u||u<51||!/native code/.test(e)){var n=new o(function(e){e(1)}),r=function(e){e(function(){},function(){})};if((n.constructor={})[p]=r,!(f=n.then(function(){})instanceof r))return!0}return!(t||"BROWSER"!==c&&"DENO"!==c||h)});e.exports={CONSTRUCTOR:m,REJECTION_EVENT:h,SUBCLASSING:f}},
vendor: 161 bytes, line 2
2"./node_modules/core-js/internals/promise-native-constructor.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global-this.js");e.exports=r.Promise},
vendor: 359 bytes, line 2
2"./node_modules/core-js/internals/promise-resolve.js":function(e,t,n){var r=n("./node_modules/core-js/internals/an-object.js"),o=n("./node_modules/core-js/internals/is-object.js"),i=n("./node_modules/core-js/internals/new-promise-capability.js");e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},
vendor: 389 bytes, line 2
2"./node_modules/core-js/internals/promise-statics-incorrect-iteration.js":function(e,t,n){var r=n("./node_modules/core-js/internals/promise-native-constructor.js"),o=n("./node_modules/core-js/internals/check-correctness-of-iteration.js"),i=n("./node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR;e.exports=i||!o(function(e){r.all(e).then(void 0,function(){})})},
vendor: 315 bytes, line 2
2"./node_modules/core-js/internals/queue.js":function(e){var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null},n=this.tail;n?n.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},e.exports=t},
vendor: 1,769 bytes, line 2
2"./node_modules/core-js/internals/regexp-exec.js":function(e,t,n){var r,o,i=n("./node_modules/core-js/internals/function-call.js"),a=n("./node_modules/core-js/internals/function-uncurry-this.js"),s=n("./node_modules/core-js/internals/to-string.js"),l=n("./node_modules/core-js/internals/regexp-flags.js"),c=n("./node_modules/core-js/internals/regexp-sticky-helpers.js"),A=n("./node_modules/core-js/internals/shared.js"),u=n("./node_modules/core-js/internals/object-create.js"),d=n("./node_modules/core-js/internals/internal-state.js").get,p=n("./node_modules/core-js/internals/regexp-unsupported-dot-all.js"),f=n("./node_modules/core-js/internals/regexp-unsupported-ncg.js"),h=A("native-string-replace",String.prototype.replace),m=RegExp.prototype.exec,g=m,y=a("".charAt),w=a("".indexOf),v=a("".replace),b=a("".slice),x=(o=/b*/g,i(m,r=/a/,"a"),i(m,o,"a"),0!==r.lastIndex||0!==o.lastIndex),_=c.BROKEN_CARET,B=void 0!==/()??/.exec("")[1];(x||B||_||p||f)&&(g=function(e){var t,n,r,o,a,c,A,p=this,f=d(p),C=s(e),k=f.raw;if(k)return k.lastIndex=p.lastIndex,t=i(g,k,C),p.lastIndex=k.lastIndex,t;var S=f.groups,j=_&&p.sticky,E=i(l,p),F=p.source,N=0,U=C;if(j&&(E=v(E,"y",""),-1===w(E,"g")&&(E+="g"),U=b(C,p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==y(C,p.lastIndex-1))&&(F="(?: "+F+")",U=" "+U,N++),n=new RegExp("^(?:"+F+")",E)),B&&(n=new RegExp("^"+F+"$(?!\\s)",E)),x&&(r=p.lastIndex),o=i(m,j?n:p,U),j?o?(o.input=b(o.input,N),o[0]=b(o[0],N),o.index=p.lastIndex,p.lastIndex+=o[0].length):p.lastIndex=0:x&&o&&(p.lastIndex=p.global?o.index+o[0].length:r),B&&o&&o.length>1&&i(h,o[0],n,function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(o[a]=void 0)}),o&&S)for(o.groups=c=u(null),a=0;a<S.length;a++)c[(A=S[a])[0]]=o[A[1]];return o}),e.exports=g},
vendor: 583 bytes, line 2
2"./node_modules/core-js/internals/regexp-flags-detection.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global-this.js"),o=n("./node_modules/core-js/internals/fails.js"),i=r.RegExp,a=!o(function(){var e=!0;try{i(".","d")}catch(t){e=!1}var t={},n="",r=e?"dgimsy":"gimsy",o=function(e,r){Object.defineProperty(t,e,{get:function(){return n+=r,!0}})},a={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var s in e&&(a.hasIndices="d"),a)o(s,a[s]);return Object.getOwnPropertyDescriptor(i.prototype,"flags").get.call(t)!==r||n!==r});e.exports={correct:a}},
vendor: 344 bytes, line 2
2"./node_modules/core-js/internals/regexp-flags.js":function(e,t,n){var r=n("./node_modules/core-js/internals/an-object.js");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}},
vendor: 516 bytes, line 2
2"./node_modules/core-js/internals/regexp-get-flags.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-call.js"),o=n("./node_modules/core-js/internals/has-own-property.js"),i=n("./node_modules/core-js/internals/object-is-prototype-of.js"),a=n("./node_modules/core-js/internals/regexp-flags-detection.js"),s=n("./node_modules/core-js/internals/regexp-flags.js"),l=RegExp.prototype;e.exports=a.correct?function(e){return e.flags}:function(e){return a.correct||!i(l,e)||o(e,"flags")?e.flags:r(s,e)}},
vendor: 454 bytes, line 2
2"./node_modules/core-js/internals/regexp-sticky-helpers.js":function(e,t,n){var r=n("./node_modules/core-js/internals/fails.js"),o=n("./node_modules/core-js/internals/global-this.js").RegExp,i=r(function(){var e=o("a","y");return e.lastIndex=2,null!==e.exec("abcd")}),a=i||r(function(){return!o("a","y").sticky}),s=i||r(function(){var e=o("^r","gy");return e.lastIndex=2,null!==e.exec("str")});e.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:i}},
vendor: 286 bytes, line 2
2"./node_modules/core-js/internals/regexp-unsupported-dot-all.js":function(e,t,n){var r=n("./node_modules/core-js/internals/fails.js"),o=n("./node_modules/core-js/internals/global-this.js").RegExp;e.exports=r(function(){var e=o(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)})},
vendor: 305 bytes, line 2
2"./node_modules/core-js/internals/regexp-unsupported-ncg.js":function(e,t,n){var r=n("./node_modules/core-js/internals/fails.js"),o=n("./node_modules/core-js/internals/global-this.js").RegExp;e.exports=r(function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})},
vendor: 239 bytes, line 2
2"./node_modules/core-js/internals/require-object-coercible.js":function(e,t,n){var r=n("./node_modules/core-js/internals/is-null-or-undefined.js"),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},
vendor: 293 bytes, line 2
2"./node_modules/core-js/internals/safe-get-built-in.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global-this.js"),o=n("./node_modules/core-js/internals/descriptors.js"),i=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!o)return r[e];var t=i(r,e);return t&&t.value}},
vendor: 801 bytes, line 2
2"./node_modules/core-js/internals/schedulers-fix.js":function(e,t,n){var r,o=n("./node_modules/core-js/internals/global-this.js"),i=n("./node_modules/core-js/internals/function-apply.js"),a=n("./node_modules/core-js/internals/is-callable.js"),s=n("./node_modules/core-js/internals/environment.js"),l=n("./node_modules/core-js/internals/environment-user-agent.js"),c=n("./node_modules/core-js/internals/array-slice.js"),A=n("./node_modules/core-js/internals/validate-arguments-length.js"),u=o.Function,d=/MSIE .\./.test(l)||"BUN"===s&&((r=o.Bun.version.split(".")).length<3||"0"===r[0]&&(r[1]<3||"3"===r[1]&&"0"===r[2]));e.exports=function(e,t){var n=t?2:1;return d?function(r,o){var s=A(arguments.length,1)>n,l=a(r)?r:u(r),d=s?c(arguments,n):[],p=s?function(){i(l,this,d)}:l;return t?e(p,o):e(p)}:e}},
vendor: 264 bytes, line 2
2"./node_modules/core-js/internals/set-clone.js":function(e,t,n){var r=n("./node_modules/core-js/internals/set-helpers.js"),o=n("./node_modules/core-js/internals/set-iterate.js"),i=r.Set,a=r.add;e.exports=function(e){var t=new i;return o(e,function(e){a(t,e)}),t}},
vendor: 633 bytes, line 2
2"./node_modules/core-js/internals/set-difference.js":function(e,t,n){var r=n("./node_modules/core-js/internals/a-set.js"),o=n("./node_modules/core-js/internals/set-helpers.js"),i=n("./node_modules/core-js/internals/set-clone.js"),a=n("./node_modules/core-js/internals/set-size.js"),s=n("./node_modules/core-js/internals/get-set-record.js"),l=n("./node_modules/core-js/internals/set-iterate.js"),c=n("./node_modules/core-js/internals/iterate-simple.js"),A=o.has,u=o.remove;e.exports=function(e){var t=r(this),n=s(e),o=i(t);return a(t)<=n.size?l(t,function(e){n.includes(e)&&u(o,e)}):c(n.getIterator(),function(e){A(o,e)&&u(o,e)}),o}},
vendor: 221 bytes, line 2
2"./node_modules/core-js/internals/set-helpers.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-uncurry-this.js"),o=Set.prototype;e.exports={Set,add:r(o.add),has:r(o.has),remove:r(o.delete),proto:o}},
vendor: 587 bytes, line 2
2"./node_modules/core-js/internals/set-intersection.js":function(e,t,n){var r=n("./node_modules/core-js/internals/a-set.js"),o=n("./node_modules/core-js/internals/set-helpers.js"),i=n("./node_modules/core-js/internals/set-size.js"),a=n("./node_modules/core-js/internals/get-set-record.js"),s=n("./node_modules/core-js/internals/set-iterate.js"),l=n("./node_modules/core-js/internals/iterate-simple.js"),c=o.Set,A=o.add,u=o.has;e.exports=function(e){var t=r(this),n=a(e),o=new c;return i(t)>n.size?l(n.getIterator(),function(e){u(t,e)&&A(o,e)}):s(t,function(e){n.includes(e)&&A(o,e)}),o}},
vendor: 672 bytes, line 2
2"./node_modules/core-js/internals/set-is-disjoint-from.js":function(e,t,n){var r=n("./node_modules/core-js/internals/a-set.js"),o=n("./node_modules/core-js/internals/set-helpers.js").has,i=n("./node_modules/core-js/internals/set-size.js"),a=n("./node_modules/core-js/internals/get-set-record.js"),s=n("./node_modules/core-js/internals/set-iterate.js"),l=n("./node_modules/core-js/internals/iterate-simple.js"),c=n("./node_modules/core-js/internals/iterator-close.js");e.exports=function(e){var t=r(this),n=a(e);if(i(t)<=n.size)return!1!==s(t,function(e){if(n.includes(e))return!1},!0);var A=n.getIterator();return!1!==l(A,function(e){if(o(t,e))return c(A,"normal",!1)})}},
vendor: 409 bytes, line 2
2"./node_modules/core-js/internals/set-is-subset-of.js":function(e,t,n){var r=n("./node_modules/core-js/internals/a-set.js"),o=n("./node_modules/core-js/internals/set-size.js"),i=n("./node_modules/core-js/internals/set-iterate.js"),a=n("./node_modules/core-js/internals/get-set-record.js");e.exports=function(e){var t=r(this),n=a(e);return!(o(t)>n.size)&&!1!==i(t,function(e){if(!n.includes(e))return!1},!0)}},
vendor: 566 bytes, line 2
2"./node_modules/core-js/internals/set-is-superset-of.js":function(e,t,n){var r=n("./node_modules/core-js/internals/a-set.js"),o=n("./node_modules/core-js/internals/set-helpers.js").has,i=n("./node_modules/core-js/internals/set-size.js"),a=n("./node_modules/core-js/internals/get-set-record.js"),s=n("./node_modules/core-js/internals/iterate-simple.js"),l=n("./node_modules/core-js/internals/iterator-close.js");e.exports=function(e){var t=r(this),n=a(e);if(i(t)<n.size)return!1;var c=n.getIterator();return!1!==s(c,function(e){if(!o(t,e))return l(c,"normal",!1)})}},
vendor: 381 bytes, line 2
2"./node_modules/core-js/internals/set-iterate.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-uncurry-this.js"),o=n("./node_modules/core-js/internals/iterate-simple.js"),i=n("./node_modules/core-js/internals/set-helpers.js"),a=i.Set,s=i.proto,l=r(s.forEach),c=r(s.keys),A=c(new a).next;e.exports=function(e,t,n){return n?o({iterator:c(e),next:A},t):l(e,t)}},
vendor: 259 bytes, line 2
2"./node_modules/core-js/internals/set-size.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-uncurry-this-accessor.js"),o=n("./node_modules/core-js/internals/set-helpers.js");e.exports=r(o.proto,"size","get")||function(e){return e.size}},
vendor: 426 bytes, line 2
2"./node_modules/core-js/internals/set-species.js":function(e,t,n){var r=n("./node_modules/core-js/internals/get-built-in.js"),o=n("./node_modules/core-js/internals/define-built-in-accessor.js"),i=n("./node_modules/core-js/internals/well-known-symbol.js"),a=n("./node_modules/core-js/internals/descriptors.js"),s=i("species");e.exports=function(e){var t=r(e);a&&t&&!t[s]&&o(t,s,{configurable:!0,get:function(){return this}})}},
vendor: 497 bytes, line 2
2"./node_modules/core-js/internals/set-symmetric-difference.js":function(e,t,n){var r=n("./node_modules/core-js/internals/a-set.js"),o=n("./node_modules/core-js/internals/set-helpers.js"),i=n("./node_modules/core-js/internals/set-clone.js"),a=n("./node_modules/core-js/internals/get-set-record.js"),s=n("./node_modules/core-js/internals/iterate-simple.js"),l=o.add,c=o.has,A=o.remove;e.exports=function(e){var t=r(this),n=a(e).getIterator(),o=i(t);return s(n,function(e){c(t,e)?A(o,e):l(o,e)}),o}},
vendor: 376 bytes, line 2
2"./node_modules/core-js/internals/set-to-string-tag.js":function(e,t,n){var r=n("./node_modules/core-js/internals/object-define-property.js").f,o=n("./node_modules/core-js/internals/has-own-property.js"),i=n("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!o(e,i)&&r(e,i,{configurable:!0,value:t})}},
vendor: 445 bytes, line 2
2"./node_modules/core-js/internals/set-union.js":function(e,t,n){var r=n("./node_modules/core-js/internals/a-set.js"),o=n("./node_modules/core-js/internals/set-helpers.js").add,i=n("./node_modules/core-js/internals/set-clone.js"),a=n("./node_modules/core-js/internals/get-set-record.js"),s=n("./node_modules/core-js/internals/iterate-simple.js");e.exports=function(e){var t=r(this),n=a(e).getIterator(),l=i(t);return s(n,function(e){o(l,e)}),l}},
vendor: 227 bytes, line 2
2"./node_modules/core-js/internals/shared-key.js":function(e,t,n){var r=n("./node_modules/core-js/internals/shared.js"),o=n("./node_modules/core-js/internals/uid.js"),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},
vendor: 538 bytes, line 2
2"./node_modules/core-js/internals/shared-store.js":function(e,t,n){var r=n("./node_modules/core-js/internals/is-pure.js"),o=n("./node_modules/core-js/internals/global-this.js"),i=n("./node_modules/core-js/internals/define-global-property.js"),a="__core-js_shared__",s=e.exports=o[a]||i(a,{});(s.versions||(s.versions=[])).push({version:"3.45.1",mode:r?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.45.1/LICENSE",source:"https://github.com/zloirock/core-js"})},
vendor: 173 bytes, line 2
2"./node_modules/core-js/internals/shared.js":function(e,t,n){var r=n("./node_modules/core-js/internals/shared-store.js");e.exports=function(e,t){return r[e]||(r[e]=t||{})}},
vendor: 414 bytes, line 2
2"./node_modules/core-js/internals/species-constructor.js":function(e,t,n){var r=n("./node_modules/core-js/internals/an-object.js"),o=n("./node_modules/core-js/internals/a-constructor.js"),i=n("./node_modules/core-js/internals/is-null-or-undefined.js"),a=n("./node_modules/core-js/internals/well-known-symbol.js")("species");e.exports=function(e,t){var n,s=r(e).constructor;return void 0===s||i(n=r(s)[a])?t:o(n)}},
vendor: 239 bytes, line 2
2"./node_modules/core-js/internals/string-html-forced.js":function(e,t,n){var r=n("./node_modules/core-js/internals/fails.js");e.exports=function(e){return r(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})}},
vendor: 632 bytes, line 2
2"./node_modules/core-js/internals/string-multibyte.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-uncurry-this.js"),o=n("./node_modules/core-js/internals/to-integer-or-infinity.js"),i=n("./node_modules/core-js/internals/to-string.js"),a=n("./node_modules/core-js/internals/require-object-coercible.js"),s=r("".charAt),l=r("".charCodeAt),c=r("".slice),A=function(e){return function(t,n){var r,A,u=i(a(t)),d=o(n),p=u.length;return d<0||d>=p?e?"":void 0:(r=l(u,d))<55296||r>56319||d+1===p||(A=l(u,d+1))<56320||A>57343?e?s(u,d):r:e?c(u,d,d+2):A-56320+(r-55296<<10)+65536}};e.exports={codeAt:A(!1),charAt:A(!0)}},
vendor: 524 bytes, line 2
2"./node_modules/core-js/internals/string-trim.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-uncurry-this.js"),o=n("./node_modules/core-js/internals/require-object-coercible.js"),i=n("./node_modules/core-js/internals/to-string.js"),a=n("./node_modules/core-js/internals/whitespaces.js"),s=r("".replace),l=RegExp("^["+a+"]+"),c=RegExp("(^|[^"+a+"])["+a+"]+$"),A=function(e){return function(t){var n=i(o(t));return 1&e&&(n=s(n,l,"")),2&e&&(n=s(n,c,"$1")),n}};e.exports={start:A(1),end:A(2),trim:A(3)}},
vendor: 422 bytes, line 2
2"./node_modules/core-js/internals/symbol-constructor-detection.js":function(e,t,n){var r=n("./node_modules/core-js/internals/environment-v8-version.js"),o=n("./node_modules/core-js/internals/fails.js"),i=n("./node_modules/core-js/internals/global-this.js").String;e.exports=!!Object.getOwnPropertySymbols&&!o(function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})},
vendor: 467 bytes, line 2
2"./node_modules/core-js/internals/symbol-define-to-primitive.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-call.js"),o=n("./node_modules/core-js/internals/get-built-in.js"),i=n("./node_modules/core-js/internals/well-known-symbol.js"),a=n("./node_modules/core-js/internals/define-built-in.js");e.exports=function(){var e=o("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,s=i("toPrimitive");t&&!t[s]&&a(t,s,function(e){return r(n,this)},{arity:1})}},
vendor: 200 bytes, line 2
2"./node_modules/core-js/internals/symbol-registry-detection.js":function(e,t,n){var r=n("./node_modules/core-js/internals/symbol-constructor-detection.js");e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},
vendor: 1,698 bytes, line 2
2"./node_modules/core-js/internals/task.js":function(e,t,n){var r,o,i,a,s=n("./node_modules/core-js/internals/global-this.js"),l=n("./node_modules/core-js/internals/function-apply.js"),c=n("./node_modules/core-js/internals/function-bind-context.js"),A=n("./node_modules/core-js/internals/is-callable.js"),u=n("./node_modules/core-js/internals/has-own-property.js"),d=n("./node_modules/core-js/internals/fails.js"),p=n("./node_modules/core-js/internals/html.js"),f=n("./node_modules/core-js/internals/array-slice.js"),h=n("./node_modules/core-js/internals/document-create-element.js"),m=n("./node_modules/core-js/internals/validate-arguments-length.js"),g=n("./node_modules/core-js/internals/environment-is-ios.js"),y=n("./node_modules/core-js/internals/environment-is-node.js"),w=s.setImmediate,v=s.clearImmediate,b=s.process,x=s.Dispatch,_=s.Function,B=s.MessageChannel,C=s.String,k=0,S={},j="onreadystatechange";d(function(){r=s.location});var E=function(e){if(u(S,e)){var t=S[e];delete S[e],t()}},F=function(e){return function(){E(e)}},N=function(e){E(e.data)},U=function(e){s.postMessage(C(e),r.protocol+"//"+r.host)};w&&v||(w=function(e){m(arguments.length,1);var t=A(e)?e:_(e),n=f(arguments,1);return S[++k]=function(){l(t,void 0,n)},o(k),k},v=function(e){delete S[e]},y?o=function(e){b.nextTick(F(e))}:x&&x.now?o=function(e){x.now(F(e))}:B&&!g?(a=(i=new B).port2,i.port1.onmessage=N,o=c(a.postMessage,a)):s.addEventListener&&A(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!d(U)?(o=U,s.addEventListener("message",N,!1)):o=j in h("script")?function(e){p.appendChild(h("script"))[j]=function(){p.removeChild(this),E(e)}}:function(e){setTimeout(F(e),0)}),e.exports={set:w,clear:v}},
vendor: 167 bytes, line 2
2"./node_modules/core-js/internals/this-number-value.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-uncurry-this.js");e.exports=r(1.1.valueOf)},
vendor: 228 bytes, line 2
2"./node_modules/core-js/internals/to-absolute-index.js":function(e,t,n){var r=n("./node_modules/core-js/internals/to-integer-or-infinity.js"),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},
vendor: 241 bytes, line 2
2"./node_modules/core-js/internals/to-indexed-object.js":function(e,t,n){var r=n("./node_modules/core-js/internals/indexed-object.js"),o=n("./node_modules/core-js/internals/require-object-coercible.js");e.exports=function(e){return r(o(e))}},
vendor: 194 bytes, line 2
2"./node_modules/core-js/internals/to-integer-or-infinity.js":function(e,t,n){var r=n("./node_modules/core-js/internals/math-trunc.js");e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},
vendor: 215 bytes, line 2
2"./node_modules/core-js/internals/to-length.js":function(e,t,n){var r=n("./node_modules/core-js/internals/to-integer-or-infinity.js"),o=Math.min;e.exports=function(e){var t=r(e);return t>0?o(t,9007199254740991):0}},
vendor: 184 bytes, line 2
2"./node_modules/core-js/internals/to-object.js":function(e,t,n){var r=n("./node_modules/core-js/internals/require-object-coercible.js"),o=Object;e.exports=function(e){return o(r(e))}},
vendor: 671 bytes, line 2
2"./node_modules/core-js/internals/to-primitive.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-call.js"),o=n("./node_modules/core-js/internals/is-object.js"),i=n("./node_modules/core-js/internals/is-symbol.js"),a=n("./node_modules/core-js/internals/get-method.js"),s=n("./node_modules/core-js/internals/ordinary-to-primitive.js"),l=n("./node_modules/core-js/internals/well-known-symbol.js"),c=TypeError,A=l("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var n,l=a(e,A);if(l){if(void 0===t&&(t="default"),n=r(l,e,t),!o(n)||i(n))return n;throw new c("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},
vendor: 246 bytes, line 2
2"./node_modules/core-js/internals/to-property-key.js":function(e,t,n){var r=n("./node_modules/core-js/internals/to-primitive.js"),o=n("./node_modules/core-js/internals/is-symbol.js");e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},
vendor: 423 bytes, line 2
2"./node_modules/core-js/internals/to-set-like.js":function(e,t,n){var r=n("./node_modules/core-js/internals/get-built-in.js"),o=n("./node_modules/core-js/internals/is-callable.js"),i=n("./node_modules/core-js/internals/is-iterable.js"),a=n("./node_modules/core-js/internals/is-object.js"),s=r("Set");e.exports=function(e){return function(e){return a(e)&&"number"==typeof e.size&&o(e.has)&&o(e.keys)}(e)?e:i(e)?new s(e):e}},
vendor: 202 bytes, line 2
2"./node_modules/core-js/internals/to-string-tag-support.js":function(e,t,n){var r={};r[n("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag")]="z",e.exports="[object z]"===String(r)},
vendor: 248 bytes, line 2
2"./node_modules/core-js/internals/to-string.js":function(e,t,n){var r=n("./node_modules/core-js/internals/classof.js"),o=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},
vendor: 142 bytes, line 2
2"./node_modules/core-js/internals/try-to-string.js":function(e){var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},
vendor: 240 bytes, line 2
2"./node_modules/core-js/internals/uid.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-uncurry-this.js"),o=0,i=Math.random(),a=r(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},
vendor: 209 bytes, line 2
2"./node_modules/core-js/internals/use-symbol-as-uid.js":function(e,t,n){var r=n("./node_modules/core-js/internals/symbol-constructor-detection.js");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},
vendor: 308 bytes, line 2
2"./node_modules/core-js/internals/v8-prototype-define-bug.js":function(e,t,n){var r=n("./node_modules/core-js/internals/descriptors.js"),o=n("./node_modules/core-js/internals/fails.js");e.exports=r&&o(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},
vendor: 170 bytes, line 2
2"./node_modules/core-js/internals/validate-arguments-length.js":function(e){var t=TypeError;e.exports=function(e,n){if(e<n)throw new t("Not enough arguments");return e}},
vendor: 252 bytes, line 2
2"./node_modules/core-js/internals/weak-map-basic-detection.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global-this.js"),o=n("./node_modules/core-js/internals/is-callable.js"),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},
vendor: 412 bytes, line 2
2"./node_modules/core-js/internals/well-known-symbol-define.js":function(e,t,n){var r=n("./node_modules/core-js/internals/path.js"),o=n("./node_modules/core-js/internals/has-own-property.js"),i=n("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),a=n("./node_modules/core-js/internals/object-define-property.js").f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},
vendor: 152 bytes, line 2
2"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(e,t,n){var r=n("./node_modules/core-js/internals/well-known-symbol.js");t.f=r},
vendor: 559 bytes, line 2
2"./node_modules/core-js/internals/well-known-symbol.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global-this.js"),o=n("./node_modules/core-js/internals/shared.js"),i=n("./node_modules/core-js/internals/has-own-property.js"),a=n("./node_modules/core-js/internals/uid.js"),s=n("./node_modules/core-js/internals/symbol-constructor-detection.js"),l=n("./node_modules/core-js/internals/use-symbol-as-uid.js"),c=r.Symbol,A=o("wks"),u=l?c.for||c:c&&c.withoutSetter||a;e.exports=function(e){return i(A,e)||(A[e]=s&&i(c,e)?c[e]:u("Symbol."+e)),A[e]}},
vendor: 152 bytes, line 2
2"./node_modules/core-js/internals/whitespaces.js":function(e){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},
vendor: 1,239 bytes, line 2
2"./node_modules/core-js/modules/es.array.concat.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/fails.js"),i=n("./node_modules/core-js/internals/is-array.js"),a=n("./node_modules/core-js/internals/is-object.js"),s=n("./node_modules/core-js/internals/to-object.js"),l=n("./node_modules/core-js/internals/length-of-array-like.js"),c=n("./node_modules/core-js/internals/does-not-exceed-safe-integer.js"),A=n("./node_modules/core-js/internals/create-property.js"),u=n("./node_modules/core-js/internals/array-species-create.js"),d=n("./node_modules/core-js/internals/array-method-has-species-support.js"),p=n("./node_modules/core-js/internals/well-known-symbol.js"),f=n("./node_modules/core-js/internals/environment-v8-version.js"),h=p("isConcatSpreadable"),m=f>=51||!o(function(){var e=[];return e[h]=!1,e.concat()[0]!==e}),g=function(e){if(!a(e))return!1;var t=e[h];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,arity:1,forced:!m||!d("concat")},{concat:function(e){var t,n,r,o,i,a=s(this),d=u(a,0),p=0;for(t=-1,r=arguments.length;t<r;t++)if(g(i=-1===t?a:arguments[t]))for(o=l(i),c(p+o),n=0;n<o;n++,p++)n in i&&A(d,p,i[n]);else c(p+1),A(d,p++,i);return d.length=p,d}})},
vendor: 320 bytes, line 2
2"./node_modules/core-js/modules/es.array.from.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/array-from.js");r({target:"Array",stat:!0,forced:!n("./node_modules/core-js/internals/check-correctness-of-iteration.js")(function(e){Array.from(e)})},{from:o})},
vendor: 1,079 bytes, line 2
2"./node_modules/core-js/modules/es.array.iterator.js":function(e,t,n){var r=n("./node_modules/core-js/internals/to-indexed-object.js"),o=n("./node_modules/core-js/internals/add-to-unscopables.js"),i=n("./node_modules/core-js/internals/iterators.js"),a=n("./node_modules/core-js/internals/internal-state.js"),s=n("./node_modules/core-js/internals/object-define-property.js").f,l=n("./node_modules/core-js/internals/iterator-define.js"),c=n("./node_modules/core-js/internals/create-iter-result-object.js"),A=n("./node_modules/core-js/internals/is-pure.js"),u=n("./node_modules/core-js/internals/descriptors.js"),d="Array Iterator",p=a.set,f=a.getterFor(d);e.exports=l(Array,"Array",function(e,t){p(this,{type:d,target:r(e),index:0,kind:t})},function(){var e=f(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=null,c(void 0,!0);switch(e.kind){case"keys":return c(n,!1);case"values":return c(t[n],!1)}return c([n,t[n]],!1)},"values");var h=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!A&&u&&"values"!==h.name)try{s(h,"name",{value:"values"})}catch(e){}},
vendor: 502 bytes, line 2
2"./node_modules/core-js/modules/es.array.join.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/function-uncurry-this.js"),i=n("./node_modules/core-js/internals/indexed-object.js"),a=n("./node_modules/core-js/internals/to-indexed-object.js"),s=n("./node_modules/core-js/internals/array-method-is-strict.js"),l=o([].join);r({target:"Array",proto:!0,forced:i!==Object||!s("join",",")},{join:function(e){return l(a(this),void 0===e?",":e)}})},
vendor: 376 bytes, line 2
2"./node_modules/core-js/modules/es.array.map.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/array-iteration.js").map;r({target:"Array",proto:!0,forced:!n("./node_modules/core-js/internals/array-method-has-species-support.js")("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},
vendor: 1,109 bytes, line 2
2"./node_modules/core-js/modules/es.array.slice.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/is-array.js"),i=n("./node_modules/core-js/internals/is-constructor.js"),a=n("./node_modules/core-js/internals/is-object.js"),s=n("./node_modules/core-js/internals/to-absolute-index.js"),l=n("./node_modules/core-js/internals/length-of-array-like.js"),c=n("./node_modules/core-js/internals/to-indexed-object.js"),A=n("./node_modules/core-js/internals/create-property.js"),u=n("./node_modules/core-js/internals/well-known-symbol.js"),d=n("./node_modules/core-js/internals/array-method-has-species-support.js"),p=n("./node_modules/core-js/internals/array-slice.js"),f=d("slice"),h=u("species"),m=Array,g=Math.max;r({target:"Array",proto:!0,forced:!f},{slice:function(e,t){var n,r,u,d=c(this),f=l(d),y=s(e,f),w=s(void 0===t?f:t,f);if(o(d)&&(n=d.constructor,(i(n)&&(n===m||o(n.prototype))||a(n)&&null===(n=n[h]))&&(n=void 0),n===m||void 0===n))return p(d,y,w);for(r=new(void 0===n?m:n)(g(w-y,0)),u=0;y<w;y++,u++)y in d&&A(r,u,d[y]);return r.length=u,r}})},
vendor: 543 bytes, line 2
2"./node_modules/core-js/modules/es.function.name.js":function(e,t,n){var r=n("./node_modules/core-js/internals/descriptors.js"),o=n("./node_modules/core-js/internals/function-name.js").EXISTS,i=n("./node_modules/core-js/internals/function-uncurry-this.js"),a=n("./node_modules/core-js/internals/define-built-in-accessor.js"),s=Function.prototype,l=i(s.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,A=i(c.exec);r&&!o&&a(s,"name",{configurable:!0,get:function(){try{return A(c,l(this))[1]}catch(e){return""}}})},
vendor: 1,426 bytes, line 2
2"./node_modules/core-js/modules/es.iterator.constructor.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/global-this.js"),i=n("./node_modules/core-js/internals/an-instance.js"),a=n("./node_modules/core-js/internals/an-object.js"),s=n("./node_modules/core-js/internals/is-callable.js"),l=n("./node_modules/core-js/internals/object-get-prototype-of.js"),c=n("./node_modules/core-js/internals/define-built-in-accessor.js"),A=n("./node_modules/core-js/internals/create-property.js"),u=n("./node_modules/core-js/internals/fails.js"),d=n("./node_modules/core-js/internals/has-own-property.js"),p=n("./node_modules/core-js/internals/well-known-symbol.js"),f=n("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,h=n("./node_modules/core-js/internals/descriptors.js"),m=n("./node_modules/core-js/internals/is-pure.js"),g="constructor",y="Iterator",w=p("toStringTag"),v=TypeError,b=o[y],x=m||!s(b)||b.prototype!==f||!u(function(){b({})}),_=function(){if(i(this,f),l(this)===f)throw new v("Abstract class Iterator not directly constructable")},B=function(e,t){h?c(f,e,{configurable:!0,get:function(){return t},set:function(t){if(a(this),this===f)throw new v("You can't redefine this property");d(this,e)?this[e]=t:A(this,e,t)}}):f[e]=t};d(f,w)||B(w,y),!x&&d(f,g)&&f[g]!==Object||B(g,_),_.prototype=f,r({global:!0,constructor:!0,forced:x},{Iterator:_})},
vendor: 775 bytes, line 2
2"./node_modules/core-js/modules/es.iterator.for-each.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/function-call.js"),i=n("./node_modules/core-js/internals/iterate.js"),a=n("./node_modules/core-js/internals/a-callable.js"),s=n("./node_modules/core-js/internals/an-object.js"),l=n("./node_modules/core-js/internals/get-iterator-direct.js"),c=n("./node_modules/core-js/internals/iterator-close.js"),A=n("./node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js")("forEach",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:A},{forEach:function(e){s(this);try{a(e)}catch(e){c(this,"throw",e)}if(A)return o(A,this,e);var t=l(this),n=0;i(t,function(t){e(t,n++)},{IS_RECORD:!0})}})},
vendor: 1,137 bytes, line 2
2"./node_modules/core-js/modules/es.iterator.map.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/function-call.js"),i=n("./node_modules/core-js/internals/a-callable.js"),a=n("./node_modules/core-js/internals/an-object.js"),s=n("./node_modules/core-js/internals/get-iterator-direct.js"),l=n("./node_modules/core-js/internals/iterator-create-proxy.js"),c=n("./node_modules/core-js/internals/call-with-safe-iteration-closing.js"),A=n("./node_modules/core-js/internals/iterator-close.js"),u=n("./node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js"),d=n("./node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js"),p=n("./node_modules/core-js/internals/is-pure.js"),f=!p&&!u("map",function(){}),h=!p&&!f&&d("map",TypeError),m=p||f||h,g=l(function(){var e=this.iterator,t=a(o(this.next,e));if(!(this.done=!!t.done))return c(e,this.mapper,[t.value,this.counter++],!0)});r({target:"Iterator",proto:!0,real:!0,forced:m},{map:function(e){a(this);try{i(e)}catch(e){A(this,"throw",e)}return h?o(h,this,e):new g(s(this),{mapper:e})}})},
vendor: 1,524 bytes, line 2
2"./node_modules/core-js/modules/es.json.stringify.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/get-built-in.js"),i=n("./node_modules/core-js/internals/function-apply.js"),a=n("./node_modules/core-js/internals/function-call.js"),s=n("./node_modules/core-js/internals/function-uncurry-this.js"),l=n("./node_modules/core-js/internals/fails.js"),c=n("./node_modules/core-js/internals/is-callable.js"),A=n("./node_modules/core-js/internals/is-symbol.js"),u=n("./node_modules/core-js/internals/array-slice.js"),d=n("./node_modules/core-js/internals/get-json-replacer-function.js"),p=n("./node_modules/core-js/internals/symbol-constructor-detection.js"),f=String,h=o("JSON","stringify"),m=s(/./.exec),g=s("".charAt),y=s("".charCodeAt),w=s("".replace),v=s(1.1.toString),b=/[\uD800-\uDFFF]/g,x=/^[\uD800-\uDBFF]$/,_=/^[\uDC00-\uDFFF]$/,B=!p||l(function(){var e=o("Symbol")("stringify detection");return"[null]"!==h([e])||"{}"!==h({a:e})||"{}"!==h(Object(e))}),C=l(function(){return'"\\udf06\\ud834"'!==h("\udf06\ud834")||'"\\udead"'!==h("\udead")}),k=function(e,t){var n=u(arguments),r=d(t);if(c(r)||void 0!==e&&!A(e))return n[1]=function(e,t){if(c(r)&&(t=a(r,this,f(e),t)),!A(t))return t},i(h,null,n)},S=function(e,t,n){var r=g(n,t-1),o=g(n,t+1);return m(x,e)&&!m(_,o)||m(_,e)&&!m(x,r)?"\\u"+v(y(e,0),16):e};h&&r({target:"JSON",stat:!0,arity:3,forced:B||C},{stringify:function(e,t,n){var r=u(arguments),o=i(B?k:h,null,r);return C&&"string"==typeof o?w(o,b,S):o}})},
vendor: 2,297 bytes, line 2
2"./node_modules/core-js/modules/es.number.constructor.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/is-pure.js"),i=n("./node_modules/core-js/internals/descriptors.js"),a=n("./node_modules/core-js/internals/global-this.js"),s=n("./node_modules/core-js/internals/path.js"),l=n("./node_modules/core-js/internals/function-uncurry-this.js"),c=n("./node_modules/core-js/internals/is-forced.js"),A=n("./node_modules/core-js/internals/has-own-property.js"),u=n("./node_modules/core-js/internals/inherit-if-required.js"),d=n("./node_modules/core-js/internals/object-is-prototype-of.js"),p=n("./node_modules/core-js/internals/is-symbol.js"),f=n("./node_modules/core-js/internals/to-primitive.js"),h=n("./node_modules/core-js/internals/fails.js"),m=n("./node_modules/core-js/internals/object-get-own-property-names.js").f,g=n("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,y=n("./node_modules/core-js/internals/object-define-property.js").f,w=n("./node_modules/core-js/internals/this-number-value.js"),v=n("./node_modules/core-js/internals/string-trim.js").trim,b="Number",x=a[b],_=s[b],B=x.prototype,C=a.TypeError,k=l("".slice),S=l("".charCodeAt),j=c(b,!x(" 0o1")||!x("0b1")||x("+0x1")),E=function(e){var t,n=arguments.length<1?0:x(function(e){var t=f(e,"number");return"bigint"==typeof t?t:function(e){var t,n,r,o,i,a,s,l,c=f(e,"number");if(p(c))throw new C("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=v(c),43===(t=S(c,0))||45===t){if(88===(n=S(c,2))||120===n)return NaN}else if(48===t){switch(S(c,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+c}for(a=(i=k(c,2)).length,s=0;s<a;s++)if((l=S(i,s))<48||l>o)return NaN;return parseInt(i,r)}return+c}(t)}(e));return d(B,t=this)&&h(function(){w(t)})?u(Object(n),this,E):n};E.prototype=B,j&&!o&&(B.constructor=E),r({global:!0,constructor:!0,wrap:!0,forced:j},{Number:E});var F=function(e,t){for(var n,r=i?m(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;r.length>o;o++)A(t,n=r[o])&&!A(e,n)&&y(e,n,g(t,n))};o&&_&&F(s[b],_),(j||o)&&F(s[b],x)},
vendor: 254 bytes, line 2
2"./node_modules/core-js/modules/es.object.assign.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/object-assign.js");r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},
vendor: 520 bytes, line 2
2"./node_modules/core-js/modules/es.object.get-own-property-symbols.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/symbol-constructor-detection.js"),i=n("./node_modules/core-js/internals/fails.js"),a=n("./node_modules/core-js/internals/object-get-own-property-symbols.js"),s=n("./node_modules/core-js/internals/to-object.js");r({target:"Object",stat:!0,forced:!o||i(function(){a.f(1)})},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(s(e)):[]}})},
vendor: 366 bytes, line 2
2"./node_modules/core-js/modules/es.object.keys.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/to-object.js"),i=n("./node_modules/core-js/internals/object-keys.js");r({target:"Object",stat:!0,forced:n("./node_modules/core-js/internals/fails.js")(function(){i(1)})},{keys:function(e){return i(o(e))}})},
vendor: 309 bytes, line 2
2"./node_modules/core-js/modules/es.object.to-string.js":function(e,t,n){var r=n("./node_modules/core-js/internals/to-string-tag-support.js"),o=n("./node_modules/core-js/internals/define-built-in.js"),i=n("./node_modules/core-js/internals/object-to-string.js");r||o(Object.prototype,"toString",i,{unsafe:!0})},
vendor: 767 bytes, line 2
2"./node_modules/core-js/modules/es.promise.all.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/function-call.js"),i=n("./node_modules/core-js/internals/a-callable.js"),a=n("./node_modules/core-js/internals/new-promise-capability.js"),s=n("./node_modules/core-js/internals/perform.js"),l=n("./node_modules/core-js/internals/iterate.js");r({target:"Promise",stat:!0,forced:n("./node_modules/core-js/internals/promise-statics-incorrect-iteration.js")},{all:function(e){var t=this,n=a.f(t),r=n.resolve,c=n.reject,A=s(function(){var n=i(t.resolve),a=[],s=0,A=1;l(e,function(e){var i=s++,l=!1;A++,o(n,t,e).then(function(e){l||(l=!0,a[i]=e,--A||r(a))},c)}),--A||r(a)});return A.error&&c(A.value),n.promise}})},
vendor: 702 bytes, line 2
2"./node_modules/core-js/modules/es.promise.catch.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/is-pure.js"),i=n("./node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR,a=n("./node_modules/core-js/internals/promise-native-constructor.js"),s=n("./node_modules/core-js/internals/get-built-in.js"),l=n("./node_modules/core-js/internals/is-callable.js"),c=n("./node_modules/core-js/internals/define-built-in.js"),A=a&&a.prototype;if(r({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(e){return this.then(void 0,e)}}),!o&&l(a)){var u=s("Promise").prototype.catch;A.catch!==u&&c(A,"catch",u,{unsafe:!0})}},
vendor: 3,999 bytes, line 2
2"./node_modules/core-js/modules/es.promise.constructor.js":function(e,t,n){var r,o,i,a,s=n("./node_modules/core-js/internals/export.js"),l=n("./node_modules/core-js/internals/is-pure.js"),c=n("./node_modules/core-js/internals/environment-is-node.js"),A=n("./node_modules/core-js/internals/global-this.js"),u=n("./node_modules/core-js/internals/path.js"),d=n("./node_modules/core-js/internals/function-call.js"),p=n("./node_modules/core-js/internals/define-built-in.js"),f=n("./node_modules/core-js/internals/object-set-prototype-of.js"),h=n("./node_modules/core-js/internals/set-to-string-tag.js"),m=n("./node_modules/core-js/internals/set-species.js"),g=n("./node_modules/core-js/internals/a-callable.js"),y=n("./node_modules/core-js/internals/is-callable.js"),w=n("./node_modules/core-js/internals/is-object.js"),v=n("./node_modules/core-js/internals/an-instance.js"),b=n("./node_modules/core-js/internals/species-constructor.js"),x=n("./node_modules/core-js/internals/task.js").set,_=n("./node_modules/core-js/internals/microtask.js"),B=n("./node_modules/core-js/internals/host-report-errors.js"),C=n("./node_modules/core-js/internals/perform.js"),k=n("./node_modules/core-js/internals/queue.js"),S=n("./node_modules/core-js/internals/internal-state.js"),j=n("./node_modules/core-js/internals/promise-native-constructor.js"),E=n("./node_modules/core-js/internals/promise-constructor-detection.js"),F=n("./node_modules/core-js/internals/new-promise-capability.js"),N="Promise",U=E.CONSTRUCTOR,L=E.REJECTION_EVENT,I=E.SUBCLASSING,P=S.getterFor(N),Q=S.set,T=j&&j.prototype,D=j,O=T,R=A.TypeError,M=A.document,H=A.process,z=F.f,K=z,$=!!(M&&M.createEvent&&A.dispatchEvent),V="unhandledrejection",q=function(e){var t;return!(!w(e)||!y(t=e.then))&&t},W=function(e,t){var n,r,o,i=t.value,a=1===t.state,s=a?e.ok:e.fail,l=e.resolve,c=e.reject,A=e.domain;try{s?(a||(2===t.rejection&&Z(t),t.rejection=1),!0===s?n=i:(A&&A.enter(),n=s(i),A&&(A.exit(),o=!0)),n===e.promise?c(new R("Promise-chain cycle")):(r=q(n))?d(r,n,l,c):l(n)):c(i)}catch(e){A&&!o&&A.exit(),c(e)}},G=function(e,t){e.notified||(e.notified=!0,_(function(){for(var n,r=e.reactions;n=r.get();)W(n,e);e.notified=!1,t&&!e.rejection&&X(e)}))},Y=function(e,t,n){var r,o;$?((r=M.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),A.dispatchEvent(r)):r={promise:t,reason:n},!L&&(o=A["on"+e])?o(r):e===V&&B("Unhandled promise rejection",n)},X=function(e){d(x,A,function(){var t,n=e.facade,r=e.value;if(J(e)&&(t=C(function(){c?H.emit("unhandledRejection",r,n):Y(V,n,r)}),e.rejection=c||J(e)?2:1,t.error))throw t.value})},J=function(e){return 1!==e.rejection&&!e.parent},Z=function(e){d(x,A,function(){var t=e.facade;c?H.emit("rejectionHandled",t):Y("rejectionhandled",t,e.value)})},ee=function(e,t,n){return function(r){e(t,r,n)}},te=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,G(e,!0))},ne=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw new R("Promise can't be resolved itself");var r=q(t);r?_(function(){var n={done:!1};try{d(r,t,ee(ne,n,e),ee(te,n,e))}catch(t){te(n,t,e)}}):(e.value=t,e.state=1,G(e,!1))}catch(t){te({done:!1},t,e)}}};if(U&&(O=(D=function(e){v(this,O),g(e),d(r,this);var t=P(this);try{e(ee(ne,t),ee(te,t))}catch(e){te(t,e)}}).prototype,(r=function(e){Q(this,{type:N,done:!1,notified:!1,parent:!1,reactions:new k,rejection:!1,state:0,value:null})}).prototype=p(O,"then",function(e,t){var n=P(this),r=z(b(this,D));return n.parent=!0,r.ok=!y(e)||e,r.fail=y(t)&&t,r.domain=c?H.domain:void 0,0===n.state?n.reactions.add(r):_(function(){W(r,n)}),r.promise}),o=function(){var e=new r,t=P(e);this.promise=e,this.resolve=ee(ne,t),this.reject=ee(te,t)},F.f=z=function(e){return e===D||e===i?new o(e):K(e)},!l&&y(j)&&T!==Object.prototype)){a=T.then,I||p(T,"then",function(e,t){var n=this;return new D(function(e,t){d(a,n,e,t)}).then(e,t)},{unsafe:!0});try{delete T.constructor}catch(e){}f&&f(T,O)}s({global:!0,constructor:!0,wrap:!0,forced:U},{Promise:D}),i=u.Promise,h(D,N,!1,!0),m(N)},
vendor: 406 bytes, line 2
2"./node_modules/core-js/modules/es.promise.js":function(e,t,n){n("./node_modules/core-js/modules/es.promise.constructor.js"),n("./node_modules/core-js/modules/es.promise.all.js"),n("./node_modules/core-js/modules/es.promise.catch.js"),n("./node_modules/core-js/modules/es.promise.race.js"),n("./node_modules/core-js/modules/es.promise.reject.js"),n("./node_modules/core-js/modules/es.promise.resolve.js")},
vendor: 685 bytes, line 2
2"./node_modules/core-js/modules/es.promise.race.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/function-call.js"),i=n("./node_modules/core-js/internals/a-callable.js"),a=n("./node_modules/core-js/internals/new-promise-capability.js"),s=n("./node_modules/core-js/internals/perform.js"),l=n("./node_modules/core-js/internals/iterate.js");r({target:"Promise",stat:!0,forced:n("./node_modules/core-js/internals/promise-statics-incorrect-iteration.js")},{race:function(e){var t=this,n=a.f(t),r=n.reject,c=s(function(){var a=i(t.resolve);l(e,function(e){o(a,t,e).then(n.resolve,r)})});return c.error&&r(c.value),n.promise}})},
vendor: 381 bytes, line 2
2"./node_modules/core-js/modules/es.promise.reject.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/new-promise-capability.js");r({target:"Promise",stat:!0,forced:n("./node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR},{reject:function(e){var t=o.f(this);return(0,t.reject)(e),t.promise}})},
vendor: 566 bytes, line 2
2"./node_modules/core-js/modules/es.promise.resolve.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/get-built-in.js"),i=n("./node_modules/core-js/internals/is-pure.js"),a=n("./node_modules/core-js/internals/promise-native-constructor.js"),s=n("./node_modules/core-js/internals/promise-constructor-detection.js").CONSTRUCTOR,l=n("./node_modules/core-js/internals/promise-resolve.js"),c=o("Promise"),A=i&&!s;r({target:"Promise",stat:!0,forced:i||s},{resolve:function(e){return l(A&&this===c?a:this,e)}})},
vendor: 236 bytes, line 2
2"./node_modules/core-js/modules/es.regexp.exec.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/regexp-exec.js");r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},
vendor: 668 bytes, line 2
2"./node_modules/core-js/modules/es.regexp.test.js":function(e,t,n){n("./node_modules/core-js/modules/es.regexp.exec.js");var r,o,i=n("./node_modules/core-js/internals/export.js"),a=n("./node_modules/core-js/internals/function-call.js"),s=n("./node_modules/core-js/internals/is-callable.js"),l=n("./node_modules/core-js/internals/an-object.js"),c=n("./node_modules/core-js/internals/to-string.js"),A=(r=!1,(o=/[ac]/).exec=function(){return r=!0,/./.exec.apply(this,arguments)},!0===o.test("abc")&&r),u=/./.test;i({target:"RegExp",proto:!0,forced:!A},{test:function(e){var t=l(this),n=c(e),r=t.exec;if(!s(r))return a(u,t,n);var o=a(r,t,n);return null!==o&&(l(o),!0)}})},
vendor: 620 bytes, line 2
2"./node_modules/core-js/modules/es.regexp.to-string.js":function(e,t,n){var r=n("./node_modules/core-js/internals/function-name.js").PROPER,o=n("./node_modules/core-js/internals/define-built-in.js"),i=n("./node_modules/core-js/internals/an-object.js"),a=n("./node_modules/core-js/internals/to-string.js"),s=n("./node_modules/core-js/internals/fails.js"),l=n("./node_modules/core-js/internals/regexp-get-flags.js"),c="toString",A=RegExp.prototype,u=A[c],d=s(function(){return"/a/b"!==u.call({source:"a",flags:"b"})}),p=r&&u.name!==c;(d||p)&&o(A,c,function(){var e=i(this);return"/"+a(e.source)+"/"+a(l(e))},{unsafe:!0})},
vendor: 274 bytes, line 2
2"./node_modules/core-js/modules/es.set.constructor.js":function(e,t,n){n("./node_modules/core-js/internals/collection.js")("Set",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},n("./node_modules/core-js/internals/collection-strong.js"))},
vendor: 118 bytes, line 2
2"./node_modules/core-js/modules/es.set.js":function(e,t,n){n("./node_modules/core-js/modules/es.set.constructor.js")},
vendor: 614 bytes, line 2
2"./node_modules/core-js/modules/es.string.iterator.js":function(e,t,n){var r=n("./node_modules/core-js/internals/string-multibyte.js").charAt,o=n("./node_modules/core-js/internals/to-string.js"),i=n("./node_modules/core-js/internals/internal-state.js"),a=n("./node_modules/core-js/internals/iterator-define.js"),s=n("./node_modules/core-js/internals/create-iter-result-object.js"),l="String Iterator",c=i.set,A=i.getterFor(l);a(String,"String",function(e){c(this,{type:l,string:o(e),index:0})},function(){var e,t=A(this),n=t.string,o=t.index;return o>=n.length?s(void 0,!0):(e=r(n,o),t.index+=e.length,s(e,!1))})},
vendor: 330 bytes, line 2
2"./node_modules/core-js/modules/es.string.link.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/create-html.js");r({target:"String",proto:!0,forced:n("./node_modules/core-js/internals/string-html-forced.js")("link")},{link:function(e){return o(this,"a","href",e)}})},
vendor: 4,811 bytes, line 2
2"./node_modules/core-js/modules/es.symbol.constructor.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/global-this.js"),i=n("./node_modules/core-js/internals/function-call.js"),a=n("./node_modules/core-js/internals/function-uncurry-this.js"),s=n("./node_modules/core-js/internals/is-pure.js"),l=n("./node_modules/core-js/internals/descriptors.js"),c=n("./node_modules/core-js/internals/symbol-constructor-detection.js"),A=n("./node_modules/core-js/internals/fails.js"),u=n("./node_modules/core-js/internals/has-own-property.js"),d=n("./node_modules/core-js/internals/object-is-prototype-of.js"),p=n("./node_modules/core-js/internals/an-object.js"),f=n("./node_modules/core-js/internals/to-indexed-object.js"),h=n("./node_modules/core-js/internals/to-property-key.js"),m=n("./node_modules/core-js/internals/to-string.js"),g=n("./node_modules/core-js/internals/create-property-descriptor.js"),y=n("./node_modules/core-js/internals/object-create.js"),w=n("./node_modules/core-js/internals/object-keys.js"),v=n("./node_modules/core-js/internals/object-get-own-property-names.js"),b=n("./node_modules/core-js/internals/object-get-own-property-names-external.js"),x=n("./node_modules/core-js/internals/object-get-own-property-symbols.js"),_=n("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),B=n("./node_modules/core-js/internals/object-define-property.js"),C=n("./node_modules/core-js/internals/object-define-properties.js"),k=n("./node_modules/core-js/internals/object-property-is-enumerable.js"),S=n("./node_modules/core-js/internals/define-built-in.js"),j=n("./node_modules/core-js/internals/define-built-in-accessor.js"),E=n("./node_modules/core-js/internals/shared.js"),F=n("./node_modules/core-js/internals/shared-key.js"),N=n("./node_modules/core-js/internals/hidden-keys.js"),U=n("./node_modules/core-js/internals/uid.js"),L=n("./node_modules/core-js/internals/well-known-symbol.js"),I=n("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),P=n("./node_modules/core-js/internals/well-known-symbol-define.js"),Q=n("./node_modules/core-js/internals/symbol-define-to-primitive.js"),T=n("./node_modules/core-js/internals/set-to-string-tag.js"),D=n("./node_modules/core-js/internals/internal-state.js"),O=n("./node_modules/core-js/internals/array-iteration.js").forEach,R=F("hidden"),M="Symbol",H="prototype",z=D.set,K=D.getterFor(M),$=Object[H],V=o.Symbol,q=V&&V[H],W=o.RangeError,G=o.TypeError,Y=o.QObject,X=_.f,J=B.f,Z=b.f,ee=k.f,te=a([].push),ne=E("symbols"),re=E("op-symbols"),oe=E("wks"),ie=!Y||!Y[H]||!Y[H].findChild,ae=function(e,t,n){var r=X($,t);r&&delete $[t],J(e,t,n),r&&e!==$&&J($,t,r)},se=l&&A(function(){return 7!==y(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a})?ae:J,le=function(e,t){var n=ne[e]=y(q);return z(n,{type:M,tag:e,description:t}),l||(n.description=t),n},ce=function(e,t,n){e===$&&ce(re,t,n),p(e);var r=h(t);return p(n),u(ne,r)?(n.enumerable?(u(e,R)&&e[R][r]&&(e[R][r]=!1),n=y(n,{enumerable:g(0,!1)})):(u(e,R)||J(e,R,g(1,y(null))),e[R][r]=!0),se(e,r,n)):J(e,r,n)},Ae=function(e,t){p(e);var n=f(t),r=w(n).concat(fe(n));return O(r,function(t){l&&!i(ue,n,t)||ce(e,t,n[t])}),e},ue=function(e){var t=h(e),n=i(ee,this,t);return!(this===$&&u(ne,t)&&!u(re,t))&&(!(n||!u(this,t)||!u(ne,t)||u(this,R)&&this[R][t])||n)},de=function(e,t){var n=f(e),r=h(t);if(n!==$||!u(ne,r)||u(re,r)){var o=X(n,r);return!o||!u(ne,r)||u(n,R)&&n[R][r]||(o.enumerable=!0),o}},pe=function(e){var t=Z(f(e)),n=[];return O(t,function(e){u(ne,e)||u(N,e)||te(n,e)}),n},fe=function(e){var t=e===$,n=Z(t?re:f(e)),r=[];return O(n,function(e){!u(ne,e)||t&&!u($,e)||te(r,ne[e])}),r};c||(V=function(){if(d(q,this))throw new G("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?m(arguments[0]):void 0,t=U(e),n=function(e){var r=void 0===this?o:this;r===$&&i(n,re,e),u(r,R)&&u(r[R],t)&&(r[R][t]=!1);var a=g(1,e);try{se(r,t,a)}catch(e){if(!(e instanceof W))throw e;ae(r,t,a)}};return l&&ie&&se($,t,{configurable:!0,set:n}),le(t,e)},S(q=V[H],"toString",function(){return K(this).tag}),S(V,"withoutSetter",function(e){return le(U(e),e)}),k.f=ue,B.f=ce,C.f=Ae,_.f=de,v.f=b.f=pe,x.f=fe,I.f=function(e){return le(L(e),e)},l&&(j(q,"description",{configurable:!0,get:function(){return K(this).description}}),s||S($,"propertyIsEnumerable",ue,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:V}),O(w(oe),function(e){P(e)}),r({target:M,stat:!0,forced:!c},{useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!l},{create:function(e,t){return void 0===t?y(e):Ae(y(e),t)},defineProperty:ce,defineProperties:Ae,getOwnPropertyDescriptor:de}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:pe}),Q(),T(V,M),N[R]=!0},
vendor: 1,324 bytes, line 2
2"./node_modules/core-js/modules/es.symbol.description.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/descriptors.js"),i=n("./node_modules/core-js/internals/global-this.js"),a=n("./node_modules/core-js/internals/function-uncurry-this.js"),s=n("./node_modules/core-js/internals/has-own-property.js"),l=n("./node_modules/core-js/internals/is-callable.js"),c=n("./node_modules/core-js/internals/object-is-prototype-of.js"),A=n("./node_modules/core-js/internals/to-string.js"),u=n("./node_modules/core-js/internals/define-built-in-accessor.js"),d=n("./node_modules/core-js/internals/copy-constructor-properties.js"),p=i.Symbol,f=p&&p.prototype;if(o&&l(p)&&(!("description"in f)||void 0!==p().description)){var h={},m=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:A(arguments[0]),t=c(f,this)?new p(e):void 0===e?p():p(e);return""===e&&(h[t]=!0),t};d(m,p),m.prototype=f,f.constructor=m;var g="Symbol(description detection)"===String(p("description detection")),y=a(f.valueOf),w=a(f.toString),v=/^Symbol\((.*)\)[^)]+$/,b=a("".replace),x=a("".slice);u(f,"description",{configurable:!0,get:function(){var e=y(this);if(s(h,e))return"";var t=w(e),n=g?x(t,7,-1):b(t,v,"$1");return""===n?void 0:n}}),r({global:!0,constructor:!0,forced:!0},{Symbol:m})}},
vendor: 610 bytes, line 2
2"./node_modules/core-js/modules/es.symbol.for.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/get-built-in.js"),i=n("./node_modules/core-js/internals/has-own-property.js"),a=n("./node_modules/core-js/internals/to-string.js"),s=n("./node_modules/core-js/internals/shared.js"),l=n("./node_modules/core-js/internals/symbol-registry-detection.js"),c=s("string-to-symbol-registry"),A=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=a(e);if(i(c,t))return c[t];var n=o("Symbol")(t);return c[t]=n,A[n]=t,n}})},
vendor: 150 bytes, line 2
2"./node_modules/core-js/modules/es.symbol.iterator.js":function(e,t,n){n("./node_modules/core-js/internals/well-known-symbol-define.js")("iterator")},
vendor: 365 bytes, line 2
2"./node_modules/core-js/modules/es.symbol.js":function(e,t,n){n("./node_modules/core-js/modules/es.symbol.constructor.js"),n("./node_modules/core-js/modules/es.symbol.for.js"),n("./node_modules/core-js/modules/es.symbol.key-for.js"),n("./node_modules/core-js/modules/es.json.stringify.js"),n("./node_modules/core-js/modules/es.object.get-own-property-symbols.js")},
vendor: 584 bytes, line 2
2"./node_modules/core-js/modules/es.symbol.key-for.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/has-own-property.js"),i=n("./node_modules/core-js/internals/is-symbol.js"),a=n("./node_modules/core-js/internals/try-to-string.js"),s=n("./node_modules/core-js/internals/shared.js"),l=n("./node_modules/core-js/internals/symbol-registry-detection.js"),c=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!l},{keyFor:function(e){if(!i(e))throw new TypeError(a(e)+" is not a symbol");if(o(c,e))return c[e]}})},
vendor: 144 bytes, line 2
2"./node_modules/core-js/modules/esnext.iterator.constructor.js":function(e,t,n){n("./node_modules/core-js/modules/es.iterator.constructor.js")},
vendor: 138 bytes, line 2
2"./node_modules/core-js/modules/esnext.iterator.for-each.js":function(e,t,n){n("./node_modules/core-js/modules/es.iterator.for-each.js")},
vendor: 128 bytes, line 2
2"./node_modules/core-js/modules/esnext.iterator.map.js":function(e,t,n){n("./node_modules/core-js/modules/es.iterator.map.js")},
vendor: 376 bytes, line 2
2"./node_modules/core-js/modules/esnext.set.add-all.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/a-set.js"),i=n("./node_modules/core-js/internals/set-helpers.js").add;r({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var e=o(this),t=0,n=arguments.length;t<n;t++)i(e,arguments[t]);return e}})},
vendor: 402 bytes, line 2
2"./node_modules/core-js/modules/esnext.set.delete-all.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/a-set.js"),i=n("./node_modules/core-js/internals/set-helpers.js").remove;r({target:"Set",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e,t=o(this),n=!0,r=0,a=arguments.length;r<a;r++)e=i(t,arguments[r]),n=n&&e;return!!n}})},
vendor: 392 bytes, line 2
2"./node_modules/core-js/modules/esnext.set.difference.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/function-call.js"),i=n("./node_modules/core-js/internals/to-set-like.js"),a=n("./node_modules/core-js/internals/set-difference.js");r({target:"Set",proto:!0,real:!0,forced:!0},{difference:function(e){return o(a,this,i(e))}})},
vendor: 473 bytes, line 2
2"./node_modules/core-js/modules/esnext.set.every.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/function-bind-context.js"),i=n("./node_modules/core-js/internals/a-set.js"),a=n("./node_modules/core-js/internals/set-iterate.js");r({target:"Set",proto:!0,real:!0,forced:!0},{every:function(e){var t=i(this),n=o(e,arguments.length>1?arguments[1]:void 0);return!1!==a(t,function(e){if(!n(e,e,t))return!1},!0)}})},
vendor: 544 bytes, line 2
2"./node_modules/core-js/modules/esnext.set.filter.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/function-bind-context.js"),i=n("./node_modules/core-js/internals/a-set.js"),a=n("./node_modules/core-js/internals/set-helpers.js"),s=n("./node_modules/core-js/internals/set-iterate.js"),l=a.Set,c=a.add;r({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(e){var t=i(this),n=o(e,arguments.length>1?arguments[1]:void 0),r=new l;return s(t,function(e){n(e,e,t)&&c(r,e)}),r}})},
vendor: 486 bytes, line 2
2"./node_modules/core-js/modules/esnext.set.find.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/function-bind-context.js"),i=n("./node_modules/core-js/internals/a-set.js"),a=n("./node_modules/core-js/internals/set-iterate.js");r({target:"Set",proto:!0,real:!0,forced:!0},{find:function(e){var t=i(this),n=o(e,arguments.length>1?arguments[1]:void 0),r=a(t,function(e){if(n(e,e,t))return{value:e}},!0);return r&&r.value}})},
vendor: 398 bytes, line 2
2"./node_modules/core-js/modules/esnext.set.intersection.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/function-call.js"),i=n("./node_modules/core-js/internals/to-set-like.js"),a=n("./node_modules/core-js/internals/set-intersection.js");r({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(e){return o(a,this,i(e))}})},
vendor: 408 bytes, line 2
2"./node_modules/core-js/modules/esnext.set.is-disjoint-from.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/function-call.js"),i=n("./node_modules/core-js/internals/to-set-like.js"),a=n("./node_modules/core-js/internals/set-is-disjoint-from.js");r({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(e){return o(a,this,i(e))}})},
vendor: 396 bytes, line 2
2"./node_modules/core-js/modules/esnext.set.is-subset-of.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/function-call.js"),i=n("./node_modules/core-js/internals/to-set-like.js"),a=n("./node_modules/core-js/internals/set-is-subset-of.js");r({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(e){return o(a,this,i(e))}})},
vendor: 402 bytes, line 2
2"./node_modules/core-js/modules/esnext.set.is-superset-of.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/function-call.js"),i=n("./node_modules/core-js/internals/to-set-like.js"),a=n("./node_modules/core-js/internals/set-is-superset-of.js");r({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(e){return o(a,this,i(e))}})},
vendor: 516 bytes, line 2
2"./node_modules/core-js/modules/esnext.set.join.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/function-uncurry-this.js"),i=n("./node_modules/core-js/internals/a-set.js"),a=n("./node_modules/core-js/internals/set-iterate.js"),s=n("./node_modules/core-js/internals/to-string.js"),l=o([].join),c=o([].push);r({target:"Set",proto:!0,real:!0,forced:!0},{join:function(e){var t=i(this),n=void 0===e?",":s(e),r=[];return a(t,function(e){c(r,e)}),l(r,n)}})},
vendor: 535 bytes, line 2
2"./node_modules/core-js/modules/esnext.set.map.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/function-bind-context.js"),i=n("./node_modules/core-js/internals/a-set.js"),a=n("./node_modules/core-js/internals/set-helpers.js"),s=n("./node_modules/core-js/internals/set-iterate.js"),l=a.Set,c=a.add;r({target:"Set",proto:!0,real:!0,forced:!0},{map:function(e){var t=i(this),n=o(e,arguments.length>1?arguments[1]:void 0),r=new l;return s(t,function(e){c(r,n(e,e,t))}),r}})},
vendor: 541 bytes, line 2
2"./node_modules/core-js/modules/esnext.set.reduce.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/a-callable.js"),i=n("./node_modules/core-js/internals/a-set.js"),a=n("./node_modules/core-js/internals/set-iterate.js"),s=TypeError;r({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(e){var t=i(this),n=arguments.length<2,r=n?void 0:arguments[1];if(o(e),a(t,function(o){n?(n=!1,r=o):r=e(r,o,o,t)}),n)throw new s("Reduce of empty set with no initial value");return r}})},
vendor: 470 bytes, line 2
2"./node_modules/core-js/modules/esnext.set.some.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/function-bind-context.js"),i=n("./node_modules/core-js/internals/a-set.js"),a=n("./node_modules/core-js/internals/set-iterate.js");r({target:"Set",proto:!0,real:!0,forced:!0},{some:function(e){var t=i(this),n=o(e,arguments.length>1?arguments[1]:void 0);return!0===a(t,function(e){if(n(e,e,t))return!0},!0)}})},
vendor: 421 bytes, line 2
2"./node_modules/core-js/modules/esnext.set.symmetric-difference.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/function-call.js"),i=n("./node_modules/core-js/internals/to-set-like.js"),a=n("./node_modules/core-js/internals/set-symmetric-difference.js");r({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(e){return o(a,this,i(e))}})},
vendor: 377 bytes, line 2
2"./node_modules/core-js/modules/esnext.set.union.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/function-call.js"),i=n("./node_modules/core-js/internals/to-set-like.js"),a=n("./node_modules/core-js/internals/set-union.js");r({target:"Set",proto:!0,real:!0,forced:!0},{union:function(e){return o(a,this,i(e))}})},
vendor: 526 bytes, line 2
2"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global-this.js"),o=n("./node_modules/core-js/internals/dom-iterables.js"),i=n("./node_modules/core-js/internals/dom-token-list-prototype.js"),a=n("./node_modules/core-js/internals/array-for-each.js"),s=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),l=function(e){if(e&&e.forEach!==a)try{s(e,"forEach",a)}catch(t){e.forEach=a}};for(var c in o)o[c]&&l(r[c]&&r[c].prototype);l(i)},
vendor: 754 bytes, line 2
2"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(e,t,n){var r=n("./node_modules/core-js/internals/global-this.js"),o=n("./node_modules/core-js/internals/dom-iterables.js"),i=n("./node_modules/core-js/internals/dom-token-list-prototype.js"),a=n("./node_modules/core-js/modules/es.array.iterator.js"),s=n("./node_modules/core-js/internals/create-non-enumerable-property.js"),l=n("./node_modules/core-js/internals/set-to-string-tag.js"),c=n("./node_modules/core-js/internals/well-known-symbol.js")("iterator"),A=a.values,u=function(e,t){if(e){if(e[c]!==A)try{s(e,c,A)}catch(t){e[c]=A}if(l(e,t,!0),o[t])for(var n in a)if(e[n]!==a[n])try{s(e,n,a[n])}catch(t){e[n]=a[n]}}};for(var d in o)u(r[d]&&r[d].prototype,d);u(i,"DOMTokenList")},
vendor: 319 bytes, line 2
2"./node_modules/core-js/modules/web.set-interval.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/global-this.js"),i=n("./node_modules/core-js/internals/schedulers-fix.js")(o.setInterval,!0);r({global:!0,bind:!0,forced:o.setInterval!==i},{setInterval:i})},
vendor: 315 bytes, line 2
2"./node_modules/core-js/modules/web.set-timeout.js":function(e,t,n){var r=n("./node_modules/core-js/internals/export.js"),o=n("./node_modules/core-js/internals/global-this.js"),i=n("./node_modules/core-js/internals/schedulers-fix.js")(o.setTimeout,!0);r({global:!0,bind:!0,forced:o.setTimeout!==i},{setTimeout:i})},
vendor: 175 bytes, line 2
2"./node_modules/core-js/modules/web.timers.js":function(e,t,n){n("./node_modules/core-js/modules/web.set-interval.js"),n("./node_modules/core-js/modules/web.set-timeout.js")},
vendor: 11,728 bytes, line 2
2"./src/plugin/hyperlinks.js":function(e,t,n){n.r(t),n("./node_modules/core-js/modules/es.object.to-string.js"),n("./node_modules/core-js/modules/es.string.link.js"),n("./node_modules/core-js/modules/esnext.iterator.constructor.js"),n("./node_modules/core-js/modules/esnext.iterator.for-each.js"),n("./node_modules/core-js/modules/web.dom-collections.for-each.js");var r=n("./src/worker.js"),o=n("./src/utils.js"),i=[],a={toContainer:r.default.prototype.toContainer,toPdf:r.default.prototype.toPdf};r.default.prototype.toContainer=function(){return a.toContainer.call(this).then(function(){if(this.opt.enableLinks){var e=this.prop.container,t=e.querySelectorAll("a"),n=(0,o.unitConvert)(e.getBoundingClientRect(),this.prop.pageSize.k);i=[],Array.prototype.forEach.call(t,function(e){for(var t=e.getClientRects(),r=0;r<t.length;r++){var a=(0,o.unitConvert)(t[r],this.prop.pageSize.k);a.left-=n.left,a.top-=n.top;var s=Math.floor(a.top/this.prop.pageSize.inner.height)+1,l=this.opt.margin[0]+a.top%this.prop.pageSize.inner.height,c=this.opt.margin[1]+a.left;i.push({page:s,top:l,left:c,clientRect:a,link:e})}},this)}})},r.default.prototype.toPdf=function(){return a.toPdf.call(this).then(function(){if(this.opt.enableLinks){i.forEach(function(e){this.prop.pdf.setPage(e.page),this.prop.pdf.link(e.left,e.top,e.clientRect.width,e.clientRect.height,{url:e.link.href})},this);var e=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(e)}})}},"./src/plugin/jspdf-plugin.js":function(e,t,n){n.r(t),n("./node_modules/core-js/modules/es.symbol.js"),n("./node_modules/core-js/modules/es.symbol.description.js"),n("./node_modules/core-js/modules/es.symbol.iterator.js"),n("./node_modules/core-js/modules/es.array.iterator.js"),n("./node_modules/core-js/modules/es.object.to-string.js"),n("./node_modules/core-js/modules/es.string.iterator.js"),n("./node_modules/core-js/modules/web.dom-collections.iterator.js");var r=n("jspdf");function o(e){return o="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},o(e)}r.jsPDF.getPageSize=function(e,t,n){if("object"===o(e)){var r=e;e=r.orientation,t=r.unit||t,n=r.format||n}t=t||"mm",n=n||"a4",e=(""+(e||"P")).toLowerCase();var i=(""+n).toLowerCase(),a={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(t){case"pt":var s=1;break;case"mm":s=72/25.4;break;case"cm":s=72/2.54;break;case"in":s=72;break;case"px":s=.75;break;case"pc":case"em":s=12;break;case"ex":s=6;break;default:throw"Invalid unit: "+t}if(a.hasOwnProperty(i))var l=a[i][1]/s,c=a[i][0]/s;else try{l=n[1],c=n[0]}catch(e){throw new Error("Invalid format: "+n)}if("p"===e||"portrait"===e){if(e="p",c>l){var A=c;c=l,l=A}}else{if("l"!==e&&"landscape"!==e)throw"Invalid orientation: "+e;e="l",l>c&&(A=c,c=l,l=A)}return{width:c,height:l,unit:t,k:s}},t.default=r.jsPDF},"./src/plugin/pagebreaks.js":function(e,t,n){n.r(t),n("./node_modules/core-js/modules/es.array.concat.js"),n("./node_modules/core-js/modules/es.array.join.js"),n("./node_modules/core-js/modules/es.array.slice.js"),n("./node_modules/core-js/modules/es.object.keys.js"),n("./node_modules/core-js/modules/es.object.to-string.js"),n("./node_modules/core-js/modules/esnext.iterator.constructor.js"),n("./node_modules/core-js/modules/esnext.iterator.for-each.js"),n("./node_modules/core-js/modules/web.dom-collections.for-each.js");var r=n("./src/worker.js"),o=n("./src/utils.js"),i={toContainer:r.default.prototype.toContainer};r.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},r.default.prototype.toContainer=function(){return i.toContainer.call(this).then(function(){var e=this.prop.container,t=this.prop.pageSize.inner.px.height,n=[].concat(this.opt.pagebreak.mode),r={avoidAll:-1!==n.indexOf("avoid-all"),css:-1!==n.indexOf("css"),legacy:-1!==n.indexOf("legacy")},i={},a=this;["before","after","avoid"].forEach(function(t){var n=r.avoidAll&&"avoid"===t;i[t]=n?[]:[].concat(a.opt.pagebreak[t]||[]),i[t].length>0&&(i[t]=Array.prototype.slice.call(e.querySelectorAll(i[t].join(", "))))});var s=e.querySelectorAll(".html2pdf__page-break");s=Array.prototype.slice.call(s);var l=e.querySelectorAll("*");Array.prototype.forEach.call(l,function(e){var n={before:!1,after:r.legacy&&-1!==s.indexOf(e),avoid:r.avoidAll};if(r.css){var a=window.getComputedStyle(e),l=["always","page","left","right"];n={before:n.before||-1!==l.indexOf(a.breakBefore||a.pageBreakBefore),after:n.after||-1!==l.indexOf(a.breakAfter||a.pageBreakAfter),avoid:n.avoid||-1!==["avoid","avoid-page"].indexOf(a.breakInside||a.pageBreakInside)}}Object.keys(n).forEach(function(t){n[t]=n[t]||-1!==i[t].indexOf(e)});var c=e.getBoundingClientRect();if(n.avoid&&!n.before){var A=Math.floor(c.top/t),u=Math.floor(c.bottom/t),d=Math.abs(c.bottom-c.top)/t;u!==A&&d<=1&&(n.before=!0)}if(n.before){var p=(0,o.createElement)("div",{style:{display:"block",height:t-c.top%t+"px"}});e.parentNode.insertBefore(p,e)}n.after&&(p=(0,o.createElement)("div",{style:{display:"block",height:t-c.bottom%t+"px"}}),e.parentNode.insertBefore(p,e.nextSibling))})})}},"./src/snapdom/clone.js":function(e,t,n){function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n={}.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)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function i(e){if(!e)throw new Error("Invalid node");var t,n=new Set,o=null;if(e.nodeType===Node.TEXT_NODE)return e.cloneNode(!0);if(e.nodeType!==Node.ELEMENT_NODE)return e.cloneNode(!0);if("IFRAME"===e.tagName){var a=document.createElement("div");return a.style.cssText="width:".concat(e.offsetWidth,"px;height:").concat(e.offsetHeight,"px;background-image:repeating-linear-gradient(45deg,#ddd,#ddd 5px,#f9f9f9 5px,#f9f9f9 10px);display:flex;align-items:center;justify-content:center;font-size:12px;color:#555;border:1px solid #aaa;"),a}if("CANVAS"===e.tagName){var s=e.toDataURL(),l=document.createElement("img");return l.src=s,l.width=e.width,l.height=e.height,l}try{t=e.cloneNode(!1),"IMG"===e.tagName&&function(e,t){try{var n=e.currentSrc||e.src||"";if(!n)return;t.setAttribute("src",n),t.removeAttribute("srcset"),t.removeAttribute("sizes"),t.loading="eager",t.decoding="sync"}catch(e){}}(e,t)}catch(t){throw console.error("[Snapdom] Failed to clone node:",e,t),t}if(e instanceof HTMLTextAreaElement){t.textContent=e.value,t.value=e.value;var c=e.getBoundingClientRect();return t.style.boxSizing="border-box",t.style.width="".concat(c.width,"px"),t.style.height="".concat(c.height,"px"),t}if(e instanceof HTMLInputElement&&(e.hasAttribute("value")&&(t.value=e.value,t.setAttribute("value",e.value)),void 0!==e.checked&&(t.checked=e.checked,e.checked&&t.setAttribute("checked",""),e.indeterminate&&(t.indeterminate=e.indeterminate))),e instanceof HTMLSelectElement&&(o=e.value),e.shadowRoot)if(Array.from(e.shadowRoot.querySelectorAll("slot")).length>0);else{var A,u=document.createDocumentFragment(),d=r(e.shadowRoot.childNodes);try{for(d.s();!(A=d.n()).done;){var p=A.value;if(p.nodeType!==Node.ELEMENT_NODE||"STYLE"!==p.tagName){var f=i(p);f&&u.appendChild(f)}}}catch(e){d.e(e)}finally{d.f()}t.appendChild(u)}if("SLOT"===e.tagName){var h,m,g=(null===(h=e.assignedNodes)||void 0===h?void 0:h.call(e,{flatten:!0}))||[],y=g.length>0?g:Array.from(e.childNodes),w=document.createDocumentFragment(),v=r(y);try{for(v.s();!(m=v.n()).done;){var b=i(m.value);b&&w.appendChild(b)}}catch(e){v.e(e)}finally{v.f()}return w}var x,_=r(e.childNodes);try{for(_.s();!(x=_.n()).done;){var B=x.value;if(!n.has(B)){var C=i(B);C&&t.appendChild(C)}}}catch(e){_.e(e)}finally{_.f()}if(null!==o&&t instanceof HTMLSelectElement){t.value=o;var k,S=r(t.options);try{for(S.s();!(k=S.n()).done;){var j=k.value;j.value===o?j.setAttribute("selected",""):j.removeAttribute("selected")}}catch(e){S.e(e)}finally{S.f()}}var E=e.scrollLeft,F=e.scrollTop;if((E||F)&&t instanceof HTMLElement){t.style.overflow="hidden",t.style.scrollbarWidth="none",t.style.msOverflowStyle="none";var N=document.createElement("div");for(N.style.transform="translate(".concat(-E,"px, ").concat(-F,"px)"),N.style.willChange="transform",N.style.display="inline-block",N.style.width="100%";t.firstChild;)N.appendChild(t.firstChild);t.appendChild(N)}return t}n.r(t),n.d(t,{deepCloneBasic:function(){return i}}),n("./node_modules/core-js/modules/es.symbol.js"),n("./node_modules/core-js/modules/es.symbol.description.js"),n("./node_modules/core-js/modules/es.symbol.iterator.js"),n("./node_modules/core-js/modules/es.array.concat.js"),n("./node_modules/core-js/modules/es.array.from.js"),n("./node_modules/core-js/modules/es.array.iterator.js"),n("./node_modules/core-js/modules/es.array.slice.js"),n("./node_modules/core-js/modules/es.function.name.js"),n("./node_modules/core-js/modules/es.object.to-string.js"),n("./node_modules/core-js/modules/es.regexp.exec.js"),n("./node_modules/core-js/modules/es.regexp.test.js"),n("./node_modules/core-js/modules/es.regexp.to-string.js"),n("./node_modules/core-js/modules/es.set.js"),n("./node_modules/core-js/modules/es.string.iterator.js"),n("./node_modules/core-js/modules/esnext.set.add-all.js"),n("./node_modules/core-js/modules/esnext.set.delete-all.js"),n("./node_modules/core-js/modules/esnext.set.difference.js"),n("./node_modules/core-js/modules/esnext.set.every.js"),n("./node_modules/core-js/modules/esnext.set.filter.js"),n("./node_modules/core-js/modules/esnext.set.find.js"),n("./node_modules/core-js/modules/esnext.set.intersection.js"),n("./node_modules/core-js/modules/esnext.set.is-disjoint-from.js"),n("./node_modules/core-js/modules/esnext.set.is-subset-of.js"),n("./node_modules/core-js/modules/esnext.set.is-superset-of.js"),n("./node_modules/core-js/modules/esnext.set.join.js"),n("./node_modules/core-js/modules/esnext.set.map.js"),n("./node_modules/core-js/modules/esnext.set.reduce.js"),n("./node_modules/core-js/modules/esnext.set.some.js"),n("./node_modules/core-js/modules/esnext.set.symmetric-difference.js"),n("./node_modules/core-js/modules/esnext.set.union.js"),n("./node_modules/core-js/modules/web.dom-collections.iterator.js")},
2"./src/utils.js":function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.r(t),n.d(t,{createElement:function(){return i},objType:function(){return o},toPx:function(){return s},unitConvert:function(){return a}}),n("./node_modules/core-js/modules/es.symbol.js"),n("./node_modules/core-js/modules/es.symbol.description.js"),n("./node_modules/core-js/modules/es.symbol.iterator.js"),n("./node_modules/core-js/modules/es.array.iterator.js"),n("./node_modules/core-js/modules/es.number.constructor.js"),n("./node_modules/core-js/modules/es.object.to-string.js"),n("./node_modules/core-js/modules/es.string.iterator.js"),n("./node_modules/core-js/modules/web.dom-collections.iterator.js");var o=function(e){var t=r(e);return"undefined"===t?"undefined":"string"===t||e instanceof String?"string":"number"===t||e instanceof Number?"number":"function"===t||e instanceof Function?"function":e&&e.constructor===Array?"array":e&&1===e.nodeType?"element":"object"===t?"object":"unknown"},i=function(e,t){var n=document.createElement(e);if(t.className&&(n.className=t.className),t.innerHTML){n.innerHTML=t.innerHTML;for(var r=n.getElementsByTagName("script"),o=r.length;o-- >0;null)r[o].parentNode.removeChild(r[o])}for(var i in t.style)n.style[i]=t.style[i];return n},a=function(e,t){if("number"===o(e))return 72*e/96/t;var n={};for(var r in e)n[r]=72*e[r]/96/t;return n},s=function(e,t){return Math.floor(e*t/72*96)}},
2"./src/worker.js":function(e,t,n){n.r(t),n("./node_modules/core-js/modules/es.array.concat.js"),n("./node_modules/core-js/modules/es.array.map.js"),n("./node_modules/core-js/modules/es.function.name.js"),n("./node_modules/core-js/modules/es.json.stringify.js"),n("./node_modules/core-js/modules/es.object.assign.js"),n("./node_modules/core-js/modules/es.object.keys.js"),n("./node_modules/core-js/modules/es.object.to-string.js"),n("./node_modules/core-js/modules/es.promise.js"),n("./node_modules/core-js/modules/es.regexp.to-string.js"),n("./node_modules/core-js/modules/esnext.iterator.constructor.js"),n("./node_modules/core-js/modules/esnext.iterator.for-each.js"),n("./node_modules/core-js/modules/esnext.iterator.map.js"),n("./node_modules/core-js/modules/web.dom-collections.for-each.js"),n("./node_modules/core-js/modules/web.timers.js");var r=n("jspdf"),o=n("html2canvas"),i=n.n(o),a=n("./src/snapdom/clone.js"),s=n("./src/utils.js"),l=function e(t){var n=Object.assign(e.convert(Promise.resolve()),JSON.parse(JSON.str
vendor: 7,375 bytes, line 2
2ingify(e.template))),r=e.convert(Promise.resolve(),n);return(r=r.setProgress(1,e,1,[e])).set(t)};(l.prototype=Object.create(Promise.prototype)).constructor=l,l.convert=function(e,t){return e.__proto__=t||l.prototype,e},l.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},l.prototype.from=function(e,t){return this.then(function(){switch(t=t||function(e){switch((0,s.objType)(e)){case"string":return"string";case"element":return e.nodeName.toLowerCase&&"canvas"===e.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(e),t){case"string":return this.set({src:(0,s.createElement)("div",{innerHTML:e})});case"element":return this.set({src:e});case"canvas":return this.set({canvas:e});case"img":return this.set({img:e});default:return this.error("Unknown source type.")}})},l.prototype.to=function(e){switch(e){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},l.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var e={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},t={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};e.opacity=0;var n=(0,a.deepCloneBasic)(this.prop.src);return this.prop.overlay=(0,s.createElement)("div",{className:"html2pdf__overlay",style:e}),this.prop.container=(0,s.createElement)("div",{className:"html2pdf__container",style:t}),this.prop.container.appendChild(n),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),new Promise(function(e){return setTimeout(e,10)})})},l.prototype.toCanvas=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(function(){var e=Object.assign({},this.opt.html2canvas);return delete e.onrendered,i()(this.prop.container,e)}).then(function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)})},l.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var e=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=e})},l.prototype.toPdf=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var e=this.prop.canvas,t=this.opt,n=e.height,o=Math.floor(e.width*this.prop.pageSize.inner.ratio),i=Math.ceil(n/o),a=this.prop.pageSize.inner.height,s=document.createElement("canvas"),l=s.getContext("2d");s.width=e.width,s.height=o,this.prop.pdf=this.prop.pdf||new r.jsPDF(t.jsPDF);for(var c=0;c<i;c++){c===i-1&&n%o!==0&&(s.height=n%o,a=s.height*this.prop.pageSize.inner.width/s.width);var A=s.width,u=s.height;l.fillStyle="white",l.fillRect(0,0,A,u),l.drawImage(e,0,c*o,A,u,0,0,A,u),c&&this.prop.pdf.addPage();var d=s.toDataURL("image/"+t.image.type,t.image.quality);this.prop.pdf.addImage(d,t.image.type,t.margin[1],t.margin[0],this.prop.pageSize.inner.width,a)}})},l.prototype.output=function(e,t,n){return"img"===(n=n||"pdf").toLowerCase()||"image"===n.toLowerCase()?this.outputImg(e,t):this.outputPdf(e,t)},l.prototype.outputPdf=function(e,t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(e,t)})},l.prototype.outputImg=function(e,t){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(e){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+e+'" is not supported.'}})},l.prototype.save=function(e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(e?{filename:e}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},l.prototype.set=function(e){if("object"!==(0,s.objType)(e))return this;var t=Object.keys(e||{}).map(function(t){switch(t){case"margin":return this.setMargin.bind(this,e.margin);case"jsPDF":return function(){return this.opt.jsPDF=e.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,e.pageSize);default:return t in l.template.prop?function(){this.prop[t]=e[t]}:function(){this.opt[t]=e[t]}}},this);return this.then(function(){return this.thenList(t)})},l.prototype.get=function(e,t){return this.then(function(){var n=e in l.template.prop?this.prop[e]:this.opt[e];return t?t(n):n})},l.prototype.setMargin=function(e){return this.then(function(){switch((0,s.objType)(e)){case"number":e=[e,e,e,e];case"array":if(2===e.length&&(e=[e[0],e[1],e[0],e[1]]),4===e.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=e}).then(this.setPageSize)},l.prototype.setPageSize=function(e){return this.then(function(){(e=e||r.jsPDF.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(e.inner={width:e.width-this.opt.margin[1]-this.opt.margin[3],height:e.height-this.opt.margin[0]-this.opt.margin[2]},e.inner.px={width:(0,s.toPx)(e.inner.width,e.k),height:(0,s.toPx)(e.inner.height,e.k)},e.inner.ratio=e.inner.height/e.inner.width),this.prop.pageSize=e})},l.prototype.setProgress=function(e,t,n,r){return null!=e&&(this.progress.val=e),null!=t&&(this.progress.state=t),null!=n&&(this.progress.n=n),null!=r&&(this.progress.stack=r),this.progress.ratio=this.progress.val/this.progress.state,this},l.prototype.updateProgress=function(e,t,n,r){return this.setProgress(e?this.progress.val+e:null,t||null,n?this.progress.n+n:null,r?this.progress.stack.concat(r):null)},l.prototype.then=function(e,t){var n=this;return this.thenCore(e,t,function(e,t){return n.updateProgress(null,null,1,[e]),Promise.prototype.then.call(this,function(t){return n.updateProgress(null,e),t}).then(e,t).then(function(e){return n.updateProgress(1),e})})},l.prototype.thenCore=function(e,t,n){n=n||Promise.prototype.then;var r=this;e&&(e=e.bind(r)),t&&(t=t.bind(r));var o=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?r:l.convert(Object.assign({},r),Promise.prototype),i=n.call(o,e,t);return l.convert(i,r.__proto__)},l.prototype.thenExternal=function(e,t){return Promise.prototype.then.call(this,e,t)},l.prototype.thenList=function(e){var t=this;return e.forEach(function(e){t=t.thenCore(e)}),t},l.prototype.catch=function(e){e&&(e=e.bind(this));var t=Promise.prototype.catch.call(this,e);return l.convert(t,this)},l.prototype.catchExternal=function(e){return Promise.prototype.catch.call(this,e)},l.prototype.error=function(e){return this.then(function(){throw new Error(e)})},l.prototype.using=l.prototype.set,l.prototype.saveAs=l.prototype.save,l.prototype.export=l.prototype.output,l.prototype.run=l.prototype.then,t.default=l}
vendor: 6,181 bytes, line 2
2,html2canvas:function(e){e.exports=t},jspdf:function(t){t.exports=e}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return r[e].call(n.exports,n,n.exports,i),n.exports}i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return function(){i.r(a);var e=i("./src/worker.js"),t=(i("./src/plugin/jspdf-plugin.js"),i("./src/plugin/pagebreaks.js"),i("./src/plugin/hyperlinks.js"),function e(t,n){var r=new e.Worker(n);return t?r.from(t).save():r});t.Worker=e.default,a.default=t}(),a.default}()},e.exports=r(n(5085),n(354))},4146:(e,t,n)=>{"use strict";var r=n(3404),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,A=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(f){var o=p(n);o&&o!==f&&e(t,o,r)}var a=A(n);u&&(a=a.concat(u(n)));for(var s=l(t),h=l(n),m=0;m<a.length;++m){var g=a[m];if(!(i[g]||r&&r[g]||h&&h[g]||s&&s[g])){var y=d(n,g);try{c(t,g,y)}catch(e){}}}}return t}},4353:function(e){e.exports=function(){"use strict";var e=6e4,t=36e5,n="millisecond",r="second",o="minute",i="hour",a="day",s="week",l="month",c="quarter",A="year",u="date",d="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},m=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},g={s:m,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+m(r,2,"0")+":"+m(o,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),o=t.clone().add(r,l),i=n-o<0,a=t.clone().add(r+(i?-1:1),l);return+(-(r+(n-o)/(i?o-a:a-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:A,w:s,d:a,D:u,h:i,m:o,s:r,ms:n,Q:c}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},y="en",w={};w[y]=h;var v="$isDayjsObject",b=function(e){return e instanceof C||!(!e||!e[v])},x=function e(t,n,r){var o;if(!t)return y;if("string"==typeof t){var i=t.toLowerCase();w[i]&&(o=i),n&&(w[i]=n,o=i);var a=t.split("-");if(!o&&a.length>1)return e(a[0])}else{var s=t.name;w[s]=t,o=s}return!r&&o&&(y=o),o||!r&&y},_=function(e,t){if(b(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new C(n)},B=g;B.l=x,B.i=b,B.w=function(e,t){return _(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var C=function(){function h(e){this.$L=x(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[v]=!0}var m=h.prototype;return m.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(B.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(p);if(r){var o=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(t)}(e),this.init()},m.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},m.$utils=function(){return B},m.isValid=function(){return!(this.$d.toString()===d)},m.isSame=function(e,t){var n=_(e);return this.startOf(t)<=n&&n<=this.endOf(t)},m.isAfter=function(e,t){return _(e)<this.startOf(t)},m.isBefore=function(e,t){return this.endOf(t)<_(e)},m.$g=function(e,t,n){return B.u(e)?this[t]:this.set(n,e)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(e,t){var n=this,c=!!B.u(t)||t,d=B.p(e),p=function(e,t){var r=B.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return c?r:r.endOf(a)},f=function(e,t){return B.w(n.toDate()[e].apply(n.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},h=this.$W,m=this.$M,g=this.$D,y="set"+(this.$u?"UTC":"");switch(d){case A:return c?p(1,0):p(31,11);case l:return c?p(1,m):p(0,m+1);case s:var w=this.$locale().weekStart||0,v=(h<w?h+7:h)-w;return p(c?g-v:g+(6-v),m);case a:case u:return f(y+"Hours",0);case i:return f(y+"Minutes",1);case o:return f(y+"Seconds",2);case r:return f(y+"Milliseconds",3);default:return this.clone()}},m.endOf=function(e){return this.startOf(e,!1)},m.$set=function(e,t){var s,c=B.p(e),d="set"+(this.$u?"UTC":""),p=(s={},s[a]=d+"Date",s[u]=d+"Date",s[l]=d+"Month",s[A]=d+"FullYear",s[i]=d+"Hours",s[o]=d+"Minutes",s[r]=d+"Seconds",s[n]=d+"Milliseconds",s)[c],f=c===a?this.$D+(t-this.$W):t;if(c===l||c===A){var h=this.clone().set(u,1);h.$d[p](f),h.init(),this.$d=h.set(u,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](f);return this.init(),this},m.set=function(e,t){return this.clone().$set(e,t)},m.get=function(e){return this[B.p(e)]()},m.add=function(n,c){var u,d=this;
2n=Number(n);var p=B.p(c),f=function(e){var t=_(d);return B.w(t.date(t.date()+Math.round(e*n)),d)};if(p===l)return this.set(l,this.$M+n);if(p===A)return this.set(A,this.$y+n);if(p===a)return f(1);if(p===s)return f(7);var h=(u={},u[o]=e,u[i]=t,u[r]=1e3,u)[p]||1,m=this.$d.getTime()+n*h;return B.w(m,this)},m.subtract=function(e,t){return this.add(-1*e,t)},m.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||d;var r=e||"YYYY-MM-DDTHH:mm:ssZ",o=B.z(this),i=this.$H,a=this.$m,s=this.$M,l=n.weekdays,c=n.months,A=n.meridiem,u=function(e,n,o,i){return e&&(e[n]||e(t,r))||o[n].slice(0,i)},p=function(e){return B.s(i%12||12,e,"0")},h=A||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(f,function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return B.s(t.$y,4,"0");case"M":return s+1;case"MM":return B.s(s+1,2,"0");case"MMM":return u(n.monthsShort,s,c,3);case"MMMM":return u(c,s);case"D":return t.$D;case"DD":return B.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return u(n.weekdaysMin,t.$W,l,2);case"ddd":return u(n.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(i);case"HH":return B.s(i,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return h(i,a,!0);case"A":return h(i,a,!1);case"m":return String(a);case"mm":return B.s(a,2,"0");case"s":return String(t.$s);case"ss":return B.s(t.$s,2,"0");case"SSS":return B.s(t.$ms,3,"0");case"Z":return o}return null}(e)||o.replace(":","")})},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(n,u,d){var p,f=this,h=B.p(u),m=_(n),g=(m.utcOffset()-this.utcOffset())*e,y=this-m,w=function(){return B.m(f,m)};switch(h){case A:p=w()/12;break;case l:p=w();break;case c:p=w()/3;break;case s:p=(y-g)/6048e5;break;case a:p=(y-g)/864e5;break;case i:p=y/t;break;case o:p=y/e;break;case r:p=y/1e3;break;default:p=y}return d?p:B.a(p)},m.daysInMonth=function(){return this.endOf(l).$D},m.$locale=function(){return w[this.$L]},m.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=x(e,t,!0);return r&&(n.$L=r),n},m.clone=function(){return B.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},h}(),k=C.prototype;return _.prototype=k,[["$ms",n],["$s",r],["$m",o],["$H",i],["$W",a],["$M",l],["$y",A],["$D",u]].forEach(function(e){k[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),_.extend=function(e,t){return e.$i||(e(t,C,_),e.$i=!0),_},_.locale=x,_.isDayjs=b,_.unix=function(e){return _(1e3*e)},_.en=w[y],_.Ls=w,_.p={},_}()},4405:(e,t)=>{"use strict";Symbol.for("react.transitional.element"),Symbol.for("react.portal");var n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler");Symbol.for("react.provider");var i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),u=Symbol.for("react.lazy"),d=(Symbol.for("react.view_transition"),Symbol.for("react.client.reference"));t.Hy=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===o||e===r||e===l||e===c||"object"==typeof e&&null!==e&&(e.$$typeof===u||e.$$typeof===A||e.$$typeof===a||e.$$typeof===i||e.$$typeof===s||e.$$typeof===d||void 0!==e.getModuleId)}},4417:e=>{"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},4477:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var s=2*(r+1)-1,l=e[s],c=s+1,A=e[c];if(0>i(l,n))c<o&&0>i(A,l)?(e[r]=A,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(c<o&&0>i(A,n)))break e;e[r]=A,e[c]=n,r=c}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],A=[],u=1,d=null,p=3,f=!1,h=!1,m=!1,g=!1,y="function"==typeof setTimeout?setTimeout:null,w="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var t=r(A);null!==t;){if(null===t.callback)o(A);else{if(!(t.startTime<=e))break;o(A),t.sortIndex=t.expirationTime,n(c,t)}t=r(A)}}function x(e){if(m=!1,b(e),!h)if(null!==r(c))h=!0,B||(B=!0,_());else{var t=r(A);null!==t&&U(x,t.startTime-e)}}var _,B=!1,C=-1,k=5,S=-1;function j(){return!(!g&&t.unstable_now()-S<k)}
2function E(){if(g=!1,B){var e=t.unstable_now();S=e;var n=!0;try{e:{h=!1,m&&(m=!1,w(C),C=-1),f=!0;var i=p;try{t:{for(b(e),d=r(c);null!==d&&!(d.expirationTime>e&&j());){var a=d.callback;if("function"==typeof a){d.callback=null,p=d.priorityLevel;var s=a(d.expirationTime<=e);if(e=t.unstable_now(),"function"==typeof s){d.callback=s,b(e),n=!0;break t}d===r(c)&&o(c),b(e)}else o(c);d=r(c)}if(null!==d)n=!0;else{var l=r(A);null!==l&&U(x,l.startTime-e),n=!1}}break e}finally{d=null,p=i,f=!1}n=void 0}}finally{n?_():B=!1}}}if("function"==typeof v)_=function(){v(E)};else if("undefined"!=typeof MessageChannel){var F=new MessageChannel,N=F.port2;F.port1.onmessage=E,_=function(){N.postMessage(null)}}else _=function(){y(E,0)};function U(e,n){C=y(function(){e(t.unstable_now())},n)}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_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"):k=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_requestPaint=function(){g=!0},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?a+i:a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:u++,callback:o,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>a?(e.sortIndex=i,n(A,e),null===r(c)&&e===r(A)&&(m?(w(C),C=-1):m=!0,U(x,i-a))):(e.sortIndex=s,n(c,e),h||f||(h=!0,B||(B=!0,_()))),e},t.unstable_shouldYield=j,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},4848:(e,t,n)=>{"use strict";e.exports=n(9698)},4915:e=>{e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},5056:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},5072:e=>{"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var i={},a=[],s=0;s<e.length;s++){var l=e[s],c=r.base?l[0]+r.base:l[0],A=i[c]||0,u="".concat(c," ").concat(A);i[c]=A+1;var d=n(u),p={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==d)t[d].references++,t[d].updater(p);else{var f=o(p,r);r.byIndex=s,t.splice(s,0,{identifier:u,updater:f,references:1})}a.push(u)}return a}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var i=r(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var s=n(i[a]);t[s].references--}for(var l=r(e,o),c=0;c<i.length;c++){var A=n(i[c]);0===t[A].references&&(t[A].updater(),t.splice(A,1))}i=l}}},5085:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AcroForm:()=>Ai,AcroFormAppearance:()=>ai,AcroFormButton:()=>Zo,AcroFormCheckBox:()=>ri,AcroFormChoiceField:()=>Go,AcroFormComboBox:()=>Xo,AcroFormEditBox:()=>Jo,AcroFormListBox:()=>Yo,AcroFormPasswordField:()=>ii,AcroFormPushButton:()=>ei,AcroFormRadioButton:()=>ti,AcroFormTextField:()=>oi,GState:()=>go,ShadingPattern:()=>wo,TilingPattern:()=>vo,default:()=>bo,jsPDF:()=>bo});var r=n(2284),o=Uint8Array,i=Uint16Array,a=Int32Array,s=new o([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),l=new o([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),c=new o([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),A=function(e,t){for(var n=new i(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];var o=new a(n[30]);for(r=1;r<30;++r)for(var s=n[r];s<n[r+1];++s)o[s]=s-n[r]<<5|r;return{b:n,r:o}},u=A(s,2),d=u.b,p=u.r;d[28]=258,p[258]=28;for(var f=A(l,0),h=(f.b,f.r),m=new i(32768),g=0;g<32768;++g){var y=(43690&g)>>1|(21845&g)<<1;y=(61680&(y=(52428&y)>>2|(13107&y)<<2))>>4|(3855&y)<<4,m[g]=((65280&y)>>
vendor: 12,597 bytes, line 2
28|(255&y)<<8)>>1}var w=function(e,t,n){for(var r=e.length,o=0,a=new i(t);o<r;++o)e[o]&&++a[e[o]-1];var s,l=new i(t);for(o=1;o<t;++o)l[o]=l[o-1]+a[o-1]<<1;if(n){s=new i(1<<t);var c=15-t;for(o=0;o<r;++o)if(e[o])for(var A=o<<4|e[o],u=t-e[o],d=l[e[o]-1]++<<u,p=d|(1<<u)-1;d<=p;++d)s[m[d]>>c]=A}else for(s=new i(r),o=0;o<r;++o)e[o]&&(s[o]=m[l[e[o]-1]++]>>15-e[o]);return s},v=new o(288);for(g=0;g<144;++g)v[g]=8;for(g=144;g<256;++g)v[g]=9;for(g=256;g<280;++g)v[g]=7;for(g=280;g<288;++g)v[g]=8;var b=new o(32);for(g=0;g<32;++g)b[g]=5;var x=w(v,9,0),_=w(b,5,0),B=function(e){return(e+7)/8|0},C=function(e,t,n){n<<=7&t;var r=t/8|0;e[r]|=n,e[r+1]|=n>>8},k=function(e,t,n){n<<=7&t;var r=t/8|0;e[r]|=n,e[r+1]|=n>>8,e[r+2]|=n>>16},S=function(e,t){for(var n=[],r=0;r<e.length;++r)e[r]&&n.push({s:r,f:e[r]});var a=n.length,s=n.slice();if(!a)return{t:I,l:0};if(1==a){var l=new o(n[0].s+1);return l[n[0].s]=1,{t:l,l:1}}n.sort(function(e,t){return e.f-t.f}),n.push({s:-1,f:25001});var c=n[0],A=n[1],u=0,d=1,p=2;for(n[0]={s:-1,f:c.f+A.f,l:c,r:A};d!=a-1;)c=n[n[u].f<n[p].f?u++:p++],A=n[u!=d&&n[u].f<n[p].f?u++:p++],n[d++]={s:-1,f:c.f+A.f,l:c,r:A};var f=s[0].s;for(r=1;r<a;++r)s[r].s>f&&(f=s[r].s);var h=new i(f+1),m=j(n[d-1],h,0);if(m>t){r=0;var g=0,y=m-t,w=1<<y;for(s.sort(function(e,t){return h[t.s]-h[e.s]||e.f-t.f});r<a;++r){var v=s[r].s;if(!(h[v]>t))break;g+=w-(1<<m-h[v]),h[v]=t}for(g>>=y;g>0;){var b=s[r].s;h[b]<t?g-=1<<t-h[b]++-1:++r}for(;r>=0&&g;--r){var x=s[r].s;h[x]==t&&(--h[x],++g)}m=t}return{t:new o(h),l:m}},j=function(e,t,n){return-1==e.s?Math.max(j(e.l,t,n+1),j(e.r,t,n+1)):t[e.s]=n},E=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new i(++t),r=0,o=e[0],a=1,s=function(e){n[r++]=e},l=1;l<=t;++l)if(e[l]==o&&l!=t)++a;else{if(!o&&a>2){for(;a>138;a-=138)s(32754);a>2&&(s(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(s(o),--a;a>6;a-=6)s(8304);a>2&&(s(a-3<<5|8208),a=0)}for(;a--;)s(o);a=1,o=e[l]}return{c:n.subarray(0,r),n:t}},F=function(e,t){for(var n=0,r=0;r<t.length;++r)n+=e[r]*t[r];return n},N=function(e,t,n){var r=n.length,o=B(t+2);e[o]=255&r,e[o+1]=r>>8,e[o+2]=255^e[o],e[o+3]=255^e[o+1];for(var i=0;i<r;++i)e[o+i+4]=n[i];return 8*(o+4+r)},U=function(e,t,n,r,o,a,A,u,d,p,f){C(t,f++,n),++o[256];for(var h=S(o,15),m=h.t,g=h.l,y=S(a,15),B=y.t,j=y.l,U=E(m),L=U.c,I=U.n,P=E(B),Q=P.c,T=P.n,D=new i(19),O=0;O<L.length;++O)++D[31&L[O]];for(O=0;O<Q.length;++O)++D[31&Q[O]];for(var R=S(D,7),M=R.t,H=R.l,z=19;z>4&&!M[c[z-1]];--z);var K,$,V,q,W=p+5<<3,G=F(o,v)+F(a,b)+A,Y=F(o,m)+F(a,B)+A+14+3*z+F(D,M)+2*D[16]+3*D[17]+7*D[18];if(d>=0&&W<=G&&W<=Y)return N(t,f,e.subarray(d,d+p));if(C(t,f,1+(Y<G)),f+=2,Y<G){K=w(m,g,0),$=m,V=w(B,j,0),q=B;var X=w(M,H,0);for(C(t,f,I-257),C(t,f+5,T-1),C(t,f+10,z-4),f+=14,O=0;O<z;++O)C(t,f+3*O,M[c[O]]);f+=3*z;for(var J=[L,Q],Z=0;Z<2;++Z){var ee=J[Z];for(O=0;O<ee.length;++O){var te=31&ee[O];C(t,f,X[te]),f+=M[te],te>15&&(C(t,f,ee[O]>>5&127),f+=ee[O]>>12)}}}else K=x,$=v,V=_,q=b;for(O=0;O<u;++O){var ne=r[O];if(ne>255){k(t,f,K[257+(te=ne>>18&31)]),f+=$[te+257],te>7&&(C(t,f,ne>>23&31),f+=s[te]);var re=31&ne;k(t,f,V[re]),f+=q[re],re>3&&(k(t,f,ne>>5&8191),f+=l[re])}else k(t,f,K[ne]),f+=$[ne]}return k(t,f,K[256]),f+$[256]},L=new a([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),I=new o(0),P=function(e,t,n,r,c,A){var u=A.z||e.length,d=new o(r+u+5*(1+Math.ceil(u/7e3))+c),f=d.subarray(r,d.length-c),m=A.l,g=7&(A.r||0);if(t){g&&(f[0]=A.r>>3);for(var y=L[t-1],w=y>>13,v=8191&y,b=(1<<n)-1,x=A.p||new i(32768),_=A.h||new i(b+1),C=Math.ceil(n/3),k=2*C,S=function(t){return(e[t]^e[t+1]<<C^e[t+2]<<k)&b},j=new a(25e3),E=new i(288),F=new i(32),I=0,P=0,Q=A.i||0,T=0,D=A.w||0,O=0;Q+2<u;++Q){var R=S(Q),M=32767&Q,H=_[R];if(x[M]=H,_[R]=M,D<=Q){var z=u-Q;if((I>7e3||T>24576)&&(z>423||!m)){g=U(e,f,0,j,E,F,P,T,O,Q-O,g),T=I=P=0,O=Q;for(var K=0;K<286;++K)E[K]=0;for(K=0;K<30;++K)F[K]=0}var $=2,V=0,q=v,W=M-H&32767;if(z>2&&R==S(Q-W))for(var G=Math.min(w,z)-1,Y=Math.min(32767,Q),X=Math.min(258,z);W<=Y&&--q&&M!=H;){if(e[Q+$]==e[Q+$-W]){for(var J=0;J<X&&e[Q+J]==e[Q+J-W];++J);if(J>$){if($=J,V=W,J>G)break;var Z=Math.min(W,J-2),ee=0;for(K=0;K<Z;++K){var te=Q-W+K&32767,ne=te-x[te]&32767;ne>ee&&(ee=ne,H=te)}}}W+=(M=H)-(H=x[M])&32767}if(V){j[T++]=268435456|p[$]<<18|h[V];var re=31&p[$],oe=31&h[V];P+=s[re]+l[oe],++E[257+re],++F[oe],D=Q+$,++I}else j[T++]=e[Q],++E[e[Q]]}}for(Q=Math.max(Q,D);Q<u;++Q)j[T++]=e[Q],++E[e[Q]];g=U(e,f,m,j,E,F,P,T,O,Q-O,g),m||(A.r=7&g|f[g/8|0]<<3,g-=7,A.h=_,A.p=x,A.i=Q,A.w=D)}else{for(Q=A.w||0;Q<u+m;Q+=65535){var ie=Q+65535;ie>=u&&(f[g/8|0]=m,ie=u),g=N(f,g+1,e.subarray(Q,ie))}A.i=u}return function(e,t,n){return(null==t||t<0)&&(t=0),(null==n||n>e.length)&&(n=e.length),new o(e.subarray(t,n))}(d,0,r+B(g)+c)},Q=function(){var e=1,t=0;return{p:function(n){for(var r=e,o=t,i=0|n.length,a=0;a!=i;){for(var s=Math.min(a+2655,i);a<s;++a)o+=r+=n[a];r=(65535&r)+15*(r>>16),o=(65535&o)+15*(o>>16)}e=r,t=o},d:function(){return(255&(e%=65521))<<24|(65280&e)<<8|(255&(t%=65521))<<8|t>>8}}},T=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8};function D(e,t){t||(t={});var n=Q();n.p(e);var r=function(e,t,n,r,i){if(!i&&(i={l:1},t.dictionary)){var a=t.dictionary.subarray(-32768),s=new o(a.length+e.length);s.set(a),s.set(e,a.length),e=s,i.w=a.length}return P(e,null==t.level?6:t.level,null==t.mem?i.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):20:12+t.mem,n,r,i)}(e,t,t.dictionary?6:2,4);return function(e,t){var n=t.level,r=0==n?0:n<6?1:9==n?3:2;if(e[0]=120,e[1]=r<<6|(t.dictionary&&32),e[1]|=31-(e[0]<<8|e[1])%31,t.dictionary){var o=Q();o.p(t.dictionary),T(e,2,o.d())}}(r,t),T(r,r.length-4,n.d()),r}var O="undefined"!=typeof TextDecoder&&new TextDecoder;try{O.decode(I,{stream:!0})}catch(ci){}function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function M(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){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return R(e,t);var n={}.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}}(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 H(e,t="utf8"){return new TextDecoder(t).decode(e)}"function"==typeof queueMicrotask?queueMicrotask:"function"==typeof setTimeout&&setTimeout;const z=new TextEncoder,K=(()=>{const e=new Uint8Array(4);return!((new Uint32Array(e.buffer)[0]=1)&e[0])})(),$={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class V{buffer;byteLength;byteOffset;length;offset;lastWrittenByte;littleEndian;_data;_mark;_marks;constructor(e=8192,t={}){let n=!1;"number"==typeof e?e=new ArrayBuffer(e):(n=!0,this.lastWrittenByte=e.byteLength);const r=t.offset?t.offset>>>0:0,o=e.byteLength-r;let i=r;(ArrayBuffer.isView(e)||e instanceof V)&&(e.byteLength!==e.buffer.byteLength&&(i=e.byteOffset+r),e=e.buffer),this.lastWrittenByte=n?o:0,this.buffer=e,this.length=o,this.byteLength=o,this.byteOffset=i,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,i,o),this._mark=0,this._marks=[]}available(e=1){return this.offset+e<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(e=1){return this.offset+=e,this}back(e=1){return this.offset-=e,this}seek(e){return this.offset=e,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){const e=this._marks.pop();if(void 0===e)throw new Error("Mark stack empty");return this.seek(e),this}rewind(){return this.offset=0,this}ensureAvailable(e=1){if(!this.available(e)){const t=2*(this.offset+e),n=new Uint8Array(t);n.set(new Uint8Array(this.buffer)),this.buffer=n.buffer,this.length=t,this.byteLength=t,this._data=new DataView(this.buffer)}return this}readBoolean(){return 0!==this.readUint8()}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(e=1){return this.readArray(e,"uint8")}readArray(e,t){const n=$[t].BYTES_PER_ELEMENT*e,r=this.byteOffset+this.offset,o=this.buffer.slice(r,r+n);if(this.littleEndian===K&&"uint8"!==t&&"int8"!==t){const e=new Uint8Array(this.buffer.slice(r,r+n));e.reverse();const o=new $[t](e.buffer);return this.offset+=n,o.reverse(),o}const i=new $[t](o);return this.offset+=n,i}readInt16(){const e=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,e}readUint16(){const e=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,e}readInt32(){const e=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,e}readUint32(){const e=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,e}readFloat32(){const e=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,e}readFloat64(){const e=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,e}readBigInt64(){const e=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,e}readBigUint64(){const e=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,e}readChar(){return String.fromCharCode(this.readInt8())}readChars(e=1){let t="";for(let n=0;n<e;n++)t+=this.readChar();return t}readUtf8(e=1){return H(this.readBytes(e))}decodeText(e=1,t="utf8"){return H(this.readBytes(e),t)}writeBoolean(e){return this.writeUint8(e?255:0),this}writeInt8(e){return this.ensureAvailable(1),this._data.setInt8(this.offset++,e),this._updateLastWrittenByte(),this}writeUint8(e){return this.ensureAvailable(1),this._data.setUint8(this.offset++,e),this._updateLastWrittenByte(),this}writeByte(e){return this.writeUint8(e)}writeBytes(e){this.ensureAvailable(e.length);for(let t=0;t<e.length;t++)this._data.setUint8(this.offset++,e[t]);return this._updateLastWrittenByte(),this}writeInt16(e){return this.ensureAvailable(2),this._data.setInt16(this.offset,e,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeUint16(e){return this.ensureAvailable(2),this._data.setUint16(this.offset,e,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeInt32(e){return this.ensureAvailable(4),this._data.setInt32(this.offset,e,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeUint32(e){return this.ensureAvailable(4),this._data.setUint32(this.offset,e,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat32(e){return this.ensureAvailable(4),this._data.setFloat32(this.offset,e,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat64(e){return this.ensureAvailable(8),this._data.setFloat64(this.offset,e,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigInt64(e){return this.ensureAvailable(8),this._data.setBigInt64(this.offset,e,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigUint64(e){return this.ensureAvailable(8),this._data.setBigUint64(this.offset,e,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeChar(e){return this.writeUint8(e.charCodeAt(0))}writeChars(e){for(let t=0;t<e.length;t++)this.writeUint8(e.charCodeAt(t));return this}writeUtf8(e){return this.writeBytes(function(e){return z.encode(e)}(e))}toArray(){return new Uint8Array(this.buffer,this.byteOffset,this.lastWrittenByte)}getWrittenByteLength(){return this.lastWrittenByte-this.byteOffset}_updateLastWrittenByte(){this.offset>this.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}function q(e){let t=e.length;for(;--t>=0;)e[t]=0}const W=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),G=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),Y=ne
vendor: 14,884 bytes, line 2
2w Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),X=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),J=new Array(576);q(J);const Z=new Array(60);q(Z);const ee=new Array(512);q(ee);const te=new Array(256);q(te);const ne=new Array(29);q(ne);const re=new Array(30);function oe(e,t,n,r,o){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=o,this.has_stree=e&&e.length}let ie,ae,se;function le(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}q(re);const ce=e=>e<256?ee[e]:ee[256+(e>>>7)],Ae=(e,t)=>{e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255},ue=(e,t,n)=>{e.bi_valid>16-n?(e.bi_buf|=t<<e.bi_valid&65535,Ae(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)},de=(e,t,n)=>{ue(e,n[2*t],n[2*t+1])},pe=(e,t)=>{let n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1},fe=(e,t,n)=>{const r=new Array(16);let o,i,a=0;for(o=1;o<=15;o++)a=a+n[o-1]<<1,r[o]=a;for(i=0;i<=t;i++){let t=e[2*i+1];0!==t&&(e[2*i]=pe(r[t]++,t))}},he=e=>{let t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.sym_next=e.matches=0},me=e=>{e.bi_valid>8?Ae(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},ge=(e,t,n,r)=>{const o=2*t,i=2*n;return e[o]<e[i]||e[o]===e[i]&&r[t]<=r[n]},ye=(e,t,n)=>{const r=e.heap[n];let o=n<<1;for(;o<=e.heap_len&&(o<e.heap_len&&ge(t,e.heap[o+1],e.heap[o],e.depth)&&o++,!ge(t,r,e.heap[o],e.depth));)e.heap[n]=e.heap[o],n=o,o<<=1;e.heap[n]=r},we=(e,t,n)=>{let r,o,i,a,s=0;if(0!==e.sym_next)do{r=255&e.pending_buf[e.sym_buf+s++],r+=(255&e.pending_buf[e.sym_buf+s++])<<8,o=e.pending_buf[e.sym_buf+s++],0===r?de(e,o,t):(i=te[o],de(e,i+256+1,t),a=W[i],0!==a&&(o-=ne[i],ue(e,o,a)),r--,i=ce(r),de(e,i,n),a=G[i],0!==a&&(r-=re[i],ue(e,r,a)))}while(s<e.sym_next);de(e,256,t)},ve=(e,t)=>{const n=t.dyn_tree,r=t.stat_desc.static_tree,o=t.stat_desc.has_stree,i=t.stat_desc.elems;let a,s,l,c=-1;for(e.heap_len=0,e.heap_max=573,a=0;a<i;a++)0!==n[2*a]?(e.heap[++e.heap_len]=c=a,e.depth[a]=0):n[2*a+1]=0;for(;e.heap_len<2;)l=e.heap[++e.heap_len]=c<2?++c:0,n[2*l]=1,e.depth[l]=0,e.opt_len--,o&&(e.static_len-=r[2*l+1]);for(t.max_code=c,a=e.heap_len>>1;a>=1;a--)ye(e,n,a);l=i;do{a=e.heap[1],e.heap[1]=e.heap[e.heap_len--],ye(e,n,1),s=e.heap[1],e.heap[--e.heap_max]=a,e.heap[--e.heap_max]=s,n[2*l]=n[2*a]+n[2*s],e.depth[l]=(e.depth[a]>=e.depth[s]?e.depth[a]:e.depth[s])+1,n[2*a+1]=n[2*s+1]=l,e.heap[1]=l++,ye(e,n,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],((e,t)=>{const n=t.dyn_tree,r=t.max_code,o=t.stat_desc.static_tree,i=t.stat_desc.has_stree,a=t.stat_desc.extra_bits,s=t.stat_desc.extra_base,l=t.stat_desc.max_length;let c,A,u,d,p,f,h=0;for(d=0;d<=15;d++)e.bl_count[d]=0;for(n[2*e.heap[e.heap_max]+1]=0,c=e.heap_max+1;c<573;c++)A=e.heap[c],d=n[2*n[2*A+1]+1]+1,d>l&&(d=l,h++),n[2*A+1]=d,A>r||(e.bl_count[d]++,p=0,A>=s&&(p=a[A-s]),f=n[2*A],e.opt_len+=f*(d+p),i&&(e.static_len+=f*(o[2*A+1]+p)));if(0!==h){do{for(d=l-1;0===e.bl_count[d];)d--;e.bl_count[d]--,e.bl_count[d+1]+=2,e.bl_count[l]--,h-=2}while(h>0);for(d=l;0!==d;d--)for(A=e.bl_count[d];0!==A;)u=e.heap[--c],u>r||(n[2*u+1]!==d&&(e.opt_len+=(d-n[2*u+1])*n[2*u],n[2*u+1]=d),A--)}})(e,t),fe(n,c,e.bl_count)},be=(e,t,n)=>{let r,o,i=-1,a=t[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)o=a,a=t[2*(r+1)+1],++s<l&&o===a||(s<c?e.bl_tree[2*o]+=s:0!==o?(o!==i&&e.bl_tree[2*o]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,s=0,i=o,0===a?(l=138,c=3):o===a?(l=6,c=3):(l=7,c=4))},xe=(e,t,n)=>{let r,o,i=-1,a=t[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),r=0;r<=n;r++)if(o=a,a=t[2*(r+1)+1],!(++s<l&&o===a)){if(s<c)do{de(e,o,e.bl_tree)}while(0!==--s);else 0!==o?(o!==i&&(de(e,o,e.bl_tree),s--),de(e,16,e.bl_tree),ue(e,s-3,2)):s<=10?(de(e,17,e.bl_tree),ue(e,s-3,3)):(de(e,18,e.bl_tree),ue(e,s-11,7));s=0,i=o,0===a?(l=138,c=3):o===a?(l=6,c=3):(l=7,c=4)}};let _e=!1;const Be=(e,t,n,r)=>{ue(e,0+(r?1:0),3),me(e),Ae(e,n),Ae(e,~n),n&&e.pending_buf.set(e.window.subarray(t,t+n),e.pending),e.pending+=n};var Ce={_tr_init:e=>{_e||((()=>{let e,t,n,r,o;const i=new Array(16);for(n=0,r=0;r<28;r++)for(ne[r]=n,e=0;e<1<<W[r];e++)te[n++]=r;for(te[n-1]=r,o=0,r=0;r<16;r++)for(re[r]=o,e=0;e<1<<G[r];e++)ee[o++]=r;for(o>>=7;r<30;r++)for(re[r]=o<<7,e=0;e<1<<G[r]-7;e++)ee[256+o++]=r;for(t=0;t<=15;t++)i[t]=0;for(e=0;e<=143;)J[2*e+1]=8,e++,i[8]++;for(;e<=255;)J[2*e+1]=9,e++,i[9]++;for(;e<=279;)J[2*e+1]=7,e++,i[7]++;for(;e<=287;)J[2*e+1]=8,e++,i[8]++;for(fe(J,287,i),e=0;e<30;e++)Z[2*e+1]=5,Z[2*e]=pe(e,5);ie=new oe(J,W,257,286,15),ae=new oe(Z,G,0,30,15),se=new oe(new Array(0),Y,0,19,7)})(),_e=!0),e.l_desc=new le(e.dyn_ltree,ie),e.d_desc=new le(e.dyn_dtree,ae),e.bl_desc=new le(e.bl_tree,se),e.bi_buf=0,e.bi_valid=0,he(e)},_tr_stored_block:Be,_tr_flush_block:(e,t,n,r)=>{let o,i,a=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=(e=>{let t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0})(e)),ve(e,e.l_desc),ve(e,e.d_desc),a=(e=>{let t;for(be(e,e.dyn_ltree,e.l_desc.max_code),be(e,e.dyn_dtree,e.d_desc.max_code),ve(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*X[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t})(e),o=e.opt_len+3+7>>>3,i=e.static_len+3+7>>>3,i<=o&&(o=i)):o=i=n+5,n+4<=o&&-1!==t?Be(e,t,n,r):4===e.strategy||i===o?(ue(e,2+(r?1:0),3),we(e,J,Z)):(ue(e,4+(r?1:0),3),((e,t,n,r)=>{let o;for(ue(e,t-257,5),ue(e,n-1,5),ue(e,r-4,4),o=0;o<r;o++)ue(e,e.bl_tree[2*X[o]+1],3);xe(e,e.dyn_ltree,t-1),xe(e,e.dyn_dtree,n-1)})(e,e.l_desc.max_code+1,e.d_desc.max_code+1,a+1),we(e,e.dyn_ltree,e.dyn_dtree)),he(e),r&&me(e)},_tr_tally:(e,t,n)=>(e.pending_buf[e.sym_buf+e.sym_next++]=t,e.pending_buf[e.sym_buf+e.sym_next++]=t>>8,e.pending_buf[e.sym_buf+e.sym_next++]=n,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(te[n]+256+1)]++,e.dyn_dtree[2*ce(t)]++),e.sym_next===e.sym_end),_tr_align:e=>{ue(e,2,3),de(e,256,J),(e=>{16===e.bi_valid?(Ae(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)})(e)}},ke=(e,t,n,r)=>{let o=65535&e,i=e>>>16&65535,a=0;for(;0!==n;){a=n>2e3?2e3:n,n-=a;do{o=o+t[r++]|0,i=i+o|0}while(--a);o%=65521,i%=65521}return o|i<<16};const Se=new Uint32Array((()=>{let e,t=[];for(var n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t})());var je=(e,t,n,r)=>{const o=Se,i=r+n;e^=-1;for(let n=r;n<i;n++)e=e>>>8^o[255&(e^t[n])];return-1^e},Ee={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Fe={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:Ne,_tr_stored_block:Ue,_tr_flush_block:Le,_tr_tally:Ie,_tr_align:Pe}=Ce,{Z_NO_FLUSH:Qe,Z_PARTIAL_FLUSH:Te,Z_FULL_FLUSH:De,Z_FINISH:Oe,Z_BLOCK:Re,Z_OK:Me,Z_STREAM_END:He,Z_STREAM_ERROR:ze,Z_DATA_ERROR:Ke,Z_BUF_ERROR:$e,Z_DEFAULT_COMPRESSION:Ve,Z_FILTERED:qe,Z_HUFFMAN_ONLY:We,Z_RLE:Ge,Z_FIXED:Ye,Z_DEFAULT_STRATEGY:Xe,Z_UNKNOWN:Je,Z_DEFLATED:Ze}=Fe,et=258,tt=262,nt=42,rt=113,ot=666,it=(e,t)=>(e.msg=Ee[t],t),at=e=>2*e-(e>4?9:0),st=e=>{let t=e.length;for(;--t>=0;)e[t]=0},lt=e=>{let t,n,r,o=e.w_size;t=e.hash_size,r=t;do{n=e.head[--r],e.head[r]=n>=o?n-o:0}while(--t);t=o,r=t;do{n=e.prev[--r],e.prev[r]=n>=o?n-o:0}while(--t)};let ct=(e,t,n)=>(t<<e.hash_shift^n)&e.hash_mask;const At=e=>{const t=e.state;let n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(e.output.set(t.pending_buf.subarray(t.pending_out,t.pending_out+n),e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))},ut=(e,t)=>{Le(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,At(e.strm)},dt=(e,t)=>{e.pending_buf[e.pending++]=t},pt=(e,t)=>{e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t},ft=(e,t,n,r)=>{let o=e.avail_in;return o>r&&(o=r),0===o?0:(e.avail_in-=o,t.set(e.input.subarray(e.next_in,e.next_in+o),n),1===e.state.wrap?e.adler=ke(e.adler,t,o,n):2===e.state.wrap&&(e.adler=je(e.adler,t,o,n)),e.next_in+=o,e.total_in+=o,o)},ht=(e,t)=>{let n,r,o=e.max_chain_length,i=e.strstart,a=e.prev_length,s=e.nice_match;const l=e.strstart>e.w_size-tt?e.strstart-(e.w_size-tt):0,c=e.window,A=e.w_mask,u=e.prev,d=e.strstart+et;let p=c[i+a-1],f=c[i+a];e.prev_length>=e.good_match&&(o>>=2),s>e.lookahead&&(s=e.lookahead);do{if(n=t,c[n+a]===f&&c[n+a-1]===p&&c[n]===c[i]&&c[++n]===c[i+1]){i+=2,n++;do{}while(c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&i<d);if(r=et-(d-i),i=d-et,r>a){if(e.match_start=t,a=r,r>=s)break;p=c[i+a-1],f=c[i+a]}}}while((t=u[t&A])>l&&0!==--o);return a<=e.lookahead?a:e.lookahead},mt=e=>{const t=e.w_size;let n,r,o;do{if(r=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-tt)&&(e.window.set(e.window.subarray(t,t+t-r),0),e.match_start-=t,e.strstart-=t,e.block_start-=t,e.insert>e.strstart&&(e.insert=e.strstart),lt(e),r+=t),0===e.strm.avail_in)break;if(n=ft(e.strm,e.window,e.strstart+e.lookahead,r),e.lookahead+=n,e.lookahead+e.insert>=3)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=ct(e,e.ins_h,e.window[o+1]);e.insert&&(e.ins_h=ct(e,e.ins_h,e.window[o+3-1]),e.prev[o&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=o,o++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<tt&&0!==e.strm.avail_in)},gt=(e,t)=>{let n,r,o,i=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,a=0,s=e.strm.avail_in;do{if(n=65535,o=e.bi_valid+42>>3,e.strm.avail_out<o)break;if(o=e.strm.avail_out-o,r=e.strstart-e.block_start,n>r+e.strm.avail_in&&(n=r+e.strm.avail_in),n>o&&(n=o),n<i&&(0===n&&t!==Oe||t===Qe||n!==r+e.strm.avail_in))break;a=t===Oe&&n===r+e.strm.avail_in?1:0,Ue(e,0,0,a),e.pending_buf[e.pending-4]=n,e.pending_buf[e.pending-3]=n>>8,e.pending_buf[e.pending-2]=~n,e.pending_buf[e.pending-1]=~n>>8,At(e.strm),r&&(r>n&&(r=n),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+r),e.strm.next_out),e.strm.next_out+=r,e.strm.avail_out-=r,e.strm.total_out+=r,e.block_start+=r,n-=r),n&&(ft(e.strm,e.strm.output,e.strm.next_out,n),e.strm.next_out+=n,e.strm.avail_out-=n,e.strm.total_out+=n)}while(0===a);return s-=e.strm.avail_in,s&&(s>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=s&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-s,e.strm.next_in),e.strstart),e.strstart+=s,e.insert+=s>e.w_size-e.insert?e.w_size-e.insert:s),e.block_start=e.strstart),e.high_water<e.strstart&&(e.high_water=e.strstart),a?4:t!==Qe&&t!==Oe&&0===e.strm.avail_in&&e.strstart===e.block_start?2:(o=e.window_size-e.strstart,e.strm.avail_in>o&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,o+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),o>e.strm.avail_in&&(o=e.strm.avail_in),o&&(ft(e.strm,e.window,e.strstart,o),e.strstart+=o,e.insert+=o>e.w_size-e.insert?e.w_size-e.insert:o),e.high_water<e.strstart&&(e.high_water=e.strstart),o=e.bi_valid+42>>3,o=e.pending_buf_size-o>65535?65535:e.pending_buf_size-o,i=o>e.w_size?e.w_size:o,r=e.strstart-e.block_start,(r>=i||(r||t===Oe)&&t!==Qe&&0===e.strm.avail_in&&r<=o)&&(n=r>o?o:r,a=t===Oe&&0===e.strm.avail_in&&n===r?1:0,Ue(e,e.block_start,n,a),e.block_start+=n,At(e.strm)),a?3:1)},yt=(e,t)=>{let n,r;for(;;){if(e.lookahead<tt){if(mt(e),e.lookahead<tt&&t===Qe)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=ct(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-tt&&(e.match_length=ht(e,n)),e.match_length>=3)if(r=Ie(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=ct(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!==--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=ct(e,e.ins_h,e.window[e.strstart+1]);else r=Ie(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(ut(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,t===Oe?(ut(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(ut(e,!1),0===e.strm.avail_out)?1:2},wt=(e,t)=>{let n,r,o;for(;;){if(e.lookahead<tt){if(mt(e),e.lookahead<tt&&t===Qe)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=ct(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-tt&&(e.match_length=ht(e,n),e.match_length<=5&&(e.strategy===qe||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){o=e.strstart+e.lookahead-3,r=Ie(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=o&&(e.ins_h=ct(e,e.ins_h,e.window[e.strstart+3-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!==--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,r&&(ut(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if(r=Ie(e,0,e.window[e.strstart-1]),r&&ut(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=Ie(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,t===Oe?(ut(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(ut(e,!1),0===e.strm.avail_out)?1:2};function vt(e,t,n,r,o){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=o}const bt=[new vt(0,0,0,0,gt),new vt(4,4,8,4,yt),new vt(4,5,16,8,yt),new vt(4,6,32,32,yt),new vt(4,4,16,16,wt),new vt(8,16,32,32,wt),new vt(8,16,128,128,wt),new vt(8,32,128,256,wt),new vt(32,128,258,1024,wt),new vt(32,258,258,4096,wt)];
vendor: 4,183 bytes, line 2
2function xt(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Ze,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),st(this.dyn_ltree),st(this.dyn_dtree),st(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),st(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),st(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const _t=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.status!==nt&&57!==t.status&&69!==t.status&&73!==t.status&&91!==t.status&&103!==t.status&&t.status!==rt&&t.status!==ot?1:0},Bt=e=>{if(_t(e))return it(e,ze);e.total_in=e.total_out=0,e.data_type=Je;const t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=2===t.wrap?57:t.wrap?nt:rt,e.adler=2===t.wrap?0:1,t.last_flush=-2,Ne(t),Me},Ct=e=>{const t=Bt(e);return t===Me&&(e=>{e.window_size=2*e.w_size,st(e.head),e.max_lazy_match=bt[e.level].max_lazy,e.good_match=bt[e.level].good_length,e.nice_match=bt[e.level].nice_length,e.max_chain_length=bt[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0})(e.state),t},kt=(e,t,n,r,o,i)=>{if(!e)return ze;let a=1;if(t===Ve&&(t=6),r<0?(a=0,r=-r):r>15&&(a=2,r-=16),o<1||o>9||n!==Ze||r<8||r>15||t<0||t>9||i<0||i>Ye||8===r&&1!==a)return it(e,ze);8===r&&(r=9);const s=new xt;return e.state=s,s.strm=e,s.status=nt,s.wrap=a,s.gzhead=null,s.w_bits=r,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=o+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new Uint8Array(2*s.w_size),s.head=new Uint16Array(s.hash_size),s.prev=new Uint16Array(s.w_size),s.lit_bufsize=1<<o+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new Uint8Array(s.pending_buf_size),s.sym_buf=s.lit_bufsize,s.sym_end=3*(s.lit_bufsize-1),s.level=t,s.strategy=i,s.method=n,Ct(e)};var St=kt,jt=(e,t)=>_t(e)||2!==e.state.wrap?ze:(e.state.gzhead=t,Me),Et=(e,t)=>{if(_t(e)||t>Re||t<0)return e?it(e,ze):ze;const n=e.state;if(!e.output||0!==e.avail_in&&!e.input||n.status===ot&&t!==Oe)return it(e,0===e.avail_out?$e:ze);const r=n.last_flush;if(n.last_flush=t,0!==n.pending){if(At(e),0===e.avail_out)return n.last_flush=-1,Me}else if(0===e.avail_in&&at(t)<=at(r)&&t!==Oe)return it(e,$e);if(n.status===ot&&0!==e.avail_in)return it(e,$e);if(n.status===nt&&0===n.wrap&&(n.status=rt),n.status===nt){let t=Ze+(n.w_bits-8<<4)<<8,r=-1;if(r=n.strategy>=We||n.level<2?0:n.level<6?1:6===n.level?2:3,t|=r<<6,0!==n.strstart&&(t|=32),t+=31-t%31,pt(n,t),0!==n.strstart&&(pt(n,e.adler>>>16),pt(n,65535&e.adler)),e.adler=1,n.status=rt,At(e),0!==n.pending)return n.last_flush=-1,Me}if(57===n.status)if(e.adler=0,dt(n,31),dt(n,139),dt(n,8),n.gzhead)dt(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),dt(n,255&n.gzhead.time),dt(n,n.gzhead.time>>8&255),dt(n,n.gzhead.time>>16&255),dt(n,n.gzhead.time>>24&255),dt(n,9===n.level?2:n.strategy>=We||n.level<2?4:0),dt(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(dt(n,255&n.gzhead.extra.length),dt(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=je(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69;else if(dt(n,0),dt(n,0),dt(n,0),dt(n,0),dt(n,0),dt(n,9===n.level?2:n.strategy>=We||n.level<2?4:0),dt(n,3),n.status=rt,At(e),0!==n.pending)return n.last_flush=-1,Me;
vendor: 4,454 bytes, line 2
2if(69===n.status){if(n.gzhead.extra){let t=n.pending,r=(65535&n.gzhead.extra.length)-n.gzindex;for(;n.pending+r>n.pending_buf_size;){let o=n.pending_buf_size-n.pending;if(n.pending_buf.set(n.gzhead.extra.subarray(n.gzindex,n.gzindex+o),n.pending),n.pending=n.pending_buf_size,n.gzhead.hcrc&&n.pending>t&&(e.adler=je(e.adler,n.pending_buf,n.pending-t,t)),n.gzindex+=o,At(e),0!==n.pending)return n.last_flush=-1,Me;t=0,r-=o}let o=new Uint8Array(n.gzhead.extra);n.pending_buf.set(o.subarray(n.gzindex,n.gzindex+r),n.pending),n.pending+=r,n.gzhead.hcrc&&n.pending>t&&(e.adler=je(e.adler,n.pending_buf,n.pending-t,t)),n.gzindex=0}n.status=73}if(73===n.status){if(n.gzhead.name){let t,r=n.pending;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>r&&(e.adler=je(e.adler,n.pending_buf,n.pending-r,r)),At(e),0!==n.pending)return n.last_flush=-1,Me;r=0}t=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0,dt(n,t)}while(0!==t);n.gzhead.hcrc&&n.pending>r&&(e.adler=je(e.adler,n.pending_buf,n.pending-r,r)),n.gzindex=0}n.status=91}if(91===n.status){if(n.gzhead.comment){let t,r=n.pending;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>r&&(e.adler=je(e.adler,n.pending_buf,n.pending-r,r)),At(e),0!==n.pending)return n.last_flush=-1,Me;r=0}t=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0,dt(n,t)}while(0!==t);n.gzhead.hcrc&&n.pending>r&&(e.adler=je(e.adler,n.pending_buf,n.pending-r,r))}n.status=103}if(103===n.status){if(n.gzhead.hcrc){if(n.pending+2>n.pending_buf_size&&(At(e),0!==n.pending))return n.last_flush=-1,Me;dt(n,255&e.adler),dt(n,e.adler>>8&255),e.adler=0}if(n.status=rt,At(e),0!==n.pending)return n.last_flush=-1,Me}if(0!==e.avail_in||0!==n.lookahead||t!==Qe&&n.status!==ot){let r=0===n.level?gt(n,t):n.strategy===We?((e,t)=>{let n;for(;;){if(0===e.lookahead&&(mt(e),0===e.lookahead)){if(t===Qe)return 1;break}if(e.match_length=0,n=Ie(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(ut(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,t===Oe?(ut(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(ut(e,!1),0===e.strm.avail_out)?1:2})(n,t):n.strategy===Ge?((e,t)=>{let n,r,o,i;const a=e.window;for(;;){if(e.lookahead<=et){if(mt(e),e.lookahead<=et&&t===Qe)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(o=e.strstart-1,r=a[o],r===a[++o]&&r===a[++o]&&r===a[++o])){i=e.strstart+et;do{}while(r===a[++o]&&r===a[++o]&&r===a[++o]&&r===a[++o]&&r===a[++o]&&r===a[++o]&&r===a[++o]&&r===a[++o]&&o<i);e.match_length=et-(i-o),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=Ie(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=Ie(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(ut(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,t===Oe?(ut(e,!0),0===e.strm.avail_out?3:4):e.sym_next&&(ut(e,!1),0===e.strm.avail_out)?1:2})(n,t):bt[n.level].func(n,t);if(3!==r&&4!==r||(n.status=ot),1===r||3===r)return 0===e.avail_out&&(n.last_flush=-1),Me;if(2===r&&(t===Te?Pe(n):t!==Re&&(Ue(n,0,0,!1),t===De&&(st(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),At(e),0===e.avail_out))return n.last_flush=-1,Me}return t!==Oe?Me:n.wrap<=0?He:(2===n.wrap?(dt(n,255&e.adler),dt(n,e.adler>>8&255),dt(n,e.adler>>16&255),dt(n,e.adler>>24&255),dt(n,255&e.total_in),dt(n,e.total_in>>8&255),dt(n,e.total_in>>16&255),dt(n,e.total_in>>24&255)):(pt(n,e.adler>>>16),pt(n,65535&e.adler)),At(e),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?Me:He)},Ft=e=>{if(_t(e))return ze;const t=e.state.status;return e.state=null,t===rt?it(e,Ke):Me},Nt=(e,t)=>{let n=t.length;if(_t(e))return ze;const r=e.state,o=r.wrap;if(2===o||1===o&&r.status!==nt||r.lookahead)return ze;if(1===o&&(e.adler=ke(e.adler,t,n,0)),r.wrap=0,n>=r.w_size){0===o&&(st(r.head),r.strstart=0,r.block_start=0,r.insert=0);let e=new Uint8Array(r.w_size);e.set(t.subarray(n-r.w_size,n),0),t=e,n=r.w_size}const i=e.avail_in,a=e.next_in,s=e.input;for(e.avail_in=n,e.next_in=0,e.input=t,mt(r);r.lookahead>=3;){let e=r.strstart,t=r.lookahead-2;do{r.ins_h=ct(r,r.ins_h,r.window[e+3-1]),r.prev[e&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=e,e++}while(--t);r.strstart=e,r.lookahead=2,mt(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,e.next_in=a,e.input=s,e.avail_in=i,r.wrap=o,Me};const Ut=(e,t)=>
vendor: 4,656 bytes, line 2
2Object.prototype.hasOwnProperty.call(e,t);var Lt=function(e){const t=Array.prototype.slice.call(arguments,1);for(;t.length;){const n=t.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(const t in n)Ut(n,t)&&(e[t]=n[t])}}return e},It=e=>{let t=0;for(let n=0,r=e.length;n<r;n++)t+=e[n].length;const n=new Uint8Array(t);for(let t=0,r=0,o=e.length;t<o;t++){let o=e[t];n.set(o,r),r+=o.length}return n};let Pt=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){Pt=!1}const Qt=new Uint8Array(256);for(let e=0;e<256;e++)Qt[e]=e>=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1;Qt[254]=Qt[254]=1;var Tt=e=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(e);let t,n,r,o,i,a=e.length,s=0;for(o=0;o<a;o++)n=e.charCodeAt(o),55296==(64512&n)&&o+1<a&&(r=e.charCodeAt(o+1),56320==(64512&r)&&(n=65536+(n-55296<<10)+(r-56320),o++)),s+=n<128?1:n<2048?2:n<65536?3:4;for(t=new Uint8Array(s),i=0,o=0;i<s;o++)n=e.charCodeAt(o),55296==(64512&n)&&o+1<a&&(r=e.charCodeAt(o+1),56320==(64512&r)&&(n=65536+(n-55296<<10)+(r-56320),o++)),n<128?t[i++]=n:n<2048?(t[i++]=192|n>>>6,t[i++]=128|63&n):n<65536?(t[i++]=224|n>>>12,t[i++]=128|n>>>6&63,t[i++]=128|63&n):(t[i++]=240|n>>>18,t[i++]=128|n>>>12&63,t[i++]=128|n>>>6&63,t[i++]=128|63&n);return t},Dt=(e,t)=>{const n=t||e.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(e.subarray(0,t));let r,o;const i=new Array(2*n);for(o=0,r=0;r<n;){let t=e[r++];if(t<128){i[o++]=t;continue}let a=Qt[t];if(a>4)i[o++]=65533,r+=a-1;else{for(t&=2===a?31:3===a?15:7;a>1&&r<n;)t=t<<6|63&e[r++],a--;a>1?i[o++]=65533:t<65536?i[o++]=t:(t-=65536,i[o++]=55296|t>>10&1023,i[o++]=56320|1023&t)}}return((e,t)=>{if(t<65534&&e.subarray&&Pt)return String.fromCharCode.apply(null,e.length===t?e:e.subarray(0,t));let n="";for(let r=0;r<t;r++)n+=String.fromCharCode(e[r]);return n})(i,o)},Ot=(e,t)=>{(t=t||e.length)>e.length&&(t=e.length);let n=t-1;for(;n>=0&&128==(192&e[n]);)n--;return n<0||0===n?t:n+Qt[e[n]]>t?n:t},Rt=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0};const Mt=Object.prototype.toString,{Z_NO_FLUSH:Ht,Z_SYNC_FLUSH:zt,Z_FULL_FLUSH:Kt,Z_FINISH:$t,Z_OK:Vt,Z_STREAM_END:qt,Z_DEFAULT_COMPRESSION:Wt,Z_DEFAULT_STRATEGY:Gt,Z_DEFLATED:Yt}=Fe;function Xt(e){this.options=Lt({level:Wt,method:Yt,chunkSize:16384,windowBits:15,memLevel:8,strategy:Gt},e||{});let t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Rt,this.strm.avail_out=0;let n=St(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==Vt)throw new Error(Ee[n]);if(t.header&&jt(this.strm,t.header),t.dictionary){let e;if(e="string"==typeof t.dictionary?Tt(t.dictionary):"[object ArrayBuffer]"===Mt.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,n=Nt(this.strm,e),n!==Vt)throw new Error(Ee[n]);this._dict_set=!0}}function Jt(e,t){const n=new Xt(t);if(n.push(e,!0),n.err)throw n.msg||Ee[n.err];return n.result}Xt.prototype.push=function(e,t){const n=this.strm,r=this.options.chunkSize;let o,i;if(this.ended)return!1;for(i=t===~~t?t:!0===t?$t:Ht,"string"==typeof e?n.input=Tt(e):"[object ArrayBuffer]"===Mt.call(e)?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;;)if(0===n.avail_out&&(n.output=new Uint8Array(r),n.next_out=0,n.avail_out=r),(i===zt||i===Kt)&&n.avail_out<=6)this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;else{if(o=Et(n,i),o===qt)return n.next_out>0&&this.onData(n.output.subarray(0,n.next_out)),o=Ft(this.strm),this.onEnd(o),this.ended=!0,o===Vt;if(0!==n.avail_out){if(i>0&&n.next_out>0)this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;else if(0===n.avail_in)break}else this.onData(n.output)}return!0},Xt.prototype.onData=function(e){this.chunks.push(e)},Xt.prototype.onEnd=function(e){e===Vt&&(this.result=It(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var Zt={Deflate:Xt,deflate:Jt,deflateRaw:function(e,t){return(t=t||{}).raw=!0,Jt(e,t)},gzip:function(e,t){return(t=t||{}).gzip=!0,Jt(e,t)},constants:Fe};const en=16209;var tn=function(e,t){let n,r,o,i,a,s,l,c,A,u,d,p,f,h,m,g,y,w,v,b,x,_,B,C;const k=e.state;n=e.next_in,B=e.input,r=n+(e.avail_in-5),o=e.next_out,C=e.output,i=o-(t-e.avail_out),a=o+(e.avail_out-257),s=k.dmax,l=k.wsize,c=k.whave,A=k.wnext,u=k.window,d=k.hold,p=k.bits,f=k.lencode,h=k.distcode,m=(1<<k.lenbits)-1,g=(1<<k.distbits)-1;
vendor: 22,238 bytes, line 2
2e:do{p<15&&(d+=B[n++]<<p,p+=8,d+=B[n++]<<p,p+=8),y=f[d&m];t:for(;;){if(w=y>>>24,d>>>=w,p-=w,w=y>>>16&255,0===w)C[o++]=65535&y;else{if(!(16&w)){if(64&w){if(32&w){k.mode=16191;break e}e.msg="invalid literal/length code",k.mode=en;break e}y=f[(65535&y)+(d&(1<<w)-1)];continue t}for(v=65535&y,w&=15,w&&(p<w&&(d+=B[n++]<<p,p+=8),v+=d&(1<<w)-1,d>>>=w,p-=w),p<15&&(d+=B[n++]<<p,p+=8,d+=B[n++]<<p,p+=8),y=h[d&g];;){if(w=y>>>24,d>>>=w,p-=w,w=y>>>16&255,16&w){if(b=65535&y,w&=15,p<w&&(d+=B[n++]<<p,p+=8,p<w&&(d+=B[n++]<<p,p+=8)),b+=d&(1<<w)-1,b>s){e.msg="invalid distance too far back",k.mode=en;break e}if(d>>>=w,p-=w,w=o-i,b>w){if(w=b-w,w>c&&k.sane){e.msg="invalid distance too far back",k.mode=en;break e}if(x=0,_=u,0===A){if(x+=l-w,w<v){v-=w;do{C[o++]=u[x++]}while(--w);x=o-b,_=C}}else if(A<w){if(x+=l+A-w,w-=A,w<v){v-=w;do{C[o++]=u[x++]}while(--w);if(x=0,A<v){w=A,v-=w;do{C[o++]=u[x++]}while(--w);x=o-b,_=C}}}else if(x+=A-w,w<v){v-=w;do{C[o++]=u[x++]}while(--w);x=o-b,_=C}for(;v>2;)C[o++]=_[x++],C[o++]=_[x++],C[o++]=_[x++],v-=3;v&&(C[o++]=_[x++],v>1&&(C[o++]=_[x++]))}else{x=o-b;do{C[o++]=C[x++],C[o++]=C[x++],C[o++]=C[x++],v-=3}while(v>2);v&&(C[o++]=C[x++],v>1&&(C[o++]=C[x++]))}break}if(64&w){e.msg="invalid distance code",k.mode=en;break e}y=h[(65535&y)+(d&(1<<w)-1)]}}break}}while(n<r&&o<a);v=p>>3,n-=v,p-=v<<3,d&=(1<<p)-1,e.next_in=n,e.next_out=o,e.avail_in=n<r?r-n+5:5-(n-r),e.avail_out=o<a?a-o+257:257-(o-a),k.hold=d,k.bits=p};const nn=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),rn=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),on=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),an=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);var sn=(e,t,n,r,o,i,a,s)=>{const l=s.bits;let c,A,u,d,p,f,h=0,m=0,g=0,y=0,w=0,v=0,b=0,x=0,_=0,B=0,C=null;const k=new Uint16Array(16),S=new Uint16Array(16);let j,E,F,N=null;for(h=0;h<=15;h++)k[h]=0;for(m=0;m<r;m++)k[t[n+m]]++;for(w=l,y=15;y>=1&&0===k[y];y--);if(w>y&&(w=y),0===y)return o[i++]=20971520,o[i++]=20971520,s.bits=1,0;for(g=1;g<y&&0===k[g];g++);for(w<g&&(w=g),x=1,h=1;h<=15;h++)if(x<<=1,x-=k[h],x<0)return-1;if(x>0&&(0===e||1!==y))return-1;for(S[1]=0,h=1;h<15;h++)S[h+1]=S[h]+k[h];for(m=0;m<r;m++)0!==t[n+m]&&(a[S[t[n+m]]++]=m);if(0===e?(C=N=a,f=20):1===e?(C=nn,N=rn,f=257):(C=on,N=an,f=0),B=0,m=0,h=g,p=i,v=w,b=0,u=-1,_=1<<w,d=_-1,1===e&&_>852||2===e&&_>592)return 1;for(;;){j=h-b,a[m]+1<f?(E=0,F=a[m]):a[m]>=f?(E=N[a[m]-f],F=C[a[m]-f]):(E=96,F=0),c=1<<h-b,A=1<<v,g=A;do{A-=c,o[p+(B>>b)+A]=j<<24|E<<16|F}while(0!==A);for(c=1<<h-1;B&c;)c>>=1;if(0!==c?(B&=c-1,B+=c):B=0,m++,0===--k[h]){if(h===y)break;h=t[n+a[m]]}if(h>w&&(B&d)!==u){for(0===b&&(b=w),p+=g,v=h-b,x=1<<v;v+b<y&&(x-=k[v+b],!(x<=0));)v++,x<<=1;if(_+=1<<v,1===e&&_>852||2===e&&_>592)return 1;u=B&d,o[u]=w<<24|v<<16|p-i}}return 0!==B&&(o[p+B]=h-b<<24|64<<16),s.bits=w,0};const{Z_FINISH:ln,Z_BLOCK:cn,Z_TREES:An,Z_OK:un,Z_STREAM_END:dn,Z_NEED_DICT:pn,Z_STREAM_ERROR:fn,Z_DATA_ERROR:hn,Z_MEM_ERROR:mn,Z_BUF_ERROR:gn,Z_DEFLATED:yn}=Fe,wn=16180,vn=16190,bn=16191,xn=16192,_n=16194,Bn=16199,Cn=16200,kn=16206,Sn=16209,jn=e=>(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24);function En(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const Fn=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.mode<wn||t.mode>16211?1:0},Nn=e=>{if(Fn(e))return fn;const t=e.state;return e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=wn,t.last=0,t.havedict=0,t.flags=-1,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Int32Array(852),t.distcode=t.distdyn=new Int32Array(592),t.sane=1,t.back=-1,un},Un=e=>{if(Fn(e))return fn;const t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,Nn(e)},Ln=(e,t)=>{let n;if(Fn(e))return fn;const r=e.state;return t<0?(n=0,t=-t):(n=5+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?fn:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,Un(e))},In=(e,t)=>{if(!e)return fn;const n=new En;e.state=n,n.strm=e,n.window=null,n.mode=wn;const r=Ln(e,t);return r!==un&&(e.state=null),r};let Pn,Qn,Tn=!0;const Dn=e=>{if(Tn){Pn=new Int32Array(512),Qn=new Int32Array(32);let t=0;for(;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(sn(1,e.lens,0,288,Pn,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;sn(2,e.lens,0,32,Qn,0,e.work,{bits:5}),Tn=!1}e.lencode=Pn,e.lenbits=9,e.distcode=Qn,e.distbits=5},On=(e,t,n,r)=>{let o;const i=e.state;return null===i.window&&(i.wsize=1<<i.wbits,i.wnext=0,i.whave=0,i.window=new Uint8Array(i.wsize)),r>=i.wsize?(i.window.set(t.subarray(n-i.wsize,n),0),i.wnext=0,i.whave=i.wsize):(o=i.wsize-i.wnext,o>r&&(o=r),i.window.set(t.subarray(n-r,n-r+o),i.wnext),(r-=o)?(i.window.set(t.subarray(n-r,n),0),i.wnext=r,i.whave=i.wsize):(i.wnext+=o,i.wnext===i.wsize&&(i.wnext=0),i.whave<i.wsize&&(i.whave+=o))),0};var Rn=Un,Mn=In,Hn=(e,t)=>{let n,r,o,i,a,s,l,c,A,u,d,p,f,h,m,g,y,w,v,b,x,_,B=0;const C=new Uint8Array(4);let k,S;const j=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Fn(e)||!e.output||!e.input&&0!==e.avail_in)return fn;n=e.state,n.mode===bn&&(n.mode=xn),a=e.next_out,o=e.output,l=e.avail_out,i=e.next_in,r=e.input,s=e.avail_in,c=n.hold,A=n.bits,u=s,d=l,_=un;e:for(;;)switch(n.mode){case wn:if(0===n.wrap){n.mode=xn;break}for(;A<16;){if(0===s)break e;s--,c+=r[i++]<<A,A+=8}if(2&n.wrap&&35615===c){0===n.wbits&&(n.wbits=15),n.check=0,C[0]=255&c,C[1]=c>>>8&255,n.check=je(n.check,C,2,0),c=0,A=0,n.mode=16181;break}if(n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&c)<<8)+(c>>8))%31){e.msg="incorrect header check",n.mode=Sn;break}if((15&c)!==yn){e.msg="unknown compression method",n.mode=Sn;break}if(c>>>=4,A-=4,x=8+(15&c),0===n.wbits&&(n.wbits=x),x>15||x>n.wbits){e.msg="invalid window size",n.mode=Sn;break}n.dmax=1<<n.wbits,n.flags=0,e.adler=n.check=1,n.mode=512&c?16189:bn,c=0,A=0;break;case 16181:for(;A<16;){if(0===s)break e;s--,c+=r[i++]<<A,A+=8}if(n.flags=c,(255&n.flags)!==yn){e.msg="unknown compression method",n.mode=Sn;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=Sn;break}n.head&&(n.head.text=c>>8&1),512&n.flags&&4&n.wrap&&(C[0]=255&c,C[1]=c>>>8&255,n.check=je(n.check,C,2,0)),c=0,A=0,n.mode=16182;case 16182:for(;A<32;){if(0===s)break e;s--,c+=r[i++]<<A,A+=8}n.head&&(n.head.time=c),512&n.flags&&4&n.wrap&&(C[0]=255&c,C[1]=c>>>8&255,C[2]=c>>>16&255,C[3]=c>>>24&255,n.check=je(n.check,C,4,0)),c=0,A=0,n.mode=16183;case 16183:for(;A<16;){if(0===s)break e;s--,c+=r[i++]<<A,A+=8}n.head&&(n.head.xflags=255&c,n.head.os=c>>8),512&n.flags&&4&n.wrap&&(C[0]=255&c,C[1]=c>>>8&255,n.check=je(n.check,C,2,0)),c=0,A=0,n.mode=16184;case 16184:if(1024&n.flags){for(;A<16;){if(0===s)break e;s--,c+=r[i++]<<A,A+=8}n.length=c,n.head&&(n.head.extra_len=c),512&n.flags&&4&n.wrap&&(C[0]=255&c,C[1]=c>>>8&255,n.check=je(n.check,C,2,0)),c=0,A=0}else n.head&&(n.head.extra=null);n.mode=16185;case 16185:if(1024&n.flags&&(p=n.length,p>s&&(p=s),p&&(n.head&&(x=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Uint8Array(n.head.extra_len)),n.head.extra.set(r.subarray(i,i+p),x)),512&n.flags&&4&n.wrap&&(n.check=je(n.check,r,p,i)),s-=p,i+=p,n.length-=p),n.length))break e;n.length=0,n.mode=16186;case 16186:if(2048&n.flags){if(0===s)break e;p=0;do{x=r[i+p++],n.head&&x&&n.length<65536&&(n.head.name+=String.fromCharCode(x))}while(x&&p<s);if(512&n.flags&&4&n.wrap&&(n.check=je(n.check,r,p,i)),s-=p,i+=p,x)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=16187;case 16187:if(4096&n.flags){if(0===s)break e;p=0;do{x=r[i+p++],n.head&&x&&n.length<65536&&(n.head.comment+=String.fromCharCode(x))}while(x&&p<s);if(512&n.flags&&4&n.wrap&&(n.check=je(n.check,r,p,i)),s-=p,i+=p,x)break e}else n.head&&(n.head.comment=null);n.mode=16188;case 16188:if(512&n.flags){for(;A<16;){if(0===s)break e;s--,c+=r[i++]<<A,A+=8}if(4&n.wrap&&c!==(65535&n.check)){e.msg="header crc mismatch",n.mode=Sn;break}c=0,A=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=bn;break;case 16189:for(;A<32;){if(0===s)break e;s--,c+=r[i++]<<A,A+=8}e.adler=n.check=jn(c),c=0,A=0,n.mode=vn;case vn:if(0===n.havedict)return e.next_out=a,e.avail_out=l,e.next_in=i,e.avail_in=s,n.hold=c,n.bits=A,pn;e.adler=n.check=1,n.mode=bn;case bn:if(t===cn||t===An)break e;case xn:if(n.last){c>>>=7&A,A-=7&A,n.mode=kn;break}for(;A<3;){if(0===s)break e;s--,c+=r[i++]<<A,A+=8}switch(n.last=1&c,c>>>=1,A-=1,3&c){case 0:n.mode=16193;break;case 1:if(Dn(n),n.mode=Bn,t===An){c>>>=2,A-=2;break e}break;case 2:n.mode=16196;break;case 3:e.msg="invalid block type",n.mode=Sn}c>>>=2,A-=2;break;case 16193:for(c>>>=7&A,A-=7&A;A<32;){if(0===s)break e;s--,c+=r[i++]<<A,A+=8}if((65535&c)!=(c>>>16^65535)){e.msg="invalid stored block lengths",n.mode=Sn;break}if(n.length=65535&c,c=0,A=0,n.mode=_n,t===An)break e;case _n:n.mode=16195;case 16195:if(p=n.length,p){if(p>s&&(p=s),p>l&&(p=l),0===p)break e;o.set(r.subarray(i,i+p),a),s-=p,i+=p,l-=p,a+=p,n.length-=p;break}n.mode=bn;break;case 16196:for(;A<14;){if(0===s)break e;s--,c+=r[i++]<<A,A+=8}if(n.nlen=257+(31&c),c>>>=5,A-=5,n.ndist=1+(31&c),c>>>=5,A-=5,n.ncode=4+(15&c),c>>>=4,A-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=Sn;break}n.have=0,n.mode=16197;case 16197:for(;n.have<n.ncode;){for(;A<3;){if(0===s)break e;s--,c+=r[i++]<<A,A+=8}n.lens[j[n.have++]]=7&c,c>>>=3,A-=3}for(;n.have<19;)n.lens[j[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,k={bits:n.lenbits},_=sn(0,n.lens,0,19,n.lencode,0,n.work,k),n.lenbits=k.bits,_){e.msg="invalid code lengths set",n.mode=Sn;break}n.have=0,n.mode=16198;case 16198:for(;n.have<n.nlen+n.ndist;){for(;B=n.lencode[c&(1<<n.lenbits)-1],m=B>>>24,g=B>>>16&255,y=65535&B,!(m<=A);){if(0===s)break e;s--,c+=r[i++]<<A,A+=8}if(y<16)c>>>=m,A-=m,n.lens[n.have++]=y;else{if(16===y){for(S=m+2;A<S;){if(0===s)break e;s--,c+=r[i++]<<A,A+=8}if(c>>>=m,A-=m,0===n.have){e.msg="invalid bit length repeat",n.mode=Sn;break}x=n.lens[n.have-1],p=3+(3&c),c>>>=2,A-=2}else if(17===y){for(S=m+3;A<S;){if(0===s)break e;s--,c+=r[i++]<<A,A+=8}c>>>=m,A-=m,x=0,p=3+(7&c),c>>>=3,A-=3}else{for(S=m+7;A<S;){if(0===s)break e;s--,c+=r[i++]<<A,A+=8}c>>>=m,A-=m,x=0,p=11+(127&c),c>>>=7,A-=7}if(n.have+p>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=Sn;break}for(;p--;)n.lens[n.have++]=x}}if(n.mode===Sn)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=Sn;break}if(n.lenbits=9,k={bits:n.lenbits},_=sn(1,n.lens,0,n.nlen,n.lencode,0,n.work,k),n.lenbits=k.bits,_){e.msg="invalid literal/lengths set",n.mode=Sn;break}if(n.distbits=6,n.distcode=n.distdyn,k={bits:n.distbits},_=sn(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,k),n.distbits=k.bits,_){e.msg="invalid distances set",n.mode=Sn;break}if(n.mode=Bn,t===An)break e;case Bn:n.mode=Cn;case Cn:if(s>=6&&l>=258){e.next_out=a,e.avail_out=l,e.next_in=i,e.avail_in=s,n.hold=c,n.bits=A,tn(e,d),a=e.next_out,o=e.output,l=e.avail_out,i=e.next_in,r=e.input,s=e.avail_in,c=n.hold,A=n.bits,n.mode===bn&&(n.back=-1);break}for(n.back=0;B=n.lencode[c&(1<<n.lenbits)-1],m=B>>>24,g=B>>>16&255,y=65535&B,!(m<=A);){if(0===s)break e;s--,c+=r[i++]<<A,A+=8}if(g&&!(240&g)){for(w=m,v=g,b=y;B=n.lencode[b+((c&(1<<w+v)-1)>>w)],m=B>>>24,g=B>>>16&255,y=65535&B,!(w+m<=A);){if(0===s)break e;s--,c+=r[i++]<<A,A+=8}c>>>=w,A-=w,n.back+=w}if(c>>>=m,A-=m,n.back+=m,n.length=y,0===g){n.mode=16205;break}if(32&g){n.back=-1,n.mode=bn;break}if(64&g){e.msg="invalid literal/length code",n.mode=Sn;break}n.extra=15&g,n.mode=16201;case 16201:if(n.extra){for(S=n.extra;A<S;){if(0===s)break e;s--,c+=r[i++]<<A,A+=8}n.length+=c&(1<<n.extra)-1,c>>>=n.extra,A-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=16202;case 16202:for(;B=n.distcode[c&(1<<n.distbits)-1],m=B>>>24,g=B>>>16&255,y=65535&B,!(m<=A);){if(0===s)break e;s--,c+=r[i++]<<A,A+=8}if(!(240&g)){for(w=m,v=g,b=y;B=n.distcode[b+((c&(1<<w+v)-1)>>w)],m=B>>>24,g=B>>>16&255,y=65535&B,!(w+m<=A);){if(0===s)break e;s--,c+=r[i++]<<A,A+=8}c>>>=w,A-=w,n.back+=w}if(c>>>=m,A-=m,n.back+=m,64&g){e.msg="invalid distance code",n.mode=Sn;break}n.offset=y,n.extra=15&g,n.mode=16203;case 16203:if(n.extra){for(S=n.extra;A<S;){if(0===s)break e;s--,c+=r[i++]<<A,A+=8}n.offset+=c&(1<<n.extra)-1,c>>>=n.extra,A-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=Sn;break}n.mode=16204;case 16204:if(0===l)break e;if(p=d-l,n.offset>p){if(p=n.offset-p,p>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=Sn;break}p>n.wnext?(p-=n.wnext,f=n.wsize-p):f=n.wnext-p,p>n.length&&(p=n.length),h=n.window}else h=o,f=a-n.offset,p=n.length;p>l&&(p=l),l-=p,n.length-=p;do{o[a++]=h[f++]}while(--p);0===n.length&&(n.mode=Cn);break;case 16205:if(0===l)break e;o[a++]=n.length,l--,n.mode=Cn;break;case kn:if(n.wrap){for(;A<32;){if(0===s)break e;s--,c|=r[i++]<<A,A+=8}if(d-=l,e.total_out+=d,n.total+=d,4&n.wrap&&d&&(e.adler=n.check=n.flags?je(n.check,o,d,a-d):ke(n.check,o,d,a-d)),d=l,4&n.wrap&&(n.flags?c:jn(c))!==n.check){e.msg="incorrect data check",n.mode=Sn;break}c=0,A=0}n.mode=16207;case 16207:if(n.wrap&&n.flags){for(;A<32;){if(0===s)break e;s--,c+=r[i++]<<A,A+=8}if(4&n.wrap&&c!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=Sn;break}c=0,A=0}n.mode=16208;case 16208:_=dn;break e;case Sn:_=hn;break e;case 16210:return mn;default:return fn}return e.next_out=a,e.avail_out=l,e.next_in=i,e.avail_in=s,n.hold=c,n.bits=A,(n.wsize||d!==e.avail_out&&n.mode<Sn&&(n.mode<kn||t!==ln))&&On(e,e.output,e.next_out,d-e.avail_out),u-=e.avail_in,d-=e.avail_out,e.total_in+=u,e.total_out+=d,n.total+=d,4&n.wrap&&d&&(e.adler=n.check=n.flags?je(n.check,o,d,e.next_out-d):ke(n.check,o,d,e.next_out-d)),e.data_type=n.bits+(n.last?64:0)+(n.mode===bn?128:0)+(n.mode===Bn||n.mode===_n?256:0),(0===u&&0===d||t===ln)&&_===un&&(_=gn),_},zn=e=>{if(Fn(e))return fn;let t=e.state;return t.window&&(t.window=null),e.state=null,un},Kn=(e,t)=>{if(Fn(e))return fn;const n=e.state;return 2&n.wrap?(n.head=t,t.done=!1,un):fn},$n=(e,t)=>{const n=t.length;let r,o,i;return Fn(e)?fn:(r=e.state,0!==r.wrap&&r.mode!==vn?fn:r.mode===vn&&(o=1,o=ke(o,t,n,0),o!==r.check)?hn:(i=On(e,t,n,n),i?(r.mode=16210,mn):(r.havedict=1,un)))},Vn=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1};const qn=Object.prototype.toString,{Z_NO_FLUSH:Wn,Z_FINISH:Gn,Z_OK:Yn,Z_STREAM_END:Xn,Z_NEED_DICT:Jn,Z_STREAM_ERROR:Zn,Z_DATA_ERROR:er,Z_MEM_ERROR:tr}=Fe;function nr(e){this.options=Lt({chunkSize:65536,windowBits:15,to:""},e||{});const t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(15&t.windowBits||(t.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Rt,this.strm.avail_out=0;let n=Mn(this.strm,t.windowBits);if(n!==Yn)throw new Error(Ee[n]);if(this.header=new Vn,Kn(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=Tt(t.dictionary):"[object ArrayBuffer]"===qn.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=$n(this.strm,t.dictionary),n!==Yn)))throw new Error(Ee[n])}function rr(e,t){const n=new nr(t);if(n.push(e),n.err)throw n.msg||Ee[n.err];return n.result}nr.prototype.push=function(e,t){const n=this.strm,r=this.options.chunkSize,o=this.options.dictionary;let i,a,s;if(this.ended)return!1;for(a=t===~~t?t:!0===t?Gn:Wn,"[object ArrayBuffer]"===qn.call(e)?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;;){for(0===n.avail_out&&(n.output=new Uint8Array(r),n.next_out=0,n.avail_out=r),i=Hn(n,a),i===Jn&&o&&(i=$n(n,o),i===Yn?i=Hn(n,a):i===er&&(i=Jn));n.avail_in>0&&i===Xn&&n.state.wrap>0&&0!==e[n.next_in];)Rn(n),i=Hn(n,a);switch(i){case Zn:case er:case Jn:case tr:return this.onEnd(i),this.ended=!0,!1}if(s=n.avail_out,n.next_out&&(0===n.avail_out||i===Xn))if("string"===this.options.to){let e=Ot(n.output,n.next_out),t=n.next_out-e,o=Dt(n.output,e);n.next_out=t,n.avail_out=r-t,t&&n.output.set(n.output.subarray(e,e+t),0),this.onData(o)}else this.onData(n.output.length===n.next_out?n.output:n.output.subarray(0,n.next_out));if(i!==Yn||0!==s){if(i===Xn)return i=zn(this.strm),this.onEnd(i),this.ended=!0,!0;if(0===n.avail_in)break}}return!0},nr.prototype.onData=function(e){this.chunks.push(e)},nr.prototype.onEnd=function(e){e===Yn&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=It(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var or={Inflate:nr,inflate:rr,inflateRaw:function(e,t){return(t=t||{}).raw=!0,rr(e,t)},ungzip:rr,constants:Fe};const{Deflate:ir,deflate:ar,deflateRaw:sr,gzip:lr}=Zt,{Inflate:cr,inflate:Ar,inflateRaw:ur,ungzip:dr}=or;var pr=cr,fr=Ar;const hr=[];for(let e=0;e<256;e++){let t=e;for(let e=0;e<8;e++)1&t?t=3988292384^t>>>1:t>>>=1;hr[e]=t}const mr=4294967295;function gr(e,t,n){const r=e.readUint32(),o=(i=new Uint8Array(e.buffer,e.byteOffset+e.offset-t-4,t),(function(e,t,n){let r=e;for(let e=0;e<n;e++)r=hr[255&(r^t[e])]^r>>>8;return r}(mr,i,t)^mr)>>>0);var i;if(o!==r)throw new Error(`CRC mismatch for chunk ${n}. Expected ${r}, found ${o}`)}function yr(e,t,n){for(let r=0;r<n;r++)t[r]=e[r]}function wr(e,t,n,r){let o=0;for(;o<r;o++)t[o]=e[o];for(;o<n;o++)t[o]=e[o]+t[o-r]&255}function vr(e,t,n,r){let o=0;if(0===n.length)for(;o<r;o++)t[o]=e[o];else for(;o<r;o++)t[o]=e[o]+n[o]&255}function br(e,t,n,r,o){let i=0;if(0===n.length){for(;i<o;i++)t[i]=e[i];for(;i<r;i++)t[i]=e[i]+(t[i-o]>>1)&255}else{for(;i<o;i++)t[i]=e[i]+(n[i]>>1)&255;for(;i<r;i++)t[i]=e[i]+(t[i-o]+n[i]>>1)&255}}function xr(e,t,n,r,o){let i=0;if(0===n.length){for(;i<o;i++)t[i]=e[i];for(;i<r;i++)t[i]=e[i]+t[i-o]&255}else{for(;i<o;i++)t[i]=e[i]+n[i]&255;for(;i<r;i++)t[i]=e[i]+_r(t[i-o],n[i],n[i-o])&255}}function _r(e,t,n){const r=e+t-n,o=Math.abs(r-e),i=Math.abs(r-t),a=Math.abs(r-n);return o<=i&&o<=a?e:i<=a?t:n}function Br(e,t,n,r,o,i){switch(e){case 0:yr(t,n,o);break;case 1:wr(t,n,o,i);break;case 2:vr(t,n,r,o);break;case 3:br(t,n,r,o,i);break;case 4:xr(t,n,r,o,i);break;default:throw new Error(`Unsupported filter: ${e}`)}}const Cr=new Uint16Array([255]),kr=255===new Uint8Array(Cr.buffer)[0];function Sr(e){return(255&e)<<8|e>>8&255}const jr=new Uint16Array([255]),Er=255===new Uint8Array(jr.buffer)[0],Fr=new Uint8Array(0);function Nr(e){const{data:t,width:n,height:r,channels:o,depth:i}=e,a=Math.ceil(i/8)*o,s=Math.ceil(i/8*o*n),l=new Uint8Array(r*s);let c,A,u=Fr,d=0;for(let e=0;e<r;e++){switch(c=t.subarray(d+1,d+1+s),A=l.subarray(e*s,(e+1)*s),t[d]){case 0:yr(c,A,s);break;case 1:wr(c,A,s,a);break;case 2:vr(c,A,u,s);break;case 3:br(c,A,u,s,a);break;case 4:xr(c,A,u,s,a);break;default:throw new Error(`Unsupported filter: ${t[d]}`)}u=A,d+=s+1}if(16===i){const e=new Uint16Array(l.buffer);if(Er)for(let t=0;t<e.length;t++)e[t]=Ur(e[t]);return e}return l}function Ur(e){return(255&e)<<8|e>>8&255}const Lr=Uint8Array.of(137,80,78,71,13,10,26,10);function Ir(e){if(!function(e){if(e.length<Lr.length)return!1;for(let t=0;t<Lr.length;t++)if(e[t]!==Lr[t])return!1;return!0}(e.readBytes(Lr.length)))throw new Error("wrong PNG signature")}const Pr=new TextDecoder("latin1");function Qr(e){if(function(e){if(!Tr.test(e))throw new Error("invalid latin1 text")}(e),0===e.length||e.length>79)throw new Error("keyword length must be between 1 and 79")}const Tr=/^[\u0000-\u00FF]*$/;function Dr(e){for(e.mark();0!==e.readByte(););const t=e.offset;e.reset();const n=Pr.decode(e.readBytes(t-e.offset-1));return e.skip(1),Qr(n),n}class Or extends V{_checkCrc;_inflator;_png;_apng;_end;_hasPalette;_palette;_hasTransparency;_transparency;_compressionMethod;_filterMethod;_interlaceMethod;_colorType;_isAnimated;_numberOfFrames;_numberOfPlays;_frames;_writingDataChunks;constructor(e,t={}){super(e);const{checkCrc:n=!1}=t;this._checkCrc=n,this._inflator=new pr,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=-1,this._filterMethod=-1,this._interlaceMethod=-1,this._colorType=-1,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(Ir(this);!this._end;){const e=this.readUint32(),t=this.readChars(4);this.decodeChunk(e,t)}return this.decodeImage(),this._png}decodeApng(){for(Ir(this);!this._end;){const e=this.readUint32(),t=this.readChars(4);this.decodeApngChunk(e,t)}return this.decodeApngImage(),this._apng}decodeChunk(e,t){const n=this.offset;switch(t){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(e);break;case"IDAT":this.decodeIDAT(e);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(e);break;case"iCCP":this.decodeiCCP(e);break;case"tEXt":!function(e,t,n){const r=Dr(t);e[r]=function(e,t){return Pr.decode(e.readBytes(t))}(t,n-r.length-1)}(this._png.text,this,e);break;case"pHYs":this.decodepHYs();break;default:this.skip(e)}if(this.offset-n!==e)throw new Error(`Length mismatch while decoding chunk ${t}`);this._checkCrc?gr(this,e+4,t):this.skip(4)}decodeApngChunk(e,t){const n=this.offset;switch("fdAT"!==t&&"IDAT"!==t&&this._writingDataChunks&&this.pushDataToFrame(),t){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(e);break;default:this.decodeChunk(e,t),this.offset=n+e}if(this.offset-n!==e)throw new Error(`Length mismatch while decoding chunk ${t}`);this._checkCrc?gr
vendor: 2,680 bytes, line 2
2(this,e+4,t):this.skip(4)}decodeIHDR(){const e=this._png;e.width=this.readUint32(),e.height=this.readUint32(),e.depth=function(e){if(1!==e&&2!==e&&4!==e&&8!==e&&16!==e)throw new Error(`invalid bit depth: ${e}`);return e}(this.readUint8());const t=this.readUint8();let n;switch(this._colorType=t,t){case 0:case 3:n=1;break;case 2:n=3;break;case 4:n=2;break;case 6:n=4;break;default:throw new Error(`Unknown color type: ${t}`)}if(this._png.channels=n,this._compressionMethod=this.readUint8(),0!==this._compressionMethod)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){const e={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(e)}decodePLTE(e){if(e%3!=0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${e}`);const t=e/3;this._hasPalette=!0;const n=[];this._palette=n;for(let e=0;e<t;e++)n.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(e){this._writingDataChunks=!0;const t=e,n=this.offset+this.byteOffset;if(this._inflator.push(new Uint8Array(this.buffer,n,t)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(e)}decodeFDAT(e){this._writingDataChunks=!0;let t=e,n=this.offset+this.byteOffset;if(n+=4,t-=4,this._inflator.push(new Uint8Array(this.buffer,n,t)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(e)}decodetRNS(e){switch(this._colorType){case 0:case 2:if(e%2!=0)throw new RangeError(`tRNS chunk length must be a multiple of 2. Got ${e}`);if(e/2>this._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${e/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(e/2);for(let t=0;t<e/2;t++)this._transparency[t]=this.readUint16();break;case 3:{if(e>this._palette.length)throw new Error(`tRNS chunk contains more alpha values than there are palette colors (${e} vs ${this._palette.length})`);let t=0;for(;t<e;t++){const e=this.readByte();this._palette[t].push(e)}for(;t<this._palette.length;t++)this._palette[t].push(255);break}default:throw new Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(e){const t=
vendor: 8,614 bytes, line 2
2Dr(this),n=this.readUint8();if(0!==n)throw new Error(`Unsupported iCCP compression method: ${n}`);const r=this.readBytes(e-t.length-2);this._png.iccEmbeddedProfile={name:t,profile:fr(r)}}decodepHYs(){const e=this.readUint32(),t=this.readUint32(),n=this.readByte();this._png.resolution={x:e,y:t,unit:n}}decodeApngImage(){this._apng.width=this._png.width,this._apng.height=this._png.height,this._apng.channels=this._png.channels,this._apng.depth=this._png.depth,this._apng.numberOfFrames=this._numberOfFrames,this._apng.numberOfPlays=this._numberOfPlays,this._apng.text=this._png.text,this._apng.resolution=this._png.resolution;for(let e=0;e<this._numberOfFrames;e++){const t={sequenceNumber:this._frames[e].sequenceNumber,delayNumber:this._frames[e].delayNumber,delayDenominator:this._frames[e].delayDenominator,data:8===this._apng.depth?new Uint8Array(this._apng.width*this._apng.height*this._apng.channels):new Uint16Array(this._apng.width*this._apng.height*this._apng.channels)},n=this._frames.at(e);if(n){if(n.data=Nr({data:n.data,width:n.width,height:n.height,channels:this._apng.channels,depth:this._apng.depth}),this._hasPalette&&(this._apng.palette=this._palette),this._hasTransparency&&(this._apng.transparency=this._transparency),0===e||0===n.xOffset&&0===n.yOffset&&n.width===this._png.width&&n.height===this._png.height)t.data=n.data;else{const r=this._apng.frames.at(e-1);this.disposeFrame(n,r,t),this.addFrameDataToCanvas(t,n)}this._apng.frames.push(t)}}return this._apng}disposeFrame(e,t,n){switch(e.disposeOp){case 0:break;case 1:for(let t=0;t<this._png.height;t++)for(let r=0;r<this._png.width;r++){const o=(t*e.width+r)*this._png.channels;for(let e=0;e<this._png.channels;e++)n.data[o+e]=0}break;case 2:n.data.set(t.data);break;default:throw new Error("Unknown disposeOp")}}addFrameDataToCanvas(e,t){const n=1<<this._png.depth,r=(e,n)=>({index:((e+t.yOffset)*this._png.width+t.xOffset+n)*this._png.channels,frameIndex:(e*t.width+n)*this._png.channels});switch(t.blendOp){case 0:for(let n=0;n<t.height;n++)for(let o=0;o<t.width;o++){const{index:i,frameIndex:a}=r(n,o);for(let n=0;n<this._png.channels;n++)e.data[i+n]=t.data[a+n]}break;case 1:for(let o=0;o<t.height;o++)for(let i=0;i<t.width;i++){const{index:a,frameIndex:s}=r(o,i);for(let r=0;r<this._png.channels;r++){const o=t.data[s+this._png.channels-1]/n,i=r%(this._png.channels-1)==0?1:t.data[s+r],l=Math.floor(o*i+(1-o)*e.data[a+r]);e.data[a+r]+=l}}break;default:throw new Error("Unknown blendOp")}}decodeImage(){if(this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);const e=this._isAnimated?(this._frames?.at(0)).data:this._inflator.result;if(0!==this._filterMethod)throw new Error(`Filter method ${this._filterMethod} not supported`);if(0===this._interlaceMethod)this._png.data=Nr({data:e,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else{if(1!==this._interlaceMethod)throw new Error(`Interlace method ${this._interlaceMethod} not supported`);this._png.data=function(e){const{data:t,width:n,height:r,channels:o,depth:i}=e,a=[{x:0,y:0,xStep:8,yStep:8},{x:4,y:0,xStep:8,yStep:8},{x:0,y:4,xStep:4,yStep:8},{x:2,y:0,xStep:4,yStep:4},{x:0,y:2,xStep:2,yStep:4},{x:1,y:0,xStep:2,yStep:2},{x:0,y:1,xStep:1,yStep:2}],s=Math.ceil(i/8)*o,l=new Uint8Array(r*n*s);let c=0;for(let e=0;e<7;e++){const o=a[e],i=Math.ceil((n-o.x)/o.xStep),A=Math.ceil((r-o.y)/o.yStep);if(i<=0||A<=0)continue;const u=i*s,d=new Uint8Array(u);for(let e=0;e<A;e++){const a=t[c++],A=t.subarray(c,c+u);c+=u;const p=new Uint8Array(u);Br(a,A,p,d,u,s),d.set(p);for(let t=0;t<i;t++){const i=o.x+t*o.xStep,a=o.y+e*o.yStep;if(!(i>=n||a>=r))for(let e=0;e<s;e++)l[(a*n+i)*s+e]=p[t*s+e]}}}if(16===i){const e=new Uint16Array(l.buffer);if(kr)for(let t=0;t<e.length;t++)e[t]=Sr(e[t]);return e}return l}({data:e,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth})}this._hasPalette&&(this._png.palette=this._palette),this._hasTransparency&&(this._png.transparency=this._transparency)}pushDataToFrame(){const e=this._inflator.result,t=this._frames.at(-1);t?t.data=e:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:0,blendOp:0,data:e}),this._inflator=new pr,this._writingDataChunks=!1}}var Rr;!function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.METRE=1]="METRE"}(Rr||(Rr={}));var Mr=function(){return"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this}();function Hr(){Mr.console&&"function"==typeof Mr.console.log&&Mr.console.log.apply(Mr.console,arguments)}var zr={log:Hr,warn:function(e){Mr.console&&("function"==typeof Mr.console.warn?Mr.console.warn.apply(Mr.console,arguments):Hr.call(null,arguments))},error:function(e){Mr.console&&("function"==typeof Mr.console.error?Mr.console.error.apply(Mr.console,arguments):Hr(e))}};function Kr(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){qr(r.response,t,n)},r.onerror=function(){zr.error("could not download file")},r.send()}function $r(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}function Vr(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var qr=Mr.saveAs||("object"!==("undefined"==typeof window?"undefined":(0,r.A)(window))||window!==Mr?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(e,t,n){var r=Mr.URL||Mr.webkitURL,o=document.createElement("a");t=t||e.name||"download",o.download=t,o.rel="noopener","string"==typeof e?(o.href=e,o.origin!==location.origin?$r(o.href)?Kr(e,t,n):Vr(o,o.target="_blank"):Vr(o)):(o.href=r.createObjectURL(e),setTimeout(function(){r.revokeObjectURL(o.href)},4e4),setTimeout(function(){Vr(o)},0))}:"msSaveOrOpenBlob"in navigator?function(e,t,n){if(t=t||e.name||"download","string"==typeof e)if($r(e))Kr(e,t,n);else{var o=document.createElement("a");o.href=e,o.target="_blank",setTimeout(function(){Vr(o)})}else navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!==(0,r.A)(t)&&(zr.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}(e,n),t)}:function(e,t,n,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof e)return Kr(e,t,n);var i="application/octet-stream"===e.type,a=/constructor/i.test(Mr.HTMLElement)||Mr.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||i&&a)&&"object"===("undefined"==typeof FileReader?"undefined":(0,r.A)(FileReader))){var l=new FileReader;l.onloadend=function(){var e=l.result;e=s?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location=e,o=null},l.readAsDataURL(e)}else{var c=Mr.URL||Mr.webkitURL,A=c.createObjectURL(e);o?o.location=A:location.href=A,o=null,setTimeout(function(){c.revokeObjectURL(A)},4e4)}});function Wr(e){var t;e=e||"",this.ok=!1,"#"==e.charAt(0)&&(e=e.substr(1,6)),e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee9
20",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[e=(e=e.replace(/ /g,"")).toLowerCase()]||e;for(var n=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],r=0;r<n.length;r++){var o=n[r].re,i=n[r].process,a=o.exec(e);a&&(t=i(a),this.r=t[0],this.g=t[1],this.b=t[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),n=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==n.length&&(n="0"+n),"#"+e+t+n}}var Gr=Mr.atob.bind(Mr),Yr=Mr.btoa.bind(Mr);function Xr(e,t){var n=e[0],r=e[1],o=e[2],i=e[3];n=Zr(n,r,o,i,t[0],7,-680876936),i=Zr(i,n,r,o,t[1],12,-389564586),o=Zr(o,i,n,r,t[2],17,606105819),r=Zr(r,o,i,n,t[3],22,-1044525330),n=Zr(n,r,o,i,t[4],7,-176418897),i=Zr(i,n,r,o,t[5],12,1200080426),o=Zr(o,i,n,r,t[6],17,-1473231341),r=Zr(r,o,i,n,t[7],22,-45705983),n=Zr(n,r,o,i,t[8],7,1770035416),i=Zr(i,n,r,o,t[9],12,-1958414417),o=Zr(o,i,n,r,t[10],17,-42063),r=Zr(r,o,i,n,t[11],22,-1990404162),n=Zr(n,r,o,i,t[12],7,1804603682),i=Zr(i,n,r,o,t[13],12,-40341101),o=Zr(o,i,n,r,t[14],17,-1502002290),n=eo(n,r=Zr(r,o,i,n,t[15],22,1236535329),o,i,t[1],5,-165796510),i=eo(i,n,r,o,t[6],9,-1069501632),o=eo(o,i,n,r,t[11],14,643717713),r=eo(r,o,i,n,t[0],20,-373897302),n=eo(n,r,o,i,t[5],5,-701558691),i=eo(i,n,r,o,t[10],9,38016083),o=eo(o,i,n,r,t[15],14,-660478335),r=eo(r,o,i,n,t[4],20,-405537848),n=eo(n,r,o,i,t[9],5,568446438),i=eo(i,n,r,o,t[14],9,-1019803690),o=eo(o,i,n,r,t[3],14,-187363961),r=eo(r,o,i,n,t[8],20,1163531501),n=eo(n,r,o,i,t[13],5,-1444681467),i=eo(i,n,r,o,t[2],9,-51403784),o=eo(o,i,n,r,t[7],14,1735328473),n=to(n,r=eo(r,o,i,n,t[12],20,-1926607734),o,i,t[5],4,-378558),i=to(i,n,r,o,t[8],11,-2022574463),o=to(o,i,n,r,t[11],16,1839030562),r=to(r,o,i,n,t[14],23,-35309556),n=to(n,r,o,i,t[1],4,-1530992060),i=to(i,n,r,o,t[4],11,1272893353),o=to(o,i,n,r,t[7],16,-155497632),r=to(r,o,i,n,t[10],23,-1094730640),n=to(n,r,o,i,t[13],4,681279174),i=to(i,n,r,o,t[0],11,-358537222),o=to(o,i,n,r,t[3],16,-722521979),r=to(r,o,i,n,t[6],23,76029189),n=to(n,r,o,i,t[9],4,-640364487),i=to(i,n,r,o,t[12],11,-421815835),o=to(o,i,n,r,t[15],16,530742520),n=no(n,r=to(r,o,i,n,t[2],23,-995338651),o,i,t[0],6,-198630844),i=no(i,n,r,o,t[7],10,1126891415),o=no(o,i,n,r,t[14],15,-1416354905),r=no(r,o,i,n,t[5],21,-57434055),n=no(n,r,o,i,t[12],6,1700485571),i=no(i,n,r,o,t[3],10,-1894986606),o=no(o,i,n,r,t[10],15,-1051523),r=no(r,o,i,n,t[1],21,-2054922799),n=no(n,r,o,i,t[8],6,1873313359),i=no(i,n,r,o,t[15],10,-30611744),o=no(o,i,n,r,t[6],15,-1560198380),r=no(r,o,i,n,t[13],21,1309151649),n=no(n,r,o,i,t[4],6,-145523070),i=no(i,n,r,o,t[11],10,-1120210379),o=no(o,i,n,r,t[2],15,718787259),r=no(r,o,i,n,t[9],21,-343485551),e[0]=Ao(n,e[0]),e[1]=Ao(r,e[1]),e[2]=Ao(o,e[2]),e[3]=Ao(i,e[3])}function Jr(e,t,n,r,o,i){return t=Ao(Ao(t,e),Ao(r,i)),Ao(t<<o|t>>>32-o,n)}function Zr(e,t,n,r,o,i,a){return Jr(t&n|~t&r,e,t,o,i,a)}function eo(e,t,n,r,o,i,a){return Jr(t&r|n&~r,e,t,o,i,a)}function to(e,t,n,r,o,i,a){return Jr(t^n^r,e,t,o,i,a)}function no(e,t,n,r,o,i,a){return Jr(n^(t|~r),e,t,o,i,a)}function ro(e){var t,n=e.length,r=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)Xr(r,oo(e.substring(t-64,t)));e=e.substring(t-64);var o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)o[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(o[t>>2]|=128<<(t%4<<3),t>55)for(Xr(r,o),t=0;t<16;t++)o[t]=0;return o[14]=8*n,Xr(r,o),r}function oo(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}var io="0123456789abcdef".split("");function ao(e){for(var t="",n=0;n<4;n++)t+=io[e>>8*n+4&15]+io[e>>8*n&15];return t}function so(e){return String.fromCharCode(255&e,(65280&e)>>8,(16711680&e)>>16,(4278190080&e)>>24)}function lo(e){return ro(e).map(so).join("")}var co="5d41402abc4b2a76b9719d911017c592"!=function(e){for(var t=0;t<e.length;t++)e[t]=ao(e[t]);return e.join("")}(ro("hello"));function Ao(e,t){if(co){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}return e+t&4294967295}function uo(e,t){var n,r,o,i;if(e!==n){for(var a=(o=e,i=1+(256/e.length|0),new Array(i+1).join(o)),s=[],l=0;l<256;l++)s[l]=l;var c=0;for(l=0;l<256;l++){var A=s[l];
vendor: 5,406 bytes, line 2
2c=(c+A+a.charCodeAt(l))%256,s[l]=s[c],s[c]=A}n=e,r=s}else s=r;var u=t.length,d=0,p=0,f="";for(l=0;l<u;l++)p=(p+(A=s[d=(d+1)%256]))%256,s[d]=s[p],s[p]=A,a=s[(s[d]+s[p])%256],f+=String.fromCharCode(t.charCodeAt(l)^a);return f}var po={print:4,modify:8,copy:16,"annot-forms":32};function fo(e,t,n,r){this.v=1,this.r=2;var o=192;e.forEach(function(e){if(void 0!==po.perm)throw new Error("Invalid permission: "+e);o+=po[e]}),this.padding="(¿N^NuŠAd\0NVÿú�\b..\0¶Ðh>€/\f©þdSiz";var i=(t+this.padding).substr(0,32),a=(n+this.padding).substr(0,32);this.O=this.processOwnerPassword(i,a),this.P=-(1+(255^o)),this.encryptionKey=lo(i+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=uo(this.encryptionKey,this.padding)}function ho(e){if(/[^\u0000-\u00ff]/.test(e))throw new Error("Invalid PDF Name Object: "+e+", Only accept ASCII characters.");for(var t="",n=e.length,r=0;r<n;r++){var o=e.charCodeAt(r);t+=o<33||35===o||37===o||40===o||41===o||47===o||60===o||62===o||91===o||93===o||123===o||125===o||o>126?"#"+("0"+o.toString(16)).slice(-2):e[r]}return t}function mo(e){if("object"!==(0,r.A)(e))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(e,n,r){if(r=r||!1,"string"!=typeof e||"function"!=typeof n||"boolean"!=typeof r)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");t.hasOwnProperty(e)||(t[e]={});var o=Math.random().toString(35);return t[e][o]=[n,!!r],o},this.unsubscribe=function(e){for(var n in t)if(t[n][e])return delete t[n][e],0===Object.keys(t[n]).length&&delete t[n],!0;return!1},this.publish=function(n){if(t.hasOwnProperty(n)){var r=Array.prototype.slice.call(arguments,1),o=[];for(var i in t[n]){var a=t[n][i];try{a[0].apply(e,r)}catch(e){Mr.console&&zr.error("jsPDF PubSub Error",e.message,e)}a[1]&&o.push(i)}o.length&&o.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function go(e){if(!(this instanceof go))return new go(e);var t="opacity,stroke-opacity".split(",");for(var n in e)e.hasOwnProperty(n)&&t.indexOf(n)>=0&&(this[n]=e[n]);this.id="",this.objectNumber=-1}function yo(e,t){this.gState=e,this.matrix=t,this.id="",this.objectNumber=-1}function wo(e,t,n,r,o){if(!(this instanceof wo))return new wo(e,t,n,r,o);this.type="axial"===e?2:3,this.coords=t,this.colors=n,yo.call(this,r,o)}function vo(e,t,n,r,o){if(!(this instanceof vo))return new vo(e,t,n,r,o);this.boundingBox=e,this.xStep=t,this.yStep=n,this.stream="",this.cloneIndex=0,yo.call(this,r,o)}function bo(e){var t,n="string"==typeof arguments[0]?arguments[0]:"p",o=arguments[1],i=arguments[2],a=arguments[3],s=[],l=1,c=16,A="S",u=null;"object"===(0,r.A)(e=e||{})&&(n=e.orientation,o=e.unit||o,i=e.format||i,a=e.compress||e.compressPdf||a,null!==(u=e.encryption||null)&&(u.userPassword=u.userPassword||"",u.ownerPassword=u.ownerPassword||"",u.userPermissions=u.userPermissions||[]),l="number"==typeof e.userUnit?Math.abs(e.userUnit):1,void 0!==e.precision&&(t=e.precision),void 0!==e.floatPrecision&&(c=e.floatPrecision),A=e.defaultPathOperation||"S"),s=e.filters||(!0===a?["FlateEncode"]:s),o=o||"mm",n=(""+(n||"P")).toLowerCase();var d=e.putOnlyUsedFonts||!1,p={},f={internal:{},__private__:{}};f.__private__.PubSub=mo;var h="1.3",m=f.__private__.getPdfVersion=function(){return h};f.__private__.setPdfVersion=function(e){h=e};var g={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};f.__private__.getPageFormats=function(){return g};var y=f.__private__.getPageFormat=function(e){return g[e]};i=i||"a4";var w="compat",v="advanced",b=w;function x(){this.saveGraphicsState(),J(new Ue(pe,0,0,-pe,0,fn()*pe).toString()+" cm"),this.setFontSize(this.getFontSize()/pe),A="n",b=v}function _(){this.restoreGraphicsState(),A="S",b=w}var B=f.__private__.combineFontStyleAndFontWeight=function(e,t){if("bold"==e&&"normal"==t||"bold"==e&&400==t||"normal"==e&&"italic"==t||"bold"==e&&"italic"==t)throw new Error("Invalid Combination of fontweight and fontstyle");return t&&(e=400==t||"normal"===t?"italic"===e?"italic":"normal":700!=t&&"bold"!==t||"normal"!==e?(700==t?"bold":t)+""+e:"bold"),e};f.advancedAPI=function(e){var t=b===w;return t&&x.call(this),"function"!=typeof e||(e(this),t&&_.call(this)),this},f.compatAPI=function(e){var t=b===v;return t&&_.call(this),"function"!=typeof e||(e(this),t&&x.call(this)),this},f.isAdvancedAPI=function(){return b===v};var C,k=function(e){if(b!==v)throw new Error(e+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},S=f.roundToPrecision=f.__private__.roundToPrecision=function(e,n){var r=t||n;if(isNaN(e)||isNaN(r))throw new Error("Invalid argument passed to 
2jsPDF.roundToPrecision");return e.toFixed(r).replace(/0+$/,"")};C=f.hpf=f.__private__.hpf="number"==typeof c?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return S(e,c)}:"smart"===c?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return S(e,e>-1&&e<1?16:5)}:function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return S(e,16)};var j=f.f2=f.__private__.f2=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f2");return S(e,2)},E=f.__private__.f3=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f3");return S(e,3)},F=f.scale=f.__private__.scale=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.scale");return b===w?e*pe:b===v?e:void 0},N=function(e){return F(function(e){return b===w?fn()-e:b===v?e:void 0}(e))};f.__private__.setPrecision=f.setPrecision=function(e){"number"==typeof parseInt(e,10)&&(t=parseInt(e,10))};var U,L="00000000000000000000000000000000",I=f.__private__.getFileId=function(){return L},P=f.__private__.setFileId=function(e){return L=void 0!==e&&/^[a-fA-F0-9]{32}$/.test(e)?e.toUpperCase():L.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),null!==u&&(wt=new fo(u.userPermissions,u.userPassword,u.ownerPassword,L)),L};f.setFileId=function(e){return P(e),this},f.getFileId=function(){return I()};var Q=f.__private__.convertDateToPDFDate=function(e){var t=e.getTimezoneOffset(),n=t<0?"+":"-",r=Math.floor(Math.abs(t/60)),o=Math.abs(t%60),i=[n,M(r),"'",M(o),"'"].join("");return["D:",e.getFullYear(),M(e.getMonth()+1),M(e.getDate()),M(e.getHours()),M(e.getMinutes()),M(e.getSeconds()),i].join("")},T=f.__private__.convertPDFDateToDate=function(e){var t=parseInt(e.substr(2,4),10),n=parseInt(e.substr(6,2),10)-1,r=parseInt(e.substr(8,2),10),o=parseInt(e.substr(10,2),10),i=parseInt(e.substr(12,2),10),a=parseInt(e.substr(14,2),10);return new Date(t,n,r,o,i,a,0)},D=f.__private__.setCreationDate=function(e){var t;if(void 0===e&&(e=new Date),e instanceof Date)t=Q(e);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(e))throw new Error("Invalid argument passed to jsPDF.setCreationDate");t=e}return U=t},O=f.__private__.getCreationDate=function(e){var t=U;return"jsDate"===e&&(t=T(U)),t};f.setCreationDate=function(e){return D(e),this},f.getCreationDate=function(e){return O(e)};var R,M=f.__private__.padd2=function(e){return("0"+parseInt(e)).slice(-2)},H=f.__private__.padd2Hex=function(e){return("00"+(e=e.toString())).substr(e.length)},z=0,K=[],$=[],V=0,q=[],W=[],G=!1,Y=$;f.__private__.setCustomOutputDestination=function(e){G=!0,Y=e};var X=function(e){G||(Y=e)};f.__private__.resetCustomOutputDestination=function(){G=!1,Y=$};var J=f.__private__.out=function(e){return e=e.toString(),V+=e.length+1,Y.push(e),Y},Z=f.__private__.write=function(e){return J(1===arguments.length?e.toString():Array.prototype.join.call(arguments," "))},ee=f.__private__.getArrayBuffer=function(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n);t--;)r[t]=e.charCodeAt(t);return n},te=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];f.__private__.getStandardFonts=function(){return te};var ne=e.fontSize||16;f.__private__.setFontSize=f.setFontSize=function(e){return ne=b===v?e/pe:e,this};
vendor: 5,063 bytes, line 2
2var re,oe=f.__private__.getFontSize=f.getFontSize=function(){return b===w?ne:ne*pe},ie=e.R2L||!1;f.__private__.setR2L=f.setR2L=function(e){return ie=e,this},f.__private__.getR2L=f.getR2L=function(){return ie};var ae,se=f.__private__.setZoomMode=function(e){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(e))re=e;else if(isNaN(e)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(e))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+e+'" is not recognized.');re=e}else re=parseInt(e,10)};f.__private__.getZoomMode=function(){return re};var le,ce=f.__private__.setPageMode=function(e){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(e))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+e+'" is not recognized.');ae=e};f.__private__.getPageMode=function(){return ae};var Ae=f.__private__.setLayoutMode=function(e){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(e))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+e+'" is not recognized.');le=e};f.__private__.getLayoutMode=function(){return le},f.__private__.setDisplayMode=f.setDisplayMode=function(e,t,n){return se(e),Ae(t),ce(n),this};var ue={title:"",subject:"",author:"",keywords:"",creator:""};f.__private__.getDocumentProperty=function(e){if(-1===Object.keys(ue).indexOf(e))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return ue[e]},f.__private__.getDocumentProperties=function(){return ue},f.__private__.setDocumentProperties=f.setProperties=f.setDocumentProperties=function(e){for(var t in ue)ue.hasOwnProperty(t)&&e[t]&&(ue[t]=e[t]);return this},f.__private__.setDocumentProperty=function(e,t){if(-1===Object.keys(ue).indexOf(e))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return ue[e]=t};var de,pe,fe,he,me,ge={},ye={},we=[],ve={},be={},xe={},_e={},Be=null,Ce=0,ke=[],Se=new mo(f),je=e.hotfixes||[],Ee={},Fe={},Ne=[],Ue=function e(t,n,r,o,i,a){if(!(this instanceof e))return new e(t,n,r,o,i,a);isNaN(t)&&(t=1),isNaN(n)&&(n=0),isNaN(r)&&(r=0),isNaN(o)&&(o=1),isNaN(i)&&(i=0),isNaN(a)&&(a=0),this._matrix=[t,n,r,o,i,a]};Object.defineProperty(Ue.prototype,"sx",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(Ue.prototype,"shy",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(Ue.prototype,"shx",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(Ue.prototype,"sy",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(Ue.prototype,"tx",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(Ue.prototype,"ty",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(Ue.prototype,"a",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(Ue.prototype,"b",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(Ue.prototype,"c",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(Ue.prototype,"d",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(Ue.prototype,"e",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(Ue.prototype,"f",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(Ue.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Ue.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Ue.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Ue.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),Ue.prototype.join=function(e){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(C).join(e)},Ue.prototype.multiply=function(e){var t=e.sx*this.sx+e.shy*this.shx,n=e.sx*this.shy+e.shy*this.sy,r=e.shx*this.sx+e.sy*this.shx,o=e.shx*this.shy+e.sy*this.sy,i=e.tx*this.sx+e.ty*this.shx+this.tx,a=e.tx*this.shy+e.ty*this.sy+this.ty;return new Ue(t,n,r,o,i,a)},Ue.prototype.decompose=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,o=this.tx,i=this.ty,a=Math.sqrt(e*e+t*t),s=(e/=a)*n+(t/=a)*r;n-=e*s,r-=t*s;var l=Math.sqrt(n*n+r*r);return s/=l,e*(r/=l)<t*(n/=l)&&(e=-e,t=-t,s=-s,a=-a),{scale:new Ue(a,0,0,l,0,0),translate:new Ue(1,0,0,1,o,i),rotate:new Ue(e,t,-t,e,0,0),skew:new Ue(1,0,s,1,0,0)}},Ue.prototype.toString=function(e){return this.join(" ")},Ue.prototype.inversed=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,o=this.tx,i=this.ty,a=1/(e*r-t*n),s=r*a,l=-t*a,c=-n*a,A=e*a;return new Ue(s,l,c,A,-s*o-c*i,-l*o-A*i)}
vendor: 5,845 bytes, line 2
2,Ue.prototype.applyToPoint=function(e){var t=e.x*this.sx+e.y*this.shx+this.tx,n=e.x*this.shy+e.y*this.sy+this.ty;return new nn(t,n)},Ue.prototype.applyToRectangle=function(e){var t=this.applyToPoint(e),n=this.applyToPoint(new nn(e.x+e.w,e.y+e.h));return new rn(t.x,t.y,n.x-t.x,n.y-t.y)},Ue.prototype.clone=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,o=this.tx,i=this.ty;return new Ue(e,t,n,r,o,i)},f.Matrix=Ue;var Le=f.matrixMult=function(e,t){return t.multiply(e)},Ie=new Ue(1,0,0,1,0,0);f.unitMatrix=f.identityMatrix=Ie;var Pe=function(e,t){if(!be[e]){var n=(t instanceof wo?"Sh":"P")+(Object.keys(ve).length+1).toString(10);t.id=n,be[e]=n,ve[n]=t,Se.publish("addPattern",t)}};f.ShadingPattern=wo,f.TilingPattern=vo,f.addShadingPattern=function(e,t){return k("addShadingPattern()"),Pe(e,t),this},f.beginTilingPattern=function(e){k("beginTilingPattern()"),an(e.boundingBox[0],e.boundingBox[1],e.boundingBox[2]-e.boundingBox[0],e.boundingBox[3]-e.boundingBox[1],e.matrix)},f.endTilingPattern=function(e,t){k("endTilingPattern()"),t.stream=W[R].join("\n"),Pe(e,t),Se.publish("endTilingPattern",t),Ne.pop().restore()};var Qe,Te=f.__private__.newObject=function(){var e=De();return Oe(e,!0),e},De=f.__private__.newObjectDeferred=function(){return z++,K[z]=function(){return V},z},Oe=function(e,t){return t="boolean"==typeof t&&t,K[e]=V,t&&J(e+" 0 obj"),e},Re=f.__private__.newAdditionalObject=function(){var e={objId:De(),content:""};return q.push(e),e},Me=De(),He=De(),ze=f.__private__.decodeColorString=function(e){var t=e.split(" ");if(2!==t.length||"g"!==t[1]&&"G"!==t[1])5!==t.length||"k"!==t[4]&&"K"!==t[4]||(t=[(1-t[0])*(1-t[3]),(1-t[1])*(1-t[3]),(1-t[2])*(1-t[3]),"r"]);else{var n=parseFloat(t[0]);t=[n,n,n,"r"]}for(var r="#",o=0;o<3;o++)r+=("0"+Math.floor(255*parseFloat(t[o])).toString(16)).slice(-2);return r},Ke=f.__private__.encodeColorString=function(e){var t;"string"==typeof e&&(e={ch1:e});var n=e.ch1,o=e.ch2,i=e.ch3,a=e.ch4,s="draw"===e.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof n&&"#"!==n.charAt(0)){var l=new Wr(n);if(l.ok)n=l.toHex();else if(!/^\d*\.?\d*$/.test(n))throw new Error('Invalid color "'+n+'" passed to jsPDF.encodeColorString.')}if("string"==typeof n&&/^#[0-9A-Fa-f]{3}$/.test(n)&&(n="#"+n[1]+n[1]+n[2]+n[2]+n[3]+n[3]),"string"==typeof n&&/^#[0-9A-Fa-f]{6}$/.test(n)){var c=parseInt(n.substr(1),16);n=c>>16&255,o=c>>8&255,i=255&c}if(void 0===o||void 0===a&&n===o&&o===i)t="string"==typeof n?n+" "+s[0]:2===e.precision?j(n/255)+" "+s[0]:E(n/255)+" "+s[0];else if(void 0===a||"object"===(0,r.A)(a)){if(a&&!isNaN(a.a)&&0===a.a)return["1.","1.","1.",s[1]].join(" ");t="string"==typeof n?[n,o,i,s[1]].join(" "):2===e.precision?[j(n/255),j(o/255),j(i/255),s[1]].join(" "):[E(n/255),E(o/255),E(i/255),s[1]].join(" ")}else t="string"==typeof n?[n,o,i,a,s[2]].join(" "):2===e.precision?[j(n),j(o),j(i),j(a),s[2]].join(" "):[E(n),E(o),E(i),E(a),s[2]].join(" ");return t},$e=f.__private__.getFilters=function(){return s},Ve=f.__private__.putStream=function(e){var t=(e=e||{}).data||"",n=e.filters||$e(),r=e.alreadyAppliedFilters||[],o=e.addLength1||!1,i=t.length,a=e.objectId,s=function(e){return e};if(null!==u&&void 0===a)throw new Error("ObjectId must be passed to putStream for file encryption");null!==u&&(s=wt.encryptor(a,0));var l={};!0===n&&(n=["FlateEncode"]);var c=e.additionalKeyValues||[],A=(l=void 0!==bo.API.processDataByFilters?bo.API.processDataByFilters(t,n):{data:t,reverseChain:[]}).reverseChain+(Array.isArray(r)?r.join(" "):r.toString());if(0!==l.data.length&&(c.push({key:"Length",value:l.data.length}),!0===o&&c.push({key:"Length1",value:i})),0!=A.length)if(A.split("/").length-1==1)c.push({key:"Filter",value:A});else{c.push({key:"Filter",value:"["+A+"]"});for(var d=0;d<c.length;d+=1)if("DecodeParms"===c[d].key){for(var p=[],f=0;f<l.reverseChain.split("/").length-1;f+=1)p.push("null");p.push(c[d].value),c[d].value="["+p.join(" ")+"]"}}J("<<");for(var h=0;h<c.length;h++)J("/"+c[h].key+" "+c[h].value);J(">>"),0!==l.data.length&&(J("stream"),J(s(l.data)),J("endstream"))},qe=f.__private__.putPage=function(e){var t=e.number,n=e.data,r=e.objId,o=e.contentsObjId;Oe(r,!0),J("<</Type /Page"),J("/Parent "+e.rootDictionaryObjId+" 0 R"),J("/Resources "+e.resourceDictionaryObjId+" 0 R"),J("/MediaBox ["+parseFloat(C(e.mediaBox.bottomLeftX))+" "+parseFloat(C(e.mediaBox.bottomLeftY))+" "+C(e.mediaBox.topRightX)+" "+C(e.mediaBox.topRightY)+"]"),null!==e.cropBox&&J("/CropBox ["+C(e.cropBox.bottomLeftX)+" "+C(e.cropBox.bottomLeftY)+" "+C(e.cropBox.topRightX)+" "+C(e.cropBox.topRightY)+"]"),null!==e.bleedBox&&J("/BleedBox ["+C(e.bleedBox.bottomLeftX)+" "+C(e.bleedBox.bottomLeftY)+" "+C(e.bleedBox.topRightX)+" "+C(e.bleedBox.topRightY)+"]"),null!==e.trimBox&&J("/TrimBox ["+C(e.trimBox.bottomLeftX)+" "+C(e.trimBox.bottomLeftY)+" "+C(e.trimBox.topRightX)+" "+C(e.trimBox.topRightY)+"]"),null!==e.artBox&&J("/ArtBox ["+C(e.artBox.bottomLeftX)+" "+C(e.artBox.bottomLeftY)+" "+C(e.artBox.topRightX)+" "+C(e.artBox.topRightY)+"]"),"number"==typeof e.userUnit&&1!==e.userUnit&&J("/UserUnit "+e.userUnit),Se.publish("putPage",{objId:r,pageContext:ke[t],pageNumber:t,page:n}),J("/Contents "+o+" 0 R"),J(">>"),J("endobj");var i=n.join("\n");return b===v&&(i+="\nQ"),Oe(o,!0),Ve({data:i,filters:$e(),objectId:o}),J("endobj"),r},We=f.__private__.putPages=function(){var e,t,n=[];for(e=1;e<=Ce;e++)ke[e].objId=De(),ke[e].contentsObjId=De();for(e=1;e<=Ce;e++)n.push(qe({number:e,data:W[e],objId:ke[e].objId,contentsObjId:ke[e].contentsObjId,mediaBox:ke[e].mediaBox,cropBox:ke[e].cropBox,bleedBox:ke[e].bleedBox,trimBox:ke[e].trimBox,artBox:ke[e].artBox,userUnit:ke[e].userUnit,rootDictionaryObjId:Me,resourceDictionaryObjId:He}));Oe(Me,!0),J("<</Type /Pages");var r="/Kids [";for(t=0;t<Ce;t++)r+=n[t]+" 0 R ";J(r+"]"),J("/Count "+Ce),J(">>"),J("endobj"),Se.publish("postPutPages")}
vendor: 9,132 bytes, line 2
2,Ge=function(e){Se.publish("putFont",{font:e,out:J,newObject:Te,putStream:Ve}),!0!==e.isAlreadyPutted&&(e.objectNumber=Te(),J("<<"),J("/Type /Font"),J("/BaseFont /"+ho(e.postScriptName)),J("/Subtype /Type1"),"string"==typeof e.encoding&&J("/Encoding /"+e.encoding),J("/FirstChar 32"),J("/LastChar 255"),J(">>"),J("endobj"))},Ye=function(e){e.objectNumber=Te();var t=[];t.push({key:"Type",value:"/XObject"}),t.push({key:"Subtype",value:"/Form"}),t.push({key:"BBox",value:"["+[C(e.x),C(e.y),C(e.x+e.width),C(e.y+e.height)].join(" ")+"]"}),t.push({key:"Matrix",value:"["+e.matrix.toString()+"]"});var n=e.pages[1].join("\n");Ve({data:n,additionalKeyValues:t,objectId:e.objectNumber}),J("endobj")},Xe=function(e,t){t||(t=21);var n=Te(),r=function(e,t){var n,r=[],o=1/(t-1);for(n=0;n<1;n+=o)r.push(n);if(r.push(1),0!=e[0].offset){var i={offset:0,color:e[0].color};e.unshift(i)}if(1!=e[e.length-1].offset){var a={offset:1,color:e[e.length-1].color};e.push(a)}for(var s="",l=0,c=0;c<r.length;c++){for(n=r[c];n>e[l+1].offset;)l++;var A=e[l].offset,u=(n-A)/(e[l+1].offset-A),d=e[l].color,p=e[l+1].color;s+=H(Math.round((1-u)*d[0]+u*p[0]).toString(16))+H(Math.round((1-u)*d[1]+u*p[1]).toString(16))+H(Math.round((1-u)*d[2]+u*p[2]).toString(16))}return s.trim()}(e.colors,t),o=[];o.push({key:"FunctionType",value:"0"}),o.push({key:"Domain",value:"[0.0 1.0]"}),o.push({key:"Size",value:"["+t+"]"}),o.push({key:"BitsPerSample",value:"8"}),o.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),o.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Ve({data:r,additionalKeyValues:o,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:n}),J("endobj"),e.objectNumber=Te(),J("<< /ShadingType "+e.type),J("/ColorSpace /DeviceRGB");var i="/Coords ["+C(parseFloat(e.coords[0]))+" "+C(parseFloat(e.coords[1]))+" ";2===e.type?i+=C(parseFloat(e.coords[2]))+" "+C(parseFloat(e.coords[3])):i+=C(parseFloat(e.coords[2]))+" "+C(parseFloat(e.coords[3]))+" "+C(parseFloat(e.coords[4]))+" "+C(parseFloat(e.coords[5])),J(i+="]"),e.matrix&&J("/Matrix ["+e.matrix.toString()+"]"),J("/Function "+n+" 0 R"),J("/Extend [true true]"),J(">>"),J("endobj")},Je=function(e,t){var n=De(),r=Te();t.push({resourcesOid:n,objectOid:r}),e.objectNumber=r;var o=[];o.push({key:"Type",value:"/Pattern"}),o.push({key:"PatternType",value:"1"}),o.push({key:"PaintType",value:"1"}),o.push({key:"TilingType",value:"1"}),o.push({key:"BBox",value:"["+e.boundingBox.map(C).join(" ")+"]"}),o.push({key:"XStep",value:C(e.xStep)}),o.push({key:"YStep",value:C(e.yStep)}),o.push({key:"Resources",value:n+" 0 R"}),e.matrix&&o.push({key:"Matrix",value:"["+e.matrix.toString()+"]"}),Ve({data:e.stream,additionalKeyValues:o,objectId:e.objectNumber}),J("endobj")},Ze=function(e){for(var t in e.objectNumber=Te(),J("<<"),e)switch(t){case"opacity":J("/ca "+j(e[t]));break;case"stroke-opacity":J("/CA "+j(e[t]))}J(">>"),J("endobj")},et=function(e){Oe(e.resourcesOid,!0),J("<<"),J("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var e in J("/Font <<"),ge)ge.hasOwnProperty(e)&&(!1===d||!0===d&&p.hasOwnProperty(e))&&J("/"+e+" "+ge[e].objectNumber+" 0 R");J(">>")}(),function(){if(Object.keys(ve).length>0){for(var e in J("/Shading <<"),ve)ve.hasOwnProperty(e)&&ve[e]instanceof wo&&ve[e].objectNumber>=0&&J("/"+e+" "+ve[e].objectNumber+" 0 R");Se.publish("putShadingPatternDict"),J(">>")}}(),function(e){if(Object.keys(ve).length>0){for(var t in J("/Pattern <<"),ve)ve.hasOwnProperty(t)&&ve[t]instanceof f.TilingPattern&&ve[t].objectNumber>=0&&ve[t].objectNumber<e&&J("/"+t+" "+ve[t].objectNumber+" 0 R");Se.publish("putTilingPatternDict"),J(">>")}}(e.objectOid),function(){if(Object.keys(xe).length>0){var e;for(e in J("/ExtGState <<"),xe)xe.hasOwnProperty(e)&&xe[e].objectNumber>=0&&J("/"+e+" "+xe[e].objectNumber+" 0 R");Se.publish("putGStateDict"),J(">>")}}(),function(){for(var e in J("/XObject <<"),Ee)Ee.hasOwnProperty(e)&&Ee[e].objectNumber>=0&&J("/"+e+" "+Ee[e].objectNumber+" 0 R");Se.publish("putXobjectDict"),J(">>")}(),J(">>"),J("endobj")},tt=function(e){ye[e.fontName]=ye[e.fontName]||{},ye[e.fontName][e.fontStyle]=e.id},nt=function(e,t,n,r,o){var i={id:"F"+(Object.keys(ge).length+1).toString(10),postScriptName:e,fontName:t,fontStyle:n,encoding:r,isStandardFont:o||!1,metadata:{}};return Se.publish("addFont",{font:i,instance:this}),ge[i.id]=i,tt(i),i.id},rt=f.__private__.pdfEscape=f.pdfEscape=function(e,t){return function(e,t){var n,r,o,i,a,s,l,c,A;if(o=(t=t||{}).sourceEncoding||"Unicode",a=t.outputEncoding,(t.autoencode||a)&&ge[de].metadata&&ge[de].metadata[o]&&ge[de].metadata[o].encoding&&(i=ge[de].metadata[o].encoding,!a&&ge[de].encoding&&(a=ge[de].encoding),!a&&i.codePages&&(a=i.codePages[0]),"string"==typeof a&&(a=i[a]),a)){for(l=!1,s=[],n=0,r=e.length;n<r;n++)(c=a[e.charCodeAt(n)])?s.push(String.fromCharCode(c)):s.push(e[n]),s[n].charCodeAt(0)>>8&&(l=!0);e=s.join("")}for(n=e.length;void 0===l&&0!==n;)e.charCodeAt(n-1)>>8&&(l=!0),n--;if(!l)return e;for(s=t.noBOM?[]:[254,255],n=0,r=e.length;n<r;n++){if((A=(c=e.charCodeAt(n))>>8)>>8)throw new Error("Character at position "+n+" of string '"+e+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(A),s.push(c-(A<<8))}return String.fromCharCode.apply(void 0,s)}(e,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},ot=f.__private__.beginPage=function(e){W[++Ce]=[],ke[Ce]={objId:0,contentsObjId:0,userUnit:Number(l),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(e[0]),topRightY:Number(e[1])}},st(Ce),X(W[R])},it=function(e,t){var r,o,a;switch(n=t||n,"string"==typeof e&&(r=y(e.toLowerCase()),Array.isArray(r)&&(o=r[0],a=r[1])),Array.isArray(e)&&(o=e[0]*pe,a=e[1]*pe),isNaN(o)&&(o=i[0],a=i[1]),(o>14400||a>14400)&&(zr.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),o=Math.min(14400,o),a=Math.min(14400,a)),i=[o,a],n.substr(0,1)){case"l":a>o&&(i=[a,o]);break;case"p":o>a&&(i=[a,o])}ot(i),Ot(Tt),J(qt),0!==Zt&&J(Zt+" J"),0!==en&&J(en+" j"),Se.publish("addPage",{pageNumber:Ce})},at=function(e){e>0&&e<=Ce&&(W.splice(e,1),ke.splice(e,1),Ce--,R>Ce&&(R=Ce),this.setPage(R))},st=function(e){e>0&&e<=Ce&&(R=e)},lt=f.__private__.getNumberOfPages=f.getNumberOfPages=function(){return W.length-1},ct=function(e,t,n){var r,o=void 0;return n=n||{},e=void 0!==e?e:ge[de].fontName,t=void 0!==t?t:ge[de].fontStyle,r=e.toLowerCase(),void 0!==ye[r]&&void 0!==ye[r][t]?o=ye[r][t]:void 0!==ye[e]&&void 0!==ye[e][t]?o=ye[e][t]:!1===n.disableWarning&&zr.warn("Unable to look up font label for font '"+e+"', '"+t+"'. Refer to getFontList() for available fonts."),o||n.noFallback||null==(o=ye.times[t])&&(o=ye.times.normal),o},At=f.__private__.putInfo=function(){var e=Te(),t=function(e){return e};for(var n in null!==u&&(t=wt.encryptor(e,0)),J("<<"),J("/Producer ("+rt(t("jsPDF "+bo.version))+")"),ue)ue.hasOwnProperty(n)&&ue[n]&&J("/"+n.substr(0,1).toUpperCase()+n.substr(1)+" ("+rt(t(ue[n]))+")");J("/CreationDate ("+rt(t(U))+")"),J(">>"),J("endobj")},ut=f.__private__.putCatalog=function(e){var t=(e=e||{}).rootDictionaryObjId||Me;switch(Te(),J("<<"),J("/Type /Catalog"),J("/Pages "+t+" 0 R"),re||(re="fullwidth"),re){case"fullwidth":J("/OpenAction [3 0 R /FitH null]");break;case"fullheight":J("/OpenAction [3 0 R /FitV null]");break;case"fullpage":J("/OpenAction [3 0 R /Fit]");break;case"original":J("/OpenAction [3 0 R /XYZ null null 1]");break;default:var n=""+re;"%"===n.substr(n.length-1)&&(re=parseInt(re)/100),"number"==typeof re&&J("/OpenAction [3 0 R /XYZ null null "+j(re)+"]")}switch(le||(le="continuous"),le){case"continuous":J("/PageLayout /OneColumn");break;case"single":J("/PageLayout /SinglePage");break;case"two":case"twoleft":J("/PageLayout /TwoColumnLeft");break;case"tworight":J("/PageLayout /TwoColumnRight")}ae&&J("/PageMode /"+ae),Se.publish("putCatalog"),J(">>"),J("endobj")},dt=f.__private__.putTrailer=function(){J("trailer"),J("<<"),J("/Size "+(z+1)),J("/Root "+z+" 0 R"),J("/Info "+(z-1)+" 0 R"),null!==u&&J("/Encrypt "+wt.oid+" 0 R"),J("/ID [ <"+L+"> <"+L+"> ]"),J(">>")},pt=f.__private__.putHeader=function(){J("%PDF-"+h),J("%ºß¬à")},ft=f.__private__.putXRef=function(){var e="0000000000";J("xref"),J("0 "+(z+1)),J("0000000000 65535 f ");for(var t=1;t<=z;t++)"function"==typeof K[t]?J((e+K[t]()).slice(-10)+" 00000 n "):void 0!==K[t]?J((e+K[t]).slice(-10)+" 00000 n "):J("0000000000 00000 n ")},ht=f.__private__.buildDocument=function(){var e;z=0,V=0,$=[],K=[],q=[],Me=De(),He=De(),X($),Se.publish("buildDocument"),pt(),We(),function(){Se.publish("putAdditionalObjects");for(var e=0;e<q.length;e++){var t=q[e];Oe(t.objId,!0),J(t.content),J("endobj")}Se.publish("postPutAdditionalObjects")}(),e=[],function(){for(var e in ge)ge.hasOwnProperty(e)&&(!1===d||!0===d&&p.hasOwnProperty(e))&&Ge(ge[e])}(),function(){var e;for(e in xe)xe.hasOwnProperty(e)&&Ze(xe[e])}(),function(){for(var e in Ee)Ee.hasOwnProperty(e)&&Ye(Ee[e])}(),function(e){var t;for(t in ve)ve.hasOwnProperty(t)&&(ve[t]instanceof wo?Xe(ve[t]):ve[t]instanceof vo&&Je(ve[t],e))}(e),Se.publish("putResources"),e.forEach(et),et({resourcesOid:He,objectOid:Number.MAX_SAFE_INTEGER}
vendor: 4,135 bytes, line 2
2),Se.publish("postPutResources"),null!==u&&(wt.oid=Te(),J("<<"),J("/Filter /Standard"),J("/V "+wt.v),J("/R "+wt.r),J("/U <"+wt.toHexString(wt.U)+">"),J("/O <"+wt.toHexString(wt.O)+">"),J("/P "+wt.P),J(">>"),J("endobj")),At(),ut();var t=V;return ft(),dt(),J("startxref"),J(""+t),J("%%EOF"),X(W[R]),$.join("\n")},mt=f.__private__.getBlob=function(e){return new Blob([ee(e)],{type:"application/pdf"})},gt=f.output=f.__private__.output=(Qe=function(e,t){switch("string"==typeof(t=t||{})?t={filename:t}:t.filename=t.filename||"generated.pdf",e){case void 0:return ht();case"save":f.save(t.filename);break;case"arraybuffer":return ee(ht());case"blob":return mt(ht());case"bloburi":case"bloburl":if(void 0!==Mr.URL&&"function"==typeof Mr.URL.createObjectURL)return Mr.URL&&Mr.URL.createObjectURL(mt(ht()))||void 0;zr.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var n="",r=ht();try{n=Yr(r)}catch(e){n=Yr(unescape(encodeURIComponent(r)))}return"data:application/pdf;filename="+t.filename+";base64,"+n;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(Mr)){var o="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",i=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';t.pdfObjectUrl&&(o=t.pdfObjectUrl,i="");var a='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><script src="'+o+'"'+i+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(t)+");<\/script></body></html>",s=Mr.open();return null!==s&&s.document.write(a),s}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(Mr)){var l='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><iframe id="pdfViewer" src="'+(t.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+t.filename+'" width="500px" height="400px" /></body></html>',c=Mr.open();if(null!==c){c.document.write(l);var A=this;c.document.documentElement.querySelector("#pdfViewer").onload=function(){c.document.title=t.filename,c.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(A.output("bloburl"))}}return c}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if("[object Window]"!==Object.prototype.toString.call(Mr))throw new Error("The option dataurlnewwindow just works in a browser-environment.");var u='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><iframe src="'+this.output("datauristring",t)+'"></iframe></body></html>',d=Mr.open();if(null!==d&&(d.document.write(u),d.document.title=t.filename),d||"undefined"==typeof safari)return d;break;case"datauri":case"dataurl":return Mr.document.location.href=this.output("datauristring",t);default:return null}},Qe.foo=function(){try{return Qe.apply(this,arguments)}catch(n){var e=n.stack||"";~e.indexOf(" at ")&&(e=e.split(" at ")[1]);var t="Error in function "+e.split("\n")[0].split("<")[0]+": "+n.message;if(!Mr.console)throw new Error(t);Mr.console.error(t,n),Mr.alert&&alert(t)}},Qe.foo.bar=Qe,Qe.foo),yt=function(e){return!0===Array.isArray(je)&&je.indexOf(e)>-1};switch(o){case"pt":pe=1;break;case"mm":pe=72/25.4;break;case"cm":pe=72/2.54;break;case"in":pe=72;break;case"px":pe=1==yt("px_scaling")?.75:96/72;break;case"pc":case"em":pe=12;break;case"ex":pe=6;break;default:if("number"!=typeof o)throw new Error("Invalid unit: "+o);pe=o}var wt=null;D(),P();var vt=f.__private__.getPageInfo=f.getPageInfo=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:ke[e].objId,pageNumber:e,pageContext:ke[e]}},bt=f.__private__.getPageInfoByObjId=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to 
2jsPDF.getPageInfoByObjId");for(var t in ke)if(ke[t].objId===e)break;return vt(t)},xt=f.__private__.getCurrentPageInfo=f.getCurrentPageInfo=function(){return{objId:ke[R].objId,pageNumber:R,pageContext:ke[R]}};f.addPage=function(){return it.apply(this,arguments),this},f.setPage=function(){return st.apply(this,arguments),X.call(this,W[R]),this},f.insertPage=function(e){return this.addPage(),this.movePage(R,e),this},f.movePage=function(e,t){var n,r;if(e>t){n=W[e],r=ke[e];for(var o=e;o>t;o--)W[o]=W[o-1],ke[o]=ke[o-1];W[t]=n,ke[t]=r,this.setPage(t)}else if(e<t){n=W[e],r=ke[e];for(var i=e;i<t;i++)W[i]=W[i+1],ke[i]=ke[i+1];W[t]=n,ke[t]=r,this.setPage(t)}return this},f.deletePage=function(){return at.apply(this,arguments),this},f.__private__.text=f.text=function(e,t,n,o,i){var a,s,l,c,A,u,d,f,h,m=(o=o||{}).scope||this;if("number"==typeof e&&"number"==typeof t&&("string"==typeof n||Array.isArray(n))){var g=n;n=t,t=e,e=g}if(arguments[3]instanceof Ue==0?(l=arguments[4],c=arguments[5],"object"===(0,r.A)(d=arguments[3])&&null!==d||("string"==typeof l&&(c=l,l=null),"string"==typeof d&&(c=d,d=null),"number"==typeof d&&(l=d,d=null),o={flags:d,angle:l,align:c})):(k("The transform parameter of text() with a Matrix value"),h=i),isNaN(t)||isNaN(n)||null==e)throw new Error("Invalid arguments passed to jsPDF.text");if(0===e.length)return m;var y,w="",x="number"==typeof o.lineHeightFactor?o.lineHeightFactor:Qt,_=m.internal.scaleFactor;function B(e){return e=e.split("\t").join(Array(o.TabLen||9).join(" ")),rt(e,d)}function S(e){for(var t,n=e.concat(),r=[],o=n.length;o--;)"string"==typeof(t=n.shift())?r.push(t):Array.isArray(e)&&(1===t.length||void 0===t[1]&&void 0===t[2])?r.pu
vendor: 5,922 bytes, line 2
2sh(t[0]):r.push([t[0],t[1],t[2]]);return r}function j(e,t){var n;if("string"==typeof e)n=t(e)[0];else if(Array.isArray(e)){for(var r,o,i=e.concat(),a=[],s=i.length;s--;)"string"==typeof(r=i.shift())?a.push(t(r)[0]):Array.isArray(r)&&"string"==typeof r[0]&&(o=t(r[0],r[1],r[2]),a.push([o[0],o[1],o[2]]));n=a}return n}var E=!1,N=!0;if("string"==typeof e)E=!0;else if(Array.isArray(e)){var U=e.concat();s=[];for(var L,I=U.length;I--;)("string"!=typeof(L=U.shift())||Array.isArray(L)&&"string"!=typeof L[0])&&(N=!1);E=N}if(!1===E)throw new Error('Type of text must be string or Array. "'+e+'" is not recognized.');"string"==typeof e&&(e=e.match(/[\r?\n]/)?e.split(/\r\n|\r|\n/g):[e]);var P=ne/m.internal.scaleFactor,Q=P*(x-1);switch(o.baseline){case"bottom":n-=Q;break;case"top":n+=P-Q;break;case"hanging":n+=P-2*Q;break;case"middle":n+=P/2-Q}if((u=o.maxWidth||0)>0&&("string"==typeof e?e=m.splitTextToSize(e,u):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce(function(e,t){return e.concat(m.splitTextToSize(t,u))},[]))),a={text:e,x:t,y:n,options:o,mutex:{pdfEscape:rt,activeFontKey:de,fonts:ge,activeFontSize:ne}},Se.publish("preProcessText",a),e=a.text,l=(o=a.options).angle,h instanceof Ue==0&&l&&"number"==typeof l){l*=Math.PI/180,0===o.rotationDirection&&(l=-l),b===v&&(l=-l);var T=Math.cos(l),D=Math.sin(l);h=new Ue(T,D,-D,T,0,0)}else l&&l instanceof Ue&&(h=l);b!==v||h||(h=Ie),void 0!==(A=o.charSpace||Xt)&&(w+=C(F(A))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),void 0!==(f=o.horizontalScale)&&(w+=C(100*f)+" Tz\n"),o.lang;var O=-1,R=void 0!==o.renderingMode?o.renderingMode:o.stroke,M=m.internal.getCurrentPageInfo().pageContext;switch(R){case 0:case!1:case"fill":O=0;break;case 1:case!0:case"stroke":O=1;break;case 2:case"fillThenStroke":O=2;break;case 3:case"invisible":O=3;break;case 4:case"fillAndAddForClipping":O=4;break;case 5:case"strokeAndAddPathForClipping":O=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":O=6;break;case 7:case"addToPathForClipping":O=7}var H=void 0!==M.usedRenderingMode?M.usedRenderingMode:-1;-1!==O?w+=O+" Tr\n":-1!==H&&(w+="0 Tr\n"),-1!==O&&(M.usedRenderingMode=O),c=o.align||"left";var z,K=ne*x,$=m.internal.pageSize.getWidth(),V=ge[de];A=o.charSpace||Xt,u=o.maxWidth||0,d=Object.assign({autoencode:!0,noBOM:!0},o.flags);var q=[],W=function(e){return m.getStringUnitWidth(e,{font:V,charSpace:A,fontSize:ne,doKerning:!1})*ne/_};if("[object Array]"===Object.prototype.toString.call(e)){var G;s=S(e),"left"!==c&&(z=s.map(W));var Y,X=0;if("right"===c){t-=z[0],e=[],I=s.length;for(var Z=0;Z<I;Z++)0===Z?(Y=zt(t),G=Kt(n)):(Y=F(X-z[Z]),G=-K),e.push([s[Z],Y,G]),X=z[Z]}else if("center"===c){t-=z[0]/2,e=[],I=s.length;for(var ee=0;ee<I;ee++)0===ee?(Y=zt(t),G=Kt(n)):(Y=F((X-z[ee])/2),G=-K),e.push([s[ee],Y,G]),X=z[ee]}else if("left"===c){e=[],I=s.length;for(var te=0;te<I;te++)e.push(s[te])}else if("justify"===c&&"Identity-H"===V.encoding){e=[],I=s.length,u=0!==u?u:$;for(var re=0,oe=0;oe<I;oe++)if(G=0===oe?Kt(n):-K,Y=0===oe?zt(t):re,oe<I-1){var ae=F((u-z[oe])/(s[oe].split(" ").length-1)),se=s[oe].split(" ");e.push([se[0]+" ",Y,G]),re=0;for(var le=1;le<se.length;le++){var ce=(W(se[le-1]+" "+se[le])-W(se[le]))*_+ae;le==se.length-1?e.push([se[le],ce,0]):e.push([se[le]+" ",ce,0]),re-=ce}}else e.push([s[oe],Y,G]);e.push(["",re,0])}else{if("justify"!==c)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(e=[],I=s.length,u=0!==u?u:$,oe=0;oe<I;oe++){G=0===oe?Kt(n):-K,Y=0===oe?zt(t):0;var Ae=s[oe].split(" ").length-1,ue=Ae>0?(u-z[oe])/Ae:0;oe<I-1?q.push(C(F(ue))):q.push(0),e.push([s[oe],Y,G])}}}!0===("boolean"==typeof o.R2L?o.R2L:ie)&&(e=j(e,function(e,t,n){return[e.split("").reverse().join(""),t,n]})),a={text:e,x:t,y:n,options:o,mutex:{pdfEscape:rt,activeFontKey:de,fonts:ge,activeFontSize:ne}},Se.publish("postProcessText",a),e=a.text,y=a.mutex.isHex||!1;var pe=ge[de].encoding;"WinAnsiEncoding"!==pe&&"StandardEncoding"!==pe||(e=j(e,function(e,t,n){return[B(e),t,n]})),s=S(e),e=[];for(var fe,he,me,ye=Array.isArray(s[0])?1:0,we="",ve=function(e,t,n){var r="";return n instanceof Ue?(n="number"==typeof o.angle?Le(n,new Ue(1,0,0,1,e,t)):Le(new Ue(1,0,0,1,e,t),n),b===v&&(n=Le(new Ue(1,0,0,-1,0,0),n)),r=n.join(" ")+" Tm\n"):r=C(e)+" "+C(t)+" Td\n",r},be=0;be<s.length;be++){switch(we="",ye){case 1:me=(y?"<":"(")+s[be][0]+(y?">":")"),fe=parseFloat(s[be][1]),he=parseFloat(s[be][2]);break;case 0:me=(y?"<":"(")+s[be]+(y?">":")"),fe=zt(t),he=Kt(n)}void 0!==q&&void 0!==q[be]&&(we=q[be]+" Tw\n"),0===be?e.push(we+ve(fe,he,h)+me):0===ye?e.push(we+me):1===ye&&e.push(we+ve(fe,he,h)+me)}e=0===ye?e.join(" Tj\nT* "):e.join(" Tj\n"),e+=" Tj\n";var xe="BT\n/";return xe+=de+" "+ne+" Tf\n",xe+=C(ne*x)+" TL\n",xe+=Gt+"\n",xe+=w,xe+=e,J(xe+="ET"),p[de]=!0,m};var _t=f.__private__.clip=f.clip=function(e){return J("evenodd"===e?"W*":"W"),this};f.clipEvenOdd=function(){return _t("evenodd")},f.__private__.discardPath=f.discardPath=function(){return J("n"),this};var Bt=f.__private__.isValidStyle=function(e){var t=!1;return-1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(e)&&(t=!0),t};f.__private__.setDefaultPathOperation=f.setDefaultPathOperation=function(e){return Bt(e)&&(A=e),this};var Ct=f.__private__.getStyle=f.getStyle=function(e){var t=A;switch(e){case"D":case"S":t="S";break;case"F":t="f";break;case"FD":case"DF":t="B";break;case"f":case"f*":case"B":case"B*":t=e}return t},kt=f.close=function(){return J("h"),this};f.stroke=function(){return J("S"),this},f.fill=function(e){return St("f",e),this},f.fillEvenOdd=function(e){return St("f*",e),this},f.fillStroke=function(e){return St("B",e),this},f.fillStrokeEvenOdd=function(e){return St("B*",e),this};var St=function(e,t){"object"===(0,r.A)(t)?Ft(t,e):J(e)},jt=function(e){null===e||b===v&&void 0===e||(e=Ct(e),J(e))};function Et(e,t,n,r,o){var i=new vo(t||this.boundingBox,n||this.xStep,r||this.yStep,this.gState,o||this.matrix
vendor: 4,229 bytes, line 2
2);i.stream=this.stream;var a=e+"$$"+this.cloneIndex+++"$$";return Pe(a,i),i}var Ft=function(e,t){var n=be[e.key],r=ve[n];if(r instanceof wo)J("q"),J(Nt(t)),r.gState&&f.setGState(r.gState),J(e.matrix.toString()+" cm"),J("/"+n+" sh"),J("Q");else if(r instanceof vo){var o=new Ue(1,0,0,-1,0,fn());e.matrix&&(o=o.multiply(e.matrix||Ie),n=Et.call(r,e.key,e.boundingBox,e.xStep,e.yStep,o).id),J("q"),J("/Pattern cs"),J("/"+n+" scn"),r.gState&&f.setGState(r.gState),J(t),J("Q")}},Nt=function(e){switch(e){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},Ut=f.moveTo=function(e,t){return J(C(F(e))+" "+C(N(t))+" m"),this},Lt=f.lineTo=function(e,t){return J(C(F(e))+" "+C(N(t))+" l"),this},It=f.curveTo=function(e,t,n,r,o,i){return J([C(F(e)),C(N(t)),C(F(n)),C(N(r)),C(F(o)),C(N(i)),"c"].join(" ")),this};f.__private__.line=f.line=function(e,t,n,r,o){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!Bt(o))throw new Error("Invalid arguments passed to jsPDF.line");return b===w?this.lines([[n-e,r-t]],e,t,[1,1],o||"S"):this.lines([[n-e,r-t]],e,t,[1,1]).stroke()},f.__private__.lines=f.lines=function(e,t,n,r,o,i){var a,s,l,c,A,u,d,p,f,h,m,g;if("number"==typeof e&&(g=n,n=t,t=e,e=g),r=r||[1,1],i=i||!1,isNaN(t)||isNaN(n)||!Array.isArray(e)||!Array.isArray(r)||!Bt(o)||"boolean"!=typeof i)throw new Error("Invalid arguments passed to jsPDF.lines");for(Ut(t,n),a=r[0],s=r[1],c=e.length,h=t,m=n,l=0;l<c;l++)2===(A=e[l]).length?(h=A[0]*a+h,m=A[1]*s+m,Lt(h,m)):(u=A[0]*a+h,d=A[1]*s+m,p=A[2]*a+h,f=A[3]*s+m,h=A[4]*a+h,m=A[5]*s+m,It(u,d,p,f,h,m));return i&&kt(),jt(o),this},f.path=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=n.c;switch(n.op){case"m":Ut(r[0],r[1]);break;case"l":Lt(r[0],r[1]);break;case"c":It.apply(this,r);break;case"h":kt()}}return this},f.__private__.rect=f.rect=function(e,t,n,r,o){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!Bt(o))throw new Error("Invalid arguments passed to jsPDF.rect");return b===w&&(r=-r),J([C(F(e)),C(N(t)),C(F(n)),C(F(r)),"re"].join(" ")),jt(o),this},f.__private__.triangle=f.triangle=function(e,t,n,r,o,i,a){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(o)||isNaN(i)||!Bt(a))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[n-e,r-t],[o-n,i-r],[e-o,t-i]],e,t,[1,1],a,!0),this},f.__private__.roundedRect=f.roundedRect=function(e,t,n,r,o,i,a){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(o)||isNaN(i)||!Bt(a))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var s=4/3*(Math.SQRT2-1);return o=Math.min(o,.5*n),i=Math.min(i,.5*r),this.lines([[n-2*o,0],[o*s,0,o,i-i*s,o,i],[0,r-2*i],[0,i*s,-o*s,i,-o,i],[2*o-n,0],[-o*s,0,-o,-i*s,-o,-i],[0,2*i-r],[0,-i*s,o*s,-i,o,-i]],e+o,t,[1,1],a,!0),this},f.__private__.ellipse=f.ellipse=function(e,t,n,r,o){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!Bt(o))throw new Error("Invalid arguments passed to jsPDF.ellipse");var i=4/3*(Math.SQRT2-1)*n,a=4/3*(Math.SQRT2-1)*r;return Ut(e+n,t),It(e+n,t-a,e+i,t-r,e,t-r),It(e-i,t-r,e-n,t-a,e-n,t),It(e-n,t+a,e-i,t+r,e,t+r),It(e+i,t+r,e+n,t+a,e+n,t),jt(o),this},f.__private__.circle=f.circle=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||!Bt(r))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(e,t,n,n,r)},f.setFont=function(e,t,n){return n&&(t=B(t,n)),de=ct(e,t,{disableWarning:!1}),this};var Pt=f.__private__.getFont=f.getFont=function(){return ge[ct.apply(f,arguments)]};f.__private__.getFontList=f.getFontList=function(){var e,t,n={};for(e in ye)if(ye.hasOwnProperty(e))for(t in n[e]=[],ye[e])ye[e].hasOwnProperty(t)&&n[e].push(t);return n},f.addFont=function(e,t,n,r,o){var i=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==i.indexOf(arguments[3])?o=arguments[3]:arguments[3]&&-1==i.indexOf(arguments[3])&&(n=B(n,r)),nt.call(this,e,t,n,o=o||"Identity-H")};var Qt,Tt=e.lineWidth||.200025,Dt=f.__private__.getLineWidth=f.getLineWidth=function(){return Tt},Ot=f.__private__.setLineWidth=f.setLineWidth=function(e){return Tt=e,J(C(F(e))+" w"),this};f.__private__.setLineDash=bo.API.setLineDash=bo.API.setLineDashPattern=function(e,t){if(e=e||[],t=t||0,isNaN(t)||!Array.isArray(e))throw new Error("Invalid arguments passed to 
2jsPDF.setLineDash");return e=e.map(function(e){return C(F(e))}).join(" "),t=C(F(t)),J("["+e+"] "+t+" d"),this};var Rt=f.__private__.getLineHeight=f.getLineHeight=function(){return ne*Qt};f.__private__.getLineHeight=f.getLineHeight=function(){return ne*Qt};var Mt=f.__private__.setLineHeightFactor=f.setLineHeightFactor=function(e){return"number"==typeof(e=e||1.15)&&(Qt=e),this},Ht=f.__private__.getLineHeightFactor=f.getLineHeightFactor=function(){return Qt};Mt(e.lineHeight);var zt=f.__private__.getHorizontalCoordinate=function(e){return F(e)},Kt=f.__private__.getVerticalCoordinate=function(e){return b===v?e:ke[R].mediaBox.topRightY-ke[R].mediaBox.bottomLeftY-F(e)},$t=f.__private__.getHorizontalCoordinateString=f.getHorizontalCoordinateString=function(e){return C(zt(e))},Vt=f.__private__.getVerticalCoordinateString=f.getVerticalCoordinateString=function(e){return C(Kt(e))},qt=e.strokeColor||"0 G";f.__private__.getStrokeColor=f.getDrawColor=function(){return ze(qt)},f.__private__.setStrokeColor=f.setDrawColor=function(e,t,n,r){return qt=Ke({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"draw",precision:2}),J(qt),this};var Wt=e.fillColor||"0 g";f.__private__.getFillColor=f.getFillColor=function(){return ze(Wt)},f.__private__.setFillColor=f.setFillColor=function(e,t,n,r){return Wt=Ke({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"fill",precision:2}),J(Wt),this};var Gt=e.textColor||"0 g",Yt=f.__private__.getTextColor=f.getTextColor=function(){return ze(Gt)};f.__private__.setTextColor=f.setTextColor=function(e,t,n,r){return Gt=Ke({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"text",precision:3}),this};var Xt=e.charSpace,Jt=f.__private__.getCharSpace=f.getCharSpace=function(){return parseFloat(Xt||0)};f.__private__.setCharSpace=f.setCharSpace=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Xt=e,this};var Zt=0;f.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},f.__private__.setLineCap=f.setLineCap=function(e){var t=f.CapJoinStyles[e];if(void 0===t)throw new Error("Line cap style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Zt=t,J(t+" J"),this};var en=0;f.__private__.setLineJoin=f.setLineJoin=function(e){var t=f.CapJoinStyles[e];if(void 0===t)throw new Error("Line join style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return en=t,J(t+" j"),this},f.__private__.setLineMiterLimit=f.__private__.setMiterLimit=f.setLineMiterLimit=f.setMiterLimit=function(e){if(e=e||0,isNaN(e))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return J(C(F(e))+" M"),this},f.GState=go,f.setGState=function(e){(e="string"==typeof e?xe[_e[e]]:tn(null,e)).equals(Be)||(J("/"+e.id+" gs"),Be=e)};var tn=function(e,t){if(!e||!_e[e]){var n=!1;for(var r in xe)if(xe.hasOwnProperty(r)&&xe[r].equals(t)){n=!0;break}if(n)t=xe[r];else{var o="GS"+(Object.keys(xe).length+1).toString(10);xe[o]=t,t.id=o}return e&&(_e[e]=t.id),Se.publish("addGState",t),t}};f.addGState=function(e,t){return tn(e,t),this},f.saveGraphicsState=function(){return J("q"),we.push({key:de,size:ne,color:Gt}),this},f.restoreGraphicsState=function(){J("Q");var e=we.pop();return de=e.key,ne=e.size,Gt=e.color,Be=null,this},f.setCurrentTransformationMatrix=function(e){return J(e.toString()+" cm"),this},f.comment=function(e){return J("#"+e),this};var nn=function(e,t){var n=e||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return n},set:function(e){isNaN(e)||(n=parseFloat(e))}});var r=t||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return r},set:function(e){isNaN(e)||(r=parseFloat(e))}});var o="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return o},set:function(e){o=e.toString()}}),this},rn=function(e,t,n,r){nn.call(this,e,t),this.type="rect";var o=n||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return o},set:function(e){isNaN(e)||(o=parseFloat(e))}});var i=r||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return i},set:function(e){isNaN(e)||(i=parseFloat(e))}}),this},on=function(){this.page=Ce,this.currentPage=R,this.pages=W.slice(0),this.pagesContext=ke.slice(0),this.x=fe,this.y=he,this.matrix=me,this.width=ln(R),this.height=An(R),this.outputDestination=Y,this.id="",this.objectNumber=-1};on.prototype.restore=function(){Ce=this.page,R=this.currentPage,ke=this.pagesContext,W=this.pages,fe=this.x,he=this.y,me=this.matrix,cn(R,this.width),un(R,this.height),Y=this.outputDestination};var an=function(e,t,n,r,o){Ne.push(new on),Ce=R=0,W=[],fe=e,he=t,me=o,ot([n,r])};for(var sn in f.beginFormObject=function(e,t,n,r,o){return an(e,t,n,r,o),this},f.endFormObject=function(e){return function(e){if(Fe[e])Ne.pop().restore(
vendor: 4,546 bytes, line 2
2);else{var t=new on,n="Xo"+(Object.keys(Ee).length+1).toString(10);t.id=n,Fe[e]=n,Ee[n]=t,Se.publish("addFormObject",t),Ne.pop().restore()}}(e),this},f.doFormObject=function(e,t){var n=Ee[Fe[e]];return J("q"),J(t.toString()+" cm"),J("/"+n.id+" Do"),J("Q"),this},f.getFormObject=function(e){var t=Ee[Fe[e]];return{x:t.x,y:t.y,width:t.width,height:t.height,matrix:t.matrix}},f.save=function(e,t){return e=e||"generated.pdf",(t=t||{}).returnPromise=t.returnPromise||!1,!1===t.returnPromise?(qr(mt(ht()),e),"function"==typeof qr.unload&&Mr.setTimeout&&setTimeout(qr.unload,911),this):new Promise(function(t,n){try{var r=qr(mt(ht()),e);"function"==typeof qr.unload&&Mr.setTimeout&&setTimeout(qr.unload,911),t(r)}catch(e){n(e.message)}})},bo.API)bo.API.hasOwnProperty(sn)&&("events"===sn&&bo.API.events.length?function(e,t){var n,r,o;for(o=t.length-1;-1!==o;o--)n=t[o][0],r=t[o][1],e.subscribe.apply(e,[n].concat("function"==typeof r?[r]:r))}(Se,bo.API.events):f[sn]=bo.API[sn]);function ln(e){return ke[e].mediaBox.topRightX-ke[e].mediaBox.bottomLeftX}function cn(e,t){ke[e].mediaBox.topRightX=t+ke[e].mediaBox.bottomLeftX}function An(e){return ke[e].mediaBox.topRightY-ke[e].mediaBox.bottomLeftY}function un(e,t){ke[e].mediaBox.topRightY=t+ke[e].mediaBox.bottomLeftY}var dn=f.getPageWidth=function(e){return ln(e=e||R)/pe},pn=f.setPageWidth=function(e,t){cn(e,t*pe)},fn=f.getPageHeight=function(e){return An(e=e||R)/pe},hn=f.setPageHeight=function(e,t){un(e,t*pe)};return f.internal={pdfEscape:rt,getStyle:Ct,getFont:Pt,getFontSize:oe,getCharSpace:Jt,getTextColor:Yt,getLineHeight:Rt,getLineHeightFactor:Ht,getLineWidth:Dt,write:Z,getHorizontalCoordinate:zt,getVerticalCoordinate:Kt,getCoordinateString:$t,getVerticalCoordinateString:Vt,collections:{},newObject:Te,newAdditionalObject:Re,newObjectDeferred:De,newObjectDeferredBegin:Oe,getFilters:$e,putStream:Ve,events:Se,scaleFactor:pe,pageSize:{getWidth:function(){return dn(R)},setWidth:function(e){pn(R,e)},getHeight:function(){return fn(R)},setHeight:function(e){hn(R,e)}},encryptionOptions:u,encryption:wt,getEncryptor:function(e){return null!==u?wt.encryptor(e,0):function(e){return e}},output:gt,getNumberOfPages:lt,get pages(){return W},out:J,f2:j,f3:E,getPageInfo:vt,getPageInfoByObjId:bt,getCurrentPageInfo:xt,getPDFVersion:m,Point:nn,Rectangle:rn,Matrix:Ue,hasHotfix:yt},Object.defineProperty(f.internal.pageSize,"width",{get:function(){return dn(R)},set:function(e){pn(R,e)},enumerable:!0,configurable:!0}),Object.defineProperty(f.internal.pageSize,"height",{get:function(){return fn(R)},set:function(e){hn(R,e)},enumerable:!0,configurable:!0}),function(e){for(var t=0,n=te.length;t<n;t++){var r=nt.call(this,e[t][0],e[t][1],e[t][2],te[t][3],!0);!1===d&&(p[r]=!0);var o=e[t][0].split("-");tt({id:r,fontName:o[0],fontStyle:o[1]||""})}Se.publish("addFonts",{fonts:ge,dictionary:ye})}.call(f,te),de="F1",it(i,n),Se.publish("initialized"),f}fo.prototype.lsbFirstWord=function(e){return String.fromCharCode(255&e,e>>8&255,e>>16&255,e>>24&255)},fo.prototype.toHexString=function(e){return e.split("").map(function(e){return("0"+(255&e.charCodeAt(0)).toString(16)).slice(-2)}).join("")},fo.prototype.hexToBytes=function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(String.fromCharCode(parseInt(e.substr(n,2),16)));return t.join("")},fo.prototype.processOwnerPassword=function(e,t){return uo(lo(t).substr(0,5),e)},fo.prototype.encryptor=function(e,t){var n=lo(this.encryptionKey+String.fromCharCode(255&e,e>>8&255,e>>16&255,255&t,t>>8&255)).substr(0,10);return function(e){return uo(n,e)}},go.prototype.equals=function(e){var t,n="id,objectNumber,equals";if(!e||(0,r.A)(e)!==(0,r.A)(this))return!1;var o=0;for(t in this)if(!(n.indexOf(t)>=0)){if(this.hasOwnProperty(t)&&!e.hasOwnProperty(t))return!1;if(this[t]!==e[t])return!1;o++}for(t in e)e.hasOwnProperty(t)&&n.indexOf(t)<0&&o--;return 0===o},bo.API={events:[]},bo.version="3.0.4";var xo=bo.API,_o=1,Bo=function(e){return e.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Co=function(e){return e.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},ko=function(e){return e.toFixed(2)},So=function(e){return e.toFixed(5)};xo.__acroform__={};var jo=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e},Eo=function(e){return e*_o},Fo=function(e){var t=new Vo,n=ai.internal.getHeight(e)||0,r=ai.internal.getWidth(e)||0;return t.BBox=[0,0,Number(ko(r)),Number(ko(n))],t},No=xo.__acroform__.setBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to 
2jsPDF.API.__acroform__.setBit");return e|1<<t},Uo=xo.__acroform__.clearBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return e&~(1<<t)},Lo=xo.__acroform__.getBit=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return e&1<<t?1:0},Io=xo.__acroform__.getBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return Lo(e,t-1)},Po=xo.__acroform__.setBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return No(e,t-1)},Qo=xo.__acroform__.clearBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return Uo(e,t-1)},To=xo.__acroform__.calculateCoordinates=function(e,t){var n=t.internal.getHorizontalCoordinate,r=t.internal.getVerticalCoordinate,o=e[0],i=e[1],a=e[2],s=e[3],l={};return l.lowerLeft_X=n(o)||0,l.lowerLeft_Y=r(i+s)||0,l.upperRight_X=n(o+a)||0,l.upperRight_Y=r(i)||0,[Number(ko(l.lowerLeft_X)),Number(ko(l.lowerLeft_Y)),Number(ko(l.upperRight_X)),Number(ko(l.upperRight_Y))]},Do=function(e){if(e.appearanceStreamContent)return e.appearanceStreamContent;if(e.V||e.DV){var t=[],n=e._V||e.DV,r=Oo(e,n),o=e.scope.internal.getFont(e.fontName,e.fontStyle).id;t.push("/Tx BMC"),t.push("q"),t.push("BT"),t.push(e.scope.__private__.encodeColorString(e.color)),t.push("/"+o+" "+ko(r.fontSize)+" Tf"),t.push("1 0 0 1 0 0 Tm"),t.push(r.text),t.push("ET"),t.push("Q"),t.push("EMC");var i=Fo(e);return i.scope=e.scope,i.stream=t.join("\n"),i}},Oo=function(e,t){var n=0===e.fontSize?e.maxFontSize:e.fontSize,r={text:"",fontSize:""},o=(t=")"==(t="("==t.substr(0,1)?t.substr(1):t).substr(t.length-1)?t.substr(0,t.length-1):t).split(" ");o=e.multiline?o.map(function(e){return e.split("\n")}):o.map(function(e){return[e]});var i=n,a=ai.internal.getHeight(e)||0;a=a<0?-a:a;var s=ai.internal.getWidth(e)||0;s=s<0?-s:s;var l=function(t,n,r){if(t+1<o.length){var i=n+" "+o[t+1][0];return Ro(i,e,r).width<=s-4}return!1};i++;e:for(;i>0;){t="",i--;var c,A,u=Ro("3",e,i).height,d=e.multiline?a-i:(a-u)/2,p=d+=2,f=0,h=0,m=0;if(i<=0){t="(...) Tj\n",t+="% Width of Text: "+Ro(t,e,i=12).width+", FieldWidth:"+s+"\n";break}for(var g="",y=0,w=0;w<o.length;w++)if(o.hasOwnProperty(w)){var v=!1;if(1!==o[w].length&&m!==o[w].length-1){if((u+2)*(y+2)+2>a)continue e;g+=o[w][m],v=!0,h=w,w--}else{g=" "==(g+=o[w][m]+" ").substr(g.length-1)?g.substr(0,g.length-1):g;var b=parseInt(w),x=l(b,g,i),_=w>=o.length-1;if(x&&!_){g+=" ",m=0;continue}if(x||_){if(_)h=b;else if(e.multiline&&(u+2)*(y+2)+2>a)continue e}else{if(!e.multiline)continue e;if((u+2)*(y+2)+2>a)continue e;h=b}}for(var B="",C=f;C<=h;C++){var k=o[C];if(e.multiline){if(C===h){B+=k[m]+" ",m=(m+1)%k.length;continue}if(C===f){B+=k[k.length-1]+" ";continue}}B+=k[0]+" "}switch(B=" "==B.substr(B.length-1)?B.substr(0,B.length-1):B,A=Ro(B,e,i).width,e.textAlign){case"right":c=s-A-2;break;case"center":c=(s-A)/2;break;default:c=2}t+=ko(c)+" "+ko(p)+" Td\n",t+="("+Bo(B)+") Tj\n",t+=-ko(c)+" 0 Td\n",p=-(i+2),A=0,f=v?h:h+1,y++,g=""}break}return r.text=t,r.fontSize=i,r},Ro=function(e,t,n){var r=t.scope.internal.getFont(t.fontName,t.fontStyle),o=t.scope.getStringUnitWidth(e,{font:r,fontSize:parseFloat(n),charSpace:0})*parseFloat(n);return{height:t.scope.getStringUnitWidth("3",{font:r,fontSize:parseFloat(n),charSpace:0})*parseFloat(n)*1.5,width:o}},Mo={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Ho=function(e,t){var n={type:"reference",object:e};void 0===t.internal.getPageInfo(e.page).pageContext.annotations.find(function(e){return e.type===n.type&&e.object===n.object})&&t.internal.getPageInfo(e.page).pageContext.annotations.push(n)},zo=xo.__acroform__.arrayToPdfArray=function(e,t,n){var o=function(e){return e};if(Array.isArray(e)){for(var i="[",a=0;a<e.length;a++)switch(0!==a&&(i+=" "),(0,r.A)(e[a])){case"boolean":case"number":case"object":i+=e[a].toString();break;case"string":"/"!==e[a].substr(0,1)?(void 0!==t&&n&&(o=n.internal.getEncryptor(t)),i+="("+Bo(o(e[a].toString()))+")"):i+=e[a].toString()}return i+"]"}
vendor: 4,511 bytes, line 2
2throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},Ko=function(e,t,n){var r=function(e){return e};return void 0!==t&&n&&(r=n.internal.getEncryptor(t)),(e=e||"").toString(),"("+Bo(r(e))+")"},$o=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(void 0===this._objId){if(void 0===this.scope)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(e){this._objId=e}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};$o.prototype.toString=function(){return this.objId+" 0 R"},$o.prototype.putStream=function(){var e=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:e,objectId:this.objId}),this.scope.internal.out("endobj")},$o.prototype.getKeyValueListForStream=function(){var e=[],t=Object.getOwnPropertyNames(this).filter(function(e){return"content"!=e&&"appearanceStreamContent"!=e&&"scope"!=e&&"objId"!=e&&"_"!=e.substring(0,1)});for(var n in t)if(!1===Object.getOwnPropertyDescriptor(this,t[n]).configurable){var r=t[n],o=this[r];o&&(Array.isArray(o)?e.push({key:r,value:zo(o,this.objId,this.scope)}):o instanceof $o?(o.scope=this.scope,e.push({key:r,value:o.objId+" 0 R"})):"function"!=typeof o&&e.push({key:r,value:o}))}return e};var Vo=function(){$o.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var e,t=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(t){e=t.trim()},get:function(){return e||null}})};jo(Vo,$o);var qo=function(){$o.call(this);var e,t=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return t.length>0?t:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return t}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(e){var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+Bo(t(e))+")"}},set:function(t){e=t}})};jo(qo,$o);var Wo=function e(){$o.call(this);var t=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute F supplied.');t=e}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(Io(t,3))},set:function(e){!0===Boolean(e)?this.F=Po(t,3):this.F=Qo(t,3)}});var n=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return n},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute Ff supplied.');n=e}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==r.length)return r},set:function(e){r=void 0!==e?e:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(e){r[0]=e}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(e){r[1]=e}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(e){r[2]=e}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(e){r[3]=e}});var o="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return o},set:function(e){switch(e){case"/Btn":case"/Tx":case"/Ch":case"/Sig":o=e;break;default:throw new Error('Invalid value "'+e+'" for attribute FT supplied.')}}});var i=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!i||i.length<1){if(this instanceof ni)return;i="FieldObject"+e.FieldNum++}var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+Bo(t(i))+")"},set:function(e){i=e.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return i},set:function(e){i=e}});var a="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return a}
vendor: 6,794 bytes, line 2
2,set:function(e){a=e}});var s="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return s},set:function(e){s=e}});var l=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return l},set:function(e){l=e}});var c=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===c?50/_o:c},set:function(e){c=e}});var A="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return A},set:function(e){A=e}});var u="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!u||this instanceof ni||this instanceof oi))return Ko(u,this.objId,this.scope)},set:function(e){e=e.toString(),u=e}});var d=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(d)return this instanceof Zo==0?Ko(d,this.objId,this.scope):d},set:function(e){e=e.toString(),d=this instanceof Zo==0?"("===e.substr(0,1)?Co(e.substr(1,e.length-2)):Co(e):e}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof Zo==1?Co(d.substr(1,d.length-1)):d},set:function(e){e=e.toString(),d=this instanceof Zo==1?"/"+e:e}});var p=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(p)return p},set:function(e){this.V=e}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(p)return this instanceof Zo==0?Ko(p,this.objId,this.scope):p},set:function(e){e=e.toString(),p=this instanceof Zo==0?"("===e.substr(0,1)?Co(e.substr(1,e.length-2)):Co(e):e}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof Zo==1?Co(p.substr(1,p.length-1)):p},set:function(e){e=e.toString(),p=this instanceof Zo==1?"/"+e:e}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var f,h=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return h},set:function(e){e=Boolean(e),h=e}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(f)return f},set:function(e){f=e}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(Io(this.Ff,1))},set:function(e){!0===Boolean(e)?this.Ff=Po(this.Ff,1):this.Ff=Qo(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(Io(this.Ff,2))},set:function(e){!0===Boolean(e)?this.Ff=Po(this.Ff,2):this.Ff=Qo(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(Io(this.Ff,3))},set:function(e){!0===Boolean(e)?this.Ff=Po(this.Ff,3):this.Ff=Qo(this.Ff,3)}});var m=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==m)return m},set:function(e){if(-1===[0,1,2].indexOf(e))throw new Error('Invalid value "'+e+'" for attribute Q supplied.');m=e}}),Object.defineProperty(this,"textAlign",{get:function(){var e;switch(m){case 0:default:e="left";break;case 1:e="center";break;case 2:e="right"}return e},configurable:!0,enumerable:!0,set:function(e){switch(e){case"right":case 2:m=2;break;case"center":case 1:m=1;break;default:m=0}}})};jo(Wo,$o);var Go=function(){Wo.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var e=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){e=t}});var t=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return zo(t,this.objId,this.scope)},set:function(e){var n,r;r=[],"string"==typeof(n=e)&&(r=function(e,t,n){n||(n=1);for(var r,o=[];r=t.exec(e);)o.push(r[n]);return o}(n,/\((.*?)\)/g)),t=r}}),this.getOptions=function(){return t},this.setOptions=function(e){t=e,this.sort&&t.sort()},this.addOption=function(e){e=(e=e||"").toString(),t.push(e),this.sort&&t.sort()},this.removeOption=function(e,n){for(n=n||!1,e=(e=e||"").toString();-1!==t.indexOf(e)&&(t.splice(t.indexOf(e),1),!1!==n););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(Io(this.Ff,18))},set:function(e){!0===Boolean(e)?this.Ff=Po(this.Ff,18):this.Ff=Qo(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(Io(this.Ff,19))},set:function(e){!0===this.combo&&(!0===Boolean(e)?this.Ff=Po(this.Ff,19):this.Ff=Qo(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(Io(this.Ff,20))},set:function(e){!0===Boolean(e)?(this.Ff=Po(this.Ff,20),t.sort()):this.Ff=Qo(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(Io(this.Ff,22))},set:function(e){!0===Boolean(e)?this.Ff=Po(this.Ff,22):this.Ff=Qo(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(Io(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=Po(this.Ff,23):this.Ff=Qo(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(Io(this.Ff,27))},set:function(e){!0===Boolean(e)?this.Ff=Po(this.Ff,27):this.Ff=Qo(this.Ff,27)}}),this.hasAppearanceStream=!1};jo(Go,Wo);var Yo=function(){Go.call(this),this.fontName="helvetica",this.combo=!1};jo(Yo,Go);var Xo=function(){Yo.call(this),this.combo=!0};jo(Xo,Yo);var Jo=function(){Xo.call(this),this.edit=!0};jo(Jo,Xo);var Zo=function(){Wo.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(Io(this.Ff,15))},set:function(e){!0===Boolean(e)?this.Ff=Po(this.Ff,15):this.Ff=Qo(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(Io(this.Ff,16))},set:function(e){!0===Boolean(e)?this.Ff=Po(this.Ff,16):this.Ff=Qo(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(Io(this.Ff,17))},set:function(e){!0===Boolean(e)?this.Ff=Po(this.Ff,17):this.Ff=Qo(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(Io(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=Po(this.Ff,26):this.Ff=Qo(this.Ff,26)}});var e,t={};
vendor: 4,567 bytes, line 2
2Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};if(this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(t).length){var n,r=[];for(n in r.push("<<"),t)r.push("/"+n+" ("+Bo(e(t[n]))+")");return r.push(">>"),r.join("\n")}},set:function(e){"object"===(0,r.A)(e)&&(t=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return t.CA||""},set:function(e){"string"==typeof e&&(t.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(t){e="/"+t}})};jo(Zo,Wo);var ei=function(){Zo.call(this),this.pushButton=!0};jo(ei,Zo);var ti=function(){Zo.call(this),this.radio=!0,this.pushButton=!1;var e=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=void 0!==t?t:[]}})};jo(ti,Zo);var ni=function(){var e,t;Wo.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(e){t=e}});var n,o={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};this.scope&&(e=this.scope.internal.getEncryptor(this.objId));var t,n=[];for(t in n.push("<<"),o)n.push("/"+t+" ("+Bo(e(o[t]))+")");return n.push(">>"),n.join("\n")},set:function(e){"object"===(0,r.A)(e)&&(o=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return o.CA||""},set:function(e){"string"==typeof e&&(o.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return n},set:function(e){n=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return n.substr(1,n.length-1)},set:function(e){n="/"+e}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=ai.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};jo(ni,Wo),ti.prototype.setAppearance=function(e){if(!("createAppearanceStream"in e)||!("getCA"in e))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var t in this.Kids)if(this.Kids.hasOwnProperty(t)){var n=this.Kids[t];n.appearanceStreamContent=e.createAppearanceStream(n.optionName),n.caption=e.getCA()}},ti.prototype.createOption=function(e){var t=new ni;return t.Parent=this,t.optionName=e,this.Kids.push(t),si.call(this.scope,t),t};var ri=function(){Zo.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=ai.CheckBox.createAppearanceStream()};jo(ri,Zo);var oi=function(){Wo.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(Io(this.Ff,13))},set:function(e){!0===Boolean(e)?this.Ff=Po(this.Ff,13):this.Ff=Qo(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(Io(this.Ff,21))},set:function(e){!0===Boolean(e)?this.Ff=Po(this.Ff,21):this.Ff=Qo(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(Io(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=Po(this.Ff,23):this.Ff=Qo(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(Io(this.Ff,24))},set:function(e){!0===Boolean(e)?this.Ff=Po(this.Ff,24):this.Ff=Qo(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(Io(this.Ff,25))},set:function(e){!0===Boolean(e)?this.Ff=Po(this.Ff,25):this.Ff=Qo(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(Io(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=Po(this.Ff,26):this.Ff=Qo(this.Ff,26)}});var e=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){Number.isInteger(t)&&(e=t)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};jo(oi,Wo);
vendor: 4,234 bytes, line 2
2var ii=function(){oi.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(Io(this.Ff,14))},set:function(e){!0===Boolean(e)?this.Ff=Po(this.Ff,14):this.Ff=Qo(this.Ff,14)}}),this.password=!0};jo(ii,oi);var ai={CheckBox:{createAppearanceStream:function(){return{N:{On:ai.CheckBox.YesNormal},D:{On:ai.CheckBox.YesPushDown,Off:ai.CheckBox.OffPushDown}}},YesPushDown:function(e){var t=Fo(e);t.scope=e.scope;var n=[],r=e.scope.internal.getFont(e.fontName,e.fontStyle).id,o=e.scope.__private__.encodeColorString(e.color),i=Oo(e,e.caption);return n.push("0.749023 g"),n.push("0 0 "+ko(ai.internal.getWidth(e))+" "+ko(ai.internal.getHeight(e))+" re"),n.push("f"),n.push("BMC"),n.push("q"),n.push("0 0 1 rg"),n.push("/"+r+" "+ko(i.fontSize)+" Tf "+o),n.push("BT"),n.push(i.text),n.push("ET"),n.push("Q"),n.push("EMC"),t.stream=n.join("\n"),t},YesNormal:function(e){var t=Fo(e);t.scope=e.scope;var n=e.scope.internal.getFont(e.fontName,e.fontStyle).id,r=e.scope.__private__.encodeColorString(e.color),o=[],i=ai.internal.getHeight(e),a=ai.internal.getWidth(e),s=Oo(e,e.caption);return o.push("1 g"),o.push("0 0 "+ko(a)+" "+ko(i)+" re"),o.push("f"),o.push("q"),o.push("0 0 1 rg"),o.push("0 0 "+ko(a-1)+" "+ko(i-1)+" re"),o.push("W"),o.push("n"),o.push("0 g"),o.push("BT"),o.push("/"+n+" "+ko(s.fontSize)+" Tf "+r),o.push(s.text),o.push("ET"),o.push("Q"),t.stream=o.join("\n"),t},OffPushDown:function(e){var t=Fo(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+ko(ai.internal.getWidth(e))+" "+ko(ai.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}},RadioButton:{Circle:{createAppearanceStream:function(e){var t={D:{Off:ai.RadioButton.Circle.OffPushDown},N:{}};return t.N[e]=ai.RadioButton.Circle.YesNormal,t.D[e]=ai.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(e){var t=Fo(e);t.scope=e.scope;var n=[],r=ai.internal.getWidth(e)<=ai.internal.getHeight(e)?ai.internal.getWidth(e)/4:ai.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var o=ai.internal.Bezier_C,i=Number((r*o).toFixed(5));return n.push("q"),n.push("1 0 0 1 "+So(ai.internal.getWidth(e)/2)+" "+So(ai.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+i+" "+i+" "+r+" 0 "+r+" c"),n.push("-"+i+" "+r+" -"+r+" "+i+" -"+r+" 0 c"),n.push("-"+r+" -"+i+" -"+i+" -"+r+" 0 -"+r+" c"),n.push(i+" -"+r+" "+r+" -"+i+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=Fo(e);t.scope=e.scope;var n=[],r=ai.internal.getWidth(e)<=ai.internal.getHeight(e)?ai.internal.getWidth(e)/4:ai.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var o=Number((2*r).toFixed(5)),i=Number((o*ai.internal.Bezier_C).toFixed(5)),a=Number((r*ai.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+So(ai.internal.getWidth(e)/2)+" "+So(ai.internal.getHeight(e)/2)+" cm"),n.push(o+" 0 m"),n.push(o+" "+i+" "+i+" "+o+" 0 "+o+" c"),n.push("-"+i+" "+o+" -"+o+" "+i+" -"+o+" 0 c"),n.push("-"+o+" -"+i+" -"+i+" -"+o+" 0 -"+o+" c"),n.push(i+" -"+o+" "+o+" -"+i+" "+o+" 0 c"),n.push("f"),n.push("Q"),n.push("0 g"),n.push("q"),n.push("1 0 0 1 "+So(ai.internal.getWidth(e)/2)+" "+So(ai.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+a+" "+a+" "+r+" 0 "+r+" c"),n.push("-"+a+" "+r+" -"+r+" "+a+" -"+r+" 0 c"),n.push("-"+r+" -"+a+" -"+a+" -"+r+" 0 -"+r+" c"),n.push(a+" -"+r+" "+r+" -"+a+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},OffPushDown:function(e){var t=Fo(e);t.scope=e.scope;var n=[],r=ai.internal.getWidth(e)<=ai.internal.getHeight(e)?ai.internal.getWidth(e)/4:ai.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var o=Number((2*r).toFixed(5)),i=Number((o*ai.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+So(ai.internal.getWidth(e)/2)+" "+So(ai.internal.getHeight(e)/2)+" cm"),n.push(o+" 0 m"),n.push(o+" "+i+" "+i+" "+o+" 0 "+o+" c"),n.push("-"+i+" "+o+" -"+o+" "+i+" -"+o+" 0 c"),n.push("-"+o+" -"+i+" -"+i+" -"+o+" 0 -"+o+" c"),n.push(i+" -"+o+" "+o+" -"+i+" "+o+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t}},Cross:{createAppearanceStream:function(e){var t={D:{Off:ai.RadioButton.Cross.OffPushDown},N:{}}
vendor: 5,103 bytes, line 2
2;return t.N[e]=ai.RadioButton.Cross.YesNormal,t.D[e]=ai.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(e){var t=Fo(e);t.scope=e.scope;var n=[],r=ai.internal.calculateCross(e);return n.push("q"),n.push("1 1 "+ko(ai.internal.getWidth(e)-2)+" "+ko(ai.internal.getHeight(e)-2)+" re"),n.push("W"),n.push("n"),n.push(ko(r.x1.x)+" "+ko(r.x1.y)+" m"),n.push(ko(r.x2.x)+" "+ko(r.x2.y)+" l"),n.push(ko(r.x4.x)+" "+ko(r.x4.y)+" m"),n.push(ko(r.x3.x)+" "+ko(r.x3.y)+" l"),n.push("s"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=Fo(e);t.scope=e.scope;var n=ai.internal.calculateCross(e),r=[];return r.push("0.749023 g"),r.push("0 0 "+ko(ai.internal.getWidth(e))+" "+ko(ai.internal.getHeight(e))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+ko(ai.internal.getWidth(e)-2)+" "+ko(ai.internal.getHeight(e)-2)+" re"),r.push("W"),r.push("n"),r.push(ko(n.x1.x)+" "+ko(n.x1.y)+" m"),r.push(ko(n.x2.x)+" "+ko(n.x2.y)+" l"),r.push(ko(n.x4.x)+" "+ko(n.x4.y)+" m"),r.push(ko(n.x3.x)+" "+ko(n.x3.y)+" l"),r.push("s"),r.push("Q"),t.stream=r.join("\n"),t},OffPushDown:function(e){var t=Fo(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+ko(ai.internal.getWidth(e))+" "+ko(ai.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}}},createDefaultAppearanceStream:function(e){var t=e.scope.internal.getFont(e.fontName,e.fontStyle).id,n=e.scope.__private__.encodeColorString(e.color);return"/"+t+" "+e.fontSize+" Tf "+n}};ai.internal={Bezier_C:.551915024494,calculateCross:function(e){var t=ai.internal.getWidth(e),n=ai.internal.getHeight(e),r=Math.min(t,n);return{x1:{x:(t-r)/2,y:(n-r)/2+r},x2:{x:(t-r)/2+r,y:(n-r)/2},x3:{x:(t-r)/2,y:(n-r)/2},x4:{x:(t-r)/2+r,y:(n-r)/2+r}}}},ai.internal.getWidth=function(e){var t=0;return"object"===(0,r.A)(e)&&(t=Eo(e.Rect[2])),t},ai.internal.getHeight=function(e){var t=0;return"object"===(0,r.A)(e)&&(t=Eo(e.Rect[3])),t};var si=xo.addField=function(e){if(function(e,t){if(t.scope=e,void 0!==e.internal&&(void 0===e.internal.acroformPlugin||!1===e.internal.acroformPlugin.isInitialized)){if(Wo.FieldNum=0,e.internal.acroformPlugin=JSON.parse(JSON.stringify(Mo)),e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");_o=e.internal.scaleFactor,e.internal.acroformPlugin.acroFormDictionaryRoot=new qo,e.internal.acroformPlugin.acroFormDictionaryRoot.scope=e,e.internal.acroformPlugin.acroFormDictionaryRoot._eventID=e.internal.events.subscribe("postPutResources",function(){var t;(t=e).internal.events.unsubscribe(t.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete t.internal.acroformPlugin.acroFormDictionaryRoot._eventID,t.internal.acroformPlugin.printedOut=!0}),e.internal.events.subscribe("buildDocument",function(){!function(e){e.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var t=e.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];r.objId=void 0,r.hasAnnotation&&Ho(r,e)}}(e)}),e.internal.events.subscribe("putCatalog",function(){!function(e){if(void 0===e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");e.internal.write("/AcroForm "+e.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(e)}),e.internal.events.subscribe("postPutPages",function(t){!function(e,t){var n=!e;for(var o in e||(t.internal.newObjectDeferredBegin(t.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),t.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),e=e||t.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(e.hasOwnProperty(o)){var i=e[o],a=[],s=i.Rect;if(i.Rect&&(i.Rect=To(i.Rect,t)),t.internal.newObjectDeferredBegin(i.objId,!0),i.DA=ai.createDefaultAppearanceStream(i),"object"===(0,r.A)(i)&&"function"==typeof i.getKeyValueListForStream&&(a=i.getKeyValueListForStream()),i.Rect=s,i.hasAppearanceStream&&!i.appearanceStreamContent){var l=Do(i);a.push({key:"AP",value:"<</N "+l+">>"}),t.internal.acroformPlugin.xForms.push(l)}if(i.appearanceStreamContent){var c="";for(var A in i.appearanceStreamContent)if(i.appearanceStreamContent.hasOwnProperty(A)){var u=i.appearanceStreamContent[A];if(c+="/"+A+" ",c+="<<",Object.keys(u).length>=1||Array.isArray(u)){for(var o in u)if(u.hasOwnProperty(o)){var d=u[o];"function"==typeof d&&(d=d.call(t,i)),c+="/"+o+" "+d+" ",t.internal.acroformPlugin.xForms.indexOf(d)>=0||t.internal.acroformPlugin.xForms.push(d)}}else"function"==typeof(d=u)&&(d=d.call(t,i)),c+="/"+o+" "+d,t.internal.acroformPlugin.xForms.indexOf(d)>=0||t.internal.acroformPlugin.xForms.push(d);c+=">>"}a.push({key:"AP",value:"<<\n"+c+">>"})}t.internal.putStream({additionalKeyValues:a,objectId:i.objId}),t.internal.out("endobj")}n&&function(e,t){for(var n in e)if(e.hasOwnProperty(n)){var o=n,i=e[n];t.internal.newObjectDeferredBegin(i.objId,!0),"object"===(0,r.A)(i)&&"function"==typeof i.putStream&&i.putStream(),delete e[o]}}(t.internal.acroformPlugin.xForms,t)}(t,e)}),e.internal.acroformPlugin.isInitialized=!0}}(this,e),!(e instanceof Wo))throw new Error("Invalid argument passed to 
2jsPDF.addField.");var t;return(t=e).scope.internal.acroformPlugin.printedOut&&(t.scope.internal.acroformPlugin.printedOut=!1,t.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),t.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(t),e.page=e.scope.internal.getCurrentPageInfo().pageNumber,this};xo.AcroFormChoiceField=Go,xo.AcroFormListBox=Yo,xo.AcroFormComboBox=Xo,xo.AcroFormEditBox=Jo,xo.AcroFormButton=Zo,xo.AcroFormPushButton=ei,xo.AcroFormRadioButton=ti,xo.AcroFormCheckBox=ri,xo.AcroFormTextField=oi,xo.AcroFormPasswordField=ii,xo.AcroFormAppearance=ai,xo.AcroForm={ChoiceField:Go,ListBox:Yo,ComboBox:Xo,EditBox:Jo,Button:Zo,PushButton:ei,RadioButton:ti,CheckBox:ri,TextField:oi,PasswordField:ii,Appearance:ai},bo.AcroForm={ChoiceField:Go,ListBox:Yo,ComboBox:Xo,EditBox:Jo,Button:Zo,PushButton:ei,RadioButton:ti,CheckBox:ri,TextField:oi,PasswordField:ii,Appearance:ai};var li,ci,Ai=bo.AcroForm;function ui(e){return e.reduce(function(e,t,n){return e[t]=n,e},{})}!function(e){var t="addImage_";e.__addimage__={};var n="UNKNOWN",o={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},i=e.__addimage__.getImageFileTypeByImageData=function(e,t){var r,i,a,s,l,c=n;if("RGBA"===(t=t||n)||void 0!==e.data&&e.data instanceof Uint8ClampedArray&&"height"in e&&"width"in e)return"RGBA";if(_(e))for(l in o)for(a=o[l],r=0;r<a.length;r+=1){for(s=!0,i=0;i<a[r].length;i+=1)if(void 0!==a[r][i]&&a[r][i]!==e[i]){s=!1;break}if(!0===s){c=l;break}}else for(l in o)for(a=o[l],r=0;r<a.length;r+=1){for(s=!0,i=0;i<a[r].length;i+=1)if(void 0!==a[r][i]&&a[r][i]!==e.charCodeAt(i)){s=!1;break}if(!0===s){c=l;break}}return c===n&&t!==n&&(c=t),c},a=function e(t){for(var n=this.internal.write,r=this.internal.putStream,o=(0,this.internal.getFilters)();-1!==o.indexOf("FlateEncode");)o.splice(o.indexOf("FlateEncode"),1);t.objectId=this.internal.newObject();var i=[];if(i.push({key:"Type",value:"/XObject"}),i.push({key:"Subtype",value:"/Image"}),i.push({key:"Width",value:t.width}),i.push({key:"Height",value:t.height}),t.colorSpace===y.INDEXED?i.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(t.palette.length/3-1)+" "+("sMask"in t&&void 0!==t.sMask?t.objectId+2:t.objectId+1)+" 0 R]"}):(i.push({key:"ColorSpace",value:"/"+t.colorSpace}),t.colorSpace===y.DEVICE_CMYK&&i.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),i.push({key:"BitsPerComponent",value:t.bitsPerComponent}),"decodeParameters"in t&&void 0!==t.decodeParameters&&i.push({key:"DecodeParms",value:"<<"+t.decodeParameters+">>"}),"transparency"in t&&Array.isArray(t.transparency)&&t.transparency.length>0){for(var a="",s=0,l=t.transparency.length;s<l;s++)a+=t.transparency[s]+" "+t.transparency[s]+" ";i.push({key:"Mask",value:"["+a+"]"})}void 0!==t.sMask&&i.push({key:"SMask",value:t.objectId+1+" 0 R"});var c=void 0!==t.filter?["/"+t.filter]:void 0;if(r({data:t.data,additionalKeyValues:i,alreadyAppliedFilters:c,objectId:t.objectId}),n("endobj"),"sMask"in t&&void 0!==t.sMask){var A,u=null!==(A=t.sMaskBitsPerComponent)&&void 0!==A?A:t.bitsPerComponent,d={width:t.width,height:t.height,colorSpace:"DeviceGray",bitsPerComponent:u,data:t.sMask};"filter"in t&&(d.decodeParameters="/Predictor ".concat(t.predictor," /Colors 1 /BitsPerComponent ").concat(u," /Columns ").concat(t.width),d.filter=t.filter),e.call(this,d)}if(t.colorSpace===y.INDEXED){var p=this.internal.newObject();r({data:C(new Uint8Array(t.palette)),objectId:p}),n("endobj")}},s=function(){var e=this.internal.collections[t+"images"];for(var n in e)a.call(this,e[n])},l=function(){var e,n=this.internal.collections[t+"images"],r=this.internal.write;for(var o in n)r("/I"+(e=n[o]).index,e.objectId,"0","R")},c=function(){this.internal.collections[t+"images"]||(this.internal.collections[t+"images"]={},this.internal.events.subscribe("putResources",s),this.internal.events.subscribe("putXobjectDict",l))},A=function(){var e=this.internal.collections[t+"images"];return c.call(this),e},u=function(){return Object.keys(this.internal.collections[t+"images"]).length},d=function(t){return"function"==typeof e["process"+t.toUpperCase()]},p=function(e){return"object"===(0,r.A)(e)&&1===e.nodeType},f=function(t,n){if("IMG"===t.nodeName&&t.hasAttribute("src")){var r=""+t.getAttribute("src");if(0===r.indexOf("data:image/"))return Gr(unescape(r).split("base64,").pop());var o=e.loadFile(r,!0);if(void 0!==o)return o}if("CANVAS"===t.nodeName){if(0===t.width||0===t.height)throw new Error("Given canvas must have data. Canvas width: "+t.width+", height: "+t.height);var i;switch(n){case"PNG":i="image/png";break;case"WEBP":i="image/webp";break;default:i="image/jpeg"}return Gr(t.toDataURL(i,1).split("base64,").pop())}},h=function(e){var n=this.internal.collections[t+"images"];if(n)for(var r in n)if(e===n[r].alias)return n[r]},m=function(e,t,n){return e||t||(e=-96,t=-96),e<0&&(e=-1*n.width*72/e/this.internal.scaleFactor),t<0&&(t=-1*n.height*72/t/this.internal.scaleFactor),0===e&&(e=t*n.width/n.height),0===t&&(t=e*n.height/n.width),[e,t]},g=function(e,t,n,r,o,i){var a=m.call(this,n,r,o),s=this.internal.getCoordinateString,l=this.internal.getVerticalCoordinateString,c=A.call(this);if(n=a[0],r=a[1],c[o.index]=o,i){i*=Math.PI/180;var u=Math.cos(i),d=Math.sin(i),p=function(e){return e.toFixed(4)},f=[p(u),p(d),p(-1*d),p(u),0,0,"cm"]}this.internal.write("q"),i?(this.internal.write([1,"0","0",1,s(e),l(t+r),"cm"].join(" ")),this.internal.write(f.join(" ")),this.internal.write([s(n),"0","0",s(r),"0","0","cm"].join(" "))):this.internal.write([s(n),"0","0",s(r),s(e),l(t+r),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+o.index+" Do"),this.internal.write("Q")},y=e.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};e.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var w=e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},v=e.__addimage__.sHashCode=function(e){var t,n,r=0;if("string"==typeof e)for(n=e.length,t=0;t<n;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;else if(_(e))for(n=e.byteLength/2,t=0;t<n;t++)r=(r<<5)-r+e[t],r|=0;return r}
vendor: 4,726 bytes, line 2
2,b=e.__addimage__.validateStringAsBase64=function(e){(e=e||"").toString().trim();var t=!0;return 0===e.length&&(t=!1),e.length%4!=0&&(t=!1),!1===/^[A-Za-z0-9+/]+$/.test(e.substr(0,e.length-2))&&(t=!1),!1===/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(e.substr(-2))&&(t=!1),t},x=e.__addimage__.extractImageFromDataUrl=function(e){if(null==e)return null;if(!(e=e.trim()).startsWith("data:"))return null;var t=e.indexOf(",");return t<0?null:e.substring(0,t).trim().endsWith("base64")?e.substring(t+1):null};e.__addimage__.isArrayBuffer=function(e){return e instanceof ArrayBuffer};var _=e.__addimage__.isArrayBufferView=function(e){return e instanceof Int8Array||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array},B=e.__addimage__.binaryStringToUint8Array=function(e){for(var t=e.length,n=new Uint8Array(t),r=0;r<t;r++)n[r]=e.charCodeAt(r);return n},C=e.__addimage__.arrayBufferToBinaryString=function(e){for(var t="",n=_(e)?e:new Uint8Array(e),r=0;r<n.length;r+=8192)t+=String.fromCharCode.apply(null,n.subarray(r,r+8192));return t};e.addImage=function(){var e,t,o,i,a,s,l,A,u;if("number"==typeof arguments[1]?(t=n,o=arguments[1],i=arguments[2],a=arguments[3],s=arguments[4],l=arguments[5],A=arguments[6],u=arguments[7]):(t=arguments[1],o=arguments[2],i=arguments[3],a=arguments[4],s=arguments[5],l=arguments[6],A=arguments[7],u=arguments[8]),"object"===(0,r.A)(e=arguments[0])&&!p(e)&&"imageData"in e){var d=e;e=d.imageData,t=d.format||t||n,o=d.x||o||0,i=d.y||i||0,a=d.w||d.width||a,s=d.h||d.height||s,l=d.alias||l,A=d.compression||A,u=d.rotation||d.angle||u}var f=this.internal.getFilters();if(void 0===A&&-1!==f.indexOf("FlateEncode")&&(A="SLOW"),isNaN(o)||isNaN(i))throw new Error("Invalid coordinates passed to jsPDF.addImage");c.call(this);var h=k.call(this,e,t,l,A);return g.call(this,o,i,a,s,h,u),this};var k=function(t,r,o,a){var s,l,c;if("string"==typeof t&&i(t)===n){t=unescape(t);var A=S(t,!1);(""!==A||void 0!==(A=e.loadFile(t,!0)))&&(t=A)}if(p(t)&&(t=f(t,r)),r=i(t,r),!d(r))throw new Error("addImage does not support files of type '"+r+"', please ensure that a plugin for '"+r+"' support is added.");if((null==(c=o)||0===c.length)&&(o=function(e){return"string"==typeof e||_(e)?v(e):_(e.data)?v(e.data):null}(t)),(s=h.call(this,o))||(t instanceof Uint8Array||"RGBA"===r||(l=t,t=B(t)),s=this["process"+r.toUpperCase()](t,u.call(this),o,function(t){return t&&"string"==typeof t&&(t=t.toUpperCase()),t in e.image_compression?t:w.NONE}(a),l)),!s)throw new Error("An unknown error occurred whilst processing the image.");return s},S=e.__addimage__.convertBase64ToBinaryString=function(e,t){t="boolean"!=typeof t||t;var n,r="";if("string"==typeof e){var o;n=null!==(o=x(e))&&void 0!==o?o:e;try{r=Gr(n)}catch(e){if(t)throw b(n)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+e.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return r};e.getImageProperties=function(t){var r,o,a="";if(p(t)&&(t=f(t)),"string"==typeof t&&i(t)===n&&(""===(a=S(t,!1))&&(a=e.loadFile(t)||""),t=a),o=i(t),!d(o))throw new Error("addImage does not support files of type '"+o+"', please ensure that a plugin for '"+o+"' support is added.");if(t instanceof Uint8Array||(t=B(t)),!(r=this["process"+o.toUpperCase()](t)))throw new Error("An unknown error occurred whilst processing the image");return r.fileType=o,r}}(bo.API),li=bo.API,ci=function(e){if(void 0!==e&&""!=e)return!0},bo.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),li.events.push(["putPage",function(e){for(var t,n,r,o=this.internal.getCoordinateString,i=this.internal.getVerticalCoordinateString,a=this.internal.getPageInfoByObjId(e.objId),s=e.pageContext.annotations,l=!1,c=0;c<s.length&&!l;c++)switch((t=s[c]).type){case"link":(ci(t.options.url)||ci(t.options.pageNumber))&&(l=!0);break;case"reference":case"text":case"freetext":l=!0}if(0!=l){this.internal.write("/Annots [");for(var A=0;A<s.length;A++){t=s[A];var u=this.internal.pdfEscape,d=this.internal.getEncryptor(e.objId);switch(t.type){case"reference":this.internal.write(" "+t.object.objId+" 0 R ");break;case"text":var p=this.internal.newAdditionalObject(),f=this.internal.newAdditionalObject(),h=this.internal.getEncryptor(p.objId),m=t.title||"Note";r="<</Type /Annot /Subtype /Text "+(n="/Rect ["+o(t.bounds.x)+" "+i(t.bounds.y+t.bounds.h)+" "+o(t.bounds.x+t.bounds.w)+" "+i(t.bounds.y)+"] ")+"/Contents ("+u(h(t.contents))+")",r+=" /Popup "+f.objId+" 0 R",r+=" /P "+a.objId+" 0 R",r+=" /T ("+u(h(m))+") >>",p.content=r;
vendor: 1,977 bytes, line 2
2var g=p.objId+" 0 R";r="<</Type /Annot /Subtype /Popup "+(n="/Rect ["+o(t.bounds.x+30)+" "+i(t.bounds.y+t.bounds.h)+" "+o(t.bounds.x+t.bounds.w+30)+" "+i(t.bounds.y)+"] ")+" /Parent "+g,t.open&&(r+=" /Open true"),r+=" >>",f.content=r,this.internal.write(p.objId,"0 R",f.objId,"0 R");break;case"freetext":n="/Rect ["+o(t.bounds.x)+" "+i(t.bounds.y)+" "+o(t.bounds.x+t.bounds.w)+" "+i(t.bounds.y+t.bounds.h)+"] ";var y=t.color||"#000000";r="<</Type /Annot /Subtype /FreeText "+n+"/Contents ("+u(d(t.contents))+")",r+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+y+")",r+=" /Border [0 0 0]",r+=" >>",this.internal.write(r);break;case"link":if(t.options.name){var w=this.annotations._nameMap[t.options.name];t.options.pageNumber=w.page,t.options.top=w.y}else t.options.top||(t.options.top=0);if(n="/Rect ["+t.finalBounds.x+" "+t.finalBounds.y+" "+t.finalBounds.w+" "+t.finalBounds.h+"] ",r="",t.options.url)r="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /A <</S /URI /URI ("+u(d(t.options.url))+") >>";else if(t.options.pageNumber)switch(r="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(t.options.pageNumber).objId+" 0 R",t.options.magFactor=t.options.magFactor||"XYZ",t.options.magFactor){case"Fit":r+=" /Fit]";break;case"FitH":r+=" /FitH "+t.options.top+"]";break;case"FitV":t.options.left=t.options.left||0,r+=" /FitV "+t.options.left+"]";break;default:var v=i(t.options.top);t.options.left=t.options.left||0,void 0===t.options.zoom&&(t.options.zoom=0),r+=" /XYZ "+t.options.left+" "+v+" "+t.options.zoom+"]"}""!=r&&(r+=" >>",this.internal.write(r))}}this.internal.write("]")}}]),li.createAnnotation=function(e){var t=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":t.pageContext.annotations.push(e)}},li.link=function(e,t,n,r,o){var i=this.internal.getCurrentPageInfo(),a=this.internal.getCoordinateString,
vendor: 1,847 bytes, line 2
2s=this.internal.getVerticalCoordinateString;i.pageContext.annotations.push({finalBounds:{x:a(e),y:s(t),w:a(e+n),h:s(t+r)},options:o,type:"link"})},li.textWithLink=function(e,t,n,r){var o,i,a=this.getTextWidth(e),s=this.internal.getLineHeight()/this.internal.scaleFactor;if(void 0!==r.maxWidth){i=r.maxWidth;var l=this.splitTextToSize(e,i).length;o=Math.ceil(s*l)}else i=a,o=s;return this.text(e,t,n,r),n+=.2*s,"center"===r.align&&(t-=a/2),"right"===r.align&&(t-=a),this.link(t,n-s,i,o,r),a},li.getTextWidth=function(e){var t=this.internal.getFontSize();return this.getStringUnitWidth(e)*t/this.internal.scaleFactor},function(e){var t={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,6437
vendor: 6,186 bytes, line 2
27],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},n={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},o=[1570,1571,1573,1575];e.__arabicParser__={};var i=e.__arabicParser__.isInArabicSubstitutionA=function(e){return void 0!==t[e.charCodeAt(0)]},a=e.__arabicParser__.isArabicLetter=function(e){return"string"==typeof e&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(e)},s=e.__arabicParser__.isArabicEndLetter=function(e){return a(e)&&i(e)&&t[e.charCodeAt(0)].length<=2},l=e.__arabicParser__.isArabicAlfLetter=function(e){return a(e)&&o.indexOf(e.charCodeAt(0))>=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(e){return a(e)&&i(e)&&t[e.charCodeAt(0)].length>=1};var c=e.__arabicParser__.arabicLetterHasFinalForm=function(e){return a(e)&&i(e)&&t[e.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(e){return a(e)&&i(e)&&t[e.charCodeAt(0)].length>=3};var A=e.__arabicParser__.arabicLetterHasMedialForm=function(e){return a(e)&&i(e)&&4==t[e.charCodeAt(0)].length},u=e.__arabicParser__.resolveLigatures=function(e){var t=0,r=n,o="",i=0;for(t=0;t<e.length;t+=1)void 0!==r[e.charCodeAt(t)]?(i++,"number"==typeof(r=r[e.charCodeAt(t)])&&(o+=String.fromCharCode(r),r=n,i=0),t===e.length-1&&(r=n,o+=e.charAt(t-(i-1)),t-=i-1,i=0)):(r=n,o+=e.charAt(t-i),t-=i,i=0);return o};e.__arabicParser__.isArabicDiacritic=function(e){return void 0!==e&&void 0!==r[e.charCodeAt(0)]};var d=e.__arabicParser__.getCorrectForm=function(e,t,n){return a(e)?!1===i(e)?-1:!c(e)||!a(t)&&!a(n)||!a(n)&&s(t)||s(e)&&!a(t)||s(e)&&l(t)||s(e)&&s(t)?0:A(e)&&a(t)&&!s(t)&&a(n)&&c(n)?3:s(e)||!a(n)?1:2:-1},p=function(e){var n=0,r=0,o=0,i="",s="",l="",c=(e=e||"").split("\\s+"),A=[];for(n=0;n<c.length;n+=1){for(A.push(""),r=0;r<c[n].length;r+=1)i=c[n][r],s=c[n][r-1],l=c[n][r+1],a(i)?(o=d(i,s,l),A[n]+=-1!==o?String.fromCharCode(t[i.charCodeAt(0)][o]):i):A[n]+=i;A[n]=u(A[n])}return A.join(" ")},f=e.__arabicParser__.processArabic=e.processArabic=function(){var e,t="string"==typeof arguments[0]?arguments[0]:arguments[0].text,n=[];if(Array.isArray(t)){var r=0;for(n=[],r=0;r<t.length;r+=1)Array.isArray(t[r])?n.push([p(t[r][0]),t[r][1],t[r][2]]):n.push([p(t[r])]);e=n}else e=p(t);return"string"==typeof arguments[0]?e:(arguments[0].text=e,arguments[0])};e.events.push(["preProcessText",f])}(bo.API),bo.API.autoPrint=function(e){var t;return(e=e||{}).variant=e.variant||"non-conform","javascript"===e.variant?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+t+" 0 R")})),this},function(e){var t=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(t){e=t}});var t=150;Object.defineProperty(this,"width",{get:function(){return t},set:function(e){t=isNaN(e)||!1===Number.isInteger(e)||e<0?150:e,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=t+1)}});var n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(e){n=isNaN(e)||!1===Number.isInteger(e)||e<0?300:e,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var r=[];Object.defineProperty(this,"childNodes",{get:function(){return r},set:function(e){r=e}});var o={};Object.defineProperty(this,"style",{get:function(){return o},set:function(e){o=e}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(e,t){var n;if("2d"!==(e=e||"2d"))return null;for(n in t)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=t[n]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])}(bo.API),function(e){var t={left:0,top:0,bottom:0,right:0},n=!1,o=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},t),this.internal.__cell__.margins.width=this.getPageWidth(),i.call(this))},i=function(){this.internal.__cell__.lastCell=new a,this.internal.__cell__.pages=1},a=function(){var e=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return e},set:function(t){e=t}});var t=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return t},set:function(e){t=e}});var n=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return n},set:function(e){n=e}});var r=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return r},set:function(e){r=e}});var o=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return o},set:function(e){o=e}});var i=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return i},set:function(e){i=e}});var a=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return a}
vendor: 4,313 bytes, line 2
2,set:function(e){a=e}}),this};a.prototype.clone=function(){return new a(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},a.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(e){return o.call(this),this.internal.__cell__.headerFunction="function"==typeof e?e:void 0,this},e.getTextDimensions=function(e,t){o.call(this);var n=(t=t||{}).fontSize||this.getFontSize(),r=t.font||this.getFont(),i=t.scaleFactor||this.internal.scaleFactor,a=0,s=0,l=0,c=this;if(!Array.isArray(e)&&"string"!=typeof e){if("number"!=typeof e)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");e=String(e)}var A=t.maxWidth;A>0?"string"==typeof e?e=this.splitTextToSize(e,A):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce(function(e,t){return e.concat(c.splitTextToSize(t,A))},[])):e=Array.isArray(e)?e:[e];for(var u=0;u<e.length;u++)a<(l=this.getStringUnitWidth(e[u],{font:r})*n)&&(a=l);return 0!==a&&(s=e.length),{w:a/=i,h:Math.max((s*n*this.getLineHeightFactor()-n*(this.getLineHeightFactor()-1))/i,0)}},e.cellAddPage=function(){o.call(this),this.addPage();var e=this.internal.__cell__.margins||t;return this.internal.__cell__.lastCell=new a(e.left,e.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var s=e.cell=function(){var e;e=arguments[0]instanceof a?arguments[0]:new a(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]),o.call(this);var r=this.internal.__cell__.lastCell,i=this.internal.__cell__.padding,s=this.internal.__cell__.margins||t,l=this.internal.__cell__.tableHeaderRow,c=this.internal.__cell__.printHeaders;return void 0!==r.lineNumber&&(r.lineNumber===e.lineNumber?(e.x=(r.x||0)+(r.width||0),e.y=r.y||0):r.y+r.height+e.height+s.bottom>this.getPageHeight()?(this.cellAddPage(),e.y=s.top,c&&l&&(this.printHeaderRow(e.lineNumber,!0),e.y+=l[0].height)):e.y=r.y+r.height||e.y),void 0!==e.text[0]&&(this.rect(e.x,e.y,e.width,e.height,!0===n?"FD":void 0),"right"===e.align?this.text(e.text,e.x+e.width-i,e.y+i,{align:"right",baseline:"top"}):"center"===e.align?this.text(e.text,e.x+e.width/2,e.y+i,{align:"center",baseline:"top",maxWidth:e.width-i-i}):this.text(e.text,e.x+i,e.y+i,{align:"left",baseline:"top",maxWidth:e.width-i-i})),this.internal.__cell__.lastCell=e,this};e.table=function(e,n,c,A,u){if(o.call(this),!c)throw new Error("No data for PDF table.");var d,p,f,h,m=[],g=[],y=[],w={},v={},b=[],x=[],_=(u=u||{}).autoSize||!1,B=!1!==u.printHeaders,C=u.css&&void 0!==u.css["font-size"]?16*u.css["font-size"]:u.fontSize||12,k=u.margins||Object.assign({width:this.getPageWidth()},t),S="number"==typeof u.padding?u.padding:3,j=u.headerBackgroundColor||"#c8c8c8",E=u.headerTextColor||"#000";if(i.call(this),this.internal.__cell__.printHeaders=B,this.internal.__cell__.margins=k,this.internal.__cell__.table_font_size=C,this.internal.__cell__.padding=S,this.internal.__cell__.headerBackgroundColor=j,this.internal.__cell__.headerTextColor=E,this.setFontSize(C),null==A)g=m=Object.keys(c[0]),y=m.map(function(){return"left"});else if(Array.isArray(A)&&"object"===(0,r.A)(A[0]))for(m=A.map(function(e){return e.name}),g=A.map(function(e){return e.prompt||e.name||""}),y=A.map(function(e){return e.align||"left"}),d=0;d<A.length;d+=1)v[A[d].name]=.7499990551181103*A[d].width;else Array.isArray(A)&&"string"==typeof A[0]&&(g=m=A,y=m.map(function(){return"left"}));if(_||Array.isArray(A)&&"string"==typeof A[0])for(d=0;d<m.length;d+=1){for(w[h=m[d]]=c.map(function(e){return e[h]}),this.setFont(void 0,"bold"),b.push(this.getTextDimensions(g[d],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),p=w[h],this.setFont(void 0,"normal"),f=0;f<p.length;f+=1)b.push(this.getTextDimensions(p[f],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);v[h]=Math.max.apply(null,b)+S+S,b=[]}if(B){var F={};for(d=0;d<m.length;d+=1)F[m[d]]={},F[m[d]].text=g[d],F[m[d]].align=y[d];var N=l.call(this,F,v);x=m.map(function(t){return new a(e,n,v[t],N,F[t].text,void 0,F[t].align)}),this.setTableHeaderRow(x),this.printHeaderRow(1,!1)}var U=A.reduce(function(e,t){return e[t.name]=t.align,e},{});for(d=0;d<c.length;
vendor: 6,227 bytes, line 2
2d+=1){"rowStart"in u&&u.rowStart instanceof Function&&u.rowStart({row:d,data:c[d]},this);var L=l.call(this,c[d],v);for(f=0;f<m.length;f+=1){var I=c[d][m[f]];"cellStart"in u&&u.cellStart instanceof Function&&u.cellStart({row:d,col:f,data:I},this),s.call(this,new a(e,n,v[m[f]],L,I,d+2,U[m[f]]))}}return this.internal.__cell__.table_x=e,this.internal.__cell__.table_y=n,this};var l=function(e,t){var n=this.internal.__cell__.padding,r=this.internal.__cell__.table_font_size,o=this.internal.scaleFactor;return Object.keys(e).map(function(r){var o=e[r];return this.splitTextToSize(o.hasOwnProperty("text")?o.text:o,t[r]-n-n)},this).map(function(e){return this.getLineHeightFactor()*e.length*r/o+n+n},this).reduce(function(e,t){return Math.max(e,t)},0)};e.setTableHeaderRow=function(e){o.call(this),this.internal.__cell__.tableHeaderRow=e},e.printHeaderRow=function(e,t){if(o.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var r;if(n=!0,"function"==typeof this.internal.__cell__.headerFunction){var i=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new a(i[0],i[1],i[2],i[3],void 0,-1)}this.setFont(void 0,"bold");for(var l=[],c=0;c<this.internal.__cell__.tableHeaderRow.length;c+=1){r=this.internal.__cell__.tableHeaderRow[c].clone(),t&&(r.y=this.internal.__cell__.margins.top||0,l.push(r)),r.lineNumber=e;var A=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),s.call(this,r),this.setTextColor(A)}l.length>0&&this.setTableHeaderRow(l),this.setFont(void 0,"normal"),n=!1}}(bo.API);var di={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},pi=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],fi=ui(pi),hi=[100,200,300,400,500,600,700,800,900],mi=ui(hi);function gi(e){var t=e.family.replace(/"|'/g,"").toLowerCase(),n=function(e){return di[e=e||"normal"]?e:"normal"}(e.style),r=function(e){return e?"number"==typeof e?e>=100&&e<=900&&e%100==0?e:400:/^\d00$/.test(e)?parseInt(e):"bold"===e?700:400:400}(e.weight),o=function(e){return"number"==typeof fi[e=e||"normal"]?e:"normal"}(e.stretch);return{family:t,style:n,weight:r,stretch:o,src:e.src||[],ref:e.ref||{name:t,style:[o,n,r].join(" ")}}}function yi(e,t,n,r){var o;for(o=n;o>=0&&o<t.length;o+=r)if(e[t[o]])return e[t[o]];for(o=n;o>=0&&o<t.length;o-=r)if(e[t[o]])return e[t[o]]}var wi={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},vi={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function bi(e){return[e.stretch,e.style,e.weight,e.family].join(" ")}function xi(e){return e.trimLeft()}function _i(e,t){for(var n=0;n<e.length;){if(e.charAt(n)===t)return[e.substring(0,n),e.substring(n+1)];n+=1}return null}function Bi(e){var t=e.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return null===t?null:[t[0],e.substring(t[0].length)]}var Ci,ki,Si,ji,Ei,Fi,Ni,Ui,Li=["times"];function Ii(e,t,n,r,o){var i=4,a=Ti;switch(o){case bo.API.image_compression.FAST:i=1,a=Qi;break;case bo.API.image_compression.MEDIUM:i=6,a=Di;break;case bo.API.image_compression.SLOW:i=9,a=Oi}e=function(e,t,n,r){for(var o,i=e.length/t,a=new Uint8Array(e.length+i),s=[Pi,Qi,Ti,Di,Oi],l=0;l<i;l+=1){var c=l*t,A=e.subarray(c,c+t);if(r)a.set(r(A,n,o),c+l);else{for(var u=s.length,d=[],p=0;p<u;p+=1)d[p]=s[p](A,n,o);var f=Mi(d.concat());a.set(d[f],c+l)}o=A}return a}(e,t,Math.ceil(n*r/8),a);var s=D(e,{level:i});return bo.API.__addimage__.arrayBufferToBinaryString(s)}function Pi(e){var t=Array.apply([],e);return t.unshift(0),t}function Qi(e,t){var n=e.length,r=[];r[0]=1;for(var o=0;o<n;o+=1){var i=e[o-t]||0;r[o+1]=e[o]-i+256&255}return r}function Ti(e,t,n){var r=e.length,o=[];o[0]=2;for(var i=0;i<r;i+=1){var a=n&&n[i]||0;o[i+1]=e[i]-a+256&255}return o}function Di(e,t,n){var r=e.length,o=[];o[0]=3;for(var i=0;i<r;i+=1){var a=e[i-t]||0,s=n&&n[i]||0;o[i+1]=e[i]+256-(a+s>>>1)&255}return o}function Oi(e,t,n){var r=e.length,o=[];o[0]=4;for(var i=0;i<r;i+=1){var a=Ri(e[i-t]||0,n&&n[i]||0,n&&n[i-t]||0);o[i+1]=e[i]-a+256&255}return o}function Ri(e,t,n){if(e===t&&t===n)return e;var r=Math.abs(t-n),o=Math.abs(e-n),i=Math.abs(e+t-n-n);return r<=o&&r<=i?e:o<=i?t:n}function Mi(e){var t=e.map(function(e){return e.reduce(function(e,t){return e+Math.abs(t)},0)});return t.indexOf(Math.min.apply(null,t))}function Hi(e,t,n){var r=t*n,o=Math.floor(r/8),i=16-(r-8*o+n),a=(1<<n)-1;return Ki(e,o)>>i&a}function zi(e,t,n,r){var o=n*r,i=Math.floor(o/8),a=16-(o-8*i+r),s=(1<<r)-1,l=(t&s)<<a;!function(e,t,n){if(t+1<e.byteLength)e.setUint16(t,n,!1);else{var r=n>>8&255;e.setUint8(t,r)}}(e,i,Ki(e,i)&~(s<<a)&65535|l)}function Ki(e,t){return t+1<e.byteLength?e.getUint16(t,!1):e.getUint8(t)<<8}function $i(e){var t=0;if(71!==e[t++]||73!==e[t++]||70!==e[t++]||56!==e[t++]||56!=(e[t++]+1&253)||97!==e[t++])throw new Error("Invalid GIF 87a/89a header.");var n=e[t++]|e[t++]<<8,r=e[t++]|e[t++]<<8,o=e[t++],i=o>>7,a=1<<1+(7&o);e[t++],e[t++];var s=null,l=null;i&&(s=t,l=a,t+=3*a);var c=!0,A=[],u=0,d=null,p=0,f=null;for(this.width=n,this.height=r;c&&t<e.length;)switch(e[t++]){case 33:switch(e[t++]){case 255:if(11!==e[t]||78==e[t+1]&&69==e[t+2]&&84==e[t+3]&&83==e[t+4]&&67==e[t+5]&&65==e[t+6]&&80==e[t+7]&&69==e[t+8]&&50==e[t+9]&&46==e[t+10]&&48==e[t+11]&&3==e[t+12]&&1==e[t+13]&&0==e[t+16])t+=14,f=e[t++]|e[t++]<<8,t++;else for(t+=12;;){if(!((S=e[t++])>=0))throw Error("Invalid block size");if(0===S)break;t+=S}break;case 249:if(4!==e[t++]||0!==e[t+4])throw new Error("Invalid graphics extension block.");var h=e[t++];u=e[t++]|e[t++]<<8,d=e[t++],1&h||(d=null),p=h>>2&7,t++;break;case 254:for(;;){if(!((S=e[t++])>=0))throw Error("Invalid block size");if(0===S)break;t+=S}break;default:throw new Error("Unknown graphic control label: 0x"+e[t-1].toString(16))}break;case 44:var m=e[t++]|e[t++]<<8,g=e[t++]|e[t++]<<8,y=e[t++]|e[t++]<<8,w=e[t++]|e[t++]<<8,v=e[t++],b=v>>6&1,x=1<<1+(7&v),_=s,B=l,C=!1;v>>7&&(C=!0,_=t,B=x,t+=3*x);var k=t;
vendor: 4,808 bytes, line 2
2for(t++;;){var S;if(!((S=e[t++])>=0))throw Error("Invalid block size");if(0===S)break;t+=S}A.push({x:m,y:g,width:y,height:w,has_local_palette:C,palette_offset:_,palette_size:B,data_offset:k,data_length:t-k,transparent_index:d,interlaced:!!b,delay:u,disposal:p});break;case 59:c=!1;break;default:throw new Error("Unknown gif block: 0x"+e[t-1].toString(16))}this.numFrames=function(){return A.length},this.loopCount=function(){return f},this.frameInfo=function(e){if(e<0||e>=A.length)throw new Error("Frame index out of range.");return A[e]},this.decodeAndBlitFrameBGRA=function(t,r){var o=this.frameInfo(t),i=o.width*o.height,a=new Uint8Array(i);Vi(e,o.data_offset,a,i);var s=o.palette_offset,l=o.transparent_index;null===l&&(l=256);var c=o.width,A=n-c,u=c,d=4*(o.y*n+o.x),p=4*((o.y+o.height)*n+o.x),f=d,h=4*A;!0===o.interlaced&&(h+=4*n*7);for(var m=8,g=0,y=a.length;g<y;++g){var w=a[g];if(0===u&&(u=c,(f+=h)>=p&&(h=4*A+4*n*(m-1),f=d+(c+A)*(m<<1),m>>=1)),w===l)f+=4;else{var v=e[s+3*w],b=e[s+3*w+1],x=e[s+3*w+2];r[f++]=x,r[f++]=b,r[f++]=v,r[f++]=255}--u}},this.decodeAndBlitFrameRGBA=function(t,r){var o=this.frameInfo(t),i=o.width*o.height,a=new Uint8Array(i);Vi(e,o.data_offset,a,i);var s=o.palette_offset,l=o.transparent_index;null===l&&(l=256);var c=o.width,A=n-c,u=c,d=4*(o.y*n+o.x),p=4*((o.y+o.height)*n+o.x),f=d,h=4*A;!0===o.interlaced&&(h+=4*n*7);for(var m=8,g=0,y=a.length;g<y;++g){var w=a[g];if(0===u&&(u=c,(f+=h)>=p&&(h=4*A+4*n*(m-1),f=d+(c+A)*(m<<1),m>>=1)),w===l)f+=4;else{var v=e[s+3*w],b=e[s+3*w+1],x=e[s+3*w+2];r[f++]=v,r[f++]=b,r[f++]=x,r[f++]=255}--u}}}function Vi(e,t,n,r){for(var o=e[t++],i=1<<o,a=i+1,s=a+1,l=o+1,c=(1<<l)-1,A=0,u=0,d=0,p=e[t++],f=new Int32Array(4096),h=null;;){for(;A<16&&0!==p;)u|=e[t++]<<A,A+=8,1===p?p=e[t++]:--p;if(A<l)break;var m=u&c;if(u>>=l,A-=l,m!==i){if(m===a)break;for(var g=m<s?m:h,y=0,w=g;w>i;)w=f[w]>>8,++y;var v=w;if(d+y+(g!==m?1:0)>r)return void zr.log("Warning, gif stream longer than expected.");n[d++]=v;var b=d+=y;for(g!==m&&(n[d++]=v),w=g;y--;)w=f[w],n[--b]=255&w,w>>=8;null!==h&&s<4096&&(f[s++]=h<<8|v,s>=c+1&&l<12&&(++l,c=c<<1|1)),h=m}else s=a+1,c=(1<<(l=o+1))-1,h=null}return d!==r&&zr.log("Warning, gif stream shorter than expected."),n}function qi(e){var t,n,r,o,i,a=Math.floor,s=new Array(64),l=new Array(64),c=new Array(64),A=new Array(64),u=new Array(65535),d=new Array(65535),p=new Array(64),f=new Array(64),h=[],m=0,g=7,y=new Array(64),w=new Array(64),v=new Array(64),b=new Array(256),x=new Array(2048),_=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],B=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],C=[0,1,2,3,4,5,6,7,8,9,10,11],k=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],S=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],j=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],E=[0,1,2,3,4,5,6,7,8,9,10,11],F=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],N=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function U(e,t){for(var n=0,r=0,o=new Array,i=1;i<=16;i++){for(var a=1;a<=e[i];a++)o[t[r]]=[],o[t[r]][0]=n,o[t[r]][1]=i,r++,n++;n*=2}return o}function L(e){for(var t=e[0],n=e[1]-1;n>=0;)t&1<<n&&(m|=1<<g),n--,--g<0&&(255==m?(I(255),I(0)):I(m),g=7,m=0)}function I(e){h.push(e)}function P(e){I(e>>8&255),I(255&e)}function Q(e,t,n,r,o){for(var i,a=o[0],s=o[240],l=function(e,t){var n,r,o,i,a,s,l,c,A,u,d=0;for(A=0;A<8;++A){n=e[d],r=e[d+1],o=e[d+2],i=e[d+3],a=e[d+4],s=e[d+5],l=e[d+6];var f=n+(c=e[d+7]),h=n-c,m=r+l,g=r-l,y=o+s,w=o-s,v=i+a,b=i-a,x=f+v,_=f-v,B=m+y,C=m-y;e[d]=x+B,e[d+4]=x-B;var k=.707106781*(C+_);e[d+2]=_+k,e[d+6]=_-k;var S=.382683433*((x=b+w)-(C=g+h)),j=.5411961*x+S,E=1.306562965*C+S,F=.707106781*(B=w+g),N=h+F,U=h-F;e[d+5]=U+j,e[d+3]=U-j,e[d+1]=N+E,e[d+7]=N-E,d+=8}
vendor: 47,758 bytes, line 2
2for(d=0,A=0;A<8;++A){n=e[d],r=e[d+8],o=e[d+16],i=e[d+24],a=e[d+32],s=e[d+40],l=e[d+48];var L=n+(c=e[d+56]),I=n-c,P=r+l,Q=r-l,T=o+s,D=o-s,O=i+a,R=i-a,M=L+O,H=L-O,z=P+T,K=P-T;e[d]=M+z,e[d+32]=M-z;var $=.707106781*(K+H);e[d+16]=H+$,e[d+48]=H-$;var V=.382683433*((M=R+D)-(K=Q+I)),q=.5411961*M+V,W=1.306562965*K+V,G=.707106781*(z=D+Q),Y=I+G,X=I-G;e[d+40]=X+q,e[d+24]=X-q,e[d+8]=Y+W,e[d+56]=Y-W,d++}for(A=0;A<64;++A)u=e[A]*t[A],p[A]=u>0?u+.5|0:u-.5|0;return p}(e,t),c=0;c<64;++c)f[_[c]]=l[c];var A=f[0]-n;n=f[0],0==A?L(r[0]):(L(r[d[i=32767+A]]),L(u[i]));for(var h=63;h>0&&0==f[h];)h--;if(0==h)return L(a),n;for(var m,g=1;g<=h;){for(var y=g;0==f[g]&&g<=h;)++g;var w=g-y;if(w>=16){m=w>>4;for(var v=1;v<=m;++v)L(s);w&=15}i=32767+f[g],L(o[(w<<4)+d[i]]),L(u[i]),g++}return 63!=h&&L(a),n}function T(e){e=Math.min(Math.max(e,1),100),i!=e&&(function(e){for(var t=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],n=0;n<64;n++){var r=a((t[n]*e+50)/100);r=Math.min(Math.max(r,1),255),s[_[n]]=r}for(var o=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],i=0;i<64;i++){var u=a((o[i]*e+50)/100);u=Math.min(Math.max(u,1),255),l[_[i]]=u}for(var d=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],p=0,f=0;f<8;f++)for(var h=0;h<8;h++)c[p]=1/(s[_[p]]*d[f]*d[h]*8),A[p]=1/(l[_[p]]*d[f]*d[h]*8),p++}(e<50?Math.floor(5e3/e):Math.floor(200-2*e)),i=e)}this.encode=function(e,i){i&&T(i),h=new Array,m=0,g=7,P(65496),P(65504),P(16),I(74),I(70),I(73),I(70),I(0),I(1),I(1),I(0),P(1),P(1),I(0),I(0),function(){P(65499),P(132),I(0);for(var e=0;e<64;e++)I(s[e]);I(1);for(var t=0;t<64;t++)I(l[t])}(),function(e,t){P(65472),P(17),I(8),P(t),P(e),I(3),I(1),I(17),I(0),I(2),I(17),I(1),I(3),I(17),I(1)}(e.width,e.height),function(){P(65476),P(418),I(0);for(var e=0;e<16;e++)I(B[e+1]);for(var t=0;t<=11;t++)I(C[t]);I(16);for(var n=0;n<16;n++)I(k[n+1]);for(var r=0;r<=161;r++)I(S[r]);I(1);for(var o=0;o<16;o++)I(j[o+1]);for(var i=0;i<=11;i++)I(E[i]);I(17);for(var a=0;a<16;a++)I(F[a+1]);for(var s=0;s<=161;s++)I(N[s])}(),P(65498),P(12),I(3),I(1),I(0),I(2),I(17),I(3),I(17),I(0),I(63),I(0);var a=0,u=0,d=0;m=0,g=7,this.encode.displayName="_encode_";for(var p,f,b,_,U,D,O,R,M,H=e.data,z=e.width,K=e.height,$=4*z,V=0;V<K;){for(p=0;p<$;){for(U=$*V+p,O=-1,R=0,M=0;M<64;M++)D=U+(R=M>>3)*$+(O=4*(7&M)),V+R>=K&&(D-=$*(V+1+R-K)),p+O>=$&&(D-=p+O-$+4),f=H[D++],b=H[D++],_=H[D++],y[M]=(x[f]+x[b+256|0]+x[_+512|0]>>16)-128,w[M]=(x[f+768|0]+x[b+1024|0]+x[_+1280|0]>>16)-128,v[M]=(x[f+1280|0]+x[b+1536|0]+x[_+1792|0]>>16)-128;a=Q(y,c,a,t,r),u=Q(w,A,u,n,o),d=Q(v,A,d,n,o),p+=32}V+=8}if(g>=0){var q=[];q[1]=g+1,q[0]=(1<<g+1)-1,L(q)}return P(65497),new Uint8Array(h)},e=e||50,function(){for(var e=String.fromCharCode,t=0;t<256;t++)b[t]=e(t)}(),t=U(B,C),n=U(j,E),r=U(k,S),o=U(F,N),function(){for(var e=1,t=2,n=1;n<=15;n++){for(var r=e;r<t;r++)d[32767+r]=n,u[32767+r]=[],u[32767+r][1]=n,u[32767+r][0]=r;for(var o=-(t-1);o<=-e;o++)d[32767+o]=n,u[32767+o]=[],u[32767+o][1]=n,u[32767+o][0]=t-1+o;e<<=1,t<<=1}}(),function(){for(var e=0;e<256;e++)x[e]=19595*e,x[e+256|0]=38470*e,x[e+512|0]=7471*e+32768,x[e+768|0]=-11059*e,x[e+1024|0]=-21709*e,x[e+1280|0]=32768*e+8421375,x[e+1536|0]=-27439*e,x[e+1792|0]=-5329*e}(),T(e)}function Wi(e,t){if(this.pos=0,this.buffer=e,this.datav=new DataView(e.buffer),this.is_with_alpha=!!t,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function Gi(e){function t(e){if(!e)throw Error("assert :P")}function n(e,t,n){for(var r=0;4>r;r++)if(e[t+r]!=n.charCodeAt(r))return!0;return!1}function r(e,t,n,r,o){for(var i=0;i<o;i++)e[t+i]=n[r+i]}function o(e,t,n,r){for(var o=0;o<r;o++)e[t+o]=n}function i(e){return new Int32Array(e)}function a(e,t){for(var n=[],r=0;r<e;r++)n.push(new t);return n}function s(e,t){var n=[];return function e(n,r,o){for(var i=o[r],a=0;a<i&&(n.push(o.length>r+1?[]:new t),!(o.length<r+1));a++)e(n[a],r+1,o)}(n,0,e),n}var l=function(){var e=this;function l(e,t){for(var n=1<<t-1>>>0;e&n;)n>>>=1;return n?(e&n-1)+n:e}function c(e,n,r,o,i){t(!(o%r));do{e[n+(o-=r)]=i}while(0<o)}function A(e,n,r,o,a){if(t(2328>=a),512>=a)var s=i(512);else if(null==(s=i(a)))return 0;return function(e,n,r,o,a,s){var A,d,p=n,f=1<<r,h=i(16),m=i(16);for(t(0!=a),t(null!=o),t(null!=e),t(0<r),d=0;d<a;++d){if(15<o[d])return 0;++h[o[d]]}if(h[0]==a)return 0;for(m[1]=0,A=1;15>A;++A){if(h[A]>1<<A)return 0;m[A+1]=m[A]+h[A]}for(d=0;d<a;++d)A=o[d],0<o[d]&&(s[m[A]++]=d);if(1==m[15])return(o=new u).g=0,o.value=s[0],c(e,p,1,f,o),f;var g,y=-1,w=f-1,v=0,b=1,x=1,_=1<<r;for(d=0,A=1,a=2;A<=r;++A,a<<=1){if(b+=x<<=1,0>(x-=h[A]))return 0;for(;0<h[A];--h[A])(o=new u).g=A,o.value=s[d++],c(e,p+v,a,_,o),v=l(v,A)}for(A=r+1,a=2;15>=A;++A,a<<=1){if(b+=x<<=1,0>(x-=h[A]))return 0;for(;0<h[A];--h[A]){if(o=new u,(v&w)!=y){for(p+=_,g=1<<(y=A)-r;15>y&&!(0>=(g-=h[y]));)++y,g<<=1;f+=_=1<<(g=y-r),e[n+(y=v&w)].g=g+r,e[n+y].value=p-n-y}o.g=A-r,o.value=s[d++],c(e,p+(v>>r),a,_,o),v=l(v,A)}}return b!=2*m[15]-1?0:f}(e,n,r,o,a,s)}function u(){this.value=this.g=0}function d(){this.value=this.g=0}function p(){this.G=a(5,u),this.H=i(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=a(Dn,d)}function f(e,n,r,o){t(null!=e),t(null!=n),t(2147483648>o),e.Ca=254,e.I=0,e.b=-8,e.Ka=0,e.oa=n,e.pa=r,e.Jd=n,e.Yc=r+o,e.Zc=4<=o?r+o-4+1:r,k(e)}function h(e,t){for(var n=0;0<t--;)n|=j(e,128)<<t;return n}function m(e,t){var n=h(e,t);return S(e)?-n:n}function g(e,n,r,o){var i,a=0;for(t(null!=e),t(null!=n),t(4294967288>o),e.Sb=o,e.Ra=0,e.u=0,e.h=0,4<o&&(o=4),i=0;i<o;++i)a+=n[r+i]<<8*i;e.Ra=a,e.bb=o,e.oa=n,e.pa=r}function y(e){for(;8<=e.u&&e.bb<e.Sb;)e.Ra>>>=8,e.Ra+=e.oa[e.pa+e.bb]<<Mn-8>>>0,++e.bb,e.u-=8;_(e)&&(e.h=1,e.u=0)}function w(e,n){if(t(0<=n),!e.h&&n<=Rn){var r=x(e)&On[n];return e.u+=n,y(e),r}return e.h=1,e.u=0}function v(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function b(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function x(e){return e.Ra>>>(e.u&Mn-1)>>>0}function _(e){return t(e.bb<=e.Sb),e.h||e.bb==e.Sb&&e.u>Mn}function B(e,t){e.u=t,e.h=_(e)}function C(e){e.u>=Hn&&(t(e.u>=Hn),y(e))}function k(e){t(null!=e&&null!=e.oa),e.pa<e.Zc?(e.I=(e.oa[e.pa++]|e.I<<8)>>>0,e.b+=8):(t(null!=e&&null!=e.oa),e.pa<e.Yc?(e.b+=8,e.I=e.oa[e.pa++]|e.I<<8):e.Ka?e.b=0:(e.I<<=8,e.b+=8,e.Ka=1))}function S(e){return h(e,1)}function j(e,t){var n=e.Ca;0>e.b&&k(e);var r=e.b,o=n*t>>>8,i=(e.I>>>r>o)+0;for(i?(n-=o,e.I-=o+1<<r>>>0):n=o+1,r=n,o=0;256<=r;)o+=8,r>>=8;return r=7^o+zn[r],e.b-=r,e.Ca=(n<<r)-1,i}function E(e,t,n){e[t+0]=n>>24&255,e[t+1]=n>>16&255,e[t+2]=n>>8&255,e[t+3]=255&n}function F(e,t){return e[t+0]|e[t+1]<<8}function N(e,t){return F(e,t)|e[t+2]<<16}function U(e,t){return F(e,t)|F(e,t+2)<<16}function L(e,n){var r=1<<n;return t(null!=e),t(0<n),e.X=i(r),null==e.X?0:(e.Mb=32-n,e.Xa=n,1)}function I(e,n){t(null!=e),t(null!=n),t(e.Xa==n.Xa),r(n.X,0,e.X,0,1<<n.Xa)}function P(){this.X=[],this.Xa=this.Mb=0}function Q(e,n,r,o){t(null!=r),t(null!=o);var i=r[0],a=o[0];return 0==i&&(i=(e*a+n/2)/n),0==a&&(a=(n*i+e/2)/e),0>=i||0>=a?0:(r[0]=i,o[0]=a,1)}function T(e,t){return e+(1<<t)-1>>>t}function D(e,t){return((4278255360&e)+(4278255360&t)>>>0&4278255360)+((16711935&e)+(16711935&t)>>>0&16711935)>>>0}function O(t,n){e[n]=function(n,r,o,i,a,s,l){var c;for(c=0;c<a;++c){var A=e[t](s[l+c-1],o,i+c);s[l+c]=D(n[r+c],A)}}}function R(){this.ud=this.hd=this.jd=0}function M(e,t){return((4278124286&(e^t))>>>1)+(e&t)>>>0}function H(e){return 0<=e&&256>e?e:0>e?0:255<e?255:void 0}function z(e,t){return H(e+(e-t+.5>>1))}function K(e,t,n){return Math.abs(t-n)-Math.abs(e-n)}function $(e,t,n,r,o,i,a){for(r=i[a-1],n=0;n<o;++n)i[a+n]=r=D(e[t+n],r)}function V(e,t,n,r,o){var i;for(i=0;i<n;++i){var a=e[t+i],s=a>>8&255,l=16711935&(l=(l=16711935&a)+((s<<16)+s));r[o+i]=(4278255360&a)+l>>>0}}function q(e,t){t.jd=255&e,t.hd=e>>8&255,t.ud=e>>16&255}function W(e,t,n,r,o,i){var a;for(a=0;a<r;++a){var s=t[n+a],l=s>>>8,c=s,A=255&(A=(A=s>>>16)+((e.jd<<24>>24)*(l<<24>>24)>>>5));c=255&(c=(c+=(e.hd<<24>>24)*(l<<24>>24)>>>5)+((e.ud<<24>>24)*(A<<24>>24)>>>5)),o[i+a]=(4278255360&s)+(A<<16)+c}}function G(t,n,r,o,i){e[n]=function(e,t,n,r,a,s,l,c,A){for(r=l;r<c;++r)for(l=0;l<A;++l)a[s++]=i(n[o(e[t++])])},e[t]=function(t,n,a,s,l,c,A){var u=8>>t.b,d=t.Ea,p=t.K[0],f=t.w;if(8>u)for(t=(1<<t.b)-1,f=(1<<u)-1;n<a;++n){var h,m=0;for(h=0;h<d;++h)h&t||(m=o(s[l++])),c[A++]=i(p[m&f]),m>>=u}else e["VP8LMapColor"+r](s,l,p,f,c,A,n,a,d)}}function Y(e,t,n,r,o){for(n=t+n;t<n;){var i=e[t++];r[o++]=i>>16&255,r[o++]=i>>8&255,r[o++]=255&i}}function X(e,t,n,r,o){for(n=t+n;t<n;){var i=e[t++];r[o++]=i>>16&255,r[o++]=i>>8&255,r[o++]=255&i,r[o++]=i>>24&255}}function J(e,t,n,r,o){for(n=t+n;t<n;){var i=(a=e[t++])>>16&240|a>>12&15,a=240&a|a>>28&15;r[o++]=i,r[o++]=a}}function Z(e,t,n,r,o){for(n=t+n;t<n;){var i=(a=e[t++])>>16&248|a>>13&7,a=a>>5&224|a>>3&31;r[o++]=i,r[o++]=a}}function ee(e,t,n,r,o){for(n=t+n;t<n;){var i=e[t++];r[o++]=255&i,r[o++]=i>>8&255,r[o++]=i>>16&255}}function te(e,t,n,o,i,a){if(0==a)for(n=t+n;t<n;)E(o,((a=e[t++])[0]>>24|a[1]>>8&65280|a[2]<<8&16711680|a[3]<<24)>>>0),i+=32;else r(o,i,e,t,n)}function ne(t,n){e[n][0]=e[t+"0"],e[n][1]=e[t+"1"],e[n][2]=e[t+"2"],e[n][3]=e[t+"3"],e[n][4]=e[t+"4"],e[n][5]=e[t+"5"],e[n][6]=e[t+"6"],e[n][7]=e[t+"7"],e[n][8]=e[t+"8"],e[n][9]=e[t+"9"],e[n][10]=e[t+"10"],e[n][11]=e[t+"11"],e[n][12]=e[t+"12"],e[n][13]=e[t+"13"],e[n][14]=e[t+"0"],e[n][15]=e[t+"0"]}function re(e){return e==Hr||e==zr||e==Kr||e==$r}function oe(){this.eb=[],this.size=this.A=this.fb=0}function ie(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ae(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new oe,this.f.kb=new ie,this.sd=null}function se(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function le(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function ce(e){return alert("todo:WebPSamplerProcessPlane"),e.T}function Ae(e,t){var n=e.T,o=t.ba.f.RGBA,i=o.eb,a=o.fb+e.ka*o.A,s=go[t.ba.S],l=e.y,c=e.O,A=e.f,u=e.N,d=e.ea,p=e.W,f=t.cc,h=t.dc,m=t.Mc,g=t.Nc,y=e.ka,w=e.ka+e.T,v=e.U,b=v+1>>1;for(0==y?s(l,c,null,null,A,u,d,p,A,u,d,p,i,a,null,null,v):(s(t.ec,t.fc,l,c,f,h,m,g,A,u,d,p,i,a-o.A,i,a,v),++n);y+2<w;y+=2)f=A,h=u,m=d,g=p,u+=e.Rc,p+=e.Rc,a+=2*o.A,s(l,(c+=2*e.fa)-e.fa,l,c,f,h,m,g,A,u,d,p,i,a-o.A,i,a,v);return c+=e.fa,e.j+w<e.o?(r(t.ec,t.fc,l,c,v),r(t.cc,t.dc,A,u,b),r(t.Mc,t.Nc,d,p,b),n--):1&w||s(l,c,null,null,A,u,d,p,A,u,d,p,i,a+o.A,null,null,v),n}function ue(e,n,r){var o=e.F,i=[e.J];if(null!=o){var a=e.U,s=n.ba.S,l=s==Or||s==Kr;n=n.ba.f.RGBA;var c=[0],A=e.ka;c[0]=e.T,e.Kb&&(0==A?--c[0]:(--A,i[0]-=e.width),e.j+e.ka+e.T==e.o&&(c[0]=e.o-e.j-A));var u=n.eb;A=n.fb+A*n.A,e=Br(o,i[0],e.width,a,c,u,A+(l?0:3),n.A),t(r==c),e&&re(s)&&xr(u,A,l,a,c,n.A)}return 0}function de(e){var t=e.ma,n=t.ba.S,r=11>n,o=n==Qr||n==Dr||n==Or||n==Rr||12==n||re(n);if(t.memory=null,t.Ib=null,t.Jb=null,t.Nd=null,!Pn(t.Oa,e,o?11:12))return 0;if(o&&re(n)&&yn(),e.da)alert("todo:use_scaling");else{if(r){if(t.Ib=ce,e.Kb){if(n=e.U+1>>1,t.memory=i(e.U+2*n),null==t.memory)return 0;t.ec=t.memory,t.fc=0,t.cc=t.ec,t.dc=t.fc+e.U,t.Mc=t.cc,t.Nc=t.dc+n,t.Ib=Ae,yn()}}else alert("todo:EmitYUV");o&&(t.Jb=ue,r&&mn())}if(r&&!No){for(e=0;256>e;++e)Uo[e]=89858*(e-128)+ko>>Co,Po[e]=-22014*(e-128)+ko,Io[e]=-45773*(e-128),Lo[e]=113618*(e-128)+ko>>Co;for(e=So;e<jo;++e)t=76283*(e-16)+ko>>Co,Qo[e-So]=$e(t,255),To[e-So]=$e(t+8>>4,15);No=1}return 1}function pe(e){var n=e.ma,r=e.U,o=e.T;return t(!(1&e.ka)),0>=r||0>=o?0:(r=n.Ib(e,n),null!=n.Jb&&n.Jb(e,n,r),n.Dc+=r,1)}function fe(e){e.ma.memory=null}function he(e,t,n,r){return 47!=w(e,8)?0:(t[0]=w(e,14)+1,n[0]=w(e,14)+1,r[0]=w(e,1),0!=w(e,3)?0:!e.h)}function me(e,t){if(4>e)return e+1;var n=e-2>>1;return(2+(1&e)<<n)+w(t,n)+1}function ge(e,t){return 120<t?t-120:1<=(n=((n=Xr[t-1])>>4)*e+(8-(15&n)))?n:1;var n}function ye(e,t,n){var r=x(n),o=e[t+=255&r].g-8;return 0<o&&(B(n,n.u+8),r=x(n),t+=e[t].value,t+=r&(1<<o)-1),B(n,n.u+e[t].g),e[t].value}function we(e,n,r){return r.g+=e.g,r.value+=e.value<<n>>>0,t(8>=r.g),e.g}function ve(e,n,r){var o=e.xc;return t((n=0==o?0:e.vc[e.md*(r>>o)+(n>>o)])<e.Wb),e.Ya[n]}function be(e,n,o,i){var a=e.ab,s=e.c*n,l=e.C;n=l+n;var c=o,A=i;for(i=e.Ta,o=e.Ua;0<a--;){var u=e.gc[a],d=l,p=n,f=c,h=A,m=(A=i,c=o,u.Ea);switch(t(d<p),t(p<=u.nc),u.hc){case 2:Vn(f,h,(p-d)*m,A,c);break;case 0:var g=d,y=p,w=A,v=c,b=(k=u).Ea;0==g&&(Kn(f,h,null,null,1,w,v),$(f,h+1,0,0,b-1,w,v+1),h+=b,v+=b,++g);for(var x=1<<k.b,_=x-1,B=T(b,k.b),C=k.K,k=k.w+(g>>k.b)*B;g<y;){var S=C,j=k,E=1;for($n(f,h,w,v-b,1,w,v);E<b;){var F=(E&~_)+x;F>b&&(F=b),(0,Xn[S[j++]>>8&15])(f,h+ +E,w,v+E-b,F-E,w,v+E),E=F}h+=b,v+=b,++g&_||(k+=B)}p!=u.nc&&r(A,c-m,A,c+(p-d-1)*m,m);break;case 1:for(m=f,y=h,b=(f=u.Ea)-(v=f&~(w=(h=1<<u.b)-1)),g=T(f,u.b),x=u.K,u=u.w+(d>>u.b)*g;d<p;){for(_=x,B=u,C=new R,k=y+v,S=y+f;y<k;)q(_[B++],C),Jn(C,m,y,h,A,c),y+=h,c+=h;y<S&&(q(_[B++],C),Jn(C,m,y,b,A,c),y+=b,c+=b),++d&w||(u+=g)}break;case 3:if(f==A&&h==c&&0<u.b){for(y=A,f=m=c+(p-d)*m-(v=(p-d)*T(u.Ea,u.b)),h=A,w=c,g=[],v=(b=v)-1;0<=v;--v)g[v]=h[w+v];for(v=b-1;0<=v;--v)y[f+v]=g[v];qn(u,d,p,A,m,A,c)}else qn(u,d,p,f,h,A,c)}c=i,A=o}A!=o&&r(i,o,c,A,s)}function xe(e,n){var r=e.V,o=e.Ba+e.c*e.C,i=n-e.C;if(t(n<=e.l.o),t(16>=i),0<i){var a=e.l,s=e.Ta,l=e.Ua,c=a.width;if(be(e,i,r,o),i=l=[l],t((r=e.C)<(o=n)),t(a.v<a.va),o>a.o&&(o=a.o),r<a.j){var A=a.j-r;r=a.j,i[0]+=A*c}if(r>=o?r=0:(i[0]+=4*a.v,a.ka=r-a.j,a.U=a.va-a.v,a.T=o-r,r=1),r){if(l=l[0],11>(r=e.ca).S){var u=r.f.RGBA,d=(o=r.S,i=a.U,a=a.T,A=u.eb,u.A),p=a;for(u=u.fb+e.Ma*u.A;0<p--;){var f=s,h=l,m=i,g=A,y=u;switch(o){case Pr:Zn(f,h,m,g,y);break;case Qr:er(f,h,m,g,y);break;case Hr:er(f,h,m,g,y),xr(g,y,0,m,1,0);break;case Tr:rr(f,h,m,g,y);break;case Dr:te(f,h,m,g,y,1);break;case zr:te(f,h,m,g,y,1),xr(g,y,0,m,1,0);break;case Or:te(f,h,m,g,y,0);break;case Kr:te(f,h,m,g,y,0),xr(g,y,1,m,1,0);break;case Rr:tr(f,h,m,g,y);break;case $r:tr(f,h,m,g,y),_r(g,y,m,1,0);break;case Mr:nr(f,h,m,g,y);break;default:t(0)}l+=c,u+=d}e.Ma+=a}else alert("todo:EmitRescaledRowsYUVA");t(e.Ma<=r.height)}}e.C=n,t(e.C<=e.i)}function _e(e){var t;if(0<e.ua)return 0;for(t=0;t<e.Wb;++t){var n=e.Ya[t].G,r=e.Ya[t].H;if(0<n[1][r[1]+0].g||0<n[2][r[2]+0].g||0<n[3][r[3]+0].g)return 0}return 1}function Be(e,n,r,o,i,a){if(0!=e.Z){var s=e.qd,l=e.rd;for(t(null!=mo[e.Z]);n<r;++n)mo[e.Z](s,l,o,i,o,i,a),s=o,l=i,i+=a;e.qd=s,e.rd=l}}function Ce(e,n){var r=e.l.ma,o=0==r.Z||1==r.Z?e.l.j:e.C;if(o=e.C<o?o:e.C,t(n<=e.l.o),n>o){var i=e.l.width,a=r.ca,s=r.tb+i*o,l=e.V,c=e.Ba+e.c*o,A=e.gc;t(1==e.ab),t(3==A[0].hc),Gn(A[0],o,n,l,c,a,s),Be(r,o,n,a,s,i)}e.C=e.Ma=n}function ke(e,n,r,o,i,a,s){var l=e.$/o,c=e.$%o,A=e.m,u=e.s,d=r+e.$,p=d;i=r+o*i;var f=r+o*a,h=280+u.ua,m=e.Pb?l:16777216,g=0<u.ua?u.Wa:null,y=u.wc,w=d<f?ve(u,c,l):null;t(e.C<a),t(f<=i);var v=!1;e:for(;;){for(;v||d<f;){var b=0;if(l>=m){var k=d-r;t((m=e).Pb),m.wd=m.m,m.xd=k,0<m.s.ua&&I(m.s.Wa,m.s.vb),m=l+Zr}if(c&y||(w=ve(u,c,l)),t(null!=w),w.Qb&&(n[d]=w.qb,v=!0),!v)if(C(A),w.jc){b=A,k=n;var S=d,j=w.pd[x(b)&Dn-1];t(w.jc),256>j.g?(B(b,b.u+j.g),k[S]=j.value,b=0):(B(b,b.u+j.g-256),t(256<=j.value),b=j.value),0==b&&(v=!0)}else b=ye(w.G[0],w.H[0],A);if(A.h)break;if(v||256>b){if(!v)if(w.nd)n[d]=(w.qb|b<<8)>>>0;else{if(C(A),v=ye(w.G[1],w.H[1],A),C(A),k=ye(w.G[2],w.H[2],A),S=ye(w.G[3],w.H[3],A),A.h)break;n[d]=(S<<24|v<<16|b<<8|k)>>>0}if(v=!1,++d,++c>=o&&(c=0,++l,null!=s&&l<=a&&!(l%16)&&s(e,l),null!=g))for(;p<d;)b=n[p++],g.X[(506832829*b&4294967295)>>>g.Mb]=b}else if(280>b){if(b=me(b-256,A),k=ye(w.G[4],w.H[4],A),C(A),k=ge(o,k=me(k,A)),A.h)break;if(d-r<k||i-d<b)break e;for(S=0;S<b;++S)n[d+S]=n[d+S-k];for(d+=b,c+=b;c>=o;)c-=o,++l,null!=s&&l<=a&&!(l%16)&&s(e,l);if(t(d<=i),c&y&&(w=ve(u,c,l)),null!=g)for(;p<d;)b=n[p++],g.X[(506832829*b&4294967295)>>>g.Mb]=b}else{if(!(b<h))break e;for(v=b-280,t(null!=g);p<d;)b=n[p++],g.X[(506832829*b&4294967295)>>>g.Mb]=b;b=d,t(!(v>>>(k=g).Xa)),n[b]=k.X[v],v=!0}v||t(A.h==_(A))}if(e.Pb&&A.h&&d<i)t(e.m.h),e.a=5,e.m=e.wd,e.$=e.xd,0<e.s.ua&&I(e.s.vb,e.s.Wa);else{if(A.h)break e;null!=s&&s(e,l>a?a:l),e.a=0,e.$=d-r}return 1}return e.a=3,0}function Se(e){t(null!=e),e.vc=null,e.yc=null,e.Ya=null;var n=e.Wa;null!=n&&(n.X=null),e.vb=null,t(null!=e)}function je(){var t=new an;return null==t?null:(t.a=0,t.xb=ho,ne("Predictor","VP8LPredictors"),ne("Predictor","VP8LPredictors_C"),ne("PredictorAdd","VP8LPredictorsAdd"),ne("PredictorAdd","VP8LPredictorsAdd_C"),Vn=V,Jn=W,Zn=Y,er=X,tr=J,nr=Z,rr=ee,e.VP8LMapColor32b=Wn,e.VP8LMapColor8b=Yn,t)}function Ee(e,n,r,s,l){var c=1,d=[e],f=[n],h=s.m,m=s.s,g=null,y=0;e:for(;;){if(r)for(;c&&w(h,1);){var v=d,b=f,_=s,k=1,S=_.m,j=_.gc[_.ab],E=w(S,2);if(_.Oc&1<<E)c=0;else{switch(_.Oc|=1<<E,j.hc=E,j.Ea=v[0],j.nc=b[0],j.K=[null],++_.ab,t(4>=_.ab),E){case 0:case 1:j.b=w(S,3)+2,k=Ee(T(j.Ea,j.b),T(j.nc,j.b),0,_,j.K),j.K=j.K[0];break;case 3:var F,N=w(S,8)+1,U=16<N?0:4<N?1:2<N?2:3;if(v[0]=T(j.Ea,U),j.b=U,F=k=Ee(N,1,0,_,j.K)){var I,P=N,Q=j,O=1<<(8>>Q.b),R=i(O);if(null==R)F=0;else{var M=Q.K[0],H=Q.w;for(R[0]=Q.K[0][0],I=1;I<1*P;++I)R[I]=D(M[H+I],R[I-1]);for(;I<4*O;++I)R[I]=0;Q.K[0]=null,Q.K[0]=R,F=1}}k=F;break;case 2:break;default:t(0)}c=k}}if(d=d[0],f=f[0],c&&w(h,1)&&!(c=1<=(y=w(h,4))&&11>=y)){s.a=3;break e}var z;if(z=c)t:{var K,$,V,q=s,W=d,G=f,Y=y,X=r,J=q.m,Z=q.s,ee=[null],te=1,ne=0,re=Jr[Y];n:for(;;){if(X&&w(J,1)){var oe=w(J,3)+2,ie=T(W,oe),ae=T(G,oe),se=ie*ae;if(!Ee(ie,ae,0,q,ee))break n;for(ee=ee[0],Z.xc=oe,K=0;K<se;++K){var le=ee[K]>>8&65535;ee[K]=le,le>=te&&(te=le+1)}}if(J.h)break n;for($=0;5>$;++$){var ce=Wr[$];!$&&0<Y&&(ce+=1<<Y),ne<ce&&(ne=ce)}var Ae=a(te*re,u),ue=te,de=a(ue,p);if(null==de)var pe=null;else t(65536>=ue),pe=de;var fe=i(ne);if(null==pe||null==fe||null==Ae){q.a=1;break n}var he=Ae;for(K=V=0;K<te;++K){var me=pe[K],ge=me.G,ye=me.H,ve=0,be=1,xe=0;for($=0;5>$;++$){ce=Wr[$],ge[$]=he,ye[$]=V,!$&&0<Y&&(ce+=1<<Y);r:{var _e,Be=ce,Ce=q,je=fe,Fe=he,Ne=V,Ue=0,Le=Ce.m,Ie=w(Le,1);if(o(je,0,0,Be),Ie){var Pe=w(Le,1)+1,Qe=w(Le,1),Te=w(Le,0==Qe?1:8);je[Te]=1,2==Pe&&(je[Te=w(Le,8)]=1);var De=1}else{var Oe=i(19),Re=w(Le,4)+4;if(19<Re){Ce.a=3;var Me=0;break r}for(_e=0;_e<Re;++_e)Oe[Yr[_e]]=w(Le,3);var He=void 0,ze=void 0,Ke=Ce,$e=Oe,Ve=Be,qe=je,We=0,Ge=Ke.m,Ye=8,Xe=a(128,u);o:for(;A(Xe,0,7,$e,19);){if(w(Ge,1)){var Je=2+2*w(Ge,3);if((He=2+w(Ge,Je))>Ve)break o}else He=Ve;for(ze=0;ze<Ve&&He--;){C(Ge);var Ze=Xe[0+(127&x(Ge))];B(Ge,Ge.u+Ze.g);var et=Ze.value;if(16>et)qe[ze++]=et,0!=et&&(Ye=et);else{var tt=16==et,nt=et-16,rt=qr[nt],ot=w(Ge,Vr[nt])+rt;if(ze+ot>Ve)break o;for(var it=tt?Ye:0;0<ot--;)qe[ze++]=it}}We=1;break o}We||(Ke.a=3),De=We}(De=De&&!Le.h)&&(Ue=A(Fe,Ne,8,je,Be)),De&&0!=Ue?Me=Ue:(Ce.a=3,Me=0)}if(0==Me)break n;if(be&&1==Gr[$]&&(be=0==he[V].g),ve+=he[V].g,V+=Me,3>=$){var at,st=fe[0];for(at=1;at<ce;++at)fe[at]>st&&(st=fe[at]);xe+=st}}if(me.nd=be,me.Qb=0,be&&(me.qb=(ge[3][ye[3]+0].value<<24|ge[1][ye[1]+0].value<<16|ge[2][ye[2]+0].value)>>>0,0==ve&&256>ge[0][ye[0]+0].value&&(me.Qb=1,me.qb+=ge[0][ye[0]+0].value<<8)),me.jc=!me.Qb&&6>xe,me.jc){var lt,ct=me;for(lt=0;lt<Dn;++lt){var At=lt,ut=ct.pd[At],dt=ct.G[0][ct.H[0]+At];256<=dt.value?(ut.g=dt.g+256,ut.value=dt.value):(ut.g=0,ut.value=0,At>>=we(dt,8,ut),At>>=we(ct.G[1][ct.H[1]+At],16,ut),At>>=we(ct.G[2][ct.H[2]+At],0,ut),we(ct.G[3][ct.H[3]+At],24,ut))}}}Z.vc=ee,Z.Wb=te,Z.Ya=pe,Z.yc=Ae,z=1;break t}z=0}if(!(c=z)){s.a=3;break e}if(0<y){if(m.ua=1<<y,!L(m.Wa,y)){s.a=1,c=0;break e}}else m.ua=0;var pt=s,ft=d,ht=f,mt=pt.s,gt=mt.xc;if(pt.c=ft,pt.i=ht,mt.md=T(ft,gt),mt.wc=0==gt?-1:(1<<gt)-1,r){s.xb=fo;break e}if(null==(g=i(d*f))){s.a=1,c=0;break e}c=(c=ke(s,g,0,d,f,f,null))&&!h.h;break e}return c?(null!=l?l[0]=g:(t(null==g),t(r)),s.$=0,r||Se(m)):Se(m),c}function Fe(e,n){var r=e.c*e.i,o=r+n+16*n;return t(e.c<=n),e.V=i(o),null==e.V?(e.Ta=null,e.Ua=0,e.a=1,0):(e.Ta=e.V,e.Ua=e.Ba+r+n,1)}function Ne(e,n){var r=e.C,o=n-r,i=e.V,a=e.Ba+e.c*r;for(t(n<=e.l.o);0<o;){var s=16<o?16:o,l=e.l.ma,c=e.l.width,A=c*s,u=l.ca,d=l.tb+c*r,p=e.Ta,f=e.Ua;be(e,s,i,a),Cr(p,f,u,d,A),Be(l,r,r+s,u,d,c),o-=s,i+=s*e.c,r+=s}t(r==n),e.C=e.Ma=n}function Ue(){this.ub=this.yd=this.td=this.Rb=0}function Le(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Ie(){this.Fb=this.Bb=this.Cb=0,this.Zb=i(4),this.Lb=i(4)}function Pe(){this.Yb=function(){var e=[];return function e(t,n,r){for(var o=r[n],i=0;i<o&&(t.push(r.length>n+1?[]:0),!(r.length<n+1));i++)e(t[i],n+1,r)}(e,0,[3,11]),e}()}function Qe(){this.jb=i(3),this.Wc=s([4,8],Pe),this.Xc=s([4,17],Pe)}function Te(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new i(4),this.od=new i(4)}function De(){this.ld=this.La=this.dd=this.tc=0}function Oe(){this.Na=this.la=0}function Re(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Me(){this.ad=i(384),this.Za=0,this.Ob=i(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function He(){this.uc=this.M=this.Nb=0,this.wa=Array(new De),this.Y=0,this.ya=Array(new Me),this.aa=0,this.l=new Ve}function ze(){this.y=i(16),this.f=i(8),this.ea=i(8)}function Ke(){this.cb=this.a=0,this.sc="",this.m=new v,this.Od=new Ue,this.Kc=new Le,this.ed=new Te,this.Qa=new Ie,this.Ic=this.$c=this.Aa=0,this.D=new He,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=a(8,v),this.ia=0,this.pb=a(4,Re),this.Pa=new Qe,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new ze),this.Hd=0,this.rb=Array(new Oe),this.sb=0,this.wa=Array(new De),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new Me),this.L=this.aa=0,this.gd=s([4,2],De),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function $e(e,t){return 0>e?0:e>t?t:e}function Ve(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function qe(){var e=new Ke;return null!=e&&(e.a=0,e.sc="OK",e.cb=0,e.Xb=0,no||(no=Xe)),e}function We(e,t,n){return 0==e.a&&(e.a=t,e.sc=n,e.cb=0),0}function Ge(e,t,n){return 3<=n&&157==e[t+0]&&1==e[t+1]&&42==e[t+2]}function Ye(e,n){if(null==e)return 0;if(e.a=0,e.sc="OK",null==n)return We(e,2,"null VP8Io passed to VP8GetHeaders()");var r=n.data,i=n.w,a=n.ha;if(4>a)return We(e,7,"Truncated header.");var s=r[i+0]|r[i+1]<<8|r[i+2]<<16,l=e.Od;if(l.Rb=!(1&s),l.td=s>>1&7,l.yd=s>>4&1,l.ub=s>>5,3<l.td)return We(e,3,"Incorrect keyframe parameters.");if(!l.yd)return We(e,4,"Frame not displayable.");i+=3,a-=3;var c=e.Kc;if(l.Rb){if(7>a)return We(e,7,"cannot parse picture header");if(!Ge(r,i,a))return We(e,3,"Bad code word");c.c=16383&(r[i+4]<<8|r[i+3]),c.Td=r[i+4]>>6,c.i=16383&(r[i+6]<<8|r[i+5]),c.Ud=r[i+6]>>6,i+=7,a-=7,e.za=c.c+15>>4,e.Ub=c.i+15>>4,n.width=c.c,n.height=c.i,n.Da=0,n.j=0,n.v=0,n.va=n.width,n.o=n.height,n.da=0,n.ib=n.width,n.hb=n.height,n.U=n.width,n.T=n.height,o((s=e.Pa).jb,0,255,s.jb.length),t(null!=(s=e.Qa)),s.Cb=0,s.Bb=0,s.Fb=1,o(s.Zb,0,0,s.Zb.length),o(s.Lb,0,0,s.Lb)}if(l.ub>a)return We(e,7,"bad partition length");f(s=e.m,r,i,l.ub),i+=l.ub,a-=l.ub,l.Rb&&(c.Ld=S(s),c.Kd=S(s)),c=e.Qa;var A,u=e.Pa;if(t(null!=s),t(null!=c),c.Cb=S(s),c.Cb){if(c.Bb=S(s),S(s)){for(c.Fb=S(s),A=0;4>A;++A)c.Zb[A]=S(s)?m(s,7):0;for(A=0;4>A;++A)c.Lb[A]=S(s)?m(s,6):0}if(c.Bb)for(A=0;3>A;++A)u.jb[A]=S(s)?h(s,8):255}else c.Bb=0;if(s.Ka)return We(e,3,"cannot parse segment header");if((c=e.ed).zd=S(s),c.Tb=h(s,6),c.wb=h(s,3),c.Pc=S(s),c.Pc&&S(s)){for(u=0;4>u;++u)S(s)&&(c.vd[u]=m(s,6));for(u=0;4>u;++u)S(s)&&(c.od[u]=m(s,6))}if(e.L=0==c.Tb?0:c.zd?1:2,s.Ka)return We(e,3,"cannot parse filter header");var d=a;if(a=A=i,i=A+d,c=d,e.Xb=(1<<h(e.m,2))-1,d<3*(u=e.Xb))r=7;else{for(A+=3*u,c-=3*u,d=0;d<u;++d){var p=r[a+0]|r[a+1]<<8|r[a+2]<<16;p>c&&(p=c),f(e.Jc[+d],r,A,p),A+=p,c-=p,a+=3}f(e.Jc[+u],r,A,c),r=A<i?0:5}if(0!=r)return We(e,r,"cannot parse partitions");for(r=h(A=e.m,7),a=S(A)?m(A,4):0,i=S(A)?m(A,4):0,c=S(A)?m(A,4):0,u=S(A)?m(A,4):0,A=S(A)?m(A,4):0,d=e.Qa,p=0;4>p;++p){if(d.Cb){var g=d.Zb[p];d.Fb||(g+=r)}else{if(0<p){e.pb[p]=e.pb[0];continue}g=r}var y=e.pb[p];y.Sc[0]=eo[$e(g+a,127)],y.Sc[1]=to[$e(g+0,127)],y.Eb[0]=2*eo[$e(g+i,127)],y.Eb[1]=101581*to[$e(g+c,127)]>>16,8>y.Eb[1]&&(y.Eb[1]=8),y.Qc[0]=eo[$e(g+u,117)],y.Qc[1]=to[$e(g+A,127)],y.lc=g+A}if(!l.Rb)return We(e,4,"Not a key frame.");for(S(s),l=e.Pa,r=0;4>r;++r){for(a=0;8>a;++a)for(i=0;3>i;++i)for(c=0;11>c;++c)u=j(s,lo[r][a][i][c])?h(s,8):ao[r][a][i][c],l.Wc[r][a].Yb[i][c]=u;for(a=0;17>a;++a)l.Xc[r][a]=l.Wc[r][co[a]]}return e.kc=S(s),e.kc&&(e.Bd=h(s,8)),e.cb=1}function Xe(e,t,n,r,o,i,a){var s=t[o].Yb[n];for(n=0;16>o;++o){if(!j(e,s[n+0]))return o;for(;!j(e,s[n+1]);)if(s=t[++o].Yb[0],n=0,16==o)return 16;var l=t[o+1].Yb;if(j(e,s[n+2])){var c=e,A=0;if(j(c,(d=s)[(u=n)+3]))if(j(c,d[u+6])){for(s=0,u=2*(A=j(c,d[u+8]))+(d=j(c,d[u+9+A])),A=0,d=ro[u];d[s];++s)A+=A+j(c,d[s]);A+=3+(8<<u)}else j(c,d[u+7])?(A=7+2*j(c,165),A+=j(c,145)):A=5+j(c,159);else A=j(c,d[u+4])?3+j(c,d[u+5]):2;s=l[2]}else A=1,s=l[1];l=a+oo[o],0>(c=e).b&&k(c);var u,d=c.b,p=(u=c.Ca>>1)-(c.I>>d)>>31;--c.b,c.Ca+=p,c.Ca|=1,c.I-=(u+1&p)<<d,i[l]=((A^p)-p)*r[(0<o)+0]}return 16}function Je(e){var t=e.rb[e.sb-1];t.la=0,t.Na=0,o(e.zc,0,0,e.zc.length),e.ja=0}function Ze(e,t,n,r,o){o=e[t+n+32*r]+(o>>3),e[t+n+32*r]=-256&o?0>o?0:255:o}function et(e,t,n,r,o,i){Ze(e,t,0,n,r+o),Ze(e,t,1,n,r+i),Ze(e,t,2,n,r-i),Ze(e,t,3,n,r-o)}function tt(e){return(20091*e>>16)+e}function nt(e,t,n,r){var o,a=0,s=i(16);for(o=0;4>o;++o){var l=e[t+0]+e[t+8],c=e[t+0]-e[t+8],A=(35468*e[t+4]>>16)-tt(e[t+12]),u=tt(e[t+4])+(35468*e[t+12]>>16);s[a+0]=l+u,s[a+1]=c+A,s[a+2]=c-A,s[a+3]=l-u,a+=4,t++}for(o=a=0;4>o;++o)l=(e=s[a+0]+4)+s[a+8],c=e-s[a+8],A=(35468*s[a+4]>>16)-tt(s[a+12]),Ze(n,r,0,0,l+(u=tt(s[a+4])+(35468*s[a+12]>>16))),Ze(n,r,1,0,c+A),Ze(n,r,2,0,c-A),Ze(n,r,3,0,l-u),a++,r+=32}function rt(e,t,n,r){var o=e[t+0]+4,i=35468*e[t+4]>>16,a=tt(e[t+4]),s=35468*e[t+1]>>16;et(n,r,0,o+a,e=tt(e[t+1]),s),et(n,r,1,o+i,e,s),et(n,r,2,o-i,e,s),et(n,r,3,o-a,e,s)}function ot(e,t,n,r,o){nt(e,t,n,r),o&&nt(e,t+16,n,r+4)}function it(e,t,n,r){ir(e,t+0,n,r,1),ir(e,t+32,n,r+128,1)}function at(e,t,n,r){var o;for(e=e[t+0]+4,o=0;4>o;++o)for(t=0;4>t;++t)Ze(n,r,t,o,e)}function st(e,t,n,r){e[t+0]&&lr(e,t+0,n,r),e[t+16]&&lr(e,t+16,n,r+4),e[t+32]&&lr(e,t+32,n,r+128),e[t+48]&&lr(e,t+48,n,r+128+4)}function lt(e,t,n,r){var o,a=i(16);for(o=0;4>o;++o){var s=e[t+0+o]+e[t+12+o],l=e[t+4+o]+e[t+8+o],c=e[t+4+o]-e[t+8+o],A=e[t+0+o]-e[t+12+o];a[0+o]=s+l,a[8+o]=s-l,a[4+o]=A+c,a[12+o]=A-c}for(o=0;4>o;++o)s=(e=a[0+4*o]+3)+a[3+4*o],l=a[1+4*o]+a[2+4*o],c=a[1+4*o]-a[2+4*o],A=e-a[3+4*o],n[r+0]=s+l>>3,n[r+16]=A+c>>3,n[r+32]=s-l>>3,n[r+48]=A-c>>3,r+=64}function ct(e,t,n){var r,o=t-32,i=Lr,a=255-e[o-1];for(r=0;r<n;++r){var s,l=i,c=a+e[t-1];for(s=0;s<n;++s)e[t+s]=l[c+e[o+s]];t+=32}}function At(e,t){ct(e,t,4)}function ut(e,t){ct(e,t,8)}function dt(e,t){ct(e,t,16)}function pt(e,t){var n;for(n=0;16>n;++n)r(e,t+32*n,e,t-32,16)}function ft(e,t){var n;for(n=16;0<n;--n)o(e,t,e[t-1],16),t+=32}function ht(e,t,n){var r;for(r=0;16>r;++r)o(t,n+32*r,e,16)}function mt(e,t){var n,r=16;for(n=0;16>n;++n)r+=e[t-1+32*n]+e[t+n-32];ht(r>>5,e,t)}function gt(e,t){var n,r=8;for(n=0;16>n;++n)r+=e[t-1+32*n];ht(r>>4,e,t)}function yt(e,t){var n,r=8;for(n=0;16>n;++n)r+=e[t+n-32];ht(r>>4,e,t)}function wt(e,t){ht(128,e,t)}function vt(e,t,n){return e+2*t+n+2>>2}function bt(e,t){var n,o=t-32;for(o=new Uint8Array([vt(e[o-1],e[o+0],e[o+1]),vt(e[o+0],e[o+1],e[o+2]),vt(e[o+1],e[o+2],e[o+3]),vt(e[o+2],e[o+3],e[o+4])]),n=0;4>n;++n)r(e,t+32*n,o,0,o.length)}function xt(e,t){var n=e[t-1],r=e[t-1+32],o=e[t-1+64],i=e[t-1+96];E(e,t+0,16843009*vt(e[t-1-32],n,r)),E(e,t+32,16843009*vt(n,r,o)),E(e,t+64,16843009*vt(r,o,i)),E(e,t+96,16843009*vt(o,i,i))}function _t(e,t){var n,r=4;for(n=0;4>n;++n)r+=e[t+n-32]+e[t-1+32*n];for(r>>=3,n=0;4>n;++n)o(e,t+32*n,r,4)}function Bt(e,t){var n=e[t-1+0],r=e[t-1+32],o=e[t-1+64],i=e[t-1-32],a=e[t+0-32],s=e[t+1-32],l=e[t+2-32],c=e[t+3-32];e[t+0+96]=vt(r,o,e[t-1+96]),e[t+1+96]=e[t+0+64]=vt(n,r,o),e[t+2+96]=e[t+1+64]=e[t+0+32]=vt(i,n,r),e[t+3+96]=e[t+2+64]=e[t+1+32]=e[t+0+0]=vt(a,i,n),e[t+3+64]=e[t+2+32]=e[t+1+0]=vt(s,a,i),e[t+3+32]=e[t+2+0]=vt(l,s,a),e[t+3+0]=vt(c,l,s)}function Ct(e,t){var n=e[t+1-32],r=e[t+2-32],o=e[t+3-32],i=e[t+4-32],a=e[t+5-32],s=e[t+6-32],l=e[t+7-32];e[t+0+0]=vt(e[t+0-32],n,r),e[t+1+0]=e[t+0+32]=vt(n,r,o),e[t+2+0]=e[t+1+32]=e[t+0+64]=vt(r,o,i),e[t+3+0]=e[t+2+32]=e[t+1+64]=e[t+0+96]=vt(o,i,a),e[t+3+32]=e[t+2+64]=e[t+1+96]=vt(i,a,s),e[t+3+64]=e[t+2+96]=vt(a,s,l),e[t+3+96]=vt(s,l,l)}function kt(e,t){var n=e[t-1+0],r=e[t-1+32],o=e[t-1+64],i=e[t-1-32],a=e[t+0-32],s=e[t+1-32],l=e[t+2-32],c=e[t+3-32];e[t+0+0]=e[t+1+64]=i+a+1>>1,e[t+1+0]=e[t+2+64]=a+s+1>>1,e[t+2+0]=e[t+3+64]=s+l+1>>1,e[t+3+0]=l+c+1>>1,e[t+0+96]=vt(o,r,n),e[t+0+64]=vt(r,n,i),e[t+0+32]=e[t+1+96]=vt(n,i,a),e[t+1+32]=e[t+2+96]=vt(i,a,s),e[t+2+32]=e[t+3+96]=vt(a,s,l),e[t+3+32]=vt(s,l,c)}function St(e,t){var n=e[t+0-32],r=e[t+1-32],o=e[t+2-32],i=e[t+3-32],a=e[t+4-32],s=e[t+5-32],l=e[t+6-32],c=e[t+7-32];e[t+0+0]=n+r+1>>1,e[t+1+0]=e[t+0+64]=r+o+1>>1,e[t+2+0]=e[t+1+64]=o+i+1>>1,e[t+3+0]=e[t+2+64]=i+a+1>>1,e[t+0+32]=vt(n,r,o),e[t+1+32]=e[t+0+96]=vt(r,o,i),e[t+2+32]=e[t+1+96]=vt(o,i,a),e[t+3+32]=e[t+2+96]=vt(i,a,s),e[t+3+64]=vt(a,s,l),e[t+3+96]=vt(s,l,c)}function jt(e,t){var n=e[t-1+0],r=e[t-1+32],o=e[t-1+64],i=e[t-1+96];e[t+0+0]=n+r+1>>1,e[t+2+0]=e[t+0+32]=r+o+1>>1,e[t+2+32]=e[t+0+64]=o+i+1>>1,e[t+1+0]=vt(n,r,o),e[t+3+0]=e[t+1+32]=vt(r,o,i),e[t+3+32]=e[t+1+64]=vt(o,i,i),e[t+3+64]=e[t+2+64]=e[t+0+96]=e[t+1+96]=e[t+2+96]=e[t+3+96]=i}function Et(e,t){var n=e[t-1+0],r=e[t-1+32],o=e[t-1+64],i=e[t-1+96],a=e[t-1-32],s=e[t+0-32],l=e[t+1-32],c=e[t+2-32];e[t+0+0]=e[t+2+32]=n+a+1>>1,e[t+0+32]=e[t+2+64]=r+n+1>>1,e[t+0+64]=e[t+2+96]=o+r+1>>1,e[t+0+96]=i+o+1>>1,e[t+3+0]=vt(s,l,c),e[t+2+0]=vt(a,s,l),e[t+1+0]=e[t+3+32]=vt(n,a,s),e[t+1+32]=e[t+3+64]=vt(r,n,a),e[t+1+64]=e[t+3+96]=vt(o,r,n),e[t+1+96]=vt(i,o,r)}function Ft(e,t){var n;for(n=0;8>n;++n)r(e,t+32*n,e,t-32,8)}function Nt(e,t){var n;for(n=0;8>n;++n)o(e,t,e[t-1],8),t+=32}function Ut(e,t,n){var r;for(r=0;8>r;++r)o(t,n+32*r,e,8)}function Lt(e,t){var n,r=8;for(n=0;8>n;++n)r+=e[t+n-32]+e[t-1+32*n];Ut(r>>4,e,t)}function It(e,t){var n,r=4;for(n=0;8>n;++n)r+=e[t+n-32];Ut(r>>3,e,t)}function Pt(e,t){var n,r=4;for(n=0;8>n;++n)r+=e[t-1+32*n];Ut(r>>3,e,t)}function Qt(e,t){Ut(128,e,t)}function Tt(e,t,n){var r=e[t-n],o=e[t+0],i=3*(o-r)+Nr[1020+e[t-2*n]-e[t+n]],a=Ur[112+(i+4>>3)];e[t-n]=Lr[255+r+Ur[112+(i+3>>3)]],e[t+0]=Lr[255+o-a]}function Dt(e,t,n,r){var o=e[t+0],i=e[t+n];return Ir[255+e[t-2*n]-e[t-n]]>r||Ir[255+i-o]>r}function Ot(e,t,n,r){return 4*Ir[255+e[t-n]-e[t+0]]+Ir[255+e[t-2*n]-e[t+n]]<=r}function Rt(e,t,n,r,o){var i=e[t-3*n],a=e[t-2*n],s=e[t-n],l=e[t+0],c=e[t+n],A=e[t+2*n],u=e[t+3*n];return 4*Ir[255+s-l]+Ir[255+a-c]>r?0:Ir[255+e[t-4*n]-i]<=o&&Ir[255+i-a]<=o&&Ir[255+a-s]<=o&&Ir[255+u-A]<=o&&Ir[255+A-c]<=o&&Ir[255+c-l]<=o}function Mt(e,t,n,r){var o=2*r+1;for(r=0;16>r;++r)Ot(e,t+r,n,o)&&Tt(e,t+r,n)}function Ht(e,t,n,r){var o=2*r+1;for(r=0;16>r;++r)Ot(e,t+r*n,1,o)&&Tt(e,t+r*n,1)}function zt(e,t,n,r){var o;for(o=3;0<o;--o)Mt(e,t+=4*n,n,r)}function Kt(e,t,n,r){var o;for(o=3;0<o;--o)Ht(e,t+=4,n,r)}function $t(e,t,n,r,o,i,a,s){for(i=2*i+1;0<o--;){if(Rt(e,t,n,i,a))if(Dt(e,t,n,s))Tt(e,t,n);else{var l=e,c=t,A=n,u=l[c-2*A],d=l[c-A],p=l[c+0],f=l[c+A],h=l[c+2*A],m=27*(y=Nr[1020+3*(p-d)+Nr[1020+u-f]])+63>>7,g=18*y+63>>7,y=9*y+63>>7;l[c-3*A]=Lr[255+l[c-3*A]+y],l[c-2*A]=Lr[255+u+g],l[c-A]=Lr[255+d+m],l[c+0]=Lr[255+p-m],l[c+A]=Lr[255+f-g],l[c+2*A]=Lr[255+h-y]}t+=r}}function Vt(e,t,n,r,o,i,a,s){for(i=2*i+1;0<o--;){if(Rt(e,t,n,i,a))if(Dt(e,t,n,s))Tt(e,t,n);else{var l=e,c=t,A=n,u=l[c-A],d=l[c+0],p=l[c+A],f=Ur[112+(4+(h=3*(d-u))>>3)],h=Ur[112+(h+3>>3)],m=f+1>>1;l[c-2*A]=Lr[255+l[c-2*A]+m],l[c-A]=Lr[255+u+h],l[c+0]=Lr[255+d-f],l[c+A]=Lr[255+p-m]}t+=r}}function qt(e,t,n,r,o,i){$t(e,t,n,1,16,r,o,i)}function Wt(e,t,n,r,o,i){$t(e,t,1,n,16,r,o,i)}function Gt(e,t,n,r,o,i){var a;for(a=3;0<a;--a)Vt(e,t+=4*n,n,1,16,r,o,i)}function Yt(e,t,n,r,o,i){var a;for(a=3;0<a;--a)Vt(e,t+=4,1,n,16,r,o,i)}function Xt(e,t,n,r,o,i,a,s){$t(e,t,o,1,8,i,a,s),$t(n,r,o,1,8,i,a,s)}function Jt(e,t,n,r,o,i,a,s){$t(e,t,1,o,8,i,a,s),$t(n,r,1,o,8,i,a,s)}function Zt(e,t,n,r,o,i,a,s){Vt(e,t+4*o,o,1,8,i,a,s),Vt(n,r+4*o,o,1,8,i,a,s)}function en(e,t,n,r,o,i,a,s){Vt(e,t+4,1,o,8,i,a,s),Vt(n,r+4,1,o,8,i,a,s)}function tn(){this.ba=new ae,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new le,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function nn(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function rn(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function on(){this.ua=0,this.Wa=new P,this.vb=new P,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new p,this.yc=new u}function an(){this.xb=this.a=0,this.l=new Ve,this.ca=new ae,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new b,this.Pb=0,this.wd=new b,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new on,this.ab=0,this.gc=a(4,rn),this.Oc=0}function sn(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Ve,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function ln(e,t,n,r,o,i,a){for(e=null==e?0:e[t+0],t=0;t<a;++t)o[i+t]=e+n[r+t]&255,e=o[i+t]}function cn(e,t,n,r,o,i,a){var s;if(null==e)ln(null,null,n,r,o,i,a);else for(s=0;s<a;++s)o[i+s]=e[t+s]+n[r+s]&255}function An(e,t,n,r,o,i,a){if(null==e)ln(null,null,n,r,o,i,a);else{var s,l=e[t+0],c=l,A=l;for(s=0;s<a;++s)c=A+(l=e[t+s])-c,A=n[r+s]+(-256&c?0>c?0:255:c)&255,c=l,o[i+s]=A}}function un(e,n,o,a){var s=n.width,l=n.o;if(t(null!=e&&null!=n),0>o||0>=a||o+a>l)return null;if(!e.Cc){if(null==e.ga){var c;if(e.ga=new sn,(c=null==e.ga)||(c=n.width*n.o,t(0==e.Gb.length),e.Gb=i(c),e.Uc=0,null==e.Gb?c=0:(e.mb=e.Gb,e.nb=e.Uc,e.rc=null,c=1),c=!c),!c){c=e.ga;var A=e.Fa,u=e.P,d=e.qc,p=e.mb,f=e.nb,h=u+1,m=d-1,y=c.l;if(t(null!=A&&null!=p&&null!=n),mo[0]=null,mo[1]=ln,mo[2]=cn,mo[3]=An,c.ca=p,c.tb=f,c.c=n.width,c.i=n.height,t(0<c.c&&0<c.i),1>=d)n=0;else if(c.$a=3&A[u+0],c.Z=A[u+0]>>2&3,c.Lc=A[u+0]>>4&3,u=A[u+0]>>6&3,0>c.$a||1<c.$a||4<=c.Z||1<c.Lc||u)n=0;else if(y.put=pe,y.ac=de,y.bc=fe,y.ma=c,y.width=n.width,y.height=n.height,y.Da=n.Da,y.v=n.v,y.va=n.va,y.j=n.j,y.o=n.o,c.$a)e:{t(1==c.$a),n=je();t:for(;;){if(null==n){n=0;break e}if(t(null!=c),c.mc=n,n.c=c.c,n.i=c.i,n.l=c.l,n.l.ma=c,n.l.width=c.c,n.l.height=c.i,n.a=0,g(n.m,A,h,m),!Ee(c.c,c.i,1,n,null))break t;if(1==n.ab&&3==n.gc[0].hc&&_e(n.s)?(c.ic=1,A=n.c*n.i,n.Ta=null,n.Ua=0,n.V=i(A),n.Ba=0,null==n.V?(n.a=1,n=0):n=1):(c.ic=0,n=Fe(n,c.c)),!n)break t;n=1;break e}c.mc=null,n=0}else n=m>=c.c*c.i;c=!n}if(c)return null;1!=e.ga.Lc?e.Ga=0:a=l-o}t(null!=e.ga),t(o+a<=l);e:{if(n=(A=e.ga).c,l=A.l.o,0==A.$a){if(h=e.rc,m=e.Vc,y=e.Fa,u=e.P+1+o*n,d=e.mb,p=e.nb+o*n,t(u<=e.P+e.qc),0!=A.Z)for(t(null!=mo[A.Z]),c=0;c<a;++c)mo[A.Z](h,m,y,u,d,p,n),h=d,m=p,p+=n,u+=n;else for(c=0;c<a;++c)r(d,p,y,u,n),h=d,m=p,p+=n,u+=n;e.rc=h,e.Vc=m}else{if(t(null!=A.mc),n=o+a,t(null!=(c=A.mc)),t(n<=c.i),c.C>=n)n=1;else if(A.ic||mn(),A.ic){A=c.V,h=c.Ba,m=c.c;var w=c.i,v=(y=1,u=c.$/m,d=c.$%m,p=c.m,f=c.s,c.$),b=m*w,x=m*n,B=f.wc,k=v<x?ve(f,d,u):null;t(v<=b),t(n<=w),t(_e(f));t:for(;;){for(;!p.h&&v<x;){if(d&B||(k=ve(f,d,u)),t(null!=k),C(p),256>(w=ye(k.G[0],k.H[0],p)))A[h+v]=w,++v,++d>=m&&(d=0,++u<=n&&!(u%16)&&Ce(c,u));else{if(!(280>w)){y=0;break t}w=me(w-256,p);var S,j=ye(k.G[4],k.H[4],p);if(C(p),!(v>=(j=ge(m,j=me(j,p)))&&b-v>=w)){y=0;break t}for(S=0;S<w;++S)A[h+v+S]=A[h+v+S-j];for(v+=w,d+=w;d>=m;)d-=m,++u<=n&&!(u%16)&&Ce(c,u);v<x&&d&B&&(k=ve(f,d,u))}t(p.h==_(p))}Ce(c,u>n?n:u);break t}!y||p.h&&v<b?(y=0,c.a=p.h?5:3):c.$=v,n=y}else n=ke(c,c.V,c.Ba,c.c,c.i,n,Ne);if(!n){a=0;break e}}o+a>=l&&(e.Cc=1),a=1}if(!a)return null;if(e.Cc&&(null!=(a=e.ga)&&(a.mc=null),e.ga=null,0<e.Ga))return alert("todo:WebPDequantizeLevels"),null}return e.nb+o*s}function dn(e,t,n,r,o,i){for(;0<o--;){var a,s=e,l=t+(n?1:0),c=e,A=t+(n?0:3);for(a=0;a<r;++a){var u=c[A+4*a];255!=u&&(u*=32897,s[l+4*a+0]=s[l+4*a+0]*u>>23,s[l+4*a+1]=s[l+4*a+1]*u>>23,s[l+4*a+2]=s[l+4*a+2]*u>>23)}t+=i}}function pn(e,t,n,r,o){for(;0<r--;){var i;for(i=0;i<n;++i){var a=e[t+2*i+0],s=15&(c=e[t+2*i+1]),l=4369*s,c=(240&c|c>>4)*l>>16;e[t+2*i+0]=(240&a|a>>4)*l>>16&240|(15&a|a<<4)*l>>16>>4&15,e[t+2*i+1]=240&c|s}t+=o}}function fn(e,t,n,r,o,i,a,s){var l,c,A=255;for(c=0;c<o;++c){for(l=0;l<r;++l){var u=e[t+l];i[a+4*l]=u,A&=u}t+=n,a+=s}return 255!=A}function hn(e,t,n,r,o){var i;for(i=0;i<o;++i)n[r+i]=e[t+i]>>8}function mn(){xr=dn,_r=pn,Br=fn,Cr=hn}function gn(n,r,o){e[n]=function(e,n,i,a,s,l,c,A,u,d,p,f,h,m,g,y,w){var v,b=w-1>>1,x=s[l+0]|c[A+0]<<16,_=u[d+0]|p[f+0]<<16;t(null!=e);var B=3*x+_+131074>>2;for(r(e[n+0],255&B,B>>16,h,m),null!=i&&(B=3*_+x+131074>>2,r(i[a+0],255&B,B>>16,g,y)),v=1;v<=b;++v){var C=s[l+v]|c[A+v]<<16,k=u[d+v]|p[f+v]<<16,S=x+C+_+k+524296,j=S+2*(C+_)>>3;B=j+x>>1,x=(S=S+2*(x+k)>>3)+C>>1,r(e[n+2*v-1],255&B,B>>16,h,m+(2*v-1)*o),r(e[n+2*v-0],255&x,x>>16,h,m+(2*v-0)*o),null!=i&&(B=S+_>>1,x=j+k>>1,r(i[a+2*v-1],255&B,B>>16,g,y+(2*v-1)*o),r(i[a+2*v+0],255&x,x>>16,g,y+(2*v+0)*o)),x=C,_=k}1&w||(B=3*x+_+131074>>2,r(e[n+w-1],255&B,B>>16,h,m+(w-1)*o),null!=i&&(B=3*_+x+131074>>2,r(i[a+w-1],255&B,B>>16,g,y+(w-1)*o)))}}function yn(){go[Pr]=yo,go[Qr]=vo,go[Tr]=wo,go[Dr]=bo,go[Or]=xo,go[Rr]=_o,go[Mr]=Bo,go[Hr]=vo,go[zr]=bo,go[Kr]=xo,go[$r]=_o}function wn(e){return e&~Fo?0>e?0:255:e>>Eo}function vn(e,t){return wn((19077*e>>8)+(26149*t>>8)-14234)}function bn(e,t,n){return wn((19077*e>>8)-(6419*t>>8)-(13320*n>>8)+8708)}function xn(e,t){return wn((19077*e>>8)+(33050*t>>8)-17685)}function _n(e,t,n,r,o){r[o+0]=vn(e,n),r[o+1]=bn(e,t,n),r[o+2]=xn(e,t)}function Bn(e,t,n,r,o){r[o+0]=xn(e,t),r[o+1]=bn(e,t,n),r[o+2]=vn(e,n)}function Cn(e,t,n,r,o){var i=bn(e,t,n);t=i<<3&224|xn(e,t)>>3,r[o+0]=248&vn(e,n)|i>>5,r[o+1]=t}function kn(e,t,n,r,o){var i=240&xn(e,t)|15;r[o+0]=240&vn(e,n)|bn(e,t,n)>>4,r[o+1]=i}function Sn(e,t,n,r,o){r[o+0]=255,_n(e,t,n,r,o+1)}function jn(e,t,n,r,o){Bn(e,t,n,r,o),r[o+3]=255}function En(e,t,n,r,o){_n(e,t,n,r,o),r[o+3]=255}function Fn(t,n,r){e[t]=function(e,t,o,i,a,s,l,c,A){for(var u=c+(-2&A)*r;c!=u;)n(e[t+0],o[i+0],a[s+0],l,c),n(e[t+1],o[i+0],a[s+0],l,c+r),t+=2,++i,++s,c+=2*r;1&A&&n(e[t+0],o[i+0],a[s+0],l,c)}}function Nn(e,t,n){return 0==n?0==e?0==t?6:5:0==t?4:0:n}function Un(e,t,n,r,o){switch(e>>>30){case 3:ir(t,n,r,o,0);break;case 2:ar(t,n,r,o);break;case 1:lr(t,n,r,o)}}function Ln(e,t){var n,i,a=t.M,s=t.Nb,l=e.oc,c=e.pc+40,A=e.oc,u=e.pc+584,d=e.oc,p=e.pc+600;for(n=0;16>n;++n)l[c+32*n-1]=129;for(n=0;8>n;++n)A[u+32*n-1]=129,d[p+32*n-1]=129;for(0<a?l[c-1-32]=A[u-1-32]=d[p-1-32]=129:(o(l,c-32-1,127,21),o(A,u-32-1,127,9),o(d,p-32-1,127,9)),i=0;i<e.za;++i){var f=t.ya[t.aa+i];if(0<i){for(n=-1;16>n;++n)r(l,c+32*n-4,l,c+32*n+12,4);for(n=-1;8>n;++n)r(A,u+32*n-4,A,u+32*n+4,4),r(d,p+32*n-4,d,p+32*n+4,4)}var h=e.Gd,m=e.Hd+i,g=f.ad,y=f.Hc;if(0<a&&(r(l,c-32,h[m].y,0,16),r(A,u-32,h[m].f,0,8),r(d,p-32,h[m].ea,0,8)),f.Za){var w=l,v=c-32+16;for(0<a&&(i>=e.za-1?o(w,v,h[m].y[15],4):r(w,v,h[m+1].y,0,4)),n=0;4>n;n++)w[v+128+n]=w[v+256+n]=w[v+384+n]=w[v+0+n];for(n=0;16>n;++n,y<<=2)w=l,v=c+Do[n],uo[f.Ob[n]](w,v),Un(y,g,16*+n,w,v)}else if(w=Nn(i,a,f.Ob[0]),Ao[w](l,c),0!=y)for(n=0;16>n;++n,y<<=2)Un(y,g,16*+n,l,c+Do[n]);for(n=f.Gc,w=Nn(i,a,f.Dd),po[w](A,u),po[w](d,p),y=g,w=A,v=u,255&(f=0|n)&&(170&f?sr(y,256,w,v):cr(y,256,w,v)),f=d,y=p,255&(n>>=8)&&(170&n?sr(g,320,f,y):cr(g,320,f,y)),a<e.Ub-1&&(r(h[m].y,0,l,c+480,16),r(h[m].f,0,A,u+224,8),r(h[m].ea,0,d,p+224,8)),n=8*s*e.B,h=e.sa,m=e.ta+16*i+16*s*e.R,g=e.qa,f=e.ra+8*i+n,y=e.Ha,w=e.Ia+8*i+n,n=0;16>n;++n)r(h,m+n*e.R,l,c+32*n,16);for(n=0;8>n;++n)r(g,f+n*e.B,A,u+32*n,8),r(y,w+n*e.B,d,p+32*n,8)}}function In(e,r,o,i,a,s,l,c,A){var u=[0],d=[0],p=0,f=null!=A?A.kd:0,h=null!=A?A:new nn;if(null==e||12>o)return 7;h.data=e,h.w=r,h.ha=o,r=[r],o=[o],h.gb=[h.gb];e:{var m=r,y=o,w=h.gb;if(t(null!=e),t(null!=y),t(null!=w),w[0]=0,12<=y[0]&&!n(e,m[0],"RIFF")){if(n(e,m[0]+8,"WEBP")){w=3;break e}var v=U(e,m[0]+4);if(12>v||4294967286<v){w=3;break e}if(f&&v>y[0]-8){w=7;break e}w[0]=v,m[0]+=12,y[0]-=12}w=0}if(0!=w)return w;for(v=0<h.gb[0],o=o[0];;){e:{var x=e;y=r,w=o;var _=u,B=d,C=m=[0];if((j=p=[p])[0]=0,8>w[0])w=7;else{if(!n(x,y[0],"VP8X")){if(10!=U(x,y[0]+4)){w=3;break e}if(18>w[0]){w=7;break e}var k=U(x,y[0]+8),S=1+N(x,y[0]+12);if(2147483648<=S*(x=1+N(x,y[0]+15))){w=3;break e}null!=C&&(C[0]=k),null!=_&&(_[0]=S),null!=B&&(B[0]=x),y[0]+=18,w[0]-=18,j[0]=1}w=0}}if(p=p[0],m=m[0],0!=w)return w;if(y=!!(2&m),!v&&p)return 3;if(null!=s&&(s[0]=!!(16&m)),null!=l&&(l[0]=y),null!=c&&(c[0]=0),l=u[0],m=d[0],p&&y&&null==A){w=0;break}if(4>o){w=7;break}if(v&&p||!v&&!p&&!n(e,r[0],"ALPH")){o=[o],h.na=[h.na],h.P=[h.P],h.Sa=[h.Sa];e:{k=e,w=r,v=o;var j=h.gb;_=h.na,B=h.P,C=h.Sa,S=22,t(null!=k),t(null!=v),x=w[0];var E=v[0];for(t(null!=_),t(null!=C),_[0]=null,B[0]=null,C[0]=0;;){if(w[0]=x,v[0]=E,8>E){w=7;break e}var F=U(k,x+4);if(4294967286<F){w=3;break e}var L=8+F+1&-2;if(S+=L,0<j&&S>j){w=3;break e}if(!n(k,x,"VP8 ")||!n(k,x,"VP8L")){w=0;break e}if(E[0]<L){w=7;break e}n(k,x,"ALPH")||(_[0]=k,B[0]=x+8,C[0]=F),x+=L,E-=L}}if(o=o[0],h.na=h.na[0],h.P=h.P[0],h.Sa=h.Sa[0],0!=w)break}o=[o],h.Ja=[h.Ja],h.xa=[h.xa];e:if(j=e,w=r,v=o,_=h.gb[0],B=h.Ja,C=h.xa,k=w[0],x=!n(j,k,"VP8 "),S=!n(j,k,"VP8L"),t(null!=j),t(null!=v),t(null!=B),t(null!=C),8>v[0])w=7;else{if(x||S){if(j=U(j,k+4),12<=_&&j>_-12){w=3;break e}if(f&&j>v[0]-8){w=7;break e}B[0]=j,w[0]+=8,v[0]-=8,C[0]=S}else C[0]=5<=v[0]&&47==j[k+0]&&!(j[k+4]>>5),B[0]=v[0];w=0}if(o=o[0],h.Ja=h.Ja[0],h.xa=h.xa[0],r=r[0],0!=w)break;if(4294967286<h.Ja)return 3;if(null==c||y||(c[0]=h.xa?2:1),l=[l],m=[m],h.xa){if(5>o){w=7;break}c=l,f=m,y=s,null==e||5>o?e=0:5<=o&&47==e[r+0]&&!(e[r+4]>>5)?(v=[0],j=[0],_=[0],g(B=new b,e,r,o),he(B,v,j,_)?(null!=c&&(c[0]=v[0]),null!=f&&(f[0]=j[0]),null!=y&&(y[0]=_[0]),e=1):e=0):e=0}else{if(10>o){w=7;break}c=m,null==e||10>o||!Ge(e,r+3,o-3)?e=0:(f=e[r+0]|e[r+1]<<8|e[r+2]<<16,y=16383&(e[r+7]<<8|e[r+6]),e=16383&(e[r+9]<<8|e[r+8]),1&f||3<(f>>1&7)||!(f>>4&1)||f>>5>=h.Ja||!y||!e?e=0:(l&&(l[0]=y),c&&(c[0]=e),e=1))}if(!e)return 3;if(l=l[0],m=m[0],p&&(u[0]!=l||d[0]!=m))return 3;null!=A&&(A[0]=h,A.offset=r-A.w,t(4294967286>r-A.w),t(A.offset==A.ha-o));break}return 0==w||7==w&&p&&null==A?(null!=s&&(s[0]|=null!=h.na&&0<h.na.length),null!=i&&(i[0]=l),null!=a&&(a[0]=m),0):w}function Pn(e,t,n){var r=t.width,o=t.height,i=0,a=0,s=r,l=o;if(t.Da=null!=e&&0<e.Da,t.Da&&(s=e.cd,l=e.bd,i=e.v,a=e.j,11>n||(i&=-2,a&=-2),0>i||0>a||0>=s||0>=l||i+s>r||a+l>o))return 0;if(t.v=i,t.j=a,t.va=i+s,t.o=a+l,t.U=s,t.T=l,t.da=null!=e&&0<e.da,t.da){if(!Q(s,l,n=[e.ib],i=[e.hb]))return 0;t.ib=n[0],t.hb=i[0]}return t.ob=null!=e&&e.ob,t.Kb=null==e||!e.Sd,t.da&&(t.ob=t.ib<3*r/4&&t.hb<3*o/4,t.Kb=0),1}function Qn(e){if(null==e)return 2;if(11>e.S){var t=e.f.RGBA;t.fb+=(e.height-1)*t.A,t.A=-t.A}else t=e.f.kb,e=e.height,t.O+=(e-1)*t.fa,t.fa=-t.fa,t.N+=(e-1>>1)*t.Ab,t.Ab=-t.Ab,t.W+=(e-1>>1)*t.Db,t.Db=-t.Db,null!=t.F&&(t.J+=(e-1)*t.lb,t.lb=-t.lb);return 0}function Tn(e,t,n,r){if(null==r||0>=e||0>=t)return 2;if(null!=n){if(n.Da){var o=n.cd,a=n.bd,s=-2&n.v,l=-2&n.j;if(0>s||0>l||0>=o||0>=a||s+o>e||l+a>t)return 2;e=o,t=a}if(n.da){if(!Q(e,t,o=[n.ib],a=[n.hb]))return 2;e=o[0],t=a[0]}}r.width=e,r.height=t;e:{var c=r.width,A=r.height;if(e=r.S,0>=c||0>=A||!(e>=Pr&&13>e))e=2;else{if(0>=r.Rd&&null==r.sd){s=a=o=t=0;var u=(l=c*Mo[e])*A;if(11>e||(a=(A+1)/2*(t=(c+1)/2),12==e&&(s=(o=c)*A)),null==(A=i(u+2*a+s))){e=1;break e}r.sd=A,11>e?((c=r.f.RGBA).eb=A,c.fb=0,c.A=l,c.size=u):((c=r.f.kb).y=A,c.O=0,c.fa=l,c.Fd=u,c.f=A,c.N=0+u,c.Ab=t,c.Cd=a,c.ea=A,c.W=0+u+a,c.Db=t,c.Ed=a,12==e&&(c.F=A,c.J=0+u+2*a),c.Tc=s,c.lb=o)}if(t=1,o=r.S,a=r.width,s=r.height,o>=Pr&&13>o)if(11>o)e=r.f.RGBA,t&=(l=Math.abs(e.A))*(s-1)+a<=e.size,t&=l>=a*Mo[o],t&=null!=e.eb;else{e=r.f.kb,l=(a+1)/2,u=(s+1)/2,c=Math.abs(e.fa),A=Math.abs(e.Ab);var d=Math.abs(e.Db),p=Math.abs(e.lb),f=p*(s-1)+a;t&=c*(s-1)+a<=e.Fd,t&=A*(u-1)+l<=e.Cd,t=(t&=d*(u-1)+l<=e.Ed)&c>=a&A>=l&d>=l,t&=null!=e.y,t&=null!=e.f,t&=null!=e.ea,12==o&&(t&=p>=a,t&=f<=e.Tc,t&=null!=e.F)}else t=0;e=t?0:2}}return 0!=e||null!=n&&n.fd&&(e=Qn(r)),e}var Dn=64,On=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Rn=24,Mn=32,Hn=8,zn=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];O("Predictor0","PredictorAdd0"),e.Predictor0=function(){return 4278190080},e.Predictor1=function(e){return e},e.Predictor2=function(e,t,n){return t[n+0]},e.Predictor3=function(e,t,n){return t[n+1]},e.Predictor4=function(e,t,n){return t[n-1]},e.Predictor5=function(e,t,n){return M(M(e,t[n+1]),t[n+0])},e.Predictor6=function(e,t,n){return M(e,t[n-1])},e.Predictor7=function(e,t,n){return M(e,t[n+0])},e.Predictor8=function(e,t,n){return M(t[n-1],t[n+0])},e.Predictor9=function(e,t,n){return M(t[n+0],t[n+1])},e.Predictor10=function(e,t,n){return M(M(e,t[n-1]),M(t[n+0],t[n+1]))},e.Predictor11=function(e,t,n){var r=t[n+0];return 0>=K(r>>24&255,e>>24&255,(t=t[n-1])>>24&255)+K(r>>16&255,e>>16&255,t>>16&255)+K(r>>8&255,e>>8&255,t>>8&255)+K(255&r,255&e,255&t)?r:e},e.Predictor12=function(e,t,n){var r=t[n+0];return(H((e>>24&255)+(r>>24&255)-((t=t[n-1])>>24&255))<<24|H((e>>16&255)+(r>>16&255)-(t>>16&255))<<16|H((e>>8&255)+(r>>8&255)-(t>>8&255))<<8|H((255&e)+(255&r)-(255&t)))>>>0},e.Predictor13=function(e,t,n){var r=t[n-1];return(z((e=M(e,t[n+0]))>>24&255,r>>24&255)<<24|z(e>>16&255,r>>16&255)<<16|z(e>>8&255,r>>8&255)<<8|z(255&e,255&r))>>>0};var Kn=e.PredictorAdd0;e.PredictorAdd1=$,O("Predictor2","PredictorAdd2"),O("Predictor3","PredictorAdd3"),O("Predictor4","PredictorAdd4"),O("Predictor5","PredictorAdd5"),O("Predictor6","PredictorAdd6"),O("Predictor7","PredictorAdd7"),O("Predictor8","PredictorAdd8"),O("Predictor9","PredictorAdd9"),O("Predictor10","PredictorAdd10"),O("Predictor11","PredictorAdd11"),O("Predictor12","PredictorAdd12"),O("Predictor13","PredictorAdd13");var $n=e.PredictorAdd2;G("ColorIndexInverseTransform","MapARGB","32b",function(e){return e>>8&255},function(e){return e}),G("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(e){return e},function(e){return e>>8&255});var Vn,qn=e.ColorIndexInverseTransform,Wn=e.MapARGB,Gn=e.VP8LColorIndexInverseTransformAlpha,Yn=e.MapAlpha,Xn=e.VP8LPredictorsAdd=[];Xn.length=16,(e.VP8LPredictors=[]).length=16,(e.VP8LPredictorsAdd_C=[]).length=16,(e.VP8LPredictors_C=[]).length=16;var Jn,Zn,er,tr,nr,rr,or,ir,ar,sr,lr,cr,Ar,ur,dr,pr,fr,hr,mr,gr,yr,wr,vr,br,xr,_r,Br,Cr,kr=i(511),Sr=i(2041),jr=i(225),Er=i(767),Fr=0,Nr=Sr,Ur=jr,Lr=Er,Ir=kr,Pr=0,Qr=1,Tr=2,Dr=3,Or=4,Rr=5,Mr=6,Hr=7,zr=8,Kr=9,$r=10,Vr=[2,3,7],qr=[3,3,11],Wr=[280,256,256,256,40],Gr=[0,1,1,1,0],Yr=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Xr=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,3
vendor: 4,386 bytes, line 2
26,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Jr=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Zr=8,eo=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],to=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],no=null,ro=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],oo=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],io=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],ao=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,25
25,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],so=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,
21,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],lo=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,25
vendor: 4,580 bytes, line 2
25,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],co=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Ao=[],uo=[],po=[],fo=1,ho=2,mo=[],go=[];gn("UpsampleRgbLinePair",_n,3),gn("UpsampleBgrLinePair",Bn,3),gn("UpsampleRgbaLinePair",En,4),gn("UpsampleBgraLinePair",jn,4),gn("UpsampleArgbLinePair",Sn,4),gn("UpsampleRgba4444LinePair",kn,2),gn("UpsampleRgb565LinePair",Cn,2);var yo=e.UpsampleRgbLinePair,wo=e.UpsampleBgrLinePair,vo=e.UpsampleRgbaLinePair,bo=e.UpsampleBgraLinePair,xo=e.UpsampleArgbLinePair,_o=e.UpsampleRgba4444LinePair,Bo=e.UpsampleRgb565LinePair,Co=16,ko=1<<Co-1,So=-227,jo=482,Eo=6,Fo=(256<<Eo)-1,No=0,Uo=i(256),Lo=i(256),Io=i(256),Po=i(256),Qo=i(jo-So),To=i(jo-So);Fn("YuvToRgbRow",_n,3),Fn("YuvToBgrRow",Bn,3),Fn("YuvToRgbaRow",En,4),Fn("YuvToBgraRow",jn,4),Fn("YuvToArgbRow",Sn,4),Fn("YuvToRgba4444Row",kn,2),Fn("YuvToRgb565Row",Cn,2);var Do=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Oo=[0,2,8],Ro=[8,7,6,4,4,2,2,2,1,1,1,1];this.WebPDecodeRGBA=function(e,n,s,l,c){var A=Qr,u=new tn,d=new ae;u.ba=d,d.S=A,d.width=[d.width],d.height=[d.height];var p=d.width,f=d.height,h=new se;if(null==h||null==e)var m=2;else t(null!=h),m=In(e,n,s,h.width,h.height,h.Pd,h.Qd,h.format,null);if(0!=m?p=0:(null!=p&&(p[0]=h.width[0]),null!=f&&(f[0]=h.height[0]),p=1),p){d.width=d.width[0],d.height=d.height[0],null!=l&&(l[0]=d.width),null!=c&&(c[0]=d.height);e:{if(l=new Ve,(c=new nn).data=e,c.w=n,c.ha=s,c.kd=1,n=[0],t(null!=c),(0==(e=In(c.data,c.w,c.ha,null,null,null,n,null,c))||7==e)&&n[0]&&(e=4),0==(n=e)){if(t(null!=u),l.data=c.data,l.w=c.w+c.offset,l.ha=c.ha-c.offset,l.put=pe,l.ac=de,l.bc=fe,l.ma=u,c.xa){if(null==(e=je())){u=1;break e}if(function(e,n){var r=[0],o=[0],i=[0];t:for(;;){if(null==e)return 0;if(null==n)return e.a=2,0;if(e.l=n,e.a=0,g(e.m,n.data,n.w,n.ha),!he(e.m,r,o,i)){e.a=3;break t}if(e.xb=ho,n.width=r[0],n.height=o[0],!Ee(r[0],o[0],1,e,null))break t;return 1}return t(0!=e.a),0}(e,l)){if(l=0==(n=Tn(l.width,l.height,u.Oa,u.ba))){t:{l=e;n:for(;;){if(null==l){l=0;break t}if(t(null!=l.s.yc),t(null!=l.s.Ya),t(0<l.s.Wb),t(null!=(s=l.l)),t(null!=(c=s.ma)),0!=l.xb){if(l.ca=c.ba,l.tb=c.tb,t(null!=l.ca),!Pn(c.Oa,s,Dr)){l.a=2;break n}if(!Fe(l,s.width))break n;if(s.da)break n;if((s.da||re(l.ca.S))&&mn(),11>l.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=l.ca.f.kb.F&&mn()),l.Pb&&0<l.s.ua&&null==l.s.vb.X&&!L(l.s.vb,l.s.Wa.Xa)){l.a=1;break n}l.xb=0}if(!ke(l,l.V,l.Ba,l.c,l.i,s.o,xe))break n;c.Dc=l.Ma,l=1;break t}t(0!=l.a),l=0}l=!l}l&&(n=e.a)}else n=e.a}else{if(null==(e=new qe)){u=1;break e}if(e.Fa=c.na,e.P=c.P,e.qc=c.Sa,Ye(e,l)){if(0==(n=Tn(l.width,l.height,u.Oa,u.ba))){if(e.Aa=0,s=u.Oa,t(null!=(c=e)),null!=s){if(0<(p=0>(p=s.Md)?0:100<p?255:255*p/100)){for(f=h=0;4>f;++f)12>(m=c.pb[f]).lc&&(m.ia=p*Ro[0>m.lc?0:m.lc]>>3),h|=m.ia;h&&(alert("todo:VP8InitRandom"),c.ia=1)}c.Ga=s.Id,100<c.Ga?c.Ga=100:0>c.Ga&&(c.Ga=0)}(function(e,n){if(null==e)return 0;if(null==n)return We(e,2,"NULL VP8Io parameter in VP8Decode().");if(!e.cb&&!Ye(e,n))return 0;if(t(e.cb),null==n.ac||n.ac(n)){n.ob&&(e.L=0);var s=Oo[e.L];if(2==e.L?(e.yb=0,e.zb=0):(e.yb=n.v-s>>4,e.zb=n.j-s>>4,0>e.yb&&(e.yb=0),0>e.zb&&(e.zb=0)),e.Va=n.o+15+s>>4,e.Hb=n.va+15+s>>4,e.Hb>e.za&&(e.Hb=e.za),e.Va>e.Ub&&(e.Va=e.Ub),0<e.L){var l=e.ed;for(s=0;4>s;++s){var c;if(e.Qa.Cb){var A=e.Qa.Lb[s];e.Qa.Fb||(A+=l.Tb)}else A=l.Tb;for(c=0;1>=c;++c){var u=e.gd[s][c],d=A;if(l.Pc&&(d+=l.vd[0],c&&(d+=l.od[0])),0<(d=0>d?0:63<d?63:d)){var p=d;0<l.wb&&(p=4<l.wb?p>>2:p>>1)>9-l.wb&&(p=9-l.wb),1>p&&(p=1),u.dd=p,u.tc=2*d+p,u.ld=40<=d?2:15<=d?1:0}else u.tc=0;u.La=c}}}s=0}else We(e,6,"Frame setup failed"),s=e.a;if(s=0==s){if(s){e.$c=0,0<e.Aa||(e.Ic=1);t:{s=e.Ic,l=4*(p=e.za);var f=32*p,h=p+1,m=0<e.L?p*(0<e.Aa?2:1):0,g=(2==e.Aa?2:1)*p;if((u=l+832+(c=3*(16*s+Oo[e.L])/2*f)+(A=null!=e.Fa&&0<e.Fa.length?e.Kc.c*e.Kc.i:0))!=u)s=0;else{if(u>
vendor: 2,150 bytes, line 2
2e.Vb){if(e.Vb=0,e.Ec=i(u),e.Fc=0,null==e.Ec){s=We(e,1,"no memory during frame initialization.");break t}e.Vb=u}u=e.Ec,d=e.Fc,e.Ac=u,e.Bc=d,d+=l,e.Gd=a(f,ze),e.Hd=0,e.rb=a(h+1,Oe),e.sb=1,e.wa=m?a(m,De):null,e.Y=0,e.D.Nb=0,e.D.wa=e.wa,e.D.Y=e.Y,0<e.Aa&&(e.D.Y+=p),t(!0),e.oc=u,e.pc=d,d+=832,e.ya=a(g,Me),e.aa=0,e.D.ya=e.ya,e.D.aa=e.aa,2==e.Aa&&(e.D.aa+=p),e.R=16*p,e.B=8*p,p=(f=Oo[e.L])*e.R,f=f/2*e.B,e.sa=u,e.ta=d+p,e.qa=e.sa,e.ra=e.ta+16*s*e.R+f,e.Ha=e.qa,e.Ia=e.ra+8*s*e.B+f,e.$c=0,d+=c,e.mb=A?u:null,e.nb=A?d:null,t(d+A<=e.Fc+e.Vb),Je(e),o(e.Ac,e.Bc,0,l),s=1}}if(s){if(n.ka=0,n.y=e.sa,n.O=e.ta,n.f=e.qa,n.N=e.ra,n.ea=e.Ha,n.Vd=e.Ia,n.fa=e.R,n.Rc=e.B,n.F=null,n.J=0,!Fr){for(s=-255;255>=s;++s)kr[255+s]=0>s?-s:s;for(s=-1020;1020>=s;++s)Sr[1020+s]=-128>s?-128:127<s?127:s;for(s=-112;112>=s;++s)jr[112+s]=-16>s?-16:15<s?15:s;for(s=-255;510>=s;++s)Er[255+s]=0>s?0:255<s?255:s;Fr=1}or=lt,ir=ot,sr=it,lr=at,cr=st,ar=rt,Ar=qt,ur=Wt,dr=Xt,pr=Jt,fr=Gt,hr=Yt,mr=Zt,gr=en,yr=Mt,wr=Ht,vr=zt,br=Kt,uo[0]=_t,uo[1]=At,uo[2]=bt,uo[3]=xt,uo[4]=Bt,uo[5]=kt,uo[6]=Ct,uo[7]=St,uo[8]=Et,uo[9]=jt,Ao[0]=mt,Ao[1]=dt,Ao[2]=pt,Ao[3]=ft,Ao[4]=gt,Ao[5]=yt,Ao[6]=wt,po[0]=Lt,po[1]=ut,po[2]=Ft,po[3]=Nt,po[4]=Pt,po[5]=It,po[6]=Qt,s=1}else s=0}s&&(s=function(e,n){for(e.M=0;e.M<e.Va;++e.M){var a,s=e.Jc[e.M&e.Xb],l=e.m,c=e;for(a=0;a<c.za;++a){var A=l,u=c,d=u.Ac,p=u.Bc+4*a,f=u.zc,h=u.ya[u.aa+a];if(u.Qa.Bb?h.$b=j(A,u.Pa.jb[0])?2+j(A,u.Pa.jb[2]):j(A,u.Pa.jb[1]):h.$b=0,u.kc&&(h.Ad=j(A,u.Bd)),h.Za=!j(A,145)+0,h.Za){var m=h.Ob,g=0;for(u=0;4>u;++u){var y,w=f[0+u];for(y=0;4>y;++y){w=so[d[p+y]][w];for(var v=io[j(A,w[0])];0<v;)v=io[2*v+j(A,w[v])];w=-v,d[p+y]=w}r(m,g,d,p,4),g+=4,f[0+u]=w}}else w=j(A,156)?j(A,128)?1:3:j(A,163)?2:0,h.Ob[0]=w,o(d,p,w,4),o(f,0,w,4);h.Dd=j(A,142)?j(A,114)?j(A,183)?1:3:2:0}if(c.m.Ka)return We(e,7,"Premature end-of-partition0 encountered.");for(;e.ja<e.za;++e.ja){if(c=s,A=(l=e).rb[l.sb-1],d=l.rb[l.sb+l.ja],a=l.ya[l.aa+l.ja],p=l.kc?a.Ad:0)A.la=d.la=0,a.Za||(A.Na=d.Na=0),a.Hc=0,a.Gc=0,a.ia=0;else{var b,x;if(A=d,d=c,p=l.Pa.Xc,f=l.ya[l.aa+l.ja],h=l.pb[f.$b],u=f.ad,m=0,g=l.rb[l.sb-1],w=y=0,o(u,m,0,384),f.Za)var _=0,B=p[3];else{v=i(16);var C=A.Na+g.Na;
vendor: 5,265 bytes, line 2
2if(C=no(d,p[1],C,h.Eb,0,v,0),A.Na=g.Na=(0<C)+0,1<C)or(v,0,u,m);else{var k=v[0]+3>>3;for(v=0;256>v;v+=16)u[m+v]=k}_=1,B=p[0]}var S=15&A.la,E=15&g.la;for(v=0;4>v;++v){var F=1&E;for(k=x=0;4>k;++k)S=S>>1|(F=(C=no(d,B,C=F+(1&S),h.Sc,_,u,m))>_)<<7,x=x<<2|(3<C?3:1<C?2:0!=u[m+0]),m+=16;S>>=4,E=E>>1|F<<7,y=(y<<8|x)>>>0}for(B=S,_=E>>4,b=0;4>b;b+=2){for(x=0,S=A.la>>4+b,E=g.la>>4+b,v=0;2>v;++v){for(F=1&E,k=0;2>k;++k)C=F+(1&S),S=S>>1|(F=0<(C=no(d,p[2],C,h.Qc,0,u,m)))<<3,x=x<<2|(3<C?3:1<C?2:0!=u[m+0]),m+=16;S>>=2,E=E>>1|F<<5}w|=x<<4*b,B|=S<<4<<b,_|=(240&E)<<b}A.la=B,g.la=_,f.Hc=y,f.Gc=w,f.ia=43690&w?0:h.ia,p=!(y|w)}if(0<l.L&&(l.wa[l.Y+l.ja]=l.gd[a.$b][a.Za],l.wa[l.Y+l.ja].La|=!p),c.Ka)return We(e,7,"Premature end-of-file encountered.")}if(Je(e),l=n,c=1,a=(s=e).D,A=0<s.L&&s.M>=s.zb&&s.M<=s.Va,0==s.Aa)t:{if(a.M=s.M,a.uc=A,Ln(s,a),c=1,a=(x=s.D).Nb,A=(w=Oo[s.L])*s.R,d=w/2*s.B,v=16*a*s.R,k=8*a*s.B,p=s.sa,f=s.ta-A+v,h=s.qa,u=s.ra-d+k,m=s.Ha,g=s.Ia-d+k,E=0==(S=x.M),y=S>=s.Va-1,2==s.Aa&&Ln(s,x),x.uc)for(F=(C=s).D.M,t(C.D.uc),x=C.yb;x<C.Hb;++x){_=x,B=F;var N=(U=(M=C).D).Nb;b=M.R;var U=U.wa[U.Y+_],L=M.sa,I=M.ta+16*N*b+16*_,P=U.dd,Q=U.tc;if(0!=Q)if(t(3<=Q),1==M.L)0<_&&wr(L,I,b,Q+4),U.La&&br(L,I,b,Q),0<B&&yr(L,I,b,Q+4),U.La&&vr(L,I,b,Q);else{var T=M.B,D=M.qa,O=M.ra+8*N*T+8*_,R=M.Ha,M=M.Ia+8*N*T+8*_;N=U.ld,0<_&&(ur(L,I,b,Q+4,P,N),pr(D,O,R,M,T,Q+4,P,N)),U.La&&(hr(L,I,b,Q,P,N),gr(D,O,R,M,T,Q,P,N)),0<B&&(Ar(L,I,b,Q+4,P,N),dr(D,O,R,M,T,Q+4,P,N)),U.La&&(fr(L,I,b,Q,P,N),mr(D,O,R,M,T,Q,P,N))}}if(s.ia&&alert("todo:DitherRow"),null!=l.put){if(x=16*S,S=16*(S+1),E?(l.y=s.sa,l.O=s.ta+v,l.f=s.qa,l.N=s.ra+k,l.ea=s.Ha,l.W=s.Ia+k):(x-=w,l.y=p,l.O=f,l.f=h,l.N=u,l.ea=m,l.W=g),y||(S-=w),S>l.o&&(S=l.o),l.F=null,l.J=null,null!=s.Fa&&0<s.Fa.length&&x<S&&(l.J=un(s,l,x,S-x),l.F=s.mb,null==l.F&&0==l.F.length)){c=We(s,3,"Could not decode alpha data.");break t}x<l.j&&(w=l.j-x,x=l.j,t(!(1&w)),l.O+=s.R*w,l.N+=s.B*(w>>1),l.W+=s.B*(w>>1),null!=l.F&&(l.J+=l.width*w)),x<S&&(l.O+=l.v,l.N+=l.v>>1,l.W+=l.v>>1,null!=l.F&&(l.J+=l.v),l.ka=x-l.j,l.U=l.va-l.v,l.T=S-x,c=l.put(l))}a+1!=s.Ic||y||(r(s.sa,s.ta-A,p,f+16*s.R,A),r(s.qa,s.ra-d,h,u+8*s.B,d),r(s.Ha,s.Ia-d,m,g+8*s.B,d))}if(!c)return We(e,6,"Output aborted.")}return 1}(e,n)),null!=n.bc&&n.bc(n),s&=1}return s?(e.cb=0,s):0})(e,l)||(n=e.a)}}else n=e.a}0==n&&null!=u.Oa&&u.Oa.fd&&(n=Qn(u.ba))}u=n}A=0!=u?null:11>A?d.f.RGBA.eb:d.f.kb.y}else A=null;return A};var Mo=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function c(e,t){for(var n="",r=0;r<4;r++)n+=String.fromCharCode(e[t++]);return n}function A(e,t){return e[t+0]|e[t+1]<<8}function u(e,t){return(e[t+0]|e[t+1]<<8|e[t+2]<<16)>>>0}function d(e,t){return(e[t+0]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}new l;var p=[0],f=[0],h=[],m=new l,g=e,y=function(e,t){var n={},r=0,o=!1,i=0,a=0;if(n.frames=[],!function(e,t){for(var n=0;n<4;n++)if(e[t+n]!="RIFF".charCodeAt(n))return!0;return!1}(e,t)){for(d(e,t+=4),t+=8;t<e.length;){var s=c(e,t),l=d(e,t+=4);t+=4;var p=l+(1&l);switch(s){case"VP8 ":case"VP8L":void 0===n.frames[r]&&(n.frames[r]={}),(m=n.frames[r]).src_off=o?a:t-8,m.src_size=i+l+8,r++,o&&(o=!1,i=0,a=0);break;case"VP8X":(m=n.header={}).feature_flags=e[t];var f=t+4;m.canvas_width=1+u(e,f),f+=3,m.canvas_height=1+u(e,f),f+=3;break;case"ALPH":o=!0,i=p+8,a=t-8;break;case"ANIM":(m=n.header).bgcolor=d(e,t),f=t+4,m.loop_count=A(e,f),f+=2;break;case"ANMF":var h,m;(m=n.frames[r]={}).offset_x=2*u(e,t),t+=3,m.offset_y=2*u(e,t),t+=3,m.width=1+u(e,t),t+=3,m.height=1+u(e,t),t+=3,m.duration=u(e,t),t+=3,h=e[t++],m.dispose=1&h,m.blend=h>>1&1}"ANMF"!=s&&(t+=p)}return n}}(g,0);y.response=g,y.rgbaoutput=!0,y.dataurl=!1;var w=y.header?y.header:null,v=y.frames?y.frames:null;if(w){w.loop_counter=w.loop_count,p=[w.canvas_height],f=[w.canvas_width];for(var b=0;b<v.length&&0!=v[b].blend;b++);}var x=v[0],_=m.WebPDecodeRGBA(g,x.src_off,x.src_size,f,p);x.rgba=_,x.imgwidth=f[0],x.imgheight=p[0];for(var B=0;B<f[0]*p[0]*4;B++)h[B]=_[B];return this.width=f,this.height=p,this.data=h,this}!function(e){var t,n,o,i,a,s,l,c,A,u=function(e){return e=e||{},this.isStrokeTransparent=e.isStrokeTransparent||!1,this.strokeOpacity=e.strokeOpacity||1,this.strokeStyle=e.strokeStyle||"#000000",this.fillStyle=e.fillStyle||"#000000",this.isFillTransparent=e.isFillTransparent||!1,this.fillOpacity=e.fillOpacity||1,this.font=e.font||"10px sans-serif",this.textBaseline=e.textBaseline||"alphabetic",this.textAlign=e.textAlign||"left",this.lineWidth=e.lineWidth||1,this.lineJoin=e.lineJoin||"miter",this.lineCap=e.lineCap||"butt",this.path=e.path||[],this.transform=void 0!==e.transform?e.transform.clone():new c,this.globalCompositeOperation=e.globalCompositeOperation||"normal",this.globalAlpha=e.globalAlpha||1,this.clip_path=e.clip_path||[],this.currentPoint=e.currentPoint||new s,this.miterLimit=e.miterLimit||10,this.lastPoint=e.lastPoint||new s,this.lineDashOffset=e.lineDashOffset||0,this.lineDash=e.lineDash||[],this.margin=e.margin||[0,0,0,0],this.prevPageLastElemOffset=e.prevPageLastElemOffset||0,this.ignoreClearRect="boolean"!=typeof e.ignoreClearRect||e.ignoreClearRect,this};e.events.push(["initialized",function(){this.context2d=new d(this),t=this.internal.f2,n=this.internal.getCoordinateString,o=this.internal.getVerticalCoordinateString,i=this.internal.getHorizontalCoordinate,a=this.internal.getVerticalCoordinate,
vendor: 8,897 bytes, line 2
2s=this.internal.Point,l=this.internal.Rectangle,c=this.internal.Matrix,A=new u}]);var d=function(e){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var t=e;Object.defineProperty(this,"pdf",{get:function(){return t}});var n=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return n},set:function(e){n=Boolean(e)}});var r=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return r},set:function(e){r=Boolean(e)}});var o=0;Object.defineProperty(this,"posX",{get:function(){return o},set:function(e){isNaN(e)||(o=e)}});var i=0;Object.defineProperty(this,"posY",{get:function(){return i},set:function(e){isNaN(e)||(i=e)}}),Object.defineProperty(this,"margin",{get:function(){return A.margin},set:function(e){var t;"number"==typeof e?t=[e,e,e,e]:((t=new Array(4))[0]=e[0],t[1]=e.length>=2?e[1]:t[0],t[2]=e.length>=3?e[2]:t[0],t[3]=e.length>=4?e[3]:t[1]),A.margin=t}});var a=!1;Object.defineProperty(this,"autoPaging",{get:function(){return a},set:function(e){a=e}});var s=0;Object.defineProperty(this,"lastBreak",{get:function(){return s},set:function(e){s=e}});var l=[];Object.defineProperty(this,"pageBreaks",{get:function(){return l},set:function(e){l=e}}),Object.defineProperty(this,"ctx",{get:function(){return A},set:function(e){e instanceof u&&(A=e)}}),Object.defineProperty(this,"path",{get:function(){return A.path},set:function(e){A.path=e}});var c=[];Object.defineProperty(this,"ctxStack",{get:function(){return c},set:function(e){c=e}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(e){var t;t=p(e),this.ctx.fillStyle=t.style,this.ctx.isFillTransparent=0===t.a,this.ctx.fillOpacity=t.a,this.pdf.setFillColor(t.r,t.g,t.b,{a:t.a}),this.pdf.setTextColor(t.r,t.g,t.b,{a:t.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(e){var t=p(e);this.ctx.strokeStyle=t.style,this.ctx.isStrokeTransparent=0===t.a,this.ctx.strokeOpacity=t.a,0===t.a?this.pdf.setDrawColor(255,255,255):(t.a,this.pdf.setDrawColor(t.r,t.g,t.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(e){-1!==["butt","round","square"].indexOf(e)&&(this.ctx.lineCap=e,this.pdf.setLineCap(e))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(e){isNaN(e)||(this.ctx.lineWidth=e,this.pdf.setLineWidth(e))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(e){-1!==["bevel","round","miter"].indexOf(e)&&(this.ctx.lineJoin=e,this.pdf.setLineJoin(e))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(e){isNaN(e)||(this.ctx.miterLimit=e,this.pdf.setMiterLimit(e))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(e){this.ctx.textBaseline=e}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(e){-1!==["right","end","center","left","start"].indexOf(e)&&(this.ctx.textAlign=e)}});var d=null,f=null,h=null;Object.defineProperty(this,"fontFaces",{get:function(){return h},set:function(e){d=null,f=null,h=e}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(e){var t;if(this.ctx.font=e,null!==(t=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(e))){var n=t[1];t[2];var r=t[3],o=t[4];t[5];var i=t[6],a=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(o)[2];o="px"===a?Math.floor(parseFloat(o)*this.pdf.internal.scaleFactor):"em"===a?Math.floor(parseFloat(o)*this.pdf.getFontSize()):Math.floor(parseFloat(o)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(o);var s=function(e){var t,n,r=[],o=e.trim();if(""===o)return Li;if(o in vi)return[vi[o]];for(;""!==o;){switch(n=null,t=(o=xi(o)).charAt(0)){case'"':case"'":n=_i(o.substring(1),t);break;default:n=Bi(o)}if(null===n)return Li;if(r.push(n[0]),""!==(o=xi(n[1]))&&","!==o.charAt(0))return Li;o=o.replace(/^,/,"")}return r}(i);if(this.fontFaces){var l=function(e,t){var n=e.getFontList(),r=JSON.stringify(n);if(null===d||f!==r){var o=function(e){var t=[];return Object.keys(e).forEach(function(n){e[n].forEach(function(e){var r=null;switch(e){case"bold":r={family:n,weight:"bold"};break;case"italic":r={family:n,style:"italic"};break;case"bolditalic":r={family:n,weight:"bold",style:"italic"};break;case"":case"normal":r={family:n}}null!==r&&(r.ref={name:n,style:e},t.push(r))})}),t}(n);d=function(e){for(var t={},n=0;n<e.length;++n){var r=gi(e[n]),o=r.family,i=r.stretch,a=r.style,s=r.weight;t[o]=t[o]||{},t[o][i]=t[o][i]||{},t[o][i][a]=t[o][i][a]||{},t[o][i][a][s]=r}return t}(o.concat(t)),f=r}return d}(this.pdf,this.fontFaces),c=s.map(function(e){return{family:e,stretch:"normal",weight:r,style:n}}),A=function(e,t,n){for(var r=(n=n||{}).defaultFontFamily||"times",o=Object.assign({},wi,n.genericFontFamilies||{}),i=null,a=null,s=0;s<t.length;++s)if(o[(i=gi(t[s])).family]&&(i.family=o[i.family]),e.hasOwnProperty(i.family)){a=e[i.family];break}if(!(a=a||e[r]))throw new Error("Could not find a font-family for the rule '"+bi(i)+"' and default family '"+r+"'.");if(a=function(e,t){if(t[e])return t[e];var n=fi[e],r=n<=fi.normal?-1:1,o=yi(t,pi,n,r);if(!o)throw new Error("Could not find a matching font-stretch value for "+e);return o}(i.stretch,a),a=function(e,t){if(t[e])return t[e];for(var n=di[e],r=0;r<n.length;++r)if(t[n[r]])return t[n[r]];throw new Error("Could not find a matching font-style for "+e)}(i.style,a),!(a=function(e,t){if(t[e])return t[e];if(400===e&&t[500])return t[500];if(500===e&&t[400])return t[400];var n=mi[e],r=yi(t,hi,n,e<400?-1:1);if(!r)throw new Error("Could not find a matching font-weight for value "+e);return r}(i.weight,a)))throw new Error("Failed to resolve a font for the rule '"+bi(i)+"'.");return a}(l,c);this.pdf.setFont(A.ref.name,A.ref.style)}else{var u="";("bold"===r||parseInt(r,10)>=700||"bold"===n)&&(u="bold"),"italic"===n&&(u+="italic"),0===u.length&&(u="normal");for(var p="",h={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},m=0;m<s.length;m++){if(void 0!==this.pdf.internal.getFont(s[m],u,{noFallback:!0,disableWarning:!0})){p=s[m];break}if("bolditalic"===u&&void 0!==this.pdf.internal.getFont(s[m],"bold",{noFallback:!0,disableWarning:!0}))p=s[m],u="bold";else if(void 0!==this.pdf.internal.getFont(s[m],"normal",{noFallback:!0,disableWarning:!0})){p=s[m],u="normal";break}}if(""===p)for(var g=0;g<s.length;g++)if(h[s[g]]){p=h[s[g]];break}p=""===p?"Times":p,this.pdf.setFont(p,u)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(e){this.ctx.globalCompositeOperation=e}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(e){this.ctx.globalAlpha=e}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(e){this.ctx.lineDashOffset=e,D.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(e){this.ctx.lineDash=e,D.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(e){this.ctx.ignoreClearRect=Boolean(e)}})};d.prototype.setLineDash=function(e){this.lineDash=e},d.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},d.prototype.fill=function(){b.call(this,"fill",!1)},d.prototype.stroke=function(){b.call(this,"stroke",!1)},d.prototype.beginPath=function(){this.path=[{type:"begin"}]},d.prototype.moveTo=function(e,t){if(isNaN(e)||isNaN(t))throw zr.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var n=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"mt",x:n.x,y:n.y}),this.ctx.lastPoint=new s(e,t)},d.prototype.closePath=function(){var e=new s(0,0),t=0;for(t=this.path.length-1;-1!==t;t--)if("begin"===this.path[t].type&&"object"===(0,r.A)(this.path[t+1])&&"number"==typeof this.path[t+1].x){e=new s(this.path[t+1].x,this.path[t+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new s(e.x,e.y)},d.prototype.lineTo=function(e,t){if(isNaN(e)||isNaN(t))throw zr.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to 
2jsPDF.context2d.lineTo");var n=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"lt",x:n.x,y:n.y}),this.ctx.lastPoint=new s(n.x,n.y)},d.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),b.call(this,null,!0)},d.prototype.quadraticCurveTo=function(e,t,n,r){if(isNaN(n)||isNaN(r)||isNaN(e)||isNaN(t))throw zr.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var o=this.ctx.transform.applyToPoint(new s(n,r)),i=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"qct",x1:i.x,y1:i.y,x:o.x,y:o.y}),this.ctx.lastPoint=new s(o.x,o.y)},d.prototype.bezierCurveTo=function(e,t,n,r,o,i){if(isNaN(o)||isNaN(i)||isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw zr.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var a=this.ctx.transform.applyToPoint(new s(o,i)),l=this.ctx.transform.applyToPoint(new s(e,t)),c=this.ctx.transform.applyToPoint(new s(n,r));this.path.push({type:"bct",x1:l.x,y1:l.y,x2:c.x,y2:c.y,x:a.x,y:a.y}),this.ctx.lastPoint=new s(a.x,a.y)},d.prototype.arc=function(e,t,n,r,o,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(o))throw zr.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(i=Boolean(i),!this.ctx.transform.isIdentity){var a=this.ctx.transform.applyToPoint(new s(e,t));e=a.x,t=a.y;var l=this.ctx.transform.applyToPoint(new s(0,n)),c=this.ctx.transform.applyToPoint(new s(0,0));n=Math.sqrt(Math.pow(l.x-c.x,2)+Math.pow(l.y-c.y,2))}Math.abs(o-r)>=2*Math.PI&&(r=0,o=2*Math.PI),this.path.push({type:"arc",x:e,y:t,radius:n,startAngle:r,endAngle:o,counterclockwise:i})},d.prototype.arcTo=function(e,t,n,r,o){throw new Error("arcTo not implemented.")},d.prototype.rect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw zr.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(e,t),this.lineTo(e+n,t),this.lineTo(e+n,t+r),this.lineTo(e,t+r),this.lineTo(e,t),this.lineTo(e+n,t),this.lineTo(e,t)},d.prototype.fillRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw zr.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!f.call(this)){var o={};"butt"!==this.lineCap&&(o.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(o.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(e,t,n,r),this.fill(),o.hasOwnProperty("lineCap")&&(this.lineCap=o.lineCap),o.hasOwnProperty("lineJoin")&&(this.lineJoin=o.lineJoin)}},d.prototype.strokeRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw zr.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");h.call(this)||(this.beginPath(),this.rect(e,t,n,r),this.stroke())},d.prototype.clearRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw zr.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(e,t,n,r))},d.prototype.save=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+1),this.pdf.internal.out("q");if(this.pdf.setPage(t),e){this.ctx.fontSize=this.pdf.internal.getFontSize();var r=new u(this.ctx);this.ctxStack.push(this.ctx),this.ctx=r}},d.prototype.restore=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+1),this.pdf.internal.out("Q");this.pdf.setPage(t),e&&0!==this.ctxStack.length&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},d.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var p=function(e){var t,n,r,o;
vendor: 15,252 bytes, line 2
2if(!0===e.isCanvasGradient&&(e=e.getColor()),!e)return{r:0,g:0,b:0,a:0,style:e};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(e))t=0,n=0,r=0,o=0;else{var i=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(e);if(null!==i)t=parseInt(i[1]),n=parseInt(i[2]),r=parseInt(i[3]),o=1;else if(null!==(i=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(e)))t=parseInt(i[1]),n=parseInt(i[2]),r=parseInt(i[3]),o=parseFloat(i[4]);else{if(o=1,"string"==typeof e&&"#"!==e.charAt(0)){var a=new Wr(e);e=a.ok?a.toHex():"#000000"}4===e.length?(t=e.substring(1,2),t+=t,n=e.substring(2,3),n+=n,r=e.substring(3,4),r+=r):(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7)),t=parseInt(t,16),n=parseInt(n,16),r=parseInt(r,16)}}return{r:t,g:n,b:r,a:o,style:e}},f=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},h=function(){return Boolean(this.ctx.isStrokeTransparent||0==this.globalAlpha)};d.prototype.fillText=function(e,t,n,r){if(isNaN(t)||isNaN(n)||"string"!=typeof e)throw zr.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(r=isNaN(r)?void 0:r,!f.call(this)){var o=P(this.ctx.transform.rotation),i=this.ctx.transform.scaleX;E.call(this,{text:e,x:t,y:n,scale:i,angle:o,align:this.textAlign,maxWidth:r})}},d.prototype.strokeText=function(e,t,n,r){if(isNaN(t)||isNaN(n)||"string"!=typeof e)throw zr.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!h.call(this)){r=isNaN(r)?void 0:r;var o=P(this.ctx.transform.rotation),i=this.ctx.transform.scaleX;E.call(this,{text:e,x:t,y:n,scale:i,renderingMode:"stroke",angle:o,align:this.textAlign,maxWidth:r})}},d.prototype.measureText=function(e){if("string"!=typeof e)throw zr.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var t=this.pdf,n=this.pdf.internal.scaleFactor,r=t.internal.getFontSize(),o=t.getStringUnitWidth(e)*r/t.internal.scaleFactor;return new function(e){var t=(e=e||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return t}}),this}({width:o*=Math.round(96*n/72*1e4)/1e4})},d.prototype.scale=function(e,t){if(isNaN(e)||isNaN(t))throw zr.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var n=new c(e,0,0,t,0,0);this.ctx.transform=this.ctx.transform.multiply(n)},d.prototype.rotate=function(e){if(isNaN(e))throw zr.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var t=new c(Math.cos(e),Math.sin(e),-Math.sin(e),Math.cos(e),0,0);this.ctx.transform=this.ctx.transform.multiply(t)},d.prototype.translate=function(e,t){if(isNaN(e)||isNaN(t))throw zr.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var n=new c(1,0,0,1,e,t);this.ctx.transform=this.ctx.transform.multiply(n)},d.prototype.transform=function(e,t,n,r,o,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(o)||isNaN(i))throw zr.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var a=new c(e,t,n,r,o,i);this.ctx.transform=this.ctx.transform.multiply(a)},d.prototype.setTransform=function(e,t,n,r,o,i){e=isNaN(e)?1:e,t=isNaN(t)?0:t,n=isNaN(n)?0:n,r=isNaN(r)?1:r,o=isNaN(o)?0:o,i=isNaN(i)?0:i,this.ctx.transform=new c(e,t,n,r,o,i)};var m=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};d.prototype.drawImage=function(e,t,n,r,o,i,a,s,A){var u=this.pdf.getImageProperties(e),d=1,p=1,f=1,h=1;void 0!==r&&void 0!==s&&(f=s/r,h=A/o,d=u.width/r*s/r,p=u.height/o*A/o),void 0===i&&(i=t,a=n,t=0,n=0),void 0!==r&&void 0===s&&(s=r,A=o),void 0===r&&void 0===s&&(s=u.width,A=u.height);var y=this.ctx.transform.decompose(),b=P(y.rotate.shx),_=new c,B=(_=(_=(_=_.multiply(y.translate)).multiply(y.skew)).multiply(y.scale)).applyToRectangle(new l(i-t*f,a-n*h,r*d,o*p));if(this.autoPaging){for(var C,k=g.call(this,B),S=[],j=0;j<k.length;j+=1)-1===S.indexOf(k[j])&&S.push(k[j]);v(S);for(var E=S[0],F=S[S.length-1],N=E;N<F+1;N++){this.pdf.setPage(N);var U=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],L=1===N?this.posY+this.margin[0]:this.margin[0],I=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Q=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],T=1===N?0:I+(N-2)*Q;if(0!==this.ctx.clip_path.length){var D=this.path;C=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=w(C,this.posX+this.margin[3],-T+L+this.ctx.prevPageLastElemOffset),x.call(this,"fill",!0),this.path=D}var O=JSON.parse(JSON.stringify(B));O=w([O],this.posX+this.margin[3],-T+L+this.ctx.prevPageLastElemOffset)[0];var R=(N>E||N<F)&&m.call(this);R&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],U,Q,null).clip().discardPath()),this.pdf.addImage(e,"JPEG",O.x,O.y,O.w,O.h,null,null,b),R&&this.pdf.restoreGraphicsState()}}else this.pdf.addImage(e,"JPEG",B.x,B.y,B.w,B.h,null,null,b)};var g=function(e,t,n){var r=[];t=t||this.pdf.internal.pageSize.width,n=n||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var o=this.posY+this.ctx.prevPageLastElemOffset;switch(e.type){default:case"mt":case"lt":r.push(Math.floor((e.y+o)/n)+1);break;case"arc":r.push(Math.floor((e.y+o-e.radius)/n)+1),r.push(Math.floor((e.y+o+e.radius)/n)+1);break;case"qct":var i=Q(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x,e.y);r.push(Math.floor((i.y+o)/n)+1),r.push(Math.floor((i.y+i.h+o)/n)+1);break;case"bct":var a=T(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x2,e.y2,e.x,e.y);r.push(Math.floor((a.y+o)/n)+1),r.push(Math.floor((a.y+a.h+o)/n)+1);break;case"rect":r.push(Math.floor((e.y+o)/n)+1),r.push(Math.floor((e.y+e.h+o)/n)+1)}for(var s=0;s<r.length;s+=1)for(;this.pdf.internal.getNumberOfPages()<r[s];)y.call(this);return r},y=function(){var e=this.fillStyle,t=this.strokeStyle,n=this.font,r=this.lineCap,o=this.lineWidth,i=this.lineJoin;this.pdf.addPage(),this.fillStyle=e,this.strokeStyle=t,this.font=n,this.lineCap=r,this.lineWidth=o,this.lineJoin=i},w=function(e,t,n){for(var r=0;r<e.length;r++)switch(e[r].type){case"bct":e[r].x2+=t,e[r].y2+=n;case"qct":e[r].x1+=t,e[r].y1+=n;default:e[r].x+=t,e[r].y+=n}return e},v=function(e){return e.sort(function(e,t){return e-t})},b=function(e,t){var n=this.fillStyle,r=this.strokeStyle,o=this.lineCap,i=this.lineWidth,a=Math.abs(i*this.ctx.transform.scaleX),s=this.lineJoin;if(this.autoPaging){for(var l,c,A=JSON.parse(JSON.stringify(this.path)),u=JSON.parse(JSON.stringify(this.path)),d=[],p=0;p<u.length;p++)if(void 0!==u[p].x)for(var f=g.call(this,u[p]),h=0;h<f.length;h+=1)-1===d.indexOf(f[h])&&d.push(f[h]);for(var b=0;b<d.length;b++)for(;this.pdf.internal.getNumberOfPages()<d[b];)y.call(this);v(d);for(var _=d[0],B=d[d.length-1],C=_;C<B+1;C++){this.pdf.setPage(C),this.fillStyle=n,this.strokeStyle=r,this.lineCap=o,this.lineWidth=a,this.lineJoin=s;var k=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],S=1===C?this.posY+this.margin[0]:this.margin[0],j=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],E=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],F=1===C?0:j+(C-2)*E;if(0!==this.ctx.clip_path.length){var N=this.path;l=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=w(l,this.posX+this.margin[3],-F+S+this.ctx.prevPageLastElemOffset),x.call(this,e,!0),this.path=N}if(c=JSON.parse(JSON.stringify(A)),this.path=w(c,this.posX+this.margin[3],-F+S+this.ctx.prevPageLastElemOffset),!1===t||0===C){var U=(C>_||C<B)&&m.call(this);U&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],k,E,null).clip().discardPath()),x.call(this,e,t),U&&this.pdf.restoreGraphicsState()}this.lineWidth=i}this.path=A}else this.lineWidth=a,x.call(this,e,t),this.lineWidth=i},x=function(e,t){if(("stroke"!==e||t||!h.call(this))&&("stroke"===e||t||!f.call(this))){for(var n,r,o=[],i=this.path,a=0;a<i.length;a++){var s=i[a];switch(s.type){case"begin":o.push({begin:!0});break;case"close":o.push({close:!0});break;case"mt":o.push({start:s,deltas:[],abs:[]});break;case"lt":var l=o.length;if(i[a-1]&&!isNaN(i[a-1].x)&&(n=[s.x-i[a-1].x,s.y-i[a-1].y],l>0))for(;l>=0;l--)if(!0!==o[l-1].close&&!0!==o[l-1].begin){o[l-1].deltas.push(n),o[l-1].abs.push(s);break}break;case"bct":n=[s.x1-i[a-1].x,s.y1-i[a-1].y,s.x2-i[a-1].x,s.y2-i[a-1].y,s.x-i[a-1].x,s.y-i[a-1].y],o[o.length-1].deltas.push(n);break;case"qct":var c=i[a-1].x+2/3*(s.x1-i[a-1].x),A=i[a-1].y+2/3*(s.y1-i[a-1].y),u=s.x+2/3*(s.x1-s.x),d=s.y+2/3*(s.y1-s.y),p=s.x,m=s.y;n=[c-i[a-1].x,A-i[a-1].y,u-i[a-1].x,d-i[a-1].y,p-i[a-1].x,m-i[a-1].y],o[o.length-1].deltas.push(n);break;case"arc":o.push({deltas:[],abs:[],arc:!0}),Array.isArray(o[o.length-1].abs)&&o[o.length-1].abs.push(s)}}r=t?null:"stroke"===e?"stroke":"fill";for(var g=!1,y=0;y<o.length;y++)if(o[y].arc)for(var w=o[y].abs,v=0;v<w.length;v++){var b=w[v];"arc"===b.type?C.call(this,b.x,b.y,b.radius,b.startAngle,b.endAngle,b.counterclockwise,void 0,t,!g):F.call(this,b.x,b.y),g=!0}else if(!0===o[y].close)this.pdf.internal.out("h"),g=!1;else if(!0!==o[y].begin){var x=o[y].start.x,_=o[y].start.y;N.call(this,o[y].deltas,x,_),g=!0}r&&k.call(this,r),t&&S.call(this)}},_=function(e){var t=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,n=t*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return e-n;case"top":return e+t-n;case"hanging":return e+t-2*n;case"middle":return e+t/2-n;default:return e}},B=function(e){return e+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};d.prototype.createLinearGradient=function(){var e=function(){};return e.colorStops=[],e.addColorStop=function(e,t){this.colorStops.push([e,t])},e.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},e.isCanvasGradient=!0,e},d.prototype.createPattern=function(){return this.createLinearGradient()},d.prototype.createRadialGradient=function(){return this.createLinearGradient()};var C=function(e,t,n,r,o,i,a,s,l){for(var c=L.call(this,n,r,o,i),A=0;A<c.length;A++){var u=c[A];0===A&&(l?j.call(this,u.x1+e,u.y1+t):F.call(this,u.x1+e,u.y1+t)),U.call(this,e,t,u.x2,u.y2,u.x3,u.y3,u.x4,u.y4)}s?S.call(this):k.call(this,a)},k=function(e){switch(e){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},S=function(){this.pdf.clip(),this.pdf.discardPath()},j=function(e,t){this.pdf.internal.out(n(e)+" "+o(t)+" m")},E=function(e){var t;switch(e.align){case"right":case"end":t="right";break;case"center":t="center";break;default:t="left"}var n,r,o,i=this.pdf.getTextDimensions(e.text),a=_.call(this,e.y),A=B.call(this,a)-i.h,u=this.ctx.transform.applyToPoint(new s(e.x,a));if(this.autoPaging){var d=this.ctx.transform.decompose(),p=new c;p=(p=(p=p.multiply(d.translate)).multiply(d.skew)).multiply(d.scale);for(var f=this.ctx.transform.applyToRectangle(new l(e.x,a,i.w,i.h)),h=p.applyToRectangle(new l(e.x,A,i.w,i.h)),y=g.call(this,h),b=[],C=0;C<y.length;C+=1)-1===b.indexOf(y[C])&&b.push(y[C]);v(b);for(var k=b[0],S=b[b.length-1],j=k;j<S+1;j++){this.pdf.setPage(j);var E=1===j?this.posY+this.margin[0]:this.margin[0],F=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],N=this.pdf.internal.pageSize.height-this.margin[2],U=N-this.margin[0],L=this.pdf.internal.pageSize.width-this.margin[1],I=L-this.margin[3],P=1===j?0:F+(j-2)*U;if(0!==this.ctx.clip_path.length){var Q=this.path;n=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=w(n,this.posX+this.margin[3],-1*P+E),x.call(this,"fill",!0),this.path=Q}var T=w([JSON.parse(JSON.stringify(h))],this.posX+this.margin[3],-P+E+this.ctx.prevPageLastElemOffset)[0];e.scale>=.01&&(r=this.pdf.internal.getFontSize(),this.pdf.setFontSize(r*e.scale),o=this.lineWidth,this.lineWidth=o*e.scale);var D="text"!==this.autoPaging;if(D||T.y+T.h<=N){if(D||T.y>=E&&T.x<=L){var O=D?e.text:this.pdf.splitTextToSize(e.text,e.maxWidth||L-T.x)[0],R=w([JSON.parse(JSON.stringify(f))],this.posX+this.margin[3],-P+E+this.ctx.prevPageLastElemOffset)[0],M=D&&(j>k||j<S)&&m.call(this);M&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],I,U,null).clip().discardPath()),this.pdf.text(O,R.x,R.y,{angle:e.angle,align:t,renderingMode:e.renderingMode}),M&&this.pdf.restoreGraphicsState()}}else T.y<N&&(this.ctx.prevPageLastElemOffset+=N-T.y);e.scale>=.01&&(this.pdf.setFontSize(r),this.lineWidth=o)}}else e.scale>=.01&&(r=this.pdf.internal.getFontSize(),this.pdf.setFontSize(r*e.scale),o=this.lineWidth,this.lineWidth=o*e.scale),this.pdf.text(e.text,u.x+this.posX,u.y+this.posY,{angle:e.angle,align:t,renderingMode:e.renderingMode,maxWidth:e.maxWidth}),e.scale>=.01&&(this.pdf.setFontSize(r),this.lineWidth=o)},F=function(e,t,r,i){r=r||0,i=i||0,this.pdf.internal.out(n(e+r)+" "+o(t+i)+" l")},N=function(e,t,n){return this.pdf.lines(e,t,n,null,null)},U=function(e,n,r,o,s,l,c,A){this.pdf.internal.out([t(i(r+e)),t(a(o+n)),t(i(s+e)),t(a(l+n)),t(i(c+e)),t(a(A+n)),"c"].join(" "))},L=function(e,t,n,r){for(var o=2*Math.PI,i=Math.PI/2;t>n;)t-=o;var a=Math.abs(n-t);a<o&&r&&(a=o-a);for(var s=[],l=r?-1:1,c=t;a>1e-5;){var A=c+l*Math.min(a,i);s.push(I.call(this,e,c,A)),a-=Math.abs(A-c),c=A}return s},I=function(e,t,n){var r=(n-t)/2,o=e*Math.cos(r),i=e*Math.sin(r),a=o,s=-i,l=a*a+s*s,c=l+a*o+s*i,A=4/3*(Math.sqrt(2*l*c)-c)/(a*i-s*o),u=a-A*s,d=s+A*a,p=u,f=-d,h=r+t,m=Math.cos(h),g=Math.sin(h);return{x1:e*Math.cos(t),y1:e*Math.sin(t),x2:u*m-d*g,y2:u*g+d*m,x3:p*m-f*g,y3:p*g+f*m,x4:e*Math.cos(n),y4:e*Math.sin(n)}},P=function(e){return 180*e/Math.PI},Q=function(e,t,n,r,o,i){var a=e+.5*(n-e),s=t+.5*(r-t),c=o+.5*(n-o),A=i+.5*(r-i),u=Math.min(e,o,a,c),d=Math.max(e,o,a,c),p=Math.min(t,i,s,A),f=Math.max(t,i,s,A);return new l(u,p,d-u,f-p)},T=function(e,t,n,r,o,i,a,s){var c,A,u,d,p,f,h,m,g,y,w,v,b,x,_=n-e,B=r-t,C=o-n,k=i-r,S=a-o,j=s-i;for(A=0;A<41;A++)g=(h=(u=e+(c=A/40)*_)+c*((p=n+c*C)-u))+c*(p+c*(o+c*S-p)-h),y=(m=(d=t+c*B)+c*((f=r+c*k)-d))+c*(f+c*(i+c*j-f)-m),0==A?(w=g,v=y,b=g,x=y):(w=Math.min(w,g),v=Math.min(v,y),b=Math.max(b,g),x=Math.max(x,y));return new l(Math.round(w),Math.round(v),Math.round(b-w),Math.round(x-v))},D=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var e,t,n=(e=this.ctx.lineDash,t=this.ctx.lineDashOffset,JSON.stringify({lineDash:e,lineDashOffset:t}));this.prevLineDash!==n&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=n)}}}(bo.API),function(e){var t=function(e){var t,n,r,o,i,a,s,l,c,A;for(/[^\x00-\xFF]/.test(e),n=[],r=0,o=(e+=t="\0\0\0\0".slice(e.length%4||4)).length;o>r;r+=4)0!==(i=(e.charCodeAt(r)<<24)+(e.charCodeAt(r+1)<<16)+(e.charCodeAt(r+2)<<8)+e.charCodeAt(r+3))?(a=(i=((i=((i=((i=(i-(A=i%85))/85)-(c=i%85))/85)-(l=i%85))/85)-(s=i%85))/85)%85,n.push(a+33,s+33,l+33,c+33,A+33)):n.push(122);return function(e,t){for(var n=t;n>0;n--)e.pop()}(n,t.length),String.fromCharCode.apply(String,n)+"~>"},n=function(e){var t,n,r,o,i,a=String,s="length",l=255,c="charCo
2deAt",A="slice",u="replace";for(e[A](-2),e=e[A](0,-2)[u](/\s/g,"")[u]("z","!!!!!"),r=[],o=0,i=(e+=t="uuuuu"[A](e[s]%5||5))[s];i>o;o+=5)n=52200625*(e[c](o)-33)+614125*(e[c](o+1)-33)+7225*(e[c](o+2)-33)+85*(e[c](o+3)-33)+(e[c](o+4)-33),r.push(l&n>>24,l&n>>16,l&n>>8,l&n);return function(e,t){for(var n=t;n>0;n--)e.pop()}(r,t[s]),a.fromCharCode.apply(a,r)},r=function(e){return e.split("").map(function(e){return("0"+e.charCodeAt().toString(16)).slice(-2)}).join("")+">"},o=function(e){var t=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(e=e.replace(/\s/g,"")).indexOf(">")&&(e=e.substr(0,e.indexOf(">"))),e.length%2&&(e+="0"),!1===t.test(e))return"";for(var n="",r=0;r<e.length;r+=2)n+=String.fromCharCode("0x"+(e[r]+e[r+1]));return n},i=function(e){for(var t=new Uint8Array(e.length),n=e.length;n--;)t[n]=e.charCodeAt(n);return(t=D(t)).reduce(function(e,t){return e+String.fromCharCode(t)},"")};e.processDataByFilters=function(e,a){var s=0,l=e||"",c=[];for("string"==typeof(a=a||[])&&(a=[a]),s=0;s<a.length;s+=1)switch(a[s]){case"ASCII85Decode":case"/ASCII85Decode":l=n(l),c.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":l=t(l),c.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":l=o(l),c.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":l=r(l),c.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":l=i(l),c.push("/FlateDecode");break;default:throw new Error('The filter: "'+a[s]+'" is not implemented')}return{data:l,reverseChain:c.reverse().join(" ")}}}(bo.API),function(e){e.loadFile=function(e,t,n){return function(e,t,n){t=!1!==t,n="function"==typeof n?n:function(){};var r=void 0;try{r=function(e,t,n){var r=new XMLHttpRequest,o=0,i=function(e){var t=e.length,n=[],r=String.fromCharCode;for(o=0;o<t;o+=1)n.push(r(255&e.charCodeAt(o)));return n.join("")};if(r.open("GET",e,!t),r.overrideMimeType("text/plain; charset=x-user-defined"),!1===t&&(r.onload=function(){200===r.status?n(i(this.responseText)):n(void 0)}),r.send(null),t&&200===r.status)return i(r.responseText)}(e,t,n)}catch(e){}return r}(e,t,n)},e.loadImageFile=e.loadFile}(bo.API),function(e){function t(){return(Mr.html2canvas?Promise.resolve(Mr.html2canvas):Promise.resolve().then(n.t.bind(n,354,23))).catch(function(e){return Promise.reject(new Error("Could not load html2canvas: "+e))}).then(function(e){return e.default?e.default:e})}function o(){return(Mr.DOMPurify?Promise.resolve(Mr.DOMPurify):Promise.resolve().then(n.bind(n,9418))).catch(function(e){return Promise.reject(new Error("Could not load dompurify: "+e))}).then(function(e){return e.default?e.default:e})}var i=function(e){var t=(0,r.A)(e);return"undefined"===t?"undefined":"string"===t||e instanceof String?"string":"number"===t||e instanceof Number?"number":"function"===t||e instanceof Function?"function":e&&e.constructor===Array?"array":e&&1===e.nodeType?"element":"object"===t?"object":"unknown"},a=function(e,t){var n=document.createElement(e);for(var r in t.className&&(n.className=t.className),t.innerHTML&&t.dompurify&&(n.innerHTML=t.dompurify.sanitize(t.innerHTML)),t.style)n.style[r]=t.style[r];return n},s=function e(t,n){for(var r=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),o=t.firstChild;o;o=o.nextSibling)!0!==n&&1===o.nodeType&&"SCRIPT"===o.nodeName||r.appendChild(e(o,n));return 1===t.nodeType&&("CANVAS"===t.nodeName?(r.width=t.width,r.height=t.height,r.getContext("2d").drawImage(t,0,0)):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(r.value=t.value),r.addEventListener("load",function(){r.scrollTop=t.scrollTop,r.scrollLeft=t.scrollLeft},!0)),r},l=function e(t){var n=Object.assign(e.convert(Promise.resolve()),JSON.parse(JSON.stringify(e.template))),r=e.convert(Promise.resolve(),n);return(r=r.setProgress(1,e,1,[e])).set(t)};(l.prototype=Object.create(Promise.prototype)).constructor=l,l.convert=function(e,t){return e.__proto__=t||l.prototype,e},l.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},l.prototype.from=function(e,t){return this.then(function(){switch(t=t||function(e){switch(i(e)){case"string":return"string";
vendor: 4,705 bytes, line 2
2case"element":return"canvas"===e.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(e),t){case"string":return this.then(o).then(function(t){return this.set({src:a("div",{innerHTML:e,dompurify:t})})});case"element":return this.set({src:e});case"canvas":return this.set({canvas:e});case"img":return this.set({img:e});default:return this.error("Unknown source type.")}})},l.prototype.to=function(e){switch(e){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},l.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var e={position:"relative",display:"inline-block",width:("number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},t=s(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===t.tagName&&(e.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=a("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=a("div",{className:"html2pdf__container",style:e}),this.prop.container.appendChild(t),this.prop.container.firstChild.appendChild(a("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},l.prototype.toCanvas=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(t).then(function(e){var t=Object.assign({},this.opt.html2canvas);return delete t.onrendered,e(this.prop.container,t)}).then(function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)})},l.prototype.toContext2d=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(t).then(function(e){var t=this.opt.jsPDF,n=this.opt.fontFaces,r="number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,o=Object.assign({async:!0,allowTaint:!0,scale:r,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete o.onrendered,t.context2d.autoPaging=void 0===this.opt.autoPaging||this.opt.autoPaging,t.context2d.posX=this.opt.x,t.context2d.posY=this.opt.y,t.context2d.margin=this.opt.margin,t.context2d.fontFaces=n,n)for(var i=0;i<n.length;++i){var a=n[i],s=a.src.find(function(e){return"truetype"===e.format});s&&t.addFont(s.url,a.ref.name,a.ref.style)}return o.windowHeight=o.windowHeight||0,o.windowHeight=0==o.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):o.windowHeight,t.context2d.save(!0),e(this.prop.container,o)}).then(function(e){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)})},l.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var e=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=e})},l.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},l.prototype.output=function(e,t,n){return"img"===(n=n||"pdf").toLowerCase()||"image"===n.toLowerCase()?this.outputImg(e,t):this.outputPdf(e,t)},l.prototype.outputPdf=function(e,t){return this.thenList([function(){return this.prop.pdf||this.toPdf(
vendor: 10,389 bytes, line 2
2)}]).then(function(){return this.prop.pdf.output(e,t)})},l.prototype.outputImg=function(e){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(e){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+e+'" is not supported.'}})},l.prototype.save=function(e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(e?{filename:e}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},l.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},l.prototype.set=function(e){if("object"!==i(e))return this;var t=Object.keys(e||{}).map(function(t){if(t in l.template.prop)return function(){this.prop[t]=e[t]};switch(t){case"margin":return this.setMargin.bind(this,e.margin);case"jsPDF":return function(){return this.opt.jsPDF=e.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,e.pageSize);default:return function(){this.opt[t]=e[t]}}},this);return this.then(function(){return this.thenList(t)})},l.prototype.get=function(e,t){return this.then(function(){var n=e in l.template.prop?this.prop[e]:this.opt[e];return t?t(n):n})},l.prototype.setMargin=function(e){return this.then(function(){switch(i(e)){case"number":e=[e,e,e,e];case"array":if(2===e.length&&(e=[e[0],e[1],e[0],e[1]]),4===e.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=e}).then(this.setPageSize)},l.prototype.setPageSize=function(e){function t(e,t){return Math.floor(e*t/72*96)}return this.then(function(){(e=e||bo.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(e.inner={width:e.width-this.opt.margin[1]-this.opt.margin[3],height:e.height-this.opt.margin[0]-this.opt.margin[2]},e.inner.px={width:t(e.inner.width,e.k),height:t(e.inner.height,e.k)},e.inner.ratio=e.inner.height/e.inner.width),this.prop.pageSize=e})},l.prototype.setProgress=function(e,t,n,r){return null!=e&&(this.progress.val=e),null!=t&&(this.progress.state=t),null!=n&&(this.progress.n=n),null!=r&&(this.progress.stack=r),this.progress.ratio=this.progress.val/this.progress.state,this},l.prototype.updateProgress=function(e,t,n,r){return this.setProgress(e?this.progress.val+e:null,t||null,n?this.progress.n+n:null,r?this.progress.stack.concat(r):null)},l.prototype.then=function(e,t){var n=this;return this.thenCore(e,t,function(e,t){return n.updateProgress(null,null,1,[e]),Promise.prototype.then.call(this,function(t){return n.updateProgress(null,e),t}).then(e,t).then(function(e){return n.updateProgress(1),e})})},l.prototype.thenCore=function(e,t,n){n=n||Promise.prototype.then;var r=this;e&&(e=e.bind(r)),t&&(t=t.bind(r));var o=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?r:l.convert(Object.assign({},r),Promise.prototype),i=n.call(o,e,t);return l.convert(i,r.__proto__)},l.prototype.thenExternal=function(e,t){return Promise.prototype.then.call(this,e,t)},l.prototype.thenList=function(e){var t=this;return e.forEach(function(e){t=t.thenCore(e)}),t},l.prototype.catch=function(e){e&&(e=e.bind(this));var t=Promise.prototype.catch.call(this,e);return l.convert(t,this)},l.prototype.catchExternal=function(e){return Promise.prototype.catch.call(this,e)},l.prototype.error=function(e){return this.then(function(){throw new Error(e)})},l.prototype.using=l.prototype.set,l.prototype.saveAs=l.prototype.save,l.prototype.export=l.prototype.output,l.prototype.run=l.prototype.then,bo.getPageSize=function(e,t,n){if("object"===(0,r.A)(e)){var o=e;e=o.orientation,t=o.unit||t,n=o.format||n}t=t||"mm",n=n||"a4",e=(""+(e||"P")).toLowerCase();var i,a=(""+n).toLowerCase(),s={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(t){case"pt":i=1;break;case"mm":i=72/25.4;break;case"cm":i=72/2.54;break;case"in":i=72;break;case"px":i=.75;break;case"pc":case"em":i=12;break;case"ex":i=6;break;default:throw"Invalid unit: "+t}var l,c=0,A=0;if(s.hasOwnProperty(a))c=s[a][1]/i,A=s[a][0]/i;else try{c=n[1],A=n[0]}catch(e){throw new Error("Invalid format: "+n)}if("p"===e||"portrait"===e)e="p",A>c&&(l=A,A=c,c=l);else{if("l"!==e&&"landscape"!==e)throw"Invalid orientation: "+e;e="l",c>A&&(l=A,A=c,c=l)}return{width:A,height:c,unit:t,k:i,orientation:e}},e.html=function(e,t){(t=t||{}).callback=t.callback||function(){},t.html2canvas=t.html2canvas||{},t.html2canvas.canvas=t.html2canvas.canvas||this.canvas,t.jsPDF=t.jsPDF||this,t.fontFaces=t.fontFaces?t.fontFaces.map(gi):null;var n=new l(t);return t.worker?n:n.from(e).doCallback()}}(bo.API),bo.API.addJS=function(e){return Si=e,this.internal.events.subscribe("postPutResources",function(){Ci=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Ci+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),ki=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Si+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){void 0!==Ci&&void 0!==ki&&this.internal.out("/Names <</JavaScript "+Ci+" 0 R>>")}),this},function(e){var t;e.events.push(["postPutResources",function(){var e=this,n=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var r=e.outline.render().split(/\r\n/),o=0;o<r.length;o++){var i=r[o],a=n.exec(i);if(null!=a){var s=a[1];e.internal.newObjectDeferredBegin(s,!1)}e.internal.write(i)}if(this.outline.createNamedDestinations){var l=this.internal.pages.length,c=[];for(o=0;o<l;o++){var A=e.internal.newObject();c.push(A);var u=e.internal.getPageInfo(o+1);e.internal.write("<< /D["+u.objId+" 0 R /XYZ null null null]>> endobj")}var d=e.internal.newObject();for(e.internal.write("<< /Names [ "),o=0;o<c.length;o++)e.internal.write("(page_"+(o+1)+")"+c[o]+" 0 R");e.internal.write(" ] >>","endobj"),t=e.internal.newObject(),e.internal.write("<< /Dests "+d+" 0 R"),e.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){var e=this;e.outline.root.children.length>0&&(e.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&e.internal.write("/Names "+t+" 0 R"))}]),e.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(e,t,n){var r={title:t,options:n,children:[]};return null==e&&(e=this.root),e.children.push(r),r},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(t){t.id=e.internal.newObjectDeferred();for(var n=0;n<t.children.length;n++)this.genIds_r(t.children[n])},e.outline.renderRoot=function(e){this.objStart(e),this.line("/Type /Outlines"),e.children.length>0&&(this.line("/First "+this.makeRef(e.children[0])),this.line("/Last "+this.makeRef(e.children[e.children.length-1]))),this.line("/Count "+this.count_r({count:0},e)),this.objEnd()},e.outline.renderItems=function(t){for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,r=0;r<t.children.length;r++){var o=t.children[r];this.objStart(o),this.line("/Title "+this.makeString(o.title)),this.line("/Parent "+this.makeRef(t)),r>0&&this.line("/Prev "+this.makeRef(t.children[r-1])),r<t.children.length-1&&this.line("/Next "+this.makeRef(t.children[r+1])),o.children.length>0&&(this.line("/First "+this.makeRef(o.children[0])),this.line("/Last "+this.makeRef(o.children[o.children.length-1])));var i=this.count=this.count_r({count:0},o);if(i>0&&this.line("/Count "+i),o.options&&o.options.pageNumber){var a=e.internal.getPageInfo(o.options.pageNumber);this.line("/Dest ["+a.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(var s=0;s<t.children.length;s++)this.renderItems(t.children[s])},e.outline.line=function(e){this.ctx.val+=e+"\r\n"},e.outline.makeRef=function(e){return e.id+" 0 R"},e.outline.makeString=function(t){return"("+e.internal.pdfEscape(t)+")"},e.outline.objStart=function(e){this.ctx.val+="\r\n"+e.id+" 0 obj\r\n<<\r\n"},e.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},e.outline.count_r=function(e,t){for(var n=0;n<t.children.length;n++)e.count++,this.count_r(e,t.children[n]);return e.count}}])}(bo.API),function(e){var t=[192,193,194,195,196,197,198,199];e.processJPEG=function(e,n,r,o,i,a){var s,l=this.decode.DCT_DECODE,c=null;if("string"==typeof e||this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e)){switch(e=i||e,e=this.__addimage__.isArrayBuffer(e)?new Uint8Array(e):e,s=function(e){for(var n,r=256*e.charCodeAt(4)+e.charCodeAt(5),o=e.length,i={width:0,height:0,numcomponents:1},a=4;a<o;a+=2){if(a+=r,-1!==t.indexOf(e.charCodeAt(a+1))){n=256*e.charCodeAt(a+5)+e.charCodeAt(a+6),i={width:256*e.charCodeAt(a+7)+e.charCodeAt(a+8),height:n,numcomponents:e.charCodeAt(a+9)};break}r=256*e.charCodeAt(a+2)+e.charCodeAt(a+3)}return i}(e=this.__addimage__.isArrayBufferView(e)?this.__addimage__.arrayBufferToBinaryString(e):e),s.numcomponents){case 1:a=this.color_spaces.DEVICE_GRAY;break;case 4:a=this.color_spaces.DEVICE_CMYK;break;case 3:a=this.color_spaces.DEVICE_RGB}c={data:e,width:s.width,height:s.height,colorSpace:a,bitsPerComponent:8,filter:l,index:n,alias:r}}return c}}(bo.API),bo.API.processPNG=function(e,t,n,r){if(this.__addimage__.isArrayBuffer(e)&&(e=new Uint8Array(e)),this.__addimage__.isArrayBufferView(e)){var o,i=new Or(e,{checkCrc:!0}).decode(),a=i.width,s=i.height,l=i.channels,c=i.palette,A=i.depth;
vendor: 4,256 bytes, line 2
2o=c&&1===l?function(e){for(var t=e.width,n=e.height,r=e.data,o=e.palette,i=e.depth,a=!1,s=[],l=[],c=void 0,A=!1,u=0,d=0;d<o.length;d++){var p=M(o[d],4),f=p[0],h=p[1],m=p[2],g=p[3];s.push(f,h,m),null!=g&&(0===g?(u++,l.length<1&&l.push(d)):g<255&&(A=!0))}if(A||u>1){a=!0,l=void 0;var y=t*n;c=new Uint8Array(y);for(var w=new DataView(r.buffer),v=0;v<y;v++){var b=M(o[Hi(w,v,i)],4)[3];c[v]=b}}else 0===u&&(l=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:a?8:void 0,colorBytes:r,alphaBytes:c,needSMask:a,palette:s,mask:l}}(i):2===l||4===l?function(e){for(var t=e.data,n=e.width,r=e.height,o=e.channels,i=e.depth,a=2===o?"DeviceGray":"DeviceRGB",s=o-1,l=n*r,c=s,A=l*c,u=1*l,d=Math.ceil(A*i/8),p=Math.ceil(u*i/8),f=new Uint8Array(d),h=new Uint8Array(p),m=new DataView(t.buffer),g=new DataView(f.buffer),y=new DataView(h.buffer),w=!1,v=0;v<l;v++){for(var b=v*o,x=0;x<c;x++)zi(g,Hi(m,b+x,i),v*c+x,i);var _=Hi(m,b+c,i);_<(1<<i)-1&&(w=!0),zi(y,_,1*v,i)}return{colorSpace:a,colorsPerPixel:s,sMaskBitsPerComponent:w?i:void 0,colorBytes:f,alphaBytes:h,needSMask:w}}(i):function(e){var t=e.data,n=1===e.channels?"DeviceGray":"DeviceRGB";return{colorSpace:n,colorsPerPixel:"DeviceGray"===n?1:3,colorBytes:t instanceof Uint16Array?function(e){for(var t=e.length,n=new Uint8Array(2*t),r=new DataView(n.buffer,n.byteOffset,n.byteLength),o=0;o<t;o++)r.setUint16(2*o,e[o],!1);return n}(t):t,needSMask:!1}}(i);var u,d,p,f=o,h=f.colorSpace,m=f.colorsPerPixel,g=f.sMaskBitsPerComponent,y=f.colorBytes,w=f.alphaBytes,v=f.needSMask,b=f.palette,x=f.mask,_=null;return r!==bo.API.image_compression.NONE?(_=function(e){var t;switch(e){case bo.API.image_compression.FAST:t=11;break;case bo.API.image_compression.MEDIUM:t=13;break;case bo.API.image_compression.SLOW:t=14;break;default:t=12}return t}(r),u=this.decode.FLATE_DECODE,d="/Predictor ".concat(_," /Colors ").concat(m," /BitsPerComponent ").concat(A," /Columns ").concat(a),e=Ii(y,Math.ceil(a*m*A/8),m,A,r),v&&(p=Ii(w,Math.ceil(a*g/8),1,g,r))):(u=void 0,d=void 0,e=y,v&&(p=w)),(this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e))&&(e=this.__addimage__.arrayBufferToBinaryString(e)),(p&&this.__addimage__.isArrayBuffer(p)||this.__addimage__.isArrayBufferView(p))&&(p=this.__addimage__.arrayBufferToBinaryString(p)),{alias:n,data:e,index:t,filter:u,decodeParameters:d,transparency:x,palette:b,sMask:p,predictor:_,width:a,height:s,bitsPerComponent:A,sMaskBitsPerComponent:g,colorSpace:h}}},function(e){e.processGIF89A=function(t,n,r,o){var i=new $i(t),a=i.width,s=i.height,l=[];i.decodeAndBlitFrameRGBA(0,l);var c={data:l,width:a,height:s},A=new qi(100).encode(c,100);return e.processJPEG.call(this,A,n,r,o)},e.processGIF87A=e.processGIF89A}(bo.API),Wi.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var e=0===this.colors?1<<this.bitPP:this.colors;this.palette=new Array(e);for(var t=0;t<e;t++){var n=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:o,green:r,blue:n,quad:i}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Wi.prototype.parseBGR=function(){this.pos=this.offset;try{var e="bit"+this.bitPP,t=this.width*this.height*4;this.data=new Uint8Array(t),this[e]()}catch(e){zr.log("bit decode error:"+e)}},Wi.prototype.bit1=function(){var e,t=Math.ceil(this.width/8),n=t%4;
vendor: 4,889 bytes, line 2
2for(e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,o=0;o<t;o++)for(var i=this.datav.getUint8(this.pos++,!0),a=r*this.width*4+8*o*4,s=0;s<8&&8*o+s<this.width;s++){var l=this.palette[i>>7-s&1];this.data[a+4*s]=l.blue,this.data[a+4*s+1]=l.green,this.data[a+4*s+2]=l.red,this.data[a+4*s+3]=255}0!==n&&(this.pos+=4-n)}},Wi.prototype.bit4=function(){for(var e=Math.ceil(this.width/2),t=e%4,n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,o=0;o<e;o++){var i=this.datav.getUint8(this.pos++,!0),a=r*this.width*4+2*o*4,s=i>>4,l=15&i,c=this.palette[s];if(this.data[a]=c.blue,this.data[a+1]=c.green,this.data[a+2]=c.red,this.data[a+3]=255,2*o+1>=this.width)break;c=this.palette[l],this.data[a+4]=c.blue,this.data[a+4+1]=c.green,this.data[a+4+2]=c.red,this.data[a+4+3]=255}0!==t&&(this.pos+=4-t)}},Wi.prototype.bit8=function(){for(var e=this.width%4,t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var o=this.datav.getUint8(this.pos++,!0),i=n*this.width*4+4*r;if(o<this.palette.length){var a=this.palette[o];this.data[i]=a.red,this.data[i+1]=a.green,this.data[i+2]=a.blue,this.data[i+3]=255}else this.data[i]=255,this.data[i+1]=255,this.data[i+2]=255,this.data[i+3]=255}0!==e&&(this.pos+=4-e)}},Wi.prototype.bit15=function(){for(var e=this.width%3,t=parseInt("11111",2),n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,o=0;o<this.width;o++){var i=this.datav.getUint16(this.pos,!0);this.pos+=2;var a=(i&t)/t*255|0,s=(i>>5&t)/t*255|0,l=(i>>10&t)/t*255|0,c=i>>15?255:0,A=r*this.width*4+4*o;this.data[A]=l,this.data[A+1]=s,this.data[A+2]=a,this.data[A+3]=c}this.pos+=e}},Wi.prototype.bit16=function(){for(var e=this.width%3,t=parseInt("11111",2),n=parseInt("111111",2),r=this.height-1;r>=0;r--){for(var o=this.bottom_up?r:this.height-1-r,i=0;i<this.width;i++){var a=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(a&t)/t*255|0,l=(a>>5&n)/n*255|0,c=(a>>11)/t*255|0,A=o*this.width*4+4*i;this.data[A]=c,this.data[A+1]=l,this.data[A+2]=s,this.data[A+3]=255}this.pos+=e}},Wi.prototype.bit24=function(){for(var e=this.height-1;e>=0;e--){for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=t*this.width*4+4*n;this.data[a]=i,this.data[a+1]=o,this.data[a+2]=r,this.data[a+3]=255}this.pos+=this.width%4}},Wi.prototype.bit32=function(){for(var e=this.height-1;e>=0;e--)for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),s=t*this.width*4+4*n;this.data[s]=i,this.data[s+1]=o,this.data[s+2]=r,this.data[s+3]=a}},Wi.prototype.getData=function(){return this.data},function(e){e.processBMP=function(t,n,r,o){var i=new Wi(t,!1),a=i.width,s=i.height,l={data:i.getData(),width:a,height:s},c=new qi(100).encode(l,100);return e.processJPEG.call(this,c,n,r,o)}}(bo.API),Gi.prototype.getData=function(){return this.data},function(e){e.processWEBP=function(t,n,r,o){var i=new Gi(t),a=i.width,s=i.height,l={data:i.getData(),width:a,height:s},c=new qi(100).encode(l,100);return e.processJPEG.call(this,c,n,r,o)}}(bo.API),bo.API.processRGBA=function(e,t,n){for(var r=e.data,o=r.length,i=new Uint8Array(o/4*3),a=new Uint8Array(o/4),s=0,l=0,c=0;c<o;c+=4){var A=r[c],u=r[c+1],d=r[c+2],p=r[c+3];i[s++]=A,i[s++]=u,i[s++]=d,a[l++]=p}var f=this.__addimage__.arrayBufferToBinaryString(i);return{alpha:this.__addimage__.arrayBufferToBinaryString(a),data:f,index:t,alias:n,colorSpace:"DeviceRGB",bitsPerComponent:8,width:e.width,height:e.height}},bo.API.setLanguage=function(e){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canad
2a)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[e]&&(this.internal.languageSettings.languageCode=e,!1===this.internal.languageSettings.isSubscribed&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},ji=bo.API,Ei=ji.getCharWidthsArray=function(e,t){var n,o,i=(t=t||{}).font||this.internal.getFont(),a=t.fontSize||this.internal.getFontSize(),s=t.charSpace||this.internal.getCharSpace(),l=t.widths?t.widths:i.metadata.Unicode.widths,c=l.fof?l.fof:1,A=t.kerning?t.kerning:i.metadata.Unicode.kerning,u=A.fof?A.fof:1,d=!1!==t.doKerning,p=0,f=e.length,h=0,m=l[0]||c,g=[];for(n=0;n<f;n++)o=e.charCodeAt(n),"function"==typeof i.metadata.widthOfString?g.push((i.metadata.widthOfGlyph(i.metadata.characterToGlyph(o))+s*(1e3/a)||0)/1e3):(p=d&&"object"===(0,r.A)(A[o])&&!isNaN(parseInt(A[o][h],10))?A[o][h]/u:0,g.push((l[o]||m)/c+p)),h=o;return g},Fi=ji.getStringUnitWidth=function(e,t){var n=(t=t||{}).fontSize||this.internal.getFontSize(),r=t.font||this.internal.getFont(),o=t.charSpace||this.internal.getCharSpace();return ji.processArabic&&(e=ji.processArabic(e)),"function"==typeof r.metadata.widthOfString?r.metadata.widthOfString(e,n,o)/n:Ei.apply(this,arguments).reduce(function(e,t){return e+t},0)},Ni=function(e,t,n,r){for(var o=[],i=0,a=e.length,s=0;i!==a&&s+t[i]<n;)s+=t[i],i++;o.push(e.slice(0,i));var l=i;for(s=0;i!==a;)s+t[i]>
vendor: 1,590 bytes, line 2
2r&&(o.push(e.slice(l,i)),s=0,l=i),s+=t[i],i++;return l!==i&&o.push(e.slice(l,i)),o},Ui=function(e,t,n){n||(n={});var r,o,i,a,s,l,c,A=[],u=[A],d=n.textIndent||0,p=0,f=0,h=e.split(" "),m=Ei.apply(this,[" ",n])[0];if(l=-1===n.lineIndent?h[0].length+2:n.lineIndent||0){var g=Array(l).join(" "),y=[];h.map(function(e){(e=e.split(/\s*\n/)).length>1?y=y.concat(e.map(function(e,t){return(t&&e.length?"\n":"")+e})):y.push(e[0])}),h=y,l=Fi.apply(this,[g,n])}for(i=0,a=h.length;i<a;i++){var w=0;if(r=h[i],l&&"\n"==r[0]&&(r=r.substr(1),w=1),d+p+(f=(o=Ei.apply(this,[r,n])).reduce(function(e,t){return e+t},0))>t||w){if(f>t){for(s=Ni.apply(this,[r,o,t-(d+p),t]),A.push(s.shift()),A=[s.pop()];s.length;)u.push([s.shift()]);f=o.slice(r.length-(A[0]?A[0].length:0)).reduce(function(e,t){return e+t},0)}else A=[r];u.push(A),d=f+l,p=m}else A.push(r),d+=p+f,p=m}return c=l?function(e,t){return(t?g:"")+e.join(" ")}:function(e){return e.join(" ")},u.map(c)},ji.splitTextToSize=function(e,t,n){var r,o=(n=n||{}).fontSize||this.internal.getFontSize(),i=function(e){if(e.widths&&e.kerning)return{widths:e.widths,kerning:e.kerning};var t=this.internal.getFont(e.fontName,e.fontStyle),n="Unicode";return t.metadata[n]?{widths:t.metadata[n].widths||{0:1},kerning:t.metadata[n].kerning||{}}:{font:t.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,n);r=Array.isArray(e)?e:String(e).split(/\r?\n/);var a=1*this.internal.scaleFactor*t/o;i.textIndent=n.textIndent?1*n.textIndent*this.internal.scaleFactor/o:0,i.lineIndent=n.lineIndent;var s,l,c=[];for(s=0,l=r.length;s<l;
vendor: 1,654 bytes, line 2
2s++)c=c.concat(Ui.apply(this,[r[s],a,i]));return c},function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var t="0123456789abcdef",n="klmnopqrstuvwxyz",o={},i={},a=0;a<16;a++)o[n[a]]=t[a],i[t[a]]=n[a];var s=function(e){return"0x"+parseInt(e,10).toString(16)},l=e.__fontmetrics__.compress=function(e){var t,n,o,a,c=["{"];for(var A in e){if(t=e[A],isNaN(parseInt(A,10))?n="'"+A+"'":(A=parseInt(A,10),n=(n=s(A).slice(2)).slice(0,-1)+i[n.slice(-1)]),"number"==typeof t)t<0?(o=s(t).slice(3),a="-"):(o=s(t).slice(2),a=""),o=a+o.slice(0,-1)+i[o.slice(-1)];else{if("object"!==(0,r.A)(t))throw new Error("Don't know what to do with value type "+(0,r.A)(t)+".");o=l(t)}c.push(n+o)}return c.push("}"),c.join("")},c=e.__fontmetrics__.uncompress=function(e){if("string"!=typeof e)throw new Error("Invalid argument passed to uncompress.");for(var t,n,r,i,a={},s=1,l=a,c=[],A="",u="",d=e.length-1,p=1;p<d;p+=1)"'"==(i=e[p])?t?(r=t.join(""),t=void 0):t=[]:t?t.push(i):"{"==i?(c.push([l,r]),l={},r=void 0):"}"==i?((n=c.pop())[0][n[1]]=l,r=void 0,l=n[0]):"-"==i?s=-1:void 0===r?o.hasOwnProperty(i)?(A+=o[i],r=parseInt(A,16)*s,s=1,A=""):A+=i:o.hasOwnProperty(i)?(u+=o[i],l[r]=parseInt(u,16)*s,s=1,r=void 0,u=""):u+=i;return a},A={codePages:["WinAnsiEncoding"],WinAnsiEncoding:c("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},u={Unicode:{Courier:A,"Courier-Bold":A,"Courier-BoldOblique":A,"Courier-Oblique":A,Helvetica:A,"Helvetica-Bold":A,"Helvetica-BoldOblique":A,"Helvetica-Oblique":A,"Times-Roman":A,"Times-Bold":A,"Times-BoldItalic":A,"Times-Italic":A}},d
vendor: 14,743 bytes, line 2
2={Unicode:{"Courier-Oblique":c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":c("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":c("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":c("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:c("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:c("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":c("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:c("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":c("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":c("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":c("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};e.events.push(["addFont",function(e){var t=e.font,
vendor: 5,570 bytes, line 2
2n=d.Unicode[t.postScriptName];n&&(t.metadata.Unicode={},t.metadata.Unicode.widths=n.widths,t.metadata.Unicode.kerning=n.kerning);var r=u.Unicode[t.postScriptName];r&&(t.metadata.Unicode.encoding=r,t.encoding=r.codePages[0])}])}(bo.API),function(e){var t=function(e){for(var t=e.length,n=new Uint8Array(t),r=0;r<t;r++)n[r]=e.charCodeAt(r);return n};e.API.events.push(["addFont",function(n){var r=void 0,o=n.font,i=n.instance;if(!o.isStandardFont){if(void 0===i)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+o.postScriptName+"').");if("string"!=typeof(r=!1===i.existsFileInVFS(o.postScriptName)?i.loadFile(o.postScriptName):i.getFileFromVFS(o.postScriptName)))throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+o.postScriptName+"').");!function(n,r){r=/^\x00\x01\x00\x00/.test(r)?t(r):t(Gr(r)),n.metadata=e.API.TTFFont.open(r),n.metadata.Unicode=n.metadata.Unicode||{encoding:{},kerning:{},widths:[]},n.metadata.glyIdsUsed=[0]}(o,r)}}])}(bo),bo.API.addSvgAsImage=function(e,t,r,o,i,a,s,l){if(isNaN(t)||isNaN(r))throw zr.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(o)||isNaN(i))throw zr.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var c=document.createElement("canvas");c.width=o,c.height=i;var A=c.getContext("2d");A.fillStyle="#fff",A.fillRect(0,0,c.width,c.height);var u={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},d=this;return(Mr.canvg?Promise.resolve(Mr.canvg):n.e(661).then(n.bind(n,661))).catch(function(e){return Promise.reject(new Error("Could not load canvg: "+e))}).then(function(e){return e.default?e.default:e}).then(function(t){return t.fromString(A,e,u)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(e){return e.render(u)}).then(function(){d.addImage(c.toDataURL("image/jpeg",1),t,r,o,i,s,l)})},bo.API.putTotalPages=function(e){var t,n=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(t=new RegExp(e,"g"),n=this.internal.getNumberOfPages()):(t=new RegExp(this.pdfEscape16(e,this.internal.getFont()),"g"),n=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var o=0;o<this.internal.pages[r].length;o++)this.internal.pages[r][o]=this.internal.pages[r][o].replace(t,n);return this},bo.API.viewerPreferences=function(e,t){var n;e=e||{},t=t||!1;var o,i,a,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},l=Object.keys(s),c=[],A=0,u=0,d=0;function p(e,t){var n,r=!1;for(n=0;n<e.length;n+=1)e[n]===t&&(r=!0);return r}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,"reset"===e||!0===t){var f=l.length;for(d=0;d<f;d+=1)n[l[d]].value=n[l[d]].defaultValue,n[l[d]].explicitSet=!1}if("object"===(0,r.A)(e))for(i in e)if(a=e[i],p(l,i)&&void 0!==a){if("boolean"===n[i].type&&"boolean"==typeof a)n[i].value=a;else if("name"===n[i].type&&p(n[i].valueSet,a))n[i].value=a;else if("integer"===n[i].type&&Number.isInteger(a))n[i].value=a;else if("array"===n[i].type){for(A=0;A<a.length;A+=1)if(o=!0,1===a[A].length&&"number"==typeof a[A][0])c.push(String(a[A]-1));else if(a[A].length>1){for(u=0;
vendor: 6,064 bytes, line 2
2u<a[A].length;u+=1)"number"!=typeof a[A][u]&&(o=!1);!0===o&&c.push([a[A][0]-1,a[A][1]-1].join(" "))}n[i].value="["+c.join(" ")+"]"}else n[i].value=n[i].defaultValue;n[i].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",function(){var e,t=[];for(e in n)!0===n[e].explicitSet&&("name"===n[e].type?t.push("/"+e+" /"+n[e].value):t.push("/"+e+" "+n[e].value));0!==t.length&&this.internal.write("/ViewerPreferences\n<<\n"+t.join("\n")+"\n>>")}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this},function(e){var t=function(){var e='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',t=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),n=unescape(encodeURIComponent(e)),r=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),o=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),i=unescape(encodeURIComponent("</x:xmpmeta>")),a=n.length+r.length+o.length+t.length+i.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+a+" >>"),this.internal.write("stream"),this.internal.write(t+n+r+o+i),this.internal.write("endstream"),this.internal.write("endobj")},n=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};e.addMetadata=function(e,r){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:e,namespaceuri:r||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",n),this.internal.events.subscribe("postPutResources",t)),this}}(bo.API),function(e){var t=e.API,n=t.pdfEscape16=function(e,t){for(var n,r=t.metadata.Unicode.widths,o=["","0","00","000","0000"],i=[""],a=0,s=e.length;a<s;++a){if(n=t.metadata.characterToGlyph(e.charCodeAt(a)),t.metadata.glyIdsUsed.push(n),t.metadata.toUnicode[n]=e.charCodeAt(a),-1==r.indexOf(n)&&(r.push(n),r.push([parseInt(t.metadata.widthOfGlyph(n),10)])),"0"==n)return i.join("");n=n.toString(16),i.push(o[4-n.length],n)}return i.join("")},r=function(e){var t,n,r,o,i,a,s;for(i="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n  /Registry (Adobe)\n  /Ordering (UCS)\n  /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",r=[],a=0,s=(n=Object.keys(e).sort(function(e,t){return e-t})).length;a<s;a++)t=n[a],r.length>=100&&(i+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar",r=[]),void 0!==e[t]&&null!==e[t]&&"function"==typeof e[t].toString&&(o=("0000"+e[t].toString(16)).slice(-4),t=("0000"+(+t).toString(16)).slice(-4),r.push("<"+t+"><"+o+">"));return r.length&&(i+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar\n"),i+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};t.events.push(["putFont",function(t){!function(t){var n=t.font,o=t.out,i=t.newObject,a=t.putStream;if(n.metadata instanceof e.API.TTFFont&&"Identity-H"===n.encoding){for(var s=n.metadata.Unicode.widths,l=n.metadata.subset.encode(n.metadata.glyIdsUsed,1),c="",A=0;A<l.length;A++)c+=String.fromCharCode(l[A]);var u=i();a({data:c,addLength1:!0,objectId:u}),o("endobj");var d=i();a({data:r(n.metadata.toUnicode),addLength1:!0,objectId:d}),o("endobj");var p=i();o("<<"),o("/Type /FontDescriptor"),o("/FontName /"+ho(n.fontName)),o("/FontFile2 "+u+" 0 R"),o("/FontBBox "+e.API.PDFObject.convert(n.metadata.bbox)),o("/Flags "+n.metadata.flags),o("/StemV "+n.metadata.stemV),o("/ItalicAngle "+n.metadata.italicAngle),o("/Ascent "+n.metadata.ascender),o("/Descent "+n.metadata.decender),o("/CapHeight "+n.metadata.capHeight),o(">>"),o("endobj");var f=i();o("<<"),o("/Type /Font"),o("/BaseFont /"+ho(n.fontName)),o("/FontDescriptor "+p+" 0 R"),o("/W "+e.API.PDFObject.convert(s)),o("/CIDToGIDMap /Identity"),o("/DW 1000"),o("/Subtype /CIDFontType2"),o("/CIDSystemInfo"),o("<<"),o("/Supplement 0"),o("/Registry (Adobe)"),o("/Ordering ("+n.encoding+")"),o(">>"),o(">>"),o("endobj"),n.objectNumber=i(),o("<<"),o("/Type /Font"),o("/Subtype /Type0"),o("/ToUnicode "+d+" 0 R"),o("/BaseFont /"+ho(n.fontName)),o("/Encoding /"+n.encoding),o("/DescendantFonts ["+f+" 0 R]"),o(">>"),o("endobj"),n.isAlreadyPutted=!0}}(t)}]),t.events.push(["putFont",function(t){!function(t){var n=t.font,o=t.out,i=t.newObject,a=t.putStream;if(n.metadata instanceof e.API.TTFFont&&"WinAnsiEncoding"===n.encoding){for(var s=n.metadata.rawData,l="",c=0;c<s.length;c++)l+=String.fromCharCode(s[c]);var A=i();a({data:l,addLength1:!0,objectId:A}),o("endobj");var u=i();a({data:r(n.metadata.toUnicode),addLength1:!0,objectId:u}),o("endobj");var d=i();o("<<"),o("/Descent "+n.metadata.decender),o("/CapHeight "+n.metadata.capHeight),o("/StemV "+n.metadata.stemV),o("/Type /FontDescriptor"),o("/FontFile2 "+A+" 0 R"),o("/Flags 96"),o("/FontBBox "+e.API.PDFObject.convert(n.metadata.bbox)),o("/FontName /"+ho(n.fontName)),o("/ItalicAngle "+n.metadata.italicAngle),o("/Ascent "+n.metadata.ascender),o(">>"),o("endobj"),n.objectNumber=i();for(var p=0;p<n.metadata.hmtx.widths.length;p++)n.metadata.hmtx.widths[p]=parseInt(n.metadata.hmtx.widths[p]*(1e3/n.metadata.head.unitsPerEm));o("<</Subtype/TrueType/Type/Font/ToUnicode "+u+" 0 R/BaseFont/"+ho(n.fontName)+"/FontDescriptor "+d+" 0 R/Encoding/"+n.encoding+" /FirstChar 29 /LastChar 255 /Widths "+e.API.PDFObject.convert(n.metadata.hmtx.widths)+">>"),o("endobj"),n.isAlreadyPutted=!0}}(t)}]);var o=function(e){var t,r=e.text||"",o=e.x,i=e.y,a=e.options||{},s=e.mutex||{},l=s.pdfEscape,c=s.activeFontKey,A=s.fonts,u=c,d="",p=0,f="",h=A[u].encoding;if("Identity-H"!==A[u].encoding)return{text:r,x:o,y:i,options:a,mutex:s};for(f=r,u=c,Array.isArray(r)&&(f=r[0]),p=0;p<f.length;p+=1)A[u].metadata.hasOwnProperty("cmap")&&(t=A[u].metadata.cmap.unicode.codeMap[f[p].charCo
vendor: 34,314 bytes, line 2
2deAt(0)]),t||f[p].charCodeAt(0)<256&&A[u].metadata.hasOwnProperty("Unicode")?d+=f[p]:d+="";var m="";return parseInt(u.slice(1))<14||"WinAnsiEncoding"===h?m=l(d,u).split("").map(function(e){return e.charCodeAt(0).toString(16)}).join(""):"Identity-H"===h&&(m=n(d,A[u])),s.isHex=!0,{text:m,x:o,y:i,options:a,mutex:s}};t.events.push(["postProcessText",function(e){var t=e.text||"",n=[],r={text:t,x:e.x,y:e.y,options:e.options,mutex:e.mutex};if(Array.isArray(t)){var i=0;for(i=0;i<t.length;i+=1)Array.isArray(t[i])&&3===t[i].length?n.push([o(Object.assign({},r,{text:t[i][0]})).text,t[i][1],t[i][2]]):n.push(o(Object.assign({},r,{text:t[i]})).text);e.text=n}else e.text=o(Object.assign({},r,{text:t})).text}])}(bo),function(e){var t=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0};e.existsFileInVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]},e.addFileToVFS=function(e,n){return t.call(this),this.internal.vFS[e]=n,this},e.getFileFromVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]?this.internal.vFS[e]:null}}(bo.API),function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(e){var n,r,o,i,a,s,l,c=t,A=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],u=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],d={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},p={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},f=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],h=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),m=!1,g=0;this.__bidiEngine__={};var y=function(e){var t=e.charCodeAt(),n=t>>8,r=p[n];return void 0!==r?c[256*r+(255&t)]:252===n||253===n?"AL":h.test(n)?"L":8===n?"R":"N"},w=function(e){for(var t,n=0;n<e.length;n++){if("L"===(t=y(e.charAt(n))))return!1;if("R"===t)return!0}return!1},v=function(e,t,a,s){var l,c,A,u,d=t[s];switch(d){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":m=!1;break;case"N":case"AN":break;case"EN":m&&(d="AN");break;case"AL":m=!0,d="R";break;case"WS":case"BN":d="N";break;case"CS":s<1||s+1>=t.length||"EN"!==(l=a[s-1])&&"AN"!==l||"EN"!==(c=t[s+1])&&"AN"!==c?d="N":m&&(c="AN"),d=c===l?c:"N";break;case"ES":d="EN"===(l=s>0?a[s-1]:"B")&&s+1<t.length&&"EN"===t[s+1]?"EN":"N";break;case"ET":if(s>0&&"EN"===a[s-1]){d="EN";break}if(m){d="N";break}for(A=s+1,u=t.length;A<u&&"ET"===t[A];)A++;d=A<u&&"EN"===t[A]?"EN":"N";break;case"NSM":if(o&&!i){for(u=t.length,A=s+1;A<u&&"NSM"===t[A];)A++;if(A<u){var p=e[s],f=p>=1425&&p<=2303||64286===p;if(l=t[A],f&&("R"===l||"AL"===l)){d="R";break}}}d=s<1||"B"===(l=t[s-1])?"N":a[s-1];break;case"B":m=!1,n=!0,d=g;break;case"S":r=!0,d="N"}return d},b=function(e,t,n){var r=e.split("");return n&&x(r,n,{hiLevel:g}),r.reverse(),t&&t.reverse(),r.join("")},x=function(e,t,o){var i,a,s,l,c,p=-1,f=e.length,h=0,w=[],b=g?u:A,x=[];for(m=!1,n=!1,r=!1,a=0;a<f;a++)x[a]=y(e[a]);for(s=0;s<f;s++){if(c=h,w[s]=v(e,x,w,s),i=240&(h=b[c][d[w[s]]]),h&=15,t[s]=l=b[h][5],i>0)if(16===i){for(a=p;a<s;a++)t[a]=1;p=-1}else p=-1;if(b[h][6])-1===p&&(p=s);else if(p>-1){for(a=p;a<s;a++)t[a]=l;p=-1}"B"===x[s]&&(t[s]=0),o.hiLevel|=l}r&&function(e,t,n){for(var r=0;r<n;r++)if("S"===e[r]){t[r]=g;for(var o=r-1;o>=0&&"WS"===e[o];o--)t[o]=g}}(x,t,f)},_=function(e,t,r,o,i){if(!(i.hiLevel<e)){if(1===e&&1===g&&!n)return t.reverse(),void(r&&r.reverse());for(var a,s,l,c,A=t.length,u=0;u<A;){if(o[u]>=e){for(l=u+1;l<A&&o[l]>=e;)l++;for(c=u,s=l-1;c<s;c++,s--)a=t[c],t[c]=t[s],t[s]=a,r&&(a=r[c],r[c]=r[s],r[s]=a);u=l}u++}}},B=function(e,t,n){var r=e.split(""),o={hiLevel:g};return n||(n=[]),x(r,n,o),function(e,t,n){if(0!==n.hiLevel&&l)for(var r,o=0;o<e.length;o++)1===t[o]&&(r=f.indexOf(e[o]))>=0&&(e[o]=f[r+1])}(r,n,o),_(2,r,t,n,o),_(1,r,t,n,o),r.join("")};return this.__bidiEngine__.doBidiReorder=function(e,t,n){if(function(e,t){if(t)for(var n=0;n<e.length;n++)t[n]=n;void 0===i&&(i=w(e)),void 0===s&&(s=w(e))}(e,t),o||!a||s)if(o&&a&&i^s)g=i?1:0,e=b(e,t,n);else if(!o&&a&&s)g=i?1:0,e=B(e,t,n),e=b(e,t);else if(!o||i||a||s){if(o&&!a&&i^s)e=b(e,t),i?(g=0,e=B(e,t,n)):(g=1,e=B(e,t,n),e=b(e,t));else if(o&&i&&!a&&s)g=1,e=B(e,t,n),e=b(e,t);else if(!o&&!a&&i^s){var r=l;i?(g=1,e=B(e,t,n),g=0,l=!1,e=B(e,t,n),l=r):(g=0,e=B(e,t,n),e=b(e,t),g=1,l=!1,e=B(e,t,n),l=r,e=b(e,t))}}else g=0,e=B(e,t,n);else g=i?1:0,e=B(e,t,n);return e},this.__bidiEngine__.setOptions=function(e){e&&(o=e.isInputVisual,a=e.isOutputVisual,i=e.isInputRtl,s=e.isOutputRtl,l=e.isSymmetricSwapping)},this.__bidiEngine__.setOptions(e),this.__bidiEngine__};var t=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],n=new e.__bidiEngine__({isInputVisual:!0});e.API.events.push(["postProcessText",function(e){var t=e.text;e.x,e.y;var r=e.options||{};e.mutex,r.lang;var o=[];if(r.isInputVisual="boolean"!=typeof r.isInputVisual||r.isInputVisual,n.setOptions(r),"[object Array]"===Object.prototype.toString.call(t)){var i=0;for(o=[],i=0;i<t.length;i+=1)"[object Array]"===Object.prototype.toString.call(t[i])?o.push([n.doBidiReorder(t[i][0]),t[i][1],t[i][2]]):o.push([n.doBidiReorder(t[i])]);e.text=o}else e.text=n.doBidiReorder(t);n.setOptions({isInputVisual:!0})}])}(bo),bo.API.TTFFont=function(){function e(e){var t;if(this.rawData=e,t=this.contents=new Xi(e),this.contents.pos=4,"ttcf"===t.readString(4))throw new Error("TTCF not supported.");t.pos=0,this.parse(),this.subset=new ma(this),this.registerTTF()}return e.open=function(t){return new e(t)},e.prototype.parse=function(){return this.directory=new Ji(this.contents),this.head=new ta(this),this.name=new la(this),this.cmap=new ra(this),this.toUnicode={},this.hhea=new oa(this),this.maxp=new ca(this),this.hmtx=new Aa(this),this.post=new aa(this),this.os2=new ia(this),this.loca=new ha(this),this.glyf=new da(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},e.prototype.registerTTF=function(){var e,t,n,r,o;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var t,n,r,o;for(o=[],t=0,n=(r=this.bbox).length;t<n;t++)e=r[t],o.push(Math.round(e*this.scaleFactor));return o}.call(this),this.stemV=0,this.post.exists?(n=255&(r=this.post.italic_angle),32768&(t=r>>16)&&(t=-(1+(65535^t))),this.italicAngle=+(t+"."+n)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=1===(o=this.familyClass)||2===o||3===o||4===o||5===o||7===o,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},e.prototype.characterToGlyph=function(e){var t;return(null!=(t=this.cmap.unicode)?t.codeMap[e]:void 0)||0},e.prototype.widthOfGlyph=function(e){var t;return t=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(e).advance*t},e.prototype.widthOfString=function(e,t,n){var r,o,i,a;for(i=0,o=0,a=(e=""+e).length;0<=a?o<a:o>a;o=0<=a?++o:--o)r=e.charCodeAt(o),i+=this.widthOfGlyph(this.characterToGlyph(r))+n*(1e3/t)||0;return i*(t/1e3)},e.prototype.lineHeight=function(e,t){var n;return null==t&&(t=!1),n=t?this.lineGap:0,(this.ascender+n-this.decender)/1e3*e},e}();var Yi,Xi=function(){function e(e){this.data=null!=e?e:[],this.pos=0,this.length=this.data.length}return e.prototype.readByte=function(){return this.data[this.pos++]},e.prototype.writeByte=function(e){return this.data[this.pos++]=e},e.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},e.prototype.writeUInt32=function(e){return this.writeByte(e>>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt32=function(){var e;return(e=this.readUInt32())>=2147483648?e-4294967296:e},e.prototype.writeInt32=function(e){return e<0&&(e+=4294967296),this.writeUInt32(e)},e.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},e.prototype.writeUInt16=function(e){return this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt16=function(){var e;return(e=this.readUInt16())>=32768?e-65536:e},e.prototype.writeInt16=function(e){return e<0&&(e+=65536),this.writeUInt16(e)},e.prototype.readString=function(e){var t,n;for(n=[],t=0;0<=e?t<e:t>e;t=0<=e?++t:--t)n[t]=String.fromCharCode(this.readByte());return n.join("")},e.prototype.writeString=function(e){var t,n,r;for(r=[],t=0,n=e.length;0<=n?t<n:t>n;t=0<=n?++t:--t)r.push(this.writeByte(e.charCodeAt(t)));return r},e.prototype.readShort=function(){return this.readInt16()},e.prototype.writeShort=function(e){return this.writeInt16(e)},e.prototype.readLongLong=function(){var e,t,n,r,o,i,a,s;return e=this.readByte(),t=this.readByte(),n=this.readByte(),r=this.readByte(),o=this.readByte(),i=this.readByte(),a=this.readByte(),s=this.readByte(),128&e?-1*(72057594037927940*(255^e)+281474976710656*(255^t)+1099511627776*(255^n)+4294967296*(255^r)+16777216*(255^o)+65536*(255^i)+256*(255^a)+(255^s)+1):72057594037927940*e+281474976710656*t+1099511627776*n+4294967296*r+16777216*o+65536*i+256*a+s},e.prototype.writeLongLong=function(e){var t,n;return t=Math.floor(e/4294967296),n=4294967295&e,this.writeByte(t>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t),this.writeByte(n>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n)},e.prototype.readInt=function(){return this.readInt32()},e.prototype.writeInt=function(e){return this.writeInt32(e)},e.prototype.read=function(e){var t,n;for(t=[],n=0;0<=e?n<e:n>e;n=0<=e?++n:--n)t.push(this.readByte());return t},e.prototype.write=function(e){var t,n,r,o;for(o=[],n=0,r=e.length;n<r;n++)t=e[n],o.push(this.writeByte(t));return o},e}(),Ji=function(){var e;function t(e){var t,n,r;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},n=0,r=this.tableCount;0<=r?n<r:n>r;n=0<=r?++n:--n)t={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[t.tag]=t}return t.prototype.encode=function(t){var n,r,o,i,a,s,l,c,A,u,d,p,f;for(f in d=Object.keys(t).length,s=Math.log(2),A=16*Math.floor(Math.log(d)/s),i=Math.floor(A/s),c=16*d-A,(r=new Xi).writeInt(this.scalarType),r.writeShort(d),r.writeShort(A),r.writeShort(i),r.writeShort(c),o=16*d,l=r.pos+o,a=null,p=[],t)for(u=t[f],r.writeString(f),r.writeInt(e(u)),r.writeInt(l),r.writeInt(u.length),p=p.concat(u),"head"===f&&(a=l),l+=u.length;l%4;)p.push(0),l++;return r.write(p),n=2981146554-e(r.data),r.pos=a+8,r.writeUInt32(n),r.data},e=function(e){var t,n,r,o;for(e=ua.call(e);e.length%4;)e.push(0);for(r=new Xi(e),n=0,t=0,o=e.length;t<o;t=t+=4)n+=r.readUInt32();return 4294967295&n},t}(),Zi={}.hasOwnProperty,ea=function(e,t){for(var n in t)Zi.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e};Yi=function(){function e(e){var t;this.file=e,t=this.file.directory.tables[this.tag],this.exists=!!t,t&&(this.offset=t.offset,this.length=t.length,this.parse(this.file.contents))}return e.prototype.parse=function(){},e.prototype.encode=function(){},e.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},e}();var ta=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return ea(e,Yi),e.prototype.tag="head",e.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.revision=e.readInt(),this.checkSumAdjustment=e.readInt(),this.magicNumber=e.readInt(),this.flags=e.readShort(),this.unitsPerEm=e.readShort(),this.created=e.readLongLong(),this.modified=e.readLongLong(),this.xMin=e.readShort(),this.yMin=e.readShort(),this.xMax=e.readShort(),this.yMax=e.readShort(),this.macStyle=e.readShort(),this.lowestRecPPEM=e.readShort(),this.fontDirectionHint=e.readShort(),this.indexToLocFormat=e.readShort(),this.glyphDataFormat=e.readShort()},e.prototype.encode=function(e){var t;return(t=new Xi).writeInt(this.version),t.writeInt(this.revision),t.writeInt(this.checkSumAdjustment),t.writeInt(this.magicNumber),t.writeShort(this.flags),t.writeShort(this.unitsPerEm),t.writeLongLong(this.created),t.writeLongLong(this.modified),t.writeShort(this.xMin),t.writeShort(this.yMin),t.writeShort(this.xMax),t.writeShort(this.yMax),t.writeShort(this.macStyle),t.writeShort(this.lowestRecPPEM),t.writeShort(this.fontDirectionHint),t.writeShort(e),t.writeShort(this.glyphDataFormat),t.data},e}(),na=function(){function e(e,t){var n,r,o,i,a,s,l,c,A,u,d,p,f,h,m,g,y;switch(this.platformID=e.readUInt16(),this.encodingID=e.readShort(),this.offset=t+e.readInt(),A=e.pos,e.pos=this.offset,this.format=e.readUInt16(),this.length=e.readUInt16(),this.language=e.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(s=0;s<256;++s)this.codeMap[s]=e.readByte();break;case 4:for(d=e.readUInt16(),u=d/2,e.pos+=6,o=function(){var t,n;for(n=[],s=t=0;0<=u?t<u:t>u;s=0<=u?++t:--t)n.push(e.readUInt16());return n}(),e.pos+=2,f=function(){var t,n;for(n=[],s=t=0;0<=u?t<u:t>u;s=0<=u?++t:--t)n.push(e.readUInt16());return n}(),l=function(){var t,n;for(n=[],s=t=0;0<=u?t<u:t>u;s=0<=u?++t:--t)n.push(e.readUInt16());return n}(),c=function(){var t,n;for(n=[],s=t=0;0<=u?t<u:t>u;s=0<=u?++t:--t)n.push(e.readUInt16());return n}(),r=(this.length-e.pos+this.offset)/2,a=function(){var t,n;for(n=[],s=t=0;0<=r?t<r:t>r;s=0<=r?++t:--t)n.push(e.readUInt16());return n}(),s=m=0,y=o.length;m<y;s=++m)for(h=o[s],n=g=p=f[s];p<=h?g<=h:g>=h;n=p<=h?++g:--g)0===c[s]?i=n+l[s]:0!==(i=a[c[s]/2+(n-p)-(u-s)]||0)&&(i+=l[s]),this.codeMap[n]=65535&i}e.pos=A}return e.encode=function(e,t){var n,r,o,i,a,s,l,c,A,u,d,p,f,h,m,g,y,w,v,b,x,_,B,C,k,S,j,E,F,N,U,L,I,P,Q,T,D,O,R,M,H,z,K,$,V,q;switch(E=new Xi,i=Object.keys(e).sort(function(e,t){return e-t}),t){case"macroman":for(f=0,h=function(){var e=[];for(p=0;p<256;++p)e.push(0);return e}(),g={0:0},o={},F=0,I=i.length;F<I;F++)null==g[K=e[r=i[F]]]&&(g[K]=++f),o[r]={old:e[r],new:g[e[r]]},h[r]=g[e[r]];return E.writeUInt16(1),E.writeUInt16(0),E.writeUInt32(12),E.writeUInt16(0),E.writeUInt16(262),E.writeUInt16(0),E.write(h),{charMap:o,subtable:E.data,maxGlyphID:f+1};case"unicode":for(S=[],A=[],y=0,g={},n={},m=l=null,N=0,P=i.length;N<P;N++)null==g[v=e[r=i[N]]]&&(g[v]=++y),n[r]={old:v,new:g[v]},a=g[v]-r,null!=m&&a===l||(m&&A.push(m),S.push(r),l=a),m=r;for(m&&A.push(m),A.push(65535),S.push(65535),C=2*(B=S.length),_=2*Math.pow(Math.log(B)/Math.LN2,2),u=Math.log(_/2)/Math.LN2,x=2*B-_,s=[],b=[],d=[],p=U=0,Q=S.length;U<Q;p=++U){if(k=S[p],c=A[p],65535===k){s.push(0),b.push(0);break}if(k-(j=n[k].new)>=32768)for(s.push(0),b.push(2*(d.length+B-p)),r=L=k;k<=c?L<=c:L>=c;r=k<=c?++L:--L)d.push(n[r].new);else s.push(j-k),b.push(0)}for(E.writeUInt16(3),E.writeUInt16(1),E.writeUInt32(12),E.writeUInt16(4),E.writeUInt16(16+8*B+2*d.length),E.writeUInt16(0),E.writeUInt16(C),E.writeUInt16(_),E.writeUInt16(u),E.writeUInt16(x),H=0,T=A.length;H<T;H++)r=A[H],E.writeUInt16(r);for(E.writeUInt16(0),z=0,D=S.length;z<D;z++)r=S[z],E.writeUInt16(r);for($=0,O=s.length;$<O;$++)a=s[$],E.writeUInt16(a);for(V=0,R=b.length;V<R;V++)w=b[V],E.writeUInt16(w);for(q=0,M=d.length;q<M;q++)f=d[q],E.writeUInt16(f);return{charMap:n,subtable:E.data,maxGlyphID:y+1}}},e}(),ra=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return ea(e,Yi),e.prototype.tag="cmap",e.prototype.parse=function(e){var t,n,r;for(e.pos=this.offset,this.version=e.readUInt16(),r=e.readUInt16(),this.tables=[],this.unicode=null,n=0;0<=r?n<r:n>r;n=0<=r?++n:--n)t=new na(e,this.offset),this.tables.push(t),t.isUnicode&&null==this.unicode&&(this.unicode=t);return!0},e.encode=function(e,t){var n,r;return null==t&&(t="macroman"),n=na.encode(e,t),(r=new Xi).writeUInt16(0),r.writeUInt16(1),n.table=r.data.concat(n.subtable),n},e}(),oa=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return ea(e,Yi),e.prototype.tag="hhea",e.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.ascender=e.readShort(),this.decender=e.readShort(),this.lineGap=e.readShort(),this.advanceWidthMax=e.readShort(),this.minLeftSideBearing=e.readShort(),this.minRightSideBearing=e.readShort(),this.xMaxExtent=e.readShort(),this.caretSlopeRise=e.readShort(),this.caretSlopeRun=e.readShort(),this.caretOffset=e.readShort(),e.pos+=8,this.metricDataFormat=e.readShort(),this.numberOfMetrics=e.readUInt16()},e}(),ia=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return ea(e,Yi),e.prototype.tag="OS/2",e.prototype.parse=function(e){if(e.pos=this.offset,this.version=e.readUInt16(),this.averageCharWidth=e.readShort(),this.weightClass=e.readUInt16(),this.widthClass=e.readUInt16(),this.type=e.readShort(),this.ySubscriptXSize=e.readShort(),this.ySubscriptYSize=e.readShort(),this.ySubscriptXOffset=e.readShort(),this.ySubscriptYOffset=e.readShort(),this.ySuperscriptXSize=e.readShort(),this.ySuperscriptYSize=e.readShort(),this.ySuperscriptXOffset=e.readShort(),this.ySuperscriptYOffset=e.readShort(),this.yStrikeoutSize=e.readShort(),this.yStrikeoutPosition=e.readShort(),this.familyClass=e.readShort(),this.panose=function(){var t,n;for(n=[],t=0;t<10;++t)n.push(e.readByte());return n}(),this.charRange=function(){var t,n;for(n=[],t=0;t<4;++t)n.push(e.readInt());return n}(),this.vendorID=e.readString(4),this.selection=e.readShort(),this.firstCharIndex=e.readShort(),this.lastCharIndex=e.readShort(),this.version>0&&(this.ascent=e.readShort(),this.descent=e.readShort(),this.lineGap=e.readShort(),this.winAscent=e.readShort(),this.winDescent=e.readShort(),this.codePageRange=function(){var t,n;for(n=[],t=0;t<2;t=++t)n.push(e.readInt());return n}(),this.version>1))return this.xHeight=e.readShort(),this.capHeight=e.readShort(),this.defaultChar=e.readShort(),this.breakChar=e.readShort(),this.maxContext=e.readShort()},e}(),aa=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return ea(e,Yi),e.prototype.tag="post",e.prototype.parse=function(e){var t,n,r;switch(e.pos=this.offset,this.format=e.readInt(),this.italicAngle=e.readInt(),this.underlinePosition=e.readShort(),this.underlineThickness=e.readShort(),this.isFixedPitch=e.readInt(),this.minMemType42=e.readInt(),this.maxMemType42=e.readInt(),this.minMemType1=e.readInt(),this.maxMemType1=e.readInt(),this.format){case 65536:case 196608:break;case 131072:var o;for(n=e.readUInt16(),this.glyphNameIndex=[],o=0;0<=n?o<n:o>n;o=0<=n?++o:--o)this.glyphNameIndex.push(e.readUInt16());for(this.names=[],r=[];e.pos<this.offset+this.length;)t=e.readByte(),r.push(this.names.push(e.readString(t)));return r;case 151552:return n=e.readUInt16(),this.offsets=e.read(n);case 262144:return this.map=function(){var t,n,r;for(r=[],o=t=0,n=this.file.maxp.numGlyphs;0<=n?t<n:t>n;o=0<=n?++t:--t)r.push(e.readUInt32());return r}.call(this)}},e}(),sa=function(e,t){this.raw=e,this.length=e.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},la=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return ea(e,Yi),e.prototype.tag="name",e.prototype.parse=function(e){var t,n,r,o,i,a,s,l,c,A,u;for(e.pos=this.offset,e.readShort(),t=e.readShort(),a=e.readShort(),n=[],o=0;0<=t?o<t:o>t;o=0<=t?++o:--o)n.push({platformID:e.readShort(),encodingID:e.readShort(),languageID:e.readShort(),nameID:e.readShort(),length:e.readShort(),offset:this.offset+a+e.readShort()});for(s={},o=c=0,A=n.length;c<A;o=++c)r=n[o],e.pos=r.offset,l=e.readString(r.length),i=new sa(l,r),null==s[u=r.nameID]&&(s[u]=[]),s[r.nameID].push(i);this.strings=s,this.copyright=s[0],this.fontFamily=s[1],this.fontSubfamily=s[2],this.uniqueSubfamily=s[3],this.fontName=s[4],this.version=s[5];try{this.postscriptName=s[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(e){this.postscriptName=s[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=s[7],this.manufacturer=s[8],this.designer=s[9],this.description=s[10],this.vendorUrl=s[11],this.designerUrl=s[12],this.license=s[13],this.licenseUrl=s[14],this.preferredFamily=s[15],this.preferredSubfamily=s[17],this.compatibleFull=s[18],this.sampleText=s[19]},e}(),ca=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return ea(e,Yi),e.prototype.tag="maxp",e.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.numGlyphs=e.readUInt16(),this.maxPoints=e.readUInt16(),this.maxContours=e.readUInt16(),this.maxCompositePoints=e.readUInt16(),this.maxComponentContours=e.readUInt16(),this.maxZones=e.readUInt16(),this.maxTwilightPoints=e.readUInt16(),this.maxStorage=e.readUInt16(),this.maxFunctionDefs=e.readUInt16(),this.maxInstructionDefs=e.readUInt16(),this.maxStackElements=e.readUInt16(),this.maxSizeOfInstructions=e.readUInt16(),this.maxComponentElements=e.readUInt16(),this.maxComponentDepth=e.readUInt16()},e}(),Aa=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return ea(e,Yi),e.prototype.tag="hmtx",e.prototype.parse=function(e){var t,n,r,o,i,a,s;for(e.pos=this.offset,this.metrics=[],t=0,a=this.file.hhea.numberOfMetrics;0<=a?t<a:t>a;t=0<=a?++t:--t)this.metrics.push({advance:e.readUInt16(),lsb:e.readInt16()});for(r=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var n,o;for(o=[],t=n=0;0<=r?n<r:n>r;t=0<=r?++n:--n)o.push(e.readInt16());return o}(),this.widths=function(){var e,t,n,r;for(r=[],e=0,t=(n=this.metrics).length;e<t;e++)o=n[e],r.push(o.advance);return r}.call(this),n=this.widths[this.widths.length-1],s=[],t=i=0;0<=r?i<r:i>r;t=0<=r?++i:--i)s.push(this.widths.push(n));return s},e.prototype.forGlyph=function(e){return e in this.metrics?this.metrics[e]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[e-this.metrics.length]}},e}(),ua=[].slice,da=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return ea(e,Yi),e.prototype.tag="glyf",e.prototype.parse=function(){return this.cache={}},e.prototype.glyphFor=function(e){var t,n,r,o,i,a,s,l,c,A;return e in this.cache?this.cache[e]:(o=this.file.loca,t=this.file.contents,n=o.indexOf(e),0===(r=o.lengthOf(e))?this.cache[e]=null:(t.pos=this.offset+n,i=(a=new Xi(t.read(r))).readShort(),l=a.readShort(),A=a.readShort(),s=a.readShort(),c=a.readShort(),this.cache[e]=-1===i?new fa(a,l,A,s,c):new pa(a,i,l,A,s,c),this.cache[e]))},e.prototype.encode=function(e,t,n){var r,o,i,a,s;for(i=[],o=[],a=0,s=t.length;a<s;a++)r=e[t[a]],o.push(i.length),r&&(i=i.concat(r.encode(n)));return o.push(i.length),{table:i,offsets:o}},e}(),pa=function(){function e(e,t,n,r,o,i){this.raw=e,this.numberOfContours=t,this.xMin=n,this.yMin=r,this.xMax=o,this.yMax=i,this.compound=!1}return e.prototype.encode=function(){return this.raw.data},e}(),fa=function(){function e(e,t,n,r,o){var i,a;for(this.raw=e,this.xMin=t,this.yMin=n,this.xMax=r,this.yMax=o,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],i=this.raw;a=i.readShort(),this.glyphOffsets.push(i.pos),this.glyphIDs.push(i.readUInt16()),32&a;)i.pos+=1&a?4:2,128&a?i.pos+=8:64&a?i.pos+=4:8&a&&(i.pos+=2)}return e.prototype.encode=function(){var e,t,n;for(t=new Xi(ua.call(this.raw.data)),e=0,n=this.glyphIDs.length;e<n;++e)t.pos=this.glyphOffsets[e];return t.data},e}(),ha=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return ea(e,Yi),e.prototype.tag="loca",e.prototype.parse=function(e){var t,n;return e.pos=this.offset,t=this.file.head.indexToLocFormat,this.offsets=0===t?function(){var t,r;for(r=[],n=0,t=this.length;n<t;n+=2)r.push(2*e.readUInt16());return r}.call(this):function(){var t,r;for(r=[],n=0,t=this.length;n<t;n+=4)r.push(e.readUInt32());return r}.call(this)},e.prototype.indexOf=function(e){return this.offsets[e]},e.prototype.lengthOf=function(e){return this.offsets[e+1]-this.offsets[e]},e.prototype.encode=function(e,t){for(var n=new Uint32Array(this.offsets.length),r=0,o=0,i=0;i<n.length;++i)if(n[i]=r,o<t.length&&t[o]==i){++o,n[i]=r;var a=this.offsets[i],s=this.offsets[i+1]-a;s>0&&(r+=s)}for(var l=new Array(4*n.length),c=0;c<n.length;
2++c)l[4*c+3]=255&n[c],l[4*c+2]=(65280&n[c])>>8,l[4*c+1]=(16711680&n[c])>>16,l[4*c]=(4278190080&n[c])>>24;return l},e}(),ma=function(){function e(e){this.font=e,this.subset={},this.unicodes={},this.next=33}return e.prototype.generateCmap=function(){var e,t,n,r,o;for(t in r=this.font.cmap.tables[0].codeMap,e={},o=this.subset)n=o[t],e[t]=r[n];return e},e.prototype.glyphsFor=function(e){var t,n,r,o,i,a,s;for(r={},i=0,a=e.length;i<a;i++)r[o=e[i]]=this.font.glyf.glyphFor(o);for(o in t=[],r)(null!=(n=r[o])?n.compound:void 0)&&t.push.apply(t,n.glyphIDs);if(t.length>0)for(o in s=this.glyphsFor(t))n=s[o],r[o]=n;return r},e.prototype.encode=function(e,t){var n,r,o,i,a,s,l,c,A,u,d,p,f,h,m;for(r in n=ra.encode(this.generateCmap(),"unicode"),i=this.glyphsFor(e),d={0:0},m=n.charMap)d[(s=m[r]).old]=s.new;for(p in u=n.maxGlyphID,i)p in d||(d[p]=u++);return c=function(e){var t,n;for(t in n={},e)n[e[t]]=t;return n}(d),A=Object.keys(c).sort(function(e,t){return e-t}),f=function(){var e,t,n;for(n=[],e=0,t=A.length;e<t;e++)a=A[e],n.push(c[a]);return n}(),o=this.font.glyf.encode(i,f,d),l=this.font.loca.encode(o.offsets,f),h={cmap:this.font.cmap.raw(),glyf:o.table,loca:l,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(t)},this.font.os2.exists&&(h["OS/2"]=this.font.os2.raw()),this.font.directory.encode(h)},e}();bo.API.PDFObject=function(){var e;function t(){}return e=function(e,t){return(Array(t+1).join("0")+e).slice(-t)},t.convert=function(n){var r,o,i,a;if(Array.isArray(n))return"["+function(){var e,o,i;for(i=[],e=0,o=n.length;e<o;e++)r=n[e],i.push(t.convert(r));return i}().join(" ")+"]";if("string"==typeof n)return"/"+n;if(null!=n?n.isString:void 0)return"("+n+")";if(n instanceof Date)return"(D:"+e(n.getUTCFullYear(),4)+e(n.getUTCMonth(),2)+e(n.getUTCDate(),2)+e(n.getUTCHours(),2)+e(n.getUTCMinutes(),2)+e(n.getUTCSeconds(),2)+"Z)";if("[object Object]"==={}.toString.call(n)){for(o in i=["<<"],n)a=n[o],i.push("/"+o+" "+t.convert(a));return i.push(">>"),i.join("\n")}return""+n},t}()},5338:(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(1247)},6221:(e,t,n)=>{"use strict";var r=n(6540);function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;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."}function i(){}var a={d:{f:i,r:function(){throw Error(o(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},s=Symbol.for("react.portal"),l=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(o(299));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:s,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.flushSync=function(e){var t=l.T,n=a.p;try{if(l.T=null,a.p=2,e)return e()}finally{l.T=t,a.p=n,a.d.f()}},t.preconnect=function(e,t){"string"==typeof e&&(t=t?"string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:null,a.d.C(e,t))},t.prefetchDNS=function(e){"string"==typeof e&&a.d.D(e)},t.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var n=t.as,r=c(n,t.crossOrigin),o="string"==typeof t.integrity?t.integrity:void 0,i="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===n?a.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:r,integrity:o,fetchPriority:i}):"script"===n&&a.d.X(e,{crossOrigin:r,integrity:o,fetchPriority:i,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},t.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var n=c(t.as,t.crossOrigin);a.d.M(e,{crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0})}}else null==t&&a.d.M(e)},t.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var n=t.as,r=c(n,t.crossOrigin);a.d.L(e,n,{crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"str
2ing"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},t.preloadModule=function(e,t){if("string"==typeof e)if(t){var n=c(t.as,t.crossOrigin);a.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0})}else a.d.m(e)},t.requestFormReset=function(e){a.d.r(e)},t.unstable_batchedUpdates=function(e,t){return e(t)},t.useFormState=function(e,t,n){return l.H.useFormState(e,t,n)},t.useFormStatus=function(){return l.H.useHostTransitionStatus()},t.version="19.1.1"},6314:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<e.length;c++){var A=[].concat(e[c]);r&&a[A[0]]||(void 0!==i&&(void 0===A[5]||(A[1]="@layer".concat(A[5].length>0?" ".concat(A[5]):""," {").concat(A[1],"}")),A[5]=i),n&&(A[2]?(A[1]="@media ".concat(A[2]," {").concat(A[1],"}"),A[2]=n):A[2]=n),o&&(A[4]?(A[1]="@supports (".concat(A[4],") {").concat(A[1],"}"),A[4]=o):A[4]="".concat(o)),t.push(A))}},t}},6540:(e,t,n)=>{"use strict";e.exports=n(9869)},7651:(e,t,n)=>{"use strict";e.exports=n.p+"4114cd65a487c6a6ad6d.woff2"},7659:e=>{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},7734:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(1601),o=n.n(r),i=n(6314),a=n.n(i),s=n(4417),l=n.n(s),c=new URL(n(1930),n.b),A=new URL(n(7651),n.b),u=a()(o()),d=l()(c),p=l()(A);u.push([e.id,`/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */\n@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){#main *,#main :before,#main :after,#main ::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,#main :host{--font-sans:"Rubik",ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-800:oklch(44.4% .177 26.899);--color-yellow-500:oklch(79.5% .184 86.047);--color-green-600:oklch(62.7% .194 149.214);--color-green-700:oklch(52.7% .154 150.069);--color-cyan-700:oklch(52% .105 223.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-950:oklch(28.2% .091 267.935);--color-rose-700:oklch(51.4% .222 16.935);--color-slate-100:oklch(96.8% .007 247.896);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-zinc-100:oklch(96.7% .001 286.375);--color-zinc-300:oklch(87.1% .006 286.286);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-xs:20rem;--container-lg:32rem;--container-2xl:42rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;
2--text-base--line-height:calc(1.5/1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height:calc(2.25/1.875);--text-6xl:3.75rem;--text-6xl--line-height:1;--font-weight-light:300;--font-weight-normal:400;--font-weight-semibold:600;--font-weight-bold:700;--tracking-wide:.025em;--leading-relaxed:1.625;--radius-md:.375rem;--radius-lg:.5rem;--radius-2xl:1rem;--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--font-rubik-medium:"Rubik Medium",ui-sans-serif,system-ui,sans-serif;--color-gwr-gray:#f0f0f8;--color-gwr-light-blue:#14ade4;--color-gwr-green:#45ad49;--color-gwr-gold:#b8923c;--color-gwr-red:#df3a56}}@layer base{#main *,#main :after,#main :before,#main ::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}#main ::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,#main :host{-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}#main hr{height:0;color:inherit;border-top-width:1px}#main abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}#main h1,#main h2,#main h3,#main h4,#main h5,#main h6{font-size:inherit;font-weight:inherit}#main a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}#main b,#main strong{font-weight:bolder}#main code,#main kbd,#main samp,#main pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}#main small{font-size:80%}#main sub,#main sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}#main sub{bottom:-.25em}#main sup{top:-.5em}#main table{text-indent:0;border-color:inherit;border-collapse:collapse}#main :-moz-focusring{outline:auto}#main progress{vertical-align:baseline}#main summary{display:list-item}#main ol,#main ul,#main menu{list-style:none}#main img,#main svg,#main video,#main canvas,#main audio,#main iframe,#main embed,#main object{vertical-align:middle;display:block}#main img,#main video{max-width:100%;height:auto}#main button,#main input,#main select,#main optgroup,#main textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}#main ::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}#main :where(select:is([multiple],[size])) optgroup{font-weight:bolder}#main :where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}#main ::file-selector-button{margin-inline-end:4px}#main ::-moz-placeholder{opacity:1}#main ::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){#main ::-moz-placeholder{color:currentColor}#main ::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){#main ::-moz-placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}#main ::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}#main textarea{resize:vertical}#main ::-webkit-search-decoration{-webkit-appearance:none}#main ::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}#main ::-webkit-datetime-edit{display:inline-flex}#main ::-webkit-datetime-edit-fields-wrapper{padding:0}#main ::-webkit-datetime-edit{padding-block:0}#main ::-webkit-datetime-edit-year-field{padding-block:0}#main ::-webkit-datetime-edit-month-field{padding-block:0}
2#main ::-webkit-datetime-edit-day-field{padding-block:0}#main ::-webkit-datetime-edit-hour-field{padding-block:0}#main ::-webkit-datetime-edit-minute-field{padding-block:0}#main ::-webkit-datetime-edit-second-field{padding-block:0}#main ::-webkit-datetime-edit-millisecond-field{padding-block:0}#main ::-webkit-datetime-edit-meridiem-field{padding-block:0}#main ::-webkit-calendar-picker-indicator{line-height:1}#main :-moz-ui-invalid{box-shadow:none}#main button,#main input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}#main ::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}#main ::-webkit-inner-spin-button{height:auto}#main ::-webkit-outer-spin-button{height:auto}#main [hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{#main .pointer-events-auto{pointer-events:auto}#main .pointer-events-none{pointer-events:none}#main .visible{visibility:visible}#main .sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}#main .absolute{position:absolute}#main .fixed{position:fixed}#main .relative{position:relative}#main .static{position:static}#main .inset-0{inset:calc(var(--spacing)*0)}#main .top-0{top:calc(var(--spacing)*0)}#main .left-0{left:calc(var(--spacing)*0)}#main .z-10{z-index:10}#main .z-9999999{z-index:9999999}#main .col-span-2{grid-column:span 2/span 2}#main .col-span-3{grid-column:span 3/span 3}#main .col-span-5{grid-column:span 5/span 5}#main .container{width:100%}@media (min-width:40rem){#main .container{max-width:40rem}}@media (min-width:48rem){#main .container{max-width:48rem}}@media (min-width:64rem){#main .container{max-width:64rem}}@media (min-width:80rem){#main .container{max-width:80rem}}@media (min-width:96rem){#main .container{max-width:96rem}}#main .m-4{margin:calc(var(--spacing)*4)}#main .m-8{margin:calc(var(--spacing)*8)}#main .mx-auto{margin-inline:auto}#main .my-2{margin-block:calc(var(--spacing)*2)}#main .my-4{margin-block:calc(var(--spacing)*4)}#main .my-6{margin-block:calc(var(--spacing)*6)}#main .my-8{margin-block:calc(var(--spacing)*8)}#main .my-10{margin-block:calc(var(--spacing)*10)}#main .my-12{margin-block:calc(var(--spacing)*12)}#main .my-16{margin-block:calc(var(--spacing)*16)}#main .-mt-4{margin-top:calc(var(--spacing)*-4)}#main .mt-1{margin-top:calc(var(--spacing)*1)}#main .mt-2{margin-top:calc(var(--spacing)*2)}#main .mt-3{margin-top:calc(var(--spacing)*3)}#main .mt-4{margin-top:calc(var(--spacing)*4)}#main .mt-6{margin-top:calc(var(--spacing)*6)}#main .mt-8{margin-top:calc(var(--spacing)*8)}#main .mr-2{margin-right:calc(var(--spacing)*2)}#main .mb-1{margin-bottom:calc(var(--spacing)*1)}#main .mb-2{margin-bottom:calc(var(--spacing)*2)}#main .mb-4{margin-bottom:calc(var(--spacing)*4)}#main .mb-6{margin-bottom:calc(var(--spacing)*6)}#main .mb-7{margin-bottom:calc(var(--spacing)*7)}#main .mb-8{margin-bottom:calc(var(--spacing)*8)}#main .mb-10{margin-bottom:calc(var(--spacing)*10)}#main .ml-1{margin-left:calc(var(--spacing)*1)}#main .ml-2{margin-left:calc(var(--spacing)*2)}#main .ml-4{margin-left:calc(var(--spacing)*4)}#main .ml-6{margin-left:calc(var(--spacing)*6)}#main .ml-12{margin-left:calc(var(--spacing)*12)}#main .ml-auto{margin-left:auto}#main .line-clamp-4{-webkit-line-clamp:4;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}#main .block{display:block}#main .contents{display:contents}#main .flex{display:flex}#main .grid{display:grid}#main .hidden{display:none}#main .inline{display:inline}#main .inline-block{display:inline-block}#main .inline-flex{display:inline-flex}#main .table{display:table}#main .aspect-square{aspect-ratio:1}#main .size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}#main .size-5{width:calc(var(--spacing)*5);height:calc(var(--spacing)*5)}#main .size-8{width:calc(var(--spacing)*8);height:calc(var(--spacing)*8)}#main .size-10{width:calc(var(--spacing)*10);height:calc(var(--spacing)*10)}#main .size-11{width:calc(var(--spacing)*11);height:calc(var(--spacing)*11)}#main .h-5{height:calc(var(--spacing)*5)}#main .h-8{height:calc(var(--spacing)*8)}#main .h-28{height:calc(var(--spacing)*28)}#main .h-32{height:calc(var(--spacing)*32)}#main .h-full{height:100%}#main .h-svh{height:100svh}#main .min-h-screen{min-height:100vh}#main .w-1\\/3{width:33.3333%}#main .w-2\\/3{width:66.6667%}#main .w-3\\/4{width:75%}#main .w-5{width:calc(var(--spacing)*5)}#main .w-8{width:calc(var(--spacing)*8)}#main .w-80{width:calc(var(--spacing)*80)}#main .w-113{width:calc(var(--spacing)*113)}#main .w-\\[30\\%\\]{width:30%}#main .w-full{width:100%}#main .max-w-2xl{max-width:var(--container-2xl)}#main .max-w-200{max-width:calc(var(--spacing)*200)}#main .max-w-235{max-width:calc(var(--spacing)*235)}#main .max-w-700{max-width:calc(var(--spacing)*700)}#main .max-w-lg{max-width:var(--container-lg)}#main .max-w-none{max-width:none}#main .max-w-xs{max-width:var(--container-xs)}#main .flex-1{flex:1}#main .-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x)var(--tw-translate-y)}#main .translate-x-0{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}#main .rotate-180{rotate:180deg}#main .rotate-270{rotate:270deg}#main .transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}#main .animate-pulse{animation:var(--animate-pulse)}#main .animate-spin{animation:var(--animate-spin)}
2#main .cursor-pointer{cursor:pointer}#main .resize{resize:both}#main .list-inside{list-style-position:inside}#main .list-disc{list-style-type:disc}#main .list-none{list-style-type:none}#main .grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}#main .grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}#main .grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}#main .grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}#main .flex-col{flex-direction:column}#main .flex-col-reverse{flex-direction:column-reverse}#main .items-center{align-items:center}#main .items-end{align-items:flex-end}#main .items-start{align-items:flex-start}#main .justify-between{justify-content:space-between}#main .justify-center{justify-content:center}#main .justify-end{justify-content:flex-end}#main .gap-2{gap:calc(var(--spacing)*2)}#main .gap-3{gap:calc(var(--spacing)*3)}#main .gap-4{gap:calc(var(--spacing)*4)}#main .gap-6{gap:calc(var(--spacing)*6)}#main :where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}
2#main :where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}#main :where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}#main :where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}#main :where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}#main :where(.space-y-7>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*7)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*7)*calc(1 - var(--tw-space-y-reverse)))}
2#main :where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*8)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*8)*calc(1 - var(--tw-space-y-reverse)))}#main :where(.space-y-10>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*10)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*10)*calc(1 - var(--tw-space-y-reverse)))}#main :where(.space-x-1>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*1)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-x-reverse)))}#main :where(.space-x-4>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*4)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-x-reverse)))}#main .truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}#main .overflow-hidden{overflow:hidden}#main .overflow-x-auto{overflow-x:auto}#main .overflow-y-auto{overflow-y:auto}#main .rounded{border-radius:.25rem}#main .rounded-2xl{border-radius:var(--radius-2xl)}#main .rounded-full{border-radius:3.40282e38px}#main .rounded-lg{border-radius:var(--radius-lg)}#main .rounded-md{border-radius:var(--radius-md)}#main .border{border-style:var(--tw-border-style);border-width:1px}#main .border-2{border-style:var(--tw-border-style);border-width:2px}#main .border-8{border-style:var(--tw-border-style);border-width:8px}#main .border-t{border-top-style:var(--tw-border-style);border-top-width:1px}#main .border-t-2{border-top-style:var(--tw-border-style);border-top-width:2px}#main .border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}#main .border-l-4{border-left-style:var(--tw-border-style);border-left-width:4px}#main .border-blue-300{border-color:var(--color-blue-300)}#main .border-gray-200{border-color:var(--color-gray-200)}#main .border-gray-300{border-color:var(--color-gray-300)}#main .border-gray-400{border-color:var(--color-gray-400)}#main .border-green-600{border-color:var(--color-green-600)}#main .border-gwr-gray{border-color:var(--color-gwr-gray)}#main .border-gwr-light-blue{border-color:var(--color-gwr-light-blue)}#main .border-red-500{border-color:var(--color-red-500)}#main .border-white\\/50{border-color:#ffffff80}@supports (color:color-mix(in lab, red, red)){#main .border-white\\/50{border-color:color-mix(in oklab,var(--color-white)50%,transparent)}}#main .border-zinc-100{border-color:var(--color-zinc-100)}#main .border-zinc-300{border-color:var(--color-zinc-300)}#main .bg-black\\/30{background-color:#0000004d}@supports (color:color-mix(in lab, red, red)){#main .bg-black\\/30{background-color:color-mix(in oklab,var(--color-black)30%,transparent)}}#main .bg-black\\/50{background-color:#00000080}@supports (color:color-mix(in lab, red, red)){#main .bg-black\\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}#main .bg-blue-500{background-color:var(--color-blue-500)}#main .bg-blue-950{background-color:var(--color-blue-950)}#main .bg-gray-50{background-color:var(--color-gray-50)}#main .bg-gray-100{background-color:var(--color-gray-100)}#main .bg-gray-400\\/10{background-color:#99a1af1a}@supports (color:color-mix(in lab, red, red)){#main .bg-gray-400\\/10{background-color:color-mix(in oklab,var(--color-gray-400)10%,transparent)}}#main .bg-green-600{background-color:var(--color-green-600)}#main .bg-gwr-gray{background-color:var(--color-gwr-gray)}#main .bg-gwr-green{background-color:var(--color-gwr-green)}#main .bg-gwr-light-blue{background-color:var(--color-gwr-light-blue)}#main .bg-gwr-red{background-color:var(--color-gwr-red)}#main .bg-red-500{background-color:var(--color-red-500)}#main .bg-red-600{background-color:var(--color-red-600)}#main .bg-slate-100{background-color:var(--color-slate-100)}#main .bg-transparent{background-color:#0000}#main .bg-white{background-color:var(--color-white)}#main .bg-white\\/60{background-color:#fff9}@supports (color:color-mix(in lab, red, red)){#main .bg-white\\/60{background-color:color-mix(in oklab,var(--color-white)60%,transparent)}}#main .bg-yellow-500\\/20{background-color:#edb20033}@supports (color:color-mix(in lab, red, red)){#main .bg-yellow-500\\/20{background-color:color-mix(in oklab,var(--color-yellow-500)20%,transparent)}}#main .bg-zinc-100{background-color:var(--color-zinc-100)}#main .bg-cover{background-size:cover}#main .bg-no-repeat{background-repeat:no-repeat}#main .p-1{padding:calc(var(--spacing)*1)}#main .p-1\\.5{padding:calc(var(--spacing)*1.5)}#main .p-2{padding:calc(var(--spacing)*2)}#main .p-2\\.5{padding:calc(var(--spacing)*2.5)}#main .p-3{padding:calc(var(--spacing)*3)}#main .p-4{padding:calc(var(--spacing)*4)}#main .p-5{padding:calc(var(--spacing)*5)}#main .p-6{padding:calc(var(--spacing)*6)}#main .p-8{padding:calc(var(--spacing)*8)}#main .p-9{padding:calc(var(--spacing)*9)}#main .p-12{padding:calc(var(--spacing)*12)}#main .px-2{padding-inline:calc(var(--spacing)*2)}#main .px-2\\.5{padding-inline:calc(var(--spacing)*2.5)}#main .px-3{padding-inline:calc(var(--spacing)*3)}#main .px-4{padding-inline:calc(var(--spacing)*4)}#main .px-5{padding-inline:calc(var(--spacing)*5)}#main .px-6{padding-inline:calc(var(--spacing)*6)}#main .px-8{padding-inline:calc(var(--spacing)*8)}#main .py-1{padding-block:calc(var(--spacing)*1)}#main .py-1\\.5{padding-block:calc(var(--spacing)*1.5)}#main .py-2{padding-block:calc(var(--spacing)*2)}#main .py-2\\.5{padding-block:calc(var(--spacing)*2.5)}#main .py-3{padding-block:calc(var(--spacing)*3)}#main .py-4{padding-block:calc(var(--spacing)*4)}#main .py-6{padding-block:calc(var(--spacing)*6)}#main .py-8{padding-block:calc(var(--spacing)*8)}#main .py-9{padding-block:calc(var(--spacing)*9)}#main .pt-4{padding-top:calc(var(--spacing)*4)}#main .pt-6{padding-top:calc(var(--spacing)*6)}#main .pt-16{padding-top:calc(var(--spacing)*16)}#main .pb-3\\.5{padding-bottom:calc(var(--spacing)*3.5)}#main .pb-4{padding-bottom:calc(var(--spacing)*4)}#main .pb-6{padding-bottom:calc(var(--spacing)*6)}#main .pl-4{padding-left:calc(var(--spacing)*4)}#main .text-center{text-align:center}#main .text-left{text-align:left}#main .text-right{text-align:right}#main .font-mono{font-family:var(--font-mono)}#main .font-rubik-medium{font-family:var(--font-rubik-medium)}#main .text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}#main .text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}#main .text-6xl{font-size:var(--text-6xl);line-height:var(--tw-leading,var(--text-6xl--line-height))}#main .text-base{font-size:var(--text-base);
2line-height:var(--tw-leading,var(--text-base--line-height))}#main .text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}#main .text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}#main .text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}#main .text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}#main .leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}#main .font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}#main .font-light{--tw-font-weight:var(--font-weight-light);font-weight:var(--font-weight-light)}#main .font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}#main .font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}#main .tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}#main .break-all{word-break:break-all}#main .whitespace-pre-line{white-space:pre-line}#main .text-black{color:var(--color-black)}#main .text-cyan-700{color:var(--color-cyan-700)}#main .text-gray-300{color:var(--color-gray-300)}#main .text-gray-400{color:var(--color-gray-400)}#main .text-gray-500{color:var(--color-gray-500)}#main .text-gray-600{color:var(--color-gray-600)}#main .text-gray-700{color:var(--color-gray-700)}#main .text-gray-800{color:var(--color-gray-800)}#main .text-green-600{color:var(--color-green-600)}#main .text-green-700{color:var(--color-green-700)}#main .text-gwr-gold{color:var(--color-gwr-gold)}#main .text-gwr-light-blue{color:var(--color-gwr-light-blue)}#main .text-red-500{color:var(--color-red-500)}#main .text-red-600{color:var(--color-red-600)}#main .text-red-800{color:var(--color-red-800)}#main .text-white{color:var(--color-white)}#main .capitalize{text-transform:capitalize}#main .lowercase{text-transform:lowercase}#main .uppercase{text-transform:uppercase}#main .italic{font-style:italic}#main .underline{text-decoration-line:underline}#main .opacity-0{opacity:0}#main .opacity-25{opacity:.25}#main .opacity-50{opacity:.5}#main .opacity-70{opacity:.7}#main .opacity-75{opacity:.75}#main .opacity-100{opacity:1}
2#main .shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}#main .shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}#main .shadow-gray-100{--tw-shadow-color:oklch(96.7% .003 264.542)}@supports (color:color-mix(in lab, red, red)){#main .shadow-gray-100{--tw-shadow-color:color-mix(in oklab,var(--color-gray-100)var(--tw-shadow-alpha),transparent)}}#main .outline{outline-style:var(--tw-outline-style);outline-width:1px}#main .blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}#main .filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}#main .transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}#main .transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}#main .transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}#main .transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}#main .duration-150{--tw-duration:.15s;transition-duration:.15s}#main .duration-200{--tw-duration:.2s;transition-duration:.2s}#main .duration-300{--tw-duration:.3s;transition-duration:.3s}#main .ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}#main .last\\:mb-0:last-child{margin-bottom:calc(var(--spacing)*0)}@media (hover:hover){#main .hover\\:border-red-600:hover{border-color:var(--color-red-600)}#main .hover\\:bg-black\\/20:hover{background-color:#0003}@supports (color:color-mix(in lab, red, red)){#main .hover\\:bg-black\\/20:hover{background-color:color-mix(in oklab,var(--color-black)20%,transparent)}}#main .hover\\:bg-blue-700:hover{background-color:var(--color-blue-700)}#main .hover\\:bg-gray-100:hover{background-color:var(--color-gray-100)}#main .hover\\:bg-gray-200:hover{background-color:var(--color-gray-200)}#main .hover\\:bg-green-700:hover{background-color:var(--color-green-700)}#main .hover\\:bg-gwr-gray:hover{background-color:var(--color-gwr-gray)}#main .hover\\:bg-gwr-light-blue:hover{background-color:var(--color-gwr-light-blue)}#main .hover\\:bg-red-600:hover{background-color:var(--color-red-600)}#main .hover\\:bg-rose-700:hover{background-color:var(--color-rose-700)}#main .hover\\:text-blue-700:hover{color:var(--color-blue-700)}#main .hover\\:text-gray-700:hover{color:var(--color-gray-700)}#main .hover\\:text-white:hover{color:var(--color-white)}#main .hover\\:underline:hover{text-decoration-line:underline}}#main .focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-sha
2dow)}#main .focus\\:ring-gwr-light-blue:focus{--tw-ring-color:var(--color-gwr-light-blue)}#main .focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}#main .disabled\\:cursor-default:disabled{cursor:default}#main .disabled\\:border-gray-200:disabled{border-color:var(--color-gray-200)}#main .disabled\\:text-gray-200:disabled{color:var(--color-gray-200)}@media (hover:hover){#main .disabled\\:hover\\:bg-transparent:disabled:hover{background-color:#0000}}@media (min-width:40rem){#main .sm\\:col-span-1{grid-column:span 1/span 1}#main .sm\\:col-span-2{grid-column:span 2/span 2}#main .sm\\:col-span-3{grid-column:span 3/span 3}#main .sm\\:my-0{margin-block:calc(var(--spacing)*0)}#main .sm\\:mb-10{margin-bottom:calc(var(--spacing)*10)}#main .sm\\:ml-4{margin-left:calc(var(--spacing)*4)}#main .sm\\:grid{display:grid}#main .sm\\:inline{display:inline}#main .sm\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}#main .sm\\:flex-row{flex-direction:row}#main .sm\\:items-center{align-items:center}#main .sm\\:p-5{padding:calc(var(--spacing)*5)}#main .sm\\:p-8{padding:calc(var(--spacing)*8)}#main .sm\\:p-9{padding:calc(var(--spacing)*9)}#main .sm\\:px-5{padding-inline:calc(var(--spacing)*5)}#main .sm\\:px-7{padding-inline:calc(var(--spacing)*7)}#main .sm\\:px-8{padding-inline:calc(var(--spacing)*8)}#main .sm\\:py-3{padding-block:calc(var(--spacing)*3)}#main .sm\\:text-left{text-align:left}#main .sm\\:text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}#main .sm\\:text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}#main .sm\\:text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}#main .sm\\:text-\\[40px\\]{font-size:40px}}@media (min-width:48rem){#main .md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}#main .md\\:flex-row{flex-direction:row}#main .md\\:p-12{padding:calc(var(--spacing)*12)}#main .md\\:text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}#main .md\\:text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}}@media (min-width:64rem){#main .lg\\:flex{display:flex}#main .lg\\:hidden{display:none}#main .lg\\:flex-row{flex-direction:row}#main .lg\\:border-l-12{border-left-style:var(--tw-border-style);border-left-width:12px}#main .lg\\:border-gwr-light-blue{border-color:var(--color-gwr-light-blue)}#main .lg\\:border-transparent{border-color:#0000}#main .lg\\:bg-gwr-gray{background-color:var(--color-gwr-gray)}#main .lg\\:p-10{padding:calc(var(--spacing)*10)}#main .lg\\:p-14{padding:calc(var(--spacing)*14)}#main .lg\\:px-4{padding-inline:calc(var(--spacing)*4)}#main .lg\\:py-6{padding-block:calc(var(--spacing)*6)}#main .lg\\:text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}}}@font-face{font-family:Rubik;src:url(${d})format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Rubik medium;src:url(${p})format("woff2");font-weight:500;font-style:normal;font-display:swap}html,body{background-color:#fff;margin:0;padding:0;font-family:Rubik,sans-serif}#main .field-errors{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height));color:var(--color-red-500)}#main .anchor-link a{color:#147997;text-decoration:underline}#main h3.sub-header{border-top:2px solid #14ade4;margin:0;padding-top:1.4em;padding-bottom:1.1em;font-size:20px;font-weight:500}#main .sub-intro{color:#14ade4;margin-bottom:2em;padding:0 1em;font-style:italic}#main .arra-quote{border:4px solid #14ade4;border-bottom:0;margin-bottom:0;padding:2em 2em 0}#main .html-content h3{border-bottom-style:var(--tw-border-style);padding-block:calc(var(--spacing)*4);font-family:var(--font-rubik-medium);font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height));border:#f0f0f8}#main .html-content li{margin-left:calc(var(--spacing)*5);list-style-type:disc}#main .custom-input-field input,#main .custom-input-field .MuiSelect-select,#main .custom-input-field textarea,#main .custom-input-field .MuiTextareaAutosize-root{border-style:var(--tw-border-style);border-width:2px;border-color:var(--color-gray-200);width:100%;padding-inline:calc(var(--spacing)*3);padding-block:calc(var(--spacing)*2);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));background-color:#f9f9f9;border-radius:0;font-family:Rubik,sans-serif}#main .custom-input-field .MuiFormLabel-root{font-family:Rubik,sans-serif;font-size:18px}#main .custom-input-field input:hover,#main .custom-input-field .MuiSelect-select:hover,#main .custom-input-field textarea:hover,#main .custom-input-field .MuiTextareaAutosize-root:hover{border-color:var(--color-gwr-light-blue)}#main .custom-input-field .MuiOutlinedInput-root{border-radius:0}#main .custom-input-field .MuiOutlinedInput-root.Mui-focused{box-shadow:none;border:none;outline:none}#main .custom-input-field .Mui-focused{color:#0009}#main .custom-input-field .MuiOutlinedInput-root .MuiOutlinedInput-notchedOutline{border:none}#main .custom-input-field .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline,#main .custom-input-field .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline{border-color:#14ade4}#main .arra-sub{color:#fff;background:#14ade4;margin:1.5em 0;padding:1em}#main .arra-section dl dt{margin-bottom:1.5em}#main .arra-section dl dd{margin-bottom:1.5em;margin-left:1em;font-weight:600}#main .info-container{flex-direction:column;display:inline-flex;position:relative;top:-4px}#main .info-icon{vertical-align:top;width:35px;margin-top:-4px;display:inline-block}#main .alert.alert-notice.tooltip-alert{opacity:0;height:1px;padding:0;overflow:hidden}#main .alert.alert-notice.tooltip-alert.show.in{opacity:1;height:auto;margin-bottom:1em;padding:24px 40px 24px 20px}#main .info-icon button{margin-left:10px;padding:0}#main .w-113{width:113%}@media (min-width:768px){#main .alert.alert-notice.tooltip-alert.show.in{padding:24px 40px 24px 80px}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}`,""]);const f=u},7825:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},9418:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>ne});const{entries:r,setPrototypeOf:o,isFrozen:i,getPrototypeOf:a,getOwnPropertyDescriptor:s}=Object;let{freeze:l,seal:c,create:A}=Object,{apply:u,construct:d}="undefined"!=typeof Reflect&&Reflect;l||(l=function(e){return e}),c||(c=function(e){return e}),u||(u=function(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 e.apply(t,r)}
vendor: 4,807 bytes, line 2
2),d||(d=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)});const p=j(Array.prototype.forEach),f=j(Array.prototype.lastIndexOf),h=j(Array.prototype.pop),m=j(Array.prototype.push),g=j(Array.prototype.splice),y=j(String.prototype.toLowerCase),w=j(String.prototype.toString),v=j(String.prototype.match),b=j(String.prototype.replace),x=j(String.prototype.indexOf),_=j(String.prototype.trim),B=j(Object.prototype.hasOwnProperty),C=j(RegExp.prototype.test),k=(S=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return d(S,t)});var S;function j(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return u(e,t,r)}}function E(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y;o&&o(e,null);let r=t.length;for(;r--;){let o=t[r];if("string"==typeof o){const e=n(o);e!==o&&(i(t)||(t[r]=e),o=e)}e[o]=!0}return e}function F(e){for(let t=0;t<e.length;t++)B(e,t)||(e[t]=null);return e}function N(e){const t=A(null);for(const[n,o]of r(e))B(e,n)&&(Array.isArray(o)?t[n]=F(o):o&&"object"==typeof o&&o.constructor===Object?t[n]=N(o):t[n]=o);return t}function U(e,t){for(;null!==e;){const n=s(e,t);if(n){if(n.get)return j(n.get);if("function"==typeof n.value)return j(n.value)}e=a(e)}return function(){return null}}const L=l(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),I=l(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),P=l(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Q=l(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),T=l(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),D=l(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),O=l(["#text"]),R=l(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
2spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),M=l(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),H=l(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),z=l(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),K=c(/\{\{[\w\W]*|[\w\W]*\}\}/gm),$=c(/<%[\w\W]*|[\w\W]*%>/gm),V=c(/\$\{[\w\W]*/gm),q=c(/^data-[\-\w.\u00B7-\uFFFF]+$/),W=c(/^aria-[\-\w]+$/),G=c(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Y=c(/^(?:\w+script|data):/i),X=c(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),J=c(/^html$/i),Z=c(/^[a-z][.\w]*(-[.\w]+)+$/i);var ee=Object.freeze({__proto__:null,ARIA_ATTR:W,ATTR_WHITESPACE:X,CUSTOM_ELEMENT:Z,DATA_ATTR:q,DOCTYPE_NAME:J,ERB_EXPR:$,IS_ALLOWED_URI:G,IS_SCRIPT_OR_DATA:Y,MUSTACHE_EXPR:K,TMPLIT_EXPR:V});const te=function(){return"undefined"==typeof window?null:window};var ne=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te();const n=t=>e(t);if(n.version="3.3.0",n.removed=[],!t||!t.document||9!==t.document.nodeType||!t.Element)return n.isSupported=!1,n;let{document:o}=t;const i=o,a=i.currentScript,{DocumentFragment:s,HTMLTemplateElement:c,Node:u,Element:d,NodeFilter:S,NamedNodeMap:j=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:F,DOMParser:K,trustedTypes:$}=t,V=d.prototype,q=U(V,"cloneNode"),W=U(V,"remove"),Y=U(V,"nextSibling"),X=U(V,"childNodes"),Z=U(V,"parentNode");if("function"==typeof c){const e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let ne,re="";const{implementation:oe,createNodeIterator:ie,createDocumentFragment:ae,getElementsByTagName:se}=o,{importNode:le}=i;let ce={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof r&&"function"==typeof Z&&oe&&void 0!==oe.createHTMLDocument;const{MUSTACHE_EXPR:Ae,ERB_EXPR:ue,TMPLIT_EXPR:de,DATA_ATTR:pe,ARIA_ATTR:fe,IS_SCRIPT_OR_DATA:he,ATTR_WHITESPACE:me,CUSTOM_ELEMENT:ge}=ee;let{IS_ALLOWED_URI:ye}=ee,we=null;const ve=E({},[...L,...I,...P,...T,...O]);let be=null;const xe=E({},[...R,...M,...H,...z]);let _e=Object.seal(A(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Be=null,Ce=null;
vendor: 4,700 bytes, line 2
2const ke=Object.seal(A(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Se=!0,je=!0,Ee=!1,Fe=!0,Ne=!1,Ue=!0,Le=!1,Ie=!1,Pe=!1,Qe=!1,Te=!1,De=!1,Oe=!0,Re=!1,Me=!0,He=!1,ze={},Ke=null;const $e=E({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ve=null;const qe=E({},["audio","video","img","source","image","track"]);let We=null;const Ge=E({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ye="http://www.w3.org/1998/Math/MathML",Xe="http://www.w3.org/2000/svg",Je="http://www.w3.org/1999/xhtml";let Ze=Je,et=!1,tt=null;const nt=E({},[Ye,Xe,Je],w);let rt=E({},["mi","mo","mn","ms","mtext"]),ot=E({},["annotation-xml"]);const it=E({},["title","style","font","a","script"]);let at=null;const st=["application/xhtml+xml","text/html"];let lt=null,ct=null;const At=o.createElement("form"),ut=function(e){return e instanceof RegExp||e instanceof Function},dt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ct||ct!==e){if(e&&"object"==typeof e||(e={}),e=N(e),at=-1===st.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,lt="application/xhtml+xml"===at?w:y,we=B(e,"ALLOWED_TAGS")?E({},e.ALLOWED_TAGS,lt):ve,be=B(e,"ALLOWED_ATTR")?E({},e.ALLOWED_ATTR,lt):xe,tt=B(e,"ALLOWED_NAMESPACES")?E({},e.ALLOWED_NAMESPACES,w):nt,We=B(e,"ADD_URI_SAFE_ATTR")?E(N(Ge),e.ADD_URI_SAFE_ATTR,lt):Ge,Ve=B(e,"ADD_DATA_URI_TAGS")?E(N(qe),e.ADD_DATA_URI_TAGS,lt):qe,Ke=B(e,"FORBID_CONTENTS")?E({},e.FORBID_CONTENTS,lt):$e,Be=B(e,"FORBID_TAGS")?E({},e.FORBID_TAGS,lt):N({}),Ce=B(e,"FORBID_ATTR")?E({},e.FORBID_ATTR,lt):N({}),ze=!!B(e,"USE_PROFILES")&&e.USE_PROFILES,Se=!1!==e.ALLOW_ARIA_ATTR,je=!1!==e.ALLOW_DATA_ATTR,Ee=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Fe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Ne=e.SAFE_FOR_TEMPLATES||!1,Ue=!1!==e.SAFE_FOR_XML,Le=e.WHOLE_DOCUMENT||!1,Qe=e.RETURN_DOM||!1,Te=e.RETURN_DOM_FRAGMENT||!1,De=e.RETURN_TRUSTED_TYPE||!1,Pe=e.FORCE_BODY||!1,Oe=!1!==e.SANITIZE_DOM,Re=e.SANITIZE_NAMED_PROPS||!1,Me=!1!==e.KEEP_CONTENT,He=e.IN_PLACE||!1,ye=e.ALLOWED_URI_REGEXP||G,Ze=e.NAMESPACE||Je,rt=e.MATHML_TEXT_INTEGRATION_POINTS||rt,ot=e.HTML_INTEGRATION_POINTS||ot,_e=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ut(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(_e.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ut(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(_e.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(_e.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ne&&(je=!1),Te&&(Qe=!0),ze&&(we=E({},O),be=[],!0===ze.html&&(E(we,L),E(be,R)),!0===ze.svg&&(E(we,I),E(be,M),E(be,z)),!0===ze.svgFilters&&(E(we,P),E(be,M),E(be,z)),!0===ze.mathMl&&(E(we,T),E(be,H),E(be,z))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?ke.tagCheck=e.ADD_TAGS:(we===ve&&(we=N(we)),E(we,e.ADD_TAGS,lt))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?ke.attributeCheck=e.ADD_ATTR:(be===xe&&(be=N(be)),E(be,e.ADD_ATTR,lt))),e.ADD_URI_SAFE_ATTR&&E(We,e.ADD_URI_SAFE_ATTR,lt),e.FORBID_CONTENTS&&(Ke===$e&&(Ke=N(Ke)),E(Ke,e.FORBID_CONTENTS,lt)),Me&&(we["#text"]=!0),Le&&E(we,["html","head","body"]),we.table&&(E(we,["tbody"]),delete Be.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw k('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw k('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ne=e.TRUSTED_TYPES_POLICY,re=ne.createHTML("")}else void 0===ne&&(ne=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}($,a)),null!==ne&&"string"==typeof re&&(re=ne.createHTML(""));l&&l(e),ct=e}},pt=E({},[...I,...P,...Q]),ft=E({},[...T,...D]),ht=function(e){m(n.removed,{element:e});try{Z(e).removeChild(e)}catch(t){W(e)}},mt=function(e,t){try{m(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){m(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(Qe||Te)try{ht(t)}
vendor: 6,038 bytes, line 2
2catch(e){}else try{t.setAttribute(e,"")}catch(e){}},gt=function(e){let t=null,n=null;if(Pe)e="<remove></remove>"+e;else{const t=v(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===at&&Ze===Je&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const r=ne?ne.createHTML(e):e;if(Ze===Je)try{t=(new K).parseFromString(r,at)}catch(e){}if(!t||!t.documentElement){t=oe.createDocument(Ze,"template",null);try{t.documentElement.innerHTML=et?re:r}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(o.createTextNode(n),i.childNodes[0]||null),Ze===Je?se.call(t,Le?"html":"body")[0]:Le?t.documentElement:i},yt=function(e){return ie.call(e.ownerDocument||e,e,S.SHOW_ELEMENT|S.SHOW_COMMENT|S.SHOW_TEXT|S.SHOW_PROCESSING_INSTRUCTION|S.SHOW_CDATA_SECTION,null)},wt=function(e){return e instanceof F&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof j)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},vt=function(e){return"function"==typeof u&&e instanceof u};function bt(e,t,r){p(e,e=>{e.call(n,t,r,ct)})}const xt=function(e){let t=null;if(bt(ce.beforeSanitizeElements,e,null),wt(e))return ht(e),!0;const r=lt(e.nodeName);if(bt(ce.uponSanitizeElement,e,{tagName:r,allowedTags:we}),Ue&&e.hasChildNodes()&&!vt(e.firstElementChild)&&C(/<[/\w!]/g,e.innerHTML)&&C(/<[/\w!]/g,e.textContent))return ht(e),!0;if(7===e.nodeType)return ht(e),!0;if(Ue&&8===e.nodeType&&C(/<[/\w]/g,e.data))return ht(e),!0;if(!(ke.tagCheck instanceof Function&&ke.tagCheck(r))&&(!we[r]||Be[r])){if(!Be[r]&&Bt(r)){if(_e.tagNameCheck instanceof RegExp&&C(_e.tagNameCheck,r))return!1;if(_e.tagNameCheck instanceof Function&&_e.tagNameCheck(r))return!1}if(Me&&!Ke[r]){const t=Z(e)||e.parentNode,n=X(e)||e.childNodes;if(n&&t)for(let r=n.length-1;r>=0;--r){const o=q(n[r],!0);o.__removalCount=(e.__removalCount||0)+1,t.insertBefore(o,Y(e))}}return ht(e),!0}return e instanceof d&&!function(e){let t=Z(e);t&&t.tagName||(t={namespaceURI:Ze,tagName:"template"});const n=y(e.tagName),r=y(t.tagName);return!!tt[e.namespaceURI]&&(e.namespaceURI===Xe?t.namespaceURI===Je?"svg"===n:t.namespaceURI===Ye?"svg"===n&&("annotation-xml"===r||rt[r]):Boolean(pt[n]):e.namespaceURI===Ye?t.namespaceURI===Je?"math"===n:t.namespaceURI===Xe?"math"===n&&ot[r]:Boolean(ft[n]):e.namespaceURI===Je?!(t.namespaceURI===Xe&&!ot[r])&&!(t.namespaceURI===Ye&&!rt[r])&&!ft[n]&&(it[n]||!pt[n]):!("application/xhtml+xml"!==at||!tt[e.namespaceURI]))}(e)?(ht(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!C(/<\/no(script|embed|frames)/i,e.innerHTML)?(Ne&&3===e.nodeType&&(t=e.textContent,p([Ae,ue,de],e=>{t=b(t,e," ")}),e.textContent!==t&&(m(n.removed,{element:e.cloneNode()}),e.textContent=t)),bt(ce.afterSanitizeElements,e,null),!1):(ht(e),!0)},_t=function(e,t,n){if(Oe&&("id"===t||"name"===t)&&(n in o||n in At))return!1;if(je&&!Ce[t]&&C(pe,t));else if(Se&&C(fe,t));else if(ke.attributeCheck instanceof Function&&ke.attributeCheck(t,e));else if(!be[t]||Ce[t]){if(!(Bt(e)&&(_e.tagNameCheck instanceof RegExp&&C(_e.tagNameCheck,e)||_e.tagNameCheck instanceof Function&&_e.tagNameCheck(e))&&(_e.attributeNameCheck instanceof RegExp&&C(_e.attributeNameCheck,t)||_e.attributeNameCheck instanceof Function&&_e.attributeNameCheck(t,e))||"is"===t&&_e.allowCustomizedBuiltInElements&&(_e.tagNameCheck instanceof RegExp&&C(_e.tagNameCheck,n)||_e.tagNameCheck instanceof Function&&_e.tagNameCheck(n))))return!1}else if(We[t]);else if(C(ye,b(n,me,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==x(n,"data:")||!Ve[e])if(Ee&&!C(he,b(n,me,"")));else if(n)return!1;return!0},Bt=function(e){return"annotation-xml"!==e&&v(e,ge)},Ct=function(e){bt(ce.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||wt(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:be,forceKeepAttr:void 0};let o=t.length;for(;o--;){const i=t[o],{name:a,namespaceURI:s,value:l}=i,c=lt(a),A=l;let u="value"===a?A:_(A);if(r.attrName=c,r.attrValue=u,r.keepAttr=!0,r.forceKeepAttr=void 0,bt(ce.uponSanitizeAttribute,e,r),u=r.attrValue,!Re||"id"!==c&&"name"!==c||(mt(a,e),u="user-content-"+u),Ue&&C(/((--!?|])>)|<\/(style|title|textarea)/i,u)){mt(a,e);continue}if("attributename"===c&&v(u,"href")){mt(a,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){mt(a,e);continue}if(!Fe&&C(/\/>/i,u)){mt(a,e);continue}Ne&&p([Ae,ue,de],e=>{u=b(u,e," ")});const d=lt(e.nodeName);if(_t(d,c,u)){if(ne&&"object"==typeof $&&"function"==typeof $.getAttributeType)if(s);else switch($.getAttributeType(d,c)){case"TrustedHTML":u=ne.createHTML(u);break;case"TrustedScriptURL":u=ne.createScriptURL(u)}if(u!==A)try{s?e.setAttributeNS(s,a,u):e.setAttribute(a,u),wt(e)?ht(e):h(n.removed)}catch(t){mt(a,e)}}else mt(a,e)}bt(ce.afterSanitizeAttributes,e,null)},kt=function e(t){let n=null;const r=yt(t);for(bt(ce.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)bt(ce.uponSanitizeShadowNode,n,null),xt(n),Ct(n),n.content instanceof s&&e(n.content);bt(ce.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,a=null,l=null;if(et=!e,et&&(e="\x3c!--\x3e"),"string"!=typeof e&&!vt(e)){if("function"!=typeof e.toString)throw k("toString is not a function");if("string"!=typeof(e=e.toString()))throw k("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Ie||dt(t),n.removed=[],"string"==typeof e&&(He=!1),He){if(e.nodeName){const t=lt(e.nodeName);if(!we[t]||Be[t])throw k("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof u)r=gt("\x3c!----\x3e"),o=r.ownerDocument.importNode(e,!0),1===o.nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!Qe&&!Ne&&!Le&&-1===e.indexOf("<"))return ne&&De?ne.createHTML(e):e;if(r=gt(e),!r)return Qe?null:De?re:""}r&&Pe&&ht(r.firstChild);const c=yt(He?e:r);for(;a=c.nextNode();
2)xt(a),Ct(a),a.content instanceof s&&kt(a.content);if(He)return e;if(Qe){if(Te)for(l=ae.call(r.ownerDocument);r.firstChild;)l.appendChild(r.firstChild);else l=r;return(be.shadowroot||be.shadowrootmode)&&(l=le.call(i,l,!0)),l}let A=Le?r.outerHTML:r.innerHTML;return Le&&we["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&C(J,r.ownerDocument.doctype.name)&&(A="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+A),Ne&&p([Ae,ue,de],e=>{A=b(A,e," ")}),ne&&De?ne.createHTML(A):A},n.setConfig=function(){dt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Ie=!0},n.clearConfig=function(){ct=null,Ie=!1},n.isValidAttribute=function(e,t,n){ct||dt({});const r=lt(e),o=lt(t);return _t(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&m(ce[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=f(ce[e],t);return-1===n?void 0:g(ce[e],n,1)[0]}return h(ce[e])},n.removeHooks=function(e){ce[e]=[]},n.removeAllHooks=function(){ce={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}()},9698:(e,t)=>{"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(e,t,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==t.key&&(o=""+t.key),"key"in t)for(var i in r={},t)"key"!==i&&(r[i]=t[i]);else r=t;return t=r.ref,{$$typeof:n,type:e,key:o,ref:void 0!==t?t:null,props:r}}t.Fragment=r,t.jsx=o,t.jsxs=o},9816:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(1601),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,'@charset "UTF-8";\n#main .react-datepicker__navigation-icon::before, #main .react-datepicker__year-read-view--down-arrow, #main .react-datepicker__month-read-view--down-arrow, #main .react-datepicker__month-year-read-view--down-arrow {\n  border-color: #ccc;\n  border-style: solid;\n  border-width: 3px 3px 0 0;\n  content: "";\n  display: block;\n  height: 9px;\n  position: absolute;\n  top: 6px;\n  width: 9px;\n}\n/* sr-only utility class for accessibility */\n#main .react-datepicker__sr-only {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip-path: inset(50%);\n  white-space: nowrap;\n  border: 0;\n}\n\n#main .react-datepicker-wrapper {\n  display: inline-block;\n  padding: 0;\n  border: 0;\n}\n\n#main .react-datepicker {\n  font-family: "Helvetica Neue", helvetica, arial, sans-serif;\n  font-size: 0.8rem;\n  background-color: #fff;\n  color: #000;\n  border: 1px solid #aeaeae;\n  border-radius: 0.3rem;\n  display: inline-block;\n  position: relative;\n  line-height: initial;\n}\n\n#main .react-datepicker--time-only .react-datepicker__time-container {\n  border-left: 0;\n}\n#main .react-datepicker--time-only .react-datepicker__time,\n#main .react-datepicker--time-only .react-datepicker__time-box {\n  border-bottom-left-radius: 0.3rem;\n  border-bottom-right-radius: 0.3rem;\n}\n\n#main .react-datepicker-popper {\n  z-index: 1;\n  line-height: 0;\n}\n#main .react-datepicker-popper .react-datepicker__triangle {\n  stroke: #aeaeae;\n}\n#main .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle {\n  fill: #f0f0f0;\n  color: #f0f0f0;\n}\n#main .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle {\n  fill: #fff;\n  color: #fff;\n}\n\n#main .react-datepicker__header {\n  text-align: center;\n  background-color: #f0f0f0;\n  border-bottom: 1px solid #aeaeae;\n  border-top-left-radius: 0.3rem;\n  padding: 8px 0;\n  position: relative;\n}\n#main .react-datepicker__header--time {\n  padding-bottom: 8px;\n  padding-left: 5px;\n  padding-right: 5px;\n}\n#main .react-datepicker__header--time:not(.react-datepicker__header--time--only) {\n  border-top-left-radius: 0;\n}\n#main .react-datepicker__header:not(.react-datepicker__header--has-time-select) {\n  border-top-right-radius: 0.3rem;\n}\n\n#main .react-datepicker__year-dropdown-container--select,\n#main .react-datepicker__month-dropdown-container--select,\n#main .react-datepicker__month-year-dropdown-container--select,\n#main .react-datepicker__year-dropdown-container--scroll,\n#main .react-datepicker__month-dropdown-container--scroll,\n#main .react-datepicker__month-year-dropdown-container--scroll {\n  display: inline-block;\n  margin: 0 15px;\n}\n\n#main .react-datepicker__current-month,\n#main .react-datepicker-time__header,\n#main .react-datepicker-year-header {\n  margin-top: 0;\n  color: #000;\n  font-weight: bold;\n  font-size: 0.944rem;\n}\n\n#main h2.react-datepicker__current-month {\n  padding: 0;\n  margin: 0;\n}\n\n#main .react-datepicker-time__header {\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  overflow: hidden;\n}\n\n#main .react-datepicker__navigation {\n  align-items: center;\n  background: none;\n  display: flex;\n  justify-content: center;\n  text-align: center;
2\n  cursor: pointer;\n  position: absolute;\n  top: 2px;\n  padding: 0;\n  border: none;\n  z-index: 1;\n  height: 32px;\n  width: 32px;\n  text-indent: -999em;\n  overflow: hidden;\n}\n#main .react-datepicker__navigation--previous {\n  left: 2px;\n}\n#main .react-datepicker__navigation--next {\n  right: 2px;\n}\n#main .react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button) {\n  right: 85px;\n}\n#main .react-datepicker__navigation--years {\n  position: relative;\n  top: 0;\n  display: block;\n  margin-left: auto;\n  margin-right: auto;\n}\n#main .react-datepicker__navigation--years-previous {\n  top: 4px;\n}\n#main .react-datepicker__navigation--years-upcoming {\n  top: -4px;\n}\n#main .react-datepicker__navigation:hover *::before {\n  border-color: rgb(165.75, 165.75, 165.75);\n}\n\n#main .react-datepicker__navigation-icon {\n  position: relative;\n  top: -1px;\n  font-size: 20px;\n  width: 0;\n}\n#main .react-datepicker__navigation-icon--next {\n  left: -2px;\n}\n#main .react-datepicker__navigation-icon--next::before {\n  transform: rotate(45deg);\n  left: -7px;\n}\n#main .react-datepicker__navigation-icon--previous {\n  right: -2px;\n}\n#main .react-datepicker__navigation-icon--previous::before {\n  transform: rotate(225deg);\n  right: -7px;\n}\n\n#main .react-datepicker__month-container {\n  float: left;\n}\n\n#main .react-datepicker__year {\n  margin: 0.4rem;\n  text-align: center;\n}\n#main .react-datepicker__year-wrapper {\n  display: flex;\n  flex-wrap: wrap;\n  max-width: 180px;\n}\n#main .react-datepicker__year .react-datepicker__year-text {\n  display: inline-block;\n  width: 4rem;\n  margin: 2px;\n}\n\n#main .react-datepicker__month {\n  margin: 0.4rem;\n  text-align: center;\n}\n#main .react-datepicker__month .react-datepicker__month-text,\n#main .react-datepicker__month .react-datepicker__quarter-text {\n  display: inline-block;\n  width: 4rem;\n  margin: 2px;\n}\n\n#main .react-datepicker__input-time-container {\n  clear: both;\n  width: 100%;\n  float: left;\n  margin: 5px 0 10px 15px;\n  text-align: left;\n}\n#main .react-datepicker__input-time-container .react-datepicker-time__caption {\n  display: inline-block;\n}\n#main .react-datepicker__input-time-container .react-datepicker-time__input-container {\n  display: inline-block;\n}\n#main .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input {\n  display: inline-block;\n  margin-left: 10px;\n}\n#main .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input {\n  width: auto;\n}\n#main .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-inner-spin-button,\n#main .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-outer-spin-button {\n  -webkit-appearance: none;\n  margin: 0;\n}\n#main .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time] {\n  -moz-appearance: textfield;\n}\n#main .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter {\n  margin-left: 5px;\n  display: inline-block;\n}\n\n#main .react-datepicker__time-container {\n  float: right;\n  border-left: 1px solid #aeaeae;\n  width: 85px;\n}\n#main .react-datepicker__time-container--with-today-button {\n  display: inline;\n  border: 1px solid #aeaeae;\n  border-radius: 0.3rem;\n  position: absolute;\n  right: -87px;\n  top: 0;\n}\n#main .react-datepicker__time-container .react-datepicker__time {\n  position: relative;\n  background: white;\n  border-bottom-right-radius: 0.3rem;\n}\n#main .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box {\n  width: 85px;\n  overflow-x: hidden;\n  margin: 0 auto;\n  text-align: center;\n  border-bottom-right-radius: 0.3rem;\n}\n#main .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list {\n  list-style: none;\n  margin: 0;\n  height: calc(195px + 1.7rem / 2);
2\n  overflow-y: scroll;\n  padding-right: 0;\n  padding-left: 0;\n  width: 100%;\n  box-sizing: content-box;\n}\n#main .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item {\n  height: 30px;\n  padding: 5px 10px;\n  white-space: nowrap;\n}\n#main .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover {\n  cursor: pointer;\n  background-color: #f0f0f0;\n}\n#main .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected {\n  background-color: #216ba5;\n  color: white;\n  font-weight: bold;\n}\n#main .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover {\n  background-color: #216ba5;\n}\n#main .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled {\n  color: #ccc;\n}\n#main .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover {\n  cursor: default;\n  background-color: transparent;\n}\n\n#main .react-datepicker__week-number {\n  color: #ccc;\n  display: inline-block;\n  width: 1.7rem;\n  line-height: 1.7rem;\n  text-align: center;\n  margin: 0.166rem;\n}\n#main .react-datepicker__week-number.react-datepicker__week-number--clickable {\n  cursor: pointer;\n}\n#main .react-datepicker__week-number.react-datepicker__week-number--clickable:not(.react-datepicker__week-number--selected):hover {\n  border-radius: 0.3rem;\n  background-color: #f0f0f0;\n}\n#main .react-datepicker__week-number--selected {\n  border-radius: 0.3rem;\n  background-color: #216ba5;\n  color: #fff;\n}\n#main .react-datepicker__week-number--selected:hover {\n  background-color: rgb(28.75, 93.2196969697, 143.75);\n}\n\n#main .react-datepicker__day-names {\n  text-align: center;\n  white-space: nowrap;\n  margin-bottom: -8px;\n}\n\n#main .react-datepicker__week {\n  white-space: nowrap;\n}\n\n#main .react-datepicker__day-name,\n#main .react-datepicker__day,\n#main .react-datepicker__time-name {\n  color: #000;\n  display: inline-block;\n  width: 1.7rem;\n  line-height: 1.7rem;\n  text-align: center;\n  margin: 0.166rem;\n}\n#main .react-datepicker__day-name--disabled,\n#main .react-datepicker__day--disabled,\n#main .react-datepicker__time-name--disabled {\n  cursor: default;\n  color: #ccc;\n}\n\n#main .react-datepicker__day,\n#main .react-datepicker__month-text,\n#main .react-datepicker__quarter-text,\n#main .react-datepicker__year-text {\n  cursor: pointer;\n}\n#main .react-datepicker__day:not([aria-disabled=true]):hover,\n#main .react-datepicker__month-text:not([aria-disabled=true]):hover,\n#main .react-datepicker__quarter-text:not([aria-disabled=true]):hover,\n#main .react-datepicker__year-text:not([aria-disabled=true]):hover {\n  border-radius: 0.3rem;\n  background-color: #f0f0f0;\n}\n#main .react-datepicker__day--today,\n#main .react-datepicker__month-text--today,\n#main .react-datepicker__quarter-text--today,\n#main .react-datepicker__year-text--today {\n  font-weight: bold;\n}\n#main .react-datepicker__day--highlighted,\n#main .react-datepicker__month-text--highlighted,\n#main .react-datepicker__quarter-text--highlighted,\n#main .react-datepicker__year-text--highlighted {\n  border-radius: 0.3rem;\n  background-color: #3dcc4a;\n  color: #fff;\n}\n#main .react-datepicker__day--highlighted:not([aria-disabled=true]):hover,\n#main .react-datepicker__month-text--highlighted:not([aria-disabled=true]):hover,\n#main .react-datepicker__quarter-text--highlighted:not([aria-disabled=true]):hover,\n#main .react-datepicker__year-text--highlighted:not([aria-disabled=true]):hover {\n  background-color: rgb(49.8551020408, 189.6448979592, 62.5632653061);\n}\n#main .react-datepicker__day--highlighted-custom-1,\n#main .react-datepicker__month-text--highlighted-custom-1,\n#main .react-datepicker__quarter-text--highlighted-custom-1,\n#main .react-datepicker__year-text--highlighted-custom-1 {\n  color: magenta;\n}\n#main .react-datepicker__day--highlighted-custom-2,\n#main .react-datepicker__month-text--highlighted-custom-2,\n#main .react-datepicker__quarter-text--highlighted-custom-2,\n#main .react-datepicker__year-text--highlighted-custom-2 {\n  color: green;\n}\n#main .react-datepicker__day--holidays,\n#main .react-datepicker__month-text--holidays,\n#main .react-datepicker__quarter-text--holidays,\n#main .react-datepicker__year-text--holidays {\n  position: relative;\n  border-radius: 0.3rem;\n  background-color: #ff6803;\n  color: #fff;\n}\n#main .react-datepicker__day--holidays .overlay,\n#main .react-datepicker__month-text--holidays .overlay,\n#main .react-datepicker__quarter-text--holidays .overlay,\n#main .react-datepicker__year-text--holidays .overlay {\n  position: absolute;\n  bottom: 100%;\n  left: 50%;\n  transform: translateX(-50%);\n  background-color: #333;\n  color: #fff;\n  padding: 4px;\n  border-radius: 4px;\n  white-space: nowrap;\n  visibility: hidden;\n  opacity: 0;\n  transition: visibility 0s, opacity 0.3s ease-in-out;\n}\n#main .react-datepicker__day--holidays:not([aria-disabled=true]):hover,\n#main .react-datepicker__month-text--holidays:not([aria-disabled=true]):hover,\n#main .react-datepicker__quarter-text--holidays:not([aria-disabled=true]):hover,\n#main .react-datepicker__year-text--holidays:not([aria-disabled=true]):hover {\n  background-color: rgb(207, 82.9642857143, 0);\n}\n#main .react-datepicker__day--holidays:hover .overlay,\n#main .react-datepicker__month-text--holidays:hover .overlay,\n#main .react-datepicker__quarter-text--holidays:hover .overlay,\n#main .react-datepicker__year-text--holidays:hover .overlay {\n  visibility: visible;\n  opacity: 1;\n}\n#main .react-datepicker__day--selected, #main .react-datepicker__day--in-selecting-range, #main .react-datepicker__day--in-range, #main .react-datepicker__month-text--selected, #main .react-datepicker__month-text--in-selecting-range, #main .react-datepicker__month-text--in-range, #main .react-datepicker__quarter-text--selected, #main .react-datepicker__quarter-text--in-selecting-range, #main .react-datepicker__quarter-text--in-range, #main .react-datepicker__year-text--selected, #main .react-datepicker__year-text--in-selecting-range, #main .react-datepicker__year-text--in-range {\n  border-radius: 0.3rem;\n  background-color: #216ba5;\n  color: #fff;\n}\n#main .react-datepicker__day--selected:not([aria-disabled=true]):hover, #main .react-datepicker__day--in-selecting-range:not([aria-disabled=true]):hover, #main .react-datepicker__day--in-range:not([aria-disabled=true]):hover, #main .react-datepicker__month-text--selected:not([aria-disabled=true]):hover, #main .react-datepicker__month-text--in-selecting-range:not([aria-disabled=true]):hover, #main .react-datepicker__month-text--in-range:not([aria-disabled=true]):hover, #main .react-datepicker__quarter-text--selected:not([aria-disabled=true]):hover, #main .react-datepicker__quarter-text--in-selecting-range:not([aria-disabled=true]):hover, #main .react-datepicker__quarter-text--in-range:not([aria-disabled=true]):hover, #main .react-datepicker__year-text--selected:not([aria-disabled=true]):hover, #main .react-datepicker__year-text--in-selecting-range:not([aria-disabled=true]):hover, #main .react-datepicker__year-text--in-range:not([aria-disabled=true]):hover {\n  background-color: rgb(28.75, 93.2196969697, 143.75);\n}\n#main .react-datepicker__day--keyboard-selected,\n#main .react-datepicker__month-text--keyboard-selected,\n#main .react-datepicker__quarter-text--keyboard-selected,\n#main .react-datepicker__year-text--keyboard-selected {\n  border-radius: 0.3rem;\n  background-color: rgb(186.25, 217.0833333333, 241.25);\n  color: rgb(0, 0, 0);\n}\n#main .react-datepicker__day--keyboard-selected:not([aria-disabled=true]):hover,\n#main .react-datepicker__month-text--keyboard-selected:not([aria-disabled=true]):hover,\n#main .react-datepicker__quarter-text--keyboard-selected:not([aria-disabled=true]):hover,\n#main .react-datepicker__year-text--keyboard-selected:not([aria-disabled=true]):hover {\n  background-color: rgb(28.75, 93.2196969697, 143.75);\n  color: #fff;\n}\n#main .react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--in-range),\n#main .react-datepicker__month-text--in-selecting-range:not(.react-datepicker__day--in-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--in-range),\n#main .react-datepicker__quarter-text--in-selecting-range:not(.react-datepicker__day--in-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--in-range),\n#main .react-datepicker__year-text--in-selecting-range:not(.react-datepicker__day--in-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--in-range) {\n  background-color: rgba(33, 107, 165, 0.5);\n}\n#main .react-datepicker__month--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n#main .react-datepicker__year--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n#main .react-datepicker__month--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n#main .react-datepicker__year--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n#main .react-datepicker__month--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n#main .react-datepicker__year--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n#main .react-datepicker__month--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n#main .react-datepicker__year--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range) {\n  background-color: #f0f0f0;\n  color: #000;\n}\n#main .react-datepicker__day--disabled,\n#main .react-datepicker__month-text--disabled,\n#main .react-datepicker__quarter-text--disabled,\n#main .react-datepicker__year-text--disabled {\n  cursor: default;\n  color: #ccc;\n}\n#main .react-datepicker__day--disabled .overlay,\n#main .react-datepicker__month-text--disabled .overlay,\n#main .react-datepicker__quarter-text--disabled .overlay,\n#main .react-datepicker__year-text--disabled .overlay {\n  position: absolute;\n  bottom: 70%;\n  left: 50%;\n  transform: translateX(-50%);\n  background-color: #333;\n  color: #fff;\n  padding: 4px;\n  border-radius: 4px;\n  white-space: nowrap;\n  visibility: hidden;\n  opacity: 0;\n  transition: visibility 0s, opacity 0.3s ease-in-out;\n}\n\n#main .react-datepicker__input-container {\n  position: relative;\n  display: inline-block;\n  width: 100%;\n}\n#main .react-datepicker__input-container .react-datepicker__calendar-icon {\n  position: absolute;\n  padding: 0.5rem;\n  box-sizing: content-box;\n}\n\n#main .react-datepicker__view-calendar-icon input {\n  padding: 6px 10px 5px 25px;\n}\n\n#main .react-datepicker__year-read-view,\n#main .react-datepicker__month-read-view,\n#main .react-datepicker__month-year-read-view {\n  border: 1px solid transparent;\n  border-radius: 0.3rem;\n  position: relative;\n}\n#main .react-datepicker__year-read-view:hover,\n#main .react-datepicker__month-read-view:hover,\n#main .react-datepicker__month-year-read-view:hover {\n  
2cursor: pointer;\n}\n#main .react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow,\n#main .react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,\n#main .react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,\n#main .react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,\n#main .react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,\n#main .react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow {\n  border-top-color: rgb(178.5, 178.5, 178.5);\n}\n#main .react-datepicker__year-read-view--down-arrow,\n#main .react-datepicker__month-read-view--down-arrow,\n#main .react-datepicker__month-year-read-view--down-arrow {\n  transform: rotate(135deg);\n  right: -16px;\n  top: 0;\n}\n\n#main .react-datepicker__year-dropdown,\n#main .react-datepicker__month-dropdown,\n#main .react-datepicker__month-year-dropdown {\n  background-color: #f0f0f0;\n  position: absolute;\n  width: 50%;\n  left: 25%;\n  top: 30px;\n  z-index: 1;\n  text-align: center;\n  border-radius: 0.3rem;\n  border: 1px solid #aeaeae;\n}\n#main .react-datepicker__year-dropdown:hover,\n#main .react-datepicker__month-dropdown:hover,\n#main .react-datepicker__month-year-dropdown:hover {\n  cursor: pointer;\n}\n#main .react-datepicker__year-dropdown--scrollable,\n#main .react-datepicker__month-dropdown--scrollable,\n#main .react-datepicker__month-year-dropdown--scrollable {\n  height: 150px;\n  overflow-y: scroll;\n}\n\n#main .react-datepicker__year-option,\n#main .react-datepicker__month-option,\n#main .react-datepicker__month-year-option {\n  line-height: 20px;\n  width: 100%;\n  display: block;\n  margin-left: auto;\n  margin-right: auto;\n}\n#main .react-datepicker__year-option:first-of-type,\n#main .react-datepicker__month-option:first-of-type,\n#main .react-datepicker__month-year-option:first-of-type {\n  border-top-left-radius: 0.3rem;\n  border-top-right-radius: 0.3rem;\n}\n#main .react-datepicker__year-option:last-of-type,\n#main .react-datepicker__month-option:last-of-type,\n#main .react-datepicker__month-year-option:last-of-type {\n  -webkit-user-select: none;\n  -moz-user-select: none;\n  user-select: none;\n  border-bottom-left-radius: 0.3rem;\n  border-bottom-right-radius: 0.3rem;\n}\n#main .react-datepicker__year-option:hover,\n#main .react-datepicker__month-option:hover,\n#main .react-datepicker__month-year-option:hover {\n  background-color: #ccc;\n}\n#main .react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming,\n#main .react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,\n#main .react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming {\n  border-bottom-color: rgb(178.5, 178.5, 178.5);\n}\n#main .react-datepicker__year-option:hover .react-datepicker__navigation--years-previous,\n#main .react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,\n#main .react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous {\n  border-top-color: rgb(178.5, 178.5, 178.5);\n}\n#main .react-datepicker__year-option--selected,\n#main .react-datepicker__month-option--selected,\n#main .react-datepicker__month-year-option--selected {\n  position: absolute;\n  left: 15px;\n}\n\n#main .react-datepicker__close-icon {\n  cursor: pointer;\n  background-color: transparent;\n  border: 0;\n  outline: 0;\n  padding: 0 6px 0 0;\n  position: absolute;\n  top: 0;\n  right: 0;\n  height: 100%;\n  display: table-cell;\n  vertical-align: middle;\n}\n#main .react-datepicker__close-icon::after {\n  cursor: pointer;\n  background-color: #216ba5;\n  color: #fff;\n  border-radius: 50%;\n  height: 16px;\n  width: 16px;\n  padding: 2px;\n  font-size: 12px;\n  line-height: 1;\n  text-align: center;\n  display: table-cell;\n  vertical-align: middle;\n  content: "×";\n}\n#main .react-datepicker__close-icon--disabled {\n  cursor: default;\n}
2\n#main .react-datepicker__close-icon--disabled::after {\n  cursor: default;\n  background-color: #ccc;\n}\n\n#main .react-datepicker__today-button {\n  background: #f0f0f0;\n  border-top: 1px solid #aeaeae;\n  cursor: pointer;\n  text-align: center;\n  font-weight: bold;\n  padding: 5px 0;\n  clear: left;\n}\n\n#main .react-datepicker__portal {\n  position: fixed;\n  width: 100vw;\n  height: 100vh;\n  background-color: rgba(0, 0, 0, 0.8);\n  left: 0;\n  top: 0;\n  justify-content: center;\n  align-items: center;\n  display: flex;\n  z-index: 2147483647;\n}\n#main .react-datepicker__portal .react-datepicker__day-name,\n#main .react-datepicker__portal .react-datepicker__day,\n#main .react-datepicker__portal .react-datepicker__time-name {\n  width: 3rem;\n  line-height: 3rem;\n}\n@media (max-width: 400px), (max-height: 550px) {\n  #main .react-datepicker__portal .react-datepicker__day-name,\n  #main .react-datepicker__portal .react-datepicker__day,\n  #main .react-datepicker__portal .react-datepicker__time-name {\n    width: 2rem;\n    line-height: 2rem;\n  }\n}\n#main .react-datepicker__portal .react-datepicker__current-month,\n#main .react-datepicker__portal .react-datepicker-time__header {\n  font-size: 1.44rem;\n}\n\n#main .react-datepicker__children-container {\n  width: 13.8rem;\n  margin: 0.4rem;\n  padding-right: 0.2rem;\n  padding-left: 0.2rem;\n  height: auto;\n}\n\n#main .react-datepicker__aria-live {\n  position: absolute;\n  clip-path: circle(0);\n  border: 0;\n  height: 1px;\n  margin: -1px;\n  overflow: hidden;\n  padding: 0;\n  width: 1px;\n  white-space: nowrap;\n}\n\n#main .react-datepicker__calendar-icon {\n  width: 1em;\n  height: 1em;\n  vertical-align: -0.125em;\n}\n',""]);const s=a},9869:(e,t)=>{"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.iterator,f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,m={};function g(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||f}function y(){}function w(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||f}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=g.prototype;var v=w.prototype=new y;v.constructor=w,h(v,g.prototype),v.isPureReactComponent=!0;var b=Array.isArray,x={H:null,A:null,T:null,S:null,V:null},_=Object.prototype.hasOwnProperty;function B(e,t,r,o,i,a){return r=a.ref,{$$typeof:n,type:e,key:t,ref:void 0!==r?r:null,props:a}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var k=/\/+/g;function S(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36);var n,r}function j(){}function E(e,t,o,i,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l,c,A=!1;if(null===e)A=!0;else switch(s){case"bigint":case"string":case"number":A=!0;break;case"object":switch(e.$$typeof){case n:case r:A=!0;break;case d:return E((A=e._init)(e._payload),t,o,i,a)}}if(A)return a=a(e),A=""===i?"."+S(e,0):i,b(a)?(o="",null!=A&&(o=A.replace(k,"$&/")+"/"),E(a,t,o,"",function(e){return e})):null!=a&&(C(a)&&(l=a,c=o+(null==a.key||e&&e.key===a.key?"":(""+a.key).replace(k,"$&/")+"/")+A,a=B(l.type,c,void 0,0,0,l.props)),t.push(a)),1;A=0;var u,f=""===i?".":i+":";if(b(e))for(var h=0;h<e.length;h++)A+=E(i=e[h],t,o,s=f+S(i,h),a);else if("function"==typeof(h=null===(u=e)||"object"!=typeof u?null:"function"==typeof(u=p&&u[p]||u["@@iterator"])?u:null))for(e=h.call(e),h=0;!(i=e.next()).done;)A+=E(i=i.value,t,o,s=f+S(i,h++),a);else if("object"===s){if("function"==typeof e.then)return E(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(j,j):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(e),t,o,i,a);throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return A}function F(e,t,n){if(null==e)return e;var r=[],o=0;return E(e,r,"","",function(e){return t.call(n,e,o++)}),r}function N(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var U="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)};function L(){}
2t.Children={map:F,forEach:function(e,t,n){F(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return F(e,function(){t++}),t},toArray:function(e){return F(e,function(e){return e})||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=g,t.Fragment=o,t.Profiler=a,t.PureComponent=w,t.StrictMode=i,t.Suspense=A,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=x,t.__COMPILER_RUNTIME={__proto__:null,c:function(e){return x.H.useMemoCache(e)}},t.cache=function(e){return function(){return e.apply(null,arguments)}},t.cloneElement=function(e,t,n){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var r=h({},e.props),o=e.key;if(null!=t)for(i in t.ref,void 0!==t.key&&(o=""+t.key),t)!_.call(t,i)||"key"===i||"__self"===i||"__source"===i||"ref"===i&&void 0===t.ref||(r[i]=t[i]);var i=arguments.length-2;if(1===i)r.children=n;else if(1<i){for(var a=Array(i),s=0;s<i;s++)a[s]=arguments[s+2];r.children=a}return B(e.type,o,void 0,0,0,r)},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:s,_context:e},e},t.createElement=function(e,t,n){var r,o={},i=null;if(null!=t)for(r in void 0!==t.key&&(i=""+t.key),t)_.call(t,r)&&"key"!==r&&"__self"!==r&&"__source"!==r&&(o[r]=t[r]);var a=arguments.length-2;if(1===a)o.children=n;else if(1<a){for(var s=Array(a),l=0;l<a;l++)s[l]=arguments[l+2];o.children=s}if(e&&e.defaultProps)for(r in a=e.defaultProps)void 0===o[r]&&(o[r]=a[r]);return B(e,i,void 0,0,0,o)},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:N}},t.memo=function(e,t){return{$$typeof:u,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=x.T,n={};x.T=n;try{var r=e(),o=x.S;null!==o&&o(n,r),"object"==typeof r&&null!==r&&"function"==typeof r.then&&r.then(L,U)}catch(e){U(e)}finally{x.T=t}},t.unstable_useCacheRefresh=function(){return x.H.useCacheRefresh()},t.use=function(e){return x.H.use(e)},t.useActionState=function(e,t,n){return x.H.useActionState(e,t,n)},t.useCallback=function(e,t){return x.H.useCallback(e,t)},t.useContext=function(e){return x.H.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e,t){return x.H.useDeferredValue(e,t)},t.useEffect=function(e,t,n){var r=x.H;if("function"==typeof n)throw Error("useEffect CRUD overload is not enabled in this build of React.");return r.useEffect(e,t)},t.useId=function(){return x.H.useId()},t.useImperativeHandle=function(e,t,n){return x.H.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return x.H.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return x.H.useLayoutEffect(e,t)},t.useMemo=function(e,t){return x.H.useMemo(e,t)},t.useOptimistic=function(e,t){return x.H.useOptimistic(e,t)},t.useReducer=function(e,t,n){return x.H.useReducer(e,t,n)},t.useRef=function(e){return x.H.useRef(e)},t.useState=function(e){return x.H.useState(e)},t.useSyncExternalStore=function(e,t,n){return x.H.useSyncExternalStore(e,t,n)},t.useTransition=function(){return x.H.useTransition()},t.version="19.1.1"},9982:(e,t,n)=>{"use strict";e.exports=n(4477)}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={id:e,exports:{}};return o[e].call(n.exports,n,n.exports,a),n.exports}a.m=o,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var o=Object.create(null);a.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;("object"==typeof s||"function"==typeof s)&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach(e=>i[e]=()=>n[e]);return i.default=()=>n,a.d(o,i),o},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((t,n)=>(a.f[n](e,t),t),[])),a.u=e=>e+".main.js",a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}
2}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},r="my-react-router-app:",a.l=(e,t,o,i)=>{if(n[e])n[e].push(t);else{var s,l;if(void 0!==o)for(var c=document.getElementsByTagName("script"),A=0;A<c.length;A++){var u=c[A];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==r+o){s=u;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",r+o),s.src=e),n[e]=[t];var d=(t,r)=>{s.onerror=s.onload=null,clearTimeout(p);var o=n[e];if(delete n[e],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach(e=>e(r)),t)return t(r)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),l&&document.head.appendChild(s)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.p="/",(()=>{a.b="undefined"!=typeof document&&document.baseURI||self.location.href;var e={792:0};a.f.j=(t,n)=>{var r=a.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise((n,o)=>r=e[t]=[n,o]);n.push(r[2]=o);var i=a.p+a.u(t),s=new Error;a.l(i,n=>{if(a.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",s.name="ChunkLoadError",s.type=o,s.request=i,r[1](s)}},"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[i,s,l]=n,c=0;if(i.some(t=>0!==e[t])){for(r in s)a.o(s,r)&&(a.m[r]=s[r]);l&&l(a)}for(t&&t(n);c<i.length;c++)o=i[c],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=self.webpackChunkmy_react_router_app=self.webpackChunkmy_react_router_app||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),a.nc=void 0,(()=>{"use strict";var e={};a.r(e),a.d(e,{hasBrowserEnv:()=>ol,hasStandardBrowserEnv:()=>al,hasStandardBrowserWebWorkerEnv:()=>sl,navigator:()=>il,origin:()=>ll});var t,n=a(6540),r=a.t(n,2),o=a(5338),i=e=>{throw TypeError(e)},s=(e,t,n)=>(((e,t)=>{t.has(e)||i("Cannot read from private field")})(e,t),n?n.call(e):t.get(e)),l="popstate";function c(e={}){return function(e,t,n,r={}){let{window:o=document.defaultView,v5Compat:i=!1}=r,a=o.history,s="POP",c=null,A=u();function u(){return(a.state||{idx:null}).idx}function f(){s="POP";let e=u(),t=null==e?null:e-A;A=e,c&&c({action:s,location:g.location,delta:t})}function h(e){return m(e)}null==A&&(A=0,a.replaceState({...a.state,idx:A},""));let g={get action(){return s},get location(){return e(o,a)},listen(e){if(c)throw new Error("A history only accepts one active listener");return o.addEventListener(l,f),c=e,()=>{o.removeEventListener(l,f),c=null}},createHref:e=>t(o,e),createURL:h,encodeLocation(e){let t=h(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){s="PUSH";let r=p(g.location,e,t);n&&n(r,e),A=u()+1;let l=d(r,A),f=g.createHref(r);try{a.pushState(l,"",f)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;o.location.assign(f)}i&&c&&c({action:s,location:g.location,delta:1})},replace:function(e,t){s="REPLACE";let r=p(g.location,e,t);n&&n(r,e),A=u();let o=d(r,A),l=g.createHref(r);a.replaceState(o,"",l),i&&c&&c({action:s,location:g.location,delta:0})},go:e=>a.go(e)};return g}(function(e,t){let{pathname:n,search:r,hash:o}=e.location;return p("",{pathname:n,search:r,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){return"string"==typeof t?t:f(t)},null,e)}function A(e,t){if(!1===e||null==e)throw new Error(t)}function u(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function d(e,t){return{usr:e.state,key:e.key,idx:t}}function p(e,t,n=null,r){return{pathname:"string"==typeof e?e:e.pathname,search:"",hash:"",..."string"==typeof t?h(t):t,state:n,key:t&&t.key||r||Math.random().toString(36).substring(2,10)}}function f({pathname:e="/",search:t="",hash:n=""}){return t&&"?"!==t&&(e+="?"===t.charAt(0)?t:"?"+t),n&&"#"!==n&&(e+="#"===n.charAt(0)?n:"#"+n),e}function h(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function m(e,t=!1){let n="http://localhost";"undefined"!=typeof window&&(n="null"!==window.location.origin?window.location.origin:window.location.href),A(n,"No window.location.(origin|href) available to create URL");let r="string"==typeof e?e:f(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}var g=class{constructor(e){var n,r,o;
2if(n=this,r=t,o=new Map,r.has(n)?i("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(n):r.set(n,o),e)for(let[t,n]of e)this.set(t,n)}get(e){if(s(this,t).has(e))return s(this,t).get(e);if(void 0!==e.defaultValue)return e.defaultValue;throw new Error("No value found for context")}set(e,n){s(this,t).set(e,n)}};t=new WeakMap;var y=new Set(["lazy","caseSensitive","path","id","index","children"]),w=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function v(e){return w.has(e)}function b(e,t,n=[],r={},o=!1){return e.map((e,i)=>{let a=[...n,String(i)],s="string"==typeof e.id?e.id:a.join("-");if(A(!0!==e.index||!e.children,"Cannot specify children on an index route"),A(o||!r[s],`Found a route id collision on id "${s}".  Route id's must be globally unique within Data Router usages`),function(e){return!0===e.index}(e)){let n={...e,id:s};return r[s]=x(n,t(n)),n}{let n={...e,id:s,children:void 0};return r[s]=x(n,t(n)),e.children&&(n.children=b(e.children,t,a,r,o)),n}})}function x(e,t){return Object.assign(e,{...t,..."object"==typeof t.lazy&&null!=t.lazy?{lazy:{...e.lazy,...t.lazy}}:{}})}function _(e,t,n="/"){return B(e,t,n,!1)}function B(e,t,n,r){let o=O(("string"==typeof t?h(t):t).pathname||"/",n);if(null==o)return null;let i=k(e);!function(e){e.sort((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(i);let a=null;for(let e=0;null==a&&e<i.length;++e){let t=D(o);a=Q(i[e],t,r)}return a}function C(e,t){let{route:n,pathname:r,params:o}=e;return{id:n.id,pathname:r,params:o,data:t[n.id],loaderData:t[n.id],handle:n.handle}}function k(e,t=[],n=[],r="",o=!1){let i=(e,i,a=o,s)=>{let l={relativePath:void 0===s?e.path||"":s,caseSensitive:!0===e.caseSensitive,childrenIndex:i,route:e};if(l.relativePath.startsWith("/")){if(!l.relativePath.startsWith(r)&&a)return;A(l.relativePath.startsWith(r),`Absolute route path "${l.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),l.relativePath=l.relativePath.slice(r.length)}let c=q([r,l.relativePath]),u=n.concat(l);e.children&&e.children.length>0&&(A(!0!==e.index,`Index routes must not have child routes. Please remove all child routes from route path "${c}".`),k(e.children,t,u,c,a)),(null!=e.path||e.index)&&t.push({path:c,score:P(c,e.index),routesMeta:u})};return e.forEach((e,t)=>{if(""!==e.path&&e.path?.includes("?"))for(let n of S(e.path))i(e,t,!0,n);else i(e,t)}),t}function S(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(0===r.length)return o?[i,""]:[i];let a=S(r.join("/")),s=[];return s.push(...a.map(e=>""===e?i:[i,e].join("/"))),o&&s.push(...a),s.map(t=>e.startsWith("/")&&""===t?"/":t)}var j=/^:[\w-]+$/,E=3,F=2,N=1,U=10,L=-2,I=e=>"*"===e;function P(e,t){let n=e.split("/"),r=n.length;return n.some(I)&&(r+=L),t&&(r+=F),n.filter(e=>!I(e)).reduce((e,t)=>e+(j.test(t)?E:""===t?N:U),r)}function Q(e,t,n=!1){let{routesMeta:r}=e,o={},i="/",a=[];for(let e=0;e<r.length;++e){let s=r[e],l=e===r.length-1,c="/"===i?t:t.slice(i.length)||"/",A=T({path:s.relativePath,caseSensitive:s.caseSensitive,end:l},c),u=s.route;if(!A&&l&&n&&!r[r.length-1].route.index&&(A=T({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},c)),!A)return null;
2Object.assign(o,A.params),a.push({params:o,pathname:q([i,A.pathname]),pathnameBase:W(q([i,A.pathnameBase])),route:u}),"/"!==A.pathnameBase&&(i=q([i,A.pathnameBase]))}return a}function T(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t=!1,n=!0){u("*"===e||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],a=i.replace(/(.)\/+$/,"$1"),s=o.slice(1),l=r.reduce((e,{paramName:t,isOptional:n},r)=>{if("*"===t){let e=s[r]||"";a=i.slice(0,i.length-e.length).replace(/(.)\/+$/,"$1")}const o=s[r];return e[t]=n&&!o?void 0:(o||"").replace(/%2F/g,"/"),e},{});return{params:l,pathname:i,pathnameBase:a,pattern:e}}function D(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return u(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function O(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}var R=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,M=e=>R.test(e);function H(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)}),n.length>1?n.join("/"):"/"}function z(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}].  Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function K(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}function $(e){let t=K(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function V(e,t,n,r=!1){let o;"string"==typeof e?o=h(e):(o={...e},A(!o.pathname||!o.pathname.includes("?"),z("?","pathname","search",o)),A(!o.pathname||!o.pathname.includes("#"),z("#","pathname","hash",o)),A(!o.search||!o.search.includes("#"),z("#","search","hash",o)));let i,a=""===e||""===o.pathname,s=a?"/":o.pathname;if(null==s)i=n;else{let e=t.length-1;if(!r&&s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}i=e>=0?t[e]:"/"}let l=function(e,t="/"){let n,{pathname:r,search:o="",hash:i=""}="string"==typeof e?h(e):e;return r?(r=r.replace(/\/\/+/g,"/"),n=r.startsWith("/")?H(r.substring(1),"/"):H(r,t)):n=t,{pathname:n,search:G(o),hash:Y(i)}}(o,i),c=s&&"/"!==s&&s.endsWith("/"),u=(a||"."===s)&&n.endsWith("/");return l.pathname.endsWith("/")||!c&&!u||(l.pathname+="/"),l}var q=e=>e.join("/").replace(/\/\/+/g,"/"),W=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),G=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",Y=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"",X=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function J(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}function Z(e){return e.map(e=>e.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var ee="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function te(e,t){let n=e;if("string"!=typeof n||!R.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,o=!1;if(ee)try{let e=new URL(window.location.href),r=n.startsWith("//")?new URL(e.protocol+n):new URL(n),i=O(r.pathname,t);r.origin===e.origin&&null!=i?n=i+r.search+r.hash:o=!0}catch(e){u(!1,`<Link to="${n}">
2 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:o,to:n}}var ne=Symbol("Uninstrumented");function re(e,t){let n={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};e.forEach(e=>e({id:t.id,index:t.index,path:t.path,instrument(e){let t=Object.keys(n);for(let r of t)e[r]&&n[r].push(e[r])}}));let r={};if("function"==typeof t.lazy&&n.lazy.length>0){let e=oe(n.lazy,t.lazy,()=>{});e&&(r.lazy=e)}if("object"==typeof t.lazy){let e=t.lazy;["middleware","loader","action"].forEach(t=>{let o=e[t],i=n[`lazy.${t}`];if("function"==typeof o&&i.length>0){let e=oe(i,o,()=>{});e&&(r.lazy=Object.assign(r.lazy||{},{[t]:e}))}})}return["loader","action"].forEach(e=>{let o=t[e];if("function"==typeof o&&n[e].length>0){let t=o[ne]??o,i=oe(n[e],t,(...e)=>ae(e[0]));i&&("loader"===e&&!0===t.hydrate&&(i.hydrate=!0),i[ne]=t,r[e]=i)}}),t.middleware&&t.middleware.length>0&&n.middleware.length>0&&(r.middleware=t.middleware.map(e=>{let t=e[ne]??e,r=oe(n.middleware,t,(...e)=>ae(e[0]));return r?(r[ne]=t,r):e})),r}function oe(e,t,n){return 0===e.length?null:async(...r)=>{let o=await ie(e,n(...r),()=>t(...r),e.length-1);if("error"===o.type)throw o.value;return o.value}}async function ie(e,t,n,r){let o,i=e[r];if(i){let a,s=async()=>(a?console.error("You cannot call instrumented handlers more than once"):a=ie(e,t,n,r-1),o=await a,A(o,"Expected a result"),"error"===o.type&&o.value instanceof Error?{status:"error",error:o.value}:{status:"success",error:void 0});try{await i(s,t)}catch(e){console.error("An instrumentation function threw an error:",e)}a||await s(),await a}else try{let e=await n();o={type:"success",value:e}}catch(e){o={type:"error",value:e}}return o||{type:"error",value:new Error("No result assigned in instrumentation chain.")}}function ae(e){let{request:t,context:n,params:r,unstable_pattern:o}=e;return{request:le(t),params:{...r},unstable_pattern:o,context:ce(n)}}function se(e,t){return{currentUrl:f(e.state.location),..."formMethod"in t?{formMethod:t.formMethod}:{},..."formEncType"in t?{formEncType:t.formEncType}:{},..."formData"in t?{formData:t.formData}:{},..."body"in t?{body:t.body}:{}}}function le(e){return{method:e.method,url:e.url,headers:{get:(...t)=>e.headers.get(...t)}}}function ce(e){if(function(e){if(null===e||"object"!=typeof e)return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||null===t||Object.getOwnPropertyNames(t).sort().join("\0")===Ae}(e)){let t={...e};return Object.freeze(t),t}return{get:t=>e.get(t)}}var Ae=Object.getOwnPropertyNames(Object.prototype).sort().join("\0"),ue=["POST","PUT","PATCH","DELETE"],de=new Set(ue),pe=["GET",...ue],fe=new Set(pe),he=new Set([301,302,303,307,308]),me=new Set([307,308]),ge={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ye={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},we={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},ve=e=>({hasErrorBoundary:Boolean(e.hasErrorBoundary)}),be="remix-router-transitions",xe=Symbol("ResetLoaderData");function _e(e){const t=e.window?e.window:"undefined"!=typeof window?window:void 0,n=void 0!==t&&void 0!==t.document&&void 0!==t.document.createElement;A(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let r=e.hydrationRouteProperties||[],o=e.mapRouteProperties||ve,i=o;if(e.unstable_instrumentations){let t=e.unstable_instrumentations;i=e=>({...o(e),...re(t.map(e=>e.route).filter(Boolean),e)})}let a,s={},l=b(e.routes,i,void 0,s),c=e.basename||"/";c.startsWith("/")||(c=`/${c}`);let d,h,y=e.dataStrategy||Qe,w={...e.future},v=null,x=new Set,k=null,S=null,j=null,E=null!=e.hydrationData,F=_(l,e.history.location,c),N=!1,U=null;if(null!=F||e.patchRoutesOnNavigation)if(F&&!e.hydrationData&&at(F,l,e.history.location.pathname).active&&(F=null),F)if(F.some(e=>e.route.lazy))d=!1;else if(F.some(e=>Se(e.route))){let t=e.hydrationData?e.hydrationData.loaderData:null,n=e.hydrationData?e.hydrationData.errors:null;if(n){let e=F.findIndex(e=>void 0!==n[e.route.id]);d=F.slice(0,e+1).every(e=>!je(e.route,t,n))}else d=F.every(e=>!je(e.route,t,n))}else d=!0;else{d=!1,F=[];let t=at(null,l,e.history.location.pathname);t.active&&t.matches&&(N=!0,F=t.matches)}else{let t=Ze(404,{pathname:e.history.location.pathname}),{matches:n,route:r}=Je(l);d=!0,F=n,U={[r.id]:t}}let L,I,P={historyAction:e.history.action,location:e.history.location,matches:F,initialized:d,navigation:ge,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||U,fetchers:new Map,blockers:new Map},Q="POP",T=null,D=!1,R=!1,H=new Map,z=null,K=!1,$=!1,V=new Set,q=new Map,W=0,G=-1,Y=new Map,X=new Set,ee=new Map,te=new Map,ie=new Set,ae=new Map,le=null;function ce(e,t={}){e.matches&&(e.matches=e.matches.map(e=>{let t=s[e.route.id],n=e.route;return n.element!==t.element||n.errorElement!==t.errorElement||n.hydrateFallbackElement!==t.hydrateFallbackElement?{...e,route:t}:e})),P={...P,...e};let n=[],r=[];
2P.fetchers.forEach((e,t)=>{"idle"===e.state&&(ie.has(t)?n.push(t):r.push(t))}),ie.forEach(e=>{P.fetchers.has(e)||q.has(e)||n.push(e)}),[...x].forEach(r=>r(P,{deletedFetchers:n,newErrors:e.errors??null,viewTransitionOpts:t.viewTransitionOpts,flushSync:!0===t.flushSync})),n.forEach(e=>Ue(e)),r.forEach(e=>P.fetchers.delete(e))}function Ae(t,n,{flushSync:r}={}){let o,i=null!=P.actionData&&null!=P.navigation.formMethod&&lt(P.navigation.formMethod)&&"loading"===P.navigation.state&&!0!==t.state?._isRedirect;o=n.actionData?Object.keys(n.actionData).length>0?n.actionData:null:i?P.actionData:null;let s=n.loaderData?Ge(P.loaderData,n.loaderData,n.matches||[],n.errors):P.loaderData,c=P.blockers;c.size>0&&(c=new Map(c),c.forEach((e,t)=>c.set(t,we)));let A,u=!K&&nt(t,n.matches||P.matches),d=!0===D||null!=P.navigation.formMethod&&lt(P.navigation.formMethod)&&!0!==t.state?._isRedirect;if(a&&(l=a,a=void 0),K||"POP"===Q||("PUSH"===Q?e.history.push(t,t.state):"REPLACE"===Q&&e.history.replace(t,t.state)),"POP"===Q){let e=H.get(P.location.pathname);e&&e.has(t.pathname)?A={currentLocation:P.location,nextLocation:t}:H.has(t.pathname)&&(A={currentLocation:t,nextLocation:P.location})}else if(R){let e=H.get(P.location.pathname);e?e.add(t.pathname):(e=new Set([t.pathname]),H.set(P.location.pathname,e)),A={currentLocation:P.location,nextLocation:t}}ce({...n,actionData:o,loaderData:s,historyAction:Q,location:t,initialized:!0,navigation:ge,revalidation:"idle",restoreScrollPosition:u,preventScrollReset:d,blockers:c},{viewTransitionOpts:A,flushSync:!0===r}),Q="POP",D=!1,R=!1,K=!1,$=!1,T?.resolve(),T=null,le?.resolve(),le=null}async function ue(t,n,o){L&&L.abort(),L=null,Q=t,K=!0===(o&&o.startUninterruptedRevalidation),function(e,t){if(k&&j){let n=tt(e,t);k[n]=j()}}(P.location,P.matches),D=!0===(o&&o.preventScrollReset),R=!0===(o&&o.enableViewTransition);let A=a||l,u=o&&o.overrideNavigation,d=o?.initialHydration&&P.matches&&P.matches.length>0&&!N?P.matches:_(A,n,c),p=!0===(o&&o.flushSync);if(d&&P.initialized&&!$&&(f=P.location,h=n,f.pathname===h.pathname&&f.search===h.search&&(""===f.hash?""!==h.hash:f.hash===h.hash||""!==h.hash))&&!(o&&o.submission&&lt(o.submission.formMethod)))return void Ae(n,{matches:d},{flushSync:p});var f,h;let m=at(d,A,n.pathname);if(m.active&&m.matches&&(d=m.matches),!d){let{error:e,notFoundMatches:t,route:r}=qe(n.pathname);return void Ae(n,{matches:t,loaderData:{},errors:{[r.id]:e}},{flushSync:p})}L=new AbortController;let y,w=$e(e.history,n,L.signal,o&&o.submission),v=e.getContext?await e.getContext():new g;if(o&&o.pendingError)y=[Xe(d).route.id,{type:"error",error:o.pendingError}];else if(o&&o.submission&&lt(o.submission.formMethod)){let t=await async function(t,n,o,a,A,u,d,p={}){xe();let f,h=function(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}(n,o);if(ce({navigation:h},{flushSync:!0===p.flushSync}),u){let e=await st(a,n.pathname,t.signal);if("aborted"===e.type)return{shortCircuited:!0};if("error"===e.type){if(0===e.partialMatches.length){let{matches:t,route:n}=Je(l);return{matches:t,pendingActionResult:[n.id,{type:"error",error:e.error}]}}let t=Xe(e.partialMatches).route.id;return{matches:e.partialMatches,pendingActionResult:[t,{type:"error",error:e.error}]}}if(!e.matches){let{notFoundMatches:e,error:t,route:r}=qe(n.pathname);return{matches:e,pendingActionResult:[r.id,{type:"error",error:t}]}}a=e.matches}let m=At(a,n);if(m.route.action||m.route.lazy){let e=Me(i,s,t,a,m,d?[]:r,A),n=await fe(t,e,A,null);if(f=n[m.route.id],!f)for(let e of a)if(n[e.route.id]){f=n[e.route.id];break}if(t.signal.aborted)return{shortCircuited:!0}}else f={type:"error",error:Ze(405,{method:t.method,pathname:n.pathname,routeId:m.route.id})};if(it(f)){let n;return n=p&&null!=p.replace?p.replace:Ke(f.response.headers.get("Location"),new URL(t.url),c,e.history)===P.location.pathname+P.location.search,await pe(t,f,!0,{submission:o,replace:n}),{shortCircuited:!0}}if(ot(f)){let e=Xe(a,m.route.id);return!0!==(p&&p.replace)&&(Q="PUSH"),{matches:a,pendingActionResult:[e.route.id,f,m.route.id]}}return{matches:a,pendingActionResult:[m.route.id,f]}}(w,n,o.submission,d,v,m.active,o&&!0===o.initialHydration,{replace:o.replace,flushSync:p});if(t.shortCircuited)return;if(t.pendingActionResult){let[e,r]=t.pendingActionResult;if(ot(r)&&J(r.error)&&404===r.error.status)return L=null,void Ae(n,{matches:t.matches,loaderData:{},errors:{[e]:r.error}})}d=t.matches||d,y=t.pendingActionResult,u=dt(n,o.submission),p=!1,m.active=!1,w=$e(e.history,w.url,w.signal)}let{shortCircuited:b,matches:x,loaderData:B,errors:C}=await async function(t,n,o,A,u,d,p,f,h,m,g,y,w){let v=d||dt(n,p),b=p||f||ut(v),x=!K&&!m;if(u){if(x){let e=de(y);ce({navigation:v,...void 0!==e?{actionData:e}:{}},{flushSync:g})}let e=await st(o,n.pathname,t.signal);if("aborted"===e.type)return{shortCircuited:!0};if("error"===e.type){if(0===e.partialMatches.length){let{matches:t,route:n}=Je(l);return{matches:t,loaderData:{},errors:{[n.id]:e.error}}}let t=Xe(e.partialMatches).route.id;return{matches:e.partialMatches,loaderData:{},errors:{[t]:e.error}}}if(!e.matches){let{error:e,notFoundMatches:t,route:r}=qe(n.pathname);return{matches:t,loaderData:{},errors:{[r.id]:e}}}o=e.matches}let _=a||l,{dsMatches:B,revalidatingFetchers:C}=ke(t,A,i,s,e.history,P,o,b,n,m?[]:r,!0===m,$,V,ie,ee,X,_,c,null!=e.patchRoutesOnNavigation,y,w);if(G=++W,!e.dataStrategy&&!B.some(e=>e.shouldLoad)&&!B.some(e=>e.route.middleware&&e.route.middleware.length>0)&&0===C.length){let e=Pe();return Ae(n,{matches:o,loaderData:{},errors:y&&ot(y[1])?{[y[0]]:y[1].error}:null,...Ye(y),...e?{fetchers:new Map(P.fetchers)}:{}},{flushSync:g}),{shortCircuited:!0}}if(x){let e={};if(!u){e.navigation=v;let t=de(y);void 0!==t&&(e.actionData=t)}C.length>
20&&(e.fetchers=function(e){return e.forEach(e=>{let t=P.fetchers.get(e.key),n=pt(void 0,t?t.data:void 0);P.fetchers.set(e.key,n)}),new Map(P.fetchers)}(C)),ce(e,{flushSync:g})}C.forEach(e=>{Le(e.key),e.controller&&q.set(e.key,e.controller)});let k=()=>C.forEach(e=>Le(e.key));L&&L.signal.addEventListener("abort",k);let{loaderResults:S,fetcherResults:j}=await he(B,C,t,A);if(t.signal.aborted)return{shortCircuited:!0};L&&L.signal.removeEventListener("abort",k),C.forEach(e=>q.delete(e.key));let E=et(S);if(E)return await pe(t,E.result,!0,{replace:h}),{shortCircuited:!0};if(E=et(j),E)return X.add(E.key),await pe(t,E.result,!0,{replace:h}),{shortCircuited:!0};let{loaderData:F,errors:N}=We(P,o,S,y,C,j);m&&P.errors&&(N={...P.errors,...N});let U=Pe(),I=De(G);return{matches:o,loaderData:F,errors:N,...U||I||C.length>0?{fetchers:new Map(P.fetchers)}:{}}}(w,n,d,v,m.active,u,o&&o.submission,o&&o.fetcherSubmission,o&&o.replace,o&&!0===o.initialHydration,p,y,o&&o.callSiteDefaultShouldRevalidate);b||(L=null,Ae(n,{matches:x||d,...Ye(y),loaderData:B,errors:C}))}function de(e){return e&&!ot(e[1])?{[e[0]]:e[1].data}:P.actionData?0===Object.keys(P.actionData).length?null:P.actionData:void 0}async function pe(r,o,i,{submission:a,fetcherSubmission:s,preventScrollReset:l,replace:u}={}){i||(T?.resolve(),T=null),o.response.headers.has("X-Remix-Revalidate")&&($=!0);let d=o.response.headers.get("Location");A(d,"Expected a Location header on the redirect Response"),d=Ke(d,new URL(r.url),c,e.history);let f=p(P.location,d,{_isRedirect:!0});if(n){let e=!1;if(o.response.headers.has("X-Remix-Reload-Document"))e=!0;else if(M(d)){const n=m(d,!0);e=n.origin!==t.location.origin||null==O(n.pathname,c)}if(e)return void(u?t.location.replace(d):t.location.assign(d))}L=null;let h=!0===u||o.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:g,formAction:y,formEncType:w}=P.navigation;!a&&!s&&g&&y&&w&&(a=ut(P.navigation));let v=a||s;if(me.has(o.response.status)&&v&&lt(v.formMethod))await ue(h,f,{submission:{...v,formAction:d},preventScrollReset:l||D,enableViewTransition:i?R:void 0});else{let e=dt(f,a);await ue(h,f,{overrideNavigation:e,fetcherSubmission:s,preventScrollReset:l||D,enableViewTransition:i?R:void 0})}}async function fe(e,t,n,r){let o,i={};try{o=await async function(e,t,n,r,o,i){n.some(e=>e._lazyPromises?.middleware)&&await Promise.all(n.map(e=>e._lazyPromises?.middleware));let a={request:t,unstable_pattern:Z(n),params:n[0].params,context:o,matches:n},s=i?()=>{throw new Error("You cannot call `runClientMiddleware()` from a static handler `dataStrategy`. Middleware is run outside of `dataStrategy` during SSR in order to bubble up the Response.  You can enable middleware via the `respond` API in `query`/`queryRoute`")}:e=>{let t=a;return Te(t,()=>e({...t,fetcherKey:r,runClientMiddleware:()=>{throw new Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))},l=await e({...a,fetcherKey:r,runClientMiddleware:s});try{await Promise.all(n.flatMap(e=>[e._lazyPromises?.handler,e._lazyPromises?.route]))}catch(e){}return l}(y,e,t,r,n,!1)}catch(e){return t.filter(e=>e.shouldLoad).forEach(t=>{i[t.route.id]={type:"error",error:e}}),i}if(e.signal.aborted)return i;if(!lt(e.method))for(let e of t){if("error"===o[e.route.id]?.type)break;o.hasOwnProperty(e.route.id)||P.loaderData.hasOwnProperty(e.route.id)||P.errors&&P.errors.hasOwnProperty(e.route.id)||!e.shouldCallHandler()||(o[e.route.id]={type:"error",result:new Error(`No result returned from dataStrategy for route ${e.route.id}`)})}for(let[n,r]of Object.entries(o))if(rt(r)){let o=r.result;i[n]={type:"redirect",response:ze(o,e,n,t,c)}}else i[n]=await He(r);return i}async function he(e,t,n,r){let o=fe(n,e,r,null),i=Promise.all(t.map(async e=>{if(e.matches&&e.match&&e.request&&e.controller){let t=(await fe(e.request,e.matches,r,e.key))[e.match.route.id];return{[e.key]:t}}return Promise.resolve({[e.key]:{type:"error",error:Ze(404,{pathname:e.path})}})}));return{loaderResults:await o,fetcherResults:(await i).reduce((e,t)=>Object.assign(e,t),{})}}function xe(){$=!0,ee.forEach((e,t)=>{q.has(t)&&V.add(t),Le(t)})}function _e(e,t,n={}){P.fetchers.set(e,t),ce({fetchers:new Map(P.fetchers)},{flushSync:!0===(n&&n.flushSync)})}function Ee(e,t,n,r={}){let o=Xe(P.matches,t);Ue(e),ce({errors:{[o.route.id]:n},fetchers:new Map(P.fetchers)},{flushSync:!0===(r&&r.flushSync)})}function Ne(e){return te.set(e,(te.get(e)||0)+1),ie.has(e)&&ie.delete(e),P.fetchers.get(e)||ye}function Ue(e){let t=P.fetchers.get(e);!q.has(e)||t&&"loading"===t.state&&Y.has(e)||Le(e),ee.delete(e),Y.delete(e),X.delete(e),ie.delete(e),V.delete(e),P.fetchers.delete(e)}function Le(e,t){let n=q.get(e);n&&(n.abort(t),q.delete(e))}function Ie(e){for(let t of e){let e=ft(Ne(t).data);P.fetchers.set(t,e)}}function Pe(){let e=[],t=!1;for(let n of X){let r=P.fetchers.get(n);A(r,`Expected fetcher: ${n}`),"loading"===r.state&&(X.delete(n),e.push(n),t=!0)}return Ie(e),t}function De(e){let t=[];for(let[n,r]of Y)if(r<e){let e=P.fetchers.get(n);A(e,`Expected fetcher: ${n}`),"loading"===e.state&&(Le(n),Y.delete(n),t.push(n))}return Ie(t),t.length>0}function Oe(e){P.blockers.delete(e),ae.delete(e)}function Re(e,t){let n=P.blockers.get(e)||we;A("unblocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"proceeding"===t.state||"blocked"===n.state&&"unblocked"===t.state||"proceeding"===n.state&&"unblocked"===t.state,`Invalid blocker state transition: ${n.state} -> ${t.state}`);let r=new Map(P.blockers);r.set(e,t),ce({blockers:r})}function Ve({currentLocation:e,nextLocation:t,historyAction:n}){if(0===ae.size)return;ae.size>1&&u(!1,"A router only supports one blocker at a time");let r=Array.from(ae.entries()),[o,i]=r[r.length-1],a=P.blockers.get(o);return a&&"proceeding"===a.state?void 0:i({currentLocation:e,nextLocation:t,historyAction:n})?o:void 0}function qe(e){let t=Ze(404,{pathname:e}),n=a||l,{matches:r,route:o}=Je(n);return{notFoundMatches:r,route:o,error:t}}function tt(e,t){return S&&S(e,t.map(e=>C(e,P.loaderData)))||e.key}function nt(e,t){if(k){let n=tt(e,t),r=k[n];if("number"==typeof r)return r}return null}function at(t,n,r){if(e.patchRoutesOnNavigation){if(!t)return{active:!0,matches:B(n,r,c,!0)||[]};if(Object.keys(t[0].params).length>0)return{active:!0,matches:B(n,r,c,!0)}}return{active:!1,matches:null}}async function st(t,n,r,o){if(!e.patchRoutesOnNavigation)return{type:"success",matches:t};let A=t;for(;;){let t=null==a,u=a||l,d=s;try{await e.patchRoutesOnNavigation({signal:r,path:n,matches:A,fetcherKey:o,patch:(e,t)=>{r.aborted||Fe(e,t,u,d,i,!1)}})}catch(e){return{type:"error",error:e,partialMatches:A}}finally{t&&!r.aborted&&(l=[...l])}if(r.aborted)return{type:"aborted"};let p=_(u,n,c),f=null;if(p){if(0===Object.keys(p[0].params).length)return{type:"success",matches:p};if(f=B(u,n,c,!0),!(f&&A.length<f.length&&ct(A,f.slice(0,A.length))))return{type:"success",matches:p}}if(f||(f=B(u,n,c,!0)),!f||ct(A,f))return{type:"success",matches:null};A=f}}function ct(e,t){return e.length===t.length&&e.every((e,n)=>e.route.id===t[n].route.id)}return h={get basename(){return c},get future(){return w},get state(){return P},get routes(){return l},get window(){return t},initialize:function(){if(v=e.history.listen(({action:t,location:n,delta:r})=>{if(I)return I(),void(I=void 0);u(0===ae.size||null!=r,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs.  This can also happen if you are using createHashRouter and the user manually changes the URL.");let o=Ve({currentLocation:P.location,nextLocation:n,historyAction:t});if(o&&null!=r){let t=new Promise(e=>{I=e});return e.history.go(-1*r),Re(o,{state:"blocked",location:n,proceed(){Re(o,{state:"proceeding",proceed:void 0,reset:void 0,location:n}),t.then(()=>e.history.go(r))},reset(){let e=new Map(P.blockers);e.set(o,we),ce({blockers:e})}}),T?.resolve(),void(T=null)}return ue(t,n)}),n){!function(e,t){try{let n=e.sessionStorage.getItem(be);if(n){let e=JSON.parse(n);for(let[n,r]of Object.entries(e||{}))r&&Array.isArray(r)&&t.set(n,new Set(r||[]))}}catch(e){}}(t,H);let e=()=>function(e,t){if(t.size>0){let n={};for(let[e,r]of t)n[e]=[...r];try{e.sessionStorage.setItem(be,JSON.stringify(n))}catch(e){u(!1,`Failed to save applied view transitions in sessionStorage (${e}).`)}}}(t,H);t.addEventListener("pagehide",e),z=()=>t.removeEventListener("pagehide",e)}return P.initialized||ue("POP",P.location,{initialHydration:!0}),h},subscribe:function(e){return x.add(e),()=>x.delete(e)},enableScrollRestoration:function(e,t,n){if(k=e,j=t,S=n||null,!E&&P.navigation===ge){E=!0;let e=nt(P.location,P.matches);null!=e&&ce({restoreScrollPosition:e})}return()=>{k=null,j=null,S=null}},navigate:async function t(n,r){if(T?.resolve(),T=null,"number"==typeof n){T||(T=ht());let t=T.promise;return e.history.go(n),t}let o=Be(P.location,P.matches,c,n,r?.fromRouteId,r?.relative),{path:i,submission:a,error:s}=Ce(!1,o,r),l=P.location,A=p(P.location,i,r&&r.state);A={...A,...e.history.encodeLocation(A)};let u=r&&null!=r.replace?r.replace:void 0,d="PUSH";!0===u?d="REPLACE":!1===u||null!=a&&lt(a.formMethod)&&a.formAction===P.location.pathname+P.location.search&&(d="REPLACE");let f=r&&"preventScrollReset"in r?!0===r.preventScrollReset:void 0,h=!0===(r&&r.flushSync),m=Ve({currentLocation:l,nextLocation:A,historyAction:d});m?Re(m,{state:"blocked",location:A,proceed(){Re(m,{state:"proceeding",proceed:void 0,reset:void 0,location:A}),t(n,r)},reset(){let e=new Map(P.blockers);e.set(m,we),ce({blockers:e})}}):await ue(d,A,{submission:a,pendingError:s,preventScrollReset:f,replace:r&&r.replace,enableViewTransition:r&&r.viewTransition,flushSync:h,callSiteDefaultShouldRevalidate:r&&r.unstable_defaultShouldRevalidate})},fetch:async function(t,n,o,u){Le(t);let d=!0===(u&&u.flushSync),p=a||l,f=Be(P.location,P.matches,c,o,n,u?.relative),h=_(p,f,c),m=at(h,p,f);
2if(m.active&&m.matches&&(h=m.matches),!h)return void Ee(t,n,Ze(404,{pathname:f}),{flushSync:d});let{path:y,submission:w,error:v}=Ce(!0,f,u);if(v)return void Ee(t,n,v,{flushSync:d});let b=e.getContext?await e.getContext():new g,x=!0===(u&&u.preventScrollReset);w&&lt(w.formMethod)?await async function(t,n,o,u,d,p,f,h,m,g){xe(),ee.delete(t);let y=P.fetchers.get(t);_e(t,function(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}(m,y),{flushSync:f});let w=new AbortController,v=$e(e.history,o,w.signal,m);if(p){let e=await st(u,new URL(v.url).pathname,v.signal,t);if("aborted"===e.type)return;if("error"===e.type)return void Ee(t,n,e.error,{flushSync:f});if(!e.matches)return void Ee(t,n,Ze(404,{pathname:o}),{flushSync:f});u=e.matches}let b=At(u,o);if(!b.route.action&&!b.route.lazy){let e=Ze(405,{method:m.formMethod,pathname:o,routeId:n});return void Ee(t,n,e,{flushSync:f})}q.set(t,w);let x=W,B=Me(i,s,v,u,b,r,d),C=await fe(v,B,d,t),k=C[b.route.id];if(!k)for(let e of B)if(C[e.route.id]){k=C[e.route.id];break}if(v.signal.aborted)return void(q.get(t)===w&&q.delete(t));if(ie.has(t)){if(it(k)||ot(k))return void _e(t,ft(void 0))}else{if(it(k))return q.delete(t),G>x?void _e(t,ft(void 0)):(X.add(t),_e(t,pt(m)),pe(v,k,!1,{fetcherSubmission:m,preventScrollReset:h}));if(ot(k))return void Ee(t,n,k.error)}let S=P.navigation.location||P.location,j=$e(e.history,S,w.signal),E=a||l,F="idle"!==P.navigation.state?_(E,P.navigation.location,c):P.matches;A(F,"Didn't find any matches after fetcher action");let N=++W;Y.set(t,N);let U=pt(m,k.data);P.fetchers.set(t,U);let{dsMatches:I,revalidatingFetchers:T}=ke(j,d,i,s,e.history,P,F,m,S,r,!1,$,V,ie,ee,X,E,c,null!=e.patchRoutesOnNavigation,[b.route.id,k],g);T.filter(e=>e.key!==t).forEach(e=>{let t=e.key,n=P.fetchers.get(t),r=pt(void 0,n?n.data:void 0);P.fetchers.set(t,r),Le(t),e.controller&&q.set(t,e.controller)}),ce({fetchers:new Map(P.fetchers)});let D=()=>T.forEach(e=>Le(e.key));w.signal.addEventListener("abort",D);let{loaderResults:O,fetcherResults:R}=await he(I,T,j,d);if(w.signal.aborted)return;if(w.signal.removeEventListener("abort",D),Y.delete(t),q.delete(t),T.forEach(e=>q.delete(e.key)),P.fetchers.has(t)){let e=ft(k.data);P.fetchers.set(t,e)}let M=et(O);if(M)return pe(j,M.result,!1,{preventScrollReset:h});if(M=et(R),M)return X.add(M.key),pe(j,M.result,!1,{preventScrollReset:h});let{loaderData:H,errors:z}=We(P,F,O,void 0,T,R);De(N),"loading"===P.navigation.state&&N>G?(A(Q,"Expected pending action"),L&&L.abort(),Ae(P.navigation.location,{matches:F,loaderData:H,errors:z,fetchers:new Map(P.fetchers)})):(ce({errors:z,loaderData:Ge(P.loaderData,H,F,z),fetchers:new Map(P.fetchers)}),$=!1)}(t,n,y,h,b,m.active,d,x,w,u&&u.unstable_defaultShouldRevalidate):(ee.set(t,{routeId:n,path:y}),await async function(t,n,o,a,l,c,A,u,d){let p=P.fetchers.get(t);_e(t,pt(d,p?p.data:void 0),{flushSync:A});let f=new AbortController,h=$e(e.history,o,f.signal);if(c){let e=await st(a,new URL(h.url).pathname,h.signal,t);if("aborted"===e.type)return;if("error"===e.type)return void Ee(t,n,e.error,{flushSync:A});if(!e.matches)return void Ee(t,n,Ze(404,{pathname:o}),{flushSync:A});a=e.matches}let m=At(a,o);q.set(t,f);let g=W,y=Me(i,s,h,a,m,r,l),w=(await fe(h,y,l,t))[m.route.id];if(q.get(t)===f&&q.delete(t),!h.signal.aborted){if(!ie.has(t))return it(w)?G>g?void _e(t,ft(void 0)):(X.add(t),void await pe(h,w,!1,{preventScrollReset:u})):void(ot(w)?Ee(t,n,w.error):_e(t,ft(w.data)));_e(t,ft(void 0))}}(t,n,y,h,b,m.active,d,x,w))},revalidate:function(){le||(le=ht()),xe(),ce({revalidation:"loading"});let e=le.promise;return"submitting"===P.navigation.state?e:"idle"===P.navigation.state?(ue(P.historyAction,P.location,{startUninterruptedRevalidation:!0}),e):(ue(Q||P.historyAction,P.navigation.location,{overrideNavigation:P.navigation,enableViewTransition:!0===R}),e)},createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:Ne,resetFetcher:function(e,t){Le(e,t?.reason),_e(e,ft(null))},deleteFetcher:function(e){let t=(te.get(e)||0)-1;t<=0?(te.delete(e),ie.add(e)):te.set(e,t),ce({fetchers:new Map(P.fetchers)})},dispose:function(){v&&v(),z&&z(),x.clear(),L&&L.abort(),P.fetchers.forEac
2h((e,t)=>Ue(t)),P.blockers.forEach((e,t)=>Oe(t))},getBlocker:function(e,t){let n=P.blockers.get(e)||we;return ae.get(e)!==t&&ae.set(e,t),n},deleteBlocker:Oe,patchRoutes:function(e,t,n=!1){let r=null==a;Fe(e,t,a||l,s,i,n),r&&(l=[...l],ce({}))},_internalFetchControllers:q,_internalSetRoutes:function(e){s={},a=b(e,i,void 0,s)},_internalSetStateDoNotUseOrYouWillBreakYourApp(e){ce(e)}},e.unstable_instrumentations&&(h=function(e,t){let n={navigate:[],fetch:[]};if(t.forEach(e=>e({instrument(e){let t=Object.keys(e);for(let r of t)e[r]&&n[r].push(e[r])}})),n.navigate.length>0){let t=e.navigate[ne]??e.navigate,r=oe(n.navigate,t,(...t)=>{let[n,r]=t;return{to:"number"==typeof n||"string"==typeof n?n:n?f(n):".",...se(e,r??{})}});r&&(r[ne]=t,e.navigate=r)}if(n.fetch.length>0){let t=e.fetch[ne]??e.fetch,r=oe(n.fetch,t,(...t)=>{let[n,,r,o]=t;return{href:r??".",fetcherKey:n,...se(e,o??{})}});r&&(r[ne]=t,e.fetch=r)}return e}(h,e.unstable_instrumentations.map(e=>e.router).filter(Boolean))),h}function Be(e,t,n,r,o,i){let a,s;if(o){a=[];for(let e of t)if(a.push(e),e.route.id===o){s=e;break}}else a=t,s=t[t.length-1];let l=V(r||".",$(a),O(e.pathname,n)||e.pathname,"path"===i);if(null==r&&(l.search=e.search,l.hash=e.hash),(null==r||""===r||"."===r)&&s){let e=ct(l.search);if(s.route.index&&!e)l.search=l.search?l.search.replace(/^\?/,"?index&"):"?index";else if(!s.route.index&&e){let e=new URLSearchParams(l.search),t=e.getAll("index");e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let n=e.toString();l.search=n?`?${n}`:""}}return"/"!==n&&(l.pathname=function({basename:e,pathname:t}){return"/"===t?e:q([e,t])}({basename:n,pathname:l.pathname})),f(l)}function Ce(e,t,n){if(!n||!function(e){return null!=e&&("formData"in e&&null!=e.formData||"body"in e&&void 0!==e.body)}(n))return{path:t};if(n.formMethod&&(r=n.formMethod,!fe.has(r.toUpperCase())))return{path:t,error:Ze(405,{method:n.formMethod})};var r;let o,i,a=()=>({path:t,error:Ze(400,{type:"invalid-body"})}),s=(n.formMethod||"get").toUpperCase(),l=tt(t);if(void 0!==n.body){if("text/plain"===n.formEncType){if(!lt(s))return a();let e="string"==typeof n.body?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((e,[t,n])=>`${e}${t}=${n}\n`,""):String(n.body);return{path:t,submission:{formMethod:s,formAction:l,formEncType:n.formEncType,formData:void 0,json:void 0,text:e}}}if("application/json"===n.formEncType){if(!lt(s))return a();try{let e="string"==typeof n.body?JSON.parse(n.body):n.body;return{path:t,submission:{formMethod:s,formAction:l,formEncType:n.formEncType,formData:void 0,json:e,text:void 0}}}catch(e){return a()}}}if(A("function"==typeof FormData,"FormData is not available in this environment"),n.formData)o=Ve(n.formData),i=n.formData;else if(n.body instanceof FormData)o=Ve(n.body),i=n.body;else if(n.body instanceof URLSearchParams)o=n.body,i=qe(o);else if(null==n.body)o=new URLSearchParams,i=new FormData;else try{o=new URLSearchParams(n.body),i=qe(o)}catch(e){return a()}let c={formMethod:s,formAction:l,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:i,json:void 0,text:void 0};if(lt(c.formMethod))return{path:t,submission:c};let u=h(t);return e&&u.search&&ct(u.search)&&o.append("index",""),u.search=`?${o}`,{path:f(u),submission:c}}function ke(e,t,n,r,o,i,a,s,l,c,A,u,d,p,f,h,m,g,y,w,v){let b,x=w?ot(w[1])?w[1].error:w[1].data:void 0,B=o.createURL(i.location),C=o.createURL(l);if(A&&i.errors){let e=Object.keys(i.errors)[0];b=a.findIndex(t=>t.route.id===e)}else if(w&&ot(w[1])){let e=w[0];b=a.findIndex(t=>t.route.id===e)-1}let k=w?w[1].statusCode:void 0,S=k&&k>=400,j={currentUrl:B,currentParams:i.matches[0]?.params||{},nextUrl:C,nextParams:a[0].params,...s,actionResult:x,actionStatus:k},E=Z(a),F=a.map((o,a)=>{let{route:s}=o,l=null;if(null!=b&&a>b?l=!1:s.lazy?l=!0:Se(s)?A?l=je(s,i.loaderData,i.errors):function(e,t,n){let r=!t||n.route.id!==t.route.id,o=!e.hasOwnProperty(n.route.id);return r||o}(i.loaderData,i.matches[a],o)&&(l=!0):l=!1,null!==l)return Re(n,r,e,E,o,c,t,l);let d=!1;"boolean"==typeof v?d=v:S?d=!1:(u||B.pathname+B.search===C.pathname+C.search||B.search!==C.search||function(e,t){let n=e.route.path;return e.pathname!==t.pathname||null!=n&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}(i.matches[a],o))&&(d=!0);let p={...j,defaultShouldRevalidate:d},f=Ee(o,p);return Re(n,r,e,E,o,c,t,f,p,v)}),N=[];return f.forEach((e,s)=>{if(A||!a.some(t=>t.route.id===e.routeId)||p.has(s))return;let l=i.fetchers.get(s),f=l&&"idle"!==l.state&&void 0===l.data,w=_(m,e.path,g);
2if(!w){if(y&&f)return;return void N.push({key:s,routeId:e.routeId,path:e.path,matches:null,match:null,request:null,controller:null})}if(h.has(s))return;let b=At(w,e.path),x=new AbortController,B=$e(o,e.path,x.signal),C=null;if(d.has(s))d.delete(s),C=Me(n,r,B,w,b,c,t);else if(f)u&&(C=Me(n,r,B,w,b,c,t));else{let e;e="boolean"==typeof v?v:!S&&u;let o={...j,defaultShouldRevalidate:e};Ee(b,o)&&(C=Me(n,r,B,w,b,c,t,o))}C&&N.push({key:s,routeId:e.routeId,path:e.path,matches:C,match:b,request:B,controller:x})}),{dsMatches:F,revalidatingFetchers:N}}function Se(e){return null!=e.loader||null!=e.middleware&&e.middleware.length>0}function je(e,t,n){if(e.lazy)return!0;if(!Se(e))return!1;let r=null!=t&&e.id in t,o=null!=n&&void 0!==n[e.id];return!(!r&&o)&&("function"==typeof e.loader&&!0===e.loader.hydrate||!r&&!o)}function Ee(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if("boolean"==typeof n)return n}return t.defaultShouldRevalidate}function Fe(e,t,n,r,o,i){let a;if(e){let t=r[e];A(t,`No route found to patch children into: routeId = ${e}`),t.children||(t.children=[]),a=t.children}else a=n;let s=[],l=[];if(t.forEach(e=>{let t=a.find(t=>Ne(e,t));t?l.push({existingRoute:t,newRoute:e}):s.push(e)}),s.length>0){let t=b(s,o,[e||"_","patch",String(a?.length||"0")],r);a.push(...t)}if(i&&l.length>0)for(let e=0;e<l.length;e++){let{existingRoute:t,newRoute:n}=l[e],r=t,[i]=b([n],o,[],{},!0);Object.assign(r,{element:i.element?i.element:r.element,errorElement:i.errorElement?i.errorElement:r.errorElement,hydrateFallbackElement:i.hydrateFallbackElement?i.hydrateFallbackElement:r.hydrateFallbackElement})}}function Ne(e,t){return"id"in e&&"id"in t&&e.id===t.id||e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive&&(!(e.children&&0!==e.children.length||t.children&&0!==t.children.length)||e.children.every((e,n)=>t.children?.some(t=>Ne(e,t))))}var Ue=new WeakMap,Le=({key:e,route:t,manifest:n,mapRouteProperties:r})=>{let o=n[t.id];if(A(o,"No route found in manifest"),!o.lazy||"object"!=typeof o.lazy)return;let i=o.lazy[e];if(!i)return;let a=Ue.get(o);a||(a={},Ue.set(o,a));let s=a[e];if(s)return s;let l=(async()=>{let t=function(e){return y.has(e)}(e),n=void 0!==o[e]&&"hasErrorBoundary"!==e;if(t)u(!t,"Route property "+e+" is not a supported lazy route property. This property will be ignored."),a[e]=Promise.resolve();else if(n)u(!1,`Route "${o.id}" has a static property "${e}" defined. The lazy property will be ignored.`);else{let t=await i();null!=t&&(Object.assign(o,{[e]:t}),Object.assign(o,r(o)))}"object"==typeof o.lazy&&(o.lazy[e]=void 0,Object.values(o.lazy).every(e=>void 0===e)&&(o.lazy=void 0))})();return a[e]=l,l},Ie=new WeakMap;async function Pe(e){let t=e.matches.filter(e=>e.shouldLoad),n={};return(await Promise.all(t.map(e=>e.resolve()))).forEach((e,r)=>{n[t[r].route.id]=e}),n}async function Qe(e){return e.matches.some(e=>e.route.middleware)?Te(e,()=>Pe(e)):Pe(e)}function Te(e,t){return async function(e,t,n,r,o){let{matches:i,request:a,params:s,context:l,unstable_pattern:c}=e,A=i.flatMap(e=>e.route.middleware?e.route.middleware.map(t=>[e.route.id,t]):[]);return await De({request:a,params:s,context:l,unstable_pattern:c},A,t,n,r,o)}(e,t,e=>{if(st(t=e)&&(n=t.status,he.has(n))&&t.headers.has("Location"))throw e;var t,n;return e},nt,function(t,n,r){if(r)return Promise.resolve(Object.assign(r.value,{[n]:{type:"error",result:t}}));{let{matches:r}=e,o=Math.min(Math.max(r.findIndex(e=>e.route.id===n),0),Math.max(r.findIndex(e=>e.shouldCallHandler()),0)),i=Xe(r,r[o].route.id).route.id;return Promise.resolve({[i]:{type:"error",result:t}})}})}async function De(e,t,n,r,o,i,a=0){let{request:s}=e;if(s.signal.aborted)throw s.signal.reason??new Error(`Request aborted: ${s.method} ${s.url}`);let l=t[a];if(!l)return await n();let c,[A,u]=l,d=async()=>{if(c)throw new Error("You may only call `next()` once per middleware");try{let s=await De(e,t,n,r,o,i,a+1);return c={value:s},c.value}catch(e){return c={value:await i(e,A,c)},c.value}};try{let t=await u(e,d),n=null!=t?r(t):void 0;return o(n)?n:c?n??c.value:(c={value:await d()},c.value)}catch(e){return await i(e,A,c)}}function Oe(e,t,n,r,o){let i=Le({key:"middleware",route:r.route,manifest:t,mapRouteProperties:e}),a=function(e,t,n,r,o){let i=n[e.id];if(A(i,"No route found in manifest"),!e.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if("function"==typeof e.lazy){let t=Ie.get(i);if(t)return{lazyRoutePromise:t,lazyHandlerPromise:t};let n=(async()=>{A("function"==typeof e.lazy,"No lazy route function found");let t=await e.lazy(),n={};for(let e in t){let r=t[e];if(void 0===r)continue;let o=v(e),a=void 0!==i[e]&&"hasErrorBoundary"!==e;o?u(!o,"Route property "+e+" is not a supported property to be returned from a lazy route function. This property will be ignored."):a?u(!a,`Route "${i.id}" has a static property "${e}" defined but its lazy function is also returning a value for this property. The lazy route property "${e}" will be ignored.`):n[e]=r}Object.assign(i,n),Object.assign(i,{...r(i),lazy:void 0})})();return Ie.set(i,n),n.catch(()=>{}),{lazyRoutePromise:n,lazyHandlerPromise:n}}let a,s=Object.keys(e.lazy),l=[];for(let i of s){if(o&&o.includes(i))continue;let s=Le({key:i,route:e,manifest:n,mapRouteProperties:r});s&&(l.push(s),i===t&&(a=s))}let c=l.length>0?Promise.all(l).then(()=>{}):void 0;return c?.catch(()=>{}),a?.catch(()=>{}),{lazyRoutePromise:c,lazyHandlerPromise:a}}(r.route,lt(n.method)?"action":"loader",t,e,o);return{middleware:i,route:a.lazyRoutePromise,handler:a.lazyHandlerPromise}}function Re(e,t,n,r,o,i,a,s,l=null,c){let A=!1,u=Oe(e,t,n,o,i);return{...o,_lazyPromises:u,shouldLoad:s,shouldRevalidateArgs:l,shouldCallHandler:e=>(A=!0,l?Ee(o,"boolean"==typeof c?{...l,defaultShouldRevalidate:c}:"boolean"==typeof e?{...l,defaultShouldRevalidate:e}:l):s),resolve(e){let{lazy:t,loader:i,middleware:l}=o.route,c=A||s||e&&!lt(n.method)&&(t||i),d=l&&l.length>0&&!i&&!t;return!c||!lt(n.method)&&d?Promise.resolve({type:"data",result:void 0}):async function({request:e,unstable_pattern:t,match:n,lazyHandlerPromise:r,lazyRoutePromise:o,handlerOverride:i,scopedContext:a}){let s,l,c=lt(e.method),A=c?"action":"loader",u=r=>{let o,s=new Promise((e,t)=>
2o=t);l=()=>o(),e.signal.addEventListener("abort",l);let c=o=>"function"!=typeof r?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${A}" [routeId: ${n.route.id}]`)):r({request:e,unstable_pattern:t,params:n.params,context:a},...void 0!==o?[o]:[]),u=(async()=>{try{return{type:"data",result:await(i?i(e=>c(e)):c())}}catch(e){return{type:"error",result:e}}})();return Promise.race([u,s])};try{let t=c?n.route.action:n.route.loader;if(r||o)if(t){let e,[n]=await Promise.all([u(t).catch(t=>{e=t}),r,o]);if(void 0!==e)throw e;s=n}else{await r;let t=c?n.route.action:n.route.loader;if(!t){if("action"===A){let t=new URL(e.url),r=t.pathname+t.search;throw Ze(405,{method:e.method,pathname:r,routeId:n.route.id})}return{type:"data",result:void 0}}[s]=await Promise.all([u(t),o])}else{if(!t){let t=new URL(e.url);throw Ze(404,{pathname:t.pathname+t.search})}s=await u(t)}}catch(e){return{type:"error",result:e}}finally{l&&e.signal.removeEventListener("abort",l)}return s}({request:n,unstable_pattern:r,match:o,lazyHandlerPromise:u?.handler,lazyRoutePromise:u?.route,handlerOverride:e,scopedContext:a})}}}function Me(e,t,n,r,o,i,a,s=null){return r.map(l=>l.route.id!==o.route.id?{...l,shouldLoad:!1,shouldRevalidateArgs:s,shouldCallHandler:()=>!1,_lazyPromises:Oe(e,t,n,l,i),resolve:()=>Promise.resolve({type:"data",result:void 0})}:Re(e,t,n,Z(r),l,i,a,!0,s))}async function He(e){let{result:t,type:n}=e;if(st(t)){let e;try{e=await async function(e){let t=e.headers.get("Content-Type");return t&&/\bapplication\/json\b/.test(t)?null==e.body?null:e.json():e.text()}(t)}catch(e){return{type:"error",error:e}}return"error"===n?{type:"error",error:new X(t.status,t.statusText,e),statusCode:t.status,headers:t.headers}:{type:"data",data:e,statusCode:t.status,headers:t.headers}}return"error"===n?at(t)?t.data instanceof Error?{type:"error",error:t.data,statusCode:t.init?.status,headers:t.init?.headers?new Headers(t.init.headers):void 0}:{type:"error",error:(r=t,new X(r.init?.status??500,r.init?.statusText??"Internal Server Error",r.data)),statusCode:J(t)?t.status:void 0,headers:t.init?.headers?new Headers(t.init.headers):void 0}:{type:"error",error:t,statusCode:J(t)?t.status:void 0}:at(t)?{type:"data",data:t.data,statusCode:t.init?.status,headers:t.init?.headers?new Headers(t.init.headers):void 0}:{type:"data",data:t};var r}function ze(e,t,n,r,o){let i=e.headers.get("Location");if(A(i,"Redirects returned/thrown from loaders/actions must have a Location header"),!M(i)){let a=r.slice(0,r.findIndex(e=>e.route.id===n)+1);i=Be(new URL(t.url),a,o,i),e.headers.set("Location",i)}return e}function Ke(e,t,n,r){let o=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];if(M(e)){let r=e,i=r.startsWith("//")?new URL(t.protocol+r):new URL(r);if(o.includes(i.protocol))throw new Error("Invalid redirect location");let a=null!=O(i.pathname,n);if(i.origin===t.origin&&a)return i.pathname+i.search+i.hash}try{let t=r.createURL(e);if(o.includes(t.protocol))throw new Error("Invalid redirect location")}catch(e){}return e}function $e(e,t,n,r){let o=e.createURL(tt(t)).toString(),i={signal:n};if(r&&lt(r.formMethod)){let{formMethod:e,formEncType:t}=r;i.method=e.toUpperCase(),"application/json"===t?(i.headers=new Headers({"Content-Type":t}),i.body=JSON.stringify(r.json)):"text/plain"===t?i.body=r.text:"application/x-www-form-urlencoded"===t&&r.formData?i.body=Ve(r.formData):i.body=r.formData}return new Request(o,i)}function Ve(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,"string"==typeof r?r:r.name);return t}function qe(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function We(e,t,n,r,o,i){let{loaderData:a,errors:s}=function(e,t,n,r=!1,o=!1){let i,a={},s=null,l=!1,c={},u=n&&ot(n[1])?n[1].error:void 0;return e.forEach(n=>{if(!(n.route.id in t))return;let d=n.route.id,p=t[d];if(A(!it(p),"Cannot handle redirect results in processLoaderData"),ot(p)){let t=p.error;if(void 0!==u&&(t=u,u=void 0),s=s||{},o)s[d]=t;else{let n=Xe(e,d);null==s[n.route.id]&&(s[n.route.id]=t)}r||(a[d]=xe),l||(l=!0,i=J(p.error)?p.error.status:500),p.headers&&(c[d]=p.headers)}else a[d]=p.data,p.statusCode&&200!==p.statusCode&&!l&&(i=p.statusCode),p.headers&&(c[d]=p.headers)}),void 0!==u&&n&&(s={[n[0]]:u},n[2]&&(a[n[2]]=void 0)),{loaderData:a,errors:s,statusCode:i||200,loaderHeaders:c}}(t,n,r);return o.filter(e=>!e.matches||e.matches.some(e=>
2e.shouldLoad)).forEach(t=>{let{key:n,match:r,controller:o}=t;if(o&&o.signal.aborted)return;let a=i[n];if(A(a,"Did not find corresponding fetcher result"),ot(a)){let t=Xe(e.matches,r?.route.id);s&&s[t.route.id]||(s={...s,[t.route.id]:a.error}),e.fetchers.delete(n)}else if(it(a))A(!1,"Unhandled fetcher revalidation redirect");else{let t=ft(a.data);e.fetchers.set(n,t)}}),{loaderData:a,errors:s}}function Ge(e,t,n,r){let o=Object.entries(t).filter(([,e])=>e!==xe).reduce((e,[t,n])=>(e[t]=n,e),{});for(let i of n){let n=i.route.id;if(!t.hasOwnProperty(n)&&e.hasOwnProperty(n)&&i.route.loader&&(o[n]=e[n]),r&&r.hasOwnProperty(n))break}return o}function Ye(e){return e?ot(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function Xe(e,t){return(t?e.slice(0,e.findIndex(e=>e.route.id===t)+1):[...e]).reverse().find(e=>!0===e.route.hasErrorBoundary)||e[0]}function Je(e){let t=1===e.length?e[0]:e.find(e=>e.index||!e.path||"/"===e.path)||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Ze(e,{pathname:t,routeId:n,method:r,type:o,message:i}={}){let a="Unknown Server Error",s="Unknown @remix-run/router error";return 400===e?(a="Bad Request",r&&t&&n?s=`You made a ${r} request to "${t}" but did not provide a \`loader\` for route "${n}", so there is no way to handle the request.`:"invalid-body"===o&&(s="Unable to encode submission body")):403===e?(a="Forbidden",s=`Route "${n}" does not match URL "${t}"`):404===e?(a="Not Found",s=`No route matches URL "${t}"`):405===e&&(a="Method Not Allowed",r&&t&&n?s=`You made a ${r.toUpperCase()} request to "${t}" but did not provide an \`action\` for route "${n}", so there is no way to handle the request.`:r&&(s=`Invalid request method "${r.toUpperCase()}"`)),new X(e||500,a,new Error(s),!0)}function et(e){let t=Object.entries(e);for(let e=t.length-1;e>=0;e--){let[n,r]=t[e];if(it(r))return{key:n,result:r}}}function tt(e){return f({..."string"==typeof e?h(e):e,hash:""})}function nt(e){return null!=e&&"object"==typeof e&&Object.entries(e).every(([e,t])=>"string"==typeof e&&function(e){return null!=e&&"object"==typeof e&&"type"in e&&"result"in e&&("data"===e.type||"error"===e.type)}(t))}function rt(e){return st(e.result)&&he.has(e.result.status)}function ot(e){return"error"===e.type}function it(e){return"redirect"===(e&&e.type)}function at(e){return"object"==typeof e&&null!=e&&"type"in e&&"data"in e&&"init"in e&&"DataWithResponseInit"===e.type}function st(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"==typeof e.headers&&void 0!==e.body}function lt(e){return de.has(e.toUpperCase())}function ct(e){return new URLSearchParams(e).getAll("index").some(e=>""===e)}function At(e,t){let n="string"==typeof t?h(t).search:t.search;if(e[e.length-1].route.index&&ct(n||""))return e[e.length-1];let r=K(e);return r[r.length-1]}function ut(e){let{formMethod:t,formAction:n,formEncType:r,text:o,formData:i,json:a}=e;if(t&&n&&r)return null!=o?{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:o}:null!=i?{formMethod:t,formAction:n,formEncType:r,formData:i,json:void 0,text:void 0}:void 0!==a?{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:a,text:void 0}:void 0}function dt(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function pt(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function ft(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function ht(){let e,t,n=new Promise((r,o)=>{e=async e=>{r(e);try{await n}catch(e){}},t=async e=>{o(e);try{await n}catch(e){}}});return{promise:n,resolve:e,reject:t}}var mt=n.createContext(null);mt.displayName="DataRouter";var gt=n.createContext(null);gt.displayName="DataRouterState";var yt=n.createContext(!1);function wt(){return n.useContext(yt)}var vt=n.createContext({isTransitioning:!1});vt.displayName="ViewTransition";var bt=n.createContext(new Map);bt.displayName="Fetchers",n.createContext(null).displayName="Await";var xt=n.createContext(null);xt.displayName="Navigation";var _t=n.createContext(null);_t.displayName="Location";var Bt=n.createContext({outlet:null,matches:[],isDataRoute:!1});Bt.displayName="Route";var Ct=n.createContext(null);Ct.displayName="RouteError";var kt="REACT_ROUTER_ERROR";function St(){return null!=n.useContext(_t)}function jt(){return A(St(),"useLocation() may be used only in the context of a <Router> component."),n.useContext(_t).location}var Et="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Ft(e){n.useContext(xt).static||n.useLayoutEffect(e)}function Nt(){let{isDataRoute:e}=n.useContext(Bt);return e?function(){let{router:e}=function(e){let t=n.useContext(mt);return A(t,Ht(e)),t}("useNavigate"),t=Kt("useNavigate"),r=n.useRef(!1);Ft(()=>{r.current=!0});let o=n.useCallback(async(n,o={})=>{u(r.current,Et),r.current&&("number"==typeof n?await e.navigate(n):await e.navigate(n,{fromRouteId:t,...o}))},[e,t]);return o}():function(){A(St(),"useNavigate() may be used only in the context of a <Router> component.");let e=n.useContext(mt),{basename:t,navigator:r}=n.useContext(xt),{matches:o}=n.useContext(Bt),{pathname:i}=jt(),a=JSON.stringify($(o)),s=n.useRef(!1);Ft(()=>{s.current=!0});let l=n.useCallback((n,o={})=>
2{if(u(s.current,Et),!s.current)return;if("number"==typeof n)return void r.go(n);let l=V(n,JSON.parse(a),i,"path"===o.relative);null==e&&"/"!==t&&(l.pathname="/"===l.pathname?t:q([t,l.pathname])),(o.replace?r.replace:r.push)(l,o.state,o)},[t,r,a,i,e]);return l}()}var Ut=n.createContext(null);function Lt(){let{matches:e}=n.useContext(Bt),t=e[e.length-1];return t?t.params:{}}function It(e,{relative:t}={}){let{matches:r}=n.useContext(Bt),{pathname:o}=jt(),i=JSON.stringify($(r));return n.useMemo(()=>V(e,JSON.parse(i),o,"path"===t),[e,i,o,t])}function Pt(e,t,r,o,i){A(St(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:a}=n.useContext(xt),{matches:s}=n.useContext(Bt),l=s[s.length-1],c=l?l.params:{},d=l?l.pathname:"/",p=l?l.pathnameBase:"/",f=l&&l.route;{let e=f&&f.path||"";Wt(d,!f||e.endsWith("*")||e.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${d}" (under <Route path="${e}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.\n\nPlease change the parent <Route path="${e}"> to <Route path="${"/"===e?"*":`${e}/*`}">.`)}let m,g=jt();if(t){let e="string"==typeof t?h(t):t;A("/"===p||e.pathname?.startsWith(p),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${p}" but pathname "${e.pathname}" was given in the \`location\` prop.`),m=e}else m=g;let y=m.pathname||"/",w=y;if("/"!==p){let e=p.replace(/^\//,"").split("/");w="/"+y.replace(/^\//,"").split("/").slice(e.length).join("/")}let v=_(e,{pathname:w});u(f||null!=v,`No routes matched location "${m.pathname}${m.search}${m.hash}" `),u(null==v||void 0!==v[v.length-1].route.element||void 0!==v[v.length-1].route.Component||void 0!==v[v.length-1].route.lazy,`Matched leaf route at location "${m.pathname}${m.search}${m.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let b=function(e,t=[],r=null,o=null){if(null==e){if(!r)return null;if(r.errors)e=r.matches;else{if(0!==t.length||r.initialized||!(r.matches.length>0))return null;e=r.matches}}let i=e,a=r?.errors;if(null!=a){let e=i.findIndex(e=>e.route.id&&void 0!==a?.[e.route.id]);A(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`),i=i.slice(0,Math.min(i.length,e+1))}let s=!1,l=-1;if(r)for(let e=0;e<i.length;e++){let t=i[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(l=e),t.route.id){let{loaderData:e,errors:n}=r,o=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!n||void 0===n[t.route.id]);if(t.route.lazy||o){s=!0,i=l>=0?i.slice(0,l+1):[i[0]];break}}}let c=r&&o?(e,t)=>{o(e,{location:r.location,params:r.matches?.[0]?.params??{},unstable_pattern:Z(r.matches),errorInfo:t})}:void 0;return i.reduceRight((e,o,A)=>{let u,d=!1,p=null,f=null;r&&(u=a&&o.route.id?a[o.route.id]:void 0,p=o.route.errorElement||Tt,s&&(l<0&&0===A?(Wt("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,f=null):l===A&&(d=!0,f=o.route.hydrateFallbackElement||null)));let h=t.concat(i.slice(0,A+1)),m=()=>{let t;return t=u?p:d?f:o.route.Component?n.createElement(o.route.Component,null):o.route.element?o.route.element:e,n.createElement(Mt,{match:o,routeC
2ontext:{outlet:e,matches:h,isDataRoute:null!=r},children:t})};return r&&(o.route.ErrorBoundary||o.route.errorElement||0===A)?n.createElement(Dt,{location:r.location,revalidation:r.revalidation,component:p,error:u,children:m(),routeContext:{outlet:null,matches:h,isDataRoute:!0},onError:c}):m()},null)}(v&&v.map(e=>Object.assign({},e,{params:Object.assign({},c,e.params),pathname:q([p,a.encodeLocation?a.encodeLocation(e.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?p:q([p,a.encodeLocation?a.encodeLocation(e.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathnameBase])})),s,r,o,i);return t&&b?n.createElement(_t.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...m},navigationType:"POP"}},b):b}function Qt(){let e=Vt(),t=J(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,o="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:o},a={padding:"2px 4px",backgroundColor:o},s=null;return console.error("Error handled by React Router default ErrorBoundary:",e),s=n.createElement(n.Fragment,null,n.createElement("p",null,"💿 Hey developer 👋"),n.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",n.createElement("code",{style:a},"ErrorBoundary")," or"," ",n.createElement("code",{style:a},"errorElement")," prop on your route.")),n.createElement(n.Fragment,null,n.createElement("h2",null,"Unexpected Application Error!"),n.createElement("h3",{style:{fontStyle:"italic"}},t),r?n.createElement("pre",{style:i},r):null,s)}var Tt=n.createElement(Qt,null),Dt=class extends n.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&"object"==typeof e&&e&&"digest"in e&&"string"==typeof e.digest){const t=function(e){if(e.startsWith(`${kt}:ROUTE_ERROR_RESPONSE:{`))try{let t=JSON.parse(e.slice(40));if("object"==typeof t&&t&&"number"==typeof t.status&&"string"==typeof t.statusText)return new X(t.status,t.statusText,t.data)}catch{}}(e.digest);t&&(e=t)}let t=void 0!==e?n.createElement(Bt.Provider,{value:this.props.routeContext},n.createElement(Ct.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?n.createElement(Rt,{error:e},t):t}};Dt.contextType=yt;var Ot=new WeakMap;function Rt({children:e,error:t}){let{basename:r}=n.useContext(xt);if("object"==typeof t&&t&&"digest"in t&&"string"==typeof t.digest){let e=function(e){if(e.startsWith(`${kt}:REDIRECT:{`))try{let t=JSON.parse(e.slice(28));if("object"==typeof t&&t&&"number"==typeof t.status&&"string"==typeof t.statusText&&"string"==typeof t.location&&"boolean"==typeof t.reloadDocument&&"boolean"==typeof t.replace)return t}catch{}}(t.digest);if(e){let o=Ot.get(t);if(o)throw o;let i=te(e.location,r);if(ee&&!Ot.get(t)){if(!i.isExternal&&!e.reloadDocument){const n=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(i.to,{replace:e.replace}));throw Ot.set(t,n),n}window.location.href=i.absoluteURL||i.to}return n.createElement("meta",{httpEquiv:"refresh",content:`0;url=${i.absoluteURL||i.to}`})}}return e}function Mt({routeContext:e,match:t,children:r}){let o=n.useContext(mt);return o&&o.static&&o.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=t.route.id),n.createElement(Bt.Provider,{value:e},r)}function Ht(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function zt(e){let t=n.useContext(gt);return A(t,Ht(e)),t}function Kt(e){let t=function(e){let t=n.useContext(Bt);return A(t,Ht(e)),t}(e),r=t.matches[t.matches.length-1];return A(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}function $t(){let{matches:e,loaderData:t}=zt("useMatches");return n.useMemo(()=>e.map(e=>C(e,t)),[e,t])}function Vt(){let e=n.useContext(Ct),t=zt("useRouteError"),r=Kt("useRouteError");return void 0!==e?e:t.errors?.[r]}var qt={};function Wt(e,t,n){t||qt[e]||(qt[e]=!0,u(!1,n))}var Gt={};function Yt(e,t){e||Gt[t]||(Gt[t]=!0,console.warn(t))}var Xt=r.useOptimistic,Jt=()=>{};function Zt(e){let t={hasErrorBoundary:e.hasErrorBoundary||null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&(e.element&&u(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(t,{element:n.createElement(e.Component),Component:void 0})),e.HydrateFallback&&(e.hydrateFallbackElement&&u(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(t,{hydrateFallbackElement:n.createElement(e.HydrateFallback),HydrateFallback:void 0})),e.ErrorBoundary&&(e.errorElement&&u(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(t,{errorElement:n.createElement(e.ErrorBoundary),ErrorBoundary:void 0})),t}var en=["HydrateFallback","hydrateFallbackElement"],tn=class{constructor(){this.status="pending",this.promise=new Promise((e,t)=>
2{this.resolve=t=>{"pending"===this.status&&(this.status="resolved",e(t))},this.reject=e=>{"pending"===this.status&&(this.status="rejected",t(e))}})}};function nn({router:e,flushSync:t,onError:r,unstable_useTransitions:o}){let i=wt();o=i||o;let[a,s]=n.useState(e.state),[l,c]=(A=a,Xt?Xt(A):[A,Jt]);var A;let[u,d]=n.useState(),[p,f]=n.useState({isTransitioning:!1}),[h,m]=n.useState(),[g,y]=n.useState(),[w,v]=n.useState(),b=n.useRef(new Map),x=n.useCallback((i,{deletedFetchers:a,newErrors:l,flushSync:A,viewTransitionOpts:u})=>{l&&r&&Object.values(l).forEach(e=>r(e,{location:i.location,params:i.matches[0]?.params??{},unstable_pattern:Z(i.matches)})),i.fetchers.forEach((e,t)=>{void 0!==e.data&&b.current.set(t,e.data)}),a.forEach(e=>b.current.delete(e)),Yt(!1===A||null!=t,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable.  Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let p=null!=e.window&&null!=e.window.document&&"function"==typeof e.window.document.startViewTransition;if(Yt(null==u||p,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),u&&p){if(t&&A){t(()=>{g&&(h?.resolve(),g.skipTransition()),f({isTransitioning:!0,flushSync:!0,currentLocation:u.currentLocation,nextLocation:u.nextLocation})});let n=e.window.document.startViewTransition(()=>{t(()=>s(i))});return n.finished.finally(()=>{t(()=>{m(void 0),y(void 0),d(void 0),f({isTransitioning:!1})})}),void t(()=>y(n))}g?(h?.resolve(),g.skipTransition(),v({state:i,currentLocation:u.currentLocation,nextLocation:u.nextLocation})):(d(i),f({isTransitioning:!0,flushSync:!1,currentLocation:u.currentLocation,nextLocation:u.nextLocation}))}else t&&A?t(()=>s(i)):!1===o?s(i):n.startTransition(()=>{!0===o&&c(e=>rn(e,i)),s(i)})},[e.window,t,g,h,o,c,r]);n.useLayoutEffect(()=>e.subscribe(x),[e,x]),n.useEffect(()=>{p.isTransitioning&&!p.flushSync&&m(new tn)},[p]),n.useEffect(()=>{if(h&&u&&e.window){let t=u,r=h.promise,i=e.window.document.startViewTransition(async()=>{!1===o?s(t):n.startTransition(()=>{!0===o&&c(e=>rn(e,t)),s(t)}),await r});i.finished.finally(()=>{m(void 0),y(void 0),d(void 0),f({isTransitioning:!1})}),y(i)}},[u,h,e.window,o,c]),n.useEffect(()=>{h&&u&&l.location.key===u.location.key&&h.resolve()},[h,g,l.location,u]),n.useEffect(()=>{!p.isTransitioning&&w&&(d(w.state),f({isTransitioning:!0,flushSync:!1,currentLocation:w.currentLocation,nextLocation:w.nextLocation}),v(void 0))},[p.isTransitioning,w]);let _=n.useMemo(()=>({createHref:e.createHref,encodeLocation:e.encodeLocation,go:t=>e.navigate(t),push:(t,n,r)=>e.navigate(t,{state:n,preventScrollReset:r?.preventScrollReset}),replace:(t,n,r)=>e.navigate(t,{replace:!0,state:n,preventScrollReset:r?.preventScrollReset})}),[e]),B=e.basename||"/",C=n.useMemo(()=>({router:e,navigator:_,static:!1,basename:B,onError:r}),[e,_,B,r]);return n.createElement(n.Fragment,null,n.createElement(mt.Provider,{value:C},n.createElement(gt.Provider,{value:l},n.createElement(bt.Provider,{value:b.current},n.createElement(vt.Provider,{value:p},n.createElement(ln,{basename:B,location:l.location,navigationType:l.historyAction,navigator:_,unstable_useTransitions:o},n.createElement(on,{routes:e.routes,future:e.future,state:l,onError:r})))))),null)}function rn(e,t){return{...e,navigation:"idle"!==t.navigation.state?t.navigation:e.navigation,revalidation:"idle"!==t.revalidation?t.revalidation:e.revalidation,actionData:"submitting"!==t.navigation.state?t.actionData:e.actionData,fetchers:t.fetchers}}var on=n.memo(function({routes:e,future:t,state:n,onError:r}){return Pt(e,void 0,n,r,t)});function an({to:e,replace:t,state:r,relative:o}){A(St(),"<Navigate> may be used only in the context of a <Router> component.");let{static:i}=n.useContext(xt);u(!i,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:a}=n.useContext(Bt),{pathname:s}=jt(),l=Nt(),c=V(e,$(a),s,"path"===o),d=JSON.stringify(c);return n.useEffect(()=>{l(JSON.parse(d),{replace:t,state:r,relative:o})},[l,d,o,t,r]),null}function sn(e){return function(e){let t=n.useContext(Bt).outlet;return n.useMemo(()=>t&&n.createElement(Ut.Provider,{value:e},t),[t,e])}(e.context)}function ln({basename:e="/",children:t=null,location:r,navigationType:o="POP",navigator:i,static:a=!1,unstable_useTransitions:s}){A(!St(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let l=e.replace(/^\/*/,"/"),c=n.useMemo(()=>({basename:l,navigator:i,static:a,unstable_useTransitions:s,future:{}}),[l,i,a,s]);"string"==typeof r&&(r=h(r));let{pathname:d="/",search:p="",hash:f="",state:m=null,key:g="default"}=r,y=n.useMemo(()=>{let e=O(d,l);return null==e?null:{location:{pathname:e,search:p,hash:f,state:m,ke
2y:g},navigationType:o}},[l,d,p,f,m,g,o]);return u(null!=y,`<Router basename="${l}"> is not able to match the URL "${d}${p}${f}" because it does not start with the basename, so the <Router> won't render anything.`),null==y?null:n.createElement(xt.Provider,{value:c},n.createElement(_t.Provider,{children:t,value:y}))}n.Component;var cn="get",An="application/x-www-form-urlencoded";function un(e){return"undefined"!=typeof HTMLElement&&e instanceof HTMLElement}function dn(e=""){return new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(e=>[n,e]):[[n,r]])},[]))}var pn=null,fn=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function hn(e){return null==e||fn.has(e)?e:(u(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${An}"`),null)}Object.getOwnPropertyNames(Object.prototype).sort().join("\0"),"undefined"!=typeof window?window:"undefined"!=typeof globalThis&&globalThis;var mn={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},gn=/[&><\u2028\u2029]/g;function yn(e){return e.replace(gn,e=>mn[e])}function wn(e,t){if(!1===e||null==e)throw new Error(t)}function vn(e){return null!=e&&(null==e.href?"preload"===e.rel&&"string"==typeof e.imageSrcSet&&"string"==typeof e.imageSizes:"string"==typeof e.rel&&"string"==typeof e.href)}function bn(e,t,n,r,o,i){let a=(e,t)=>!n[t]||e.route.id!==n[t].route.id,s=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith("*")&&n[t].params["*"]!==e.params["*"];return"assets"===i?t.filter((e,t)=>a(e,t)||s(e,t)):"data"===i?t.filter((t,i)=>{let l=r.routes[t.route.id];if(!l||!l.hasLoader)return!1;if(a(t,i)||s(t,i))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if("boolean"==typeof r)return r}return!0}):[]}function xn(e,t,{includeHydrateFallback:n}={}){return r=e.map(e=>{let r=t.routes[e.route.id];if(!r)return[];let o=[r.module];return r.clientActionModule&&(o=o.concat(r.clientActionModule)),r.clientLoaderModule&&(o=o.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(o=o.concat(r.hydrateFallbackModule)),r.imports&&(o=o.concat(r.imports)),o}).flat(1),[...new Set(r)];var r}function _n(){let e=n.useContext(mt);return wn(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function Bn(){let e=n.useContext(gt);return wn(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}Symbol("SingleFetchRedirect");var Cn=n.createContext(void 0);function kn(){let e=n.useContext(Cn);return wn(e,"You must render this element inside a <HydratedRouter> element"),e}function Sn(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function jn({page:e,...t}){let{router:r}=_n(),o=n.useMemo(()=>_(r.routes,e,r.basename),[r.routes,e,r.basename]);return o?n.createElement(Fn,{page:e,matches:o,...t}):null}function En(e){let{manifest:t,routeModules:r}=kn(),[o,i]=n.useState([]);return n.useEffect(()=>{let n=!1;return async function(e,t,n){return function(e,t){let n=new Set,r=new Set(t);return e.reduce((e,o)=>{if(t&&!function(e){return null!=e&&"string"==typeof e.page}(o)&&"script"===o.as&&o.href&&r.has(o.href))return e;let i=JSON.stringify(function(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}(o));return n.has(i)||(n.add(i),e.push({key:i,link:o})),e},[])}((await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await async function(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}(r,n);return e.links?e.links():[]}return[]}))).flat(1).filter(vn).filter(e=>"stylesheet"===e.rel||"preload"===e.rel).map(e=>"stylesheet"===e.rel?{...e,rel:"prefetch",as:"style"}:{...e,rel:"prefetch"}))}(e,t,r).then(e=>{n||i(e)}
2),()=>{n=!0}},[e,t,r]),o}function Fn({page:e,matches:t,...r}){let o=jt(),{future:i,manifest:a,routeModules:s}=kn(),{basename:l}=_n(),{loaderData:c,matches:A}=Bn(),u=n.useMemo(()=>bn(e,t,A,a,o,"data"),[e,t,A,a,o]),d=n.useMemo(()=>bn(e,t,A,a,o,"assets"),[e,t,A,a,o]),p=n.useMemo(()=>{if(e===o.pathname+o.search+o.hash)return[];let n=new Set,r=!1;if(t.forEach(e=>{let t=a.routes[e.route.id];t&&t.hasLoader&&(!u.some(t=>t.route.id===e.route.id)&&e.route.id in c&&s[e.route.id]?.shouldRevalidate||t.hasClientLoader?r=!0:n.add(e.route.id))}),0===n.size)return[];let A=function(e,t,n,r){let o="string"==typeof e?new URL(e,"undefined"==typeof window?"server://singlefetch/":window.location.origin):e;return n?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${r}`:o.pathname=`${o.pathname}.${r}`:"/"===o.pathname?o.pathname=`_root.${r}`:t&&"/"===O(o.pathname,t)?o.pathname=`${t.replace(/\/$/,"")}/_root.${r}`:o.pathname=`${o.pathname.replace(/\/$/,"")}.${r}`,o}(e,l,i.unstable_trailingSlashAwareDataRequests,"data");return r&&n.size>0&&A.searchParams.set("_routes",t.filter(e=>n.has(e.route.id)).map(e=>e.route.id).join(",")),[A.pathname+A.search]},[l,i.unstable_trailingSlashAwareDataRequests,c,o,a,u,t,e,s]),f=n.useMemo(()=>xn(d,a),[d,a]),h=En(d);return n.createElement(n.Fragment,null,p.map(e=>n.createElement("link",{key:e,rel:"prefetch",as:"fetch",href:e,...r})),f.map(e=>n.createElement("link",{key:e,rel:"modulepreload",href:e,...r})),h.map(({key:e,link:t})=>n.createElement("link",{key:e,nonce:r.nonce,...t,crossOrigin:t.crossOrigin??r.crossOrigin})))}Cn.displayName="FrameworkContext";function Nn(...e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}n.Component;var Un="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;try{Un&&(window.__reactRouterVersion="7.13.0")}catch(Mi){}function Ln(){let e=window?.__staticRouterHydrationData;return e&&e.errors&&(e={...e,errors:In(e.errors)}),e}function In(e){if(!e)return null;let t=Object.entries(e),n={};for(let[e,r]of t)if(r&&"RouteErrorResponse"===r.__type)n[e]=new X(r.status,r.statusText,r.data,!0===r.internal);else if(r&&"Error"===r.__type){if(r.__subType){let t=window[r.__subType];if("function"==typeof t)try{let o=new t(r.message);o.stack="",n[e]=o}catch(e){}}if(null==n[e]){let t=new Error(r.message);t.stack="",n[e]=t}}else n[e]=r;return n}var Pn=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Qn=n.forwardRef(function({onClick:e,discover:t="render",prefetch:r="none",relative:o,reloadDocument:i,replace:a,state:s,target:l,to:c,preventScrollReset:u,viewTransition:d,unstable_defaultShouldRevalidate:p,...h},m){let{basename:g,unstable_useTransitions:y}=n.useContext(xt),w="string"==typeof c&&Pn.test(c),v=te(c,g),b=function(e,{relative:t}={}){A(St(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:o}=n.useContext(xt),{hash:i,pathname:a,search:s}=It(e,{relative:t}),l=a;return"/"!==r&&(l="/"===a?r:q([r,a])),o.createHref({pathname:l,search:s,hash:i})}(c=v.to,{relative:o}),[x,_,B]=function(e,t){let r=n.useContext(Cn),[o,i]=n.useState(!1),[a,s]=n.useState(!1),{onFocus:l,onBlur:c,onMouseEnter:A,onMouseLeave:u,onTouchStart:d}=t,p=n.useRef(null);n.useEffect(()=>{if("render"===e&&s(!0),"viewport"===e){let e=new IntersectionObserver(e=>{e.forEach(e=>{s(e.isIntersecting)})},{threshold:.5});return p.current&&e.observe(p.current),()=>{e.disconnect()}}},[e]),n.useEffect(()=>{if(o){let e=setTimeout(()=>{s(!0)},100);return()=>{clearTimeout(e)}}},[o]);let f=()=>{i(!0)},h=()=>{i(!1),s(!1)};return r?"intent"!==e?[a,p,{}]:[a,p,{onFocus:Sn(l,f),onBlur:Sn(c,h),onMouseEnter:Sn(A,f),onMouseLeave:Sn(u,h),onTouchStart:Sn(d,f)}]:[!1,p,{}]}(r,h),C=function(e,{target:t,replace:r,state:o,preventScrollReset:i,relative:a,viewTransition:s,unstable_defaultShouldRevalidate:l,unstable_useTransitions:c}={}){let A=Nt(),u=jt(),d=It(e,{relative:a});return n.useCallback(p=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(p,t)){p.preventDefault();let t=void 0!==r?r:f(u)===f(d),h=()=>A(e,{replace:t,state:o,preventScrollReset:i,relative:a,viewTransition:s,unstable_defaultShouldRevalidate:l});c?n.startTransition(()=>h()):h()}},[u,A,d,r,o,t,e,i,a,s,l,c])}(c,{replace:a,state:s,target:l,preventScrollReset:u,relative:o,viewTransition:d,unstable_defaultShouldRevalidate:p,unstable_useTransitions:y}),k=n.createElement("a",{...h,...B,href:v.absoluteURL||b,onClick:v.isExternal||i?e:function(t){e&&e(t),t.defaultPrevented||C(t)},ref:Nn(m,_),target:l,"data-discover":w||"render"!==t?void 0:"true"});return x&&!w?n.createElement(n.Fragment,null,k,n.createElement(jn,{page:b})):k});Qn.displayName="Link";var Tn=n.forwardRef(function({"aria-current":e="page",caseSensitive:t=!1,className:r="",end:o=!1,style:i,to:a,viewTransition:s,children:l,...c},u){let d=It(a,{relative:c.relative}),p=jt(),f=n.useContext(gt),{navigator:h,basename:m}=n.useContext(xt),g=null!=f&&function(e,{relative:t}={}){let r=n.useContext(vt);A(null!=r,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:o}=Mn("useViewTransitionState"),i=It(e,{relative:t});if(!r.isTransitioning)return!1;let a=O(r.currentLocation.pathname,o)||r.currentLocation.pathname,s=O(r.nextLocation.pathname,o)||r.nextLocation.pathname;return null!=T(i.pathname,s)||null!=T(i.pathname,a)}(d)&&!0===s,y=h.encodeLocation?h.encodeLocation(d).pathname:d.pathname,w=p.pathname,v=f&&f.n
2avigation&&f.navigation.location?f.navigation.location.pathname:null;t||(w=w.toLowerCase(),v=v?v.toLowerCase():null,y=y.toLowerCase()),v&&m&&(v=O(v,m)||v);const b="/"!==y&&y.endsWith("/")?y.length-1:y.length;let x,_=w===y||!o&&w.startsWith(y)&&"/"===w.charAt(b),B=null!=v&&(v===y||!o&&v.startsWith(y)&&"/"===v.charAt(y.length)),C={isActive:_,isPending:B,isTransitioning:g},k=_?e:void 0;x="function"==typeof r?r(C):[r,_?"active":null,B?"pending":null,g?"transitioning":null].filter(Boolean).join(" ");let S="function"==typeof i?i(C):i;return n.createElement(Qn,{...c,"aria-current":k,className:x,ref:u,style:S,to:a,viewTransition:s},"function"==typeof l?l(C):l)});Tn.displayName="NavLink";var Dn=n.forwardRef(({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:o,replace:i,state:a,method:s=cn,action:l,onSubmit:c,relative:u,preventScrollReset:d,viewTransition:p,unstable_defaultShouldRevalidate:h,...m},g)=>{let{unstable_useTransitions:y}=n.useContext(xt),w=function(){let{router:e}=Mn("useSubmit"),{basename:t}=n.useContext(xt),r=Kt("useRouteId"),o=e.fetch,i=e.navigate;return n.useCallback(async(e,n={})=>{let{action:a,method:s,encType:l,formData:c,body:A}=function(e,t){let n,r,o,i,a;if(function(e){return un(e)&&"form"===e.tagName.toLowerCase()}(e)){let a=e.getAttribute("action");r=a?O(a,t):null,n=e.getAttribute("method")||cn,o=hn(e.getAttribute("enctype"))||An,i=new FormData(e)}else if(function(e){return un(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return un(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let a=e.form;if(null==a)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let s=e.getAttribute("formaction")||a.getAttribute("action");if(r=s?O(s,t):null,n=e.getAttribute("formmethod")||a.getAttribute("method")||cn,o=hn(e.getAttribute("formenctype"))||hn(a.getAttribute("enctype"))||An,i=new FormData(a,e),!function(){if(null===pn)try{new FormData(document.createElement("form"),0),pn=!1}catch(e){pn=!0}return pn}()){let{name:t,type:n,value:r}=e;if("image"===n){let e=t?`${t}.`:"";i.append(`${e}x`,"0"),i.append(`${e}y`,"0")}else t&&i.append(t,r)}}else{if(un(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=cn,r=null,o=An,a=e}return i&&"text/plain"===o&&(a=i,i=void 0),{action:r,method:n.toLowerCase(),encType:o,formData:i,body:a}}(e,t);if(!1===n.navigate){let e=n.fetcherKey||zn();await o(e,r,n.action||a,{unstable_defaultShouldRevalidate:n.unstable_defaultShouldRevalidate,preventScrollReset:n.preventScrollReset,formData:c,body:A,formMethod:n.method||s,formEncType:n.encType||l,flushSync:n.flushSync})}else await i(n.action||a,{unstable_defaultShouldRevalidate:n.unstable_defaultShouldRevalidate,preventScrollReset:n.preventScrollReset,formData:c,body:A,formMethod:n.method||s,formEncType:n.encType||l,replace:n.replace,state:n.state,fromRouteId:r,flushSync:n.flushSync,viewTransition:n.viewTransition})},[o,i,t,r])}(),v=function(e,{relative:t}={}){let{basename:r}=n.useContext(xt),o=n.useContext(Bt);A(o,"useFormAction must be used inside a RouteContext");let[i]=o.matches.slice(-1),a={...It(e||".",{relative:t})},s=jt();if(null==e){a.search=s.search;let e=new URLSearchParams(a.search),t=e.getAll("index");if(t.some(e=>""===e)){e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let n=e.toString();a.search=n?`?${n}`:""}}return e&&"."!==e||!i.route.index||(a.search=a.search?a.search.replace(/^\?/,"?index&"):"?index"),"/"!==r&&(a.pathname="/"===a.pathname?r:q([r,a.pathname])),f(a)}(l,{relative:u}),b="get"===s.toLowerCase()?"get":"post",x="string"==typeof l&&Pn.test(l);return n.createElement("form",{ref:g,method:b,action:v,onSubmit:o?c:e=>{if(c&&c(e),e.defaultPrevented)return;e.preventDefault();let o=e.nativeEvent.submitter,l=o?.getAttribute("formmethod")||s,A=()=>w(o||e.currentTarget,{fetcherKey:t,method:l,navigate:r,replace:i,state:a,relative:u,preventScrollReset:d,viewTransition:p,unstable_defaultShouldRevalidate:h});y&&!1!==r?n.startTransition(()=>A()):A()},...m,"data-discover":x||"render"!==e?void 0:"true"})});function On({getKey:e,storageKey:t,...r}){let o=n.useContext(Cn),{basename:i}=n.useContext(xt),a=jt(),s=$t();!function({getKey:e,storageKey:t}={}){let{router:r}=Mn("useScrollRestoration"),{restoreScrollPosition:o,preventScrollReset:i}=function(e){let t=n.useContext(gt);return A(t,Rn(e)),t}
2("useScrollRestoration"),{basename:a}=n.useContext(xt),s=jt(),l=$t(),c=zt("useNavigation").navigation;n.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),function(e){let{capture:t}={};n.useEffect(()=>{let n=null!=t?{capture:t}:void 0;return window.addEventListener("pagehide",e,n),()=>{window.removeEventListener("pagehide",e,n)}},[e,t])}(n.useCallback(()=>{if("idle"===c.state){let t=Vn(s,l,a,e);$n[t]=window.scrollY}try{sessionStorage.setItem(t||Kn,JSON.stringify($n))}catch(e){u(!1,`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${e}).`)}window.history.scrollRestoration="auto"},[c.state,e,a,s,l,t])),"undefined"!=typeof document&&(n.useLayoutEffect(()=>{try{let e=sessionStorage.getItem(t||Kn);e&&($n=JSON.parse(e))}catch(e){}},[t]),n.useLayoutEffect(()=>{let t=r?.enableScrollRestoration($n,()=>window.scrollY,e?(t,n)=>Vn(t,n,a,e):void 0);return()=>t&&t()},[r,a,e]),n.useLayoutEffect(()=>{if(!1!==o)if("number"!=typeof o){try{if(s.hash){let e=document.getElementById(decodeURIComponent(s.hash.slice(1)));if(e)return void e.scrollIntoView()}}catch{u(!1,`"${s.hash.slice(1)}" is not a decodable element ID. The view will not scroll to it.`)}!0!==i&&window.scrollTo(0,0)}else window.scrollTo(0,o)},[s,o,i]))}({getKey:e,storageKey:t});let l=n.useMemo(()=>{if(!o||!e)return null;let t=Vn(a,s,i,e);return t!==a.key?t:null},[]);if(!o||o.isSpaMode)return null;let c=((e,t)=>{if(!window.history.state||!window.history.state.key){let e=Math.random().toString(32).slice(2);window.history.replaceState({key:e},"")}try{let n=JSON.parse(sessionStorage.getItem(e)||"{}")[t||window.history.state.key];"number"==typeof n&&window.scrollTo(0,n)}catch(t){console.error(t),sessionStorage.removeItem(e)}}).toString();return n.createElement("script",{...r,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${c})(${yn(JSON.stringify(t||Kn))}, ${yn(JSON.stringify(l))})`}})}function Rn(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Mn(e){let t=n.useContext(mt);return A(t,Rn(e)),t}Dn.displayName="Form",On.displayName="ScrollRestoration";var Hn=0,zn=()=>`__${String(++Hn)}__`;var Kn="react-router-scroll-positions",$n={};function Vn(e,t,n,r){let o=null;return r&&(o=r("/"!==n?{...e,pathname:O(e.pathname,n)||e.pathname}:e,t)),null==o&&(o=e.key),o}var qn=a(961);function Wn(e){return n.createElement(nn,{flushSync:qn.flushSync,...e})}class Gn extends Error{}Gn.prototype.name="InvalidTokenError";var Yn,Xn,Jn,Zn={debug:()=>{},info:()=>{},warn:()=>{},error:()=>{}},er=(e=>(e[e.NONE=0]="NONE",e[e.ERROR=1]="ERROR",e[e.WARN=2]="WARN",e[e.INFO=3]="INFO",e[e.DEBUG=4]="DEBUG",e))(er||{});(Jn=er||(er={})).reset=function(){Yn=3,Xn=Zn},Jn.setLevel=function(e){if(!(0<=e&&e<=4))throw new Error("Invalid log level");Yn=e},Jn.setLogger=function(e){Xn=e};var tr=class e{constructor(e){this._name=e}debug(...t){Yn>=4&&Xn.debug(e._format(this._name,this._method),...t)}info(...t){Yn>=3&&Xn.info(e._format(this._name,this._method),...t)}warn(...t){Yn>=2&&Xn.warn(e._format(this._name,this._method),...t)}error(...t){Yn>=1&&Xn.error(e._format(this._name,this._method),...t)}throw(e){throw this.error(e),e}create(e){const t=Object.create(this);return t._method=e,t.debug("begin"),t}static createStatic(t,n){const r=new e(`${t}.${n}`);return r.debug("begin"),r}static _format(e,t){const n=`[${e}]`;return t?`${n} ${t}:`:n}static debug(t,...n){Yn>=4&&Xn.debug(e._format(t),...n)}static info(t,...n){Yn>=3&&Xn.info(e._format(t),...n)}static warn(t,...n){Yn>=2&&Xn.warn(e._format(t),...n)}static error(t,...n){Yn>=1&&Xn.error(e._format(t),...n)}};er.reset();var nr=class{static decode(e){try{return function(e,t){if("string"!=typeof e)throw new Gn("Invalid token specified: must be a string");t||(t={});const n=!0===t.header?0:1,r=e.split(".")[n];if("string"!=typeof r)throw new Gn(`Invalid token specified: missing part #${n+1}`);let o;try{o=function(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return function(e){return decodeURIComponent(atob(e).replace(/(.)/g,(e,t)=>{let n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}(t)}catch(e){return atob(t)}}(r)}
2catch(e){throw new Gn(`Invalid token specified: invalid base64 for part #${n+1} (${e.message})`)}try{return JSON.parse(o)}catch(e){throw new Gn(`Invalid token specified: invalid json for part #${n+1} (${e.message})`)}}(e)}catch(e){throw tr.error("JwtUtils.decode",e),e}}static async generateSignedJwt(e,t,n){const r=`${ir.encodeBase64Url((new TextEncoder).encode(JSON.stringify(e)))}.${ir.encodeBase64Url((new TextEncoder).encode(JSON.stringify(t)))}`,o=await window.crypto.subtle.sign({name:"ECDSA",hash:{name:"SHA-256"}},n,(new TextEncoder).encode(r));return`${r}.${ir.encodeBase64Url(new Uint8Array(o))}`}},rr=e=>btoa([...new Uint8Array(e)].map(e=>String.fromCharCode(e)).join("")),or=class e{static _randomWord(){const e=new Uint32Array(1);return crypto.getRandomValues(e),e[0]}static generateUUIDv4(){return"10000000-1000-4000-8000-100000000000".replace(/[018]/g,t=>(+t^e._randomWord()&15>>+t/4).toString(16)).replace(/-/g,"")}static generateCodeVerifier(){return e.generateUUIDv4()+e.generateUUIDv4()+e.generateUUIDv4()}static async generateCodeChallenge(e){if(!crypto.subtle)throw new Error("Crypto.subtle is available only in secure contexts (HTTPS).");try{const t=(new TextEncoder).encode(e),n=await crypto.subtle.digest("SHA-256",t);return rr(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}catch(e){throw tr.error("CryptoUtils.generateCodeChallenge",e),e}}static generateBasicAuth(e,t){const n=(new TextEncoder).encode([e,t].join(":"));return rr(n)}static async hash(e,t){const n=(new TextEncoder).encode(t),r=await crypto.subtle.digest(e,n);return new Uint8Array(r)}static async customCalculateJwkThumbprint(t){let n;switch(t.kty){case"RSA":n={e:t.e,kty:t.kty,n:t.n};break;case"EC":n={crv:t.crv,kty:t.kty,x:t.x,y:t.y};break;case"OKP":n={crv:t.crv,kty:t.kty,x:t.x};break;case"oct":n={crv:t.k,kty:t.kty};break;default:throw new Error("Unknown jwk type")}const r=await e.hash("SHA-256",JSON.stringify(n));return e.encodeBase64Url(r)}static async generateDPoPProof({url:t,accessToken:n,httpMethod:r,keyPair:o,nonce:i}){let a,s;const l={jti:window.crypto.randomUUID(),htm:null!=r?r:"GET",htu:t,iat:Math.floor(Date.now()/1e3)};n&&(a=await e.hash("SHA-256",n),s=e.encodeBase64Url(a),l.ath=s),i&&(l.nonce=i);try{const e=await crypto.subtle.exportKey("jwk",o.publicKey),t={alg:"ES256",typ:"dpop+jwt",jwk:{crv:e.crv,kty:e.kty,x:e.x,y:e.y}};return await nr.generateSignedJwt(t,l,o.privateKey)}catch(e){throw e instanceof TypeError?new Error(`Error exporting dpop public key: ${e.message}`):e}}static async generateDPoPJkt(t){try{const n=await crypto.subtle.exportKey("jwk",t.publicKey);return await e.customCalculateJwkThumbprint(n)}catch(e){throw e instanceof TypeError?new Error(`Could not retrieve dpop keys from storage: ${e.message}`):e}}static async generateDPoPKeys(){return await window.crypto.subtle.generateKey({name:"ECDSA",namedCurve:"P-256"},!1,["sign","verify"])}};or.encodeBase64Url=e=>rr(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_");var ir=or,ar=class{constructor(e){this._name=e,this._callbacks=[],this._logger=new tr(`Event('${this._name}')`)}addHandler(e){return this._callbacks.push(e),()=>this.removeHandler(e)}removeHandler(e){const t=this._callbacks.lastIndexOf(e);t>=0&&this._callbacks.splice(t,1)}async raise(...e){this._logger.debug("raise:",...e);for(const t of this._callbacks)await t(...e)}},sr=class{static center({...e}){var t;return null==e.width&&(e.width=null!=(t=[800,720,600,480].find(e=>e<=window.outerWidth/1.618))?t:360),null!=e.left||(e.left=Math.max(0,Math.round(window.screenX+(window.outerWidth-e.width)/2))),null!=e.height&&(null!=e.top||(e.top=Math.max(0,Math.round(window.screenY+(window.outerHeight-e.height)/2)))),e}static serialize(e){return Object.entries(e).filter(([,e])=>null!=e).map(([e,t])=>`${e}=${"boolean"!=typeof t?t:t?"yes":"no"}`).join(",")}},lr=class e extends ar{constructor(){super(...arguments),this._logger=new tr(`Timer('${this._name}')`),this._timerHandle=null,this._expiration=0,this._callback=()=>{const t=this._expiration-e.getEpochTime();this._logger.debug("timer completes in",t),this._expiration<=e.getEpochTime()&&(this.cancel(),super.raise())}}static getEpochTime(){return Math.floor(Date.now()/1e3)}init(t){const n=this._logger.create("init");t=Math.max(Math.floor(t),1);const r=e.getEpochTime()+t;if(this.expiration===r&&this._timerHandle)return void n.debug("skipping since already initialized for expiration at",this.expiration);this.cancel(),n.debug("using duration",t),this._expiration=r;const o=Math.min(t,5);this._timerHandle=setInterval(this._callback,1e3*o)}get expiration(){return this._expiration}cancel(){this._logger.create("cancel"),this._timerHandle&&(clearInterval(this._timerHandle),this._timerHandle=null)}},cr=class{static readParams(e,t="query"){if(!e)throw new TypeError("Invalid URL");const n=new URL(e,"http://127.0.0.1")["fragment"===t?"hash":"search"];return new URLSearchParams(n.slice(1))}},Ar=";
2",ur=class extends Error{constructor(e,t){var n,r,o;if(super(e.error_description||e.error||""),this.form=t,this.name="ErrorResponse",!e.error)throw tr.error("ErrorResponse","No error passed"),new Error("No error passed");this.error=e.error,this.error_description=null!=(n=e.error_description)?n:null,this.error_uri=null!=(r=e.error_uri)?r:null,this.state=e.userState,this.session_state=null!=(o=e.session_state)?o:null,this.url_state=e.url_state}},dr=class extends Error{constructor(e){super(e),this.name="ErrorTimeout"}},pr=class{constructor(e){this._logger=new tr("AccessTokenEvents"),this._expiringTimer=new lr("Access token expiring"),this._expiredTimer=new lr("Access token expired"),this._expiringNotificationTimeInSeconds=e.expiringNotificationTimeInSeconds}async load(e){const t=this._logger.create("load");if(e.access_token&&void 0!==e.expires_in){const n=e.expires_in;if(t.debug("access token present, remaining duration:",n),n>0){let e=n-this._expiringNotificationTimeInSeconds;e<=0&&(e=1),t.debug("registering expiring timer, raising in",e,"seconds"),this._expiringTimer.init(e)}else t.debug("canceling existing expiring timer because we're past expiration."),this._expiringTimer.cancel();const r=n+1;t.debug("registering expired timer, raising in",r,"seconds"),this._expiredTimer.init(r)}else this._expiringTimer.cancel(),this._expiredTimer.cancel()}async unload(){this._logger.debug("unload: canceling existing access token timers"),this._expiringTimer.cancel(),this._expiredTimer.cancel()}addAccessTokenExpiring(e){return this._expiringTimer.addHandler(e)}removeAccessTokenExpiring(e){this._expiringTimer.removeHandler(e)}addAccessTokenExpired(e){return this._expiredTimer.addHandler(e)}removeAccessTokenExpired(e){this._expiredTimer.removeHandler(e)}},fr=class{constructor(e,t,n,r,o){this._callback=e,this._client_id=t,this._intervalInSeconds=r,this._stopOnError=o,this._logger=new tr("CheckSessionIFrame"),this._timer=null,this._session_state=null,this._message=e=>{e.origin===this._frame_origin&&e.source===this._frame.contentWindow&&("error"===e.data?(this._logger.error("error message from check session op iframe"),this._stopOnError&&this.stop()):"changed"===e.data?(this._logger.debug("changed message from check session op iframe"),this.stop(),this._callback()):this._logger.debug(e.data+" message from check session op iframe"))};const i=new URL(n);this._frame_origin=i.origin,this._frame=window.document.createElement("iframe"),this._frame.style.visibility="hidden",this._frame.style.position="fixed",this._frame.style.left="-1000px",this._frame.style.top="0",this._frame.width="0",this._frame.height="0",this._frame.src=i.href}load(){return new Promise(e=>{this._frame.onload=()=>{e()},window.document.body.appendChild(this._frame),window.addEventListener("message",this._message,!1)})}start(e){if(this._session_state===e)return;this._logger.create("start"),this.stop(),this._session_state=e;const t=()=>{this._frame.contentWindow&&this._session_state&&this._frame.contentWindow.postMessage(this._client_id+" "+this._session_state,this._frame_origin)};t(),this._timer=setInterval(t,1e3*this._intervalInSeconds)}stop(){this._logger.create("stop"),this._session_state=null,this._timer&&(clearInterval(this._timer),this._timer=null)}},hr=class{constructor(){this._logger=new tr("InMemoryWebStorage"),this._data={}}clear(){this._logger.create("clear"),this._data={}}getItem(e){return this._logger.create(`getItem('${e}')`),this._data[e]}setItem(e,t){this._logger.create(`setItem('${e}')`),this._data[e]=t}removeItem(e){this._logger.create(`removeItem('${e}')`),delete this._data[e]}get length(){return Object.getOwnPropertyNames(this._data).length}key(e){return Object.getOwnPropertyNames(this._data)[e]}},mr=class extends Error{constructor(e,t){super(t),this.name="ErrorDPoPNonce",this.nonce=e}},gr=class{constructor(e=[],t=null,n={}){this._jwtHandler=t,this._extraHeaders=n,this._logger=new tr("JsonService"),this._contentTypes=[],this._contentTypes.push(...e,"application/json"),t&&this._contentTypes.push("application/jwt")}async fetchWithTimeout(e,t={}){const{timeoutInSeconds:n,...r}=t;if(!n)return await fetch(e,r);const o=new AbortController,i=setTimeout(()=>
2o.abort(),1e3*n);try{return await fetch(e,{...t,signal:o.signal})}catch(e){if(e instanceof DOMException&&"AbortError"===e.name)throw new dr("Network timed out");throw e}finally{clearTimeout(i)}}async getJson(e,{token:t,credentials:n,timeoutInSeconds:r}={}){const o=this._logger.create("getJson"),i={Accept:this._contentTypes.join(", ")};let a;t&&(o.debug("token passed, setting Authorization header"),i.Authorization="Bearer "+t),this._appendExtraHeaders(i);try{o.debug("url:",e),a=await this.fetchWithTimeout(e,{method:"GET",headers:i,timeoutInSeconds:r,credentials:n})}catch(e){throw o.error("Network Error"),e}o.debug("HTTP response received, status",a.status);const s=a.headers.get("Content-Type");if(s&&!this._contentTypes.find(e=>s.startsWith(e))&&o.throw(new Error(`Invalid response Content-Type: ${null!=s?s:"undefined"}, from URL: ${e}`)),a.ok&&this._jwtHandler&&(null==s?void 0:s.startsWith("application/jwt")))return await this._jwtHandler(await a.text());let l;try{l=await a.json()}catch(e){if(o.error("Error parsing JSON response",e),a.ok)throw e;throw new Error(`${a.statusText} (${a.status})`)}if(!a.ok){if(o.error("Error from server:",l),l.error)throw new ur(l);throw new Error(`${a.statusText} (${a.status}): ${JSON.stringify(l)}`)}return l}async postForm(e,{body:t,basicAuth:n,timeoutInSeconds:r,initCredentials:o,extraHeaders:i}){const a=this._logger.create("postForm"),s={Accept:this._contentTypes.join(", "),"Content-Type":"application/x-www-form-urlencoded",...i};let l;void 0!==n&&(s.Authorization="Basic "+n),this._appendExtraHeaders(s);try{a.debug("url:",e),l=await this.fetchWithTimeout(e,{method:"POST",headers:s,body:t,timeoutInSeconds:r,credentials:o})}catch(e){throw a.error("Network error"),e}a.debug("HTTP response received, status",l.status);const c=l.headers.get("Content-Type");if(c&&!this._contentTypes.find(e=>c.startsWith(e)))throw new Error(`Invalid response Content-Type: ${null!=c?c:"undefined"}, from URL: ${e}`);const A=await l.text();let u={};if(A)try{u=JSON.parse(A)}catch(e){if(a.error("Error parsing JSON response",e),l.ok)throw e;throw new Error(`${l.statusText} (${l.status})`)}if(!l.ok){if(a.error("Error from server:",u),l.headers.has("dpop-nonce")){const e=l.headers.get("dpop-nonce");throw new mr(e,`${JSON.stringify(u)}`)}if(u.error)throw new ur(u,t);throw new Error(`${l.statusText} (${l.status}): ${JSON.stringify(u)}`)}return u}_appendExtraHeaders(e){const t=this._logger.create("appendExtraHeaders"),n=Object.keys(this._extraHeaders),r=["accept","content-type"],o=["authorization"];0!==n.length&&n.forEach(n=>{if(r.includes(n.toLocaleLowerCase()))return void t.warn("Protected header could not be set",n,r);if(o.includes(n.toLocaleLowerCase())&&Object.keys(e).includes(n))return void t.warn("Header could not be overridden",n,o);const i="function"==typeof this._extraHeaders[n]?this._extraHeaders[n]():this._extraHeaders[n];i&&""!==i&&(e[n]=i)})}},yr=class{constructor(e){this._settings=e,this._logger=new tr("MetadataService"),this._signingKeys=null,this._metadata=null,this._metadataUrl=this._settings.metadataUrl,this._jsonService=new gr(["application/jwk-set+json"],null,this._settings.extraHeaders),this._settings.signingKeys&&(this._logger.debug("using signingKeys from settings"),this._signingKeys=this._settings.signingKeys),this._settings.metadata&&(this._logger.debug("using metadata from settings"),this._metadata=this._settings.metadata),this._settings.fetchRequestCredentials&&(this._logger.debug("using fetchRequestCredentials from settings"),this._fetchRequestCredentials=this._settings.fetchRequestCredentials)}resetSigningKeys(){this._signingKeys=null}async getMetadata(){const e=this._logger.create("getMetadata");if(this._metadata)return e.debug("using cached values"),this._metadata;if(!this._metadataUrl)throw e.throw(new Error("No authority or metadataUrl configured on settings")),null;e.debug("getting metadata from",this._metadataUrl);const t=await this._jsonService.getJson(this._metadataUrl,{credentials:this._fetchRequestCredentials,timeoutInSeconds:this._settings.requestTimeoutInSeconds});return e.debug("merging remote JSON with seed metadata"),this._metadata=Object.assign({},t,this._settings.metadataSeed),this._metadata}getIssuer(){return this._getMetadataProperty("issuer")}getAuthorizationEndpoint(){return this._getMetadataProperty("authorization_endpoint")}getUserInfoEndpoint(){return this._getMetadataProperty("userinfo_endpoint")}getTokenEndpoint(e=!0){return this._getMetadataProperty("token_endpoint",e)}getCheckSessionIframe(){return this._getMetadataProperty("check_session_iframe",!0)}getEndSessionEndpoint(){return this._getMetadataProperty("end_session_endpoint",!0)}getRevocationEndpoint(e=!0){return this._getMetadataProperty("revocation_endpoint",e)}getKeysEndpoint(e=!0){return this._getMetadataProperty("jwks_uri",e)}async _getMetadataProperty(e,t=!1){const n=this._logger.create(`_getMetadataProperty('${e}')`),r=await this.getMetadata();if(n.debug("resolved"),void 0===r[e]){if(!0===t)return void n.warn("Metadata does not contain optional property");n.throw(new Error("Metadata does not contain property "+e))}return r[e]}async getSigningKeys(){const e=this._logger.create("getSigningKeys");if(this._signingKeys)return e.debug("returning signingKeys from cache"),this._signingKeys;const t=await this.getKeysEndpoint(!1);e.debug("got jwks_uri",t);const n=await this._jsonService.getJson(t,{timeoutInSeconds:this._settings.requestTimeoutInSeconds});if(e.debug("got key set",n),!Array.isArray(n.keys))throw e.throw(new Error("Missing keys on keyset")),null;return this._signingKeys=n.keys,this._signingKeys}},wr=class{constructor({prefix:e="oidc.",store:t=localStorage}={}){this._logger=new tr("WebStorageStateStore"),this._store=t,this._prefix=e}async set(e,t){this._logger.create(`set('${e}')`),e=this._prefix+e,await this._store.setItem(e,t)}async get(e){return this._logger.create(`get('${e}')`),e=this._prefix+e,await this._store.getItem(e)}async remove(e){this._logger.create(`remove('${e}')`),e=this._prefix+e;const t=await this._store.getItem(e);return await this._store.removeItem(e),t}async getAllKeys(){this._logger.create("getAllKeys");const e=await this._store.length,t=[];for(let n=0;n<e;n++){const e=await this._store.key(n);
2e&&0===e.indexOf(this._prefix)&&t.push(e.substr(this._prefix.length))}return t}},vr=class{constructor({authority:e,metadataUrl:t,metadata:n,signingKeys:r,metadataSeed:o,client_id:i,client_secret:a,response_type:s="code",scope:l="openid",redirect_uri:c,post_logout_redirect_uri:A,client_authentication:u="client_secret_post",prompt:d,display:p,max_age:f,ui_locales:h,acr_values:m,resource:g,response_mode:y,filterProtocolClaims:w=!0,loadUserInfo:v=!1,requestTimeoutInSeconds:b,staleStateAgeInSeconds:x=900,mergeClaimsStrategy:_={array:"replace"},disablePKCE:B=!1,stateStore:C,revokeTokenAdditionalContentTypes:k,fetchRequestCredentials:S,refreshTokenAllowedScope:j,extraQueryParams:E={},extraTokenParams:F={},extraHeaders:N={},dpop:U,omitScopeWhenRequesting:L=!1}){var I;if(this.authority=e,t?this.metadataUrl=t:(this.metadataUrl=e,e&&(this.metadataUrl.endsWith("/")||(this.metadataUrl+="/"),this.metadataUrl+=".well-known/openid-configuration")),this.metadata=n,this.metadataSeed=o,this.signingKeys=r,this.client_id=i,this.client_secret=a,this.response_type=s,this.scope=l,this.redirect_uri=c,this.post_logout_redirect_uri=A,this.client_authentication=u,this.prompt=d,this.display=p,this.max_age=f,this.ui_locales=h,this.acr_values=m,this.resource=g,this.response_mode=y,this.filterProtocolClaims=null==w||w,this.loadUserInfo=!!v,this.staleStateAgeInSeconds=x,this.mergeClaimsStrategy=_,this.omitScopeWhenRequesting=L,this.disablePKCE=!!B,this.revokeTokenAdditionalContentTypes=k,this.fetchRequestCredentials=S||"same-origin",this.requestTimeoutInSeconds=b,C)this.stateStore=C;else{const e="undefined"!=typeof window?window.localStorage:new hr;this.stateStore=new wr({store:e})}if(this.refreshTokenAllowedScope=j,this.extraQueryParams=E,this.extraTokenParams=F,this.extraHeaders=N,this.dpop=U,this.dpop&&!(null==(I=this.dpop)?void 0:I.store))throw new Error("A DPoPStore is required when dpop is enabled")}},br=class{constructor(e,t){this._settings=e,this._metadataService=t,this._logger=new tr("UserInfoService"),this._getClaimsFromJwt=async e=>{const t=this._logger.create("_getClaimsFromJwt");try{const n=nr.decode(e);return t.debug("JWT decoding successful"),n}catch(e){throw t.error("Error parsing JWT response"),e}},this._jsonService=new gr(void 0,this._getClaimsFromJwt,this._settings.extraHeaders)}async getClaims(e){const t=this._logger.create("getClaims");e||this._logger.throw(new Error("No token passed"));const n=await this._metadataService.getUserInfoEndpoint();t.debug("got userinfo url",n);const r=await this._jsonService.getJson(n,{token:e,credentials:this._settings.fetchRequestCredentials,timeoutInSeconds:this._settings.requestTimeoutInSeconds});return t.debug("got claims",r),r}},xr=class{constructor(e,t){this._settings=e,this._metadataService=t,this._logger=new tr("TokenClient"),this._jsonService=new gr(this._settings.revokeTokenAdditionalContentTypes,null,this._settings.extraHeaders)}async exchangeCode({grant_type:e="authorization_code",redirect_uri:t=this._settings.redirect_uri,client_id:n=this._settings.client_id,client_secret:r=this._settings.client_secret,extraHeaders:o,...i}){const a=this._logger.create("exchangeCode");n||a.throw(new Error("A client_id is required")),t||a.throw(new Error("A redirect_uri is required")),i.code||a.throw(new Error("A code is required"));const s=new URLSearchParams({grant_type:e,redirect_uri:t});for(const[e,t]of Object.entries(i))null!=t&&s.set(e,t);let l;switch(this._settings.client_authentication){case"client_secret_basic":if(null==r)throw a.throw(new Error("A client_secret is required")),null;l=ir.generateBasicAuth(n,r);break;case"client_secret_post":s.append("client_id",n),r&&s.append("client_secret",r)}const c=await this._metadataService.getTokenEndpoint(!1);a.debug("got token endpoint");const A=await this._jsonService.postForm(c,{body:s,basicAuth:l,timeoutInSeconds:this._settings.requestTimeoutInSeconds,initCredentials:this._settings.fetchRequestCredentials,extraHeaders:o});return a.debug("got response"),A}async exchangeCredentials({grant_type:e="password",client_id:t=this._settings.client_id,client_secret:n=this._settings.client_secret,scope:r=this._settings.scope,...o}){const i=this._logger.create("exchangeCredentials");t||i.throw(new Error("A client_id is required"));const a=new URLSearchParams({grant_type:e});this._settings.omitScopeWhenRequesting||a.set("scope",r);for(const[e,t]of Object.entries(o))null!=t&&a.set(e,t);let s;switch(this._settings.client_authentication){case"client_secret_basic":if(null==n)throw i.throw(new Error("A client_secret is required")),null;s=ir.generateBasicAuth(t,n);break;case"client_secret_post":a.append("client_id",t),n&&a.append("client_secret",n)}const l=await this._metadataService.getTokenEndpoint(!1);i.debug("got token endpoint");const c=await this._jsonService.postForm(l,{body:a,basicAuth:s,timeoutInSeconds:this._settings.requestTimeoutInSeconds,initCredentials:this._settings.fetchRequestCredentials});return i.debug("got response"),c}async exchangeRefreshToken({grant_type:e="refresh_token",client_id:t=this._settings.client_id,client_secret:n=this._settings.client_secret,timeoutInSeconds:r,extraHeaders:o,...i}){const a=this._logger.create("exchangeRefreshToken");t||a.throw(new Error("A client_id is required")),i.refresh_token||a.throw(new Error("A refresh_token is required"));const s=new URLSearchParams({grant_type:e});for(const[e,t]of Object.entries(i))Array.isArray(t)?t.forEach(t=>s.append(e,t)):null!=t&&s.set(e,t);let l;switch(this._settings.client_authentication){case"client_secret_basic":if(null==n)throw a.throw(new Error("A client_secret is required")),null;l=ir.generateBasicAuth(t,n);break;case"client_secret_post":s.append("client_id",t),n&&s.append("client_secret",n)}const c=await this._metadataService.getTokenEndpoint(!1);a.debug("got token endpoint");const A=await this._jsonService.postForm(c,{body:s,basicAuth:l,timeoutInSeconds:r,initCredentials:this._settings.fetchRequestCredentials,extraHeaders:o});return a.debug("got response"),A}async revoke(e){var t;const n=this._logger.create("revoke");e.token||n.throw(new Error("A token is required"));const r=await this._metadataService.getRevocationEndpoint(!1);n.debug(`got revocation endpoint, revoking ${null!=(t=e.token_type_hint)?t:"default token type"}`);const o=new URLSearchParams;for(const[t,n]of Object.entries(e))null!=n&&o.set(t,n);o.set("client_id",this._settings.client_id),this._settings.client_secret&&o.set("client_secret",this._settings.client_secret),await this._jsonService.postForm(r,{body:o,timeoutInSeconds:this._settings.requestTimeoutInSeconds}),n.debug("got response")}},_r=class{constructor(e,t,n){this._settings=e,this._metadataService=t,this._claimsService=n,this._logger=new tr("ResponseValidator"),this._userInfoService=new br(this._settings,this._metadataService),this._tokenClient=new xr(this._settings,this._metadataService)}async validateSigninResponse(e,t,n){const r=this._logger.create("validateSigninResponse");this._processSigninState(e,t),r.debug("state processed"),await this._processCode(e,t,n),r.debug("code processed"),e.isOpenId&&this._val
2idateIdTokenAttributes(e),r.debug("tokens validated"),await this._processClaims(e,null==t?void 0:t.skipUserInfo,e.isOpenId),r.debug("claims processed")}async validateCredentialsResponse(e,t){const n=this._logger.create("validateCredentialsResponse"),r=e.isOpenId&&!!e.id_token;r&&this._validateIdTokenAttributes(e),n.debug("tokens validated"),await this._processClaims(e,t,r),n.debug("claims processed")}async validateRefreshResponse(e,t){const n=this._logger.create("validateRefreshResponse");e.userState=t.data,null!=e.session_state||(e.session_state=t.session_state),null!=e.scope||(e.scope=t.scope),e.isOpenId&&e.id_token&&(this._validateIdTokenAttributes(e,t.id_token),n.debug("ID Token validated")),e.id_token||(e.id_token=t.id_token,e.profile=t.profile);const r=e.isOpenId&&!!e.id_token;await this._processClaims(e,!1,r),n.debug("claims processed")}validateSignoutResponse(e,t){const n=this._logger.create("validateSignoutResponse");if(t.id!==e.state&&n.throw(new Error("State does not match")),n.debug("state validated"),e.userState=t.data,e.error)throw n.warn("Response was error",e.error),new ur(e)}_processSigninState(e,t){const n=this._logger.create("_processSigninState");if(t.id!==e.state&&n.throw(new Error("State does not match")),t.client_id||n.throw(new Error("No client_id on state")),t.authority||n.throw(new Error("No authority on state")),this._settings.authority!==t.authority&&n.throw(new Error("authority mismatch on settings vs. signin state")),this._settings.client_id&&this._settings.client_id!==t.client_id&&n.throw(new Error("client_id mismatch on settings vs. signin state")),n.debug("state validated"),e.userState=t.data,e.url_state=t.url_state,null!=e.scope||(e.scope=t.scope),e.error)throw n.warn("Response was error",e.error),new ur(e);t.code_verifier&&!e.code&&n.throw(new Error("Expected code in response"))}async _processClaims(e,t=!1,n=!0){const r=this._logger.create("_processClaims");if(e.profile=this._claimsService.filterProtocolClaims(e.profile),t||!this._settings.loadUserInfo||!e.access_token)return void r.debug("not loading user info");r.debug("loading user info");const o=await this._userInfoService.getClaims(e.access_token);r.debug("user info claims received from user info endpoint"),n&&o.sub!==e.profile.sub&&r.throw(new Error("subject from UserInfo response does not match subject in ID Token")),e.profile=this._claimsService.mergeClaims(e.profile,this._claimsService.filterProtocolClaims(o)),r.debug("user info claims received, updated profile:",e.profile)}async _processCode(e,t,n){const r=this._logger.create("_processCode");if(e.code){r.debug("Validating code");const o=await this._tokenClient.exchangeCode({client_id:t.client_id,client_secret:t.client_secret,code:e.code,redirect_uri:t.redirect_uri,code_verifier:t.code_verifier,extraHeaders:n,...t.extraTokenParams});Object.assign(e,o)}else r.debug("No code to process")}_validateIdTokenAttributes(e,t){var n;const r=this._logger.create("_validateIdTokenAttributes");r.debug("decoding ID Token JWT");const o=nr.decode(null!=(n=e.id_token)?n:"");if(o.sub||r.throw(new Error("ID Token is missing a subject claim")),t){const e=nr.decode(t);o.sub!==e.sub&&r.throw(new Error("sub in id_token does not match current sub")),o.auth_time&&o.auth_time!==e.auth_time&&r.throw(new Error("auth_time in id_token does not match original auth_time")),o.azp&&o.azp!==e.azp&&r.throw(new Error("azp in id_token does not match original azp")),!o.azp&&e.azp&&r.throw(new Error("azp not in id_token, but present in original id_token"))}e.profile=o}},Br=class e{constructor(e){this.id=e.id||ir.generateUUIDv4(),this.data=e.data,e.created&&e.created>0?this.created=e.created:this.created=lr.getEpochTime(),this.request_type=e.request_type,this.url_state=e.url_state}toStorageString(){return new tr("State").create("toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type,url_state:this.url_state})}static fromStorageString(t){return tr.createStatic("State","fromStorageString"),Promise.resolve(new e(JSON.parse(t)))}static async clearStaleState(t,n){const r=tr.createStatic("State","clearStaleState"),o=lr.getEpochTime()-n,i=await t.getAllKeys();r.debug("got keys",i);for(let n=0;n<i.length;n++){const a=i[n],s=await t.get(a);let l=!1;if(s)try{const t=await e.fromStorageString(s);r.debug("got item from key:",a,t.created),t.created<=o&&(l=!0)}catch(e){r.error("Error parsing state for key:",a,e),l=!0}else r.debug("no item in storage for key:",a),l=!0;l&&(r.debug("removed item for key:",a),t.remove(a))}}},Cr=class e extends Br{constructor(e){super(e),this.code_verifier=e.code_verifier,this.co
2de_challenge=e.code_challenge,this.authority=e.authority,this.client_id=e.client_id,this.redirect_uri=e.redirect_uri,this.scope=e.scope,this.client_secret=e.client_secret,this.extraTokenParams=e.extraTokenParams,this.response_mode=e.response_mode,this.skipUserInfo=e.skipUserInfo}static async create(t){const n=!0===t.code_verifier?ir.generateCodeVerifier():t.code_verifier||void 0,r=n?await ir.generateCodeChallenge(n):void 0;return new e({...t,code_verifier:n,code_challenge:r})}toStorageString(){return new tr("SigninState").create("toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type,url_state:this.url_state,code_verifier:this.code_verifier,authority:this.authority,client_id:this.client_id,redirect_uri:this.redirect_uri,scope:this.scope,client_secret:this.client_secret,extraTokenParams:this.extraTokenParams,response_mode:this.response_mode,skipUserInfo:this.skipUserInfo})}static fromStorageString(t){tr.createStatic("SigninState","fromStorageString");const n=JSON.parse(t);return e.create(n)}},kr=class e{constructor(e){this.url=e.url,this.state=e.state}static async create({url:t,authority:n,client_id:r,redirect_uri:o,response_type:i,scope:a,state_data:s,response_mode:l,request_type:c,client_secret:A,nonce:u,url_state:d,resource:p,skipUserInfo:f,extraQueryParams:h,extraTokenParams:m,disablePKCE:g,dpopJkt:y,omitScopeWhenRequesting:w,...v}){if(!t)throw this._logger.error("create: No url passed"),new Error("url");if(!r)throw this._logger.error("create: No client_id passed"),new Error("client_id");if(!o)throw this._logger.error("create: No redirect_uri passed"),new Error("redirect_uri");if(!i)throw this._logger.error("create: No response_type passed"),new Error("response_type");if(!a)throw this._logger.error("create: No scope passed"),new Error("scope");if(!n)throw this._logger.error("create: No authority passed"),new Error("authority");const b=await Cr.create({data:s,request_type:c,url_state:d,code_verifier:!g,client_id:r,authority:n,redirect_uri:o,response_mode:l,client_secret:A,scope:a,extraTokenParams:m,skipUserInfo:f}),x=new URL(t);x.searchParams.append("client_id",r),x.searchParams.append("redirect_uri",o),x.searchParams.append("response_type",i),w||x.searchParams.append("scope",a),u&&x.searchParams.append("nonce",u),y&&x.searchParams.append("dpop_jkt",y);let _=b.id;d&&(_=`${_}${Ar}${d}`),x.searchParams.append("state",_),b.code_challenge&&(x.searchParams.append("code_challenge",b.code_challenge),x.searchParams.append("code_challenge_method","S256")),p&&(Array.isArray(p)?p:[p]).forEach(e=>x.searchParams.append("resource",e));for(const[e,t]of Object.entries({response_mode:l,...v,...h}))null!=t&&x.searchParams.append(e,t.toString());return new e({url:x.href,state:b})}};kr._logger=new tr("SigninRequest");var Sr=kr,jr=class{constructor(e){if(this.access_token="",this.token_type="",this.profile={},this.state=e.get("state"),this.session_state=e.get("session_state"),this.state){const e=decodeURIComponent(this.state).split(Ar);this.state=e[0],e.length>1&&(this.url_state=e.slice(1).join(Ar))}this.error=e.get("error"),this.error_description=e.get("error_description"),this.error_uri=e.get("error_uri"),this.code=e.get("code")}get expires_in(){if(void 0!==this.expires_at)return this.expires_at-lr.getEpochTime()}set expires_in(e){"string"==typeof e&&(e=Number(e)),void 0!==e&&e>=0&&(this.expires_at=Math.floor(e)+lr.getEpochTime())}get isOpenId(){var e;return(null==(e=this.scope)?void 0:e.split(" ").includes("openid"))||!!this.id_token}},Er=class{constructor({url:e,state_data:t,id_token_hint:n,post_logout_redirect_uri:r,extraQueryParams:o,request_type:i,client_id:a,url_state:s}){if(this._logger=new tr("SignoutRequest"),!e)throw this._logger.error("ctor: No url passed"),new Error("url");const l=new URL(e);if(n&&l.searchParams.append("id_token_hint",n),a&&l.searchParams.append("client_id",a),r&&(l.searchParams.append("post_logout_redirect_uri",r),t||s)){this.state=new Br({data:t,request_type:i,url_state:s});let e=this.state.id;s&&(e=`${e}${Ar}${s}`),l.searchParams.append("state",e)}for(const[e,t]of Object.entries({...o}))null!=t&&l.searchParams.append(e,t.toString());this.url=l.href}},Fr=class{constructor(e){if(this.state=e.get("state"),this.state){const e=decodeURIComponent(this.state).split(Ar);this.state=e[0],e.length>1&&(this.url_state=e.slice(1).join(Ar))}this.error=e.get("error"),this.error_description=e.get("error_description"),this.error_uri=e.get("error_uri")}},Nr=["nbf","jti","auth_time","nonce","acr","amr","azp","at_hash"],Ur=["sub","iss","aud","exp","iat"],Lr=class{constructor(e){this._settings=e,this._logger=new tr("ClaimsService")}filterProtocolClaims(e){const t={...e};if(this._settings.filterProtocolClaims){let e;e=Array.isArray(this._settings.filterProtocolClaims)?this._settings.filterProtocolClaims:Nr;for(const n of e)Ur.includes(n)||delete t[n]}return t}mergeClaims(e,t){const n={...e};for(const[e,r]of Object.entries(t))if(n[e]!==r)if(Array.isArray(n[e])||Array.isArray(r))if("replace"==this._settings.mergeClaimsStrategy.array)n[e]=r;else{const t=Array.isArray(n[e])?n[e]:[n[e]];for(const e of Array.isArray(r)?r:[r])t.includes(e)||t.push(e);n[e]=t}else"object"==typeof n[e]&&"object"==typeof r?n[e]=this.mergeClaims(n[e],r):n[e]=r;return n}},Ir=class{constructor(e,t){this.keys=e,this.nonce=t}},Pr=class{constructor(e,t){this._logger=new tr("OidcClient"),this.settings=e instanceof vr?e:new vr(e),this.metadataService=null!=t?t:new yr(this.settings),this._claimsService=new Lr(this.settings),this._val
2idator=new _r(this.settings,this.metadataService,this._claimsService),this._tokenClient=new xr(this.settings,this.metadataService)}async createSigninRequest({state:e,request:t,request_uri:n,request_type:r,id_token_hint:o,login_hint:i,skipUserInfo:a,nonce:s,url_state:l,response_type:c=this.settings.response_type,scope:A=this.settings.scope,redirect_uri:u=this.settings.redirect_uri,prompt:d=this.settings.prompt,display:p=this.settings.display,max_age:f=this.settings.max_age,ui_locales:h=this.settings.ui_locales,acr_values:m=this.settings.acr_values,resource:g=this.settings.resource,response_mode:y=this.settings.response_mode,extraQueryParams:w=this.settings.extraQueryParams,extraTokenParams:v=this.settings.extraTokenParams,dpopJkt:b,omitScopeWhenRequesting:x=this.settings.omitScopeWhenRequesting}){const _=this._logger.create("createSigninRequest");if("code"!==c)throw new Error("Only the Authorization Code flow (with PKCE) is supported");const B=await this.metadataService.getAuthorizationEndpoint();_.debug("Received authorization endpoint",B);const C=await Sr.create({url:B,authority:this.settings.authority,client_id:this.settings.client_id,redirect_uri:u,response_type:c,scope:A,state_data:e,url_state:l,prompt:d,display:p,max_age:f,ui_locales:h,id_token_hint:o,login_hint:i,acr_values:m,dpopJkt:b,resource:g,request:t,request_uri:n,extraQueryParams:w,extraTokenParams:v,request_type:r,response_mode:y,client_secret:this.settings.client_secret,skipUserInfo:a,nonce:s,disablePKCE:this.settings.disablePKCE,omitScopeWhenRequesting:x});await this.clearStaleState();const k=C.state;return await this.settings.stateStore.set(k.id,k.toStorageString()),C}async readSigninResponseState(e,t=!1){const n=this._logger.create("readSigninResponseState"),r=new jr(cr.readParams(e,this.settings.response_mode));if(!r.state)throw n.throw(new Error("No state in response")),null;const o=await this.settings.stateStore[t?"remove":"get"](r.state);if(!o)throw n.throw(new Error("No matching state found in storage")),null;return{state:await Cr.fromStorageString(o),response:r}}async processSigninResponse(e,t,n=!0){const r=this._logger.create("processSigninResponse"),{state:o,response:i}=await this.readSigninResponseState(e,n);if(r.debug("received state from storage; validating response"),this.settings.dpop&&this.settings.dpop.store){const e=await this.getDpopProof(this.settings.dpop.store);t={...t,DPoP:e}}try{await this._validator.validateSigninResponse(i,o,t)}catch(e){if(!(e instanceof mr&&this.settings.dpop))throw e;{const n=await this.getDpopProof(this.settings.dpop.store,e.nonce);t.DPoP=n,await this._validator.validateSigninResponse(i,o,t)}}return i}async getDpopProof(e,t){let n,r;return(await e.getAllKeys()).includes(this.settings.client_id)?(r=await e.get(this.settings.client_id),r.nonce!==t&&t&&(r.nonce=t,await e.set(this.settings.client_id,r))):(n=await ir.generateDPoPKeys(),r=new Ir(n,t),await e.set(this.settings.client_id,r)),await ir.generateDPoPProof({url:await this.metadataService.getTokenEndpoint(!1),httpMethod:"POST",keyPair:r.keys,nonce:r.nonce})}async processResourceOwnerPasswordCredentials({username:e,password:t,skipUserInfo:n=!1,extraTokenParams:r={}}){const o=await this._tokenClient.exchangeCredentials({username:e,password:t,...r}),i=new jr(new URLSearchParams);return Object.assign(i,o),await this._validator.validateCredentialsResponse(i,n),i}async useRefreshToken({state:e,redirect_uri:t,resource:n,timeoutInSeconds:r,extraHeaders:o,extraTokenParams:i}){var a;const s=this._logger.create("useRefreshToken");let l,c;if(void 0===this.settings.refreshTokenAllowedScope)l=e.scope;else{const t=this.settings.refreshTokenAllowedScope.split(" ");l=((null==(a=e.scope)?void 0:a.split(" "))||[]).filter(e=>t.includes(e)).join(" ")}if(this.settings.dpop&&this.settings.dpop.store){const e=await this.getDpopProof(this.settings.dpop.store);o={...o,DPoP:e}}try{c=await this._tokenClient.exchangeRefreshToken({refresh_token:e.refresh_token,scope:l,redirect_uri:t,resource:n,timeoutInSeconds:r,extraHeaders:o,...i})}catch(a){if(!(a instanceof mr&&this.settings.dpop))throw a;o.DPoP=await this.getDpopProof(this.settings.dpop.store,a.nonce),c=await this._tokenClient.exchangeRefreshToken({refresh_token:e.refresh_token,scope:l,redirect_uri:t,resource:n,timeoutInSeconds:r,extraHeaders:o,...i})}const A=new jr(new URLSearchParams);return Object.assign(A,c),s.debug("validating response",A),await this._val
2idator.validateRefreshResponse(A,{...e,scope:l}),A}async createSignoutRequest({state:e,id_token_hint:t,client_id:n,request_type:r,url_state:o,post_logout_redirect_uri:i=this.settings.post_logout_redirect_uri,extraQueryParams:a=this.settings.extraQueryParams}={}){const s=this._logger.create("createSignoutRequest"),l=await this.metadataService.getEndSessionEndpoint();if(!l)throw s.throw(new Error("No end session endpoint")),null;s.debug("Received end session endpoint",l),n||!i||t||(n=this.settings.client_id);const c=new Er({url:l,id_token_hint:t,client_id:n,post_logout_redirect_uri:i,state_data:e,extraQueryParams:a,request_type:r,url_state:o});await this.clearStaleState();const A=c.state;return A&&(s.debug("Signout request has state to persist"),await this.settings.stateStore.set(A.id,A.toStorageString())),c}async readSignoutResponseState(e,t=!1){const n=this._logger.create("readSignoutResponseState"),r=new Fr(cr.readParams(e,this.settings.response_mode));if(!r.state){if(n.debug("No state in response"),r.error)throw n.warn("Response was error:",r.error),new ur(r);return{state:void 0,response:r}}const o=await this.settings.stateStore[t?"remove":"get"](r.state);if(!o)throw n.throw(new Error("No matching state found in storage")),null;return{state:await Br.fromStorageString(o),response:r}}async processSignoutResponse(e){const t=this._logger.create("processSignoutResponse"),{state:n,response:r}=await this.readSignoutResponseState(e,!0);return n?(t.debug("Received state from storage; validating response"),this._validator.validateSignoutResponse(r,n)):t.debug("No state from storage; skipping response validation"),r}clearStaleState(){return this._logger.create("clearStaleState"),Br.clearStaleState(this.settings.stateStore,this.settings.staleStateAgeInSeconds)}async revokeToken(e,t){return this._logger.create("revokeToken"),await this._tokenClient.revoke({token:e,token_type_hint:t})}},Qr=class{constructor(e){this._userManager=e,this._logger=new tr("SessionMonitor"),this._start=async e=>{const t=e.session_state;if(!t)return;const n=this._logger.create("_start");if(e.profile?(this._sub=e.profile.sub,n.debug("session_state",t,", sub",this._sub)):(this._sub=void 0,n.debug("session_state",t,", anonymous user")),this._checkSessionIFrame)this._checkSessionIFrame.start(t);else try{const e=await this._userManager.metadataService.getCheckSessionIframe();if(e){n.debug("initializing check session iframe");const r=this._userManager.settings.client_id,o=this._userManager.settings.checkSessionIntervalInSeconds,i=this._userManager.settings.stopCheckSessionOnError,a=new fr(this._callback,r,e,o,i);await a.load(),this._checkSessionIFrame=a,a.start(t)}else n.warn("no check session iframe found in the metadata")}catch(e){n.error("Error from getCheckSessionIframe:",e instanceof Error?e.message:e)}},this._stop=()=>{const e=this._logger.create("_stop");if(this._sub=void 0,this._checkSessionIFrame&&this._checkSessionIFrame.stop(),this._userManager.settings.monitorAnonymousSession){const t=setInterval(async()=>{clearInterval(t);try{const e=await this._userManager.querySessionStatus();if(e){const t={session_state:e.session_state,profile:e.sub?{sub:e.sub}:null};this._start(t)}}catch(t){e.error("error from querySessionStatus",t instanceof Error?t.message:t)}},1e3)}},this._callback=async()=>{const e=this._logger.create("_callback");try{const t=await this._userManager.querySessionStatus();let n=!0;t&&this._checkSessionIFrame?t.sub===this._sub?(n=!1,this._checkSessionIFrame.start(t.session_state),e.debug("same sub still logged in at OP, session state has changed, restarting check session iframe; session_state",t.session_state),await this._userManager.events._raiseUserSessionChanged()):e.debug("different subject signed into OP",t.sub):e.debug("subject no longer signed into OP"),n?this._sub?await this._userManager.events._raiseUserSignedOut():await this._userManager.events._raiseUserSignedIn():e.debug("no change in session detected, no event to raise")}catch(t){this._sub&&(e.debug("Error calling queryCurrentSigninSession; raising signed out event",t),await this._userManager.events._raiseUserSignedOut())}},e||this._logger.throw(new Error("No user manager passed")),this._userManager.events.addUserLoaded(this._start),this._userManager.events.addUserUnloaded(this._stop),this._init().catch(e=>{this._logger.error(e)})}async _init(){this._logger.create("_init");const e=await this._userManager.getUser();if(e)this._start(e);else if(this._userManager.settings.monitorAnonymousSession){const e=await this._userManager.querySessionStatus();if(e){const t={session_state:e.session_state,profile:e.sub?{sub:e.sub}:null};this._start(t)}}}}
2,Tr=class e{constructor(e){var t;this.id_token=e.id_token,this.session_state=null!=(t=e.session_state)?t:null,this.access_token=e.access_token,this.refresh_token=e.refresh_token,this.token_type=e.token_type,this.scope=e.scope,this.profile=e.profile,this.expires_at=e.expires_at,this.state=e.userState,this.url_state=e.url_state}get expires_in(){if(void 0!==this.expires_at)return this.expires_at-lr.getEpochTime()}set expires_in(e){void 0!==e&&(this.expires_at=Math.floor(e)+lr.getEpochTime())}get expired(){const e=this.expires_in;if(void 0!==e)return e<=0}get scopes(){var e,t;return null!=(t=null==(e=this.scope)?void 0:e.split(" "))?t:[]}toStorageString(){return new tr("User").create("toStorageString"),JSON.stringify({id_token:this.id_token,session_state:this.session_state,access_token:this.access_token,refresh_token:this.refresh_token,token_type:this.token_type,scope:this.scope,profile:this.profile,expires_at:this.expires_at})}static fromStorageString(t){return tr.createStatic("User","fromStorageString"),new e(JSON.parse(t))}},Dr="oidc-client",Or=class{constructor(){this._abort=new ar("Window navigation aborted"),this._disposeHandlers=new Set,this._window=null}async navigate(e){const t=this._logger.create("navigate");if(!this._window)throw new Error("Attempted to navigate on a disposed window");t.debug("setting URL in window"),this._window.location.replace(e.url);const{url:n,keepOpen:r}=await new Promise((n,r)=>{const o=o=>{var i;const a=o.data,s=null!=(i=e.scriptOrigin)?i:window.location.origin;if(o.origin===s&&(null==a?void 0:a.source)===Dr){try{const n=cr.readParams(a.url,e.response_mode).get("state");if(n||t.warn("no state found in response url"),o.source!==this._window&&n!==e.state)return}catch{this._dispose(),r(new Error("Invalid response from window"))}n(a)}};window.addEventListener("message",o,!1),this._disposeHandlers.add(()=>window.removeEventListener("message",o,!1));const i=new BroadcastChannel(`oidc-client-popup-${e.state}`);i.addEventListener("message",o,!1),this._disposeHandlers.add(()=>i.close()),this._disposeHandlers.add(this._abort.addHandler(e=>{this._dispose(),r(e)}))});return t.debug("got response from window"),this._dispose(),r||this.close(),{url:n}}_dispose(){this._logger.create("_dispose");for(const e of this._disposeHandlers)e();this._disposeHandlers.clear()}static _notifyParent(e,t,n=!1,r=window.location.origin){const o={source:Dr,url:t,keepOpen:n},i=new tr("_notifyParent");if(e)i.debug("With parent. Using parent.postMessage."),e.postMessage(o,r);else{i.debug("No parent. Using BroadcastChannel.");const e=new URL(t).searchParams.get("state");if(!e)throw new Error("No parent and no state in URL. Can't complete notification.");const n=new BroadcastChannel(`oidc-client-popup-${e}`);n.postMessage(o),n.close()}}},Rr={location:!1,toolbar:!1,height:640,closePopupWindowAfterInSeconds:-1},Mr="_blank",Hr=60,zr=2,Kr=class extends vr{constructor(e){const{popup_redirect_uri:t=e.redirect_uri,popup_post_logout_redirect_uri:n=e.post_logout_redirect_uri,popupWindowFeatures:r=Rr,popupWindowTarget:o=Mr,redirectMethod:i="assign",redirectTarget:a="self",iframeNotifyParentOrigin:s=e.iframeNotifyParentOrigin,iframeScriptOrigin:l=e.iframeScriptOrigin,requestTimeoutInSeconds:c,silent_redirect_uri:A=e.redirect_uri,silentRequestTimeoutInSeconds:u,automaticSilentRenew:d=!0,validateSubOnSilentRenew:p=!0,includeIdTokenInSilentRenew:f=!1,monitorSession:h=!1,monitorAnonymousSession:m=!1,checkSessionIntervalInSeconds:g=zr,query_status_response_type:y="code",stopCheckSessionOnError:w=!0,revokeTokenTypes:v=["access_token","refresh_token"],revokeTokensOnSignout:b=!1,includeIdTokenInSilentSignout:x=!1,accessTokenExpiringNotificationTimeInSeconds:_=Hr,userStore:B}=e;if(super(e),this.popup_redirect_uri=t,this.popup_post_logout_redirect_uri=n,this.popupWindowFeatures=r,this.popupWindowTarget=
2o,this.redirectMethod=i,this.redirectTarget=a,this.iframeNotifyParentOrigin=s,this.iframeScriptOrigin=l,this.silent_redirect_uri=A,this.silentRequestTimeoutInSeconds=u||c||10,this.automaticSilentRenew=d,this.validateSubOnSilentRenew=p,this.includeIdTokenInSilentRenew=f,this.monitorSession=h,this.monitorAnonymousSession=m,this.checkSessionIntervalInSeconds=g,this.stopCheckSessionOnError=w,this.query_status_response_type=y,this.revokeTokenTypes=v,this.revokeTokensOnSignout=b,this.includeIdTokenInSilentSignout=x,this.accessTokenExpiringNotificationTimeInSeconds=_,B)this.userStore=B;else{const e="undefined"!=typeof window?window.sessionStorage:new hr;this.userStore=new wr({store:e})}}},$r=class e extends Or{constructor({silentRequestTimeoutInSeconds:t=10}){super(),this._logger=new tr("IFrameWindow"),this._timeoutInSeconds=t,this._frame=e.createHiddenIframe(),this._window=this._frame.contentWindow}static createHiddenIframe(){const e=window.document.createElement("iframe");return e.style.visibility="hidden",e.style.position="fixed",e.style.left="-1000px",e.style.top="0",e.width="0",e.height="0",window.document.body.appendChild(e),e}async navigate(e){this._logger.debug("navigate: Using timeout of:",this._timeoutInSeconds);const t=setTimeout(()=>{this._abort.raise(new dr("IFrame timed out without a response"))},1e3*this._timeoutInSeconds);return this._disposeHandlers.add(()=>clearTimeout(t)),await super.navigate(e)}close(){var e;this._frame&&(this._frame.parentNode&&(this._frame.addEventListener("load",e=>{var t;const n=e.target;null==(t=n.parentNode)||t.removeChild(n),this._abort.raise(new Error("IFrame removed from DOM"))},!0),null==(e=this._frame.contentWindow)||e.location.replace("about:blank")),this._frame=null),this._window=null}static notifyParent(e,t){return super._notifyParent(window.parent,e,!1,t)}},Vr=class{constructor(e){this._settings=e,this._logger=new tr("IFrameNavigator")}async prepare({silentRequestTimeoutInSeconds:e=this._settings.silentRequestTimeoutInSeconds}){return new $r({silentRequestTimeoutInSeconds:e})}async callback(e){this._logger.create("callback"),$r.notifyParent(e,this._settings.iframeNotifyParentOrigin)}},qr=class extends Or{constructor({popupWindowTarget:e=Mr,popupWindowFeatures:t={},popupSignal:n}){super(),this._logger=new tr("PopupWindow");const r=sr.center({...Rr,...t});this._window=window.open(void 0,e,sr.serialize(r)),n&&n.addEventListener("abort",()=>{var e;this._abort.raise(new Error(null!=(e=n.reason)?e:"Popup aborted"))}),t.closePopupWindowAfterInSeconds&&t.closePopupWindowAfterInSeconds>0&&setTimeout(()=>{this._window&&"boolean"==typeof this._window.closed&&!this._window.closed?this.close():this._abort.raise(new Error("Popup blocked by user"))},1e3*t.closePopupWindowAfterInSeconds)}async navigate(e){var t;null==(t=this._window)||t.focus();const n=setInterval(()=>{this._window&&!this._window.closed||(this._logger.debug("Popup closed by user or isolated by redirect"),r(),this._disposeHandlers.delete(r))},500),r=()=>clearInterval(n);return this._disposeHandlers.add(r),await super.navigate(e)}close(){this._window&&(this._window.closed||(this._window.close(),this._abort.raise(new Error("Popup closed")))),this._window=null}static notifyOpener(e,t){super._notifyParent(window.opener,e,t),t||window.opener||window.close()}},Wr=class{constructor(e){this._settings=e,this._logger=new tr("PopupNavigator")}async prepare({popupWindowFeatures:e=this._settings.popupWindowFeatures,popupWindowTarget:t=this._settings.popupWindowTarget,popupSignal:n}){return new qr({popupWindowFeatures:e,popupWindowTarget:t,popupSignal:n})}async callback(e,{keepOpen:t=!1}){this._logger.create("callback"),qr.notifyOpener(e,t)}},Gr=class{constructor(e){this._settings=e,this._logger=new tr("RedirectNavigator")}async prepare({redirectMethod:e=this._settings.redirectMethod,redirectTarget:t=this._settings.redirectTarget}){var n;this._logger.create("prepare");let r=window.self;"top"===t&&(r=null!=(n=window.top)?n:window.self);const o=r.location[e].bind(r.location);let i;return{navigate:async e=>{this._logger.create("navigate");const t=new Promise((e,t)=>
2{i=t});return o(e.url),await t},close:()=>{this._logger.create("close"),null==i||i(new Error("Redirect aborted")),r.stop()}}}async callback(){}},Yr=class extends pr{constructor(e){super({expiringNotificationTimeInSeconds:e.accessTokenExpiringNotificationTimeInSeconds}),this._logger=new tr("UserManagerEvents"),this._userLoaded=new ar("User loaded"),this._userUnloaded=new ar("User unloaded"),this._silentRenewError=new ar("Silent renew error"),this._userSignedIn=new ar("User signed in"),this._userSignedOut=new ar("User signed out"),this._userSessionChanged=new ar("User session changed")}async load(e,t=!0){await super.load(e),t&&await this._userLoaded.raise(e)}async unload(){await super.unload(),await this._userUnloaded.raise()}addUserLoaded(e){return this._userLoaded.addHandler(e)}removeUserLoaded(e){return this._userLoaded.removeHandler(e)}addUserUnloaded(e){return this._userUnloaded.addHandler(e)}removeUserUnloaded(e){return this._userUnloaded.removeHandler(e)}addSilentRenewError(e){return this._silentRenewError.addHandler(e)}removeSilentRenewError(e){return this._silentRenewError.removeHandler(e)}async _raiseSilentRenewError(e){await this._silentRenewError.raise(e)}addUserSignedIn(e){return this._userSignedIn.addHandler(e)}removeUserSignedIn(e){this._userSignedIn.removeHandler(e)}async _raiseUserSignedIn(){await this._userSignedIn.raise()}addUserSignedOut(e){return this._userSignedOut.addHandler(e)}removeUserSignedOut(e){this._userSignedOut.removeHandler(e)}async _raiseUserSignedOut(){await this._userSignedOut.raise()}addUserSessionChanged(e){return this._userSessionChanged.addHandler(e)}removeUserSessionChanged(e){this._userSessionChanged.removeHandler(e)}async _raiseUserSessionChanged(){await this._userSessionChanged.raise()}},Xr=class{constructor(e){this._userManager=e,this._logger=new tr("SilentRenewService"),this._isStarted=!1,this._retryTimer=new lr("Retry Silent Renew"),this._tokenExpiring=async()=>{const e=this._logger.create("_tokenExpiring");try{await this._userManager.signinSilent(),e.debug("silent token renewal successful")}catch(t){if(t instanceof dr)return e.warn("ErrorTimeout from signinSilent:",t,"retry in 5s"),void this._retryTimer.init(5);e.error("Error from signinSilent:",t),await this._userManager.events._raiseSilentRenewError(t)}}}async start(){const e=this._logger.create("start");if(!this._isStarted){this._isStarted=!0,this._userManager.events.addAccessTokenExpiring(this._tokenExpiring),this._retryTimer.addHandler(this._tokenExpiring);try{await this._userManager.getUser()}catch(t){e.error("getUser error",t)}}}stop(){this._isStarted&&(this._retryTimer.cancel(),this._retryTimer.removeHandler(this._tokenExpiring),this._userManager.events.removeAccessTokenExpiring(this._tokenExpiring),this._isStarted=!1)}},Jr=class{constructor(e){this.refresh_token=e.refresh_token,this.id_token=e.id_token,this.session_state=e.session_state,this.scope=e.scope,this.profile=e.profile,this.data=e.state}},Zr=n.createContext(void 0);Zr.displayName="AuthContext";var eo={isLoading:!0,isAuthenticated:!1},to=(e,t)=>{switch(t.type){case"INITIALISED":case"USER_LOADED":return{...e,user:t.user,isLoading:!1,isAuthenticated:!!t.user&&!t.user.expired,error:void 0};case"USER_SIGNED_OUT":case"USER_UNLOADED":return{...e,user:void 0,isAuthenticated:!1};case"NAVIGATOR_INIT":return{...e,isLoading:!0,activeNavigator:t.method};case"NAVIGATOR_CLOSE":return{...e,isLoading:!1,activeNavigator:void 0};case"ERROR":{const n=t.error;return n.toString=()=>`${n.name}: ${n.message}`,{...e,isLoading:!1,error:n}}default:{const n=new TypeError(`unknown type ${t.type}`),r={name:n.name,message:n.message,innerError:n,stack:n.stack,source:"unknown",toString:()=>`${r.name}: ${r.message}`};return{...e,isLoading:!1,error:r}}}},no=ao("signinCallback","Sign-in failed"),ro=ao("signoutCallback","Sign-out failed"),oo=ao("renewSilent","Renew silent failed");function io(e,t){return{name:so(e,"name",()=>"Error"),message:so(e,"message",()=>t),stack:so(e,"stack",()=>(new Error).stack),innerError:e}}function ao(e,t){return n=>({...io(n,t),source:e})}function so(e,t,n){if(e&&"object"==typeof e){const n=e[t];if("string"==typeof n)return n}return n()}
2var lo=["clearStaleState","querySessionStatus","revokeTokens","startSilentRenew","stopSilentRenew"],co=["signinPopup","signinSilent","signinRedirect","signinResourceOwnerCredentials","signoutPopup","signoutRedirect","signoutSilent"],Ao=e=>()=>{throw new Error(`UserManager#${e} was called from an unsupported context. If this is a server-rendered page, defer this call with useEffect() or pass a custom UserManager implementation.`)},uo="undefined"==typeof window?null:class{constructor(e,t,n,r){this._logger=new tr("UserManager"),this.settings=new Kr(e),this._client=new Pr(e),this._redirectNavigator=null!=t?t:new Gr(this.settings),this._popupNavigator=null!=n?n:new Wr(this.settings),this._iframeNavigator=null!=r?r:new Vr(this.settings),this._events=new Yr(this.settings),this._silentRenewService=new Xr(this),this.settings.automaticSilentRenew&&this.startSilentRenew(),this._sessionMonitor=null,this.settings.monitorSession&&(this._sessionMonitor=new Qr(this))}get events(){return this._events}get metadataService(){return this._client.metadataService}async getUser(e=!1){const t=this._logger.create("getUser"),n=await this._loadUser();return n?(t.info("user loaded"),await this._events.load(n,e),n):(t.info("user not found in storage"),null)}async removeUser(){const e=this._logger.create("removeUser");await this.storeUser(null),e.info("user removed from storage"),await this._events.unload()}async signinRedirect(e={}){var t;this._logger.create("signinRedirect");const{redirectMethod:n,...r}=e;let o;(null==(t=this.settings.dpop)?void 0:t.bind_authorization_code)&&(o=await this.generateDPoPJkt(this.settings.dpop));const i=await this._redirectNavigator.prepare({redirectMethod:n});await this._signinStart({request_type:"si:r",dpopJkt:o,...r},i)}async signinRedirectCallback(e=window.location.href){const t=this._logger.create("signinRedirectCallback"),n=await this._signinEnd(e);return n.profile&&n.profile.sub?t.info("success, signed in subject",n.profile.sub):t.info("no subject"),n}async signinResourceOwnerCredentials({username:e,password:t,skipUserInfo:n=!1}){const r=this._logger.create("signinResourceOwnerCredential"),o=await this._client.processResourceOwnerPasswordCredentials({username:e,password:t,skipUserInfo:n,extraTokenParams:this.settings.extraTokenParams});r.debug("got signin response");const i=await this._buildUser(o);return i.profile&&i.profile.sub?r.info("success, signed in subject",i.profile.sub):r.info("no subject"),i}async signinPopup(e={}){var t;const n=this._logger.create("signinPopup");let r;(null==(t=this.settings.dpop)?void 0:t.bind_authorization_code)&&(r=await this.generateDPoPJkt(this.settings.dpop));const{popupWindowFeatures:o,popupWindowTarget:i,popupSignal:a,...s}=e,l=this.settings.popup_redirect_uri;l||n.throw(new Error("No popup_redirect_uri configured"));const c=await this._popupNavigator.prepare({popupWindowFeatures:o,popupWindowTarget:i,popupSignal:a}),A=await this._signin({request_type:"si:p",redirect_uri:l,display:"popup",dpopJkt:r,...s},c);return A&&(A.profile&&A.profile.sub?n.info("success, signed in subject",A.profile.sub):n.info("no subject")),A}async signinPopupCallback(e=window.location.href,t=!1){const n=this._logger.create("signinPopupCallback");await this._popupNavigator.callback(e,{keepOpen:t}),n.info("success")}async signinSilent(e={}){var t,n;const r=this._logger.create("signinSilent"),{silentRequestTimeoutInSeconds:o,...i}=e;let a,s=await this._loadUser();if(null==s?void 0:s.refresh_token){r.debug("using refresh token");const e=new Jr(s);return await this._useRefreshToken({state:e,redirect_uri:i.redirect_uri,resource:i.resource,extraTokenParams:i.extraTokenParams,timeoutInSeconds:o})}(null==(t=this.settings.dpop)?void 0:t.bind_authorization_code)&&(a=await this.generateDPoPJkt(this.settings.dpop));const l=this.settings.silent_redirect_uri;let c;l||r.throw(new Error("No silent_redirect_uri configured")),s&&this.settings.validateSubOnSilentRenew&&(r.debug("subject prior to silent renew:",s.profile.sub),c=s.profile.sub);const A=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:o});return s=await this._signin({request_type:"si:s",redirect_uri:l,prompt:"none",id_token_hint:this.settings.includeIdTokenInSilentRenew?null==s?void 0:s.id_token:void 0,dp
2opJkt:a,...i},A,c),s&&((null==(n=s.profile)?void 0:n.sub)?r.info("success, signed in subject",s.profile.sub):r.info("no subject")),s}async _useRefreshToken(e){const t=await this._client.useRefreshToken({timeoutInSeconds:this.settings.silentRequestTimeoutInSeconds,...e}),n=new Tr({...e.state,...t});return await this.storeUser(n),await this._events.load(n),n}async signinSilentCallback(e=window.location.href){const t=this._logger.create("signinSilentCallback");await this._iframeNavigator.callback(e),t.info("success")}async signinCallback(e=window.location.href){const{state:t}=await this._client.readSigninResponseState(e);switch(t.request_type){case"si:r":return await this.signinRedirectCallback(e);case"si:p":await this.signinPopupCallback(e);break;case"si:s":await this.signinSilentCallback(e);break;default:throw new Error("invalid response_type in state")}}async signoutCallback(e=window.location.href,t=!1){const{state:n}=await this._client.readSignoutResponseState(e);if(n)switch(n.request_type){case"so:r":return await this.signoutRedirectCallback(e);case"so:p":await this.signoutPopupCallback(e,t);break;case"so:s":await this.signoutSilentCallback(e);break;default:throw new Error("invalid response_type in state")}}async querySessionStatus(e={}){const t=this._logger.create("querySessionStatus"),{silentRequestTimeoutInSeconds:n,...r}=e,o=this.settings.silent_redirect_uri;o||t.throw(new Error("No silent_redirect_uri configured"));const i=await this._loadUser(),a=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:n}),s=await this._signinStart({request_type:"si:s",redirect_uri:o,prompt:"none",id_token_hint:this.settings.includeIdTokenInSilentRenew?null==i?void 0:i.id_token:void 0,response_type:this.settings.query_status_response_type,scope:"openid",skipUserInfo:!0,...r},a);try{const e={},n=await this._client.processSigninResponse(s.url,e);return t.debug("got signin response"),n.session_state&&n.profile.sub?(t.info("success for subject",n.profile.sub),{session_state:n.session_state,sub:n.profile.sub}):(t.info("success, user not authenticated"),null)}catch(e){if(this.settings.monitorAnonymousSession&&e instanceof ur)switch(e.error){case"login_required":case"consent_required":case"interaction_required":case"account_selection_required":return t.info("success for anonymous user"),{session_state:e.session_state}}throw e}}async _signin(e,t,n){const r=await this._signinStart(e,t);return await this._signinEnd(r.url,n)}async _signinStart(e,t){const n=this._logger.create("_signinStart");try{const r=await this._client.createSigninRequest(e);return n.debug("got signin request"),await t.navigate({url:r.url,state:r.state.id,response_mode:r.state.response_mode,scriptOrigin:this.settings.iframeScriptOrigin})}catch(e){throw n.debug("error after preparing navigator, closing navigator window"),t.close(),e}}async _signinEnd(e,t){const n=this._logger.create("_signinEnd"),r=await this._client.processSigninResponse(e,{});return n.debug("got signin response"),await this._buildUser(r,t)}async _buildUser(e,t){const n=this._logger.create("_buildUser"),r=new Tr(e);if(t){if(t!==r.profile.sub)throw n.debug("current user does not match user returned from signin. sub from signin:",r.profile.sub),new ur({...e,error:"login_required"});n.debug("current user matches user returned from signin")}return await this.storeUser(r),n.debug("user stored"),await this._events.load(r),r}async signoutRedirect(e={}){const t=this._logger.create("signoutRedirect"),{redirectMethod:n,...r}=e,o=await this._redirectNavigator.prepare({redirectMethod:n});await this._signoutStart({request_type:"so:r",post_logout_redirect_uri:this.settings.post_logout_redirect_uri,...r},o),t.info("success")}async signoutRedirectCallback(e=window.location.href){const t=this._logger.create("signoutRedirectCallback"),n=await this._signoutEnd(e);return t.info("success"),n}async signoutPopup(e={}){const t=this._logger.create("signoutPopup"),{popupWindowFeatures:n,popupWindowTarget:r,popupSignal:o,...i}=e,a=this.settings.popup_post_logout_redirect_uri,s=await this._popupNavigator.prepare({popupWindowFeatures:n,popupWindowTarget:r,popupSignal:o});await this._signout({request_type:"so:p",post_logout_redirect_uri:a,state:null==a?void 0:{},...i},s),t.info("success")}async signoutPopupCallback(e=window.location.href,t=!1){const n=this._logger.create("signoutPopupCallback");await this._popupNavigator.callback(e,{keepOpen:t}),n.info("success")}async _signout(e,t){const n=await this._signoutStart(e,t);return await this._signoutEnd(n.url)}async _signoutStart(e={},t){var n;const r=this._logger.create("_signoutStart");try{const o=await this._loadUser();r.debug("loaded current user from storage"),this.settings.revokeTokensOnSignout&&await this._revokeInternal(o);const i=e.id_token_hint||o&&o.id_token;i&&(r.debug("setting id_token_hint in signout request"),e.id_token_hint=i),await this.removeUser(),r.debug("user removed, creating signout request");
2const a=await this._client.createSignoutRequest(e);return r.debug("got signout request"),await t.navigate({url:a.url,state:null==(n=a.state)?void 0:n.id,scriptOrigin:this.settings.iframeScriptOrigin})}catch(e){throw r.debug("error after preparing navigator, closing navigator window"),t.close(),e}}async _signoutEnd(e){const t=this._logger.create("_signoutEnd"),n=await this._client.processSignoutResponse(e);return t.debug("got signout response"),n}async signoutSilent(e={}){var t;const n=this._logger.create("signoutSilent"),{silentRequestTimeoutInSeconds:r,...o}=e,i=this.settings.includeIdTokenInSilentSignout?null==(t=await this._loadUser())?void 0:t.id_token:void 0,a=this.settings.popup_post_logout_redirect_uri,s=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:r});await this._signout({request_type:"so:s",post_logout_redirect_uri:a,id_token_hint:i,...o},s),n.info("success")}async signoutSilentCallback(e=window.location.href){const t=this._logger.create("signoutSilentCallback");await this._iframeNavigator.callback(e),t.info("success")}async revokeTokens(e){const t=await this._loadUser();await this._revokeInternal(t,e)}async _revokeInternal(e,t=this.settings.revokeTokenTypes){const n=this._logger.create("_revokeInternal");if(!e)return;const r=t.filter(t=>"string"==typeof e[t]);if(r.length){for(const t of r)await this._client.revokeToken(e[t],t),n.info(`${t} revoked successfully`),"access_token"!==t&&(e[t]=null);await this.storeUser(e),n.debug("user stored"),await this._events.load(e)}else n.debug("no need to revoke due to no token(s)")}startSilentRenew(){this._logger.create("startSilentRenew"),this._silentRenewService.start()}stopSilentRenew(){this._silentRenewService.stop()}get _userStoreKey(){return`user:${this.settings.authority}:${this.settings.client_id}`}async _loadUser(){const e=this._logger.create("_loadUser"),t=await this.settings.userStore.get(this._userStoreKey);return t?(e.debug("user storageString loaded"),Tr.fromStorageString(t)):(e.debug("no user storageString"),null)}async storeUser(e){const t=this._logger.create("storeUser");if(e){t.debug("storing user");const n=e.toStorageString();await this.settings.userStore.set(this._userStoreKey,n)}else this._logger.debug("removing user"),await this.settings.userStore.remove(this._userStoreKey),this.settings.dpop&&await this.settings.dpop.store.remove(this.settings.client_id)}async clearStaleState(){await this._client.clearStaleState()}async dpopProof(e,t,n,r){var o,i;const a=await(null==(i=null==(o=this.settings.dpop)?void 0:o.store)?void 0:i.get(this.settings.client_id));if(a)return await ir.generateDPoPProof({url:e,accessToken:null==t?void 0:t.access_token,httpMethod:n,keyPair:a.keys,nonce:r})}async generateDPoPJkt(e){let t=await e.store.get(this.settings.client_id);if(!t){const n=await ir.generateDPoPKeys();t=new Ir(n),await e.store.set(this.settings.client_id,t)}return await ir.generateDPoPJkt(t.keys)}},po=e=>{const{children:t,onSigninCallback:r,skipSigninCallback:o,matchSignoutCallback:i,onSignoutCallback:a,onRemoveUser:s,userManager:l=null,...c}=e,[A]=n.useState(()=>null!=l?l:uo?new uo(c):{settings:c}),[u,d]=n.useReducer(to,eo),p=n.useMemo(()=>Object.assign({settings:A.settings,events:A.events},Object.fromEntries(lo.map(e=>{var t,n;return[e,null!=(n=null==(t=A[e])?void 0:t.bind(A))?n:Ao(e)]})),Object.fromEntries(co.map(e=>[e,A[e]?async t=>{d({type:"NAVIGATOR_INIT",method:e});try{return await A[e](t)}catch(n){return d({type:"ERROR",error:{...io(n,`Unknown error while executing ${e}(...).`),source:e,args:t}}),null}finally{d({type:"NAVIGATOR_CLOSE"})}}:Ao(e)]))),[A]),f=n.useRef(!1);n.useEffect(()=>{A&&!f.current&&(f.current=!0,(async()=>{try{let e=null;((e=window.location)=>{let t=new URLSearchParams(e.search);return!!((t.get("code")||t.get("error"))&&t.get("state")||(t=new URLSearchParams(e.hash.replace("#","?")),(t.get("code")||t.get("error"))&&t.get("state")))})()&&!o&&(e=await A.signinCallback(),r&&await r(e)),e=e||await A.getUser(),d({type:"INITIALISED",user:e})}catch(e){d({type:"ERROR",error:no(e)})}try{if(i&&i(A.settings)){const e=await A.signoutCallback();a&&await a(e)}}catch(e){d({type:"ERROR",error:ro(e)})}})())},[A,o,r,a,i]),n.useEffect(()=>{if(!A)return;const e=e=>{d({type:"USER_LOADED",user:e})};A.events.addUserLoaded(e);const t=()=>{d({type:"USER_UNLOADED"})};A.events.addUserUnloaded(t);const n=()=>{d({type:"USER_SIGNED_OUT"})};A.events.addUserSignedOut(n);const r=e=>{d({type:"ERROR",error:oo(e)})};return A.events.addSilentRenewError(r),()=>{A.events.removeUserLoaded(e),A.events.removeUserUnloaded(t),A.events.removeUserSignedOut(n),A.events.removeSilentRenewError(r)}},[A]);const h=n.useCallback(async()=>{A||Ao("removeUser"),await A.removeUser(),s&&await s()},[A,s]),m=n.useMemo(()=>({...u,...p,removeUser:h}),[u,p,h]);return n.createElement(Zr.Provider,{value:m},t)},fo=()=>{const e=n.useContext(Zr);return e||console.warn("AuthProvider context is undefined, please verify you are calling useAuth() as child of a <AuthProvider> component."),e};a(4915),Object.create(null);const ho={},mo=(e,t,n,r)=>{vo(n)&&ho[n]||(vo(n)&&(ho[n]=new Date),((e,t,n,r)=>
vendor: 2,947 bytes, line 2
2{const o=[n,{code:t,...r||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(o,"warn","react-i18next::",!0);vo(o[0])&&(o[0]=`react-i18next:: ${o[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...o):console?.warn&&console.warn(...o)})(e,t,n,r))},go=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},yo=(e,t,n)=>{e.loadNamespaces(t,go(e,n))},wo=(e,t,n,r)=>{if(vo(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return yo(e,n,r);n.forEach(t=>{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)}),e.loadLanguages(t,go(e,r))},vo=e=>"string"==typeof e,bo=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,xo={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},_o=e=>xo[e];let Bo,Co={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(bo,_o)};const ko={type:"3rdParty",init(e){((e={})=>{Co={...Co,...e}})(e.options.react),(e=>{Bo=e})(e)}},So=(0,n.createContext)();class jo{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const Eo=(e,t,n,r)=>e.getFixedT(t,n,r),Fo=(e,t={})=>{const{i18n:r}=t,{i18n:o,defaultNS:i}=(0,n.useContext)(So)||{},a=r||o||Bo;if(a&&!a.reportNamespaces&&(a.reportNamespaces=new jo),!a){mo(a,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const e=(e,t)=>{return vo(t)?t:"object"==typeof(n=t)&&null!==n&&vo(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e;var n},t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}a.options.react?.wait&&mo(a,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const s={...Co,...a.options.react,...t},{useSuspense:l,keyPrefix:c}=s;let A=e||i||a.options?.defaultNS;A=vo(A)?[A]:A||["translation"],a.reportNamespaces.addUsedNamespaces?.(A);const u=(a.isInitialized||a.initializedStoreOnce)&&A.every(e=>((e,t,n={})=>t.languages&&t.languages.length?t.hasLoadedNamespace(e,{lng:n.lng,precheck:(t,r)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):(mo(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0))(e,a,s)),d=((e,t,r,o)=>(0,n.useCallback)(Eo(e,t,r,o),[e,t,r,o]))(a,t.lng||null,"fallback"===s.nsMode?A:A[0],c),p=()=>d,f=()=>
vendor: 4,122 bytes, line 2
2Eo(a,t.lng||null,"fallback"===s.nsMode?A:A[0],c),[h,m]=(0,n.useState)(p);let g=A.join();t.lng&&(g=`${t.lng}${g}`);const y=((e,t)=>{const r=(0,n.useRef)();return(0,n.useEffect)(()=>{r.current=e},[e,t]),r.current})(g),w=(0,n.useRef)(!0);(0,n.useEffect)(()=>{const{bindI18n:e,bindI18nStore:n}=s;w.current=!0,u||l||(t.lng?wo(a,t.lng,A,()=>{w.current&&m(f)}):yo(a,A,()=>{w.current&&m(f)})),u&&y&&y!==g&&w.current&&m(f);const r=()=>{w.current&&m(f)};return e&&a?.on(e,r),n&&a?.store.on(n,r),()=>{w.current=!1,a&&e&&e?.split(" ").forEach(e=>a.off(e,r)),n&&a&&n.split(" ").forEach(e=>a.store.off(e,r))}},[a,g]),(0,n.useEffect)(()=>{w.current&&u&&m(p)},[a,c,u]);const v=[h,a,u];if(v.t=h,v.i18n=a,v.ready=u,u)return v;if(!u&&!l)return v;throw new Promise(e=>{t.lng?wo(a,t.lng,A,()=>e()):yo(a,A,()=>e())})};function No({i18n:e,defaultNS:t,children:r}){const o=(0,n.useMemo)(()=>({i18n:e,defaultNS:t}),[e,t]);return(0,n.createElement)(So.Provider,{value:o},r)}const Uo=e=>"string"==typeof e,Lo=()=>{let e,t;const n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},Io=e=>null==e?"":""+e,Po=/###/g,Qo=e=>e&&e.indexOf("###")>-1?e.replace(Po,"."):e,To=e=>!e||Uo(e),Do=(e,t,n)=>{const r=Uo(t)?t.split("."):t;let o=0;for(;o<r.length-1;){if(To(e))return{};const t=Qo(r[o]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++o}return To(e)?{}:{obj:e,k:Qo(r[o])}},Oo=(e,t,n)=>{const{obj:r,k:o}=Do(e,t,Object);if(void 0!==r||1===t.length)return void(r[o]=n);let i=t[t.length-1],a=t.slice(0,t.length-1),s=Do(e,a,Object);for(;void 0===s.obj&&a.length;)i=`${a[a.length-1]}.${i}`,a=a.slice(0,a.length-1),s=Do(e,a,Object),s?.obj&&void 0!==s.obj[`${s.k}.${i}`]&&(s.obj=void 0);s.obj[`${s.k}.${i}`]=n},Ro=(e,t)=>{const{obj:n,k:r}=Do(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},Mo=(e,t,n)=>{for(const r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?Uo(e[r])||e[r]instanceof String||Uo(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):Mo(e[r],t[r],n):e[r]=t[r]);return e},Ho=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var zo={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const Ko=e=>Uo(e)?e.replace(/[&<>"'\/]/g,e=>zo[e]):e,$o=[" ",",","?","!",";"],Vo=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}}(20),qo=(e,t,n=".")=>{if(!e)return;if(e[t]){if(!Object.prototype.hasOwnProperty.call(e,t))return;return e[t]}const r=t.split(n);let o=e;for(let e=0;e<r.length;){if(!o||"object"!=typeof o)return;let t,i="";for(let a=e;a<r.length;++a)if(a!==e&&(i+=n),i+=r[a],t=o[i],void 0!==t){if(["string","number","boolean"].indexOf(typeof t)>-1&&a<r.length-1)continue;e+=a-e+1;break}o=t}return o},Wo=e=>e?.replace("_","-"),Go={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class Yo{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||"i18next:",this.logger=e||Go,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,"log","",!0)}warn(...e){return this.forward(e,"warn","",!0)}error(...e){return this.forward(e,"error","")}deprecate(...e){return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,n,r){return r&&!this.debug?null:(Uo(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new Yo(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new Yo(this.logger,e)}}var Xo=new Yo;class Jo{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(e=>{this.observers[e]||(this.observers[e]=new Map);const n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEac
vendor: 2,920 bytes, line 2
2h(([e,n])=>{for(let r=0;r<n;r++)e(...t)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([n,r])=>{for(let o=0;o<r;o++)n.apply(n,[e,...t])})}}class Zo extends Jo{constructor(e,t={ns:["translation"],defaultNS:"translation"}){super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n,r={}){const o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,i=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure;let a;e.indexOf(".")>-1?a=e.split("."):(a=[e,t],n&&(Array.isArray(n)?a.push(...n):Uo(n)&&o?a.push(...n.split(o)):a.push(n)));const s=Ro(this.data,a);return!s&&!t&&!n&&e.indexOf(".")>-1&&(e=a[0],t=a[1],n=a.slice(2).join(".")),!s&&i&&Uo(n)?qo(this.data?.[e]?.[t],n,o):s}addResource(e,t,n,r,o={silent:!1}){const i=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator;let a=[e,t];n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(a=e.split("."),r=t,t=a[1]),this.addNamespaces(t),Oo(this.data,a,r),o.silent||this.emit("added",e,t,n,r)}addResources(e,t,n,r={silent:!1}){for(const r in n)(Uo(n[r])||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,r,o,i={silent:!1,skipCopy:!1}){let a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),r=n,n=t,t=a[1]),this.addNamespaces(t);let s=Ro(this.data,a)||{};i.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?Mo(s,n,o):s={...s,...n},Oo(this.data,a,s),i.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var ei={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,o){return e.forEach(e=>{t=this.processors[e]?.process(t,n,r,o)??t}),t}};const ti=Symbol("i18next/PATH_KEY");function ni(e,t){const{[ti]:n}=e(function(){const e=[],t=Object.create(null);let n;return t.get=(r,o)=>(n?.revoke?.(),o===ti?e:(e.push(o),n=Proxy.revocable(r,t),n.proxy)),Proxy.revocable(Object.create(null),t).proxy}());return n.join(t?.keySeparator??".")}const ri={},oi=e=>!Uo(e)&&"boolean"!=typeof e&&"number"!=typeof e;class ii extends Jo{constructor(e,t={}){var n,r;super(),n=e,r=this,["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
2i18nFormat","utils"].forEach(e=>{n[e]&&(r[e]=n[e])}),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=Xo.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){const n={...t};if(null==e)return!1;const r=this.resolve(e,n);return void 0!==r?.res}extractFromKey(e,t){let n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");const r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let o=t.ns||this.options.defaultNS||[];const i=n&&e.indexOf(n)>-1,a=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||((e,t,n)=>{t=t||"",n=n||"";const r=$o.filter(e=>t.indexOf(e)<0&&n.indexOf(e)<0);if(0===r.length)return!0;const o=Vo.getRegExp(`(${r.map(e=>"?"===e?"\\?":e).join("|")})`);let i=!o.test(e);if(!i){const t=e.indexOf(n);t>0&&!o.test(e.substring(0,t))&&(i=!0)}return i})(e,n,r));if(i&&!a){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:Uo(o)?[o]:o};const i=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(i[0])>-1)&&(o=i.shift()),e=i.join(r)}return{key:e,namespaces:Uo(o)?[o]:o}}translate(e,t,n){let r="object"==typeof t?{...t}:t;if("object"!=typeof r&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof r&&(r={...r}),r||(r={}),null==e)return"";"function"==typeof e&&(e=ni(e,{...this.options,...r})),Array.isArray(e)||(e=[String(e)]);const o=void 0!==r.returnDetails?r.returnDetails:this.options.returnDetails,i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,{key:a,namespaces:s}=this.extractFromKey(e[e.length-1],r),l=s[s.length-1];let c=void 0!==r.nsSeparator?r.nsSeparator:this.options.nsSeparator;void 0===c&&(c=":");const A=r.lng||this.language,u=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if("cimode"===A?.toLowerCase())return u?o?{res:`${l}${c}${a}`,usedKey:a,exactUsedKey:a,usedLng:A,usedNS:l,usedParams:this.getUsedParamsDetails(r)}:`${l}${c}${a}`:o?{res:a,usedKey:a,exactUsedKey:a,usedLng:A,usedNS:l,usedParams:this.getUsedParamsDetails(r)}:a;const d=this.resolve(e,r);let p=d?.res;const f=d?.usedKey||a,h=d?.exactUsedKey||a,m=void 0!==r.joinArrays?r.joinArrays:this.options.joinArrays,g=!this.i18nFormat||this.i18nFormat.handleAsObject,y=void 0!==r.count&&!Uo(r.count),w=ii.hasDefaultValue(r),v=y?this.pluralResolver.getSuffix(A,r.count,r):"",b=r.ordinal&&y?this.pluralResolver.getSuffix(A,r.count,{ordinal:!1}):"",x=y&&!r.ordinal&&0===r.count,_=x&&r[`defaultValue${this.options.pluralSeparator}zero`]||r[`defaultValue${v}`]||r[`defaultValue${b}`]||r.defaultValue;let B=p;g&&!p&&w&&(B=_);const C=oi(B),k=Object.prototype.toString.apply(B);if(!(g&&B&&C&&["[object Number]","[object Function]","[object RegExp]"].indexOf(k)<0)||Uo(m)&&Array.isArray(B))if(g&&Uo(m)&&Array.isArray(p))p=p.join(m),p&&(p=this.extendTranslation(p,e,r,n));else{let t=!1,o=!1;!this.isValidLookup(p)&&w&&(t=!0,p=_),this.isValidLookup(p)||(o=!0,p=a);const s=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&o?void 0:p,u=w&&_!==p&&this.options.updateMissing;if(o||t||u){if(this.logger.log(u?"updateKey":"missingKey",A,l,a,u?_:p),i){const e=this.resolve(a,{...r,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[];const t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if("fallback"===this.options.saveMissingTo&&t&&t[0])for(let n=0;n<t.length;n++)e.push(t[n]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(r.lng||this.language):e.push(r.lng||this.language);const n=(e,t,n)=>{const o=w&&n!==p?n:s;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,t,o,u,r):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,l,t,o,u,r),this.emit("missingKey",e,l,t,p)};this.options.saveMissing&&(this.options.saveMissingPlurals&&y?e.forEach(e
vendor: 28,752 bytes, line 2
2=>{const t=this.pluralResolver.getSuffixes(e,r);x&&r[`defaultValue${this.options.pluralSeparator}zero`]&&t.indexOf(`${this.options.pluralSeparator}zero`)<0&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{n([e],a+t,r[`defaultValue${t}`]||_)})}):n(e,a,_))}p=this.extendTranslation(p,e,r,d,n),o&&p===a&&this.options.appendNamespaceToMissingKey&&(p=`${l}${c}${a}`),(o||t)&&this.options.parseMissingKeyHandler&&(p=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}${c}${a}`:a,t?p:void 0,r))}else{if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(f,B,{...r,ns:s}):`key '${a} (${this.language})' returned an object instead of string.`;return o?(d.res=e,d.usedParams=this.getUsedParamsDetails(r),d):e}if(i){const e=Array.isArray(B),t=e?[]:{},n=e?h:f;for(const e in B)if(Object.prototype.hasOwnProperty.call(B,e)){const o=`${n}${i}${e}`;t[e]=w&&!p?this.translate(o,{...r,defaultValue:oi(_)?_[e]:void 0,joinArrays:!1,ns:s}):this.translate(o,{...r,joinArrays:!1,ns:s}),t[e]===o&&(t[e]=B[e])}p=t}}return o?(d.res=p,d.usedParams=this.getUsedParamsDetails(r),d):p}extendTranslation(e,t,n,r,o){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const i=Uo(e)&&(void 0!==n?.interpolation?.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let a;if(i){const t=e.match(this.interpolator.nestingRegexp);a=t&&t.length}let s=n.replace&&!Uo(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),e=this.interpolator.interpolate(e,s,n.lng||this.language||r.usedLng,n),i){const t=e.match(this.interpolator.nestingRegexp);a<(t&&t.length)&&(n.nest=!1)}!n.lng&&r&&r.res&&(n.lng=this.language||r.usedLng),!1!==n.nest&&(e=this.interpolator.nest(e,(...e)=>o?.[0]!==e[0]||n.context?this.translate(...e,t):(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null),n)),n.interpolation&&this.interpolator.reset()}const i=n.postProcess||this.options.postProcess,a=Uo(i)?[i]:i;return null!=e&&a?.length&&!1!==n.applyPostProcessor&&(e=ei.handle(a,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e,t={}){let n,r,o,i,a;return Uo(e)&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(n))return;const s=this.extractFromKey(e,t),l=s.key;r=l;let c=s.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));const A=void 0!==t.count&&!Uo(t.count),u=A&&!t.ordinal&&0===t.count,d=void 0!==t.context&&(Uo(t.context)||"number"==typeof t.context)&&""!==t.context,p=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);c.forEach(e=>{this.isValidLookup(n)||(a=e,ri[`${p[0]}-${e}`]||!this.utils?.hasLoadedNamespace||this.utils?.hasLoadedNamespace(a)||(ri[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${p.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),p.forEach(r=>{if(this.isValidLookup(n))return;i=r;const a=[l];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(a,l,r,e,t);else{let e;A&&(e=this.pluralResolver.getSuffix(r,t.count,t));const n=`${this.options.pluralSeparator}zero`,o=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(A&&(t.ordinal&&0===e.indexOf(o)&&a.push(l+e.replace(o,this.options.pluralSeparator)),a.push(l+e),u&&a.push(l+n)),d){const r=`${l}${this.options.contextSeparator||"_"}${t.context}`;a.push(r),A&&(t.ordinal&&0===e.indexOf(o)&&a.push(r+e.replace(o,this.options.pluralSeparator)),a.push(r+e),u&&a.push(r+n))}}let s;for(;s=a.pop();)this.isValidLookup(n)||(o=s,n=this.getResource(r,e,s,t))}))})}),{res:n,usedKey:r,exactUsedKey:o,usedLng:i,usedNS:a}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,n,r={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(e={}){const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=e.replace&&!Uo(e.replace);let r=n?e.replace:e;if(n&&void 0!==e.count&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(const e of t)delete r[e]}return r}static hasDefaultValue(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&"defaultValue"===t.substring(0,12)&&void 0!==e[t])return!0;return!1}}class ai{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Xo.create("languageUtils")}getScriptPartFromCode(e){if(!(e=Wo(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=Wo(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(Uo(e)&&e.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch(e){}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(e=>{if(t)return;const n=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(n)||(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;const n=this.getScriptPartFromCode(e);if(this.isSupportedCode(n))return t=n;const r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>e===r?e:e.indexOf("-")<0&&r.indexOf("-")<0?void 0:e.indexOf("-")>0&&r.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===r||0===e.indexOf(r)&&r.length>1?e:void 0)}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),Uo(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}toResolveHierarchy(e,t){const n=this.getFallbackCodes((!1===t?[]:t)||this.options.fallbackLng||[],e),r=[],o=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return Uo(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):Uo(e)&&o(this.formatLanguageCode(e)),n.forEach(e=>{r.indexOf(e)<0&&o(this.formatLanguageCode(e))}),r}}const si={zero:0,one:1,two:2,few:3,many:4,other:5},li={select:e=>1===e?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class ci{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=Xo.create("pluralResolver"),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){const n=Wo("dev"===e?"en":e),r=t.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:n,type:r});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];let i;try{i=new Intl.PluralRules(n,{type:r})}catch(n){if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),li;if(!e.match(/-|_/))return li;const r=this.languageUtils.getLanguagePartFromCode(e);i=this.getRule(r,t)}return this.pluralRulesCache[o]=i,i}needsPlural(e,t={}){let n=this.getRule(e,t);return n||(n=this.getRule("dev",t)),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,n={}){return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let n=this.getRule(e,t);return n||(n=this.getRule("dev",t)),n?n.resolvedOptions().pluralCategories.sort((e,t)=>si[e]-si[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):[]}getSuffix(e,t,n={}){const r=this.getRule(e,n);return r?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,n))}}const Ai=(e,t,n,r=".",o=!0)=>{let i=((e,t,n)=>{const r=Ro(e,n);return void 0!==r?r:Ro(t,n)})(e,t,n);return!i&&o&&Uo(n)&&(i=qo(e,n,r),void 0===i&&(i=qo(t,n,r))),i},ui=e=>e.replace(/\$/g,"$$$$");class di{constructor(e={}){this.logger=Xo.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:o,prefixEscaped:i,suffix:a,suffixEscaped:s,formatSeparator:l,unescapeSuffix:c,unescapePrefix:A,nestingPrefix:u,nestingPrefixEscaped:d,nestingSuffix:p,nestingSuffixEscaped:f,nestingOptionsSeparator:h,maxReplaces:m,alwaysFormat:g}=e.interpolation;this.escape=void 0!==t?t:Ko,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==r&&r,this.prefix=o?Ho(o):i||"{{",this.suffix=a?Ho(a):s||"}}",this.formatSeparator=l||",",this.unescapePrefix=c?"":A||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=u?Ho(u):d||Ho("$t("),this.nestingSuffix=p?Ho(p):f||Ho(")"),this.nestingOptionsSeparator=h||",",this.maxReplaces=m||1e3,this.alwaysFormat=void 0!==g&&g,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e?.source===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let o,i,a;const s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},l=e=>{if(e.indexOf(this.formatSeparator)<0){const o=Ai(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(o,void 0,n,{...r,...t,interpolationkey:e}):o}const o=e.split(this.formatSeparator),i=o.shift().trim(),a=o.join(this.formatSeparator).trim();return this.format(Ai(t,s,i,this.options.keySeparator,this.options.ignoreJSONStructure),a,n,{...r,...t,interpolationkey:i})};this.resetRegExp();const c=r?.missingInterpolationHandler||this.options.missingInterpolationHandler,A=void 0!==r?.interpolation?.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>ui(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?ui(this.escape(e)):ui(e)}].forEach(t=>{for(a=0;o=t.regex.exec(e);){const n=o[1].trim();if(i=l(n),void 0===i)if("function"==typeof c){const t=c(e,o,r);i=Uo(t)?t:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))i="";else{if(A){i=o[0];continue}this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),i=""}else Uo(i)||this.useRawValueToEscape||(i=Io(i));const s=t.safeValue(i);if(e=e.replace(o[0],s),A?(t.regex.lastIndex+=i.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,a++,a>=this.maxReplaces)break}}),e}nest(e,t,n={}){let r,o,i;const a=(e,t)=>{const n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;const r=e.split(new RegExp(`${n}[ ]*{`));let o=`{${r[1]}`;e=r[0],o=this.interpolate(o,i);const a=o.match(/'/g),s=o.match(/"/g);((a?.length??0)%2==0&&!s||s.length%2!=0)&&(o=o.replace(/'/g,'"'));try{i=JSON.parse(o),t&&(i={...t,...i})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${o}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,e};for(;r=this.nestingRegexp.exec(e);){let s=[];i={...n},i=i.replace&&!Uo(i.replace)?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;const l=/{.*}/.test(r[1])?r[1].lastIndexOf("}")+1:r[1].indexOf(this.formatSeparator);if(-1!==l&&(s=r[1].slice(l).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),r[1]=r[1].slice(0,l)),o=t(a.call(this,r[1].trim(),i),i),o&&r[0]===e&&!Uo(o))return o;Uo(o)||(o=Io(o)),o||(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),o=""),s.length&&(o=s.reduce((e,t)=>this.format(e,t,n.lng,{...n,interpolationkey:r[1].trim()}),o.trim())),e=e.replace(r[0],o),this.regexp.lastIndex=0}return e}}const pi=e=>{const t={};return(n,r,o)=>{let i=o;o&&o.interpolationkey&&o.formatParams&&o.formatParams[o.interpolationkey]&&o[o.interpolationkey]&&(i={...i,[o.interpolationkey]:void 0});const a=r+JSON.stringify(i);let s=t[a];return s||(s=e(Wo(r),o),t[a]=s),s(n)}},fi=e=>(t,n,r)=>e(Wo(n),r)(t);class hi{constructor(e={}){this.logger=Xo.create("formatter"),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||",";const n=t.cacheInBuiltFormats?pi:fi;this.formats={number:n((e,t)=>{const n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:n((e,t)=>{const n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)}),datetime:n((e,t)=>{const n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:n((e,t)=>{const n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")}),list:n((e,t)=>{const n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=pi(t)}format(e,t,n,r={}){const o=t.split(this.formatSeparator);if(o.length>1&&o[0].indexOf("(")>1&&o[0].indexOf(")")<0&&o.find(e=>e.indexOf(")")>-1)){const e=o.findIndex(e=>e.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,e)].join(this.formatSeparator)}return o.reduce((e,t)=>{const{formatName:o,formatOptions:i}=(e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const o=r[1].substring(0,r[1].length-1);"currency"===t&&o.indexOf(":")<0?n.currency||(n.currency=o.trim()):"relativetime"===t&&o.indexOf(":")<0?n.range||(n.range=o.trim()):o.split(";").forEach(e=>{if(e){const[t,...r]=e.split(":"),o=r.join(":").trim().replace(/^'+|'+$/g,""),i=t.trim();n[i]||(n[i]=o),"false"===o&&(n[i]=!1),"true"===o&&(n[i]=!0),isNaN(o)||(n[i]=parseInt(o,10))}})}return{formatName:t,formatOptions:n}})(t);if(this.formats[o]){let t=e;try{const a=r?.formatParams?.[r.interpolationkey]||{},s=a.locale||a.lng||r.locale||r.lng||n;t=this.formats[o](e,s,{...i,...r,...a})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${o}`),e},e)}}class mi extends Jo{constructor(e,t,n,r={}){super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=Xo.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,r.backend,r)}queueLoad(e,t,n,r){const o={},i={},a={},s={};return e.forEach(e=>{let r=!0;t.forEach(t=>{const a=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===i[a]&&(i[a]=!0):(this.state[a]=1,r=!1,void 0===i[a]&&(i[a]=!0),void 0===o[a]&&(o[a]=!0),void 0===s[t]&&(s[t]=!0)))}),r||(a[e]=!0)}),(Object.keys(o).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(o),pending:Object.keys(i),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){const r=e.split("|"),o=r[0],i=r[1];t&&this.emit("failedLoading",o,i,t),!t&&n&&this.store.addResourceBundle(o,i,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);const a={};this.queue.forEach(n=>{((e,t,n)=>{const{obj:r,k:o}=Do(e,t,Object);r[o]=r[o]||[],r[o].push(n)})(n.loaded,[o],i),((e,t)=>{void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)})(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(e=>{a[e]||(a[e]={});const t=n.loaded[e];t.length&&t.forEach(t=>{void 0===a[e][t]&&(a[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n,r=0,o=this.retryTimeout,i){if(!e.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:o,callback:i});this.readingCalls++;const a=(a,s)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}a&&s&&r<this.maxRetries?setTimeout(()=>{this.read.call(this,e,t,n,r+1,2*o,i)},o):i(a,s)},s=this.backend[n].bind(this.backend);if(2!==s.length)return s(e,t,a);try{const n=s(e,t);n&&"function"==typeof n.then?n.then(e=>a(null,e)).catch(a):a(null,n)}catch(e){a(e)}}prepareLoading(e,t,n={},r){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();Uo(e)&&(e=this.languageUtils.toResolveHierarchy(e)),Uo(t)&&(t=[t]);const o=this.queueLoad(e,t,n,r);if(!o.toLoad.length)return o.pending.length||r(),null;o.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e,t=""){const n=e.split("|"),r=n[0],o=n[1];this.read(r,o,"read",void 0,void 0,(n,i)=>{n&&this.logger.warn(`${t}loading namespace ${o} for language ${r} failed`,n),!n&&i&&this.logger.log(`${t}loaded namespace ${o} for language ${r}`,i),this.loaded(e,n,i)})}saveMissing(e,t,n,r,o,i={},a=()=>{}){if(!this.services?.utils?.hasLoadedNamespace||this.services?.utils?.hasLoadedNamespace(t)){if(null!=n&&""!==n){if(this.backend?.create){const s={...i,isUpdate:o},l=this.backend.create.bind(this.backend);if(l.length<6)try{let o;o=5===l.length?l(e,t,n,r,s):l(e,t,n,r),o&&"function"==typeof o.then?o.then(e=>a(null,e)).catch(a):a(null,o)}catch(e){a(e)}else l(e,t,n,r,a,s)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}else this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")}}const gi=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),Uo(e[1])&&(t.defaultValue=e[1]),Uo(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),yi=e=>(Uo(e.ns)&&(e.ns=[e.ns]),Uo(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),Uo(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),"boolean"==typeof e.initImmediate&&(e.initAsync=e.initImmediate),e),wi=()=>{};class vi extends Jo{constructor(e={},t){var n;if(super(),this.options=yi(e),this.services={},this.logger=Xo,this.modules={external:[]},n=this,Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach(e=>{"function"==typeof n[e]&&(n[e]=n[e].bind(n))}),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,"function"==typeof e&&(t=e,e={}),null==e.defaultNS&&e.ns&&(Uo(e.ns)?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));const n=gi();this.options={...n,...this.options,...yi(e)},this.options.interpolation={...n.interpolation,...this.options.interpolation},void 0!==e.keySeparator&&(this.options.userDefinedKeySeparator=e.keySeparator),void 0!==e.nsSeparator&&(this.options.userDefinedNsSeparator=e.nsSeparator);const r=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let e;this.modules.logger?Xo.init(r(this.modules.logger),this.options):Xo.init(null,this.options),e=this.modules.formatter?this.modules.formatter:hi;const t=new ai(this.options);this.store=new Zo(this.options.resources,this.options);const o=this.services;o.logger=Xo,o.resourceStore=this.store,o.languageUtils=t,o.pluralResolver=new ci(t,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),!e||this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format||(o.formatter=r(e),o.formatter.init&&o.formatter.init(o,this.options),this.options.interpolation.format=o.formatter.format.bind(o.formatter)),o.interpolator=new di(this.options),o.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},o.backendConnector=new mi(r(this.modules.backend),o.resourceStore,o,this.options),o.backendConnector.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(o.languageDetector=r(this.modules.languageDetector),o.languageDetector.init&&o.languageDetector.init(o,this.options.detection,this.options)),this.modules.i18nFormat&&(o.i18nFormat=r(this.modules.i18nFormat),o.i18nFormat.init&&o.i18nFormat.init(this)),this.translator=new ii(this.services,this.options),this.translator.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||(t=wi),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(e=>{this[e]=(...t)=>this.store[e](...t)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});const o=Lo(),i=()=>{const e=(e,n)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),o.resolve(n),t(e,n)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?i():setTimeout(i,0),o}loadResources(e,t=wi){let n=t;const r=Uo(e)?e:this.language;if("function"==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if("cimode"===r?.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return n();const e=[],t=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)})};r?t(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),n(e)})}else n(null)}reloadResources(e,t,n){const r=Lo();return"function"==typeof e&&(n=e,e=void 0),"function"==typeof t&&(n=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),n||(n=wi),this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&ei.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1)){for(let e=0;e<this.languages.length;e++){const t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&this.languages.indexOf(e)<0&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;const n=Lo();this.emit("languageChanging",e);const r=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},o=(o,i)=>{i?this.isLanguageChangingTo===e&&(r(i),this.translator.changeLanguage(i),this.isLanguageChangingTo=void 0,this.emit("languageChanged",i),this.logger.log("languageChanged",i)):this.isLanguageChangingTo=void 0,n.resolve((...e)=>this.t(...e)),t&&t(o,(...e)=>this.t(...e))},i=t=>{e||t||!this.services.languageDetector||(t=[]);const n=Uo(t)?t:t&&t[0],i=this.store.hasLanguageSomeTranslations(n)?n:this.services.languageUtils.getBestMatchFromCodes(Uo(t)?[t]:t);i&&(this.language||r(i),this.translator.language||this.translator.changeLanguage(i),this.services.languageDetector?.cacheUserLanguage?.(i)),this.loadResources(i,e=>{o(e,i)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(i):this.services.languageDetector.detect(i):i(e):i(this.services.languageDetector.detect()),n}getFixedT(e,t,n){const r=(e,t,...o)=>{let i;i="object"!=typeof t?this.options.overloadTranslationOptionHandler([e,t].concat(o)):{...t},i.lng=i.lng||r.lng,i.lngs=i.lngs||r.lngs,i.ns=i.ns||r.ns,""!==i.keyPrefix&&(i.keyPrefix=i.keyPrefix||n||r.keyPrefix);const a=this.options.keySeparator||".";let s;return i.keyPrefix&&Array.isArray(e)?s=e.map(e=>("function"==typeof e&&(e=ni(e,{...this.options,...t})),`${i.keyPrefix}${a}${e}`)):("function"==typeof e&&(e=ni(e,{...this.options,...t})),s=i.keyPrefix?`${i.keyPrefix}${a}${e}`:e),this.t(s,i)};return Uo(e)?r.lng=e:r.lngs=e,r.ns=t,r.keyPrefix=n,r}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;
2if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const n=t.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;const i=(e,t)=>{const n=this.services.backendConnector.state[`${e}|${t}`];return-1===n||0===n||2===n};if(t.precheck){const e=t.precheck(this,i);if(void 0!==e)return e}return!(!this.hasResourceBundle(n,e)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!i(n,e)||r&&!i(o,e)))}loadNamespaces(e,t){const n=Lo();return this.options.ns?(Uo(e)&&(e=[e]),e.forEach(e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){const n=Lo();Uo(e)&&(e=[e]);const r=this.options.preload||[],o=e.filter(e=>r.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e));return o.length?(this.options.preload=r.concat(o),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";try{const t=new Intl.Locale(e);if(t&&t.getTextInfo){const e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch(e){}const t=this.services?.languageUtils||new ai(gi());return e.toLowerCase().indexOf("-latn")>1?"ltr":["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},t){return new vi(e,t)}cloneInstance(e={},t=wi){const n=e.forkResourceStore;n&&delete e.forkResourceStore;const r={...this.options,...e,isClone:!0},o=new vi(r);if(void 0===e.debug&&void 0===e.prefix||(o.logger=o.logger.clone(e)),["store","services","language"].forEach(e=>{o[e]=this[e]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},n){const e=Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((n,r)=>(n[r]={...e[t][r]},n),e[t]),e),{});o.store=new Zo(e,r),o.services.resourceStore=o.store}return o.translator=new ii(o.services,r),o.translator.on("*",(e,...t)=>{o.emit(e,...t)}),o.init(r,t),o.translator.options=r,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const bi=vi.createInstance();function xi(e){return xi="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},xi(e)}function _i(){return"function"==typeof XMLHttpRequest||"object"===("undefined"==typeof XMLHttpRequest?"undefined":xi(XMLHttpRequest))}function Bi(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 Ci(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bi(Object(n),!0).forEach(function(t){ki(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bi(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ki(e,t,n){return(t=function(e){var t=function(e){if("object"!=Si(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Si(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Si(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Si(e){return Si="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},Si(e)}bi.createInstance=vi.createInstance,bi.createInstance,bi.dir,bi.init,bi.loadResources,bi.reloadResources,bi.use,bi.changeLanguage,bi.getFixedT,bi.t,bi.exists,bi.setDefaultNamespace,bi.hasLoadedNamespace,bi.loadNamespaces,bi.loadLanguages;var ji,Ei,Fi="function"==typeof fetch?fetch:void 0;if(void 0!==a.g&&a.g.fetch?Fi=a.g.fetch:"undefined"!=typeof window&&window.fetch&&(Fi=window.fetch),_i()&&(void 0!==a.g&&a.g.XMLHttpRequest?ji=a.g.XMLHttpRequest:"undefined"!=typeof window&&window.XMLHttpRequest&&(ji=window.XMLHttpRequest)),"function"==typeof ActiveXObject&&(void 0!==a.g&&a.g.ActiveXObject?Ei=a.g.ActiveXObject:"undefined"!=typeof window&&window.ActiveXObject&&(Ei=window.ActiveXObject)),"function"!=typeof Fi&&(Fi=void 0),!Fi&&!ji&&!Ei)try{a.e(945).then(a.t.bind(a,4945,19)).then(function(e){Fi=e.default}).catch(function(){})}catch(Mi){}var Ni=function(e,t){if(t&&"object"===Si(t)){var n="";for(var r in t)n+="&"+encodeURIComponent(r)+"="+encodeURIComponent(t[r]);if(!n)return e;e=e+(-1!==e.indexOf("?")?"&":"?")+n.slice(1)}return e},Ui=function(e,t,n,r){var o=function(e){if(!e.ok)return n(e.statusText||"Error",{status:e.status});e.text().then(function(t){n(null,{status:e.status,data:t})}).catch(n)};if(r){var i=r(e,t);if(i instanceof Promise)return void i.then(o).catch(n)}"function"==typeof fetch?fetch(e,t).then(o).catch(n):Fi(e,t).then(o).catch(n)},Li=!1;const Ii=function(e,t,n,r){return"function"==typeof n&&(r=n,n=void 0),r=r||function(){},Fi&&0!==t.indexOf("file:")?function(e,t,n,r){e.queryStringParams&&(t=Ni(t,e.queryStringParams));var o=Ci({},"function"==typeof e.customHeaders?e.customHeaders():e.customHeaders);"undefined"==typeof window&&void 0!==a.g&&void 0!==a.g.process&&a.g.process.versions&&a.g.process.versions.node&&(o["User-Agent"]="i18next-http-backend (node/".concat(a.g.process.version,";
2 ").concat(a.g.process.platform," ").concat(a.g.process.arch,")")),n&&(o["Content-Type"]="application/json");var i="function"==typeof e.requestOptions?e.requestOptions(n):e.requestOptions,s=Ci({method:n?"POST":"GET",body:n?e.stringify(n):void 0,headers:o},Li?{}:i),l="function"==typeof e.alternateFetch&&e.alternateFetch.length>=1?e.alternateFetch:void 0;try{Ui(t,s,r,l)}catch(e){if(!i||0===Object.keys(i).length||!e.message||e.message.indexOf("not implemented")<0)return r(e);try{Object.keys(i).forEach(function(e){delete s[e]}),Ui(t,s,r,l),Li=!0}catch(e){r(e)}}}(e,t,n,r):_i()||"function"==typeof ActiveXObject?function(e,t,n,r){n&&"object"===Si(n)&&(n=Ni("",n).slice(1)),e.queryStringParams&&(t=Ni(t,e.queryStringParams));try{var o=ji?new ji:new Ei("MSXML2.XMLHTTP.3.0");o.open(n?"POST":"GET",t,1),e.crossDomain||o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o.withCredentials=!!e.withCredentials,n&&o.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),o.overrideMimeType&&o.overrideMimeType("application/json");var i=e.customHeaders;if(i="function"==typeof i?i():i)for(var a in i)o.setRequestHeader(a,i[a]);o.onreadystatechange=function(){o.readyState>3&&r(o.status>=400?o.statusText:null,{status:o.status,data:o.responseText})},o.send(n)}catch(e){console&&console.log(e)}}(e,t,n,r):void r(new Error("No fetch and no xhr implementation found!"))};function Pi(e){return Pi="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},Pi(e)}function Qi(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 Ti(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qi(Object(n),!0).forEach(function(t){Oi(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qi(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Di(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ri(r.key),r)}}function Oi(e,t,n){return(t=Ri(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ri(e){var t=function(e){if("object"!=Pi(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Pi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Pi(t)?t:t+""}var Mi,Hi,zi=(Mi=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.services=t,this.options=n,this.allOptions=r,this.type="backend",this.init(t,n,r)},Hi=[{key:"init",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(this.services=e,this.options=Ti(Ti(Ti({},{loadPath:"/locales/{{lng}}/{{ns}}.json",addPath:"/locales/add/{{lng}}/{{ns}}",parse:function(e){return JSON.parse(e)},stringify:JSON.stringify,parsePayload:function(e,t,n){return Oi({},t,n||"")},parseLoadPayload:function(e,t){},request:Ii,reloadInterval:"undefined"==typeof window&&36e5,customHeaders:{},queryStringParams:{},crossDomain:!1,withCredentials:!1,overrideMimeType:!1,requestOptions:{mode:"cors",credentials:"same-origin",cache:"default"}}),this.options||{}),n),this.allOptions=r,this.services&&this.options.reloadInterval){var o=setInterval(function(){return t.reload()},this.options.reloadInterval);"object"===Pi(o)&&"function"==typeof o.unref&&o.unref()}}},{key:"readMulti",value:function(e,t,n){this._readAny(e,e,t,t,n)}},{key:"read",value:function(e,t,n){this._readAny([e],e,[t],t,n)}},{key:"_readAny",value:function(e,t,n,r,o){var i,a=this,s=this.options.loadPath;"function"==typeof this.options.loadPath&&(s=this.options.loadPath(e,n)),(s=function(e){return!!e&&"function"==typeof e.then}(i=s)?i:Promise.resolve(i)).then(function(i){if(!i)return o(null,{});var s=a.services.interpolator.interpolate(i,{lng:e.join("+"),ns:n.join("+")});a.loadUrl(s,o,t,r)})}},{key:"loadUrl",value:function(e,t,n,r){var o=this,i="string"==typeof n?[n]:n,a="string"==typeof r?[r]:r,s=this.options.parseLoadPayload(i,a);
2this.options.request(this.options,e,s,function(i,a){if(a&&(a.status>=500&&a.status<600||!a.status))return t("failed loading "+e+"; status code: "+a.status,!0);if(a&&a.status>=400&&a.status<500)return t("failed loading "+e+"; status code: "+a.status,!1);if(!a&&i&&i.message){var s=i.message.toLowerCase();if(["failed","fetch","network","load"].find(function(e){return s.indexOf(e)>-1}))return t("failed loading "+e+": "+i.message,!0)}if(i)return t(i,!1);var l,c;try{l="string"==typeof a.data?o.options.parse(a.data,n,r):a.data}catch(t){c="failed parsing "+e+" to json"}if(c)return t(c,!1);t(null,l)})}},{key:"create",value:function(e,t,n,r,o){var i=this;if(this.options.addPath){"string"==typeof e&&(e=[e]);var a=this.options.parsePayload(t,n,r),s=0,l=[],c=[];e.forEach(function(n){var r=i.options.addPath;"function"==typeof i.options.addPath&&(r=i.options.addPath(n,t));var A=i.services.interpolator.interpolate(r,{lng:n,ns:t});i.options.request(i.options,A,a,function(t,n){s+=1,l.push(t),c.push(n),s===e.length&&"function"==typeof o&&o(l,c)})})}}},{key:"reload",value:function(){var e=this,t=this.services,n=t.backendConnector,r=t.languageUtils,o=t.logger,i=n.language;if(!i||"cimode"!==i.toLowerCase()){var a=[],s=function(e){r.toResolveHierarchy(e).forEach(function(e){a.indexOf(e)<0&&a.push(e)})};s(i),this.allOptions.preload&&this.allOptions.preload.forEach(function(e){return s(e)}),a.forEach(function(t){e.allOptions.ns.forEach(function(e){n.read(t,e,"read",null,null,function(r,i){r&&o.warn("loading namespace ".concat(e," for language ").concat(t," failed"),r),!r&&i&&o.log("loaded namespace ".concat(e," for language ").concat(t),i),n.loaded("".concat(t,"|").concat(e),r,i)})})})}}}],Hi&&Di(Mi.prototype,Hi),Object.defineProperty(Mi,"prototype",{writable:!1}),Mi);zi.type="backend";const Ki=zi,$i="en-GB",Vi="undefined"!=typeof document?function(){const e=document.documentElement.lang;return e&&e.trim().replace(/\s+/g,"-")||"en-GB"}():$i;bi.use(Ki).use(ko).init({debug:!1,lng:Vi||$i,fallbackLng:$i,interpolation:{escapeValue:!1},backend:{loadPath:"/account-content/account-labels.json"},react:{useSuspense:!1}});const qi=bi,Wi=(e,t)=>{if(!t)throw new Error(`Missing env var: ${e}`);return t},Gi={client:{baseUrl:Wi("REACT_APP_BASE_URL","https://apiv1.guinnessworldrecords.com"),basename:Wi("REACT_APP_BASENAME","/account")},cognito:{authority:Wi("REACT_APP_COGNITO_AUTHORITY","https://cognito-idp.eu-west-1.amazonaws.com/eu-west-1_YN5FhNTkq"),clientId:Wi("REACT_APP_COGNITO_CLIENT_ID","79qiig5vonfr7cuugjeh6fchep"),redirectUri:Wi("REACT_APP_COGNITO_REDIRECT_URI","https://www.guinnessworldrecords.*/account/"),domain:Wi("REACT_APP_COGNITO_DOMAIN","https://sso.guinnessworldrecords.com"),logoutUri:Wi("REACT_APP_COGNITO_LOGOUT_URI","https://www.guinnessworldrecords.*")},consultant:{authority:Wi("REACT_APP_COGNITO_CONSULTANTS_AUTHORITY","https://cognito-idp.eu-west-1.amazonaws.com/eu-west-1_KWAA9yjCy"),clientId:Wi("REACT_APP_COGNITO_CONSULTANTS_CLIENT_ID","3a8dfvsc67rmi2gs4fabd96fmq"),redirectUri:Wi("REACT_APP_COGNITO_CONSULTANTS_REDIRECT_URI","https://www.guinnessworldrecords.*/account/consultant/"),domain:Wi("REACT_APP_COGNITO_CONSULTANTS_DOMAIN","https://ssoconsultant.guinnessworldrecords.com"),logoutUri:Wi("REACT_APP_COGNITO_CONSULTANTS_LOGOUT_URI","https://www.guinnessworldrecords.*/")}},Yi=()=>(document.documentElement?.getAttribute("lang")??"en").split("-")[0],Xi=()=>({en:"com",de:"de",es:"es",ja:"jp",pt:"com.br",zh:"cn",ar:"ae"}[Yi()]??"com"),Ji=Gi.cognito.redirectUri.replace("*",Xi()),Zi={authority:Gi.cognito.authority,client_id:Gi.cognito.clientId,redirect_uri:Ji,response_type:"code",scope:"email openid phone profile"},ea={clientId:Gi.cognito.clientId,logoutUri:Gi.cognito.logoutUri.replace("*",Xi()),cognitoDomain:Gi.cognito.domain},ta={authority:Gi.consultant.authority,client_id:Gi.consultant.clientId,redirect_uri:Gi.consultant.redirectUri.replace("*",Xi()),response_type:"code",scope:"email openid phone profile"},na={clientId:Gi.consultant.clientId,logoutUri:Gi.consultant.logoutUri.replace("*",Xi()),cognitoDomain:Gi.consultant.domain};var ra=a(5072),oa=a.n(ra),ia=a(7825),aa=a.n(ia),sa=a(7659),la=a.n(sa),ca=a(5056),Aa=a.n(ca),ua=a(540),da=a.n(ua),pa=a(1113),fa=a.n(pa),ha=a(7734),ma={};ma.styleTagTransform=fa(),ma.setAttributes=Aa(),ma.insert=la().bind(null,"head"),ma.domAPI=aa(),ma.insertStyleElement=da(),oa()(ha.A,ma),ha.A&&ha.A.locals&&ha.A.locals;var ga=a(4848);function ya(){return(0,ga.jsxs)(No,{i18n:qi,children:[(0,ga.jsx)(On,{}),(0,ga.jsx)(sn,{})]})}function wa(){return(0,ga.jsx)(po,{...Zi,children:(0,ga.jsx)(sn,{})})}function va(){return(0,ga.jsx)(po,{...ta,children:(0,ga.jsx)(sn,{})})}const ba=({size:e})=>(0,ga.jsxs)("svg",{className:`animate-spin ${e||"size-5"}`,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,ga.jsx)("circle",{className:"opacity-25 text-gray-400",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,ga.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),xa=({children:e,className:t="",color:n,small:r,href:o,to:i,loading:a=!1,...s})=>{const l=a||s.disabled,c=r?"px-3 py-1.5 font-normal text-base":"px-3 sm:px-5 py-2 sm:py-3 font-rubik-medium",A={default:"bg-green-600 hover:bg-green-700 text-white",red:"bg-gwr-red hover:bg-rose-700 text-white",blue:"bg-blue-950 hover:bg-gwr-light-blue text-white",transparent:"bg-transparent hover:bg-gray-200 text-gray-500 border border-gray-300"}[n??"default"],u=`\n    relative rounded transition-colors duration-200 \n    focus:outline-none inline-flex items-center justify-center text-center\n    ${l?A.replace(/\s*hover:[^\s]+/g,"").trim():A} ${c} ${t} ${l?"opacity-50":"cursor-pointer"}\n  `,d=r?"size-4":"size-5",p=(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)("span",{className:"transition-opacity duration-150 "+(a?"opacity-0":"opacity-100"),children:e}),a&&(0,ga.jsxs)("span",{className:"absolute inset-0 flex items-center justify-center",children:[(0,ga.jsx)(ba,{size:d}),(0,ga.jsx)("span",{className:"sr-only",children:"Loading..."})]})]}),f=a?"opacity-70 pointer-events-none":"";return i?(0,ga.jsx)(Qn,{to:i,state:s.state,className:`${u} ${f}`,...s,children:p}):o?(0,ga.jsx)("a",{href:o,className:`${u} ${f}`,...s,children:p}):(0,ga.jsx)("button",{...s,disabled:a||s.disabled,className:`${u} ${f}`,children:p})};function _a(){const e=Vt(),t=Nt();let n,r,o;J(e)?(r=e.status,n=e.statusText||e.data?.message||"An error occurred"):e instanceof Error?(n=e.message,o=e.stack):n="An unexpected error occurred";const i=404===r;return(0,ga.jsx)("main",{className:"pt-16 p-4 container mx-auto max-w-2xl",children:(0,ga.jsxs)("div",{className:"text-center space-y-4",children:[r&&(0,ga.jsx)("h1",{className:"text-6xl font-bold text-gray-300",children:r}),(0,ga.jsx)("h2",{className:"text-2xl font-semibold",children:i?"Page Not Found":"Oops! Something went wrong"}),(0,ga.jsx)("p",{className:"text-gray-600",children:i?"The page you're looking for doesn't exist.":n}),(0,ga.jsx)("div",{className:"flex justify-center pt-4",children:(0,ga.jsx)(xa,{onClick:()=>t("/"),children:"Go Back"})}),o&&!1]})})}const Ba=({children:e})=>(0,ga.jsx)("div",{className:"flex items-center justify-center bg-white relative",style:{minHeight:"80vh"},children:e||(0,ga.jsx)("img",{src:"/images/og_image.jpg",alt:"Guinness World Records Logo",className:"aspect-square h-28  animate-pulse"})}),Ca=Array(12).fill(0),ka=({visible:e,className:t})=>n.createElement("div",{className:["sonner-loading-wrapper",t].filter(
vendor: 3,276 bytes, line 2
2Boolean).join(" "),"data-visible":e},n.createElement("div",{className:"sonner-spinner"},Ca.map((e,t)=>n.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${t}`})))),Sa=n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},n.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),ja=n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},n.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),Ea=n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},n.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),Fa=n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},n.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),Na=n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},n.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),n.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}));let Ua=1;const La=new class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{const t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;const{message:n,...r}=e,o="number"==typeof(null==e?void 0:e.id)||(null==(t=e.id)?void 0:t.length)>0?e.id:Ua++,i=this.toasts.find(e=>e.id===o),a=void 0===e.dismissible||e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),i?this.toasts=this.toasts.map(t=>t.id===o?(this.publish({...t,...e,id:o,title:n}),{...t,...e,id:o,dismissible:a,title:n}):t):this.addToast({title:n,...r,dismissible:a,id:o}),o},this.dismiss=e=>(e?(this.dismissedToasts.add(e),requestAnimationFrame(()=>this.subscribers.forEach(t=>t({id:e,dismiss:!0})))):this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
2this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let r;void 0!==t.loading&&(r=this.create({...t,promise:e,type:"loading",message:t.loading,description:"function"!=typeof t.description?t.description:void 0}));const o=Promise.resolve(e instanceof Function?e():e);let i,a=void 0!==r;const s=o.then(async e=>{if(i=["resolve",e],n.isValidElement(e))a=!1,this.create({id:r,type:"default",message:e});else if(Ia(e)&&!e.ok){a=!1;const o="function"==typeof t.error?await t.error(`HTTP error! status: ${e.status}`):t.error,i="function"==typeof t.description?await t.description(`HTTP error! status: ${e.status}`):t.description,s="object"!=typeof o||n.isValidElement(o)?{message:o}:o;this.create({id:r,type:"error",description:i,...s})}else if(e instanceof Error){a=!1;const o="function"==typeof t.error?await t.error(e):t.error,i="function"==typeof t.description?await t.description(e):t.description,s="object"!=typeof o||n.isValidElement(o)?{message:o}:o;this.create({id:r,type:"error",description:i,...s})}else if(void 0!==t.success){a=!1;const o="function"==typeof t.success?await t.success(e):t.success,i="function"==typeof t.description?await t.description(e):t.description,s="object"!=typeof o||n.isValidElement(o)?{message:o}:o;this.create({id:r,type:"success",description:i,...s})}}).catch(async e=>{if(i=["reject",e],void 0!==t.error){a=!1;const o="function"==typeof t.error?await t.error(e):t.error,i="function"==typeof t.description?await t.description(e):t.description,s="object"!=typeof o||n.isValidElement(o)?{message:o}:o;this.create({id:r,type:"error",description:i,...s})}}).finally(()=>{a&&(this.dismiss(r),r=void 0),null==t.finally||t.finally.call(t)}),l=()=>new Promise((e,t)=>s.then(()=>"reject"===i[0]?t(i[1]):e(i[1])).catch(t));return"string"!=typeof r&&"number"!=typeof r?{unwrap:l}:Object.assign(r,{unwrap:l})},this.custom=(e,t)=>{const n=(null==t?void 0:t.id)||Ua++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},Ia=e=>e&&"object"==typeof e&&"ok"in e&&"boolean"==typeof e.ok&&"status"in e&&"number"==typeof e.status,Pa=Object.assign((e,t)=>{const n=(null==t?void 0:t.id)||Ua++;return La.addToast({title:e,...t,id:n}),n},{success:La.success,info:La.info,warning:La.warning,error:La.error,custom:La.custom,message:La.message,promise:La.promise,dismiss:La.dismiss,loading:La.loading},{getHistory:()=>La.toasts,getToasts:()=>La.getActiveToasts()});function Qa(e){return void 0!==e.label}!function(e){if("undefined"==typeof document)return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}
vendor: 14,864 bytes, line 2
2("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
2const Ta=3,Da=14;function Oa(...e){return e.filter(Boolean).join(" ")}const Ra=e=>{var t,r,o,i,a,s,l,c,A;const{invert:u,toast:d,unstyled:p,interacting:f,setHeights:h,visibleToasts:m,heights:g,index:y,toasts:w,expanded:v,removeToast:b,defaultRichColors:x,closeButton:_,style:B,cancelButtonStyle:C,actionButtonStyle:k,className:S="",descriptionClassName:j="",duration:E,position:F,gap:N,exp
vendor: 8,888 bytes, line 2
2andByDefault:U,classNames:L,icons:I,closeButtonAriaLabel:P="Close toast"}=e,[Q,T]=n.useState(null),[D,O]=n.useState(null),[R,M]=n.useState(!1),[H,z]=n.useState(!1),[K,$]=n.useState(!1),[V,q]=n.useState(!1),[W,G]=n.useState(!1),[Y,X]=n.useState(0),[J,Z]=n.useState(0),ee=n.useRef(d.duration||E||4e3),te=n.useRef(null),ne=n.useRef(null),re=0===y,oe=y+1<=m,ie=d.type,ae=!1!==d.dismissible,se=d.className||"",le=d.descriptionClassName||"",ce=n.useMemo(()=>g.findIndex(e=>e.toastId===d.id)||0,[g,d.id]),Ae=n.useMemo(()=>{var e;return null!=(e=d.closeButton)?e:_},[d.closeButton,_]),ue=n.useMemo(()=>d.duration||E||4e3,[d.duration,E]),de=n.useRef(0),pe=n.useRef(0),fe=n.useRef(0),he=n.useRef(null),[me,ge]=F.split("-"),ye=n.useMemo(()=>g.reduce((e,t,n)=>n>=ce?e:e+t.height,0),[g,ce]),we=(()=>{const[e,t]=n.useState(document.hidden);return n.useEffect(()=>{const e=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",e),()=>window.removeEventListener("visibilitychange",e)},[]),e})(),ve=d.invert||u,be="loading"===ie;pe.current=n.useMemo(()=>ce*N+ye,[ce,ye]),n.useEffect(()=>{ee.current=ue},[ue]),n.useEffect(()=>{M(!0)},[]),n.useEffect(()=>{const e=ne.current;if(e){const t=e.getBoundingClientRect().height;return Z(t),h(e=>[{toastId:d.id,height:t,position:d.position},...e]),()=>h(e=>e.filter(e=>e.toastId!==d.id))}},[h,d.id]),n.useLayoutEffect(()=>{if(!R)return;const e=ne.current,t=e.style.height;e.style.height="auto";const n=e.getBoundingClientRect().height;e.style.height=t,Z(n),h(e=>{const t=e.find(e=>e.toastId===d.id);return t?e.map(e=>e.toastId===d.id?{...e,height:n}:e):[{toastId:d.id,height:n,position:d.position},...e]})},[R,d.title,d.description,h,d.id,d.jsx,d.action,d.cancel]);const xe=n.useCallback(()=>{z(!0),X(pe.current),h(e=>e.filter(e=>e.toastId!==d.id)),setTimeout(()=>{b(d)},200)},[d,b,h,pe]);n.useEffect(()=>{if(d.promise&&"loading"===ie||d.duration===1/0||"loading"===d.type)return;let e;return v||f||we?(()=>{if(fe.current<de.current){const e=(new Date).getTime()-de.current;ee.current=ee.current-e}fe.current=(new Date).getTime()})():ee.current!==1/0&&(de.current=(new Date).getTime(),e=setTimeout(()=>{null==d.onAutoClose||d.onAutoClose.call(d,d),xe()},ee.current)),()=>clearTimeout(e)},[v,f,d,ie,we,xe]),n.useEffect(()=>{d.delete&&(xe(),null==d.onDismiss||d.onDismiss.call(d,d))},[xe,d.delete]);const _e=d.icon||(null==I?void 0:I[ie])||(e=>{switch(e){case"success":return Sa;case"info":return Ea;case"warning":return ja;case"error":return Fa;default:return null}})(ie);var Be,Ce;return n.createElement("li",{tabIndex:0,ref:ne,className:Oa(S,se,null==L?void 0:L.toast,null==d||null==(t=d.classNames)?void 0:t.toast,null==L?void 0:L.default,null==L?void 0:L[ie],null==d||null==(r=d.classNames)?void 0:r[ie]),"data-sonner-toast":"","data-rich-colors":null!=(Be=d.richColors)?Be:x,"data-styled":!Boolean(d.jsx||d.unstyled||p),"data-mounted":R,"data-promise":Boolean(d.promise),"data-swiped":W,"data-removed":H,"data-visible":oe,"data-y-position":me,"data-x-position":ge,"data-index":y,"data-front":re,"data-swiping":K,"data-dismissible":ae,"data-type":ie,"data-invert":ve,"data-swipe-out":V,"data-swipe-direction":D,"data-expanded":Boolean(v||U&&R),"data-testid":d.testId,style:{"--index":y,"--toasts-before":y,"--z-index":w.length-y,"--offset":`${H?Y:pe.current}px`,"--initial-height":U?"auto":`${J}px`,...B,...d.style},onDragEnd:()=>{$(!1),T(null),he.current=null},onPointerDown:e=>{2!==e.button&&!be&&ae&&(te.current=new Date,X(pe.current),e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&($(!0),he.current={x:e.clientX,y:e.clientY}))},onPointerUp:()=>{var e,t,n;if(V||!ae)return;he.current=null;const r=Number((null==(e=ne.current)?void 0:e.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),o=Number((null==(t=ne.current)?void 0:t.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),i=(new Date).getTime()-(null==(n=te.current)?void 0:n.getTime()),a="x"===Q?r:o,s=Math.abs(a)/i;if(Math.abs(a)>=45||s>.11)return X(pe.current),null==d.onDismiss||d.onDismiss.call(d,d),O("x"===Q?r>0?"right":"left":o>0?"down":"up"),xe(),void q(!0);var l,c;null==(l=ne.current)||l.style.setProperty("--swipe-amount-x","0px"),null==(c=ne.current)||c.style.setProperty("--swipe-amount-y","0px"),G(!1),$(!1),T(null)},onPointerMove:t=>{var n,r,o;if(!he.current||!ae)return;if((null==(n=window.getSelection())?void 0:n.toString().length)>0)return;const i=t.clientY-he.current.y,a=t.clientX-he.current.x;var s;const l=null!=(s=e.swipeDirections)?s:function(e){const[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}(F);!Q&&(Math.abs(a)>1||Math.abs(i)>1)&&T(Math.abs(a)>Math.abs(i)?"x":"y");let c={x:0,y:0};const A=e=>1/(1.5+Math.abs(e)/20);if("y"===Q){if(l.includes("top")||l.includes("bottom"))if(l.includes("top")&&i<0||l.includes("bottom")&&i>0)c.y=i;else{const e=i*A(i);c.y=Math.abs(e)<Math.abs(i)?e:i}}else if("x"===Q&&(l.includes("left")||l.includes("right")))if(l.includes("left")&&a<0||l.includes("right")&&a>0)c.x=a;else{const e=a*A(a);c.x=Math.abs(e)<Math.abs(a)?e:a}(Math.abs(c.x)>0||Math.abs(c.y)>0)&&G(!0),null==(r=ne.current)||r.style.setProperty("--swipe-amount-x",`${c.x}px`),null==(o=ne.current)||o.style.setProperty("--swipe-amount-y",`${c.y}px`)}},Ae&&!d.jsx&&"loading"!==ie?n.createElement("button",{"aria-label":P,"data-disabled":be,"data-close-button":!0,onClick:be||!ae?()=>{}:()=>{xe(),null==d.onDismiss||d.onDismiss.call(d,d)},className:Oa(null==L?void 0:L.closeButton,null==d||null==(o=d.classNames)?void 0:o.closeButton)},null!=(Ce=null==I?void 0:I.close)?Ce:Na):null,(ie||d.icon||d.promise)&&null!==d.icon&&(null!==(null==I?void 0:I[ie])||d.icon)?n.createElement("div",{"data-icon":"",className:Oa(null==L?void 0:L.icon,null==d||null==(i=d.classNames)?void 0:i.icon)},d.promise||"loading"===d.type&&!d.icon?d.icon||function(){var e,t;return(null==I?void 0:I.loading)?n.createElement("div",{className:Oa(null==L?void 0:L.loader,null==d||null==(t=d.classNames)?void 0:t.loader,"sonner-loader"),"data-visible":"loading"===ie},I.loading):n.createElement(ka,{className:Oa(null==L?void 0:L.loader,null==d||null==(e=d.classNames)?void 0:e.loader),visible:"loading"===ie})}():null,"loading"!==d.type?_e:null):null,n.createElement("div",{"data-content":"",className:Oa(null==L?void 0:L.content,null==d||null==(a=d.classNames)?void 0:a.content)},n.createElement("div",{"data-title":"",className:Oa(null==L?void 0:L.title,null==d||null==(s=d.classNames)?void 0:s.title)},d.jsx?d.jsx:"function"==typeof d.title?d.title():d.title),d.description?n.createElement("div",{"data-description":"",className:Oa(j,le,null==L?void 0:L.description,null==d||null==(l=d.classNames)?void 0:l.description)},"function"==typeof d.description?d.description():d.description):null),n.isValidElement(d.cancel)?d.cancel:d.cancel&&Qa(d.cancel)?n.createElement("button",{"data-button":!0,"data-cancel":!0,style:d.cancelButtonStyle||C,onClick:e=>{Qa(d.cancel)&&ae&&(null==d.cancel.onClick||d.cancel.onClick.call(d.cancel,e),xe())},className:Oa(null==L?void 0:L.cancelButton,null==d||null==(c=d.classNames)?void 0:c.cancelButton)},d.cancel.label):null,n.isValidElement(d.action)?d.action:d.action&&Qa(d.action)?n.createElement("button",{"data-button":!0,"data-action":!0,style:d.actionButtonStyle||k,onClick:e=>{Qa(d.action)&&(null==d.action.onClick||d.action.onClick.call(d.action,e),e.defaultPrevented||xe())},className:Oa(null==L?void 0:L.actionButton,null==d||null==(A=d.classNames)?void 0:A.actionButton)},d.action.label):null)};function Ma(){if("undefined"==typeof window)return"ltr";if("undefined"==typeof document)return"ltr";const e=document.documentElement.getAttribute("dir");return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction}function Ha(e,t){const n={};return[e,t].forEach((e,t)=>{const r=1===t,o=r?"--mobile-offset":"--offset",i=r?"16px":"24px";function a(e){["top","right","bottom","left"].forEach(t=>{n[`${o}-${t}`]="number"==typeof e?`${e}px`:e})}"number"==typeof e||"string"==typeof e?a(e):"object"==typeof e?["top","right","bottom","left"].forEach(t=>{void 0===e[t]?n[`${o}-${t}`]=i:n[`${o}-${t}`]="number"==typeof e[t]?`${e[t]}px`:e[t]}):a(i)}),n}const za=n.forwardRef(function(e,t){const{id:r,invert:o,position:i="bottom-right",hotkey:a=["altKey","KeyT"],expand:s,closeButton:l,className:c,offset:A,mobileOffset:u,theme:d="light",richColors:p,duration:f,style:h,visibleToasts:m=Ta,toastOptions:g,dir:y=Ma(),gap:w=Da,icons:v,containerAriaLabel:b="Notifications"}=e,[x,_]=n.useState([]),B=n.useMemo(()=>r?x.filter(e=>e.toasterId===r):x.filter(e=>!e.toasterId),[x,r]),C=n.useMemo(()=>Array.from(new Set([i].concat(B.filter(e=>e.position).map(e=>e.position)))),[B,i]),[k,S]=n.useState([]),[j,E]=n.useState(!1),[F,N]=n.useState(!1),[U,L]=n.useState("system"!==d?d:"undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
2k":"light"),I=n.useRef(null),P=a.join("+").replace(/Key/g,"").replace(/Digit/g,""),Q=n.useRef(null),T=n.useRef(!1),D=n.useCallback(e=>{_(t=>{var n;return(null==(n=t.find(t=>t.id===e.id))?void 0:n.delete)||La.dismiss(e.id),t.filter(({id:t})=>t!==e.id)})},[]);return n.useEffect(()=>La.subscribe(e=>{e.dismiss?requestAnimationFrame(()=>{_(t=>t.map(t=>t.id===e.id?{...t,delete:!0}:t))}):setTimeout(()=>{qn.flushSync(()=>{_(t=>{const n=t.findIndex(t=>t.id===e.id);return-1!==n?[...t.slice(0,n),{...t[n],...e},...t.slice(n+1)]:[e,...t]})})})}),[x]),n.useEffect(()=>{if("system"!==d)return void L(d);if("system"===d&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?L("dark"):L("light")),"undefined"==typeof window)return;const e=window.matchMedia("(prefers-color-scheme: dark)");try{e.addEventListener("change",({matches:e})=>{L(e?"dark":"light")})}catch(t){e.addListener(({matches:e})=>{try{L(e?"dark":"light")}catch(e){console.error(e)}})}},[d]),n.useEffect(()=>{x.length<=1&&E(!1)},[x]),n.useEffect(()=>{const e=e=>{var t,n;a.every(t=>e[t]||e.code===t)&&(E(!0),null==(n=I.current)||n.focus()),"Escape"!==e.code||document.activeElement!==I.current&&!(null==(t=I.current)?void 0:t.contains(document.activeElement))||E(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[a]),n.useEffect(()=>{if(I.current)return()=>{Q.current&&(Q.current.focus({preventScroll:!0}),Q.current=null,T.current=!1)}},[I.current]),n.createElement("section",{ref:t,"aria-label":`${b} ${P}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},C.map((t,r)=>{var i;const[a,d]=t.split("-");return B.length?n.createElement("ol",{key:t,dir:"auto"===y?Ma():y,tabIndex:-1,ref:I,className:c,"data-sonner-toaster":!0,"data-sonner-theme":U,"data-y-position":a,"data-x-position":d,style:{"--front-toast-height":`${(null==(i=k[0])?void 0:i.height)||0}px`,"--width":"356px","--gap":`${w}px`,...h,...Ha(A,u)},onBlur:e=>{T.current&&!e.currentTarget.contains(e.relatedTarget)&&(T.current=!1,Q.current&&(Q.current.focus({preventScroll:!0}),Q.current=null))},onFocus:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||T.current||(T.current=!0,Q.current=e.relatedTarget)},onMouseEnter:()=>E(!0),onMouseMove:()=>E(!0),onMouseLeave:()=>{F||E(!1)},onDragEnd:()=>E(!1),onPointerDown:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||N(!0)},onPointerUp:()=>N(!1)},B.filter(e=>!e.position&&0===r||e.position===t).map((r,i)=>{var a,c;return n.createElement(Ra,{key:r.id,icons:v,index:i,toast:r,defaultRichColors:p,duration:null!=(a=null==g?void 0:g.duration)?a:f,className:null==g?void 0:g.className,descriptionClassName:null==g?void 0:g.descriptionClassName,invert:o,visibleToasts:m,closeButton:null!=(c=null==g?void 0:g.closeButton)?c:l,interacting:F,position:t,style:null==g?void 0:g.style,unstyled:null==g?void 0:g.unstyled,classNames:null==g?void 0:g.classNames,cancelButtonStyle:null==g?void 0:g.cancelButtonStyle,actionButtonStyle:null==g?void 0:g.actionButtonStyle,closeButtonAriaLabel:null==g?void 0:g.closeButtonAriaLabel,removeToast:D,toasts:B.filter(e=>e.position==r.position),heights:k.filter(e=>e.position==r.position),setHeights:S,expandByDefault:s,gap:w,expanded:j,swipeDirections:e.swipeDirections})})):null}))}),Ka=()=>{const e=fo();return e.isLoading?(0,ga.jsx)(Ba,{}):e.isAuthenticated?(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(za,{position:"bottom-center",richColors:!0,toastOptions:{style:{fontSize:"16px"}}}),(0,ga.jsx)(sn,{})]}):(0,ga.jsx)(an,{to:"/login",replace:!0})},$a=(0,n.createContext)(!1),Va=()=>(0,n.useContext)($a);function qa({value:e,children:t}){return(0,ga.jsx)($a.Provider,{value:e,children:t})}const Wa=({toggleMenu:e})=>{const{t}=Fo(),n=Va(),r=[{name:t("applicationsTitle"),path:"/applications"},{name:t("profileTitle"),path:"/settings"},{name:t("privacySettingsTitle"),path:"/privacy"},{name:t("signOut"),path:"/logout"}];return(0,ga.jsx)("nav",{className:"flex flex-col text-base lg:text-lg font-rubik-medium",children:r.map(t=>(0,ga.jsx)(Tn,{to:n?`/consultant${t.path}`:t.path,end:!1,onClick:()=>e&&e(!1),className:({isActive:e})=>"lg:border-l-12 lg:py-6 p-2 pl-4 lg:px-4 transition-colors\n            hover:bg-gwr-gray\n            "+(e?"lg:bg-gwr-gray lg:border-gwr-light-blue":"lg:border-transparent"),children:t.name}
2,t.name))})},Ga=()=>{const[e,t]=(0,n.useState)(!1);return(0,ga.jsxs)("div",{className:"min-h-screen bg-gwr-gray flex flex-col lg:flex-row relative",children:[(0,ga.jsx)("aside",{className:"hidden lg:flex bg-white text-black w-[30%] max-w-xs flex-col",children:(0,ga.jsx)(Wa,{})}),(0,ga.jsx)("div",{className:"fixed inset-0 z-9999999 lg:hidden transition-opacity duration-300 "+(e?"opacity-100 pointer-events-auto bg-black/30":"opacity-0 pointer-events-none"),onClick:()=>t(!1),children:(0,ga.jsx)("div",{className:"absolute top-0 left-0 w-3/4 max-w-xs h-full bg-white shadow-lg p-4 transform transition-transform duration-300 ease-in-out "+(e?"translate-x-0":"-translate-x-full"),onClick:e=>e.stopPropagation(),children:(0,ga.jsx)(Wa,{toggleMenu:t})})}),(0,ga.jsxs)("main",{className:"flex-1 p-6 lg:p-10 overflow-y-auto",children:[(0,ga.jsxs)("button",{className:"flex lg:hidden items-center mb-4 cursor-pointer",onClick:()=>t(!e),"aria-label":"Toggle menu",children:[(0,ga.jsx)("h2",{className:"font-rubik-medium",children:"Menu"}),(0,ga.jsx)("span",{className:"p-2",children:(0,ga.jsx)("svg",{className:"w-5 h-5 transition-transform duration-200 rotate-270 "+(e?"rotate-180":""),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,ga.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})})]}),(0,ga.jsx)(sn,{})]})]})},Ya=()=>(0,ga.jsx)("main",{className:"min-h-screen bg-cover bg-no-repeat py-9 px-4 lg:p-14",style:{backgroundImage:"url(/images/css/blue-bg-2.png)"},children:(0,ga.jsx)("div",{className:"border-8 border-white/50 max-w-235 mx-auto rounded-lg bg-white/60 p-4 lg:p-14",children:(0,ga.jsx)("div",{className:"bg-white border-2 border-gray-300 rounded-lg p-4 lg:p-14 text-lg",children:(0,ga.jsx)(sn,{})})})});function Xa(e,t){return function(){return e.apply(t,arguments)}}const{toString:Ja}=Object.prototype,{getPrototypeOf:Za}=Object,{iterator:es,toStringTag:ts}=Symbol,ns=(rs=Object.create(null),e=>{const t=Ja.call(e);return rs[t]||(rs[t]=t.slice(8,-1).toLowerCase())});var rs;const os=e=>(e=e.toLowerCase(),t=>ns(t)===e),is=e=>t=>typeof t===e,{isArray:as}=Array,ss=is("undefined");function ls(e){return null!==e&&!ss(e)&&null!==e.constructor&&!ss(e.constructor)&&us(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const cs=os("ArrayBuffer"),As=is("string"),us=is("function"),ds=is("number"),ps=e=>null!==e&&"object"==typeof e,fs=e=>{if("object"!==ns(e))return!1;const t=Za(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||ts in e||es in e)},hs=os("Date"),ms=os("File"),gs=os("Blob"),ys=os("FileList"),ws=os("URLSearchParams"),[vs,bs,xs,_s]=["ReadableStream","Request","Response","Headers"].map(os);function Bs(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),as(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(ls(e))return;const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function Cs(e,t){if(ls(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const ks="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:a.g,Ss=e=>!ss(e)&&e!==ks,js=(Es="undefined"!=typeof Uint8Array&&Za(Uint8Array),e=>Es&&e instanceof Es);var Es;const Fs=os("HTMLFormElement"),Ns=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Us=os("RegExp"),Ls=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Bs(n,(n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)}),Object.defineProperties(e,r)},Is=os("AsyncFunction"),Ps=(Qs="function"==typeof setImmediate,Ts=us(ks.postMessage),Qs?setImmediate:Ts?((e,t)=>(ks.addEventListener("message",({source:n,data:r})=>{n===ks&&r===e&&t.length&&t.shift()()},!1),n=>{t.push(n),ks.postMessage(e,"*")}))(`axios@${Math.random()}`,[]):e=>setTimeout(e));var Qs,Ts;const Ds="undefined"!=typeof queueMicrotask?queueMicrotask.bind(ks):"undefined"!=typeof process&&process.nextTick||Ps,Os={isArray:as,isArrayBuffer:cs,isBuffer:ls,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||us(e.append)&&("formdata"===(t=ns(e))||"object"===t&&us(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&cs(e.buffer),t},isString:As,isNumber:ds,isBoolean:e=>!0===e||!1===e,isObject:ps,isPlainObject:fs,isEmptyObject:e=>{if(!ps(e)||ls(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:vs,isRequest:bs,isResponse:xs,isHeaders:_s,isUndefined:ss,isDate:hs,isFile:ms,isBlob:gs,isRegExp:Us,isFunction:us,isStream:e=>ps(e)&&us(e.pipe),isURLSearchParams:ws,isTypedArray:js,isFileList:ys,forEach:Bs,merge:function e(){const{caseless:t,skipUndefined:n}=Ss(this)&&this||{},r={},o=(o,i)=>{const a=t&&Cs(r,i)||i;fs(r[a])&&fs(o)?r[a]=e(r[a],o):fs(o)?r[a]=e({}
vendor: 30,623 bytes, line 2
2,o):as(o)?r[a]=o.slice():n&&ss(o)||(r[a]=o)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&Bs(arguments[e],o);return r},extend:(e,t,n,{allOwnKeys:r}={})=>(Bs(t,(t,r)=>{n&&us(t)?e[r]=Xa(t,n):e[r]=t},{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,a;const s={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],r&&!r(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&Za(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:ns,kindOfTest:os,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(as(e))return e;let t=e.length;if(!ds(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[es]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:Fs,hasOwnProperty:Ns,hasOwnProp:Ns,reduceDescriptors:Ls,freezeMethods:e=>{Ls(e,(t,n)=>{if(us(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];us(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach(e=>{n[e]=!0})};return as(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:Cs,global:ks,isContextDefined:Ss,isSpecCompliantForm:function(e){return!!(e&&us(e.append)&&"FormData"===e[ts]&&e[es])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(ps(e)){if(t.indexOf(e)>=0)return;if(ls(e))return e;if(!("toJSON"in e)){t[r]=e;const o=as(e)?[]:{};return Bs(e,(e,t)=>{const i=n(e,r+1);!ss(i)&&(o[t]=i)}),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:Is,isThenable:e=>e&&(ps(e)||us(e))&&us(e.then)&&us(e.catch),setImmediate:Ps,asap:Ds,isIterable:e=>null!=e&&us(e[es])};function Rs(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}Os.inherits(Rs,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Os.toJSONObject(this.config),code:this.code,status:this.status}}});const Ms=Rs.prototype,Hs={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Hs[e]={value:e}}),Object.defineProperties(Rs,Hs),Object.defineProperty(Ms,"isAxiosError",{value:!0}),Rs.from=(e,t,n,r,o,i)=>{const a=Object.create(Ms);Os.toFlatObject(e,a,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e);const s=e&&e.message?e.message:"Error",l=null==t&&e?e.code:t;return Rs.call(a,s,l,n,r,o),e&&null==a.cause&&Object.defineProperty(a,"cause",{value:e,configurable:!0}),a.name=e&&e.name||"Error",i&&Object.assign(a,i),a};const zs=Rs;function Ks(e){return Os.isPlainObject(e)||Os.isArray(e)}function $s(e){return Os.endsWith(e,"[]")?e.slice(0,-2):e}function Vs(e,t,n){return e?e.concat(t).map(function(e,t){return e=$s(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}const qs=Os.toFlatObject(Os,{},null,function(e){return/^is[A-Z]/.test(e)}),Ws=function(e,t,n){if(!Os.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=Os.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!Os.isUndefined(t[e])})).metaTokens,o=n.visitor||c,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&Os.isSpecCompliantForm(t);if(!Os.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(Os.isDate(e))return e.toISOString();if(Os.isBoolean(e))return e.toString();if(!s&&Os.isBlob(e))throw new zs("Blob is not supported. Use a Buffer instead.");return Os.isArrayBuffer(e)||Os.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,o){let s=e;if(e&&!o&&"object"==typeof e)if(Os.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(Os.isArray(e)&&function(e){return Os.isArray(e)&&!e.some(Ks)}(e)||(Os.isFileList(e)||Os.endsWith(n,"[]"))&&(s=Os.toArray(e)))return n=$s(n),s.forEach(function(e,r){!Os.isUndefined(e)&&null!==e&&t.append(!0===a?Vs([n],r,i):null===a?n:n+"[]",l(e))}),!1;return!!Ks(e)||(t.append(Vs(o,n,i),l(e)),!1)}const A=[],u=Object.assign(qs,{defaultVisitor:c,convertValue:l,isVisitable:Ks});if(!Os.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!Os.isUndefined(n)){if(-1!==A.indexOf(n))throw Error("Circular reference detected in "+r.join("."));A.push(n),Os.forEach(n,function(n,i){!0===(!(Os.isUndefined(n)||null===n)&&o.call(t,n,Os.isString(i)?i.trim():i,r,u))&&e(n,r?r.concat(i):[i])}),A.pop()}}(e),t};function Gs(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function Ys(e,t){this._pairs=[],e&&Ws(e,this,t)}const Xs=Ys.prototype;Xs.append=function(e,t){this._pairs.push([e,t])},Xs.toString=function(e){const t=e?function(t){return e.call(this,t,Gs)}:Gs;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};const Js=Ys;function Zs(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function el(e,t,n){if(!t)return e;const r=n&&n.encode||Zs;Os.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(i=o?o(t,n):Os.isURLSearchParams(t)?t.toString():new Js(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}const tl=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Os.forEach(this.handlers,function(t){null!==t&&e(t)})}},nl={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},rl={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Js,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},ol="undefined"!=typeof window&&"undefined"!=typeof document,il="object"==typeof navigator&&navigator||void 0,al=ol&&(!il||["ReactNative","NativeScript","NS"].indexOf(il.product)<0),sl="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,ll=ol&&window.location.href||"http://localhost",cl={...e,...rl},Al=function(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=e.length;return i=!i&&Os.isArray(r)?r.length:i,s?(Os.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a):(r[i]&&Os.isObject(r[i])||(r[i]=[]),t(e,n,r[i],o)&&Os.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!a)}if(Os.isFormData(e)&&Os.isFunction(e.entries)){const n={};return Os.forEachEntry(e,(e,r)=>{t(function(e){return Os.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),r,n,0)}),n}return null},ul={transitional:nl,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=Os.isObject(e);if(o&&Os.isHTMLForm(e)&&(e=new FormData(e)),Os.isFormData(e))return r?JSON.stringify(Al(e)):e;if(Os.isArrayBuffer(e)||Os.isBuffer(e)||Os.isStream(e)||Os.isFile(e)||Os.isBlob(e)||Os.isReadableStream(e))return e;if(Os.isArrayBufferView(e))return e.buffer;if(Os.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Ws(e,new cl.classes.URLSearchParams,{visitor:function(e,t,n,r){return cl.isNode&&Os.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((i=Os.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Ws(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e){if(Os.isString(e))try{return(0,JSON.parse)(e),Os.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||ul.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(Os.isResponse(e)||Os.isReadableStream(e))return e;if(e&&Os.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e,this.parseReviver)}catch(e){if(n){if("SyntaxError"===e.name)throw zs.from(e,zs.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:cl.classes.FormData,Blob:cl.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Os.forEach(["delete","get","head","post","put","patch"],e=>{ul.headers[e]={}});const dl=ul,pl=Os.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),fl=Symbol("internals");function hl(e){return e&&String(e).trim().toLowerCase()}function ml(e){return!1===e||null==e?e:Os.isArray(e)?e.map(ml):String(e)}function gl(e,t,n,r,o){return Os.isFunction(r)?r.call(this,t,n):(o&&(t=n),Os.isString(t)?Os.isString(r)?-1!==t.indexOf(r):Os.isRegExp(r)?r.test(t):void 0:void 0)}class yl{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=hl(t);if(!o)throw new Error("header name must be a non-empty string");const i=Os.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=ml(e))}const i=(e,t)=>Os.forEach(e,(e,n)=>o(e,n,t));if(Os.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(Os.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach(function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&pl[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t})(e),t);else if(Os.isObject(e)&&Os.isIterable(e)){let n,r,o={};for(const t of e){if(!Os.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[r=t[0]]=(n=o[r])?Os.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}i(o,t)}else null!=e&&o(t,e,n);return this}get(e,t){if(e=hl(e)){const n=Os.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(Os.isFunction(t))return t.call(this,e,n);if(Os.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=hl(e)){const n=Os.findKey(this,e);return!(!n||void 0===this[n]||t&&!gl(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=hl(e)){const o=Os.findKey(n,e);!o||t&&!gl(0,n[o],o,t)||(delete n[o],r=!0)}}return Os.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!gl(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return Os.forEach(this,(r,o)=>{const i=Os.findKey(n,o);if(i)return t[i]=ml(r),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}(o):String(o).trim();a!==o&&delete t[o],t[a]=ml(r),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Os.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&Os.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){const t=(this[fl]=this[fl]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=hl(e);t[r]||(function(e,t){const n=Os.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})})}(n,e),t[r]=!0)}return Os.isArray(e)?e.forEach(r):r(e),this}}yl.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Os.reduceDescriptors(yl.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),Os.freezeMethods(yl);const wl=yl;function vl(e,t){const n=this||dl,r=t||n,o=wl.from(r.headers);let i=r.data;return Os.forEach(e,function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function bl(e){return!(!e||!e.__CANCEL__)}function xl(e,t,n){zs.call(this,null==e?"canceled":e,zs.ERR_CANCELED,t,n),this.name="CanceledError"}Os.inherits(xl,zs,{__CANCEL__:!0});const _l=xl;function Bl(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new zs("Request failed with status code "+n.status,[zs.ERR_BAD_REQUEST,zs.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}const Cl=(e,t,n=3)=>{let r=0;const o=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=r[a];o||(o=l),n[i]=s,r[i]=l;let A=a,u=0;for(;A!==i;)u+=n[A++],A%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),l-o<t)return;const d=c&&l-c;return d?Math.round(1e3*u/d):void 0}}(50,250);return function(e,t){let n,r,o=0,i=1e3/t;const a=(t,i=Date.now())=>{o=i,n=null,r&&(clearTimeout(r),r=null),e(...t)};return[(...e)=>{const t=Date.now(),s=t-o;s>=i?a(e,t):(n=e,r||(r=setTimeout(()=>{r=null,a(n)},i-s)))},()=>n&&a(n)]}(n=>{const i=n.loaded,a=n.lengthComputable?n.total:void 0,s=i-r,l=o(s);r=i,e({loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&i<=a?(a-i)/l:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})},n)},kl=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Sl=e=>(...t)=>Os.asap(()=>e(...t)),jl=cl.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,cl.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(cl.origin),cl.navigator&&/(msie|trident)/i.test(cl.navigator.userAgent)):()=>!0,El=cl.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const a=[e+"="+encodeURIComponent(t)];Os.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Os.isString(r)&&a.push("path="+r),Os.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Fl(e,t,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(r||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Nl=e=>e instanceof wl?{...e}:e;function Ul(e,t){t=t||{};const n={};function r(e,t,n,r){return Os.isPlainObject(e)&&Os.isPlainObject(t)?Os.merge.call({caseless:r},e,t):Os.isPlainObject(t)?Os.merge({},t):Os.isArray(t)?t.slice():t}function o(e,t,n,o){return Os.isUndefined(t)?Os.isUndefined(e)?void 0:r(void 0,e,0,o):r(e,t,0,o)}function i(e,t){if(!Os.isUndefined(t))return r(void 0,t)}function a(e,t){return Os.isUndefined(t)?Os.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t,n)=>o(Nl(e),Nl(t),0,!0)};return Os.forEach(Object.keys({...e,...t}),function(r){const i=l[r]||o,a=i(e[r],t[r],r);Os.isUndefined(a)&&i!==s||(n[r]=a)}),n}const Ll=e=>{const t=Ul({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:s}=t;if(t.headers=a=wl.from(a),t.url=el(Fl(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),Os.isFormData(n))if(cl.hasStandardBrowserEnv||cl.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(Os.isFunction(n.getHeaders)){const e=n.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(([e,n])=>{t.includes(e.toLowerCase())&&a.set(e,n)})}if(cl.hasStandardBrowserEnv&&(r&&Os.isFunction(r)&&(r=r(t)),r||!1!==r&&jl(t.url))){const e=o&&i&&El.read(i);e&&a.set(o,e)}return t},Il="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){const r=Ll(e);let o=r.data;const i=wl.from(r.headers).normalize();let a,s,l,c,A,{responseType:u,onUploadProgress:d,onDownloadProgress:p}=r;function f(){c&&c(),A&&A(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let h=new XMLHttpRequest;function m(){if(!h)return;const r=wl.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders());Bl(function(e){t(e),f()},function(e){n(e),f()},{data:u&&"text"!==u&&"json"!==u?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:r,config:e,request:h}),h=null}h.open(r.method.toUpperCase(),r.url,!0),h.timeout=r.timeout,"onloadend"in h?h.onloadend=m:h.onreadystatechange=function(){h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))&&setTimeout(m)},h.onabort=function(){h&&(n(new zs("Request aborted",zs.ECONNABORTED,e,h)),h=null)},h.onerror=function(t){const r=t&&t.message?t.message:"Network Error",o=new zs(r,zs.ERR_NETWORK,e,h);o.event=t||null,n(o),h=null},h.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||nl;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new zs(t,o.clarifyTimeoutError?zs.ETIMEDOUT:zs.ECONNABORTED,e,h)),h=null},void 0===o&&i.setContentType(null),"setRequestHeader"in h&&Os.forEach(i.toJSON(),function(e,t){h.setRequestHeader(t,e)}),Os.isUndefined(r.withCredentials)||(h.withCredentials=!!r.withCredentials),u&&"json"!==u&&(h.responseType=r.responseType),p&&([l,A]=Cl(p,!0),h.addEventListener("progress",l)),d&&h.upload&&([s,c]=Cl(d),h.upload.addEventListener("progress",s),h.upload.addEventListener("loadend",c)),(r.cancelToken||r.signal)&&(a=t=>{h&&(n(!t||t.type?new _l(null,e,h):t),h.abort(),h=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const g=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);g&&-1===cl.protocols.indexOf(g)?n(new zs("Unsupported protocol "+g+":",zs.ERR_BAD_REQUEST,e)):h.send(o||null)})},Pl=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const o=function(e){if(!n){n=!0,a();const t=e instanceof Error?e:this.reason;r.abort(t instanceof zs?t:new _l(t instanceof Error?t.message:t))}};let i=t&&setTimeout(()=>{i=null,o(new zs(`timeout ${t} of ms exceeded`,zs.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>e.addEventListener("abort",o));const{signal:s}=r;return s.unsubscribe=()=>Os.asap(a),s}},Ql=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,o=0;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},Tl=(e,t,n,r)=>{const o=async function*(e,t){for await(const n of async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}}(e))yield*Ql(n,t)}(e,t);let i,a=0,s=e=>{i||(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return s(),void e.close();let i=r.byteLength;if(n){let e=a+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel:e=>(s(e),o.return())},{highWaterMark:2})},{isFunction:Dl}=Os,Ol=(({Request:e,Response:t})=>({Request:e,Response:t}))(Os.global),{ReadableStream:Rl,TextEncoder:Ml}=Os.global,Hl=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},zl=e=>{e=Os.merge.call({skipUndefined:!0},Ol,e);const{fetch:t,Request:n,Response:r}=e,o=t?Dl(t):"function"==typeof fetch,i=Dl(n),a=Dl(r);if(!o)return!1;const s=o&&Dl(Rl),l=o&&("function"==typeof Ml?(c=new Ml,e=>c.encode(e)):async e=>new Uint8Array(await new n(e).arrayBuffer()));var c;const A=i&&s&&Hl(()=>{let e=!1;const t=new n(cl.origin,{body:new Rl,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),u=a&&s&&Hl(()=>Os.isReadableStream(new r("").body)),d={stream:u&&(e=>e.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!d[e]&&(d[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new zs(`Response type '${e}' is not supported`,zs.ERR_NOT_SUPPORT,n)})});return async e=>{let{url:o,method:a,data:s,signal:c,cancelToken:p,timeout:f,onDownloadProgress:h,onUploadProgress:m,responseType:g,headers:y,withCredentials:w="same-origin",fetchOptions:v}=Ll(e),b=t||fetch;g=g?(g+"").toLowerCase():"text";let x=Pl([c,p&&p.toAbortSignal()],f),_=null;const B=x&&x.unsubscribe&&(()=>{x.unsubscribe()});let C;try{if(m&&A&&"get"!==a&&"head"!==a&&0!==(C=await(async(e,t)=>{const r=Os.toFiniteNumber(e.getContentLength());return null==r?(async e=>{if(null==e)return 0;if(Os.isBlob(e))return e.size;if(Os.isSpecCompliantForm(e)){const t=new n(cl.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return Os.isArrayBufferView(e)||Os.isArrayBuffer(e)?e.byteLength:(Os.isURLSearchParams(e)&&(e+=""),Os.isString(e)?(await l(e)).byteLength:void 0)})(t):r})(y,s))){let e,t=new n(o,{method:"POST",body:s,duplex:"half"});if(Os.isFormData(s)&&(e=t.headers.get("content-type"))&&y.setContentType(e),t.body){const[e,n]=kl(C,Cl(Sl(m)));s=Tl(t.body,65536,e,n)}}Os.isString(w)||(w=w?"include":"omit");const t=i&&"credentials"in n.prototype,c={...v,signal:x,method:a.toUpperCase(),headers:y.normalize().toJSON(),body:s,duplex:"half",credentials:t?w:void 0};_=i&&new n(o,c);let p=await(i?b(_,v):b(o,c));const f=u&&("stream"===g||"response"===g);if(u&&(h||f&&B)){const e={};["status","statusText","headers"].forEach(t=>{e[t]=p[t]});const t=Os.toFiniteNumber(p.headers.get("content-length")),[n,o]=h&&kl(t,Cl(Sl(h),!0))||[];p=new r(Tl(p.body,65536,n,()=>{o&&o(),B&&B()}),e)}g=g||"text";let k=await d[Os.findKey(d,g)||"text"](p,e);return!f&&B&&B(),await new Promise((t,n)=>{Bl(t,n,{data:k,headers:wl.from(p.headers),status:p.status,statusText:p.statusText,config:e,request:_})})}catch(t){if(B&&B(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new zs("Network Error",zs.ERR_NETWORK,e,_),{cause:t.cause||t});throw zs.from(t,t&&t.code,e,_)}}},Kl=new Map,$l=e=>{let t=e?e.env:{};const{fetch:n,Request:r,Response:o}=t,i=[r,o,n];let a,s,l=i.length,c=Kl;for(;l--;)a=i[l],s=c.get(a),void 0===s&&c.set(a,s=l?new Map:zl(t)),c=s;return s},Vl=($l(),{http:null,xhr:Il,fetch:{get:$l}});Os.forEach(Vl,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});const ql=e=>`- ${e}`,Wl=e=>Os.isFunction(e)||null===e||!1===e,Gl=(e,t)=>{e=Os.isArray(e)?e:[e];const{length:n}=e;let r,o;const i={};for(let a=0;a<n;a++){let n;if(r=e[a],o=r,!Wl(r)&&(o=Vl[(n=String(r)).toLowerCase()],void 0===o))throw new zs(`Unknown adapter '${n}'`);if(o&&(Os.isFunction(o)||(o=o.get(t))))break;i[n||"#"+a]=o}if(!o){const e=Object.entries(i).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));let t=n?e.length>1?"since :\n"+e.map(ql).join("\n"):" "+ql(e[0]):"as no adapter specified";throw new zs("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return o};function Yl(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new _l(null,e)}function Xl(e){return Yl(e),e.headers=wl.from(e.headers),e.data=vl.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Gl(e.adapter||dl.adapter,e)(e).then(function(t){return Yl(e),t.data=vl.call(e,e.transformResponse,t),t.headers=wl.from(t.headers),t},function(t){return bl(t)||(Yl(e),t&&t.response&&(t.response.data=vl.call(e,e.transformResponse,t.response),t.response.headers=wl.from(t.response.headers))),Promise.reject(t)})}const Jl="1.12.2",Zl={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Zl[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const ec={};Zl.transitional=function(e,t,n){function r(e,t){return"[Axios v"+Jl+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new zs(r(o," has been removed"+(t?" in "+t:"")),zs.ERR_DEPRECATED);return t&&!ec[o]&&(ec[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}},Zl.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};const tc={assertOptions:function(e,t,n){if("object"!=typeof e)throw new zs("options must be an object",zs.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new zs("option "+i+" must be "+n,zs.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new zs("Unknown option "+i,zs.ERR_BAD_OPTION)}},validators:Zl},nc=tc.validators;class rc{constructor(e){this.defaults=e||{},this.interceptors={request:new tl,response:new tl}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Ul(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&tc.assertOptions(n,{silentJSONParsing:nc.transitional(nc.boolean),forcedJSONParsing:nc.transitional(nc.boolean),clarifyTimeoutError:nc.transitional(nc.boolean)},!1),null!=r&&(Os.isFunction(r)?t.paramsSerializer={serialize:r}:tc.assertOptions(r,{encode:nc.function,serialize:nc.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),tc.assertOptions(t,{baseUrl:nc.spelling("baseURL"),withXsrfToken:nc.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&Os.merge(o.common,o[t.method]);o&&Os.forEach(["delete","get","head","post","put","patch","common"],e=>{delete o[e]}),t.headers=wl.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))});const l=[];let c;this.interceptors.response.forEach(function(e){l.push(e.fulfilled,e.rejected)});let A,u=0;if(!s){const e=[Xl.bind(this),void 0];for(e.unshift(...a),e.push(...l),A=e.length,c=Promise.resolve(t);u<A;)c=c.then(e[u++],e[u++]);return c}A=a.length;let d=t;for(;u<A;){const e=a[u++],t=a[u++];try{d=e(d)}catch(e){t.call(this,e);break}}try{c=Xl.call(this,d)}catch(e){return Promise.reject(e)}for(u=0,A=l.length;u<A;)c=c.then(l[u++],l[u++]);return c}getUri(e){return el(Fl((e=Ul(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}Os.forEach(["delete","get","head","options"],function(e){rc.prototype[e]=function(t,n){return this.request(Ul(n||{},{method:e,url:t,data:(n||{}).data}))}}),Os.forEach(["post","put","patch"],function(e){function t(t){return function(n,r,o){return this.request(Ul(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}rc.prototype[e]=t(),rc.prototype[e+"Form"]=t(!0)});const oc=rc;class ic{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});const n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;const r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,o){n.reason||(n.reason=new _l(e,r,o),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new ic(function(t){e=t}),cancel:e}}}const ac=ic,sc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
2alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(sc).forEach(([e,t])=>{sc[t]=e});const lc=sc,cc=function e(t){const n=new oc(t),r=Xa(oc.prototype.request,n);return Os.extend(r,oc.prototype,n,{allOwnKeys:!0}),Os.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Ul(t,n))},r}(dl);cc.Axios=oc,cc.CanceledError=_l,cc.CancelToken=ac,cc.isCancel=bl,cc.VERSION=Jl,cc.toFormData=Ws,cc.AxiosError=zs,cc.Cancel=cc.CanceledError,cc.all=function(e){return Promise.all(e)},cc.spread=function(e){return function(t){return e.apply(null,t)}},cc.isAxiosError=function(e){return Os.isObject(e)&&!0===e.isAxiosError},cc.mergeConfig=Ul,cc.AxiosHeaders=wl,cc.formToJSON=e=>Al(Os.isHTMLForm(e)?new FormData(e):e),cc.getAdapter=Gl,cc.HttpStatusCode=lc,cc.default=cc;const Ac=cc,uc=async e=>{try{return(await Ac.get(e)).data}catch(e){throw console.log(e),e}},dc="/account-content",pc={CONSENTS:`${dc}/arra-page-2.json`,SENSITIVE_CONSENT:`${dc}/sensitive-consents.json`,MARKETING_CONSENTS_B2C:`${dc}/marketing-consents.json`,MARKETING_CONSENTS_B2B:`${dc}/marketing-consents-b2b.json`,PRIVACY_SETTING_INTRO:`${dc}/privacy-settings-intro.json`,GUIDELINES_ASIDE_CONTENT:`${dc}/guide-to-evidence-aside.json`,GUIDELINES_ASIDE_TERMS:`${dc}/legal-notice.json`},fc=pc.GUIDELINES_ASIDE_CONTENT,hc=pc.GUIDELINES_ASIDE_TERMS,mc="/account-content",gc=`${mc}/complete-evidence-upload.json`,yc=`${mc}/incomplete-evidence-upload.json`,wc="/account-content",vc=`${wc}/dashboard-list-footer.json`,bc=`${wc}/login-update-message.json`,xc=`${wc}/deactivate-account.json`,_c=`${wc}/thank-you.json`,Bc=()=>{const e=document.documentElement?.getAttribute("lang");return["en","de","es","ja","pt-BR","zh-CN"].find(t=>e?.startsWith(t))||"en"};function Cc(){const e=fo(),t="true"===sessionStorage.getItem("logout"),{t:r}=Fo(),[o,i]=(0,n.useState)(null),a={extraQueryParams:{lang:Bc()}};return(0,n.useEffect)(()=>{(async()=>{try{const e=await uc(bc);i(e)}catch(e){console.error("Failed to load login update message:",e)}})()},[]),(0,n.useEffect)(()=>{!e||e.isLoading||e.isAuthenticated||e.error||e.signinRedirect(a)},[e]),(e?.isLoading||t)&&sessionStorage.removeItem("logout"),(0,ga.jsx)(Ba,{children:e?.error?(0,ga.jsxs)("p",{className:"text-red-600",children:[r("error"),": ",e.error.message]}):(0,ga.jsx)(ga.Fragment,{children:(0,ga.jsx)("img",{src:"/images/og_image.jpg",alt:"Guinness World Records Logo",className:"aspect-square h-28  animate-pulse"})})})}function kc(){const e=Nt();return(0,n.useEffect)(()=>{e("/applications")},[]),(0,ga.jsx)("div",{children:"."})}function Sc(){const e=fo(),{t}=Fo();return(0,n.useEffect)(()=>{!e||e.isLoading||e.isAuthenticated||e.error||e.signinRedirect({prompt:"login"})},[e]),e?.isAuthenticated?(0,ga.jsx)(an,{to:"/consultant",replace:!0}):e?.isLoading?(0,ga.jsx)(Ba,{}):(0,ga.jsx)(Ba,{children:e?.error?(0,ga.jsxs)("p",{className:"text-red-600",children:[t("error"),": ",e.error.message]}):(0,ga.jsx)(xa,{onClick:()=>e.signinRedirect({prompt:"login"}),children:t("Login")})})}const jc=({title:e})=>(0,ga.jsx)("header",{children:(0,ga.jsx)("h1",{className:"text-3xl sm:text-[40px] mb-6 sm:mb-10 font-rubik-medium",children:e})});function Ec(){return bi.language||"en-GB"}function Fc(e){const t=new Date(e);return isNaN(t.getTime())?"":new Intl.DateTimeFormat(Ec(),{dateStyle:"short"}).format(t)}function Nc(e){const t=new Date(e);return isNaN(t.getTime())?"":new Intl.DateTimeFormat(Ec(),{dateStyle:"short",timeStyle:"short"}).format(t)}function Uc(e){if(!e)return"statusIncomplete";switch(e.toLowerCase()){case"new":return"statusNew";
2case"pending":case"pending approval":case"pending guidelines being sent":return"statusPending";case"pending evidence":return"statusPendingEvidence";case"pending evidence review":return"statusPendingEvidenceReview";case"pending further evidence":return"statusPendingFurtherEvidence";case"requested further evidence":return"statusRequestedFurtherEvidence";case"requested further information":return"statusRequestedFurtherInformation";case"pending additional evidence review":return"statusPendingAdditionalEvidenceReview";case"awaiting consent":return"noApplicationsMessage";case"awaiting specific consent":return"statusAwaitingSpecificConsent";case"cancelled":return"statusCancelled";case"disqualified":return"statusDisqualified";case"awaitingpayment":return"statusAwaiting_Payment";case"rejected":return"statusRejected";case"expired":return"statusExpired";case"unsubmitted":case"incomplete":default:return"statusIncomplete";case"broken":return"statusBroken";case"current record holder":return"statusCurrentRecordHolder";case"completed failed application":return"completedFailedApplication";case"embargoed":return"statusEmbargoed";case"awaiting final approval - broken":return"statusAwaitingFinalApprovalBroken";case"awaiting final approval":return"statusAwaitingFinalApproval";case"on hold":return"statusOnHold";case"awaiting final approval embargoed":return"statusAwaitingFinalApprovalEmbargoed"}}function Lc(e){const t=e.toLowerCase();return t.includes("pending")?"text-gwr-gold":["expired","incomplete","cancelled"].includes(t)?"text-red-800":"current record holder"===t?"text-green-700":void 0}const Ic=({application:e})=>{const{t}=Fo(),n=Va(),r=e.UnsubmittedApplicationId?e.UnsubmittedApplicationId:e.Id;return(0,ga.jsx)(Qn,{to:n?`/consultant/applications/${r}`:`/applications/${r}`,state:e.UnreadCorrespondence?{hasUnreadCorrespondence:!0}:{},"aria-label":`View details for ${e.Title}`,children:(0,ga.jsxs)("article",{className:"p-6 sm:p-9 hover:bg-gwr-gray cursor-pointer grid grid-cols-5 gap-4 border-b border-gwr-gray",children:[(0,ga.jsx)("div",{className:"col-span-5 sm:col-span-3",children:(0,ga.jsxs)("div",{className:"flex items-center gap-2",children:[e.UnreadCorrespondence&&(0,ga.jsx)("div",{className:"px-2 py-1 text-xs font-rubik-medium rounded-full aspect-square flex items-center bg-yellow-500/20",children:(0,ga.jsx)(Pc,{})}),(0,ga.jsxs)("div",{children:[(0,ga.jsx)("h3",{className:"font-rubik-medium mb-1",children:e.Title}),(0,ga.jsx)("p",{className:"text-xs text-gray-400",children:e.Reference})]})]})}),(0,ga.jsxs)("div",{className:"col-span-2 sm:col-span-1",children:[(0,ga.jsx)("p",{className:" mb-1 text-sm sm:text-base",children:t("status")}),(0,ga.jsx)("p",{className:`text-xs uppercase font-rubik-medium ${Lc(e.Completed?"Pending":e.Status)}`,children:n?t(e.Status):e.Completed?t("PendingGuidelinesBeingSent"):t(Uc(e.Status))})]}),(0,ga.jsxs)("div",{className:"col-span-3 sm:col-span-1 text-right sm:text-left",children:[(0,ga.jsx)("p",{className:"col-span-2 sm:col-span-1 mb-1 text-sm sm:text-base",children:t("created")}),(0,ga.jsx)("p",{className:"text-xs font-rubik-medium",children:Fc(e.CreatedDate)})]})]},e.Id)})},Pc=()=>(0,ga.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",viewBox:"0 0 24 24",fill:"none",children:[(0,ga.jsx)("path",{d:"M3 17.5V6.5C3 5.94772 3.44772 5.5 4 5.5H12H20C20.5523 5.5 21 5.94772 21 6.5V17.5C21 18.0523 20.5523 18.5 20 18.5H4C3.44772 18.5 3 18.0523 3 17.5Z",stroke:"#000000",strokeLinejoin:"round"}),(0,ga.jsx)("path",{d:"M3 6L12 12L21 6",stroke:"#000000",strokeLinejoin:"round"})]}),Qc=Gi.client.baseUrl,Tc=Ac.create({baseURL:Qc,headers:{"Content-Type":"application/json"}}),Dc=async(e,t,n="z",r={})=>{const o=`/keywords/${e}/${t}`,i={filtercode:n};try{return await Tc.get(o,{params:i,headers:r})}catch(e){throw console.error("Error getting keywords:",e),e}},Oc=e=>e?"/cognito-consultants":"/cognitolabs",Rc=e=>e?"/cognito-consultants":"/cognitolabs",Mc=e=>{const t=fo(),n={Authorization:t?.user?.id_token||""};return t?.user?.id_token&&(n.token=t.user.id_token),e&&(n.locale=e),n},Hc=e=>e?"/cognito-consultants":"/cognitolabs",zc=async(e,t,n,r)=>{try{const o=r?`${Hc(t)}/applications/evidence?${r}`:`${Hc(t)}/applications/evidence`;return(await Tc.post(o,n,{headers:e})).data}catch(e){throw new Error(`Error submitting evidence: ${e.message}`)}},Kc=async(e,t,n)=>{try{return(await Tc.get(`${Hc(n)}/applications/evidence/urls`,{headers:e,params:t})).data}catch(e){throw new Error(`Error getting pre-signed URL's: ${e.message}`)}},$c=async(e,t,n)=>{try{return(await Tc.post(`${Hc(n)}/applications/evidence/${t}/submit`,null,{headers:e})).data}catch(e){throw new Error(`Error getting pre-signed URL's: ${e.message}`)}},Vc=async(e,t,n)=>{try{return await Tc.put(`cognito-consultants/applications/${n}`,t,{headers:e})}catch(e){throw console.error("Error creating consultant application data:",e),e}},qc=async({headers:e,data:t})=>{try{return await Tc.post("/cognitolabs/privacy",t,{headers:e})}catch(e){throw new Error("Failed to post application privacy data")}},Wc=({title:e})=>(0,ga.jsx)("div",{className:"bg-gwr-light-blue text-white text-2xl sm:text-3xl px-5 py-4 font-rubik-medium",children:(0,ga.jsx)("h2",{children:e})}),Gc=()=>(0,ga.jsxs)("svg",{height:"12",width:"12",version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 185.343 185.343",xmlSpace:"preserve",fill:"inherit",children:[(0,ga.jsx)("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),(0,ga.jsx)("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),(0,ga.jsxs)("g",{id:"SVGRepo_iconCarrier",children:[" ",(0,ga.jsxs)("g",{children:[" ",(0,ga.jsxs)("g",{children:[" ",(0,ga.jsx)("path",{style:{fill:"currentColor"},d:"M51.707,185.343c-2.741,0-5.493-1.044-7.593-3.149c-4.194-4.194-4.194-10.981,0-15.175 l74.352-74.347L44.114,18.32c-4.194-4.194-4.194-10.987,0-15.175c4.194-4.194,10.987-4.194,15.18,0l81.934,81.934 c4.194,4.194,4.194,10.987,0,15.175l-81.934,81.939C57.201,184.293,54.454,185.343,51.707,185.343z"})," "]})," "]})," "]})]}),Yc=({totalPages:e,currentPage:t,setCurrentPage:n})=>{const r="flex items-center justify-center border border-gray-400 rounded w-8 h-8 text-sm text-gray-400 hover:bg-gray-100 disabled:border-gray-200 disabled:text-gray-200 disabled:hover:bg-transparent disabled:cursor-default",o=(()=>
2{if(e<=4)return Array.from({length:e},(e,t)=>t+1);const n=Math.max(1,Math.min(t-1,e-3)),r=Math.min(n+3,e);return Array.from({length:r-n+1},(e,t)=>n+t)})();return(0,ga.jsxs)("div",{className:"flex justify-center gap-3",children:[(0,ga.jsx)("button",{className:`rotate-180 ${r}`,onClick:()=>n(t-1),disabled:1===t||0===e,children:(0,ga.jsx)(Gc,{})}),o.map(e=>(0,ga.jsx)("button",{className:`${r} ${t===e?"bg-gwr-light-blue text-white border-gwr-light-blue hover:bg-gwr-light-blue":""}`,onClick:()=>n(e),children:e},e)),(0,ga.jsx)("button",{className:r,onClick:()=>n(t+1),disabled:t===e||0===e,children:(0,ga.jsx)(Gc,{})})]})},Xc=()=>{const{applications:e,isLoading:t,fetchApplications:r,totalPages:o}=(()=>{const[e,t]=(0,n.useState)([]),[r,o]=(0,n.useState)(!0),[i,a]=(0,n.useState)(0),s=Mc(),l=Va();return{applications:e,isLoading:r,fetchApplications:async e=>{o(!0);try{const n=await async function(e,t=10,n,r){return Tc.get(`${Oc(r)}/applications`,{headers:e,params:{pageSize:t,pageIndex:n}})}(s,10,e,l);if(n.data.error)return void t([]);t(n.data),a(n.data[0]?.TotalPages||0)}catch(e){console.error("Failed to fetch applications:",e),t([])}finally{o(!1)}},totalPages:i}}
2)(),[i,a]=(0,n.useState)(null),[s,l]=(0,n.useState)(1),{t:c}=Fo();return(0,n.useEffect)(()=>{(async()=>{try{const e=await uc(vc);a(e)}catch(e){console.log("ERROR",e)}})()},[]),(0,n.useEffect)(()=>{r(s-1)},[s]),t?(0,ga.jsx)("div",{className:"text-gwr-light-blue flex justify-center items-center h-32 max-w-200",children:(0,ga.jsx)(ba,{size:"size-10"})}):(0,ga.jsxs)("section",{className:"max-w-200 bg-white",children:[(0,ga.jsx)(Wc,{title:c("submittedAppList")}),(0,ga.jsxs)("div",{className:"mb-4",children:[0===e.length&&(0,ga.jsx)("p",{className:"p-4",children:"You have no applications."}),e.map(e=>(0,ga.jsx)("div",{children:(0,ga.jsx)(Ic,{application:e})},e.Id))]}),o>1&&(0,ga.jsx)(Yc,{totalPages:o,currentPage:s,setCurrentPage:l}),i&&(0,ga.jsx)("div",{className:"text-center p-9 anchor-link",children:(0,ga.jsx)("p",{dangerouslySetInnerHTML:{__html:i.content}})})]})};function Jc(){const{t:e}=Fo(),t=Va(),[r,o]=(0,n.useState)(null);return(0,n.useEffect)(()=>{(async()=>{try{const e=await uc(vc);o(e)}catch(e){console.log("ERROR",e)}})()},[]),(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(jc,{title:e("applicationsTitle")}),(0,ga.jsxs)("div",{className:r?"grid grid-cols-3 gap-4 p-6 max-w-200":"",children:[r&&(0,ga.jsx)("section",{className:"col-span-2 sm:col-span-2 text-right max-w-700 w-113",children:(0,ga.jsx)("div",{className:"text-left anchor-link",children:(0,ga.jsx)("p",{dangerouslySetInnerHTML:{__html:r.content}})})}),(0,ga.jsx)("section",{className:"col-span-2 sm:col-span-1 text-right max-w-200",children:t?(0,ga.jsx)(xa,{to:"/consultant/search",className:"ml-4",children:e("applyNowConsultant")}):(0,ga.jsx)(xa,{href:"/search",children:e("applyNow")})})]}),(0,ga.jsx)(Xc,{})]})}const Zc=()=>{const[e,t]=(0,n.useState)(null),[r,o]=(0,n.useState)(!1),{t:i}=Fo(),a={en:"en-GB",de:"de-DE",es:"es-ES",ja:"ja-JP",pt:"pt-BR",zh:"zh-CN",ar:"ar-AE"}[Yi()]??"com",s=Mc(a),l=Va();return{application:e,isLoading:r,fetchApplicationDetail:async e=>{if(!e)return t(null),void o(!1);o(!0);try{const n=await async function(e,t,n){return Tc.get(`${Oc(n)}/applications/appdetails/${t}`,{headers:e})}(s,e,l);t(n.data)}catch(e){console.error("Failed to fetch application detail:",e),Pa.error(i("error"))}finally{o(!1)}}}};function eA(e="z"){const[t,r]=(0,n.useState)([]),o=Mc(),i=localStorage.getItem("i18nextLng")?.trim(),a=i?i.substring(0,2):"en";return{getCountryList:async()=>{try{const t=await Dc("country",a,e,o);null!=t.data&&r(t.data)}catch(e){console.log(e)}},countries:t}}function tA(){const{t:e}=Fo(),t=Mc(),{applicationId:r}=Lt(),[o,i]=(0,n.useState)(!1),[a,s]=(0,n.useState)(!1),[l,c]=(0,n.useState)([]),A=Va(),u=async()=>{if(r)try{i(!0);const e=await(async(e,t,n)=>Tc.get(`${Oc(n)}/applications/${t}/correspondence`,{headers:e}))(t,r,A);null!=e.data&&c(e.data)}catch(t){console.log(t),Pa.error(e("error")+"Failed to fetch correspondence data")}finally{i(!1)}};return{sendingData:a,loading:o,correspondenceList:l,getCorrespondence:u,createCorrespondence:async n=>{if(r)try{s(!0);const e=await(async(e,t,n,r)=>Tc.post(`${Oc(r)}/applications/${t}/correspondence`,n,{headers:e}))(t,r,n,A);if(null!=e.data)return u(),!0}catch(t){return console.log(t),Pa.error(e("error")),null}finally{s(!1)}},markCorrespondenceRead:async()=>{if(r)try{await(async(e,t,n)=>Tc.put(`${Oc(n)}/applications/${t}/correspondence/mark-read`,null,{headers:e}))(t,parseInt(r),A)}catch(e){console.log(e)}}}}function nA(){const[e,t]=(0,n.useState)([]),[r,o]=(0,n.useState)(!1),i=Va();return{getEvidenceList:async(e,n)=>{o(!0);try{const r=await(async(e,t,n)=>Tc.get(`${Hc(n)}/applications/evidence/${t}`,{headers:e}))(e,n,i);null!=r.data&&t(r.data)}catch(e){console.log(e)}finally{o(!1)}},evidenceList:e,loading:r}}function rA(){const{getStateList:e,states:t,hasStates:r}=function(){const e=Mc(),[t,r]=(0,n.useState)([]),[o,i]=(0,n.useState)(!1);return{states:t,hasStates:o,getStateList:async t=>{const n={filtercode:t};i(!1);try{const t=await async function(e,t="en-GB",n){return Tc.get("/keywords/state/"+t,{headers:e,params:n})}(e,"en",n);return t&&t.data&&t.data.length>0?(r(t.data),i(!0),t.data):(r([]),[])}catch(e){return console.error("Error fetching states:",e),void r([])}}}}();return{states:t,handleCountryChange:t=>{e(t)},hasStates:r}}
2function oA(){const[e,t]=(0,n.useState)(!1),{t:r}=Fo(),{applicationId:o}=Lt(),i=Mc("en-GB"),a=Va(),s=Nt();return{handlePostSubmitSave:async()=>{t(!0);try{await $c(i,o,a),Pa.success(r("evidenceSubmittedSuccess")),s("/applications/"+o)}catch(e){Ac.isAxiosError(e)?(console.log(e.status),console.log(e.response)):console.log(e),Pa.error(r("evidenceSubmittedError"))}finally{t(!1)}},saving:e}}function iA(){const e=Nt(),{recordId:t,applicationId:r}=Lt(),o=Mc(),[i,a]=(0,n.useState)(!1),s=location.pathname.includes("/edit");return{handleSubmitRecordUpdateConsultant:(0,n.useCallback)(async(n,i)=>{a(!0);try{const a=(e=>{const n={type:(e=>{switch(e){case"Precise date":return 0;case"Month & Year":return 1;case"Year Only":return 2;case"Fill Text":return 3;default:return}})(e.recordDate.type)};return"Precise date"===e.recordDate.type?(n.DateAttemptedDay=e.recordDate.day,n.DateAttemptedMonth=e.recordDate.month,n.DateAttemptedYear=e.recordDate.year):(e=>"Month & Year"===e.type)(e.recordDate)?(n.DateAttemptedMonth=e.recordDate.month,n.DateAttemptedYear=e.recordDate.year):(e=>"Year Only"===e.type)(e.recordDate)?n.DateAttemptedYear=e.recordDate.year:(e=>"Fill Text"===e.type)(e.recordDate)&&(n.DateAttemptText=e.recordDate.text),{RecordTitleId:t,RecordText:e.recordText,RecordCategory:[],RecordHolders:e.holders.map(e=>({Name:e.name,Nationality:e.nationality})),...s?{}:{ProjectName:e.projectName},...s?{}:{WorkAreaId:e.WorkAreaId},IsAttemptDateBC:e.ifBC,RecordDate:n,ReviewDate:e.expiryDate,Country:e.location,State:e.countyState,AttemptCity:e.city,Measurement:e.unit,FurtherInfo:e.furtherInfo,ApproverNotes:e.internalNotes}})(n),l=s?await Vc(o,a,r):await Vc(o,a,"");sessionStorage.setItem("_application",JSON.stringify(a)),e(s?`/consultant/applications/${r}`:`/consultant/records/evidence/${l.data.Id||l.data}`,{state:{title:i}})}catch(e){Ac.isAxiosError(e)?console.log("API ERROR ==>",{status:e.status,response:e.response}):console.log(e)}finally{a(!1)}},[]),loading:i}}const aA=({children:e,border:t=!0})=>(0,ga.jsx)("div",{className:`flex p-3 sm:p-5 gap-4 ${t&&"border-b border-gwr-gray"}`,children:e}),sA=({htmlFor:e,children:t,required:n,...r})=>(0,ga.jsxs)("label",{htmlFor:e,className:"font-rubik-medium text-base sm:text-lg w-1/3",...r,children:[t,n&&(0,ga.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),lA=({app:e})=>{const[t,r]=(0,n.useState)(null),{t:o}=Fo(),{applicationId:i}=Lt(),a=Va();return(0,n.useEffect)(()=>{(async()=>{try{const e=await uc("/account-content/evidence-summary-page.json");r(e)}catch(e){console.error("Error fetching evidence content:",e)}})()},[]),(["Pending Evidence","Requested Further Evidence"].includes(e?.StatusDescription)||!0===e?.AddAdditionalAssets)&&(0,ga.jsx)("section",{className:"max-w-200",children:t?(0,ga.jsxs)("section",{children:[(0,ga.jsx)(Wc,{title:t.title}),(0,ga.jsxs)("div",{className:"bg-white px-5 sm:px-8 py-6 space-y-6",children:[(0,ga.jsx)("div",{className:"space-y-4",dangerouslySetInnerHTML:{__html:t.content}}),(0,ga.jsx)(xa,{to:a?`/consultant/records/evidence/${i}`:`/evidence-upload-check-details/${i}`,children:o("btnUploadEvidence")})]})]}):(0,ga.jsx)("div",{className:"text-gwr-light-blue",children:(0,ga.jsx)(ba,{size:"size-10"})})})},cA=({recordId:e})=>{const{t}=Fo(),{getRecordMeasurements:r,loading:o,measurements:i}=function({recordId:e}){const t=Mc(),[r,o]=(0,n.useState)(!1),i=Va(),[a,s]=(0,n.useState)(null),l=e;return{measurements:a,getRecordMeasurements:async()=>{o(!0),await(async(e,t,n,r)=>{try{return Tc.get(`${Oc(r)}/applications/records/current-holder-measurement/false/${n}`,{headers:e})}catch(e){throw new Error(`Error getting current holder measurements: ${e.message}`)}})(t,0,l,i).then(e=>{"No measurement was returned"!==e.data?s(e.data):s(null)}).catch(e=>console.log("ERROR:",e)),o(!1)},loading:r}}({recordId:e});return(0,n.useEffect)(()=>{(async()=>{await r()})()},[]),o?(0,ga.jsx)("div",{className:"text-gwr-light-blue ml-12",children:(0,ga.jsx)(ba,{})}):i?(0,ga.jsxs)("div",{className:"text-gwr-gold",children:[t("currentRecordIs"),(0,ga.jsx)("span",{className:"font-rubik-medium ml-1",children:i[0]?.Attempt})]}):void 0},AA=()=>{const{t:e}=Fo();return(0,ga.jsx)("span",{className:"font-rubik-medium text-white bg-green-600 p-1 uppercase text-xs sm:ml-4",children:e("Success")})},uA=({evidence:e,isConfirming:t,showLoader:n,disableDelete:r,onConfirm:o,onCancel:i,onRequestDelete:a})=>{const{t:s}=Fo();return(0,ga.jsx)("div",{className:"border border-gray-300 px-3 sm:px-7 py-2.5 flex flex-col sm:flex-row sm:items-center justify-between bg-gray-400/10",children:t?(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)("div",{children:decodeURIComponent(e.OriginalFilename)}),(0,ga.jsxs)("div",{className:"text-right space-x-1",children:[(0,ga.jsx)("span",{className:"block sm:inline mr-2 text-base italic",children:(0,ga.jsxs)("em",{children:[s("delete"),"?"]})}),(0,ga.jsx)("button",{className:"text-sm font-rubik-medium uppercase cursor-pointer hover:bg-black/20 px-2 py-1",onClick:o,children:s("yes")}),(0,ga.jsx)("span",{children:"|"}),(0,ga.jsx)("button",{className:"text-sm font-rubik-medium uppercase cursor-pointer hover:bg-black/20 px-2 py-1",onClick:i,children:s("no")})]})]}):(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)("div",{className:"text-left text-sm sm:text-base",children:(0,ga.jsxs)("p",{children:[e.OriginalFilename?decodeURIComponent(e.OriginalFilename):"",e.FileSizeInBytes?(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)("br",{}),e.FileSizeInBytes," kb"]}):null,e.Text||"",(0,ga.jsx)("span",{className:"block my-2 sm:my-0 sm:inline",children:(0,ga.jsx)(AA,{})})]})}),(0,ga.jsx)("div",{children:n?(0,ga.jsx)(ba,{}):r?null:(0,ga.jsx)("button",{className:"cursor-pointer inline-flex items-center justify-center w-8 h-8 rounded-full border text-black hover:text-white border-gray-400 hover:border-red-600 hover:bg-red-600",onClick:a,children:(0,ga.jsx)(dA,{})})})]})})},dA=({className:e=""})=>(0,ga.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",className:`w-5 h-5 ${e}`,children:[(0,ga.jsx)("path",{d:"M3 6h18"}),(0,ga.jsx)("path",{d:"M8 6v-2a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2"}),(0,ga.jsx)("path",{d:"M19 6l-1 14a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2l-1 -14"}),(0,ga.jsx)("line",{x1:"10",y1:"11",x2:"10",y2:"17"}),(0,ga.jsx)("line",{x1:"14",y1:"11",x2:"14",y2:"17"})]}
2),pA=({evidenceSubmitted:e,appStatusEvidence:t,loading:r,evidenceList:o,getEvidenceList:i})=>{const{t:a}=Fo(),{applicationId:s}=Lt(),{deleteEvidenceListItem:l,showLoaderForEvidence:c}=function(e,t){const{t:r}=Fo(),[o,i]=(0,n.useState)([]),a=Mc(),s=Va();return{deleteEvidenceListItem:async n=>{try{i(e=>[...e,n]),await(async(e,t,n)=>{try{return(await Tc.post(`${Hc(n)}/applications/evidence/update`,t,{headers:e})).data}catch(e){throw new Error(`Error getting pre-signed URL's: ${e.message}`)}})(a,{Id:Number(n)},s),t&&e(a,t),Pa.success(r("evidenceRemovedSuccess"))}catch(e){console.log("ERROR:",e),Pa.error(r("evidenceRemovedError"))}finally{i(e=>e.filter(e=>e!==n))}},showLoaderForEvidence:o}}(i,s),[A,u]=(0,n.useState)(null),d=(0,n.useMemo)(()=>(Array.isArray(o)?o:[]).reduce((e,t)=>((e[t.EvidenceCategory]||=[]).push(t),e),{}),[o]),p="Pending Evidence Review"===t||"Pending Further Evidence Review"===t||"Awaiting Specific Consent"===t||"Current Record Holder"===t||"Broken"===t||"Rejected"===t||"Evidence Rejected"===t;return r?(0,ga.jsx)("div",{className:"text-gwr-light-blue flex justify-center py-8",children:(0,ga.jsx)(ba,{size:"size-8"})}):(console.log(p),(0,ga.jsx)(ga.Fragment,{children:Object.entries(d).map(([e,t])=>(0,ga.jsxs)("div",{className:"p-4 space-y-4",children:[(0,ga.jsx)("h4",{className:"font-rubik-medium",children:a(e)}),t.map(e=>(0,ga.jsx)(uA,{evidence:e,isConfirming:A===e.Id,showLoader:c?.includes(String(e.Id)),disableDelete:p,onConfirm:()=>{return t=e.Id,u(null),void l(String(t));var t},onCancel:()=>u(null),onRequestDelete:()=>u(e.Id)},e.Id))]},e))}))},fA=({children:e,open:t,closeModal:r})=>((0,n.useEffect)(()=>(t?(document.body.style.overflow="hidden",document.body.style.paddingRight="15px"):(document.body.style.overflow="auto",document.body.style.paddingRight="0px"),()=>{document.body.style.overflow="auto",document.body.style.paddingRight="0px"}),[t]),(0,ga.jsx)("div",{className:"fixed inset-0 bg-black/50 flex items-center justify-center z-9999999",onClick:r,children:(0,ga.jsx)("div",{className:"bg-gwr-gray rounded-lg p-6 max-w-lg w-full shadow-lg m-8",onClick:e=>e.stopPropagation(),children:e})})),hA=({application:e,refetchApplicationDetail:t})=>{const{applicationId:r}=Lt(),{t:o}=Fo(),i=Mc(),{getEvidenceList:a,evidenceList:s,loading:l}=nA(),{handlePostSubmitSave:c,saving:A}=oA(),{reopenEvidenceSubmission:u,submitting:d}=function(){const{t:e}=Fo(),t=Mc("en-GB"),[r,o]=(0,n.useState)(!1),i=Va();return{reopenEvidenceSubmission:async({applicationId:n})=>{o(!0);try{const r=await(async(e,t,n)=>{try{return await Tc.post(`${Hc(n)}/applications/evidence/${t}/reopen-evidence-submission`,null,{headers:e})}catch(e){throw new Error(`Error reopening evidence submission: ${e.message}`)}})(t,n,i);return Pa.success(e("success")),r}catch(t){throw Pa.error(e("error")),t}finally{o(!1)}},submitting:r}}(),[p,f]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{a(i,r)},[]),s.length>0&&(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(Wc,{title:o("evidenceList")}),(0,ga.jsxs)("div",{className:"p-4",children:[(0,ga.jsx)(pA,{evidenceSubmitted:!1,appStatusEvidence:e.StatusDescription,loading:l,evidenceList:s,getEvidenceList:a}),"Pending Evidence Review"===e.StatusDescription&&0==e.isEvidenceUnderReview&&r?(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)("div",{children:(0,ga.jsx)(xa,{className:"m-4 capitalize",onClick:()=>f(!0),children:o("reopenEvidenceButton")})}),p&&(0,ga.jsxs)(fA,{open:p,closeModal:()=>f(!1),children:[(0,ga.jsx)("p",{className:"text-center text-lg font-bold",children:o("reopenEvidenceMessage")}),(0,ga.jsx)(xa,{onClick:async()=>{try{r&&(await u({applicationId:r}),t(),f(!1),scrollTo(0,0))}catch(e){console.error("Error reopening evidence submission:",e)}},color:"red",className:"w-full my-4",loading:d,children:o("reopenEvidenceButton")}),(0,ga.jsx)(xa,{onClick:()=>f(!1),className:"w-full capitalize",children:o("back")})]})]}):["Pending Evidence","Requested Further Evidence"].includes(e?.StatusDescription)&&(0,ga.jsx)(xa,{className:"m-4 capitalize",loading:A,onClick:async()=>{try{await c(),t()}catch(e){console.error("Error submitting evidence:",e)}},children:o("btnSubmit")})]})]})},mA=({correspondenceList:e})=>(0,ga.jsx)("div",{className:"mt-6 space-y-4",children:e.map((e,t)=>(0,ga.jsxs)("div",{className:"rounded-lg border border-gray-200 bg-gray-50 p-4",children:[(0,ga.jsxs)("div",{className:"flex items-center justify-between",children:[(0,ga.jsxs)("p",{className:"font-rubik-medium text-gray-800",children:[e.Name," ",e.Surname]}),(0,ga.jsx)("p",{className:"text-xs text-gray-500",children:Nc(e.Date)})]}),(0,ga.jsx)("p",{className:"mt-3 border-l-4 border-blue-300 bg-gray-100 py-2 pl-4 text-gray-700 whitespace-pre-line text-base",dangerouslySetInnerHTML:{__html:e.Comment}})]},t))}),gA=()=>{const{t:e}=Fo(),{sendingData:t,loading:r,correspondenceList:o,getCorrespondence:i,createCorrespondence:a}
2=tA(),[s,l]=(0,n.useState)("");return(0,n.useEffect)(()=>{i()},[]),(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(Wc,{title:"Correspondence"}),(0,ga.jsxs)("div",{className:"p-6",children:[(0,ga.jsx)("p",{children:e("applicationCommentsHeader")}),(0,ga.jsxs)("form",{onSubmit:async e=>{e.preventDefault();const t={Comment:s};await a(t)&&l("")},children:[(0,ga.jsx)("textarea",{className:"w-full p-4 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-gwr-light-blue mt-6 mb-2",rows:2,value:s,onChange:e=>l(e.target.value)}),(0,ga.jsx)(xa,{type:"submit",loading:t,disabled:""===s.trim(),children:e("fieldSubmitBtn")})]}),r?(0,ga.jsx)("div",{className:"flex justify-center py-8 text-gwr-light-blue",children:(0,ga.jsx)(ba,{size:"size-8"})}):o.length>0&&(0,ga.jsx)(mA,{correspondenceList:o})]})]})},yA=["pending approval","incomplete","new","expired"],wA=()=>{const{t:e}=Fo(),{fetchApplicationDetail:t,isLoading:r,application:o}=Zc(),[i,a]=(0,n.useState)(!1),s=Nt(),{applicationId:l}=Lt(),{countries:c,getCountryList:A}=eA(),{cancelApplication:u,loading:d}=function(e){const[t,r]=(0,n.useState)(!1),{t:o}=Fo(),i=Mc(),a=Va();return{cancelApplication:async()=>{r(!0);try{e&&(await(async(e,t,n)=>Tc.delete(`${Oc(n)}/applications/${t}`,{headers:e}))(i,e,a),Pa.success(o("applicationCancelledLabel")))}catch(e){throw Pa.error(o("error")),e}finally{r(!1)}},loading:t}}(l),p=jt(),{hasUnreadCorrespondence:f}=p.state||{},h=Va(),{markCorrespondenceRead:m}=tA();(0,n.useEffect)(()=>{l&&(t(l),A(),f&&m())},[l]);const g=e=>e?c.find(t=>t.Key===e)?.Description:"",y=sessionStorage.getItem("completedArra")===l,w=o?.StatusDescription?.toLowerCase()||"",v=!yA.includes(w)||"cancelled"===w&&o?.HasGuidelines;return r?(0,ga.jsx)("div",{className:"max-w-200 text-gwr-light-blue flex justify-center items-center h-32",children:(0,ga.jsx)(ba,{size:"size-10"})}):(0,ga.jsx)("div",{className:"max-w-200",children:o?(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsxs)("div",{className:"mb-6 flex flex-col sm:flex-row justify-between items-end gap-4",children:[(0,ga.jsx)("div",{className:"anchor-link",children:(0,ga.jsx)(Qn,{to:(h?"/consultant":"")+"/applications",children:e("viewAllApplications")})}),(0,ga.jsxs)("div",{className:"gap-2 flex flex-col sm:flex-row",children:[h&&!("Pending Evidence Review"===o.StatusDescription)&&(0,ga.jsx)(xa,{to:`/consultant/records/evidence/${l}`,children:"New"===o.StatusDescription?"Continue Application":"Add Evidence"}),(!0===o?.CanCancelApplication||void 0===o?.CanCancelApplication)&&(0,ga.jsx)(xa,{onClick:()=>a(!0),color:"red",children:e("cancelApplicationBtn")}),0===o.Status&&!y&&!h&&(0,ga.jsx)(xa,{to:`${h?"/consultant":""}/applications/${l}/continue`,children:e("btnContinueAppication")})]})]}),(0,ga.jsx)(Wc,{title:e("recordApplication")}),(0,ga.jsxs)("div",{className:"bg-white text-base sm:text-lg",children:[(0,ga.jsxs)(aA,{children:[(0,ga.jsx)(sA,{children:e("suggestedRecordTitle")}),(0,ga.jsx)("p",{className:"mb-4",children:o.Title})]}),!h&&(0,ga.jsxs)(aA,{children:[(0,ga.jsx)(sA,{children:e("currentRecordTitle")}),(0,ga.jsxs)("div",{children:[(0,ga.jsx)("p",{className:"mb-4",children:o.Title}),(0,ga.jsx)("div",{className:"text-gwr-gold",children:(0,ga.jsx)(cA,{recordId:o.RecordTitleId})}),!h&&o.HasGuidelines&&"Pending Guidelines Being Sent"!==o.StatusDescription&&(0,ga.jsx)(xa,{to:`${h?"/consultant":""}/applications/${o.Id}/guidelines`,small:!0,className:" text-base mt-4",children:e("viewGuidelines")})]})]}),(0,ga.jsxs)(aA,{children:[(0,ga.jsxs)(sA,{children:[e("applicationDetails"),!["Unsubmitted","Broken","Rejected","Current Record Holder","Completed failed application","New"].includes(o?.StatusDescription)&&(0,ga.jsx)(xa,{to:h?`/consultant/applications/${l}/edit`:`/applications/${l}/edit`,small:!0,className:"mt-2",children:e("editApplication")})]}),(0,ga.jsxs)("div",{className:"space-y-4",children:[o.Description&&(0,ga.jsx)("p",{children:o.Description}),o.DateAdded&&(0,ga.jsxs)("p",{children:[e("dateCreated"),(0,ga.jsx)("br",{}),Fc(o.DateAdded)]}),h&&o.RecordText&&(0,ga.jsxs)("p",{children:["Record Text ",(0,ga.jsx)("br",{})," ",o.RecordText]}),h&&o.FurtherInfo&&(0,ga.jsxs)("p",{children:["Further Info ",(0,ga.jsx)("br",{})," ",o.FurtherInfo]}),o.Reference&&(0,ga.jsxs)("p",{children:[e("reference"),(0,ga.jsx)("br",{}),o.Reference]}),o.StatusDescription&&(0,ga.jsxs)("p",{children:[e("status"),(0,ga.jsx)("br",{}),(0,ga.jsx)("span",{className:`${Lc(o.StatusDescription)} text-sm uppercase font-rubik-medium`,children:e(h?o.StatusDescription:Uc(o.StatusDescription))})]}),o.AttemptCountry&&(0,ga.jsxs)("p",{children:[e("attemptLocation"),(0,ga.jsx)("br",{}),o.AttemptCountry]}),(o.DateAttempted||o.AttemptDateText)&&(0,ga.jsxs)("p",{className:"break-all",children:[e("discoveryDate"),(0,ga.jsx)("br",{}),o.DateAttempted?Fc(o.DateAttempted):o.AttemptDateText]}),o.Attempt&&(0,ga.jsxs)("p",{children:[e("measurement"),(0,ga.jsx)("br",{}),o.Attempt]}),o.Participants&&o.Participants.length>0&&(0,ga.jsxs)("div",{children:[e("recordHolders"),(0,ga.jsx)("br",{}),(0,ga.jsx)("ol",{children:o.Participants&&o.Participants.length>0?o.Participants.map((e,t)=>(0,ga.jsx)("li",{children:(0,ga.jsxs)("p",{children:[e.name,",",(0,ga.jsx)("span",{className:"ml-1",children:g(e.location)}),e.sexatbirth&&(0,ga.jsxs)("span",{className:"capitalize",children:[", ",e.sexatbirth]})]})},t)):(0,ga.jsx)("li",{children:e("noRecordHolders")})})]})]})]}),null!=o.ARRAText&&""!==o.ARRAText&&(0,ga.jsxs)(aA,{children:[(0,ga.jsx)(sA,{children:e("agreedTerms")}),(0,ga.jsx)("div",{className:"anchor-link",children:(0,ga.jsx)(Qn,{to:`${h?"/consultant":""}/showagreedterms?Id=${l}`,children:e("viewTermsConditions")})})]}),(0,ga.jsx)(lA,{app:o}),(0,ga.jsx)(hA,{application:o,refetchApplicationDetail:()=>{l&&t(l)}}),v&&(0,ga.jsx)(gA,{}),i&&(0,ga.jsxs)(fA,{open:i,closeModal:()=>a(!1),children:[(0,ga.jsx)("p",{className:"text-center text-lg font-bold",children:e("agreeToCancelMessage")}),(0,ga.jsx)(xa,{onClick:async()=>{try{await u(),s((h?"/consultant":"")+"/applications")}catch(e){a(!1)}},loading:d,color:"red",className:"w-full my-4",children:e("cancelThisApplication")}),(0,ga.jsx)(xa,{onClick:()=>a(!1),className:"w-full",children:e("cancelThisApplicationNo")})]})]})]}):(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)("p",{className:"text-red-600 mb-4",children:"Application not found"}),(0,ga.jsx)(xa,{to:(h?"/consultant":"")+"/applications",children:e("viewAllApplications")})]})})},vA=()=>{const{t:e}=Fo();return(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(jc,{title:e("applicationDetail
2s")}),(0,ga.jsx)(wA,{})]})};var bA=e=>"checkbox"===e.type,xA=e=>e instanceof Date,_A=e=>null==e;const BA=e=>"object"==typeof e;var CA=e=>!_A(e)&&!Array.isArray(e)&&BA(e)&&!xA(e),kA=e=>CA(e)&&e.target?bA(e.target)?e.target.checked:e.target.value:e,SA=(e,t)=>e.has((e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e)(t)),jA="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function EA(e){let t;const n=Array.isArray(e),r="undefined"!=typeof FileList&&e instanceof FileList;if(e instanceof Date)t=new Date(e);else{if(jA&&(e instanceof Blob||r)||!n&&!CA(e))return e;if(t=n?[]:Object.create(Object.getPrototypeOf(e)),n||(e=>{const t=e.constructor&&e.constructor.prototype;return CA(t)&&t.hasOwnProperty("isPrototypeOf")})(e))for(const n in e)e.hasOwnProperty(n)&&(t[n]=EA(e[n]));else t=e}return t}var FA=e=>/^\w*$/.test(e),NA=e=>void 0===e,UA=e=>Array.isArray(e)?e.filter(Boolean):[],LA=e=>UA(e.replace(/["|']|\]/g,"").split(/\.|\[/)),IA=(e,t,n)=>{if(!t||!CA(e))return n;const r=(FA(t)?[t]:LA(t)).reduce((e,t)=>_A(e)?e:e[t],e);return NA(r)||r===e?NA(e[t])?n:e[t]:r},PA=e=>"boolean"==typeof e,QA=(e,t,n)=>{let r=-1;const o=FA(t)?[t]:LA(t),i=o.length,a=i-1;for(;++r<i;){const t=o[r];let i=n;if(r!==a){const n=e[t];i=CA(n)||Array.isArray(n)?n:isNaN(+o[r+1])?{}:[]}if("__proto__"===t||"constructor"===t||"prototype"===t)return;e[t]=i,e=e[t]}};const TA="blur",DA="onChange",OA="onSubmit",RA="all",MA="pattern",HA="required",zA=n.createContext(null);zA.displayName="HookFormContext";const KA=()=>n.useContext(zA);var $A=(e,t,n,r=!0)=>{const o={defaultValues:t._defaultValues};for(const i in e)Object.defineProperty(o,i,{get:()=>{const o=i;return t._proxyFormState[o]!==RA&&(t._proxyFormState[o]=!r||RA),n&&(n[o]=!0),e[o]}});return o};const VA="undefined"!=typeof window?n.useLayoutEffect:n.useEffect;var qA=e=>"string"==typeof e,WA=(e,t,n,r,o)=>qA(e)?(r&&t.watch.add(e),IA(n,e,o)):Array.isArray(e)?e.map(e=>(r&&t.watch.add(e),IA(n,e))):(r&&(t.watchAll=!0),n),GA=e=>_A(e)||!BA(e);function YA(e,t,n=new WeakSet){if(GA(e)||GA(t))return e===t;if(xA(e)&&xA(t))return e.getTime()===t.getTime();const r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;if(n.has(e)||n.has(t))return!0;n.add(e),n.add(t);for(const i of r){const r=e[i];if(!o.includes(i))return!1;if("ref"!==i){const e=t[i];if(xA(r)&&xA(e)||CA(r)&&CA(e)||Array.isArray(r)&&Array.isArray(e)?!YA(r,e,n):r!==e)return!1}}return!0}const XA=e=>e.render(function(e){const t=KA(),{name:r,disabled:o,control:i=t.control,shouldUnregister:a,defaultValue:s}=e,l=SA(i._names.array,r),c=n.useMemo(()=>IA(i._formValues,r,IA(i._defaultValues,r,s)),[i,r,s]),A=function(e){const t=KA(),{control:r=t.control,name:o,defaultValue:i,disabled:a,exact:s,compute:l}=e||{},c=n.useRef(i),A=n.useRef(l),u=n.useRef(void 0);A.current=l;const d=n.useMemo(()=>r._getWatch(o,c.current),[r,o]),[p,f]=n.useState(A.current?A.current(d):d);return VA(()=>r._subscribe({name:o,formState:{values:!0},exact:s,callback:e=>{if(!a){const t=WA(o,r._names,e.values||r._formValues,!1,c.current);if(A.current){const e=A.current(t);YA(e,u.current)||(f(e),u.current=e)}else f(t)}}}),[r,a,o,s]),n.useEffect(()=>r._removeUnmounted()),p}({control:i,name:r,defaultValue:c,exact:!0}),u=function(e){const t=KA(),{control:r=t.control,disabled:o,name:i,exact:a}=e||{},[s,l]=n.useState(r._formState),c=n.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return VA(()=>r._subscribe({name:i,formState:c.current,exact:a,callback:e=>{!o&&l({...r._formState,...e})}}),[i,o,a]),n.useEffect(()=>{c.current.isValid&&r._setValid(!0)},[r]),n.useMemo(()=>$A(s,r,c.current,!1),[s,r])}({control:i,name:r,exact:!0}),d=n.useRef(e),p=n.useRef(void 0),f=n.useRef(i.register(r,{...e.rules,value:A,...PA(e.disabled)?{disabled:e.disabled}:{}}));d.current=e;const h=n.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!IA(u.errors,r)},isDirty:{enumerable:!0,get:()=>!!IA(u.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!IA(u.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!IA(u.validatingFields,r)},error:{enumerable:!0,get:()=>IA(u.errors,r)}}),[u,r]),m=n.useCallback(e=>f.current.onChange({target:{value:kA(e),name:r},type:"change"}),[r]),g=n.useCallback(()=>f.current.onBlur({target:{value:IA(i._formValues,r),name:r},type:TA}),[r,i._formValues]),y=n.useCallback(e=>{const t=IA(i._fields,r);t&&e&&(t._f.ref={focus:()=>e.focus&&e.focus(),select:()=>e.select&&e.select(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})},[i._fields,r]),w=n.useMemo(()=>({name:r,value:A,...PA(o)||u.disabled?{disabled:u.disabled||o}:{},onChange:m,onBlur:g,ref:y}),[r,o,u.disabled,m,g,y,A]);return n.useEffect(()=>{const e=i._options.shouldUnregister||a,t=p.current;t&&t!==r&&!l&&i.unregister(t),i.register(r,{...d.current.rules,...PA(
vendor: 18,687 bytes, line 2
2d.current.disabled)?{disabled:d.current.disabled}:{}});const n=(e,t)=>{const n=IA(i._fields,e);n&&n._f&&(n._f.mount=t)};if(n(r,!0),e){const e=EA(IA(i._options.defaultValues,r));QA(i._defaultValues,r,e),NA(IA(i._formValues,r))&&QA(i._formValues,r,e)}return!l&&i.register(r),p.current=r,()=>{(l?e&&!i._state.action:e)?i.unregister(r):n(r,!1)}},[r,i,l,a]),n.useEffect(()=>{i._setDisabledField({disabled:o,name:r})},[o,r,i]),n.useMemo(()=>({field:w,formState:u,fieldState:h}),[w,u,h])}(e));var JA=(e,t,n,r,o)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:o||!0}}:{},ZA=e=>Array.isArray(e)?e:[e],eu=()=>{let e=[];return{get observers(){return e},next:t=>{for(const n of e)n.next&&n.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}};function tu(e,t){const n={};for(const r in e)if(e.hasOwnProperty(r)){const o=e[r],i=t[r];if(o&&CA(o)&&i){const e=tu(o,i);CA(e)&&(n[r]=e)}else e[r]&&(n[r]=i)}return n}var nu=e=>CA(e)&&!Object.keys(e).length,ru=e=>"file"===e.type,ou=e=>"function"==typeof e,iu=e=>{if(!jA)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},au=e=>"select-multiple"===e.type,su=e=>"radio"===e.type,lu=e=>iu(e)&&e.isConnected;function cu(e,t){const n=Array.isArray(t)?t:FA(t)?[t]:LA(t),r=1===n.length?e:function(e,t){const n=t.slice(0,-1).length;let r=0;for(;r<n;)e=NA(e)?r++:e[t[r++]];return e}(e,n),o=n.length-1,i=n[o];return r&&delete r[i],0!==o&&(CA(r)&&nu(r)||Array.isArray(r)&&function(e){for(const t in e)if(e.hasOwnProperty(t)&&!NA(e[t]))return!1;return!0}(r))&&cu(e,n.slice(0,-1)),e}function Au(e){return Array.isArray(e)||CA(e)&&!(e=>{for(const t in e)if(ou(e[t]))return!0;return!1})(e)}function uu(e,t={}){for(const n in e)Au(e[n])?(t[n]=Array.isArray(e[n])?[]:{},uu(e[n],t[n])):_A(e[n])||(t[n]=!0);return t}function du(e,t,n){n||(n=uu(t));for(const r in e)Au(e[r])?NA(t)||GA(n[r])?n[r]=uu(e[r],Array.isArray(e[r])?[]:{}):du(e[r],_A(t)?{}:t[r],n[r]):n[r]=!YA(e[r],t[r]);return n}const pu={value:!1,isValid:!1},fu={value:!0,isValid:!0};var hu=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!NA(e[0].attributes.value)?NA(e[0].value)||""===e[0].value?fu:{value:e[0].value,isValid:!0}:fu:pu}return pu},mu=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>NA(e)?e:t?""===e?NaN:e?+e:e:n&&qA(e)?new Date(e):r?r(e):e;const gu={isValid:!1,value:null};var yu=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,gu):gu;function wu(e){const t=e.ref;return ru(t)?t.files:su(t)?yu(e.refs).value:au(t)?[...t.selectedOptions].map(({value:e})=>e):bA(t)?hu(e.refs).value:mu(NA(t.value)?e.ref.value:t.value,e)}var vu=e=>e instanceof RegExp,bu=e=>NA(e)?e:vu(e)?e.source:CA(e)?vu(e.value)?e.value.source:e.value:e,xu=e=>({isOnSubmit:!e||e===OA,isOnBlur:"onBlur"===e,isOnChange:e===DA,isOnAll:e===RA,isOnTouch:"onTouched"===e});const _u="AsyncFunction";var Bu=e=>!!e&&!!e.validate&&!!(ou(e.validate)&&e.validate.constructor.name===_u||CA(e.validate)&&Object.values(e.validate).find(e=>e.constructor.name===_u)),Cu=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))));const ku=(e,t,n,r)=>{for(const o of n||Object.keys(e)){const n=IA(e,o);if(n){const{_f:e,...i}=n;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],o)&&!r)return!0;if(e.ref&&t(e.ref,e.name)&&!r)return!0;if(ku(i,t))break}else if(CA(i)&&ku(i,t))break}}};function Su(e,t,n){const r=IA(e,n);if(r||FA(n))return{error:r,name:n};const o=n.split(".");for(;o.length;){const r=o.join("."),i=IA(t,r),a=IA(e,r);if(i&&!Array.isArray(i)&&n!==r)return{name:n};if(a&&a.type)return{name:r,error:a};if(a&&a.root&&a.root.type)return{name:`${r}.root`,error:a.root};o.pop()}return{name:n}}var ju=(e,t,n)=>{const r=ZA(IA(e,n));return QA(r,"root",t[n]),QA(e,n,r),e};function Eu(e,t,n="validate"){if(qA(e)||Array.isArray(e)&&e.every(qA)||PA(e)&&!e)return{type:n,message:qA(e)?e:"",ref:t}}var Fu=e=>CA(e)&&!vu(e)?e:{value:e,message:""},Nu=async(e,t,n,r,o,i)=>{const{ref:a,refs:s,required:l,maxLength:c,minLength:A,min:u,max:d,pattern:p,validate:f,name:h,valueAsNumber:m,mount:g}=e._f,y=IA(n,h);if(!g||t.has(h))return{};const w=s?s[0]:a,v=e=>{o&&w.reportValidity&&(w.setCustomValidity(PA(e)?"":e||""),w.reportValidity())},b={},x=su(a),_=bA(a),B=x||_,C=(m||ru(a))&&NA(a.value)&&NA(y)||iu(a)&&""===a.value||""===y||Array.isArray(y)&&!y.length,k=JA.bind(null,h,r,b),S=(e,t,n,r="maxLength",o="minLength")=>{const i=e?t:n;b[h]={type:e?r:o,message:i,ref:a,...k(e?r:o,i)}};if(i?!Array.isArray(y)||!y.length:l&&(!B&&(C||_A(y))||PA(y)&&!y||_&&!hu(s).isValid||x&&!yu(s).isValid)){const{value:e,message:t}=qA(l)?{value:!!l,message:l}:Fu(l);if(e&&(b[h]={type:HA,message:t,ref:w,...k(HA,t)},!r))return v(t),b}if(!(C||_A(u)&&_A(d))){let e,t;const n=Fu(d),o=Fu(u);if(_A(y)||isNaN(y)){const r=a.valueAsDate||new Date(y),i=e=>new Date((new Date).toDateString()+" "+e),s="time"==a.type,l="week"==a.type;qA(n.value)&&y&&(e=s?i(y)>i(n.value):l?y>n.value:r>new Date(n.value)),qA(o.value)&&y&&(t=s?i(y)<i(o.value):l?y<o.value:r<new Date(o.value))}else{const r=a.valueAsNumber||(y?+y:y);_A(n.value)||(e=r>n.value),_A(o.value)||(t=r<o.value)}if((e||t)&&(S(!!e,n.message,o.message,"max","min"),!r))return v(b[h].message),b}if((c||A)&&!C&&(qA(y)||i&&Array.isArray(y))){const e=Fu(c),t=Fu(A),n=!_A(e.value)&&y.length>+e.value,o=!_A(t.value)&&y.length<+t.value;if((n||o)&&(S(n,e.message,t.message),!r))return v(b[h].message),b}if(p&&!C&&qA(y)){const{value:e,message:t}=Fu(p);if(vu(e)&&!y.match(e)&&(b[h]={type:MA,message:t,ref:a,...k(MA,t)},!r))return v(t),b}if(f)if(ou(f)){const e=Eu(await f(y,n),w);if(e&&(b[h]={...e,...k("validate",e.message)},!r))return v(e.message),b}else if(CA(f)){let e={};for(const t in f){if(!nu(e)&&!r)break;const o=Eu(await f[t](y,n),w,t);o&&(e={...o,...k(t,o.message)},v(o.message),r&&(b[h]=e))}if(!nu(e)&&(b[h]={ref:w,...e},!r))return b}return v(!0),b};const Uu={mode:OA,reValidateMode:DA,shouldFocusError:!0};function Lu(e={}){let t,n={...Uu,...e},r={submitCount:0,isDirty:!1,isReady:!1,isLoading:ou(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:n.errors||{},disabled:n.disabled||!1},o={},i=(CA(n.defaultValues)||CA(n.values))&&EA(n.defaultValues||n.values)||{},a=n.shouldUnregister?{}:EA(i),s={action:!1,mount:!1,watch:!1},l={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},c=0;const A={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let u={...A};const d={array:eu(),state:eu()},p=n.criteriaMode===RA,f=async e=>{if(!n.disabled&&(A.isValid||u.isValid||e)){const e=n.resolver?nu((await y()).errors):await w(o,!0);e!==r.isValid&&d.state.next({isValid:e})}},h=(e,t)=>{!n.disabled&&(A.isValidating||A.validatingFields||u.isValidating||u.validatingFields)&&((e||Array.from(l.mount)).forEach(e=>{e&&(t?QA(r.validatingFields,e,t):cu(r.validatingFields,e))}),d.state.next({validatingFields:r.validatingFields,isValidating:!nu(r.validatingFields)}))},m=(e,t,n,r)=>{const l=IA(o,e);if(l){const o=IA(a,e,NA(n)?IA(i,e):n);NA(o)||r&&r.defaultChecked||t?QA(a,e,t?o:wu(l._f)):x(e,o),s.mount&&f()}},g=(e,t,o,a,s)=>{let l=!1,c=!1;const p={name:e};if(!n.disabled){if(!o||a){(A.isDirty||u.isDirty)&&(c=r.isDirty,r.isDirty=p.isDirty=v(),l=c!==p.isDirty);const n=YA(IA(i,e),t);c=!!IA(r.dirtyFields,e),n?cu(r.dirtyFields,e):QA(r.dirtyFields,e,!0),p.dirtyFields=r.dirtyFields,l=l||(A.dirtyFields||u.dirtyFields)&&c!==!n}if(o){const t=IA(r.touchedFields,e);t||(QA(r.touchedFields,e,o),p.touchedFields=r.touchedFields,l=l||(A.touchedFields||u.touchedFields)&&t!==o)}l&&s&&d.state.next(p)}return l?p:{}},y=async e=>{h(e,!0);const t=await n.resolver(a,n.context,((e,t,n,r)=>{const o={};for(const n of e){const e=IA(t,n);e&&QA(o,n,e._f)}return{criteriaMode:n,names:[...e],fields:o,shouldUseNativeValidation:r}})(e||l.mount,o,n.criteriaMode,n.shouldUseNativeValidation));return h(e),t},w=async(e,t,o={valid:!0})=>{for(const i in e){const s=e[i];if(s){const{_f:e,...i}=s;if(e){const i=l.array.has(e.name),c=s._f&&Bu(s._f);c&&A.validatingFields&&h([e.name],!0);const u=await Nu(s,l.disabled,a,p,n.shouldUseNativeValidation&&!t,i);if(c&&A.validatingFields&&h([e.name]),u[e.name]&&(o.valid=!1,t))break;!t&&(IA(u,e.name)?i?ju(r.errors,u,e.name):QA(r.errors,e.name,u[e.name]):cu(r.errors,e.name))}!nu(i)&&await w(i,t,o)}}return o.valid},v=(e,t)=>!n.disabled&&(e&&t&&QA(a,e,t),!YA(j(),i)),b=(e,t,n)=>WA(e,l,{...s.mount?a:NA(t)?i:qA(e)?{[e]:t}:t},n,t),x=(e,t,n={})=>{const r=IA(o,e);let i=t;if(r){const n=r._f;n&&(!n.disabled&&QA(a,e,mu(t,n)),i=iu(n.ref)&&_A(t)?"":t,au(n.ref)?[...n.ref.options].forEach(e=>e.selected=i.includes(e.value)):n.refs?bA(n.ref)?n.refs.forEach(e=>{e.defaultChecked&&e.disabled||(Array.isArray(i)?e.checked=!!i.find(t=>t===e.value):e.checked=i===e.value||!!i)}):n.refs.forEach(e=>e.checked=e.value===i):ru(n.ref)?n.ref.value="":(n.ref.value=i,n.ref.type||d.state.next({name:e,values:EA(a)})))}(n.shouldDirty||n.shouldTouch)&&g(e,i,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&S(e)},_=(e,t,n)=>{for(const r in t){if(!t.hasOwnProperty(r))return;const i=t[r],a=e+"."+r,s=IA(o,a);(l.array.has(e)||CA(i)||s&&!s._f)&&!xA(i)?_(a,i,n):x(a,i,n)}},B=(e,t,n={})=>{const c=IA(o,e),p=l.array.has(e),f=EA(t);QA(a,e,f),p?(d.array.next({name:e,values:EA(a)}),(A.isDirty||A.dirtyFields||u.isDirty||u.dirtyFields)&&n.shouldDirty&&d.state.next({name:e,dirtyFields:du(i,a),isDirty:v(e,f)})):!c||c._f||_A(f)?x(e,f,n):_(e,f,n),Cu(e,l)&&d.state.next({...r,name:e}),d.state.next({name:s.mount?e:void 0,values:EA(a)})},C=async e=>{s.mount=!0;const i=e.target;let m=i.name,v=!0;const b=IA(o,m),x=e=>{v=Number.isNaN(e)||xA(e)&&isNaN(e.getTime())||YA(e,IA(a,m,e))},_=xu(n.mode),B=xu(n.reValidateMode);if(b){let s,C;const k=i.type?wu(b._f):kA(e),j=e.type===TA||"focusout"===e.type,E=!(e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate))(b._f)&&!n.resolver&&!IA(r.errors,m)&&!b._f.deps||((e,t,n,r,o)=>!o.isOnAll&&(!n&&o.isOnTouch?!(t||e):(n?r.isOnBlur:o.isOnBlur)?!e:!(n?r.isOnChange:o.isOnChange)||e))(j,IA(r.touchedFields,m),r.isSubmitted,B,_),F=Cu(m,l,j);QA(a,m,k),j?i&&i.readOnly||(b._f.onBlur&&b._f.onBlur(e),t&&t(0)):b._f.onChange&&b._f.onChange(e);const N=g(m,k,j),U=!nu(N)||F;if(!j&&d.state.next({name:m,type:e.type,values:EA(a)}),E)return(A.isValid||u.isValid)&&("onBlur"===n.mode?j&&f():j||f()),U&&d.state.next({name:m,...F?{}:N});if(!j&&F&&d.state.next({...r}),n.resolver){const{errors:e}=await y([m]);if(x(k),v){const t=Su(r.errors,o,m),n=Su(e,o,t.name||m);s=n.error,m=n.name,C=nu(e)}}else h([m],!0),s=(await Nu(b,l.disabled,a,p,n.shouldUseNativeValidation))[m],h([m]),x(k),v&&(s?C=!1:(A.isValid||u.isValid)&&(C=await w(o,!0)));v&&(b._f.deps&&(!Array.isArray(b._f.deps)||b._f.deps.length>0)&&S(b._f.deps),((e,o,i,a)=>{const s=IA(r.errors,e),l=(A.isValid||u.isValid)&&PA(o)&&r.isValid!==o;var p;if(n.delayError&&i?(p=()=>((e,t)=>{QA(r.errors,e,t),d.state.next({errors:r.errors})})(e,i),t=e=>{clearTimeout(c),c=setTimeout(p,e)},t(n.delayError)):(clearTimeout(c),t=null,i?QA(r.errors,e,i):cu(r.errors,e)),(i?!YA(s,i):s)||!nu(a)||l){const t={...a,...l&&PA(o)?{isValid:o}:{},errors:r.errors,name:e};r={...r,...t},d.state.next(t)}})(m,C,s,N))}},k=(e,t)=>{if(IA(r.errors,t)&&e.focus)return e.focus(),1},S=async(e,t={})=>{let i,a;const s=ZA(e);if(n.resolver){const t=await(async e=>{const{errors:t}=await y(e);if(e)for(const n of e){const e=IA(t,n);e?QA(r.errors,n,e):cu(r.errors,n)}else r.errors=t;return t})(NA(e)?e:s);i=nu(t),a=e?!s.some(e=>IA(t,e)):i}else e?(a=(await Promise.all(s.map(async e=>{const t=IA(o,e);return await w(t&&t._f?{[e]:t}:t)}))).every(Boolean),(a||r.isValid)&&f()):a=i=await w(o);return d.state.next({...!qA(e)||(A.isValid||u.isValid)&&i!==r.isValid?{}:{name:e},...n.resolver||!e?{isValid:i}:{},errors:r.errors}),t.shouldFocus&&!a&&ku(o,k,e?s:l.mount),a},j=(e,t)=>{let n={...s.mount?a:i};return t&&(n=tu(t.dirtyFields?r.dirtyFields:r.touchedFields,n)),NA(e)?n:qA(e)?IA(n,e):e.map(e=>IA(n,e))},E=(e,t)=>({invalid:!!IA((t||r).errors,e),isDirty:!!IA((t||r).dirtyFields,e),error:IA((t||r).errors,e),isValidating:!!IA(r.validatingFields,e),isTouched:!!IA((t||r).touchedFields,e)}),F=(e,t,n)=>{const i=(IA(o,e,{_f:{}})._f||{}).ref,a=IA(r.errors,e)||{},{ref:s,message:l,type:c,...A}=a;QA(r.errors,e,{...A,...t,ref:i}),d.state.next({name:e,errors:r.errors,isValid:!1}),n&&n.shouldFocus&&i&&i.focus&&i.focus()},N=e=>d.state.subscribe({next:t=>{var n,o,s;n=e.name,o=t.name,s=e.exact,n&&o&&n!==o&&!ZA(n).some(e=>e&&(s?e===o:e.startsWith(o)||o.startsWith(e)))||!((e,t,n,r)=>{n(e);const{name:o,...i}=e;return nu(i)||Object.keys(i).length>=Object.keys(t).length||Object.keys(i).find(e=>t[e]===(!r||RA))})(t,e.formState||A,O,e.reRenderRoot)||e.callback({values:{...a},...r,...t,defaultValues:i})}}).unsubscribe,U=(e,t={})=>{for(const s of e?ZA(e):l.mount)l.mount.delete(s),l.array.delete(s),t.keepValue||(cu(o,s),cu(a,s)),!t.keepError&&cu(r.errors,s),!t.keepDirty&&cu(r.dirtyFields,s),!t.keepTouched&&cu(r.touchedFields,s),!t.keepIsValidating&&cu(r.validatingFields,s),!n.shouldUnregister&&!t.keepDefaultValue&&cu(i,s);d.state.next({values:EA(a)}),d.state.next({...r,...t.keepDirty?{isDirty:v()}:{}}),!t.keepIsValid&&f()},L=({disabled:e,name:t})=>{(PA(e)&&s.mount||e||l.disabled.has(t))&&(e?l.disabled.add(t):l.disabled.delete(t))},I=(e,t={})=>{let r=IA(o,e);const a=PA(t.disabled)||PA(n.disabled);return QA(o,e,{...r||{},_f:{...r&&r._f?r._f:{ref:{name:e}},name:e,mount:!0,...t}}),l.mount.add(e),r?L({disabled:PA(t.disabled)?t.disabled:n.disabled,name:e}):m(e,!0,t.value),{...a?{disabled:t.disabled||n.disabled}:{},...n.progressive?{required:!!t.required,min:bu(t.min),max:bu(t.max),minLength:bu(t.minLength),maxLength:bu(t.maxLength),pattern:bu(t.pattern)}:{},name:e,onChange:C,onBlur:C,ref:a=>{if(a){I(e,t),r=IA(o,e);const n=NA(a.value)&&a.querySelectorAll&&a.querySelectorAll("input,select,textarea")[0]||a,s=(e=>su(e)||bA(e))(n),l=r._f.refs||[];if(s?l.find(e=>e===n):n===r._f.ref)return;QA(o,e,{_f:{...r._f,...s?{refs:[...l.filter(lu),n,...Array.isArray(IA(i,e))?[{}]:[]],ref:{type:n.type,name:e}}:{ref:n}}}),m(e,!1,void 0,n)}else r=IA(o,e,{}),r._f&&(r._f.mount=!1),(n.shouldUnregister||t.shouldUnregister)&&(!SA(l.array,e)||!s.action)&&l.unMount.add(e)}}},P=()=>n.shouldFocusError&&ku(o,k,l.mount),Q=(e,t)=>async i=>{let s;i&&(i.preventDefault&&i.preventDefault(),i.persist&&i.persist());let c=EA(a);if(d.state.next({isSubmitting:!0}),n.resolver){const{errors:e,values:t}=await y();r.errors=e,c=EA(t)}else await w(o);if(l.disabled.size)for(const e of l.disabled)cu(c,e);if(cu(r.errors,"root"),nu(r.errors)){d.state.next({errors:{}});try{await e(c,i)}catch(e){s=e}}else t&&await t({...r.errors},i),P(),setTimeout(P);if(d.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:nu(r.errors)&&!s,submitCount:r.submitCount+1,errors:r.errors}),s)throw s},T=(e,t={})=>{const c=e?EA(e):i,u=EA(c),p=nu(e),f=p?i:u;if(t.keepDefaultValues||(i=c),!t.keepValues){if(t.keepDirtyValues){const e=new Set([...l.mount,...Object.keys(du(i,a))]);for(const t of Array.from(e))IA(r.dirtyFields,t)?QA(f,t,IA(a,t)):B(t,IA(f,t))}else{if(jA&&NA(e))for(const e of l.mount){const t=IA(o,e);if(t&&t._f){const e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(iu(e)){const t=e.closest("form");if(t){t.reset();break}}}}if(t.keepFieldsRef)for(const e of l.mount)B(e,IA(f,e));else o={}}a=n.shouldUnregister?t.keepDefaultValues?EA(i):{}:EA(f),d.array.next({values:{...f}}),d.state.next({values:{...f}})}l={mount:t.keepDirtyValues?l.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},s.mount=!A.isValid||!!t.keepIsValid||!!t.keepDirtyValues,s.watch=!!n.shouldUnregister,d.state.next({submitCount:t.keepSubmitCount?r.submitCount:0,isDirty:!p&&(t.keepDirty?r.isDirty:!(!t.keepDefaultValues||YA(e,i))),isSubmitted:!!t.keepIsSubmitted&&r.isSubmitted,dirtyFields:p?{}:t.keepDirtyValues?t.keepDefaultValues&&a?du(i,a):r.dirtyFields:t.keepDefaultValues&&e?du(i,e):t.keepDirty?r.dirtyFields:{},touchedFields:t.keepTouched?r.touchedFields:{},errors:t.keepErrors?r.errors:{},isSubmitSuccessful:!!t.keepIsSubmitSuccessful&&r.isSubmitSuccessful,isSubmitting:!1,defaultValues:i})},D=(e,t)=>T(ou(e)?e(a):e,t),O=e=>{r={...r,...e}},R={control:{register:I,unregister:U,getFieldState:E,handleSubmit:Q,setError:F,_subscribe:N,_runSchema:y,_focusError:P,_getWatch:b,_getDirty:v,_setValid:f,_setFieldArray:(e,t=[],l,c,p=!0,f=!0)=>{if(c&&l&&!n.disabled){if(s.action=!0,f&&Array.isArray(IA(o,e))){const t=l(IA(o,e),c.argA,c.argB);p&&QA(o,e,t)}if(f&&Array.isArray(IA(r.errors,e))){const t=l(IA(r.errors,e),c.argA,c.argB);p&&QA(r.errors,e,t),((e,t)=>{!UA(IA(e,t)).length&&cu(e,t)})(r.errors,e)}if((A.touchedFields||u.touchedFields)&&f&&Array.isArray(IA(r.touchedFields,e))){const t=l(IA(r.touchedFields,e),c.argA,c.argB);p&&QA(r.touchedFields,e,t)}(A.dirtyFields||u.dirtyFields)&&(r.dirtyFields=du(i,a)),d.state.next({name:e,isDirty:v(e,t),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else QA(a,e,t)},_setDisabledField:L,_setErrors:e=>{r.errors=e,d.state.next({errors:r.errors,isValid:!1})},_getFieldArray:e=>UA(IA(s.mount?a:i,e,n.shouldUnregister?IA(i,e,[]):[])),_reset:T,_resetDefaultValues:()=>ou(n.defaultValues)&&n.defaultValues().then(e=>{D(e,n.resetOptions),d.state.next({isLoading:!1})}),_removeUnmounted:()=>{for(const e of l.unMount){const t=IA(o,e);t&&(t._f.refs?t._f.refs.every(e=>!lu(e)):!lu(t._f.ref))&&U(e)}l.unMount=new Set},_disableForm:e=>{PA(e)&&(d.state.next({disabled:e}),ku(o,(t,n)=>{const r=IA(o,n);r&&(t.disabled=r._f.disabled||e,Array.isArray(r._f.refs)&&r._f.refs.forEach(t=>{t.disabled=r._f.disabled||e}))},0,!1))},_subjects:d,_proxyFormState:A,get _fields(){return o},get _formValues(){return a},get _state(){return s},set _state(e){s=e},get _defaultValues(){return i},get _names(){return l},set _names(e){l=e},get _formState(){return r},get _options(){return n},set _options(e){n={...n,...e}}},subscribe:e=>(s.mount=!0,u={...u,...e.formState},N({...e,formState:u})),trigger:S,register:I,handleSubmit:Q,watch:(e,t)=>ou(e)?d.state.subscribe({next:n=>"values"in n&&e(b(void 0,t),n)}):b(e,t,!0),setValue:B,getValues:j,reset:D,resetField:(e,t={})=>{IA(o,e)&&(NA(t.defaultValue)?B(e,EA(IA(i,e))):(B(e,t.defaultValue),QA(i,e,EA(t.defaultValue))),t.keepTouched||cu(r.touchedFields,e),t.keepDirty||(cu(r.dirtyFields,e),r.isDirty=t.defaultValue?v(e,EA(IA(i,e))):v()),t.keepError||(cu(r.errors,e),A.isValid&&f()),d.state.next({...r}))},clearErrors:e=>
2{e&&ZA(e).forEach(e=>cu(r.errors,e)),d.state.next({errors:e?r.errors:{}})},unregister:U,setError:F,setFocus:(e,t={})=>{const n=IA(o,e),r=n&&n._f;if(r){const e=r.refs?r.refs[0]:r.ref;e.focus&&(e.focus(),t.shouldSelect&&ou(e.select)&&e.select())}},getFieldState:E};return{...R,formControl:R}}var Iu=()=>{if("undefined"!=typeof crypto&&crypto.randomUUID)return crypto.randomUUID();const e="undefined"==typeof performance?Date.now():1e3*performance.now();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,t=>{const n=(16*Math.random()+e)%16|0;return("x"==t?n:3&n|8).toString(16)})},Pu=(e,t,n={})=>n.shouldFocus||NA(n.shouldFocus)?n.focusName||`${e}.${NA(n.focusIndex)?t:n.focusIndex}.`:"",Qu=(e,t)=>[...e,...ZA(t)],Tu=e=>Array.isArray(e)?e.map(()=>{}):void 0;function Du(e,t,n){return[...e.slice(0,t),...ZA(n),...e.slice(t)]}var Ou=(e,t,n)=>Array.isArray(e)?(NA(e[n])&&(e[n]=void 0),e.splice(n,0,e.splice(t,1)[0]),e):[],Ru=(e,t)=>[...ZA(t),...ZA(e)],Mu=(e,t)=>NA(t)?[]:function(e,t){let n=0;const r=[...e];for(const e of t)r.splice(e-n,1),n++;return UA(r).length?r:[]}(e,ZA(t).sort((e,t)=>e-t)),Hu=(e,t,n)=>{[e[t],e[n]]=[e[n],e[t]]},zu=(e,t,n)=>(e[t]=n,e);function Ku(e){const t=KA(),{control:r=t.control,name:o,keyName:i="id",shouldUnregister:a,rules:s}=e,[l,c]=n.useState(r._getFieldArray(o)),A=n.useRef(r._getFieldArray(o).map(Iu)),u=n.useRef(l),d=n.useRef(!1);u.current=l,r._names.array.add(o),n.useMemo(()=>s&&r.register(o,s),[r,s,o]),VA(()=>r._subjects.array.subscribe({next:({values:e,name:t})=>{if(t===o||!t){const t=IA(e,o);Array.isArray(t)&&(c(t),A.current=t.map(Iu))}}}).unsubscribe,[r,o]);const p=n.useCallback(e=>{d.current=!0,r._setFieldArray(o,e)},[r,o]);return n.useEffect(()=>{if(r._state.action=!1,Cu(o,r._names)&&r._subjects.state.next({...r._formState}),d.current&&(!xu(r._options.mode).isOnSubmit||r._formState.isSubmitted)&&!xu(r._options.reValidateMode).isOnSubmit)if(r._options.resolver)r._runSchema([o]).then(e=>{const t=IA(e.errors,o),n=IA(r._formState.errors,o);(n?!t&&n.type||t&&(n.type!==t.type||n.message!==t.message):t&&t.type)&&(t?QA(r._formState.errors,o,t):cu(r._formState.errors,o),r._subjects.state.next({errors:r._formState.errors}))});else{const e=IA(r._fields,o);!e||!e._f||xu(r._options.reValidateMode).isOnSubmit&&xu(r._options.mode).isOnSubmit||Nu(e,r._names.disabled,r._formValues,r._options.criteriaMode===RA,r._options.shouldUseNativeValidation,!0).then(e=>!nu(e)&&r._subjects.state.next({errors:ju(r._formState.errors,e,o)}))}r._subjects.state.next({name:o,values:EA(r._formValues)}),r._names.focus&&ku(r._fields,(e,t)=>{if(r._names.focus&&t.startsWith(r._names.focus)&&e.focus)return e.focus(),1}),r._names.focus="",r._setValid(),d.current=!1},[l,o,r]),n.useEffect(()=>(!IA(r._formValues,o)&&r._setFieldArray(o),()=>{r._options.shouldUnregister||a?r.unregister(o):(e=>{const t=IA(r._fields,e);t&&t._f&&(t._f.mount=!1)})(o)}),[o,r,i,a]),{swap:n.useCallback((e,t)=>{const n=r._getFieldArray(o);Hu(n,e,t),Hu(A.current,e,t),p(n),c(n),r._setFieldArray(o,n,Hu,{argA:e,argB:t},!1)},[p,o,r]),move:n.useCallback((e,t)=>{const n=r._getFieldArray(o);Ou(n,e,t),Ou(A.current,e,t),p(n),c(n),r._setFieldArray(o,n,Ou,{argA:e,argB:t},!1)},[p,o,r]),prepend:n.useCallback((e,t)=>{const n=ZA(EA(e)),i=Ru(r._getFieldArray(o),n);r._names.focus=Pu(o,0,t),A.current=Ru(A.current,n.map(Iu)),p(i),c(i),r._setFieldArray(o,i,Ru,{argA:Tu(e)})},[p,o,r]),append:n.useCallback((e,t)=>{const n=ZA(EA(e)),i=Qu(r._getFieldArray(o),n);r._names.focus=Pu(o,i.length-1,t),A.current=Qu(A.current,n.map(Iu)),p(i),c(i),r._setFieldArray(o,i,Qu,{argA:Tu(e)})},[p,o,r]),remove:n.useCallback(e=>{const t=Mu(r._getFieldArray(o),e);A.current=Mu(A.current,e),p(t),c(t),!Array.isArray(IA(r._fields,o))&&QA(r._fields,o,void 0),r._setFieldArray(o,t,Mu,{argA:e})},[p,o,r]),insert:n.useCallback((e,t,n)=>{const i=ZA(EA(t)),a=Du(r._getFieldArray(o),e,i);r._names.focus=Pu(o,e,n),A.current=Du(A.current,e,i.map(Iu)),p(a),c(a),r._setFieldArray(o,a,Du,{argA:e,argB:Tu(t)})},[p,o,r]),update:n.useCallback((e,t)=>{const n=EA(t),i=zu(r._getFieldArray(o),e,n);A.current=[...i].map((t,n)=>t&&n!==e?A.current[n]:Iu()),p(i),c([...i]),r._setFieldArray(o,i,zu,{argA:e,argB:n},!0,!1)},[p,o,r]),replace:n.useCallback(e=>{const t=ZA(EA(e));A.current=t.map(Iu),p([...t]),c([...t]),r._setFieldArray(o,[...t],e=>e,{},!0,!1)},[p,o,r]),fields:n.useMemo(()=>l.map((e,t)=>({...e,[i]:A.current[t]||Iu()})),[l,i])}}function $u(e={}){const t=n.useRef(void 0),r=n.useRef(void 0),[o,i]=n.useState({isDirty:!1,isValidating:!1,isLoading:ou(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:ou(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:o},e.defaultValues&&!ou(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:n,...r}=Lu(e);t.current={...r,formState:o}}const a=t.current.control;return a._options=e,VA(()=>{const e=a._subscribe({formState:a._proxyFormState,callback:()=>i({...a._formState}
2),reRenderRoot:!0});return i(e=>({...e,isReady:!0})),a._formState.isReady=!0,e},[a]),n.useEffect(()=>a._disableForm(e.disabled),[a,e.disabled]),n.useEffect(()=>{e.mode&&(a._options.mode=e.mode),e.reValidateMode&&(a._options.reValidateMode=e.reValidateMode)},[a,e.mode,e.reValidateMode]),n.useEffect(()=>{e.errors&&(a._setErrors(e.errors),a._focusError())},[a,e.errors]),n.useEffect(()=>{e.shouldUnregister&&a._subjects.state.next({values:a._getWatch()})},[a,e.shouldUnregister]),n.useEffect(()=>{if(a._proxyFormState.isDirty){const e=a._getDirty();e!==o.isDirty&&a._subjects.state.next({isDirty:e})}},[a,o.isDirty]),n.useEffect(()=>{e.values&&!YA(e.values,r.current)?(a._reset(e.values,{keepFieldsRef:!0,...a._options.resetOptions}),r.current=e.values,i(e=>({...e}))):a._resetDefaultValues()},[a,e.values]),n.useEffect(()=>{a._state.mount||(a._setValid(),a._state.mount=!0),a._state.watch&&(a._state.watch=!1,a._subjects.state.next({...a._formState})),a._removeUnmounted()}),t.current.formState=$A(o,a),t.current}const Vu=(e,t,n)=>{if(e&&"reportValidity"in e){const r=IA(n,t);e.setCustomValidity(r&&r.message||""),e.reportValidity()}},qu=(e,t)=>{for(const n in t.fields){const r=t.fields[n];r&&r.ref&&"reportValidity"in r.ref?Vu(r.ref,n,e):r&&r.refs&&r.refs.forEach(t=>Vu(t,n,e))}},Wu=(e,t)=>{t.shouldUseNativeValidation&&qu(e,t);const n={};for(const r in e){const o=IA(t.fields,r),i=Object.assign(e[r]||{},{ref:o&&o.ref});if(Gu(t.names||Object.keys(e),r)){const e=Object.assign({},IA(n,r));QA(e,"root",i),QA(n,r,e)}else QA(n,r,i)}return n},Gu=(e,t)=>{const n=Yu(t);return e.some(e=>Yu(e).match(`^${n}\\.\\d+`))};function Yu(e){return e.replace(/\]|\[/g,"")}function Xu(e,t,n){function r(n,r){var o;Object.defineProperty(n,"_zod",{value:n._zod??{},enumerable:!1}),(o=n._zod).traits??(o.traits=new Set),n._zod.traits.add(e),t(n,r);for(const e in a.prototype)e in n||Object.defineProperty(n,e,{value:a.prototype[e].bind(n)});n._zod.constr=a,n._zod.def=r}const o=n?.Parent??Object;class i extends o{}function a(e){var t;const o=n?.Parent?new i:this;r(o,e),(t=o._zod).deferred??(t.deferred=[]);for(const e of o._zod.deferred)e();return o}return Object.defineProperty(i,"name",{value:e}),Object.defineProperty(a,"init",{value:r}),Object.defineProperty(a,Symbol.hasInstance,{value:t=>!!(n?.Parent&&t instanceof n.Parent)||t?._zod?.traits?.has(e)}),Object.defineProperty(a,"name",{value:e}),a}Object.freeze({status:"aborted"}),Symbol("zod_brand");class Ju extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class Zu extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name="ZodEncodeError"}}const ed={};function td(e){return e&&Object.assign(ed,e),ed}function nd(e,t="|"){return e.map(e=>bd(e)).join(t)}function rd(e,t){return"bigint"==typeof t?t.toString():t}function od(e){return{get value(){{const t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function id(e){return null==e}function ad(e){const t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}const sd=Symbol("evaluating");function ld(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==sd)return void 0===r&&(r=sd,r=n()),r},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function cd(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function Ad(...e){const t={};for(const n of e){const e=Object.getOwnPropertyDescriptors(n);Object.assign(t,e)}return Object.defineProperties({},t)}function ud(e){return JSON.stringify(e)}const dd="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function pd(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}const fd=od(()=>{if("undefined"!=typeof navigator&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch(e){return!1}});function hd(e){if(!1===pd(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!1!==pd(n)&&!1!==Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")}function md(e){return hd(e)?{...e}:Array.isArray(e)?[...e]:e}const gd=new Set(["string","number","symbol"]);function yd(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function wd(e,t,n){const r=new e._zod.constr(t??e._zod.def);return t&&!n?.parent||(r._zod.parent=e),r}function vd(e){const t=e;if(!t)return{};if("string"==typeof t)return{error:()=>t};if(void 0!==t?.message){if(void 0!==t?.error)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,"string"==typeof t.error?{...t,error:()=>t.error}:t}function bd(e){return"bigint"==typeof e?e.toString()+"n":"string"==typeof e?`"${e}"`:`${e}`}new Set(["string","number","bigint","boolean","symbol","undefined"]);const xd={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function _d(e,t=0){if(!0===e.aborted)return!0;for(let n=t;n<e.issues.length;n++)if(!0!==e.issues[n]?.continue)return!0;return!1}function Bd(e,t){return t.map(t=>{var n;return(n=t).path??(n.path=[]),t.path.unshift(e),t})}function Cd(e){return"string"==typeof e?e:e?.message}function kd(e,t,n){const r={...e,path:e.path??[]};if(!e.message){const o=Cd(e.inst?._zod.def?.error?.(e))??Cd(t?.error?.(e))??Cd(n.customError?.(e))??Cd(n.localeError?.(e))??"Invalid input";r.message=o}return delete r.inst,delete r.continue,t?.reportInput||delete r.input,r}function Sd(e){return Array.isArray(e)?"array":"string"==typeof e?"string":"unknown"}
vendor: 6,666 bytes, line 2
2function jd(...e){const[t,n,r]=e;return"string"==typeof t?{message:t,code:"custom",input:n,inst:r}:{...t}}const Ed=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,rd,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},Fd=Xu("$ZodError",Ed),Nd=Xu("$ZodError",Ed,{Parent:Error}),Ud=e=>(t,n,r,o)=>{const i=r?Object.assign(r,{async:!1}):{async:!1},a=t._zod.run({value:n,issues:[]},i);if(a instanceof Promise)throw new Ju;if(a.issues.length){const t=new(o?.Err??e)(a.issues.map(e=>kd(e,i,td())));throw dd(t,o?.callee),t}return a.value},Ld=Ud(Nd),Id=e=>async(t,n,r,o)=>{const i=r?Object.assign(r,{async:!0}):{async:!0};let a=t._zod.run({value:n,issues:[]},i);if(a instanceof Promise&&(a=await a),a.issues.length){const t=new(o?.Err??e)(a.issues.map(e=>kd(e,i,td())));throw dd(t,o?.callee),t}return a.value},Pd=Id(Nd),Qd=e=>(t,n,r)=>{const o=r?{...r,async:!1}:{async:!1},i=t._zod.run({value:n,issues:[]},o);if(i instanceof Promise)throw new Ju;return i.issues.length?{success:!1,error:new(e??Fd)(i.issues.map(e=>kd(e,o,td())))}:{success:!0,data:i.value}},Td=Qd(Nd),Dd=e=>async(t,n,r)=>{const o=r?Object.assign(r,{async:!0}):{async:!0};let i=t._zod.run({value:n,issues:[]},o);return i instanceof Promise&&(i=await i),i.issues.length?{success:!1,error:new e(i.issues.map(e=>kd(e,o,td())))}:{success:!0,data:i.value}},Od=Dd(Nd),Rd=e=>(t,n,r)=>{const o=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return Ud(e)(t,n,o)},Md=e=>(t,n,r)=>Ud(e)(t,n,r),Hd=e=>async(t,n,r)=>{const o=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return Id(e)(t,n,o)},zd=e=>async(t,n,r)=>Id(e)(t,n,r),Kd=e=>(t,n,r)=>{const o=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return Qd(e)(t,n,o)},$d=e=>(t,n,r)=>Qd(e)(t,n,r),Vd=e=>async(t,n,r)=>{const o=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return Dd(e)(t,n,o)},qd=e=>async(t,n,r)=>Dd(e)(t,n,r),Wd=/^[cC][^\s-]{8,}$/,Gd=/^[0-9a-z]+$/,Yd=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,Xd=/^[0-9a-vA-V]{20}$/,Jd=/^[A-Za-z0-9]{27}$/,Zd=/^[a-zA-Z0-9_-]{21}$/,ep=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,tp=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,np=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,rp=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,op=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ip=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,ap=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,sp=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,lp=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,cp=/^[A-Za-z0-9_-]*$/,Ap=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,up=/^\+(?:[0-9]){6,14}[0-9]$/,dp="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",pp=new RegExp(`^${dp}$`);function fp(e){const t="(?:[01]\\d|2[0-3]):[0-5]\\d";return"number"==typeof e.precision?-1===e.precision?`${t}`:0===e.precision?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}const hp=/^-?\d+$/,mp=/^-?\d+(?:\.\d+)?/,gp=/^(?:true|false)$/i,yp=/^undefined$/i,wp=/^[^A-Z]*$/,vp=/^[^a-z]*$/,bp=Xu("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),xp={number:"number",bigint:"bigint",object:"date"},_p=Xu("$ZodCheckLessThan",(e,t)=>{bp.init(e,t);const n=xp[typeof t.value];e._zod.onattach.push(e=>{const n=e._zod.bag,r=(t.inclusive?n.maximum:n.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<r&&(t.inclusive?n.maximum=t.value:n.exclusiveMaximum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:n,code:"too_big",maximum:t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Bp=Xu("$ZodCheckGreaterThan",(e,t)=>{bp.init(e,t);const n=xp[typeof t.value];e._zod.onattach.push(e=>{const n=e._zod.bag,r=(t.inclusive?n.minimum:n.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>r&&(t.inclusive?n.minimum=t.value:n.exclusiveMinimum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:n,code:"too_small",minimum:t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Cp=Xu("$ZodCheckMultipleOf",(e,t)=>{bp.init(e,t),e._zod.onattach.push(e=>{var n;(n=e._zod.bag).multipleOf??(n.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");("bigint"==typeof n.value?n.value%t.value===BigInt(0):0===function(e,t){const n=(e.toString().split(".")[1]||"").length,r=t.toString();let o=(r.split(".")[1]||"").length;if(0===o&&/\d?e-\d?/.test(r)){const e=r.match(/\d?e-(\d?)/);e?.[1]&&(o=Number.parseInt(e[1]))}const i=n>o?n:o;return Number.parseInt(e.toFixed(i).replace(".",""))%Number.parseInt(t.toFixed(i).replace(".",""))/10**i}(n.value,t.value))||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),kp=Xu("$ZodCheckNumberFormat",(e,t)=>{bp.init(e,t),t.format=t.format||"float64";const n=t.format?.includes("int"),r=n?"int":"number",[o,i]=xd[t.format];e._zod.onattach.push(e=>{const r=e._zod.bag;r.format=t.format,r.minimum=o,r.maximum=i,n&&(r.pattern=hp)}),e._zod.check=a=>{const s=a.value;if(n){if(!Number.isInteger(s))return void a.issues.push({expected:r,format:t.format,code:"invalid_type",continue:!1,input:s,inst:e});if(!Number.isSafeInteger(s))return void(s>
20?a.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,continue:!t.abort}):a.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,continue:!t.abort}))}s<o&&a.issues.push({origin:"number",input:s,code:"too_small",minimum:o,inclusive:!0,inst:e,continue:!t.abort}),s>i&&a.issues.push({origin:"number",input:s,code:"too_big",maximum:i,inst:e})}}),Sp=Xu("$ZodCheckMaxLength",(e,t)=>{var n;bp.init(e,t),(n=e._zod.def).when??(n.when=e=>{const t=e.value;return!id(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{const n=e._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<n&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{const r=n.value;if(r.length<=t.maximum)return;const o=Sd(r);n.issues.push({origin:o,code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),jp=Xu("$ZodCheckMinLength",(e,t)=>{var n;bp.init(e,t),(n=e._zod.def).when??(n.when=e=>{const t=e.value;return!id(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{const n=e._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>n&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{const r=n.value;if(r.length>=t.minimum)return;const o=Sd(r);n.issues.push({origin:o,code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Ep=Xu("$ZodCheckLengthEquals",(e,t)=>{var n;bp.init(e,t),(n=e._zod.def).when??(n.when=e=>{const t=e.value;return!id(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{const n=e._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length}),e._zod.check=n=>{const r=n.value,o=r.length;if(o===t.length)return;const i=Sd(r),a=o>t.length;n.issues.push({origin:i,...a?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),Fp=Xu("$ZodCheckStringFormat",(e,t)=>{var n,r;bp.init(e,t),e._zod.onattach.push(e=>{const n=e._zod.bag;n.format=t.format,t.pattern&&(n.patterns??(n.patterns=new Set),n.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=n=>{t.pattern.lastIndex=0,t.pattern.test(n.value)||n.issues.push({origin:"string",code:"invalid_format",format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),Np=Xu("$ZodCheckRegex",(e,t)=>{Fp.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,t.pattern.test(n.value)||n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),Up=Xu("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=wp),Fp.init(e,t)}),Lp=Xu("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=vp),Fp.init(e,t)}),Ip=Xu("$ZodCheckIncludes",(e,t)=>{bp.init(e,t);const n=yd(t.includes),r=new RegExp("number"==typeof t.position?`^.{${t.position}}${n}`:n);t.pattern=r,e._zod.onattach.push(e=>{const t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(r)}),e._zod.check=n=>{n.value.includes(t.includes,t.position)||n.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),Pp=Xu("$ZodCheckStartsWith",(e,t)=>{bp.init(e,t);const n=new RegExp(`^${yd(t.prefix)}.*`);t.pattern??(t.pattern=n),e._zod.onattach.push(e=>{const t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(n)}),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),Qp=Xu("$ZodCheckEndsWith",(e,t)=>{bp.init(e,t);const n=new RegExp(`.*${yd(t.suffix)}$`);t.pattern??(t.pattern=n),e._zod.onattach.push(e=>{const t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(n)}),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}}),Tp=Xu("$ZodCheckOverwrite",(e,t)=>{bp.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}});class Dp{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),this.indent-=1}write(e){if("function"==typeof e)return e(this,{execution:"sync"}),void e(this,{execution:"async"});const t=e.split("\n").filter(e=>e),n=Math.min(...t.map(e=>e.length-e.trimStart().length)),r=t.map(e=>e.slice(n)).map(e=>" ".repeat(2*this.indent)+e);for(const e of r)this.content.push(e)}compile(){const e=Function,t=this?.args;return new e(...t,[...(this?.content??[""]).map(e=>`  ${e}`)].join("\n"))}}const Op={major:4,minor:1,patch:11},Rp=Xu("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Op;const r=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&r.unshift(e);for(const t of r)for(const n of t._zod.onattach)n(e);if(0===r.length)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{const t=(e,t,n)=>{let r,o=_d(e);for(const i of t){if(i._zod.def.when){if(!i._zod.def.when(e))continue}else if(o)continue;const t=e.issues.length,a=i._zod.check(e);if(a instanceof Promise&&!1===n?.async)throw new Ju;if(r||a instanceof Promise)r=(r??Promise.resolve()).then(async()=>{await a,e.issues.length!==t&&(o||(o=_d(e,t)))});else{if(e.issues.length===t)continue;o||(o=_d(e,t))}}return r?r.then(()=>e):e},n=(n,o,i)=>{if(_d(n))return n.aborted=!0,n;const a=t(o,r,i);if(a instanceof Promise){if(!1===i.async)throw new Ju;return a.then(t=>e._zod.parse(t,i))}return e._zod.parse(a,i)};e._zod.run=(o,i)=>{if(i.skipChecks)return e._zod.parse(o,i);if("backward"===i.direction){const t=e._zod.parse({value:o.value,issues:[]},{...i,skipChecks:!0});return t instanceof Promise?t.then(e=>n(e,o,i)):n(t,o,i)}const a=e._zod.parse(o,i);if(a instanceof Promise){if(!1===i.async)throw new Ju;return a.then(e=>t(e,r,i))}return t(a,r,i)}}e["~standard"]={validate:t=>{try{const n=Td(e,t);return n.success?{value:n.data}:{issues:n.error?.issues}}catch(n){return Od(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:"zod",version:1}}),Mp=Xu("$ZodString",(e,t)=>{var n;Rp.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??(n=e._zod.bag,new RegExp(`^${n?`[\\s\\S]{${n?.minimum??0},${n?.maximum??""}}`:"[\\s\\S]*"}$`)),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch(r){}return"string"==typeof n.value||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}}),Hp=Xu("$ZodStringFormat",(e,t)=>{Fp.init(e,t),Mp.init(e,t)}),zp=Xu("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=tp),Hp.init(e,t)}),Kp=Xu("$ZodUUID",(e,t)=>{if(t.version){const e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(void 0===e)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=np(e))}else t.pattern??(t.pattern=np());Hp.init(e,t)}),$p=Xu("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=rp),Hp.init(e,t)}),Vp=Xu("$ZodURL",(e,t)=>{Hp.init(e,t),e._zod.check=n=>{try{const r=n.value.trim(),o=new URL(r);return t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(o.hostname)||n.issues.push({code:"invalid_format",format:"url",n
2ote:"Invalid hostname",pattern:Ap.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(o.protocol.endsWith(":")?o.protocol.slice(0,-1):o.protocol)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),void(t.normalize?n.value=o.href:n.value=r)}catch(r){n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),qp=Xu("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=new RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),Hp.init(e,t)}),Wp=Xu("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=Zd),Hp.init(e,t)}),Gp=Xu("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=Wd),Hp.init(e,t)}),Yp=Xu("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=Gd),Hp.init(e,t)}),Xp=Xu("$ZodULID",(e,t)=>{t.pattern??(t.pattern=Yd),Hp.init(e,t)}),Jp=Xu("$ZodXID",(e,t)=>{t.pattern??(t.pattern=Xd),Hp.init(e,t)}),Zp=Xu("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=Jd),Hp.init(e,t)}),ef=Xu("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=function(e){const t=fp({precision:e.precision}),n=["Z"];e.local&&n.push(""),e.offset&&n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const r=`${t}(?:${n.join("|")})`;return new RegExp(`^${dp}T(?:${r})$`)}(t)),Hp.init(e,t)}),tf=Xu("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=pp),Hp.init(e,t)}),nf=Xu("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=new RegExp(`^${fp(t)}$`)),Hp.init(e,t)}),rf=Xu("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=ep),Hp.init(e,t)}),of=Xu("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=op),Hp.init(e,t),e._zod.onattach.push(e=>{e._zod.bag.format="ipv4"})}),af=Xu("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=ip),Hp.init(e,t),e._zod.onattach.push(e=>{e._zod.bag.format="ipv6"}),e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!t.abort})}}}),sf=Xu("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=ap),Hp.init(e,t)}),lf=Xu("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=sp),Hp.init(e,t),e._zod.check=n=>{const r=n.value.split("/");try{if(2!==r.length)throw new Error;const[e,t]=r;if(!t)throw new Error;const n=Number(t);if(`${n}`!==t)throw new Error;if(n<0||n>128)throw new Error;new URL(`http://[${e}]`)}catch{n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}}});function cf(e){if(""===e)return!0;if(e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}const Af=Xu("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=lp),Hp.init(e,t),e._zod.onattach.push(e=>{e._zod.bag.contentEncoding="base64"}),e._zod.check=n=>{cf(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}}),uf=Xu("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=cp),Hp.init(e,t),e._zod.onattach.push(e=>{e._zod.bag.contentEncoding="base64url"}),e._zod.check=n=>{(function(e){if(!cp.test(e))return!1;const t=e.replace(/[-_]/g,e=>"-"===e?"+":"/");return cf(t.padEnd(4*Math.ceil(t.length/4),"="))})(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),df=Xu("$ZodE164",(e,t)=>{t.pattern??(t.pattern=up),Hp.init(e,t)}),pf=Xu("$ZodJWT",(e,t)=>{Hp.init(e,t),e._zod.check=n=>{(function(e,t=null){try{const n=e.split(".");if(3!==n.length)return!1;const[r]=n;if(!r)return!1;const o=JSON.parse(atob(r));return!("typ"in o&&"JWT"!==o?.typ||!o.alg||t&&(!("alg"in o)||o.alg!==t))}catch{return!1}})(n.value,t.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}}),ff=Xu("$ZodNumber",(e,t)=>{Rp.init(e,t),e._zod.pattern=e._zod.bag.pattern??mp,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value)}catch(e){}const o=n.value;if("number"==typeof o&&!Number.isNaN(o)&&Number.isFinite(o))return n;const i="number"==typeof o?Number.isNaN(o)?"NaN":Number.isFinite(o)?void 0:"Infinity":void 0;return n.issues.push({expected:"number",code:"invalid_type",input:o,inst:e,...i?{received:i}:{}}),n}}),hf=Xu("$ZodNumber",(e,t)=>{kp.init(e,t),ff.init(e,t)}),mf=Xu("$ZodBoolean",(e,t)=>{Rp.init(e,t),e._zod.pattern=gp,e._zod.parse=(n,r)=>
2{if(t.coerce)try{n.value=Boolean(n.value)}catch(e){}const o=n.value;return"boolean"==typeof o||n.issues.push({expected:"boolean",code:"invalid_type",input:o,inst:e}),n}}),gf=Xu("$ZodUndefined",(e,t)=>{Rp.init(e,t),e._zod.pattern=yp,e._zod.values=new Set([void 0]),e._zod.optin="optional",e._zod.optout="optional",e._zod.parse=(t,n)=>{const r=t.value;return void 0===r||t.issues.push({expected:"undefined",code:"invalid_type",input:r,inst:e}),t}}),yf=Xu("$ZodAny",(e,t)=>{Rp.init(e,t),e._zod.parse=e=>e}),wf=Xu("$ZodUnknown",(e,t)=>{Rp.init(e,t),e._zod.parse=e=>e}),vf=Xu("$ZodNever",(e,t)=>{Rp.init(e,t),e._zod.parse=(t,n)=>(t.issues.push({expected:"never",code:"invalid_type",input:t.value,inst:e}),t)}),bf=Xu("$ZodDate",(e,t)=>{Rp.init(e,t),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=new Date(n.value)}catch(e){}const o=n.value,i=o instanceof Date;return i&&!Number.isNaN(o.getTime())||n.issues.push({expected:"date",code:"invalid_type",input:o,...i?{received:"Invalid Date"}:{},inst:e}),n}});function xf(e,t,n){e.issues.length&&t.issues.push(...Bd(n,e.issues)),t.value[n]=e.value}const _f=Xu("$ZodArray",(e,t)=>{Rp.init(e,t),e._zod.parse=(n,r)=>{const o=n.value;if(!Array.isArray(o))return n.issues.push({expected:"array",code:"invalid_type",input:o,inst:e}),n;n.value=Array(o.length);const i=[];for(let e=0;e<o.length;e++){const a=o[e],s=t.element._zod.run({value:a,issues:[]},r);s instanceof Promise?i.push(s.then(t=>xf(t,n,e))):xf(s,n,e)}return i.length?Promise.all(i).then(()=>n):n}});function Bf(e,t,n,r){e.issues.length&&t.issues.push(...Bd(n,e.issues)),void 0===e.value?n in r&&(t.value[n]=void 0):t.value[n]=e.value}function Cf(e){const t=Object.keys(e.shape);for(const n of t)if(!e.shape?.[n]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${n}": expected a Zod schema`);const n=(r=e.shape,Object.keys(r).filter(e=>"optional"===r[e]._zod.optin&&"optional"===r[e]._zod.optout));var r;return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function kf(e,t,n,r,o,i){const a=[],s=o.keySet,l=o.catchall._zod,c=l.def.type;for(const o of Object.keys(t)){if(s.has(o))continue;if("never"===c){a.push(o);continue}const i=l.run({value:t[o],issues:[]},r);i instanceof Promise?e.push(i.then(e=>Bf(e,n,o,t))):Bf(i,n,o,t)}return a.length&&n.issues.push({code:"unrecognized_keys",keys:a,input:t,inst:i}),e.length?Promise.all(e).then(()=>n):n}const Sf=Xu("$ZodObject",(e,t)=>{Rp.init(e,t);const n=Object.getOwnPropertyDescriptor(t,"shape");if(!n?.get){const e=t.shape;Object.defineProperty(t,"shape",{get:()=>{const n={...e};return Object.defineProperty(t,"shape",{value:n}),n}})}const r=od(()=>Cf(t));ld(e._zod,"propValues",()=>{const e=t.shape,n={};for(const t in e){const r=e[t]._zod;if(r.values){n[t]??(n[t]=new Set);for(const e of r.values)n[t].add(e)}}return n});const o=pd,i=t.catchall;let a;e._zod.parse=(t,n)=>{a??(a=r.value);const s=t.value;if(!o(s))return t.issues.push({expected:"object",code:"invalid_type",input:s,inst:e}),t;t.value={};const l=[],c=a.shape;for(const e of a.keys){const r=c[e]._zod.run({value:s[e],issues:[]},n);r instanceof Promise?l.push(r.then(n=>Bf(n,t,e,s))):Bf(r,t,e,s)}return i?kf(l,s,t,n,r.value,e):l.length?Promise.all(l).then(()=>t):t}}),jf=Xu("$ZodObjectJIT",(e,t)=>{Sf.init(e,t);const n=e._zod.parse,r=od(()=>Cf(t));let o;const i=pd,a=!ed.jitless,s=a&&fd.value,l=t.catchall;let c;e._zod.parse=(A,u)=>{c??(c=r.value);const d=A.value;return i(d)?a&&s&&!1===u?.async&&!0!==u.jitless?(o||(o=(e=>{const t=new Dp(["shape","payload","ctx"]),n=r.value,o=e=>{const t=ud(e);return`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`};t.write("const input = payload.value;");const i=Object.create(null);let a=0;for(const e of n.keys)i[e]="key_"+a++;t.write("const newResult = {};");for(const e of n.keys){const n=i[e],r=ud(e);t.write(`const ${n} = ${o(e)};`),t.write(`\n        if (${n}.issues.length) {\n          payload.issues = payload.issues.concat(${n}.issues.map(iss => ({\n            ...iss,\n            path: iss.path ? [${r}, ...iss.path] : [${r}]\n          })));\n        }\n        \n        \n        if (${n}.value === undefined) {\n          if (${r} in input) {\n            newResult[${r}] = undefined;\n          }\n        } else {\n          newResult[${r}] = ${n}.value;\n        }\n        \n      `)}t.write("payload.value = newResult;"),t.write("return payload;");const s=t.compile();return(t,n)=>s(e,t,n)})(t.shape)),A=o(A,u),l?kf([],d,A,u,c,e):A):n(A,u):(A.issues.push({expected:"object",code:"invalid_type",input:d,inst:e}),A)}});function Ef(e,t,n,r){for(const n of e)if(0===n.issues.length)return t.value=n.value,t;const o=e.filter(e=>!_d(e));return 1===o.length?(t.value=o[0].value,o[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>kd(e,r,td())))}),t)}const Ff=Xu("$ZodUnion",(e,t)=>{Rp.init(e,t),ld(e._zod,"optin",()=>t.options.some(e=>
2"optional"===e._zod.optin)?"optional":void 0),ld(e._zod,"optout",()=>t.options.some(e=>"optional"===e._zod.optout)?"optional":void 0),ld(e._zod,"values",()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),ld(e._zod,"pattern",()=>{if(t.options.every(e=>e._zod.pattern)){const e=t.options.map(e=>e._zod.pattern);return new RegExp(`^(${e.map(e=>ad(e.source)).join("|")})$`)}});const n=1===t.options.length,r=t.options[0]._zod.run;e._zod.parse=(o,i)=>{if(n)return r(o,i);let a=!1;const s=[];for(const e of t.options){const t=e._zod.run({value:o.value,issues:[]},i);if(t instanceof Promise)s.push(t),a=!0;else{if(0===t.issues.length)return t;s.push(t)}}return a?Promise.all(s).then(t=>Ef(t,o,e,i)):Ef(s,o,e,i)}}),Nf=Xu("$ZodDiscriminatedUnion",(e,t)=>{Ff.init(e,t);const n=e._zod.parse;ld(e._zod,"propValues",()=>{const e={};for(const n of t.options){const r=n._zod.propValues;if(!r||0===Object.keys(r).length)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(n)}"`);for(const[t,n]of Object.entries(r)){e[t]||(e[t]=new Set);for(const r of n)e[t].add(r)}}return e});const r=od(()=>{const e=t.options,n=new Map;for(const r of e){const e=r._zod.propValues?.[t.discriminator];if(!e||0===e.size)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(r)}"`);for(const t of e){if(n.has(t))throw new Error(`Duplicate discriminator value "${String(t)}"`);n.set(t,r)}}return n});e._zod.parse=(o,i)=>{const a=o.value;if(!pd(a))return o.issues.push({code:"invalid_type",expected:"object",input:a,inst:e}),o;const s=r.value.get(a?.[t.discriminator]);return s?s._zod.run(o,i):t.unionFallback?n(o,i):(o.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,input:a,path:[t.discriminator],inst:e}),o)}}),Uf=Xu("$ZodIntersection",(e,t)=>{Rp.init(e,t),e._zod.parse=(e,n)=>{const r=e.value,o=t.left._zod.run({value:r,issues:[]},n),i=t.right._zod.run({value:r,issues:[]},n);return o instanceof Promise||i instanceof Promise?Promise.all([o,i]).then(([t,n])=>If(e,t,n)):If(e,o,i)}});function Lf(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e===+t)return{valid:!0,data:e};if(hd(e)&&hd(t)){const n=Object.keys(t),r=Object.keys(e).filter(e=>-1!==n.indexOf(e)),o={...e,...t};for(const n of r){const r=Lf(e[n],t[n]);if(!r.valid)return{valid:!1,mergeErrorPath:[n,...r.mergeErrorPath]};o[n]=r.data}return{valid:!0,data:o}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};const n=[];for(let r=0;r<e.length;r++){const o=Lf(e[r],t[r]);if(!o.valid)return{valid:!1,mergeErrorPath:[r,...o.mergeErrorPath]};n.push(o.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function If(e,t,n){if(t.issues.length&&e.issues.push(...t.issues),n.issues.length&&e.issues.push(...n.issues),_d(e))return e;const r=Lf(t.value,n.value);if(!r.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(r.mergeErrorPath)}`);return e.value=r.data,e}const Pf=Xu("$ZodEnum",(e,t)=>{Rp.init(e,t);const n=function(e){const t=Object.values(e).filter(e=>"number"==typeof e);return Object.entries(e).filter(([e,n])=>-1===t.indexOf(+e)).map(([e,t])=>t)}(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=new RegExp(`^(${n.filter(e=>gd.has(typeof e)).map(e=>"string"==typeof e?yd(e):e.toString()).join("|")})$`),e._zod.parse=(t,o)=>{const i=t.value;return r.has(i)||t.issues.push({code:"invalid_value",values:n,input:i,inst:e}),t}}),Qf=Xu("$ZodLiteral",(e,t)=>{if(Rp.init(e,t),0===t.values.length)throw new Error("Cannot create literal schema with no valid values");e._zod.values=new Set(t.values),e._zod.pattern=new RegExp(`^(${t.values.map(e=>"string"==typeof e?yd(e):e?yd(e.toString()):String(e)).join("|")})$`),e._zod.parse=(n,r)=>{const o=n.value;return e._zod.values.has(o)||n.issues.push({code:"invalid_value",values:t.values,input:o,inst:e}),n}}),Tf=Xu("$ZodTransform",(e,t)=>{Rp.init(e,t),e._zod.parse=(n,r)=>{if("backward"===r.direction)throw new Zu(e.constructor.name);
2const o=t.transform(n.value,n);if(r.async)return(o instanceof Promise?o:Promise.resolve(o)).then(e=>(n.value=e,n));if(o instanceof Promise)throw new Ju;return n.value=o,n}});function Df(e,t){return e.issues.length&&void 0===t?{issues:[],value:void 0}:e}const Of=Xu("$ZodOptional",(e,t)=>{Rp.init(e,t),e._zod.optin="optional",e._zod.optout="optional",ld(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),ld(e._zod,"pattern",()=>{const e=t.innerType._zod.pattern;return e?new RegExp(`^(${ad(e.source)})?$`):void 0}),e._zod.parse=(e,n)=>{if("optional"===t.innerType._zod.optin){const r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(t=>Df(t,e.value)):Df(r,e.value)}return void 0===e.value?e:t.innerType._zod.run(e,n)}}),Rf=Xu("$ZodNullable",(e,t)=>{Rp.init(e,t),ld(e._zod,"optin",()=>t.innerType._zod.optin),ld(e._zod,"optout",()=>t.innerType._zod.optout),ld(e._zod,"pattern",()=>{const e=t.innerType._zod.pattern;return e?new RegExp(`^(${ad(e.source)}|null)$`):void 0}),ld(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(e,n)=>null===e.value?e:t.innerType._zod.run(e,n)}),Mf=Xu("$ZodDefault",(e,t)=>{Rp.init(e,t),e._zod.optin="optional",ld(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if("backward"===n.direction)return t.innerType._zod.run(e,n);if(void 0===e.value)return e.value=t.defaultValue,e;const r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(e=>Hf(e,t)):Hf(r,t)}});function Hf(e,t){return void 0===e.value&&(e.value=t.defaultValue),e}const zf=Xu("$ZodPrefault",(e,t)=>{Rp.init(e,t),e._zod.optin="optional",ld(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,n)=>("backward"===n.direction||void 0===e.value&&(e.value=t.defaultValue),t.innerType._zod.run(e,n))}),Kf=Xu("$ZodNonOptional",(e,t)=>{Rp.init(e,t),ld(e._zod,"values",()=>{const e=t.innerType._zod.values;return e?new Set([...e].filter(e=>void 0!==e)):void 0}),e._zod.parse=(n,r)=>{const o=t.innerType._zod.run(n,r);return o instanceof Promise?o.then(t=>$f(t,e)):$f(o,e)}});function $f(e,t){return e.issues.length||void 0!==e.value||e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}const Vf=Xu("$ZodCatch",(e,t)=>{Rp.init(e,t),ld(e._zod,"optin",()=>t.innerType._zod.optin),ld(e._zod,"optout",()=>t.innerType._zod.optout),ld(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if("backward"===n.direction)return t.innerType._zod.run(e,n);const r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(r=>(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>kd(e,n,td()))},input:e.value}),e.issues=[]),e)):(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>kd(e,n,td()))},input:e.value}),e.issues=[]),e)}}),qf=Xu("$ZodPipe",(e,t)=>{Rp.init(e,t),ld(e._zod,"values",()=>t.in._zod.values),ld(e._zod,"optin",()=>t.in._zod.optin),ld(e._zod,"optout",()=>t.out._zod.optout),ld(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(e,n)=>{if("backward"===n.direction){const r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>Wf(e,t.in,n)):Wf(r,t.in,n)}const r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>Wf(e,t.out,n)):Wf(r,t.out,n)}});function Wf(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}const Gf=Xu("$ZodReadonly",(e,t)=>{Rp.init(e,t),ld(e._zod,"propValues",()=>t.innerType._zod.propValues),ld(e._zod,"values",()=>t.innerType._zod.values),ld(e._zod,"optin",()=>t.innerType._zod.optin),ld(e._zod,"optout",()=>t.innerType._zod.optout),e._zod.parse=(e,n)=>{if("backward"===n.direction)return t.innerType._zod.run(e,n);const r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(Yf):Yf(r)}});function Yf(e){return e.value=Object.freeze(e.value),e}const Xf=Xu("$ZodCustom",(e,t)=>{bp.init(e,t),Rp.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=n=>{const r=n.value,o=t.fn(r);if(o instanceof Promise)return o.then(t=>Jf(t,n,r,e));Jf(o,n,r,e)}});function Jf(e,t,n,r){if(!e){const e={code:"custom",input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(e.params=r._zod.def.params),t.issues.push(jd(e))}}Symbol("ZodOutput"),Symbol("ZodInput");class Zf{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){const n=t[0];if(this._map.set(e,n),n&&"object"==typeof n&&"id"in n){if(this._idmap.has(n.id))throw new Error(`ID ${n.id} already exists in the registry`);this._idmap.set(n.id,e)}return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){const t=this._map.get(e);return t&&"object"==typeof t&&"id"in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){const t=e._zod.parent;if(t){const n={...this.get(t)??{}};delete n.id;const r={...n,...this._map.get(e)};return Object.keys(r).length?r:void 0}return this._map.get(e)}has(e){return this._map.has(e)}}function eh(){return new Zf}const th=eh();function nh(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...vd(t)})}function rh(e,t){return new _p({check:"less_than",...vd(t),value:e,inclusive:!1})}function oh(e,t){return new _p({check:"less_than",...vd(t),value:e,inclusive:!0})}function ih(e,t){return new Bp({check:"greater_than",...vd(t),value:e,inclusive:!1})}function ah(e,t){return new Bp({check:"greater_than",...vd(t),value:e,inclusive:!0})}function sh(e,t){return new Cp({check:"multiple_of",...vd(t),value:e})}function lh(e,t){return new Sp({check:"max_length",...vd(t),maximum:e})}function ch(e,t){return new jp({check:"min_length",...vd(t),minimum:e})}function Ah(e,t){return new Ep({check:"length_equals",...vd(t),length:e})}function uh(e){return new Tp({check:"overwrite",tx:e})}function dh(e,t){try{var n=e()}catch(e){return t(e)}return n&&n.then?n.then(void 0,t):n}function ph(e,t){for(var n={};e.length;){var r=e[0],o=r.code,i=r.message,a=r.path.join(".");if(!n[a])if("unionErrors"in r){var s=r.unionErrors[0].errors[0];n[a]={message:s.message,type:s.code}}else n[a]={message:i,type:o};
2if("unionErrors"in r&&r.unionErrors.forEach(function(t){return t.errors.forEach(function(t){return e.push(t)})}),t){var l=n[a].types,c=l&&l[r.code];n[a]=JA(a,t,n,o,c?[].concat(c,r.message):r.message)}e.shift()}return n}function fh(e,t){for(var n={};e.length;){var r=e[0],o=r.code,i=r.message,a=r.path.join(".");if(!n[a])if("invalid_union"===r.code&&r.errors.length>0){var s=r.errors[0][0];n[a]={message:s.message,type:s.code}}else n[a]={message:i,type:o};if("invalid_union"===r.code&&r.errors.forEach(function(t){return t.forEach(function(t){return e.push(t)})}),t){var l=n[a].types,c=l&&l[r.code];n[a]=JA(a,t,n,o,c?[].concat(c,r.message):r.message)}e.shift()}return n}function hh(e,t,n){if(void 0===n&&(n={}),function(e){return"_def"in e&&"object"==typeof e._def&&"typeName"in e._def}(e))return function(r,o,i){try{return Promise.resolve(dh(function(){return Promise.resolve(e["sync"===n.mode?"parse":"parseAsync"](r,t)).then(function(e){return i.shouldUseNativeValidation&&qu({},i),{errors:{},values:n.raw?Object.assign({},r):e}})},function(e){if(function(e){return Array.isArray(null==e?void 0:e.issues)}(e))return{values:{},errors:Wu(ph(e.errors,!i.shouldUseNativeValidation&&"all"===i.criteriaMode),i)};throw e}))}catch(e){return Promise.reject(e)}};if(function(e){return"_zod"in e&&"object"==typeof e._zod}(e))return function(r,o,i){try{return Promise.resolve(dh(function(){return Promise.resolve(("sync"===n.mode?Ld:Pd)(e,r,t)).then(function(e){return i.shouldUseNativeValidation&&qu({},i),{errors:{},values:n.raw?Object.assign({},r):e}})},function(e){if(function(e){return e instanceof Fd}(e))return{values:{},errors:Wu(fh(e.issues,!i.shouldUseNativeValidation&&"all"===i.criteriaMode),i)};throw e}))}catch(e){return Promise.reject(e)}};throw new Error("Invalid input: not a Zod schema")}function mh(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=mh(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function gh(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=mh(e))&&(r&&(r+=" "),r+=t);return r}const yh=gh;function wh(e,t,n=void 0){const r={};for(const o in e){const i=e[o];let a="",s=!0;for(let e=0;e<i.length;e+=1){const r=i[e];r&&(a+=(!0===s?"":" ")+t(r),s=!1,n&&n[r]&&(a+=" "+n[r]))}r[o]=a}return r}function vh(){return vh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vh.apply(null,arguments)}var bh=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++}
vendor: 5,300 bytes, line 2
2,t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),xh=Math.abs,_h=String.fromCharCode,Bh=Object.assign;function Ch(e){return e.trim()}function kh(e,t,n){return e.replace(t,n)}function Sh(e,t){return e.indexOf(t)}function jh(e,t){return 0|e.charCodeAt(t)}function Eh(e,t,n){return e.slice(t,n)}function Fh(e){return e.length}function Nh(e){return e.length}function Uh(e,t){return t.push(e),e}var Lh=1,Ih=1,Ph=0,Qh=0,Th=0,Dh="";function Oh(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:Lh,column:Ih,length:a,return:""}}function Rh(e,t){return Bh(Oh("",null,null,"",null,null,0),e,{length:-e.length},t)}function Mh(){return Th=Qh>0?jh(Dh,--Qh):0,Ih--,10===Th&&(Ih=1,Lh--),Th}function Hh(){return Th=Qh<Ph?jh(Dh,Qh++):0,Ih++,10===Th&&(Ih=1,Lh++),Th}function zh(){return jh(Dh,Qh)}function Kh(){return Qh}function $h(e,t){return Eh(Dh,e,t)}function Vh(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function qh(e){return Lh=Ih=1,Ph=Fh(Dh=e),Qh=0,[]}function Wh(e){return Dh="",e}function Gh(e){return Ch($h(Qh-1,Jh(91===e?e+2:40===e?e+1:e)))}function Yh(e){for(;(Th=zh())&&Th<33;)Hh();return Vh(e)>2||Vh(Th)>3?"":" "}function Xh(e,t){for(;--t&&Hh()&&!(Th<48||Th>102||Th>57&&Th<65||Th>70&&Th<97););return $h(e,Kh()+(t<6&&32==zh()&&32==Hh()))}function Jh(e){for(;Hh();)switch(Th){case e:return Qh;case 34:case 39:34!==e&&39!==e&&Jh(Th);break;case 40:41===e&&Jh(e);break;case 92:Hh()}return Qh}function Zh(e,t){for(;Hh()&&e+Th!==57&&(e+Th!==84||47!==zh()););return"/*"+$h(t,Qh-1)+"*"+_h(47===e?e:Hh())}function em(e){for(;!Vh(zh());)Hh();return $h(e,Qh)}var tm="-ms-",nm="-moz-",rm="-webkit-",om="comm",im="rule",am="decl",sm="@keyframes";function lm(e,t){for(var n="",r=Nh(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function cm(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case am:return e.return=e.return||e.value;case om:return"";case sm:return e.return=e.value+"{"+lm(e.children,r)+"}";case im:e.value=e.props.join(",")}return Fh(n=lm(e.children,r))?e.return=e.value+"{"+n+"}":""}function Am(e){return Wh(um("",null,null,null,[""],e=qh(e),0,[0],e))}function um(e,t,n,r,o,i,a,s,l){for(var c=0,A=0,u=a,d=0,p=0,f=0,h=1,m=1,g=1,y=0,w="",v=o,b=i,x=r,_=w;m;)switch(f=y,y=Hh()){case 40:if(108!=f&&58==jh(_,u-1)){-1!=Sh(_+=kh(Gh(y),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:_+=Gh(y);break;case 9:case 10:case 13:case 32:_+=Yh(f);break;case 92:_+=Xh(Kh()-1,7);continue;case 47:switch(zh()){case 42:case 47:Uh(pm(Zh(Hh(),Kh()),t,n),l);break;default:_+="/"}break;case 123*h:s[c++]=Fh(_)*g;case 125*h:case 59:case 0:switch(y){case 0:case 125:m=0;case 59+A:-1==g&&(_=kh(_,/\f/g,"")),p>0&&Fh(_)-u&&Uh(p>32?fm(_+";",r,n,u-1):fm(kh(_," ","")+";",r,n,u-2),l);break;case 59:_+=";";default:if(Uh(x=dm(_,t,n,c,A,o,s,w,v=[],b=[],u),i),123===y)if(0===A)um(_,t,x,x,v,i,u,s,b);else switch(99===d&&110===jh(_,3)?100:d){case 100:case 108:case 109:case 115:um(e,x,x,r&&Uh(dm(e,x,x,0,0,o,s,w,o,v=[],u),b),o,b,u,s,r?v:b);break;default:um(_,x,x,x,[""],b,0,s,b)}}c=A=p=0,h=g=1,w=_="",u=a;break;case 58:u=1+Fh(_),p=f;default:if(h<1)if(123==y)--h;else if(125==y&&0==h++&&125==Mh())continue;switch(_+=_h(y),y*h){case 38:g=A>0?1:(_+="\f",-1);break;case 44:s[c++]=(Fh(_)-1)*g,g=1;break;case 64:45===zh()&&(_+=Gh(Hh())),d=zh(),A=u=Fh(w=_+=em(Kh())),y++;break;case 45:45===f&&2==Fh(_)&&(h=0)}}return i}function dm(e,t,n,r,o,i,a,s,l,c,A){for(var u=o-1,d=0===o?i:[""],p=Nh(d),f=0,h=0,m=0;f<r;++f)for(var g=0,y=Eh(e,u+1,u=xh(h=a[f])),w=e;g<p;++g)(w=Ch(h>0?d[g]+" "+y:kh(y,/&\f/g,d[g])))&&(l[m++]=w);return Oh(e,t,n,0===o?im:s,l,c,A)}function pm(e,t,n){return Oh(e,t,n,om,_h(Th),Eh(e,2,-2),0)}function fm(e,t,n,r){return Oh(e,t,n,am,Eh(e,0,r),Eh(e,r+1,-1),r)}var hm=function(e,t,n){for(var r=0,o=0;r=o,o=zh(),38===r&&12===o&&(t[n]=1),!Vh(o);)Hh();return $h(e,Qh)},mm=new WeakMap,gm=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||mm.get(n))&&!r){mm.set(e,!0);for(var o=[],i=function(e,t){return Wh(function(e,t){var n=-1,r=44;do{switch(Vh(r)){case 0:38===r&&12===zh()&&(t[n]=1),e[n]+=hm(Qh-1,t,n);break;case 2:e[n]+=Gh(r);break;case 4:if(44===r){e[++n]=58===zh()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=_h(r)}}while(r=Hh());return e}(qh(e),t))}(t,o),a=n.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},ym=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function wm(e,t){switch(function(e,t){return 45^jh(e,0)?(((t<<2^jh(e,0))<<2^jh(e,1))<<2^jh(e,2))<<2^jh(e,3):0}(e,t)){case 5103:return rm+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return rm+e+e;
vendor: 9,033 bytes, line 2
2case 5349:case 4246:case 4810:case 6968:case 2756:return rm+e+nm+e+tm+e+e;case 6828:case 4268:return rm+e+tm+e+e;case 6165:return rm+e+tm+"flex-"+e+e;case 5187:return rm+e+kh(e,/(\w+).+(:[^]+)/,rm+"box-$1$2"+tm+"flex-$1$2")+e;case 5443:return rm+e+tm+"flex-item-"+kh(e,/flex-|-self/,"")+e;case 4675:return rm+e+tm+"flex-line-pack"+kh(e,/align-content|flex-|-self/,"")+e;case 5548:return rm+e+tm+kh(e,"shrink","negative")+e;case 5292:return rm+e+tm+kh(e,"basis","preferred-size")+e;case 6060:return rm+"box-"+kh(e,"-grow","")+rm+e+tm+kh(e,"grow","positive")+e;case 4554:return rm+kh(e,/([^-])(transform)/g,"$1"+rm+"$2")+e;case 6187:return kh(kh(kh(e,/(zoom-|grab)/,rm+"$1"),/(image-set)/,rm+"$1"),e,"")+e;case 5495:case 3959:return kh(e,/(image-set\([^]*)/,rm+"$1$`$1");case 4968:return kh(kh(e,/(.+:)(flex-)?(.*)/,rm+"box-pack:$3"+tm+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+rm+e+e;case 4095:case 3583:case 4068:case 2532:return kh(e,/(.+)-inline(.+)/,rm+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Fh(e)-1-t>6)switch(jh(e,t+1)){case 109:if(45!==jh(e,t+4))break;case 102:return kh(e,/(.+:)(.+)-([^]+)/,"$1"+rm+"$2-$3$1"+nm+(108==jh(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Sh(e,"stretch")?wm(kh(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==jh(e,t+1))break;case 6444:switch(jh(e,Fh(e)-3-(~Sh(e,"!important")&&10))){case 107:return kh(e,":",":"+rm)+e;case 101:return kh(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+rm+(45===jh(e,14)?"inline-":"")+"box$3$1"+rm+"$2$3$1"+tm+"$2box$3")+e}break;case 5936:switch(jh(e,t+11)){case 114:return rm+e+tm+kh(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return rm+e+tm+kh(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return rm+e+tm+kh(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return rm+e+tm+e+e}return e}var vm=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case am:e.return=wm(e.value,e.length);break;case sm:return lm([Rh(e,{value:kh(e.value,"@","@"+rm)})],r);case im:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return lm([Rh(e,{props:[kh(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return lm([Rh(e,{props:[kh(t,/:(plac\w+)/,":"+rm+"input-$1")]}),Rh(e,{props:[kh(t,/:(plac\w+)/,":-moz-$1")]}),Rh(e,{props:[kh(t,/:(plac\w+)/,tm+"input-$1")]})],r)}return""})}}],bm=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var r,o,i=e.stylisPlugins||vm,a={},s=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)});var l,c,A,u,d=[cm,(u=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&u(e)})],p=(c=[gm,ym].concat(i,d),A=Nh(c),function(e,t,n,r){for(var o="",i=0;i<A;i++)o+=c[i](e,t,n,r)||"";return o});o=function(e,t,n,r){l=n,lm(Am(e?e+"{"+t.styles+"}":t.styles),p),r&&(f.inserted[t.name]=!0)};var f={key:t,sheet:new bh({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return f.sheet.hydrate(s),f};function xm(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}var _m=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Bm=function(e,t,n){_m(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}},Cm={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function km(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Sm=/[A-Z]|^ms/g,jm=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Em=function(e){return 45===e.charCodeAt(1)},Fm=function(e){return null!=e&&"boolean"!=typeof e},Nm=km(function(e){return Em(e)?e:e.replace(Sm,"-$&").toLowerCase()}),Um=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(jm,function(e,t,n){return Im={name:t,styles:n,next:Im},t})}return 1===Cm[e]||Em(e)||"number"!=typeof t||0===t?t:t+"px"};function Lm(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return Im={name:o.name,styles:o.styles,next:Im},o.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)Im={name:a.name,styles:a.styles,next:Im},a=a.next;return i.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Lm(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var s=a;null!=t&&void 0!==t[s]?r+=i+"{"+t[s]+"}":Fm(s)&&(r+=Nm(i)+":"+Um(i,s)+";")}else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=Lm(e,t,a);switch(i){case"animation":case"animationName":r+=Nm(i)+":"+l+";";break;default:r+=i+"{"+l+"}"}}else for(var c=0;c<a.length;c++)Fm(a[c])&&(r+=Nm(i)+":"+Um(i,a[c])+";")}return r}(e,t,n);case"function":if(void 0!==e){var s=Im,l=n(e);return Im=s,Lm(e,t,l)}}var c=n;if(null==t)return c;var A=t[c];return void 0!==A?A:c}var Im,Pm=/label:\s*([^\s;{]+)\s*(;|$)/g;function Qm(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Im=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=Lm(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=Lm(n,t,e[a]),r&&(o+=i[a]);Pm.lastIndex=0;for(var s,l="";null!==(s=Pm.exec(o));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:Im}}var Tm=!!r.useInsertionEffect&&r.useInsertionEffect,Dm=Tm||function(e){return e()},Om=Tm||n.useLayoutEffect,Rm=n.createContext("undefined"!=typeof HTMLElement?bm({key:"css"}):null),Mm=(Rm.Provider,function(e){return(0,n.forwardRef)(function(t,r){var o=(0,n.useContext)(Rm);return e(t,o,r)})}),Hm=n.createContext({}),zm={}.hasOwnProperty,Km="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",$m=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return _m(t,n,r),Dm(function(){return Bm(t,n,r)}),null},Vm=Mm(function(e,t,r){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var i=e[Km],a=[o],s="";"string"==typeof e.className?s=xm(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var l=Qm(a,void 0,n.useContext(Hm));s+=t.key+"-"+l.name;var c={};for(var A in e)zm.call(e,A)&&"css"!==A&&A!==Km&&(c[A]=e[A]);return c.className=s,r&&(c.ref=r),n.createElement(n.Fragment,null,n.createElement($m,{cache:t,serialized:l,isStringTag:"string"==typeof i}),n.createElement(i,c))}),qm=Vm,Wm=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInl
2ine|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Gm=km(function(e){return Wm.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),Ym=function(e){return"theme"!==e},Xm=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Gm:Ym},Jm=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},Zm=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return _m(t,n,r),Dm(function(){return Bm(t,n,r)}),null},eg=function e(t,r){var o,i,a=t.__emotion_real===t,s=a&&t.__emotion_base||t;void 0!==r&&(o=r.label,i=r.target);var l=Jm(t,r,a),c=l||Xm(s),A=!c("as");return function(){var u=arguments,d=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==o&&d.push("label:"+o+";"),null==u[0]||void 0===u[0].raw)d.push.apply(d,u);else{var p=u[0];d.push(p[0]);for(var f=u.length,h=1;h<f;h++)d.push(u[h],p[h])}var m=Mm(function(e,t,r){var o=A&&e.as||s,a="",u=[],p=e;if(null==e.theme){for(var f in p={},e)p[f]=e[f];p.theme=n.useContext(Hm)}"string"==typeof e.className?a=xm(t.registered,u,e.className):null!=e.className&&(a=e.className+" ");var h=Qm(d.concat(u),t.registered,p);a+=t.key+"-"+h.name,void 0!==i&&(a+=" "+i);var m=A&&void 0===l?Xm(o):c,g={};for(var y in e)A&&"as"===y||m(y)&&(g[y]=e[y]);return g.className=a,r&&(g.ref=r),n.createElement(n.Fragment,null,n.createElement(Zm,{cache:t,serialized:h,isStringTag:"string"==typeof o}),n.createElement(o,g))});return m.displayName=void 0!==o?o:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=s,m.__emotion_styles=d,m.__emotion_forwardProp=l,Object.defineProperty(m,"toString",{value:function(){return"."+i}}),m.withComponent=function(t,n){return e(t,vh({},r,n,{shouldForwardProp:Jm(m,n,!0)})).apply(void 0,d)},m}}.bind(null);function tg(e,t){return eg(e,t)}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){eg[e]=eg(e)});const ng=[];function rg(e){return ng[0]=e,Qm(ng)}var og=a(4405);function ig(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function ag(e){if(n.isValidElement(e)||(0,og.Hy)(e)||!ig(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=ag(e[n])}),t}function sg(e,t,r={clone:!0}){const o=r.clone?{...e}:e;return ig(e)&&ig(t)&&Object.keys(t).forEach(i=>
2{n.isValidElement(t[i])||(0,og.Hy)(t[i])?o[i]=t[i]:ig(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&ig(e[i])?o[i]=sg(e[i],t[i],r):r.clone?o[i]=ig(t[i])?ag(t[i]):t[i]:o[i]=t[i]}),o}function lg(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,i=(e=>{const t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})})(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function c(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-r/100}${n})`}return{keys:a,values:i,up:s,down:l,between:c,only:function(e){return a.indexOf(e)+1<a.length?c(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):c(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:n,...o}}function cg(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(e=>e.startsWith("@container")).sort((e,t)=>{const n=/min-width:\s*([0-9.]+)/;return+(e.match(n)?.[1]||0)-+(t.match(n)?.[1]||0)});return n.length?n.reduce((e,n)=>{const r=t[n];return delete e[n],e[n]=r,e},{...t}):t}const Ag={borderRadius:4},ug={xs:0,sm:600,md:900,lg:1200,xl:1536},dg={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${ug[e]}px)`},pg={containerQueries:e=>({up:t=>{let n="number"==typeof t?t:ug[t]||t;return"number"==typeof n&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function fg(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||dg;return t.reduce((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r),{})}if("object"==typeof t){const e=r.breakpoints||dg;return Object.keys(t).reduce((o,i)=>{if(a=e.keys,"@"===(s=i)||s.startsWith("@")&&(a.some(e=>s.startsWith(`@${e}`))||s.match(/^@\d/))){const e=function(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,o]=n,i=Number.isNaN(+r)?r||0:+r;return e.containerQueries(o).up(i)}(r.containerQueries?r:pg,i);e&&(o[e]=n(t[i],i))}else if(Object.keys(e.values||ug).includes(i))o[e.up(i)]=n(t[i],i);else{const e=i;o[e]=t[e]}var a,s;return o},{})}return n(t)}function hg(e,t){return e.reduce((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e},t)}function mg(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>n.searchParams.append("args[]",e)),`Minified MUI error #${e}; visit ${n} for the full message.`}function gg(e){if("string"!=typeof e)throw new Error(mg(7));return e.charAt(0).toUpperCase()+e.slice(1)}function yg(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=n)return n}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function wg(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:yg(e,n)||r,t&&(o=t(o,r,e)),o}const vg=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=yg(e.theme,r)||{};return fg(e,i,e=>{let r=wg(a,o,e);return e===r&&"string"==typeof e&&(r=wg(a,o,`${t}${"default"===e?"":gg(e)}`,e)),!1===n?r:{[n]:r}})};return i.propTypes={},i.filterProps=[t],i},bg=function(e,t){return t?sg(e,t,{clone:!1}):e},xg={m:"margin",p:"padding"},_g={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Bg={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Cg=function(){const e={};return t=>(void 0===e[t]&&(e[t]=(e=>{if(e.length>2){if(!Bg[e])return[e];e=Bg[e]}const[t,n]=e.split(""),r=xg[t],o=_g[n]||"";return Array.isArray(o)?o.map(e=>r+e):[r+o]})(t)),e[t])}(),kg=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Sg=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],jg=[...kg,...Sg];function Eg(e,t,n,r){const o=yg(e,t,!0)??n;return"number"==typeof o||"string"==typeof o?e=>"string"==typeof e?e:"string"==typeof o?o.startsWith("var(")&&0===e?0:o.startsWith("var(")&&1===e?o:`calc(${e} * ${o})`:o*e:Array.isArray(o)?e=>{if("string"==typeof e)return e;const t=Math.abs(e),n=o[t];return e>=0?n:"number"==typeof n?-n:"string"==typeof n&&n.startsWith("var(")?`calc(-1 * ${n})`:`-${n}`}:"function"==typeof o?o:()=>{}}function Fg(e){return Eg(e,"spacing",8)}function Ng(e,t){return"string"==typeof t||null==t?t:e(t)}function Ug(e,t){const n=Fg(e.theme);return Object.keys(e).map(r=>function(e,t,n,r){if(!t.includes(n))return null;const o=function(e,t){return n=>e.reduce((e,r)=>(e[r]=Ng(t,n),e),{})}(Cg(n),r);return fg(e,e[n],o)}(e,t,r,n)).reduce(bg,{})}
2function Lg(e){return Ug(e,kg)}function Ig(e){return Ug(e,Sg)}function Pg(e){return Ug(e,jg)}function Qg(e=8,t=Fg({spacing:e})){if(e.mui)return e;const n=(...e)=>(0===e.length?[1]:e).map(e=>{const n=t(e);return"number"==typeof n?`${n}px`:n}).join(" ");return n.mui=!0,n}Lg.propTypes={},Lg.filterProps=kg,Ig.propTypes={},Ig.filterProps=Sg,Pg.propTypes={},Pg.filterProps=jg;const Tg=function(...e){const t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,r)=>t[r]?bg(n,t[r](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n};function Dg(e){return"number"!=typeof e?e:`${e}px solid`}function Og(e,t){return vg({prop:e,themeKey:"borders",transform:t})}const Rg=Og("border",Dg),Mg=Og("borderTop",Dg),Hg=Og("borderRight",Dg),zg=Og("borderBottom",Dg),Kg=Og("borderLeft",Dg),$g=Og("borderColor"),Vg=Og("borderTopColor"),qg=Og("borderRightColor"),Wg=Og("borderBottomColor"),Gg=Og("borderLeftColor"),Yg=Og("outline",Dg),Xg=Og("outlineColor"),Jg=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=Eg(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:Ng(t,e)});return fg(e,e.borderRadius,n)}return null};Jg.propTypes={},Jg.filterProps=["borderRadius"],Tg(Rg,Mg,Hg,zg,Kg,$g,Vg,qg,Wg,Gg,Jg,Yg,Xg);const Zg=e=>{if(void 0!==e.gap&&null!==e.gap){const t=Eg(e.theme,"spacing",8),n=e=>({gap:Ng(t,e)});return fg(e,e.gap,n)}return null};Zg.propTypes={},Zg.filterProps=["gap"];const ey=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=Eg(e.theme,"spacing",8),n=e=>({columnGap:Ng(t,e)});return fg(e,e.columnGap,n)}return null};ey.propTypes={},ey.filterProps=["columnGap"];const ty=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=Eg(e.theme,"spacing",8),n=e=>({rowGap:Ng(t,e)});return fg(e,e.rowGap,n)}return null};function ny(e,t){return"grey"===t?t:e}function ry(e){return e<=1&&0!==e?100*e+"%":e}ty.propTypes={},ty.filterProps=["rowGap"],Tg(Zg,ey,ty,vg({prop:"gridColumn"}),vg({prop:"gridRow"}),vg({prop:"gridAutoFlow"}),vg({prop:"gridAutoColumns"}),vg({prop:"gridAutoRows"}),vg({prop:"gridTemplateColumns"}),vg({prop:"gridTemplateRows"}),vg({prop:"gridTemplateAreas"}),vg({prop:"gridArea"})),Tg(vg({prop:"color",themeKey:"palette",transform:ny}),vg({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ny}),vg({prop:"backgroundColor",themeKey:"palette",transform:ny}));const oy=vg({prop:"width",transform:ry}),iy=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{const n=e.theme?.breakpoints?.values?.[t]||ug[t];return n?"px"!==e.theme?.breakpoints?.unit?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:ry(t)}};return fg(e,e.maxWidth,t)}return null};iy.filterProps=["maxWidth"];const ay=vg({prop:"minWidth",transform:ry}),sy=vg({prop:"height",transform:ry}),ly=vg({prop:"maxHeight",transform:ry}),cy=vg({prop:"minHeight",transform:ry}),Ay=(vg({prop:"size",cssProperty:"width",transform:ry}),vg({prop:"size",cssProperty:"height",transform:ry}),Tg(oy,iy,ay,sy,ly,cy,vg({prop:"boxSizing"})),{border:{themeKey:"borders",transform:Dg},borderTop:{themeKey:"borders",transform:Dg},borderRight:{themeKey:"borders",transform:Dg},borderBottom:{themeKey:"borders",transform:Dg},borderLeft:{themeKey:"borders",transform:Dg},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Dg},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Jg},color:{themeKey:"palette",transform:ny},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ny},backgroundColor:{themeKey:"palette",transform:ny},p:{style:Ig},pt:{style:Ig},pr:{style:Ig},pb:{style:Ig},pl:{style:Ig},px:{style:Ig},py:{style:Ig},padding:{style:Ig},paddingTop:{style:Ig},paddingRight:{style:Ig},paddingBottom:{style:Ig},paddingLeft:{style:Ig},paddingX:{style:Ig},paddingY:{style:Ig},paddingInline:{style:Ig},paddingInlineStart:{style:Ig},paddingInlineEnd:{style:Ig},paddingBlock:{style:Ig},paddingBlockStart:{style:Ig},paddingBlockEnd:{style:Ig},m:{style:Lg},mt:{style:Lg},mr:{style:Lg},mb:{style:Lg},ml:{style:Lg},mx:{style:Lg},my:{style:Lg},margin:{style:Lg},marginTop:{style:Lg},marginRight:{style:Lg},marginBottom:{style:Lg},marginLeft:{style:Lg},marginX:{style:Lg},marginY:{style:Lg},marginInline:{style:Lg},marginInlineStart:{style:Lg},marginInlineEnd:{style:Lg},marginBlock:{style:Lg},marginBlockStart:{style:Lg},marginBlockEnd:{style:Lg},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Zg},rowGap:{style:ty},columnGap:{style:ey},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:ry},maxWidth:{style:iy},minWidth:{transform:ry},height:{transform:ry},maxHeight:{transform:ry},minHeight:{transform:ry},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}),uy=function(){function e(e,t,n,r){const o={[e]:t,theme:n},i=r[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:c}=i;
2if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const A=yg(n,s)||{};return c?c(o):fg(o,t,t=>{let n=wg(A,l,t);return t===n&&"string"==typeof t&&(n=wg(A,l,`${e}${"default"===t?"":gg(t)}`,t)),!1===a?n:{[a]:n}})}return function t(n){const{sx:r,theme:o={},nested:i}=n||{};if(!r)return null;const a=o.unstable_sxConfig??Ay;function s(n){let r=n;if("function"==typeof n)r=n(o);else if("object"!=typeof n)return n;if(!r)return null;const s=function(e={}){const t=e.keys?.reduce((t,n)=>(t[e.up(n)]={},t),{});return t||{}}(o.breakpoints),l=Object.keys(s);let c=s;return Object.keys(r).forEach(n=>{const i=function(e,t){return"function"==typeof e?e(t):e}(r[n],o);if(null!=i)if("object"==typeof i)if(a[n])c=bg(c,e(n,i,o,a));else{const e=fg({theme:o},i,e=>({[n]:e}));!function(...e){const t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)}(e,i)?c=bg(c,e):c[n]=t({sx:i,theme:o,nested:!0})}else c=bg(c,e(n,i,o,a))}),!i&&o.modularCssLayers?{"@layer sx":cg(o,hg(l,c))}:cg(o,hg(l,c))}return Array.isArray(r)?r.map(s):s(r)}}();uy.filterProps=["sx"];const dy=uy;function py(e,t){const n=this;if(n.vars){if(!n.colorSchemes?.[e]||"function"!=typeof n.getColorSchemeSelector)return{};let r=n.getColorSchemeSelector(e);return"&"===r?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return n.palette.mode===e?t:{}}const fy=function(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={},...a}=e;let s=sg({breakpoints:lg(n),direction:"ltr",components:{},palette:{mode:"light",...r},spacing:Qg(o),shape:{...Ag,...i}},a);return s=function(e){const t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{const o=t(e.breakpoints.not(...n),r);return o.includes("not all and")?o.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):o}}const r={},o=e=>(n(r,e),r);return n(o),{...e,containerQueries:o}}(s),s.applyStyles=py,s=t.reduce((e,t)=>sg(e,t),s),s.unstable_sxConfig={...Ay,...a?.unstable_sxConfig},s.unstable_sx=function(e){return dy({sx:e,theme:this})},s};function hy(e){const{variants:t,...n}=e,r={variants:t,style:rg(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{"function"!=typeof e.style&&(e.style=rg(e.style))}),r}const my=fy();function gy(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function yy(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function wy(e){return e?(t,n)=>n[e]:null}function vy(e,t,n){const r="function"==typeof t?t(e):t;if(Array.isArray(r))return r.flatMap(t=>vy(e,t,n));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=n?yy(r.style,n):r.style;else{const{variants:e,...o}=r;t=n?yy(rg(o),n):o}return by(e,r.variants,[t],n)}return r?.isProcessed?n?yy(rg(r.style),n):r.style:n?yy(rg(r),n):r}function by(e,t,n=[],r=void 0){let o;e:for(let i=0;i<t.length;i+=1){const a=t[i];if("function"==typeof a.props){if(o??={...e,...e.ownerState,ownerState:e.ownerState},!a.props(o))continue}else for(const t in a.props)if(e[t]!==a.props[t]&&e.ownerState?.[t]!==a.props[t])continue e;"function"==typeof a.style?(o??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?yy(rg(a.style(o)),r):a.style(o))):n.push(r?yy(rg(a.style),r):a.style)}return n}function xy(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}function _y(e,t=0,n=1){return function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}(e,t,n)}function By(e){if(e.type)return e;if("#"===e.charAt(0))return By(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(mg(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(r))throw new Error(mg(10,r))}else o=o.split(",");return o=o.map(e=>parseFloat(e)),{type:n,values:o,colorSpace:r}}const Cy=(e,t)=>{try{return(e=>{const t=By(e);return t.values.slice(0,3).map((e,n)=>t.type.includes("hsl")&&0!==n?`${e}%`:e).join(" ")})(e)}catch(t){return e}};function ky(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes("color")?`${n}
2 ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function Sy(e){e=By(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=(e,t=(e+n/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),ky({type:s,values:l})}function jy(e){let t="hsl"===(e=By(e)).type||"hsla"===e.type?By(Sy(e)).values:e.values;return t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Ey(e,t){return e=By(e),t=_y(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,ky(e)}function Fy(e,t,n){try{return Ey(e,t)}catch(t){return e}}function Ny(e,t){if(e=By(e),t=_y(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return ky(e)}function Uy(e,t,n){try{return Ny(e,t)}catch(t){return e}}function Ly(e,t){if(e=By(e),t=_y(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return ky(e)}function Iy(e,t,n){try{return Ly(e,t)}catch(t){return e}}function Py(e,t,n){try{return function(e,t=.15){return jy(e)>.5?Ny(e,t):Ly(e,t)}(e,t)}catch(t){return e}}const Qy={black:"#000",white:"#fff"},Ty={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Dy="#f3e5f5",Oy="#ce93d8",Ry="#ba68c8",My="#ab47bc",Hy="#9c27b0",zy="#7b1fa2",Ky="#e57373",$y="#ef5350",Vy="#f44336",qy="#d32f2f",Wy="#c62828",Gy="#ffb74d",Yy="#ffa726",Xy="#ff9800",Jy="#f57c00",Zy="#e65100",ew="#e3f2fd",tw="#90caf9",nw="#42a5f5",rw="#1976d2",ow="#1565c0",iw="#4fc3f7",aw="#29b6f6",sw="#03a9f4",lw="#0288d1",cw="#01579b",Aw="#81c784",uw="#66bb6a",dw="#4caf50",pw="#388e3c",fw="#2e7d32",hw="#1b5e20";function mw(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Qy.white,default:Qy.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const gw=mw();function yw(){return{text:{primary:Qy.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Qy.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const ww=yw();function vw(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=Ly(e.main,o):"dark"===t&&(e.dark=Ny(e.main,i)))}function bw(e,t,n,r,o){const i=o.light||o,a=o.dark||1.5*o;t[n]||(t.hasOwnProperty(r)?t[n]=t[r]:"light"===n?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(100*i).toFixed(0)}%)`:"dark"===n&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(100*a).toFixed(0)}%)`))}function xw(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,colorSpace:o,...i}=e,a=e.primary||function(e="light"){return"dark"===e?{main:tw,light:ew,dark:nw}:{main:rw,light:nw,dark:ow}}(t),s=e.secondary||function(e="light"){return"dark"===e?{main:Oy,light:Dy,dark:My}:{main:Hy,light:Ry,dark:zy}}(t),l=e.error||function(e="light"){return"dark"===e?{main:Vy,light:Ky,dark:qy}:{main:qy,light:$y,dark:Wy}}(t),c=e.info||function(e="light"){return"dark"===e?{main:aw,light:iw,dark:lw}:{main:lw,light:sw,dark:cw}}(t),A=e.success||function(e="light"){return"dark"===e?{main:uw,light:Aw,dark:pw}:{main:fw,light:dw,dark:hw}}(t),u=e.warning||function(e="light"){return"dark"===e?{main:Yy,light:Gy,dark:Jy}:{main:"#ed6c02",light:Xy,dark:Zy}}(t);function d(e){if(o)return function(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}(e);const t=function(e,t){const n=jy(e),r=jy(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,ww.text.primary)>=n?ww.text.primary:gw.text.primary;return t}
2const p=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:a=700})=>{if(!(e={...e}).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error(mg(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error(mg(12,t?` (${t})`:"",JSON.stringify(e.main)));return o?(bw(o,e,"light",i,r),bw(o,e,"dark",a,r)):(vw(e,"light",i,r),vw(e,"dark",a,r)),e.contrastText||(e.contrastText=d(e.main)),e};let f;return"light"===t?f=mw():"dark"===t&&(f=yw()),sg({common:{...Qy},mode:t,primary:p({color:a,name:"primary"}),secondary:p({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:l,name:"error"}),warning:p({color:u,name:"warning"}),info:p({color:c,name:"info"}),success:p({color:A,name:"success"}),grey:Ty,contrastThreshold:n,getContrastText:d,augmentColor:p,tonalOffset:r,...f},i)}function _w(e=""){function t(...n){if(!n.length)return"";const r=n[0];return"string"!=typeof r||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${r}`:`, var(--${e?`${e}-`:""}${r}${t(...n.slice(1))})`}return(n,...r)=>`var(--${e?`${e}-`:""}${n}${t(...r)})`}function Bw(e){const t={};return Object.entries(e).forEach(e=>{const[n,r]=e;"object"==typeof r&&(t[n]=`${r.fontStyle?`${r.fontStyle} `:""}${r.fontVariant?`${r.fontVariant} `:""}${r.fontWeight?`${r.fontWeight} `:""}${r.fontStretch?`${r.fontStretch} `:""}${r.fontSize||""}${r.lineHeight?`/${r.lineHeight} `:""}${r.fontFamily||""}`)}),t}const Cw=(e,t,n,r=[])=>{let o=e;t.forEach((e,i)=>{i===t.length-1?Array.isArray(o)?o[Number(e)]=n:o&&"object"==typeof o&&(o[e]=n):o&&"object"==typeof o&&(o[e]||(o[e]=r.includes(e)?[]:{}),o=o[e])})};function kw(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},a={};var s,l;return s=(e,t,s)=>{if(!("string"!=typeof t&&"number"!=typeof t||r&&r(e,t))){const r=`--${n?`${n}-`:""}${e.join("-")}`,l=((e,t)=>"number"==typeof t?["lineHeight","fontWeight","opacity","zIndex"].some(t=>e.includes(t))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t)(e,t);Object.assign(o,{[r]:l}),Cw(i,e,`var(${r})`,s),Cw(a,e,`var(${r}, ${l})`,s)}},l=e=>"vars"===e[0],function e(t,n=[],r=[]){Object.entries(t).forEach(([t,o])=>{(!l||l&&!l([...n,t]))&&null!=o&&("object"==typeof o&&Object.keys(o).length>0?e(o,[...n,t],Array.isArray(o)?[...r,t]:r):s([...n,t],o,r))})}(e),{css:o,vars:i,varsWithDefaults:a}}const Sw={textTransform:"uppercase"},jw='"Roboto", "Helvetica", "Arial", sans-serif';function Ew(e,t){const{fontFamily:n=jw,fontSize:r=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:l=16,allVariants:c,pxToRem:A,...u}="function"==typeof t?t(e):t,d=r/14,p=A||(e=>e/l*d+"rem"),f=(e,t,r,o,i)=>{return{fontFamily:n,fontWeight:e,fontSize:p(t),lineHeight:r,...n===jw?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5+"em")}:{},...i,...c};var a},h={h1:f(o,96,1.167,-1.5),h2:f(o,60,1.2,-.5),h3:f(i,48,1.167,0),h4:f(i,34,1.235,.25),h5:f(i,24,1.334,0),h6:f(a,20,1.6,.15),subtitle1:f(i,16,1.75,.15),subtitle2:f(a,14,1.57,.1),body1:f(i,16,1.5,.15),body2:f(i,14,1.43,.15),button:f(a,14,1.75,.4,Sw),caption:f(i,12,1.66,.4),overline:f(i,12,2.66,1,Sw),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return sg({htmlFontSize:l,pxToRem:p,fontFamily:n,fontSize:r,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:s,...h},u,{clone:!1})}function Fw(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const Nw=["none",Fw(0,2,1,-1,0,1,1,0,0,1,3,0),Fw(0,3,1,-2,0,2,2,0,0,1,5,0),Fw(0,3,3,-2,0,3,4,0,0,1,8,0),Fw(0,2,4,-1,0,4,5,0,0,1,10,0),Fw(0,3,5,-1,0,5,8,0,0,1,14,0),Fw(0,3,5,-1,0,6,10,0,0,1,18,0),Fw(0,4,5,-2,0,7,10,1,0,2,16,1),Fw(0,5,5,-3,0,8,10,1,0,3,14,2),Fw(0,5,6,-3,0,9,12,1,0,3,16,2),Fw(0,6,6,-3,0,10,14,1,0,4,18,3),Fw(0,6,7,-4,0,11,15,1,0,4,20,3),Fw(0,7,8,-4,0,12,17,2,0,5,22,4),Fw(0,7,8,-4,0,13,19,2,0,5,24,4),Fw(0,7,9,-4,0,14,21,2,0,5,26,4),Fw(0,8,9,-5,0,15,22,2,0,6,28,5),Fw(0,8,10,-5,0,16,24,2,0,6,30,5),Fw(0,8,11,-5,0,17,26,2,0,6,32,5),Fw(0,9,11,-5,0,18,28,2,0,7,34,6),Fw(0,9,12,-6,0,19,29,2,0,7,36,6
2),Fw(0,10,13,-6,0,20,31,3,0,8,38,7),Fw(0,10,13,-6,0,21,33,3,0,8,40,7),Fw(0,10,14,-6,0,22,35,3,0,8,42,7),Fw(0,11,14,-7,0,23,36,3,0,9,44,8),Fw(0,11,15,-7,0,24,38,3,0,9,46,8)],Uw={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Lw={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Iw(e){return`${Math.round(e)}ms`}function Pw(e){if(!e)return 0;const t=e/36;return Math.min(Math.round(10*(4+15*t**.25+t/5)),3e3)}function Qw(e){const t={...Uw,...e.easing},n={...Lw,...e.duration};return{getAutoHeightDuration:Pw,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:i=t.easeInOut,delay:a=0,...s}=r;return(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof o?o:Iw(o)} ${i} ${"string"==typeof a?a:Iw(a)}`).join(",")},...e,easing:t,duration:n}}const Tw={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Dw(e){return ig(e)||void 0===e||"string"==typeof e||"boolean"==typeof e||"number"==typeof e||Array.isArray(e)}function Ow(e={}){const t={...e};return function e(t){const n=Object.entries(t);for(let r=0;r<n.length;r++){const[o,i]=n[r];!Dw(i)||o.startsWith("unstable_")?delete t[o]:ig(i)&&(t[o]={...i},e(t[o]))}}(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';\n\nconst theme = ${JSON.stringify(t,null,2)};\n\ntheme.breakpoints = createBreakpoints(theme.breakpoints || {});\ntheme.transitions = createTransitions(theme.transitions || {});\n\nexport default theme;`}function Rw(e){return"number"==typeof e?`${(100*e).toFixed(0)}%`:`calc((${e}) * 100%)`}const Mw=function(e={},...t){const{breakpoints:n,mixins:r={},spacing:o,palette:i={},transitions:a={},typography:s={},shape:l,colorSpace:c,...A}=e;if(e.vars&&void 0===e.generateThemeVars)throw new Error(mg(20));const u=xw({...i,colorSpace:c}),d=fy(e);let p=sg(d,{mixins:(f=d.breakpoints,h=r,{toolbar:{minHeight:56,[f.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[f.up("sm")]:{minHeight:64}},...h}),palette:u,shadows:Nw.slice(),typography:Ew(u,s),transitions:Qw(a),zIndex:{...Tw}});var f,h,m;return p=sg(p,A),p=t.reduce((e,t)=>sg(e,t),p),p.unstable_sxConfig={...Ay,...A?.unstable_sxConfig},p.unstable_sx=function(e){return dy({sx:e,theme:this})},p.toRuntimeSource=Ow,m=p,Object.assign(m,{alpha(e,t){const n=this||m;return n.colorSpace?`oklch(from ${e} l c h / ${"string"==typeof t?`calc(${t})`:t})`:n.vars?`rgba(${e.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${"string"==typeof t?`calc(${t})`:t})`:Ey(e,(e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let n=0;for(let e=0;e<t.length;e+=1)n+=+t[e];return n})(t))},lighten(e,t){const n=this||m;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${e}, #fff ${Rw(t)})`:Ly(e,t)},darken(e,t){const n=this||m;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${e}, #000 ${Rw(t)})`:Ny(e,t)}}),p};function Hw(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(10*t)/1e3}const zw=[...Array(25)].map((e,t)=>{if(0===t)return"none";const n=Hw(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Kw(e){return{inputPlaceholder:"dark"===e?.5:.42,inputUnderline:"dark"===e?.7:.42,switchTrackDisabled:"dark"===e?.2:.12,switchTrack:"dark"===e?.3:.38}}function $w(e){return"dark"===e?zw:[]}function Vw(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const qw=e=>(t,n)=>{const r=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if("class"===o&&(i=".%s"),"data"===o&&(i="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===t){if("dark"===t){const o={};return(a=e.cssVarPrefix,[...[...Array(25)].map((e,t)=>`--${a?`${a}-`:""}overlays-${t}`),`--${a?`${a}-`:""}palette-AppBar-darkBg`,`--${a?`${a}-`:""}
2palette-AppBar-darkColor`]).forEach(e=>{o[e]=n[e],delete n[e]}),"media"===i?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:o}}:i?{[i.replace("%s",t)]:o,[`${r}, ${i.replace("%s",t)}`]:n}:{[r]:{...n,...o}}}if(i&&"media"!==i)return`${r}, ${i.replace("%s",String(t))}`}else if(t){if("media"===i)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(i)return i.replace("%s",String(t))}var a;return r};function Ww(e,t,n){!e[t]&&n&&(e[t]=n)}function Gw(e){return"string"==typeof e&&e.startsWith("hsl")?Sy(e):e}function Yw(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Cy(Gw(e[t])))}const Xw=e=>{try{return e()}catch(e){}};function Jw(e,t,n,r,o){if(!n)return;n=!0===n?{}:n;const i="dark"===o?"dark":"light";if(!r)return void(t[o]=function(e){const{palette:t={mode:"light"},opacity:n,overlays:r,colorSpace:o,...i}=e,a=xw({...t,colorSpace:o});return{palette:a,opacity:{...Kw(a.mode),...n},overlays:r||$w(a.mode),...i}}({...n,palette:{mode:i,...n?.palette},colorSpace:e}));const{palette:a,...s}=Mw({...r,palette:{mode:i,...n?.palette},colorSpace:e});return t[o]={...n,palette:a,opacity:{...Kw(i),...n?.opacity},overlays:n?.overlays||$w(i)},s}function Zw(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",nativeColor:a=!1,shouldSkipGeneratingVar:s=Vw,colorSchemeSelector:l=(n.light&&n.dark?"media":void 0),rootSelector:c=":root",...A}=e,u=Object.keys(n)[0],d=r||(n.light&&"light"!==u?"light":u),p=((e="mui")=>_w(e))(i),{[d]:f,light:h,dark:m,...g}=n,y={...g};let w,v=f;if(("dark"===d&&!("dark"in n)||"light"===d&&!("light"in n))&&(v=!0),!v)throw new Error(mg(21,d));a&&(w="oklch");const b=Jw(w,y,v,A,d);h&&!y.light&&Jw(w,y,h,void 0,"light"),m&&!y.dark&&Jw(w,y,m,void 0,"dark");let x={defaultColorScheme:d,...b,cssVarPrefix:i,colorSchemeSelector:l,rootSelector:c,getCssVar:p,colorSchemes:y,font:{...Bw(b.typography),...b.font},spacing:(_=A.spacing,"number"==typeof _?`${_}px`:"string"==typeof _||"function"==typeof _||Array.isArray(_)?_:"8px")};var _;Object.keys(x.colorSchemes).forEach(e=>{const t=x.colorSchemes[e].palette,n=e=>{const n=e.split("-"),r=n[1],o=n[2];return p(e,t[r][o])};function r(e,t,n){if(w){let r;return e===Fy&&(r=`transparent ${(100*(1-n)).toFixed(0)}%`),e===Uy&&(r=`#000 ${(100*n).toFixed(0)}%`),e===Iy&&(r=`#fff ${(100*n).toFixed(0)}%`),`color-mix(in ${w}, ${t}, ${r})`}return e(t,n)}var o;if("light"===t.mode&&(Ww(t.common,"background","#fff"),Ww(t.common,"onBackground","#000")),"dark"===t.mode&&(Ww(t.common,"background","#000"),Ww(t.common,"onBackground","#fff")),o=t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"].forEach(e=>{o[e]||(o[e]={})}),"light"===t.mode){Ww(t.Alert,"errorColor",r(Uy,t.error.light,.6)),Ww(t.Alert,"infoColor",r(Uy,t.info.light,.6)),Ww(t.Alert,"successColor",r(Uy,t.success.light,.6)),Ww(t.Alert,"warningColor",r(Uy,t.warning.light,.6)),Ww(t.Alert,"errorFilledBg",n("palette-error-main")),Ww(t.Alert,"infoFilledBg",n("palette-info-main")),Ww(t.Alert,"successFilledBg",n("palette-success-main")),Ww(t.Alert,"warningFilledBg",n("palette-warning-main")),Ww(t.Alert,"errorFilledColor",Xw(()=>t.getContrastText(t.error.main))),Ww(t.Alert,"infoFilledColor",Xw(()=>t.getContrastText(t.info.main))),Ww(t.Alert,"successFilledColor",Xw(()=>t.getContrastText(t.success.main))),Ww(t.Alert,"warningFilledColor",Xw(()=>t.getContrastText(t.warning.main))),Ww(t.Alert,"errorStandardBg",r(Iy,t.error.light,.9)),Ww(t.Alert,"infoStandardBg",r(Iy,t.info.light,.9)),Ww(t.Alert,"successStandardBg",r(Iy,t.success.light,.9)),Ww(t.Alert,"warningStandardBg",r(Iy,t.warning.light,.9)),Ww(t.Alert,"errorIconColor",n("palette-error-main")),Ww(t.Alert,"infoIconColor",n("palette-info-main")),Ww(t.Alert,"successIconColor",n("palette-success-main")),Ww(t.Alert,"warningIconColor",n("palette-warning-main")),Ww(t.AppBar,"defaultBg",n("palette-grey-100")),Ww(t.Avatar,"defaultBg",n("palette-grey-400")),Ww(t.Button,"inheritContainedBg",n("palette-grey-300")),Ww(t.Button,"inheritContainedHoverBg",n("palette-grey-A100")),Ww(t.Chip,"defaultBorder",n("palette-grey-400")),Ww(t.Chip,"defaultAvatarColor",n("palette-grey-700")),Ww(t.Chip,"defaultIconColor",n("palette-grey-700")),Ww(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),Ww(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),Ww(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),Ww(t.LinearProgress,"primaryBg",r(Iy,t.primary.main,.62)),Ww(t.LinearProgress,"secondaryBg",r(Iy,t.secondary.main,.62)),Ww(t.LinearProgress,"errorBg",r(Iy,t.error.main,.62)),Ww(t.LinearProgress,"infoBg",r(Iy,t.info.main,.62)),Ww(t.LinearProgress,"successBg",r(Iy,t.success.main,.62)),Ww(t.LinearProgress,"warningBg",r(Iy,t.warning.main,.62)),Ww(t.Skeleton,"bg",w?r(Fy,t.text.primary,.11):`rgba(${n("palette-text-primaryChannel")} / 0.11)`),Ww(t.Slider,"primaryTrack",r(Iy,t.primary.main,.62)),Ww(t.Slider,"secondaryTrack",r(Iy,t.secondary.main,.62)),Ww(t.Slider,"errorTrack",r(Iy,t.error.main,.62)),Ww(t.Slider,"infoTrack",r(Iy,t.info.main,.62)),Ww(t.Slider,"successTrack",r(Iy,t.success.main,.62)),Ww(t.Slider,"warningTrack",r(Iy,t.warning.main,.62));const e=w?r(Uy,t.background.default,.6825):Py(t.background.default,.8);Ww(t.SnackbarContent,"bg",e),Ww(t.SnackbarContent,"color",Xw(()=>w?ww.text.primary:t.getContrastText(e))),Ww(t.SpeedDialAction,"fabHoverBg",Py(t.background.paper,.15)),Ww(t.StepConnector,"border",n("palette-grey-400")),Ww(t.StepContent,"border",n("palette-grey-400")),Ww(t.Switch,"defaultColor",n("palette-common-white")),Ww(t.Switch,"defaultDisabledColor",n("palette-grey-100")),Ww(t.Switch,"primaryDisabledColor",r(Iy,t.primary.main,.62)),Ww(t.Switch,"secondary
2DisabledColor",r(Iy,t.secondary.main,.62)),Ww(t.Switch,"errorDisabledColor",r(Iy,t.error.main,.62)),Ww(t.Switch,"infoDisabledColor",r(Iy,t.info.main,.62)),Ww(t.Switch,"successDisabledColor",r(Iy,t.success.main,.62)),Ww(t.Switch,"warningDisabledColor",r(Iy,t.warning.main,.62)),Ww(t.TableCell,"border",r(Iy,r(Fy,t.divider,1),.88)),Ww(t.Tooltip,"bg",r(Fy,t.grey[700],.92))}if("dark"===t.mode){Ww(t.Alert,"errorColor",r(Iy,t.error.light,.6)),Ww(t.Alert,"infoColor",r(Iy,t.info.light,.6)),Ww(t.Alert,"successColor",r(Iy,t.success.light,.6)),Ww(t.Alert,"warningColor",r(Iy,t.warning.light,.6)),Ww(t.Alert,"errorFilledBg",n("palette-error-dark")),Ww(t.Alert,"infoFilledBg",n("palette-info-dark")),Ww(t.Alert,"successFilledBg",n("palette-success-dark")),Ww(t.Alert,"warningFilledBg",n("palette-warning-dark")),Ww(t.Alert,"errorFilledColor",Xw(()=>t.getContrastText(t.error.dark))),Ww(t.Alert,"infoFilledColor",Xw(()=>t.getContrastText(t.info.dark))),Ww(t.Alert,"successFilledColor",Xw(()=>t.getContrastText(t.success.dark))),Ww(t.Alert,"warningFilledColor",Xw(()=>t.getContrastText(t.warning.dark))),Ww(t.Alert,"errorStandardBg",r(Uy,t.error.light,.9)),Ww(t.Alert,"infoStandardBg",r(Uy,t.info.light,.9)),Ww(t.Alert,"successStandardBg",r(Uy,t.success.light,.9)),Ww(t.Alert,"warningStandardBg",r(Uy,t.warning.light,.9)),Ww(t.Alert,"errorIconColor",n("palette-error-main")),Ww(t.Alert,"infoIconColor",n("palette-info-main")),Ww(t.Alert,"successIconColor",n("palette-success-main")),Ww(t.Alert,"warningIconColor",n("palette-warning-main")),Ww(t.AppBar,"defaultBg",n("palette-grey-900")),Ww(t.AppBar,"darkBg",n("palette-background-paper")),Ww(t.AppBar,"darkColor",n("palette-text-primary")),Ww(t.Avatar,"defaultBg",n("palette-grey-600")),Ww(t.Button,"inheritContainedBg",n("palette-grey-800")),Ww(t.Button,"inheritContainedHoverBg",n("palette-grey-700")),Ww(t.Chip,"defaultBorder",n("palette-grey-700")),Ww(t.Chip,"defaultAvatarColor",n("palette-grey-300")),Ww(t.Chip,"defaultIconColor",n("palette-grey-300")),Ww(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),Ww(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),Ww(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),Ww(t.LinearProgress,"primaryBg",r(Uy,t.primary.main,.5)),Ww(t.LinearProgress,"secondaryBg",r(Uy,t.secondary.main,.5)),Ww(t.LinearProgress,"errorBg",r(Uy,t.error.main,.5)),Ww(t.LinearProgress,"infoBg",r(Uy,t.info.main,.5)),Ww(t.LinearProgress,"successBg",r(Uy,t.success.main,.5)),Ww(t.LinearProgress,"warningBg",r(Uy,t.warning.main,.5)),Ww(t.Skeleton,"bg",w?r(Fy,t.text.primary,.13):`rgba(${n("palette-text-primaryChannel")} / 0.13)`),Ww(t.Slider,"primaryTrack",r(Uy,t.primary.main,.5)),Ww(t.Slider,"secondaryTrack",r(Uy,t.secondary.main,.5)),Ww(t.Slider,"errorTrack",r(Uy,t.error.main,.5)),Ww(t.Slider,"infoTrack",r(Uy,t.info.main,.5)),Ww(t.Slider,"successTrack",r(Uy,t.success.main,.5)),Ww(t.Slider,"warningTrack",r(Uy,t.warning.main,.5));const e=w?r(Iy,t.background.default,.985):Py(t.background.default,.98);Ww(t.SnackbarContent,"bg",e),Ww(t.SnackbarContent,"color",Xw(()=>w?gw.text.primary:t.getContrastText(e))),Ww(t.SpeedDialAction,"fabHoverBg",Py(t.background.paper,.15)),Ww(t.StepConnector,"border",n("palette-grey-600")),Ww(t.StepContent,"border",n("palette-grey-600")),Ww(t.Switch,"defaultColor",n("palette-grey-300")),Ww(t.Switch,"defaultDisabledColor",n("palette-grey-600")),Ww(t.Switch,"primaryDisabledColor",r(Uy,t.primary.main,.55)),Ww(t.Switch,"secondaryDisabledColor",r(Uy,t.secondary.main,.55)),Ww(t.Switch,"errorDisabledColor",r(Uy,t.error.main,.55)),Ww(t.Switch,"infoDisabledColor",r(Uy,t.info.main,.55)),Ww(t.Switch,"successDisabledColor",r(Uy,t.success.main,.55)),Ww(t.Switch,"warningDisabledColor",r(Uy,t.warning.main,.55)),Ww(t.TableCell,"border",r(Uy,r(Fy,t.divider,1),.68)),Ww(t.Tooltip,"bg",r(Fy,t.grey[700],.92))}Yw(t.background,"default"),Yw(t.background,"paper"),Yw(t.common,"background"),Yw(t.common,"onBackground"),Yw(t,"divider"),Object.keys(t).forEach(e=>{const n=t[e];"tonalOffset"!==e&&n&&"object"==typeof n&&(n.main&&Ww(t[e],"mainChannel",Cy(Gw(n.main))),n.light&&Ww(t[e],"lightChannel",Cy(Gw(n.light))),n.dark&&Ww(t[e],"darkChannel",Cy(Gw(n.dark))),n.contrastText&&Ww(t[e],"contrastTextChannel",Cy(Gw(n.contrastText))),"text"===e&&(Yw(t[e],"primary"),Yw(t[e],"secondary")),"action"===e&&(n.active&&Yw(t[e],"active"),n.selected&&Yw(t[e],"selected")))})}),x=t.reduce((e,t)=>
2sg(e,t),x);const B={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:s,getSelector:qw(x),enableContrastVars:a},{vars:C,generateThemeVars:k,generateStyleSheets:S}=function(e,t={}){const{getSelector:n=g,disableCssColorScheme:r,colorSchemeSelector:o,enableContrastVars:i}=t,{colorSchemes:a={},components:s,defaultColorScheme:l="light",...c}=e,{vars:A,css:u,varsWithDefaults:d}=kw(c,t);let p=d;const f={},{[l]:h,...m}=a;if(Object.entries(m||{}).forEach(([e,n])=>{const{vars:r,css:o,varsWithDefaults:i}=kw(n,t);p=sg(p,i),f[e]={css:o,vars:r}}),h){const{css:e,vars:n,varsWithDefaults:r}=kw(h,t);p=sg(p,r),f[l]={css:e,vars:n}}function g(t,n){let r=o;if("class"===o&&(r=".%s"),"data"===o&&(r="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(r=`[${o}="%s"]`),t){if("media"===r){if(e.defaultColorScheme===t)return":root";const r=a[t]?.palette?.mode||t;return{[`@media (prefers-color-scheme: ${r})`]:{":root":n}}}if(r)return e.defaultColorScheme===t?`:root, ${r.replace("%s",String(t))}`:r.replace("%s",String(t))}return":root"}return{vars:p,generateThemeVars:()=>{let e={...A};return Object.entries(f).forEach(([,{vars:t}])=>{e=sg(e,t)}),e},generateStyleSheets:()=>{const t=[],o=e.defaultColorScheme||"light";function s(e,n){Object.keys(n).length&&t.push("string"==typeof e?{[e]:{...n}}:e)}s(n(void 0,{...u}),u);const{[o]:l,...c}=f;if(l){const{css:e}=l,t=a[o]?.palette?.mode,i=!r&&t?{colorScheme:t,...e}:{...e};s(n(o,{...i}),i)}return Object.entries(c).forEach(([e,{css:t}])=>{const o=a[e]?.palette?.mode,i=!r&&o?{colorScheme:o,...t}:{...t};s(n(e,{...i}),i)}),i&&t.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),t}}}(x,B);return x.vars=C,Object.entries(x.colorSchemes[x.defaultColorScheme]).forEach(([e,t])=>{x[e]=t}),x.generateThemeVars=k,x.generateStyleSheets=S,x.generateSpacing=function(){return Qg(A.spacing,Fg(this))},x.getColorSchemeSelector=function(e){return function(t){return"media"===e?`@media (prefers-color-scheme: ${t})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:"class"===e?`.${t} &`:"data"===e?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}(l),x.spacing=x.generateSpacing(),x.shouldSkipGeneratingVar=s,x.unstable_sxConfig={...Ay,...A?.unstable_sxConfig},x.unstable_sx=function(e){return dy({sx:e,theme:this})},x.toRuntimeSource=Ow,x}function ev(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...!0!==n&&n,palette:xw({...!0===n?{}:n.palette,mode:t})})}function tv(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:o=(n?void 0:{light:!0}),defaultColorScheme:i=n?.mode,...a}=e,s=i||"light",l=o?.[s],c={...o,...n?{[s]:{..."boolean"!=typeof l&&l,palette:n}}:void 0};if(!1===r){if(!("colorSchemes"in e))return Mw(e,...t);let r=n;"palette"in e||c[s]&&(!0!==c[s]?r=c[s].palette:"dark"===s&&(r={mode:"dark"}));const o=Mw({...e,palette:r},...t);return o.defaultColorScheme=s,o.colorSchemes=c,"light"===o.palette.mode&&(o.colorSchemes.light={...!0!==c.light&&c.light,palette:o.palette},ev(o,"dark",c.dark)),"dark"===o.palette.mode&&(o.colorSchemes.dark={...!0!==c.dark&&c.dark,palette:o.palette},ev(o,"light",c.light)),o}return n||"light"in c||"light"!==s||(c.light=!0),Zw({...a,colorSchemes:c,defaultColorScheme:s,..."boolean"!=typeof r&&r},...t)}const nv=tv(),rv="$$material",ov=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e},iv=e=>ov(e)&&"classes"!==e,av=function(e={}){const{themeId:t,defaultTheme:n=my,rootShouldForwardProp:r=gy,slotShouldForwardProp:o=gy}=e;function i(e){!function(e,t,n){e.theme=function(e){for(const t in e)return!1;return!0}(e.theme)?n:e.theme[t]||e.theme}(e,t,n)}return(e,t={})=>{!function(e){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=e.__emotion_styles.filter(e=>e!==dy))}(e);const{name:n,slot:a,skipVariantsResolver:s,skipSx:l,overridesResolver:c=wy(xy(a)),...A}=t,u=n&&n.startsWith("Mui")||a?"components":"custom",d=void 0!==s?s:a&&"Root"!==a&&"root"!==a||!1,p=l||!1;let f=gy;"Root"===a||"root"===a?f=r:a?f=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(f=void 0);const h=tg(e,{shouldForwardProp:f,label:void 0,...A}),m=e=>{if(e.__emotion_real===e)return e;if("function"==typeof e)return function(t){return vy(t,e,t.theme.modularCssLayers?u:void 0)};if(ig(e)){const t=hy(e);return function(e){return t.variants?vy(e,t,e.theme.modularCssLayers?u:void 0):e.theme.modularCssLayers?yy(t.style,u):t.style}}return e},g=(...t)=>{const r=[],o=t.map(m),a=[];if(r.push(i),n&&c&&a.push(function(e){const t=e.theme,r=t.components?.[n]?.styleOverrides;if(!r)return null;const o={};for(const t in r)o[t]=vy(e,r[t],e.theme.modularCssLayers?"theme":void 0);return c(e,o)}),n&&!d&&a.push(function(e){const t=e.theme,r=t?.components?.[n]?.variants;return r?by(e,r,[],e.theme.modularCssLayers?"theme":void 0):null}),p||a.push(dy),Array.isArray(o[0])){const e=o.shift(),t=new Array(r.length).fill(""),n=new Array(a.length).fill("");let i;i=[...t,...e,...n],i.raw=[...t,...e.raw,...n],r.unshift(i)}const s=[...r,...o,...a],l=h(...s);return e.muiName&&(l.muiName=e.muiName),l};return h.withConfig&&(g.withConfig=h.withConfig),g}}({themeId:rv,defaultTheme:nv,rootShouldForwardProp:iv}),sv=av;function lv(e,t,n=!1){const r={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const i=o;if("components"===i||"slots"===i)r[i]={...e[i],...r[i]};else if("componentsProps"===i||"slotProps"===i){const o=e[i],a=t[i];if(a)if(o){r[i]={...a};for(const e in o)if(Object.prototype.hasOwnProperty.call(o,e)){const t=e;r[i][t]=lv(o[t],a[t],n)}}else r[i]=a;else r[i]=o||{}}else"className"===i&&n&&t.className?r.className=yh(e?.className,t?.className):"style"===i&&n&&t.style?r.style={...e?.style,...t?.style}:void 0===r[i]&&(r[i]=e[i])}return r}const cv=n.createContext(void 0);function Av(e){return function({props:e,name:t}){return function(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?lv(o.defaultProps,r,t.components.mergeClassNameAndStyle):o.styleOverrides||o.variants?r:lv(o,r,t.components.mergeClassNameAndStyle)}({props:e,name:t,theme:{components:n.useContext(cv)}})}(e)}function uv(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function dv(e,t=!1){return e&&(uv(e.value)&&""!==e.value||t&&uv(e.defaultValue)&&""!==e.defaultValue)}const pv=gg,fv=function(e,t){return n.isValidElement(e)&&-1!==t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)}
2,hv=n.createContext(void 0),mv=e=>e,gv=(()=>{let e=mv;return{configure(t){e=t},generate:t=>e(t),reset(){e=mv}}})(),yv={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function wv(e,t,n="Mui"){const r=yv[t];return r?`${n}-${r}`:`${gv.generate(e)}-${t}`}function vv(e,t,n="Mui"){const r={};return t.forEach(t=>{r[t]=wv(e,t,n)}),r}function bv(e){return wv("MuiFormControl",e)}vv("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const xv=sv("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`margin${pv(n.margin)}`],n.fullWidth&&t.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),_v=n.forwardRef(function(e,t){const r=Av({props:e,name:"MuiFormControl"}),{children:o,className:i,color:a="primary",component:s="div",disabled:l=!1,error:c=!1,focused:A,fullWidth:u=!1,hiddenLabel:d=!1,margin:p="none",required:f=!1,size:h="medium",variant:m="outlined",...g}=r,y={...r,color:a,component:s,disabled:l,error:c,fullWidth:u,hiddenLabel:d,margin:p,required:f,size:h,variant:m},w=(e=>{const{classes:t,margin:n,fullWidth:r}=e;return wh({root:["root","none"!==n&&`margin${pv(n)}`,r&&"fullWidth"]},bv,t)})(y),[v,b]=n.useState(()=>{let e=!1;return o&&n.Children.forEach(o,t=>{if(!fv(t,["Input","Select"]))return;const n=fv(t,["Select"])?t.props.input:t;n&&n.props.startAdornment&&(e=!0)}),e}),[x,_]=n.useState(()=>{let e=!1;return o&&n.Children.forEach(o,t=>{fv(t,["Input","Select"])&&(dv(t.props,!0)||dv(t.props.inputProps,!0))&&(e=!0)}),e}),[B,C]=n.useState(!1);l&&B&&C(!1);const k=void 0===A||l?B:A;let S;n.useRef(!1);const j=n.useCallback(()=>{_(!0)},[]),E=n.useCallback(()=>{_(!1)},[]),F=n.useMemo(()=>({adornedStart:v,setAdornedStart:b,color:a,disabled:l,error:c,filled:x,focused:k,fullWidth:u,hiddenLabel:d,size:h,onBlur:()=>{C(!1)},onFocus:()=>{C(!0)},onEmpty:E,onFilled:j,registerEffect:S,required:f,variant:m}),[v,a,l,c,x,k,u,d,S,E,j,f,h,m]);return(0,ga.jsx)(hv.Provider,{value:F,children:(0,ga.jsx)(xv,{as:s,ownerState:y,className:yh(w.root,i),ref:t,...g,children:o})})}),Bv=_v;function Cv({props:e,states:t,muiFormControl:n}){return t.reduce((t,r)=>(t[r]=e[r],n&&void 0===e[r]&&(t[r]=n[r]),t),{})}function kv(){return n.useContext(hv)}const Sv={theme:void 0},jv=function(e){let t,n;return function(r){let o=t;return void 0!==o&&r.theme===n||(Sv.theme=r.theme,o=hy(e(Sv)),t=o,n=r.theme),o}};function Ev(e=[]){return([,t])=>t&&function(e,t=[]){if(!function(e){return"string"==typeof e.main}(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||"string"!=typeof e[n])return!1;return!0}(t,e)}function Fv(e){return wv("MuiFormLabel",e)}const Nv=vv("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),Uv=sv("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"secondary"===n.color&&t.colorSecondary,n.filled&&t.filled]}})(jv(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(Ev()).map(([t])=>({props:{color:t},style:{[`&.${Nv.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${Nv.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Nv.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),Lv=sv("span",{name:"MuiFormLabel",slot:"Asterisk"})(jv(({theme:e})=>({[`&.${Nv.error}`]:{color:(e.vars||e).palette.error.main}}))),Iv=n.forwardRef(function(e,t){const n=Av({props:e,name:"MuiFormLabel"}),{children:r,className:o,color:i,component:a="label",disabled:s,error:l,filled:c,focused:A,required:u,...d}=n,p=Cv({props:n,muiFormControl:kv(),states:["color","required","focused","disabled","error","filled"]}),f={...n,color:p.color||"primary",component:a,disabled:p.disabled,error:p.error,filled:p.filled,focused:p.focused,required:p.required},h=(e=>{const{classes:t,color:n,focused:r,disabled:o,error:i,filled:a,required:s}=e;return wh({root:["root",`color${pv(n)}`,o&&"disabled",i&&"error",a&&"filled",r&&"focused",s&&"required"],asterisk:["asterisk",i&&"error"]},Fv,t)})(f);return(0,ga.jsxs)(Uv,{as:a,ownerState:f,className:yh(h.root,o),ref:t,...d,children:[r,p.required&&(0,ga.jsxs)(Lv,{ownerState:f,"aria-hidden":!0,
2className:h.asterisk,children:[" ","*"]})]})}),Pv=Iv;let Qv=0;const Tv={...r}.useId;function Dv(e){if(void 0!==Tv){const t=Tv();return e??t}return function(e){const[t,r]=n.useState(e),o=e||t;return n.useEffect(()=>{null==t&&(Qv+=1,r(`mui-${Qv}`))},[t]),o}(e)}const Ov=function(e){return"string"==typeof e};function Rv(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout(()=>{e.apply(this,r)},t)}return r.clear=()=>{clearTimeout(n)},r}function Mv(...e){const t=n.useRef(void 0),r=n.useCallback(t=>{const n=e.map(e=>{if(null==e)return null;if("function"==typeof e){const n=e,r=n(t);return"function"==typeof r?r:()=>{n(null)}}return e.current=t,()=>{e.current=null}});return()=>{n.forEach(e=>e?.())}},e);return n.useMemo(()=>e.every(e=>null==e)?null:e=>{t.current&&(t.current(),t.current=void 0),null!=e&&(t.current=r(e))},e)}const Hv="undefined"!=typeof window?n.useLayoutEffect:n.useEffect,zv=function(e){const t=n.useRef(e);return Hv(()=>{t.current=e}),n.useRef((...e)=>(0,t.current)(...e)).current};function Kv(e){return e&&e.ownerDocument||document}function $v(e){return Kv(e).defaultView||window}function Vv(e){return parseInt(e,10)||0}const qv={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function Wv(e){return function(e){for(const t in e)return!1;return!0}(e)||0===e.outerHeightStyle&&!e.overflowing}const Gv=n.forwardRef(function(e,t){const{onChange:r,maxRows:o,minRows:i=1,style:a,value:s,...l}=e,{current:c}=n.useRef(null!=s),A=n.useRef(null),u=Mv(t,A),d=n.useRef(null),p=n.useRef(null),f=n.useCallback(()=>{const t=A.current,n=p.current;if(!t||!n)return;const r=$v(t).getComputedStyle(t);if("0px"===r.width)return{outerHeightStyle:0,overflowing:!1};n.style.width=r.width,n.value=t.value||e.placeholder||"x","\n"===n.value.slice(-1)&&(n.value+=" ");const a=r.boxSizing,s=Vv(r.paddingBottom)+Vv(r.paddingTop),l=Vv(r.borderBottomWidth)+Vv(r.borderTopWidth),c=n.scrollHeight;n.value="x";const u=n.scrollHeight;let d=c;return i&&(d=Math.max(Number(i)*u,d)),o&&(d=Math.min(Number(o)*u,d)),d=Math.max(d,u),{outerHeightStyle:d+("border-box"===a?s+l:0),overflowing:Math.abs(d-c)<=1}},[o,i,e.placeholder]),h=zv(()=>{const e=A.current,t=f();if(!e||!t||Wv(t))return!1;const n=t.outerHeightStyle;return null!=d.current&&d.current!==n}),m=n.useCallback(()=>{const e=A.current,t=f();if(!e||!t||Wv(t))return;const n=t.outerHeightStyle;d.current!==n&&(d.current=n,e.style.height=`${n}px`),e.style.overflow=t.overflowing?"hidden":""},[f]),g=n.useRef(-1);return Hv(()=>{const e=Rv(m),t=A?.current;if(!t)return;const n=$v(t);let r;return n.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(r=new ResizeObserver(()=>{h()&&(r.unobserve(t),cancelAnimationFrame(g.current),m(),g.current=requestAnimationFrame(()=>{r.observe(t)}))}),r.observe(t)),()=>{e.clear(),cancelAnimationFrame(g.current),n.removeEventListener("resize",e),r&&r.disconnect()}},[f,m,h]),Hv(()=>{m()}),(0,ga.jsxs)(n.Fragment,{children:[(0,ga.jsx)("textarea",{value:s,onChange:e=>{c||m();const t=e.target,n=t.value.length,o=t.value.endsWith("\n"),i=t.selectionStart===n;o&&i&&t.setSelectionRange(n,n),r&&r(e)},ref:u,rows:i,style:a,...l}),(0,ga.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:p,tabIndex:-1,style:{...qv,...a,paddingTop:0,paddingBottom:0}})]})}),Yv=Gv;function Xv(e){const{sx:t,...n}=e,{systemProps:r,otherProps:o}=(e=>{const t={systemProps:{},otherProps:{}},n=e?.theme?.unstable_sxConfig??Ay;return Object.keys(e).forEach(r=>{n[r]?t.systemProps[r]=e[r]:t.otherProps[r]=e[r]}),t})(n);let i;return i=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return ig(n)?{...r,...n}:r}:{...r,...t},{...o,sx:i}}a(4146);var Jv,Zv,eb=function(e,t){var r=arguments;if(null==t||!zm.call(t,"css"))return n.createElement.apply(void 0,r);var o=r.length,i=new Array(o);i[0]=qm,i[1]=function(e,t){var n={};for(var r in t)zm.call(t,r)&&(n[r]=t[r]);return n[Km]=e,n}(e,t);for(var a=2;a<o;a++)i[a]=r[a];return n.createElement.apply(null,i)};Jv=eb||(eb={}),Zv||(Zv=Jv.JSX||(Jv.JSX={}));var tb=Mm(function(e,t){var r=Qm([e.styles],void 0,n.useContext(Hm)),o=n.useRef();return Om(function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,a=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==a&&(i=!0,a.setAttribute("data-emotion",e),n.hydrate([a])),o.current=[n,i],function(){n.flush()}},[t]),Om(function(){var e=o.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&Bm(t,r.next,!0),n.tags.length){var i=n.tags[n.tags.length-1].nextElementSibling;n.before=i,n.flush()}t.insert("",r,n,!1)}},[t,r.name]),null});function nb(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Qm(t)}function rb(){var e=nb.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}function ob(e){const{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return(0,ga.jsx)(tb,{styles:r})}const ib=fy(),ab=function(e=ib){return function(e=null){const t=n.useContext(Hm);return t&&(r=t,0!==Object.keys(r).length)?t:e;var r}(e)};
2function sb(e){const t=rg(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}const lb=function({styles:e,themeId:t,defaultTheme:n={}}){const r=ab(n),o=t&&r[t]||r;let i="function"==typeof e?e(o):e;return o.modularCssLayers&&(i=Array.isArray(i)?i.map(e=>sb("function"==typeof e?e(o):e)):sb(i)),(0,ga.jsx)(ob,{styles:i})},cb=function(e){return(0,ga.jsx)(lb,{...e,defaultTheme:nv,themeId:rv})},Ab=Mv,ub=Hv;function db(e){return wv("MuiInputBase",e)}const pb=vv("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var fb;const hb=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${pv(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},mb=(e,t)=>{const{ownerState:n}=e;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},gb=sv("div",{name:"MuiInputBase",slot:"Root",overridesResolver:hb})(jv(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${pb.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:e})=>e.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{paddingTop:1}},{props:({ownerState:e})=>e.fullWidth,style:{width:"100%"}}]}))),yb=sv("input",{name:"MuiInputBase",slot:"Input",overridesResolver:mb})(jv(({theme:e})=>{const t="light"===e.palette.mode,n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},o=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${pb.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${pb.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:e})=>!e.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:e})=>e.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),wb=(xb={"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}},function(e){return(0,ga.jsx)(cb,{styles:"function"==typeof xb?t=>xb({theme:t,...e}):xb})}),vb=n.forwardRef(function(e,t){const r=Av({props:e,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:i,autoFocus:a,className:s,color:l,components:c={},componentsProps:A={},defaultValue:u,disabled:d,disableInjectingGlobalStyles:p,endAdornment:f,error:h,fullWidth:m=!1,id:g,inputComponent:y="input",inputProps:w={},inputRef:v,margin:b,maxRows:x,minRows:_,multiline:B=!1,name:C,onBlur:k,onChange:S,onClick:j,onFocus:E,onKeyDown:F,onKeyUp:N,placeholder:U,readOnly:L,renderSuffix:I,rows:P,size:Q,slotProps:T={},slots:D={},startAdornment:O,type:R="text",value:M,...H}=r,z=null!=w.value?w.value:M,{current:K}=n.useRef(null!=z),$=n.useRef(),V=n.useCallback(e=>{},[]),q=Ab($,v,w.ref,V),[W,G]=n.useState(!1),Y=kv(),X=Cv({props:r,muiFormControl:Y,states:["color","disabled","error","hiddenLabel","size","required","filled"]});X.focused=Y?Y.focused:W,n.useEffect(()=>{!Y&&d&&W&&(G(!1),k&&k())},[Y,d,W,k]);const J=Y&&Y.onFilled,Z=Y&&Y.onEmpty,ee=n.useCallback(e=>{dv(e)?J&&J():Z&&Z()},[J,Z]);ub(()=>{K&&ee({value:z})},[z,ee,K]),n.useEffect(()=>{ee($.current)},[]);let te=y,ne=w;B&&"input"===te&&(ne=P?{type:void 0,minRows:P,maxRows:P,...ne}:{type:void 0,maxRows:x,minRows:_,...ne},te=Yv),n.useEffect(()=>{Y&&Y.setAdornedStart(Boolean(O))},[Y,O]);const re={...r,color:X.color||"primary",disabled:X.disabled,endAdornment:f,error:X.error,focused:X.focused,formControl:Y,fullWidth:m,hiddenLabel:X.hiddenLabel,multiline:B,size:X.size,startAdornment:O,type:R},oe=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:a,formControl:s,fullWidth:l,hiddenLabel:c,multiline:A,readOnly:u,size:d,startAdornment:p,type:f}=e;return wh({root:["root",`color${pv(n)}
2`,r&&"disabled",o&&"error",l&&"fullWidth",a&&"focused",s&&"formControl",d&&"medium"!==d&&`size${pv(d)}`,A&&"multiline",p&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel",u&&"readOnly"],input:["input",r&&"disabled","search"===f&&"inputTypeSearch",A&&"inputMultiline","small"===d&&"inputSizeSmall",c&&"inputHiddenLabel",p&&"inputAdornedStart",i&&"inputAdornedEnd",u&&"readOnly"]},db,t)})(re),ie=D.root||c.Root||gb,ae=T.root||A.root||{},se=D.input||c.Input||yb;return ne={...ne,...T.input??A.input},(0,ga.jsxs)(n.Fragment,{children:[!p&&"function"==typeof wb&&(fb||(fb=(0,ga.jsx)(wb,{}))),(0,ga.jsxs)(ie,{...ae,ref:t,onClick:e=>{$.current&&e.currentTarget===e.target&&$.current.focus(),j&&j(e)},...H,...!Ov(ie)&&{ownerState:{...re,...ae.ownerState}},className:yh(oe.root,ae.className,s,L&&"MuiInputBase-readOnly"),children:[O,(0,ga.jsx)(hv.Provider,{value:null,children:(0,ga.jsx)(se,{"aria-invalid":X.error,"aria-describedby":o,autoComplete:i,autoFocus:a,defaultValue:u,disabled:X.disabled,id:g,onAnimationStart:e=>{ee("mui-auto-fill-cancel"===e.animationName?$.current:{value:"x"})},name:C,placeholder:U,readOnly:L,required:X.required,rows:P,value:z,onKeyDown:F,onKeyUp:N,type:R,...ne,...!Ov(se)&&{as:te,ownerState:{...re,...ne.ownerState}},ref:q,className:yh(oe.input,ne.className,L&&"MuiInputBase-readOnly"),onBlur:e=>{k&&k(e),w.onBlur&&w.onBlur(e),Y&&Y.onBlur?Y.onBlur(e):G(!1)},onChange:(e,...t)=>{if(!K){const t=e.target||$.current;if(null==t)throw new Error(mg(1));ee({value:t.value})}w.onChange&&w.onChange(e,...t),S&&S(e,...t)},onFocus:e=>{E&&E(e),w.onFocus&&w.onFocus(e),Y&&Y.onFocus?Y.onFocus(e):G(!0)}})}),f,I?I({...X,startAdornment:O}):null]})]})}),bb=vb;var xb;function _b(e){return wv("MuiInput",e)}const Bb={...pb,...vv("MuiInput",["root","underline","input"])},Cb=sv(gb,{shouldForwardProp:e=>iv(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...hb(e,t),!n.disableUnderline&&t.underline]}})(jv(({theme:e})=>{let t="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(t=e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline)),{position:"relative",variants:[{props:({ownerState:e})=>e.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:e})=>!e.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Bb.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Bb.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${t}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Bb.disabled}, .${Bb.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${t}`}},[`&.${Bb.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Ev()).map(([t])=>({props:{color:t,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t].main}`}}}))]}})),kb=sv(yb,{name:"MuiInput",slot:"Input",overridesResolver:mb})({}),Sb=n.forwardRef(function(e,t){const n=Av({props:e,name:"MuiInput"}),{disableUnderline:r=!1,components:o={},componentsProps:i,fullWidth:a=!1,inputComponent:s="input",multiline:l=!1,slotProps:c,slots:A={},type:u="text",...d}=n,p=(e=>{const{classes:t,disableUnderline:n}=e,r=wh({root:["root",!n&&"underline"],input:["input"]},_b,t);return{...t,...r}})(n),f={root:{ownerState:{disableUnderline:r}}},h=c??i?sg(c??i,f):f,m=A.root??o.Root??Cb,g=A.input??o.Input??kb;return(0,ga.jsx)(bb,{slots:{root:m,input:g},slotProps:h,fullWidth:a,inputComponent:s,multiline:l,ref:t,type:u,...d,classes:p})});Sb.muiName="Input";const jb=Sb;function Eb(e){return wv("MuiFilledInput",e)}const Fb={...pb,...vv("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},Nb=sv(gb,{shouldForwardProp:e=>iv(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...hb(e,t),!n.disableUnderline&&t.underline]}})(jv(({theme:e})=>{const t="light"===e.palette.mode,n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",o=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",i=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:o,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${Fb.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Fb.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:i},variants:[{props:({ownerState:e})=>!e.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Fb.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Fb.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?e.alpha(e.vars.palette.common.onBackgroun
2d,e.vars.opacity.inputUnderline):n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Fb.disabled}, .${Fb.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Fb.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Ev()).map(([t])=>({props:{disableUnderline:!1,color:t},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t]?.main}`}}})),{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:12}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:12}},{props:({ownerState:e})=>e.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel&&"small"===e.size,style:{paddingTop:8,paddingBottom:9}}]}})),Ub=sv(yb,{name:"MuiFilledInput",slot:"Input",overridesResolver:mb})(jv(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}},{props:({ownerState:e})=>e.hiddenLabel&&"small"===e.size,style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:e})=>e.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),Lb=n.forwardRef(function(e,t){const n=Av({props:e,name:"MuiFilledInput"}),{disableUnderline:r=!1,components:o={},componentsProps:i,fullWidth:a=!1,hiddenLabel:s,inputComponent:l="input",multiline:c=!1,slotProps:A,slots:u={},type:d="text",...p}=n,f={...n,disableUnderline:r,fullWidth:a,inputComponent:l,multiline:c,type:d},h=(e=>{const{classes:t,disableUnderline:n,startAdornment:r,endAdornment:o,size:i,hiddenLabel:a,multiline:s}=e,l=wh({root:["root",!n&&"underline",r&&"adornedStart",o&&"adornedEnd","small"===i&&`size${pv(i)}`,a&&"hiddenLabel",s&&"multiline"],input:["input"]},Eb,t);return{...t,...l}})(n),m={root:{ownerState:f},input:{ownerState:f}},g=A??i?sg(m,A??i):m,y=u.root??o.Root??Nb,w=u.input??o.Input??Ub;return(0,ga.jsx)(bb,{slots:{root:y,input:w},slotProps:g,fullWidth:a,inputComponent:l,multiline:c,ref:t,type:d,...p,classes:h})});Lb.muiName="Input";const Ib=Lb;var Pb;const Qb=sv("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:iv})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),Tb=sv("legend",{name:"MuiNotchedOutlined",shouldForwardProp:iv})(jv(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:e})=>!e.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:e})=>e.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:e})=>e.withLabel&&e.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function Db(e){return wv("MuiOutlinedInput",e)}const Ob={...pb,...vv("MuiOutlinedInput",["root","notchedOutline","input"])},Rb=function(e,t,n){return void 0===e||Ov(e)?t:{...t,ownerState:{...t.ownerState,...n}}},Mb=function(e,t,n){return"function"==typeof e?e(t,n):e},Hb=function(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n)).forEac
2h(t=>{n[t]=e[t]}),n},zb=function(e){if(void 0===e)return{};const t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t])).forEach(n=>{t[n]=e[n]}),t},Kb=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const e=yh(n?.className,i,o?.className,r?.className),t={...n?.style,...o?.style,...r?.style},a={...n,...o,...r};return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const a=Hb({...o,...r}),s=zb(r),l=zb(o),c=t(a),A=yh(c?.className,n?.className,i,o?.className,r?.className),u={...c?.style,...n?.style,...o?.style,...r?.style},d={...c,...n,...l,...s};return A.length>0&&(d.className=A),Object.keys(u).length>0&&(d.style=u),{props:d,internalRef:c.ref}};function $b(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:i,internalForwardedProps:a,shouldForwardComponentProp:s=!1,...l}=t,{component:c,slots:A={[e]:void 0},slotProps:u={[e]:void 0},...d}=i,p=A[e]||r,f=Mb(u[e],o),{props:{component:h,...m},internalRef:g}=Kb({className:n,...l,externalForwardedProps:"root"===e?d:void 0,externalSlotProps:f}),y=Mv(g,f?.ref,t.ref),w="root"===e?h||c:h;return[p,Rb(p,{..."root"===e&&!c&&!A[e]&&a,..."root"!==e&&!A[e]&&a,...m,...w&&!s&&{as:w},...w&&s&&{component:w},ref:y},o)]}const Vb=sv(gb,{shouldForwardProp:e=>iv(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:hb})(jv(({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Ob.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Ob.notchedOutline}`]:{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}},[`&.${Ob.focused} .${Ob.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(Ev()).map(([t])=>({props:{color:t},style:{[`&.${Ob.focused} .${Ob.notchedOutline}`]:{borderColor:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${Ob.error} .${Ob.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Ob.disabled} .${Ob.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:14}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:14}},{props:({ownerState:e})=>e.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{padding:"8.5px 14px"}}]}})),qb=sv(function(e){const{children:t,classes:n,className:r,label:o,notched:i,...a}=e,s=null!=o&&""!==o,l={...e,notched:i,withLabel:s};return(0,ga.jsx)(Qb,{"aria-hidden":!0,className:r,ownerState:l,...a,children:(0,ga.jsx)(Tb,{ownerState:l,children:s?(0,ga.jsx)("span",{children:o}):Pb||(Pb=(0,ga.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})},{name:"MuiOutlinedInput",slot:"NotchedOutline"})(jv(({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}})),Wb=sv(yb,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:mb})(jv(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:e})=>e.multiline,style:{padding:0}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}}]}))),Gb=n.forwardRef(function(e,t){const r=Av({props:e,name:"MuiOutlinedInput"}),{components:o={},fullWidth:i=!1,inputComponent:a="input",label:s,multiline:l=!1,notched:c,slots:A={},slotProps:u={},type:d="text",...p}=r,f=(e=>{const{classes:t}=e,n=wh({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Db,t);return{...t,...n}})(r),h=kv(),m=Cv({props:r,muiFormControl:h,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),g={...r,color:m.color||"primary",disabled:m.disabled,error:m.error,focused:m.focused,formControl:h,fullWidth:i,hiddenLabel:m.hiddenLabel,multiline:l,size:m.size,type:d}
2,y=A.root??o.Root??Vb,w=A.input??o.Input??Wb,[v,b]=$b("notchedOutline",{elementType:qb,className:f.notchedOutline,shouldForwardComponentProp:!0,ownerState:g,externalForwardedProps:{slots:A,slotProps:u},additionalProps:{label:null!=s&&""!==s&&m.required?(0,ga.jsxs)(n.Fragment,{children:[s," ","*"]}):s}});return(0,ga.jsx)(bb,{slots:{root:y,input:w},slotProps:u,renderSuffix:e=>(0,ga.jsx)(v,{...b,notched:void 0!==c?c:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:i,inputComponent:a,multiline:l,ref:t,type:d,...p,classes:{...f,notchedOutline:null}})});Gb.muiName="Input";const Yb=Gb;function Xb(e){return wv("MuiInputLabel",e)}vv("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const Jb=sv(Pv,{shouldForwardProp:e=>iv(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Nv.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focu
2sed,t[n.variant]]}})(jv(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:e})=>e.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:e})=>e.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:e})=>!e.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:e,ownerState:t})=>"filled"===e&&t.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:e,ownerState:t,size:n})=>"filled"===e&&t.shrink&&"small"===n,style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:e,ownerState:t})=>"outlined"===e&&t.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),Zb=n.forwardRef(function(e,t){const n=Av({name:"MuiInputLabel",props:e}),{disableAnimation:r=!1,margin:o,shrink:i,variant:a,className:s,...l}=n,c=kv();let A=i;void 0===A&&c&&(A=c.filled||c.focused||c.adornedStart);const u=Cv({props:n,muiFormControl:c,states:["size","variant","required","focused"]}),d={...n,disableAnimation:r,formControl:c,shrink:A,size:u.size,variant:u.variant,required:u.required,focused:u.focused},p=(e=>{const{classes:t,formControl:n,size:r,shrink:o,disableAnimation:i,variant:a,required:s}=e,l=wh({root:["root",n&&"formControl",!i&&"animated",o&&"shrink",r&&"medium"!==r&&`size${pv(r)}`,a],asterisk:[s&&"asterisk"]},Xb,t);return{...t,...l}})(d);return(0,ga.jsx)(Jb,{"data-shrink":A,ref:t,className:yh(p.root,s),...l,ownerState:d,classes:p})}),ex=Zb;function tx(e){return wv("MuiFormHelperText",e)}const nx=vv("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var rx;const ox=sv("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${pv(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(jv(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${nx.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${nx.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:e})=>e.contained,style:{marginLeft:14,marginRight:14}}]}))),ix=n.forwardRef(function(e,t){const n=Av({props:e,name:"MuiFormHelperText"}),{children:r,className:o,component:i="p",disabled:a,error:s,filled:l,focused:c,margin:A,required:u,variant:d,...p}=n,f=Cv({props:n,muiFormControl:kv(),states:["variant","size","disabled","error","filled","focused","required"]}),h={...n,component:i,contained:"filled"===f.variant||"outlined"===f.variant,variant:f.variant,size:f.size,disabled:f.disabled,error:f.error,filled:f.filled,focused:f.focused,required:f.required};delete h.ownerState;const m=(e=>{const{classes:t,contained:n,size:r,disabled:o,error:i,filled:a,focused:s,required:l}=e;return wh({root:["root",o&&"disabled",i&&"error",r&&`size${pv(r)}`,n&&"contained",s&&"focused",a&&"filled",l&&"required"]},tx,t)})(h);return(0,ga.jsx)(ox,{as:i,className:yh(m.root,o),ref:t,...p,ownerState:h,children:" "===r?rx||(rx=(0,ga.jsx)("span",{className:"notranslate","aria-hidden":!0,
2children:"​"})):r})}),ax=ix;function sx(e){return parseInt(n.version,10)>=19?e?.props?.ref||null:e?.ref||null}const lx=Kv,cx=n.createContext(),Ax=()=>n.useContext(cx)??!1,ux=n.createContext({});function dx(e){return wv("MuiList",e)}vv("MuiList",["root","padding","dense","subheader"]);const px=sv("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),fx=n.forwardRef(function(e,t){const r=Av({props:e,name:"MuiList"}),{children:o,className:i,component:a="ul",dense:s=!1,disablePadding:l=!1,subheader:c,...A}=r,u=n.useMemo(()=>({dense:s}),[s]),d={...r,component:a,dense:s,disablePadding:l},p=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return wh({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},dx,t)})(d);return(0,ga.jsx)(ux.Provider,{value:u,children:(0,ga.jsxs)(px,{as:a,className:yh(p.root,i),ref:t,ownerState:d,...A,children:[c,o]})})});function hx(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}const mx=hx,gx=$v;function yx(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function wx(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function vx(e,t){if(void 0===t)return!0;let n=e.innerText;return void 0===n&&(n=e.textContent),n=n.trim().toLowerCase(),0!==n.length&&(t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join("")))}function bx(e,t,n,r,o,i){let a=!1,s=o(e,t,!!t&&n);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const t=!r&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&vx(s,i)&&!t)return s.focus(),!0;s=o(e,s,n)}return!1}const xx=n.forwardRef(function(e,t){const{actions:r,autoFocus:o=!1,autoFocusItem:i=!1,children:a,className:s,disabledItemsFocusable:l=!1,disableListWrap:c=!1,onKeyDown:A,variant:u="selectedMenu",...d}=e,p=n.useRef(null),f=n.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});ub(()=>{o&&p.current.focus()},[o]),n.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const n=!p.current.style.width;if(e.clientHeight<p.current.clientHeight&&n){const n=`${mx(gx(e))}px`;p.current.style["rtl"===t?"paddingLeft":"paddingRight"]=n,p.current.style.width=`calc(100% + ${n})`}return p.current}}),[]);const h=Ab(p,t);let m=-1;n.Children.forEach(a,(e,t)=>{n.isValidElement(e)?(e.props.disabled||("selectedMenu"===u&&e.props.selected||-1===m)&&(m=t),m===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(m+=1,m>=a.length&&(m=-1))):m===t&&(m+=1,m>=a.length&&(m=-1))});const g=n.Children.map(a,(e,t)=>{if(t===m){const t={};return i&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===u&&(t.tabIndex=0),n.cloneElement(e,t)}return e});return(0,ga.jsx)(fx,{role:"menu",ref:h,className:s,onKeyDown:e=>{const t=p.current,n=e.key;if(e.ctrlKey||e.metaKey||e.altKey)return void(A&&A(e));const r=lx(t).activeElement;if("ArrowDown"===n)e.preventDefault(),bx(t,r,c,l,yx);else if("ArrowUp"===n)e.preventDefault(),bx(t,r,c,l,wx);else if("Home"===n)e.preventDefault(),bx(t,null,c,l,yx);else if("End"===n)e.preventDefault(),bx(t,null,c,l,wx);else if(1===n.length){const o=f.current,i=n.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);const s=r&&!o.repeating&&vx(r,o);o.previousKeyMatched&&(s||bx(t,r,!1,l,yx,o))?e.preventDefault():o.previousKeyMatched=!1}A&&A(e)},tabIndex:o?0:-1,...d,children:g})}),_x=xx,Bx=Rv,Cx={};function kx(e,t){const r=n.useRef(Cx);return r.current===Cx&&(r.current=e(t)),r}const Sx=[];class jx{static create(){return new jx}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)};
2disposeEffect=()=>this.clear}function Ex(){const e=kx(jx.create).current;var t;return t=e.disposeEffect,n.useEffect(t,Sx),e}function Fx(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}function Nx(e,t){return Nx=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Nx(e,t)}function Ux(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Nx(e,t)}const Lx=n.createContext(null);var Ix="unmounted",Px="exited",Qx="entering",Tx="entered",Dx="exiting",Ox=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=Px,r.appearStatus=Qx):o=Tx:o=t.unmountOnExit||t.mountOnEnter?Ix:Px,r.state={status:o},r.nextCallback=null,r}Ux(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Ix?{status:Px}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;
2this.props.in?n!==Qx&&n!==Tx&&(t=Qx):n!==Qx&&n!==Tx||(t=Dx)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Qx){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:qn.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Px&&this.setState({status:Ix})},r.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[qn.findDOMNode(this),r],i=o[0],a=o[1],s=this.getTimeouts(),l=r?s.appear:s.enter;e||n?(this.props.onEnter(i,a),this.safeSetState({status:Qx},function(){t.props.onEntering(i,a),t.onTransitionEnd(l,function(){t.safeSetState({status:Tx},function(){t.props.onEntered(i,a)})})})):this.safeSetState({status:Tx},function(){t.props.onEntered(i)})},r.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:qn.findDOMNode(this);t?(this.props.onExit(r),this.safeSetState({status:Dx},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:Px},function(){e.props.onExited(r)})})})):this.safeSetState({status:Px},function(){e.props.onExited(r)})},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:qn.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===Ix)return null;var t=this.props,r=t.children,o=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,Fx(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return n.createElement(Lx.Provider,{value:null},"function"==typeof r?r(e,o):n.cloneElement(n.Children.only(r),o))},t}(n.Component);function Rx(){}Ox.contextType=Lx,Ox.propTypes={},Ox.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Rx,onEntering:Rx,onEntered:Rx,onExit:Rx,onExiting:Rx,onExited:Rx},Ox.UNMOUNTED=Ix,Ox.EXITED=Px,Ox.ENTERING=Qx,Ox.ENTERED=Tx,Ox.EXITING=Dx;const Mx=Ox;function Hx(){const e=ab(nv);return e[rv]||e}const zx=e=>e.scrollTop;function Kx(e,t){const{timeout:n,easing:r,style:o={}}=e;return{duration:o.transitionDuration??("number"==typeof n?n:n[t.mode]||0),easing:o.transitionTimingFunction??("object"==typeof r?r[t.mode]:r),delay:o.transitionDelay}}function $x(e){return`scale(${e}, ${e**2})`}const Vx={entering:{opacity:1,transform:$x(1)},entered:{opacity:1,transform:"none"}},qx="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Wx=n.forwardRef(function(e,t){const{addEndListener:r,appear:o=!0,children:i,easing:a,in:s,onEnter:l,onEntered:c,onEntering:A,onExit:u,onExited:d,onExiting:p,style:f,timeout:h="auto",TransitionComponent:m=Mx,...g}=e,y=Ex(),w=n.useRef(),v=Hx(),b=n.useRef(null),x=Ab(b,sx(i),t),_=e=>t=>{if(e){const n=b.current;void 0===t?e(n):e(n,t)}},B=_(A),C=_((e,t)=>
2{zx(e);const{duration:n,delay:r,easing:o}=Kx({style:f,timeout:h,easing:a},{mode:"enter"});let i;"auto"===h?(i=v.transitions.getAutoHeightDuration(e.clientHeight),w.current=i):i=n,e.style.transition=[v.transitions.create("opacity",{duration:i,delay:r}),v.transitions.create("transform",{duration:qx?i:.666*i,delay:r,easing:o})].join(","),l&&l(e,t)}),k=_(c),S=_(p),j=_(e=>{const{duration:t,delay:n,easing:r}=Kx({style:f,timeout:h,easing:a},{mode:"exit"});let o;"auto"===h?(o=v.transitions.getAutoHeightDuration(e.clientHeight),w.current=o):o=t,e.style.transition=[v.transitions.create("opacity",{duration:o,delay:n}),v.transitions.create("transform",{duration:qx?o:.666*o,delay:qx?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=$x(.75),u&&u(e)}),E=_(d);return(0,ga.jsx)(m,{appear:o,in:s,nodeRef:b,onEnter:C,onEntered:k,onEntering:B,onExit:j,onExited:E,onExiting:S,addEndListener:e=>{"auto"===h&&y.start(w.current||0,e),r&&r(b.current,e)},timeout:"auto"===h?null:h,...g,children:(e,{ownerState:t,...r})=>n.cloneElement(i,{style:{opacity:0,transform:$x(.75),visibility:"exited"!==e||s?void 0:"hidden",...Vx[e],...f,...i.props.style},ref:x,...r})})});Wx&&(Wx.muiSupportAuto=!0);const Gx=Wx,Yx=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Xx(e){const t=[],n=[];return Array.from(e.querySelectorAll(Yx)).forEach((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))}),n.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function Jx(){return!0}const Zx=function(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:o=!1,disableRestoreFocus:i=!1,getTabbable:a=Xx,isEnabled:s=Jx,open:l}=e,c=n.useRef(!1),A=n.useRef(null),u=n.useRef(null),d=n.useRef(null),p=n.useRef(null),f=n.useRef(!1),h=n.useRef(null),m=Mv(sx(t),h),g=n.useRef(null);n.useEffect(()=>{l&&h.current&&(f.current=!r)},[r,l]),n.useEffect(()=>{if(!l||!h.current)return;const e=Kv(h.current);return h.current.contains(e.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex","-1"),f.current&&h.current.focus()),()=>{i||(d.current&&d.current.focus&&(c.current=!0,d.current.focus()),d.current=null)}},[l]),n.useEffect(()=>{if(!l||!h.current)return;const e=Kv(h.current),t=t=>{g.current=t,!o&&s()&&"Tab"===t.key&&e.activeElement===h.current&&t.shiftKey&&(c.current=!0,u.current&&u.current.focus())},n=()=>{const t=h.current;if(null===t)return;if(!e.hasFocus()||!s()||c.current)return void(c.current=!1);if(t.contains(e.activeElement))return;if(o&&e.activeElement!==A.current&&e.activeElement!==u.current)return;if(e.activeElement!==p.current)p.current=null;else if(null!==p.current)return;if(!f.current)return;let n=[];if(e.activeElement!==A.current&&e.activeElement!==u.current||(n=a(h.current)),n.length>0){const e=Boolean(g.current?.shiftKey&&"Tab"===g.current?.key),t=n[0],r=n[n.length-1];"string"!=typeof t&&"string"!=typeof r&&(e?r.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const r=setInterval(()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()},50);return()=>{clearInterval(r),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}},[r,o,i,s,l,a]);const y=e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0};return(0,ga.jsxs)(n.Fragment,{children:[(0,ga.jsx)("div",{tabIndex:l?0:-1,onFocus:y,ref:A,"data-testid":"sentinelStart"}),n.cloneElement(t,{ref:m,onFocus:e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0,p.current=e.target;const n=t.props.onFocus;n&&n(e)}}),(0,ga.jsx)("div",{tabIndex:l?0:-1,onFocus:y,ref:u,"data-testid":"sentinelEnd"})]})};function e_(e,t){"function"==typeof e?e(t):e&&(e.current=t)}const t_=n.forwardRef(function(e,t){const{children:r,container:o,disablePortal:i=!1}=e,[a,s]=n.useState(null),l=Mv(n.isValidElement(r)?sx(r):null,t);if(Hv(()=>{i||s(function(e){return"function"==typeof e?e():e}(o)||document.body)},[o,i]),Hv(()=>{if(a&&!i)return e_(t,a),()=>{e_(t,null)}},[t,a,i]),i){if(n.isValidElement(r)){const e={ref:l};return n.cloneElement(r,e)}return r}return a?qn.createPortal(r,a):a}),n_=t_,r_={entering:{opacity:1},entered:{opacity:1}},o_=n.forwardRef(function(e,t){const r=Hx(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:s,easing:l,in:c,onEnter:A,onEntered:u,onEntering:d,onExit:p,onExited:f,onExiting:h,style:m,timeout:g=o,TransitionComponent:y=Mx,...w}=e,v=n.useRef(null),b=Ab(v,sx(s),t),x=e=>t=>{if(e){const n=v.current;void 0===t?e(n):e(n,t)}},_=x(d),B=x((e,t)=>{zx(e);const n=Kx({style:m,timeout:g,easing:l},{mode:"enter"});e.style.webkitTransition=r.transitions.create("opacity",n),e.style.transition=r.transitions.create("opacity",n),A&&A(e,t)}),C=x(u),k=x(h),S=x(e=>{const t=Kx({style:m,timeout:g,easing:l},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),p&&p(e)}),j=x(f);return(0,ga.jsx)(y,{appear:a,in:c,nodeRef:v,onEnter:B,onEntered:C,onEntering:_,onExit:S,onExited:j,onExiting:k,addEndListener:e=>{i&&i(v.current,e)},timeout:g,...w,children:(e,{ownerState:t,...r})=>n.cloneElement(s,{style:{opacity:0,visibility:"exited"!==e||c?void 0:"hidden",...r_[e],...m,...s.props.style},ref:b,...r})})}),i_=o_;function a_(e){return wv("MuiBackdrop",e)}vv("MuiBackdrop",["root","invisible"]);const s_=sv("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),l_=n.forwardRef(function(e,t){const n=Av({props:e,name:"MuiBackdrop"}),{children:r,className:o,component:i="div",invisible:a=!1,open:s,components:l={},componentsProps:c={},slotProps:A={},slots:u={},TransitionComponent:d,transitionDuration:p,...f}=n,h={...n,component:i,invisible:a},m=(e=>{const{classes:t,invisible:n}=e;return wh({root:["root",n&&"invisible"]},a_,t)})(h),g={component:i,slots:{transition:d,root:l.Root,...u},slotProps:{...c,...A}},[y,w]=$b("root",{elementType:s_,externalForwardedProps:g,className:yh(m.root,o),ownerState:h}),[v,b]=$b("transition",{elementType:i_,externalForwardedProps:g,ownerState:h});return(0,ga.jsx)(v,{in:s,timeout:p,...f,...b,children:(0,ga.jsx)(y,{"aria-hidden":!0,...w,classes:m,ref:t,children:r})})});function c_(...e){return e.reduce((e,t)=>
2null==t?e:function(...n){e.apply(this,n),t.apply(this,n)},()=>{})}function A_(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function u_(e){return parseInt($v(e).getComputedStyle(e).paddingRight,10)||0}function d_(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,e=>{const t=!i.includes(e),n=!function(e){const t=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&A_(e,o)})}function p_(e,t){let n=-1;return e.some((e,r)=>!!t(e)&&(n=r,!0)),n}const f_=()=>{},h_=new class{constructor(){this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&A_(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)}),t}(t);d_(t,e.mount,e.modalRef,r,!0);const o=p_(this.containers,e=>e.container===t);return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=p_(this.containers,t=>t.modals.includes(e)),r=this.containers[n];r.restore||(r.restore=function(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=Kv(e);return t.body===e?$v(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=hx($v(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${u_(r)+e}px`;const t=Kv(r).querySelectorAll(".mui-fixed");[].forEach.call(t,t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${u_(t)+e}px`})}let e;if(r.parentNode instanceof DocumentFragment)e=Kv(r).body;else{const t=r.parentElement,n=$v(r);e="HTML"===t?.nodeName&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach(({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)})}}(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=p_(this.containers,t=>t.modals.includes(e)),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&A_(e.modalRef,t),d_(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&A_(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function m_(e){return wv("MuiModal",e)}vv("MuiModal",["root","hidden","backdrop"]);const g_=sv("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(jv(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:e})=>!e.open&&e.exited,style:{visibility:"hidden"}}]}))),y_=sv(l_,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),w_=n.forwardRef(function(e,t){const r=Av({name:"MuiModal",props:e}),{BackdropComponent:o=y_,BackdropProps:i,classes:a,className:s,closeAfterTransition:l=!1,children:c,container:A,component:u,components:d={},componentsProps:p={},disableAutoFocus:f=!1,disableEnforceFocus:h=!1,disableEscapeKeyDown:m=!1,disablePortal:g=!1,disableRestoreFocus:y=!1,disableScrollLock:w=!1,hideBackdrop:v=!1,keepMounted:b=!1,onClose:x,onTransitionEnter:_,onTransitionExited:B,open:C,slotProps:k={},slots:S={},theme:j,...E}=r,F={...r,closeAfterTransition:l,disableAutoFocus:f,disableEnforceFocus:h,disableEscapeKeyDown:m,disablePortal:g,disableRestoreFocus:y,disableScrollLock:w,hideBackdrop:v,keepMounted:b},{getRootProps:N,getBackdropProps:U,getTransitionProps:L,portalRef:I,isTopModal:P,exited:Q,hasTransition:T}=function(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:o=!1,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:s,children:l,onClose:c,open:A,rootRef:u}=e,d=n.useRef({}),p=n.useRef(null),f=n.useRef(null),h=Mv(f,u),[m,g]=n.useState(!A),y=function(e){return!!e&&e.props.hasOwnProperty("in")}(l);let w=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(w=!1);const v=()=>(d.current.modalRef=f.current,d.current.mount=p.current,d.current),b=()=>{h_.mount(v(),{disableScrollLock:o}),f.current&&(f.current.scrollTop=0)},x=zv(()=>{const e=function(e){return"function"==typeof e?e():e}(t)||Kv(p.current).body;h_.add(v(),e),f.current&&b()}),_=()=>h_.isTopModal(v()),B=zv(e=>{p.current=e,e&&(A&&_()?b():f.current&&A_(f.current,w))}),C=n.useCallback(()=>{h_.remove(v(),w)},[w]);n.useEffect(()=>()=>{C()},[C]),n.useEffect(()=>{A?x():y&&i||C()},[A,C,y,i,x]);const k=e=>t=>{e.onKeyDown?.(t),"Escape"===t.key&&229!==t.which&&_()&&(r||(t.stopPropagation(),c&&c(t,"escapeKeyDown")))},S=e=>t=>{e.onClick?.(t),t.target===t.currentTarget&&c&&c(t,"backdropClick")};return{getRootProps:(t={})=>{const n=Hb(e);delete n.onTransitionEnter,delete n.onTransitionExited;const r={...n,...t};return{role:"presentation",...r,onKeyDown:k(r),ref:h}},getBackdropProps:(e={})=>{const t=e;return{"aria-hidden":!0,...t,onClick:S(t),open:A}},getTransitionProps:()=>({onEnter:c_(()=>{g(!1),a&&a()},l?.props.onEnter??f_),onExited:c_(()=>{g(!0),s&&s(),i&&C()},l?.props.onExited??f_)}),rootRef:h,portalRef:B,isTopModal:_,exited:m,hasTransition:y}}({...F,rootRef:t}),D={...F,exited:Q},O=(e=>{const{open:t,exited:n,classes:r}=e;return wh({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},m_,r)})(D),R={};if(void 0===c.props.tabIndex&&(R.tabIndex="-1"),T){const{onEnter:e,onExited:t}=L();R.onEnter=e,R.onExited=t}const M={slots:{root:d.Root,backdrop:d.Backdrop,...S},slotProps:{...p,...k}},[H,z]=$b("root",{ref:t,elementType:g_,externalForwardedProps:{...M,...E,component:u}
2,getSlotProps:N,ownerState:D,className:yh(s,O?.root,!D.open&&D.exited&&O?.hidden)}),[K,$]=$b("backdrop",{ref:i?.ref,elementType:o,externalForwardedProps:M,shouldForwardComponentProp:!0,additionalProps:i,getSlotProps:e=>U({...e,onClick:t=>{e?.onClick&&e.onClick(t)}}),className:yh(i?.className,O?.backdrop),ownerState:D});return b||C||T&&!Q?(0,ga.jsx)(n_,{ref:I,container:A,disablePortal:g,children:(0,ga.jsxs)(H,{...z,children:[!v&&o?(0,ga.jsx)(K,{...$}):null,(0,ga.jsx)(Zx,{disableEnforceFocus:h,disableAutoFocus:f,disableRestoreFocus:y,isEnabled:P,open:C,children:n.cloneElement(c,R)})]})}):null}),v_=w_;function b_(e){return wv("MuiPaper",e)}vv("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const x_=sv("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})(jv(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),__=n.forwardRef(function(e,t){const n=Av({props:e,name:"MuiPaper"}),r=Hx(),{className:o,component:i="div",elevation:a=1,square:s=!1,variant:l="elevation",...c}=n,A={...n,component:i,elevation:a,square:s,variant:l},u=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e;return wh({root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]},b_,o)})(A);return(0,ga.jsx)(x_,{as:i,ownerState:A,className:yh(u.root,o),ref:t,...c,style:{..."elevation"===l&&{"--Paper-shadow":(r.vars||r).shadows[a],...r.vars&&{"--Paper-overlay":r.vars.overlays?.[a]},...!r.vars&&"dark"===r.palette.mode&&{"--Paper-overlay":`linear-gradient(${Ey("#fff",Hw(a))}, ${Ey("#fff",Hw(a))})`}},...c.style}})});function B_(e){return wv("MuiPopover",e)}function C_(e,t){if(!e)return t;function n(e,t){const n={};return Object.keys(t).forEach(r=>{(function(e,t){const n=e.charCodeAt(2);return"o"===e[0]&&"n"===e[1]&&n>=65&&n<=90&&"function"==typeof t})(r,t[r])&&"function"==typeof e[r]&&(n[r]=(...n)=>{e[r](...n),t[r](...n)})}),n}if("function"==typeof e||"function"==typeof t)return r=>{const o="function"==typeof t?t(r):t,i="function"==typeof e?e({...r,...o}):e,a=yh(r?.className,o?.className,i?.className),s=n(i,o);return{...o,...i,...s,...!!a&&{className:a},...o?.style&&i?.style&&{style:{...o.style,...i.style}},...o?.sx&&i?.sx&&{sx:[...Array.isArray(o.sx)?o.sx:[o.sx],...Array.isArray(i.sx)?i.sx:[i.sx]]}}};const r=t,o=n(e,r),i=yh(r?.className,e?.className);return{...t,...e,...o,...!!i&&{className:i},...r?.style&&e?.style&&{style:{...r.style,...e.style}},...r?.sx&&e?.sx&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function k_(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function S_(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function j_(e){return[e.horizontal,e.vertical].map(e=>"number"==typeof e?`${e}px`:e).join(" ")}function E_(e){return"function"==typeof e?e():e}vv("MuiPopover",["root","paper"]);const F_=sv(v_,{name:"MuiPopover",slot:"Root"})({}),N_=sv(__,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),U_=n.forwardRef(function(e,t){const r=Av({props:e,name:"MuiPopover"}),{action:o,anchorEl:i,anchorOrigin:a={vertical:"top",horizontal:"left"}
2,anchorPosition:s,anchorReference:l="anchorEl",children:c,className:A,container:u,elevation:d=8,marginThreshold:p=16,open:f,PaperProps:h={},slots:m={},slotProps:g={},transformOrigin:y={vertical:"top",horizontal:"left"},TransitionComponent:w,transitionDuration:v="auto",TransitionProps:b={},disableScrollLock:x=!1,..._}=r,B=n.useRef(),C={...r,anchorOrigin:a,anchorReference:l,elevation:d,marginThreshold:p,transformOrigin:y,TransitionComponent:w,transitionDuration:v,TransitionProps:b},k=(e=>{const{classes:t}=e;return wh({root:["root"],paper:["paper"]},B_,t)})(C),S=n.useCallback(()=>{if("anchorPosition"===l)return s;const e=E_(i),t=(e&&1===e.nodeType?e:lx(B.current).body).getBoundingClientRect();return{top:t.top+k_(t,a.vertical),left:t.left+S_(t,a.horizontal)}},[i,a.horizontal,a.vertical,s,l]),j=n.useCallback(e=>({vertical:k_(e,y.vertical),horizontal:S_(e,y.horizontal)}),[y.horizontal,y.vertical]),E=n.useCallback(e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=j(t);if("none"===l)return{top:null,left:null,transformOrigin:j_(n)};const r=S();let o=r.top-n.vertical,a=r.left-n.horizontal;const s=o+t.height,c=a+t.width,A=gx(E_(i)),u=A.innerHeight-p,d=A.innerWidth-p;if(null!==p&&o<p){const e=o-p;o-=e,n.vertical+=e}else if(null!==p&&s>u){const e=s-u;o-=e,n.vertical+=e}if(null!==p&&a<p){const e=a-p;a-=e,n.horizontal+=e}else if(c>d){const e=c-d;a-=e,n.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(a)}px`,transformOrigin:j_(n)}},[i,l,S,j,p]),[F,N]=n.useState(f),U=n.useCallback(()=>{const e=B.current;if(!e)return;const t=E(e);null!==t.top&&e.style.setProperty("top",t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,N(!0)},[E]);n.useEffect(()=>(x&&window.addEventListener("scroll",U),()=>window.removeEventListener("scroll",U)),[i,x,U]),n.useEffect(()=>{f&&U()}),n.useImperativeHandle(o,()=>f?{updatePosition:()=>{U()}}:null,[f,U]),n.useEffect(()=>{if(!f)return;const e=Bx(()=>{U()}),t=gx(E_(i));return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[i,f,U]);let L=v;const I={slots:{transition:w,...m},slotProps:{transition:b,paper:h,...g}},[P,Q]=$b("transition",{elementType:Gx,externalForwardedProps:I,ownerState:C,getSlotProps:e=>({...e,onEntering:(t,n)=>{e.onEntering?.(t,n),U()},onExited:t=>{e.onExited?.(t),N(!1)}}),additionalProps:{appear:!0,in:f}});"auto"!==v||P.muiSupportAuto||(L=void 0);const T=u||(i?lx(E_(i)).body:void 0),[D,{slots:O,slotProps:R,...M}]=$b("root",{ref:t,elementType:F_,externalForwardedProps:{...I,..._},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:m.backdrop},slotProps:{backdrop:C_("function"==typeof g.backdrop?g.backdrop(C):g.backdrop,{invisible:!0})},container:T,open:f},ownerState:C,className:yh(k.root,A)}),[H,z]=$b("paper",{ref:B,className:k.paper,elementType:N_,externalForwardedProps:I,shouldForwardComponentProp:!0,additionalProps:{elevation:d,style:F?void 0:{opacity:0}},ownerState:C});return(0,ga.jsx)(D,{...M,...!Ov(D)&&{slots:O,slotProps:R,disableScrollLock:x},children:(0,ga.jsx)(P,{...Q,timeout:L,children:(0,ga.jsx)(H,{...z,children:c})})})}),L_=U_;function I_(e){return wv("MuiMenu",e)}vv("MuiMenu",["root","paper","list"]);const P_={vertical:"top",horizontal:"right"},Q_={vertical:"top",horizontal:"left"},T_=sv(L_,{shouldForwardProp:e=>iv(e)||"classes"===e,name:"MuiMenu",slot:"Root"})({}),D_=sv(N_,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),O_=sv(_x,{name:"MuiMenu",slot:"List"})({outline:0}),R_=n.forwardRef(function(e,t){const r=Av({props:e,name:"MuiMenu"}),{autoFocus:o=!0,children:i,className:a,disableAutoFocusItem:s=!1,MenuListProps:l={},onClose:c,open:A,PaperProps:u={},PopoverClasses:d,transitionDuration:p="auto",TransitionProps:{onEntering:f,...h}={},variant:m="selectedMenu",slots:g={},slotProps:y={},...w}=r,v=Ax(),b={...r,autoFocus:o,disableAutoFocusItem:s,MenuListProps:l,onEntering:f,PaperProps:u,transitionDuration:p,TransitionProps:h,variant:m},x=(e=>{const{classes:t}=e;return wh({root:["root"],paper:["paper"],list:["list"]},I_,t)})(b),_=o&&!s&&A,B=n.useRef(null);let C=-1;n.Children.map(i,(e,t)=>{n.isValidElement(e)&&(e.props.disabled||("selectedMenu"===m&&e.props.selected||-1===C)&&(C=t))});const k={slots:g,slotProps:{list:l,transition:h,paper:u,...y}},S=function(e){const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:o=!1,...i}=e,a=o?{}:Mb(n,r),{props:s,internalRef:l}=Kb({...i,externalSlotProps:a}),c=Mv(l,a?.ref,e.additionalProps?.ref);return Rb(t,{...s,ref:c},r)}({elementType:g.root,externalSlotProps:y.root,ownerState:b,className:[x.root,a]}),[j,E]=$b("paper",{className:x.paper,elementType:D_,externalForwardedProps:k,shouldForwardComponentProp:!0,ownerState:b}),[F,N]=$b("list",{className:yh(x.list,l.className),elementType:O_,shouldForwardComponentProp:!0,externalForwardedProps:k,getSlotProps:e=>({...e,onKeyDown:t=>{(e=>{"Tab"===e.key&&(e.preventDefault(),c&&c(e,"tabKeyDown"))})(t),e.onKeyDown?.(t)}}),ownerState:b}),U="function"==typeof k.slotProps.transition?k.slotProps.transition(b):k.slotProps.transition;
2return(0,ga.jsx)(T_,{onClose:c,anchorOrigin:{vertical:"bottom",horizontal:v?"right":"left"},transformOrigin:v?P_:Q_,slots:{root:g.root,paper:j,backdrop:g.backdrop,...g.transition&&{transition:g.transition}},slotProps:{root:S,paper:E,backdrop:"function"==typeof y.backdrop?y.backdrop(b):y.backdrop,transition:{...U,onEntering:(...e)=>{((e,t)=>{B.current&&B.current.adjustStyleForScrollbar(e,{direction:v?"rtl":"ltr"}),f&&f(e,t)})(...e),U?.onEntering?.(...e)}}},open:A,ref:t,transitionDuration:p,ownerState:b,...w,classes:d,children:(0,ga.jsx)(F,{actions:B,autoFocus:o&&(-1===C||s),autoFocusItem:_,variant:m,...N,children:i})})}),M_=R_;function H_(e){return wv("MuiNativeSelect",e)}const z_=vv("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),K_=sv("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${z_.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:e})=>"filled"!==e.variant&&"outlined"!==e.variant,style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),$_=sv(K_,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:iv,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${z_.multiple}`]:t.multiple}]}})({}),V_=sv("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${z_.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:e})=>e.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),q_=sv(V_,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${pv(n.variant)}`],n.open&&t.iconOpen]}})({}),W_=n.forwardRef(function(e,t){const{className:r,disabled:o,error:i,IconComponent:a,inputRef:s,variant:l="standard",...c}=e,A={...e,disabled:o,variant:l,error:i},u=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e;return wh({select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${pv(n)}`,i&&"iconOpen",r&&"disabled"]},H_,t)})(A);return(0,ga.jsxs)(n.Fragment,{children:[(0,ga.jsx)($_,{ownerState:A,className:yh(u.select,r),disabled:o,ref:s||t,...c}),e.multiple?null:(0,ga.jsx)(q_,{as:a,ownerState:A,className:u.icon})]})}),G_=function(e){const{controlled:t,default:r,name:o,state:i="value"}=e,{current:a}=n.useRef(void 0!==t),[s,l]=n.useState(r);return[a?t:s,n.useCallback(e=>{a||l(e)},[])]};function Y_(e){return wv("MuiSelect",e)}const X_=vv("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var J_;const Z_=sv(K_,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${X_.select}`]:t.select},{[`&.${X_.select}`]:t[n.variant]},{[`&.${X_.error}`]:t.error},{[`&.${X_.multiple}`]:t.multiple}]}})({[`&.${X_.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),eB=sv(V_,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${pv(n.variant)}`],n.open&&t.iconOpen]}})({}),tB=sv("input",{shouldForwardProp:e=>ov(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function nB(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function rB(e){return null==e||"string"==typeof e&&!e.trim()}const oB=n.forwardRef(function(e,t){const{"aria-describedby":r,"aria-label":o,autoFocus:i,autoWidth:a,children:s,className:l,defaultOpen:c,defaultValue:A,disabled:u,displayEmpty:d,error:p=!1,IconComponent:f,inputRef:h,labelId:m,MenuProps:g={},multiple:y,name:w,onBlur:v,onChange:b,onClose:x,onFocus:_,onOpen:B,open:C,readOnly:k,renderValue:S,required:j,SelectDisplayProps:E={},tabIndex:F,type:N,value:U,variant:L="standard",...I}=e,[P,Q]=G_({controlled:U,default:A,name:"Select"}),[T,D]=G_({controlled:C,default:c,name:"Select"}),O=n.useRef(null),R=n.useRef(null),[M,H]=n.useState(null),{current:z}=n.useRef(null!=C),[K,$]=n.useState(),V=Ab(t,h),q=n.useCallback(e=>{R.current=e,e&&H(e)},[]),W=M?.parentNode;n.useImperativeHandle(V,()=>({focus:()=>{R.current.focus()},node:O.current,value:P}),[P]),n.useEffect(()=>{c&&T&&M&&!z&&($(a?null:W.clientWidth),R.current.focus())},[M,a]),n.useEffect(()=>{i&&R.current.focus()},[i]),n.useEffect(()=>{if(!m)return;const e=lx(R.current).getElementById(m);if(e){const t=()=>{getSelection().isCollapsed&&R.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}},[m]);const G=(e,t)=>{e?B&&B(t):x&&x(t),z||($(a?null:W.clientWidth),D(e))},Y=n.Children.toArray(s),X=e=>t=>{let n;if(t.currentTarget.hasAttribute("tabindex")){if(y){n=Array.isArray(P)?P.slice():[];const t=P.indexOf(e.props.value);-1===t?n.push(e.props.value):n.splice(t,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),P!==n&&(Q(n),b)){const r=t.nativeEvent||t,o=new r.constructor(r.type,r);Object.defineProperty(o,"target",{writable:!0,value:{value:n,name:w}}),b(o,e)}y||G(!1,t)}},J=null!==M&&T;let Z,ee;delete I["aria-invalid"];const te=[];let ne=!1,re=!1;(dv({value:P})||d)&&(S?Z=S(P):ne=!0);const oe=Y.map(e=>{if(!n.isValidElement(e))return null;let t;if(y){if(!Array.isArray(P))throw new Error(mg(2));t=P.some(t=>nB(t,e.props.value)),t&&ne&&te.push(e.props.children)}else t=nB(P,e.props.value),t&&ne&&(ee=e.props.children);return t&&(re=!0),n.cloneElement(e,{"aria-selected":t?"true":"false",onClick:X(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})});
2ne&&(Z=y?0===te.length?null:te.reduce((e,t,n)=>(e.push(t),n<te.length-1&&e.push(", "),e),[]):ee);let ie,ae=K;!a&&z&&M&&(ae=W.clientWidth),ie=void 0!==F?F:u?null:0;const se=E.id||(w?`mui-component-select-${w}`:void 0),le={...e,variant:L,value:P,open:J,error:p},ce=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e;return wh({select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${pv(n)}`,i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]},Y_,t)})(le),Ae={...g.PaperProps,..."function"==typeof g.slotProps?.paper?g.slotProps.paper(le):g.slotProps?.paper},ue={...g.MenuListProps,..."function"==typeof g.slotProps?.list?g.slotProps.list(le):g.slotProps?.list},de=Dv();return(0,ga.jsxs)(n.Fragment,{children:[(0,ga.jsx)(Z_,{as:"div",ref:q,tabIndex:ie,role:"combobox","aria-controls":J?de:void 0,"aria-disabled":u?"true":void 0,"aria-expanded":J?"true":"false","aria-haspopup":"listbox","aria-label":o,"aria-labelledby":[m,se].filter(Boolean).join(" ")||void 0,"aria-describedby":r,"aria-required":j?"true":void 0,"aria-invalid":p?"true":void 0,onKeyDown:e=>{k||[" ","ArrowUp","ArrowDown","Enter"].includes(e.key)&&(e.preventDefault(),G(!0,e))},onMouseDown:u||k?null:e=>{0===e.button&&(e.preventDefault(),R.current.focus(),G(!0,e))},onBlur:e=>{!J&&v&&(Object.defineProperty(e,"target",{writable:!0,value:{value:P,name:w}}),v(e))},onFocus:_,...E,ownerState:le,className:yh(E.className,ce.select,l),id:se,children:rB(Z)?J_||(J_=(0,ga.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"​"})):Z}),(0,ga.jsx)(tB,{"aria-invalid":p,value:Array.isArray(P)?P.join(","):P,name:w,ref:O,"aria-hidden":!0,onChange:e=>{const t=Y.find(t=>t.props.value===e.target.value);void 0!==t&&(Q(t.props.value),b&&b(e,t))},tabIndex:-1,disabled:u,className:ce.nativeInput,autoFocus:i,required:j,...I,ownerState:le}),(0,ga.jsx)(eB,{as:f,className:ce.icon,ownerState:le}),(0,ga.jsx)(M_,{id:`menu-${w||""}`,anchorEl:W,open:J,onClose:e=>{G(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...g,slotProps:{...g.slotProps,list:{"aria-labelledby":m,role:"listbox","aria-multiselectable":y?"true":void 0,disableListWrap:!0,id:de,...ue},paper:{...Ae,style:{minWidth:ae,...null!=Ae?Ae.style:null}}},children:oe})]})}),iB=oB;function aB(e){return wv("MuiSvgIcon",e)}vv("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const sB=sv("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${pv(n.color)}`],t[`fontSize${pv(n.fontSize)}`]]}})(jv(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,e])=>e&&e.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),lB=n.forwardRef(function(e,t){const r=Av({props:e,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:s="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:A=!1,titleAccess:u,viewBox:d="0 0 24 24",...p}=r,f=n.isValidElement(o)&&"svg"===o.type,h={...r,color:a,component:s,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:A,viewBox:d,hasSvgAsChild:f},m={};A||(m.viewBox=d);const g=(e=>{const{color:t,fontSize:n,classes:r}=e;return wh({root:["root","inherit"!==t&&`color${pv(t)}`,`fontSize${pv(n)}`]},aB,r)})(h);return(0,ga.jsxs)(sB,{as:s,className:yh(g.root,i),focusable:"false",color:c,"aria-hidden":!u||void 0,role:u?"img":void 0,ref:t,...m,...p,...f&&o.props,ownerState:h,children:[f?o.props.children:o,u?(0,ga.jsx)("title",{children:u}):null]})});lB.muiName="SvgIcon";const cB=lB;function AB(e,t){function r(t,n){return(0,ga.jsx)(cB,{"data-testid":void 0,ref:n,...t,children:e})}return r.muiName=cB.muiName,n.memo(n.forwardRef(r))}const uB=AB((0,ga.jsx)("path",{d:"M7 10l5 5 5-5z"})),dB={name:"MuiSelect",slot:"Root",shouldForwardProp:e=>iv(e)&&"variant"!==e},pB=sv(jb,dB)(""),fB=sv(Yb,dB)(""),hB=sv(Ib,dB)(""),mB=n.forwardRef(function(e,t){const r=Av({name:"MuiSelect",props:e}),{autoWidth:o=!1,children:i,classes:a={},className:s,defaultOpen:l=!1,displayEmpty:c=!1,IconComponent:A=uB,id:u,input:d,inputProps:p,label:f,labelId:h,MenuProps:m,multiple:g=!1,native:y=!1,onClose:w,onOpen:v,open:b,renderValue:x,SelectDisplayProps:_,variant:B="outlined",...C}=r,k=y?W_:iB,S=Cv({props:r,muiFormControl:kv(),states:["variant","error"]}),j=S.variant||B,E={...r,variant:j,classes:a},F=(e=>{const{classes:t}=e,n=wh({root:["root"]},Y_,t);return{...t,...n}})(E),{root:N,...U}=F,L=d||{standard:(0,ga.jsx)(pB,{ownerState:E}),outlined:(0,ga.jsx)(fB,{label:f,ownerState:E}),filled:(0,ga.jsx)(hB,{ownerState:E})}[j],I=Ab(t,sx(L));return(0,ga.jsx)(n.Fragment,{children:n.cloneElement(L,{inputComponent:k,inputProps:{children:i,error:S.error,IconComponent:A,variant:j,type:void 0,multiple:g,...y?{id:u}
2:{autoWidth:o,defaultOpen:l,displayEmpty:c,labelId:h,MenuProps:m,onClose:w,onOpen:v,open:b,renderValue:x,SelectDisplayProps:{id:u,..._}},...p,classes:p?sg(U,p.classes):U,...d?d.props.inputProps:{}},...(g&&y||c)&&"outlined"===j?{notched:!0}:{},ref:I,className:yh(L.props.className,s,F.root),...!d&&{variant:j},...C})})});mB.muiName="Select";const gB=mB;function yB(e){return wv("MuiTextField",e)}vv("MuiTextField",["root"]);const wB={standard:jb,filled:Ib,outlined:Yb},vB=sv(Bv,{name:"MuiTextField",slot:"Root"})({}),bB=n.forwardRef(function(e,t){const n=Av({props:e,name:"MuiTextField"}),{autoComplete:r,autoFocus:o=!1,children:i,className:a,color:s="primary",defaultValue:l,disabled:c=!1,error:A=!1,FormHelperTextProps:u,fullWidth:d=!1,helperText:p,id:f,InputLabelProps:h,inputProps:m,InputProps:g,inputRef:y,label:w,maxRows:v,minRows:b,multiline:x=!1,name:_,onBlur:B,onChange:C,onFocus:k,placeholder:S,required:j=!1,rows:E,select:F=!1,SelectProps:N,slots:U={},slotProps:L={},type:I,value:P,variant:Q="outlined",...T}=n,D={...n,autoFocus:o,color:s,disabled:c,error:A,fullWidth:d,multiline:x,required:j,select:F,variant:Q},O=(e=>{const{classes:t}=e;return wh({root:["root"]},yB,t)})(D),R=Dv(f),M=p&&R?`${R}-helper-text`:void 0,H=w&&R?`${R}-label`:void 0,z=wB[Q],K={slots:U,slotProps:{input:g,inputLabel:h,htmlInput:m,formHelperText:u,select:N,...L}},$={},V=K.slotProps.inputLabel;"outlined"===Q&&(V&&void 0!==V.shrink&&($.notched=V.shrink),$.label=w),F&&(N&&N.native||($.id=void 0),$["aria-describedby"]=void 0);const[q,W]=$b("root",{elementType:vB,shouldForwardComponentProp:!0,externalForwardedProps:{...K,...T},ownerState:D,className:yh(O.root,a),ref:t,additionalProps:{disabled:c,error:A,fullWidth:d,required:j,color:s,variant:Q}}),[G,Y]=$b("input",{elementType:z,externalForwardedProps:K,additionalProps:$,ownerState:D}),[X,J]=$b("inputLabel",{elementType:ex,externalForwardedProps:K,ownerState:D}),[Z,ee]=$b("htmlInput",{elementType:"input",externalForwardedProps:K,ownerState:D}),[te,ne]=$b("formHelperText",{elementType:ax,externalForwardedProps:K,ownerState:D}),[re,oe]=$b("select",{elementType:gB,externalForwardedProps:K,ownerState:D}),ie=(0,ga.jsx)(G,{"aria-describedby":M,autoComplete:r,autoFocus:o,defaultValue:l,fullWidth:d,multiline:x,name:_,rows:E,maxRows:v,minRows:b,type:I,value:P,id:R,inputRef:y,onBlur:B,onChange:C,onFocus:k,placeholder:S,inputProps:ee,slots:{input:U.htmlInput?Z:void 0},...Y});return(0,ga.jsxs)(q,{...W,children:[null!=w&&""!==w&&(0,ga.jsx)(X,{htmlFor:R,id:H,...J,children:w}),F?(0,ga.jsx)(re,{"aria-describedby":M,id:R,labelId:H,value:P,input:ie,...oe,children:i}):ie,p&&(0,ga.jsx)(te,{id:M,...ne,children:p})]})}),xB=bB;function _B(e){try{return e.matches(":focus-visible")}catch(e){}return!1}const BB=zv;
2class CB{static create(){return new CB}static use(){const e=kx(CB.create).current,[t,r]=n.useState(!1);return e.shouldMount=t,e.setShouldMount=r,n.useEffect(e.mountEffect,[t]),e}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=function(){let e,t;const n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&null!==this.ref.current&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}}function kB(e,t){var r=Object.create(null);return e&&n.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=function(e){return t&&(0,n.isValidElement)(e)?t(e):e}(e)}),r}function SB(e,t,n){return null!=n[t]?n[t]:e.props[t]}function jB(e,t,r){var o=kB(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(r=0;r<o[l].length;r++){var c=o[l][r];s[o[l][r]]=n(c)}s[l]=n(l)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}(t,o);
vendor: 1,083 bytes, line 2
2return Object.keys(i).forEach(function(a){var s=i[a];if((0,n.isValidElement)(s)){var l=a in t,c=a in o,A=t[a],u=(0,n.isValidElement)(A)&&!A.props.in;!c||l&&!u?c||!l||u?c&&l&&(0,n.isValidElement)(A)&&(i[a]=(0,n.cloneElement)(s,{onExited:r.bind(null,s),in:A.props.in,exit:SB(s,"exit",e),enter:SB(s,"enter",e)})):i[a]=(0,n.cloneElement)(s,{in:!1}):i[a]=(0,n.cloneElement)(s,{onExited:r.bind(null,s),in:!0,exit:SB(s,"exit",e),enter:SB(s,"enter",e)})}}),i}var EB=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},FB=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}Ux(t,e);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var r,o,i=t.children,a=t.handleExited;
2return{children:t.firstRender?(r=e,o=a,kB(r.children,function(e){return(0,n.cloneElement)(e,{onExited:o.bind(null,e),in:!0,appear:SB(e,"appear",r),enter:SB(e,"enter",r),exit:SB(e,"exit",r)})})):jB(e,i,a),firstRender:!1}},r.handleExited=function(e,t){var n=kB(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=vh({},t.children);return delete n[e.key],{children:n}}))},r.render=function(){var e=this.props,t=e.component,r=e.childFactory,o=Fx(e,["component","childFactory"]),i=this.state.contextValue,a=EB(this.state.children).map(r);return delete o.appear,delete o.enter,delete o.exit,null===t?n.createElement(Lx.Provider,{value:i},a):n.createElement(Lx.Provider,{value:i},n.createElement(t,o,a))},t}(n.Component);FB.propTypes={},FB.defaultProps={component:"div",childFactory:function(e){return e}};const NB=FB,UB=vv("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),LB=rb`
3  0% {
4    transform: scale(0);
5    opacity: 0.1;
6  }
7
8  100% {
9    transform: scale(1);
10    opacity: 0.3;
11  }
12`,IB=rb`
13  0% {
14    opacity: 1;
15  }
16
17  100% {
18    opacity: 0;
19  }
20`,PB=rb`
21  0% {
22    transform: scale(1);
23  }
24
25  50% {
26    transform: scale(0.92);
27  }
28
29  100% {
30    transform: scale(1);
31  }
32`,QB=sv("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),TB=sv(function(e){const{className:t,classes:r,pulsate:o=!1,rippleX:i,rippleY:a,rippleSize:s,in:l,onExited:c,timeout:A}=e,[u,d]=n.useState(!1),p=yh(t,r.ripple,r.rippleVisible,o&&r.ripplePulsate),f={width:s,height:s,top:-s/2+a,left:-s/2+i},h=yh(r.child,u&&r.childLeaving,o&&r.childPulsate);return l||u||d(!0),n.useEffect(()=>{if(!l&&null!=c){const e=setTimeout(c,A);return()=>{clearTimeout(e)}}},[c,l,A]),(0,ga.jsx)("span",{className:p,style:f,children:(0,ga.jsx)("span",{className:h})})},{name:"MuiTouchRipple",slot:"Ripple"})`
33  opacity: 0;
34  position: absolute;
35
36  &.${UB.rippleVisible} {
37    opacity: 0.3;
38    transform: scale(1);
39    animation-name: ${LB};
40    animation-duration: ${550}ms;
41    animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
42  }
43
44  &.${UB.ripplePulsate} {
45    animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
46  }
47
48  & .${UB.child} {
49    opacity: 1;
50    display: block;
51    width: 100%;
52    height: 100%;
53    border-radius: 50%;
54    background-color: currentColor;
55  }
56
57  & .${UB.childLeaving} {
58    opacity: 0;
59    animation-name: ${IB};
60    animation-duration: ${550}ms;
61    animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
62  }
63
64  & .${UB.childPulsate} {
65    position: absolute;
66    /* @noflip */
67    left: 0px;
68    top: 0;
69    animation-name: ${PB};
70    animation-duration: 2500ms;
71    animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
72    animation-iteration-count: infinite;
73    animation-delay: 200ms;
74  }
75`,DB=n.forwardRef(function(e,t){const r=Av({props:e,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:a,...s}=r,[l,c]=n.useState([]),A=n.useRef(0),u=n.useRef(null);n.useEffect(()=>{u.current&&(u.current(),u.current=null)},[l]);const d=n.useRef(!1),p=Ex(),f=n.useRef(null),h=n.useRef(null),m=n.useCallback(e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:o,cb:a}=e;c(e=>[...e,(0,ga.jsx)(TB,{classes:{ripple:yh(i.ripple,UB.ripple),rippleVisible:yh(i.rippleVisible,UB.rippleVisible),ripplePulsate:yh(i.ripplePulsate,UB.ripplePulsate),child:yh(i.child,UB.child),childLeaving:yh(i.childLeaving,UB.childLeaving),childPulsate:yh(i.childPulsate,UB.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},A.current)]),A.current+=1,u.current=a},[i]),g=n.useCallback((e={},t={},n=()=>{})=>{const{pulsate:r=!1,center:i=o||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===e?.type&&d.current)return void(d.current=!1);"touchstart"===e?.type&&(d.current=!0);const s=a?null:h.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,A,u;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),A=Math.round(l.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),A=Math.round(n-l.top)}if(i)u=Math.sqrt((2*l.width**2+l.height**2)/3),u%2==0&&(u+=1);
75else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-A),A)+2;u=Math.sqrt(e**2+t**2)}e?.touches?null===f.current&&(f.current=()=>{m({pulsate:r,rippleX:c,rippleY:A,rippleSize:u,cb:n})},p.start(80,()=>{f.current&&(f.current(),f.current=null)})):m({pulsate:r,rippleX:c,rippleY:A,rippleSize:u,cb:n})},[o,m,p]),y=n.useCallback(()=>{g({},{pulsate:!0})},[g]),w=n.useCallback((e,t)=>{if(p.clear(),"touchend"===e?.type&&f.current)return f.current(),f.current=null,void p.start(0,()=>{w(e,t)});f.current=null,c(e=>e.length>0?e.slice(1):e),u.current=t},[p]);return n.useImperativeHandle(t,()=>({pulsate:y,start:g,stop:w}),[y,g,w]),(0,ga.jsx)(QB,{className:yh(UB.root,i.root,a),ref:h,...s,children:(0,ga.jsx)(NB,{component:null,exit:!0,children:l})})}),OB=DB;function RB(e){return wv("MuiButtonBase",e)}const MB=vv("MuiButtonBase",["root","disabled","focusVisible"]),HB=sv("button",{name:"MuiButtonBase",slot:"Root"})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${MB.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}});function zB(e,t,n,r=!1){return BB(o=>(n&&n(o),r||e[t](o),!0))}const KB=n.forwardRef(function(e,t){const r=Av({props:e,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:a,className:s,component:l="button",disabled:c=!1,disableRipple:A=!1,disableTouchRipple:u=!1,focusRipple:d=!1,focusVisibleClassName:p,LinkComponent:f="a",onBlur:h,onClick:m,onContextMenu:g,onDragLeave:y,onFocus:w,onFocusVisible:v,onKeyDown:b,onKeyUp:x,onMouseDown:_,onMouseLeave:B,onMouseUp:C,onTouchEnd:k,onTouchMove:S,onTouchStart:j,tabIndex:E=0,TouchRippleProps:F,touchRippleRef:N,type:U,...L}=r,I=n.useRef(null),P=CB.use(),Q=Ab(P.ref,N),[T,D]=n.useState(!1);c&&T&&D(!1),n.useImperativeHandle(o,()=>({focusVisible:()=>{D(!0),I.current.focus()}}),[]);const O=P.shouldMount&&!A&&!c;n.useEffect(()=>{T&&d&&!A&&P.pulsate()},[A,d,T,P]);const R=zB(P,"start",_,u),M=zB(P,"stop",g,u),H=zB(P,"stop",y,u),z=zB(P,"stop",C,u),K=zB(P,"stop",e=>{T&&e.preventDefault(),B&&B(e)},u),$=zB(P,"start",j,u),V=zB(P,"stop",k,u),q=zB(P,"stop",S,u),W=zB(P,"stop",e=>{_B(e.target)||D(!1),h&&h(e)},!1),G=BB(e=>{I.current||(I.current=e.currentTarget),_B(e.target)&&(D(!0),v&&v(e)),w&&w(e)}),Y=()=>{const e=I.current;return l&&"button"!==l&&!("A"===e.tagName&&e.href)},X=BB(e=>{d&&!e.repeat&&T&&" "===e.key&&P.stop(e,()=>{P.start(e)}),e.target===e.currentTarget&&Y()&&" "===e.key&&e.preventDefault(),b&&b(e),e.target===e.currentTarget&&Y()&&"Enter"===e.key&&!c&&(e.preventDefault(),m&&m(e))}),J=BB(e=>{d&&" "===e.key&&T&&!e.defaultPrevented&&P.stop(e,()=>{P.pulsate(e)}),x&&x(e),m&&e.target===e.currentTarget&&Y()&&" "===e.key&&!e.defaultPrevented&&m(e)});let Z=l;"button"===Z&&(L.href||L.to)&&(Z=f);const ee={};"button"===Z?(ee.type=void 0===U?"button":U,ee.disabled=c):(L.href||L.to||(ee.role="button"),c&&(ee["aria-disabled"]=c));const te=Ab(t,I),ne={...r,centerRipple:i,component:l,disabled:c,disableRipple:A,disableTouchRipple:u,focusRipple:d,tabIndex:E,focusVisible:T},re=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i=wh({root:["root",t&&"disabled",n&&"focusVisible"]},RB,o);return n&&r&&(i.root+=` ${r}`),i})(ne);return(0,ga.jsxs)(HB,{as:Z,className:yh(re.root,s),ownerState:ne,onBlur:W,onClick:m,onContextMenu:M,onFocus:G,onKeyDown:X,onKeyUp:J,onMouseDown:R,onMouseLeave:K,onMouseUp:z,onDragLeave:H,onTouchEnd:V,onTouchMove:q,onTouchStart:$,ref:te,tabIndex:c?-1:E,type:U,...ee,...L,children:[a,O?(0,ga.jsx)(OB,{ref:Q,center:i,...F}):null]})}),$B=vv("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),VB=vv("MuiListItemIcon",["root","alignItemsFlexStart"]),qB=vv("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function WB(e){return wv("MuiMenuItem",e)}const GB=vv("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),YB=sv(KB,{shouldForwardProp:e=>iv(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})(jv(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${GB.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${GB.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}},[`&.${GB.selected}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity)}},[`&.${GB.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${GB.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${$B.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${$B.inset}`]:{marginLeft:52},[`& .${qB.root}`]:{marginTop:0,marginBottom:0},[`& .${qB.inset}`]:{paddingLeft:36},[`& .${VB.root}`]:{minWidth:36},variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:e})=>!e.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:e})=>e.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${VB.root} svg`]:{fontSize:"1.25rem"}}}]}))),XB=n.forwardRef(function(e,t){const r=Av({props:e,name:"MuiMenuItem"}),{autoFocus:o=!1,component:i="li",dense:a=!1,divider:s=!1,disableGutters:l=!1,focusVisibleClassName:c,role:A="menuitem",tabIndex:u,className:d,...p}=r,f=n.useContext(ux),h=n.useMemo(()=>({dense:a||f.dense||!1,disableGutters:l}),[f.dense,a,l]),m=n.useRef(null);ub(()=>{o&&m.current&&m.current.focus()},[o]);const g={...r,dense:h.dense,divider:s,disableGutters:l},y=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:a}=e,s=wh({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divi
75der",i&&"selected"]},WB,a);return{...a,...s}})(r),w=Ab(m,t);let v;return r.disabled||(v=void 0!==u?u:-1),(0,ga.jsx)(ux.Provider,{value:h,children:(0,ga.jsx)(YB,{ref:w,role:A,tabIndex:v,component:i,focusVisibleClassName:yh(y.focusVisible,c),className:yh(y.root,d),...p,ownerState:g,classes:y})})}),JB=vv("MuiBox",["root"]),ZB=tv(),eC=function(e={}){const{themeId:t,defaultTheme:r,defaultClassName:o="MuiBox-root",generateClassName:i}=e,a=tg("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(dy);return n.forwardRef(function(e,n){const s=ab(r),{className:l,component:c="div",...A}=Xv(e);return(0,ga.jsx)(a,{as:c,ref:n,className:yh(l,i?i(o):o),theme:t&&s[t]||s,...A})})}({themeId:rv,defaultTheme:ZB,defaultClassName:JB.root,generateClassName:gv.generate}),tC=eC;function nC(e){return wv("MuiCircularProgress",e)}vv("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const rC=rb`
76  0% {
77    transform: rotate(0deg);
78  }
79
80  100% {
81    transform: rotate(360deg);
82  }
83`,oC=rb`
84  0% {
85    stroke-dasharray: 1px, 200px;
86    stroke-dashoffset: 0;
87  }
88
89  50% {
90    stroke-dasharray: 100px, 200px;
91    stroke-dashoffset: -15px;
92  }
93
94  100% {
95    stroke-dasharray: 1px, 200px;
96    stroke-dashoffset: -126px;
97  }
98`,iC="string"!=typeof rC?nb`
99        animation: ${rC} 1.4s linear infinite;
100      `:null,aC="string"!=typeof oC?nb`
101        animation: ${oC} 1.4s ease-in-out infinite;
102      `:null,sC=sv("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${pv(n.color)}`]]}})(jv(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:iC||{animation:`${rC} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Ev()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),lC=sv("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),cC=sv("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${pv(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(jv(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink,style:aC||{animation:`${oC} 1.4s ease-in-out infinite`}}]}))),AC=n.forwardRef(function(e,t){const n=Av({props:e,name:"MuiCircularProgress"}),{className:r,color:o="primary",disableShrink:i=!1,size:a=40,style:s,thickness:l=3.6,value:c=0,variant:A="indeterminate",...u}=n,d={...n,color:o,disableShrink:i,size:a,thickness:l,value:c,variant:A},p=(e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e;return wh({root:["root",n,`color${pv(r)}`],svg:["svg"],circle:["circle",`circle${pv(n)}`,o&&"circleDisableShrink"]},nC,t)})(d),f={},h={},m={};if("determinate"===A){const e=2*Math.PI*((44-l)/2);f.strokeDasharray=e.toFixed(3),m["aria-valuenow"]=Math.round(c),f.strokeDashoffset=`${((100-c)/100*e).toFixed(3)}px`,h.transform="rotate(-90deg)"}return(0,ga.jsx)(sC,{className:yh(p.root,r),style:{width:a,height:a,...h,...s},ownerState:d,ref:t,role:"progressbar",...m,...u,children:(0,ga.jsx)(lC,{className:p.svg,ownerState:d,viewBox:"22 22 44 44",children:(0,ga.jsx)(cC,{className:p.circle,style:f,ownerState:d,cx:44,cy:44,r:(44-l)/2,fill:"none",strokeWidth:l})})})}),uC={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let dC;const pC=new Uint8Array(16),fC=[];for(let e=0;e<256;++e)fC.push((e+256).toString(16).slice(1));function hC(e,t,n){const r=(e=e||{}).random??e.rng?.()??function(){if(!dC){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");dC=crypto.getRandomValues.bind(crypto)}return dC(pC)}();if(r.length<16)throw new Error("Random bytes length must be >= 16");if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){if((n=n||0)<0||n+16>t.length)throw new RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=r[e];return t}return function(e,t=0){return(fC[e[t+0]]+fC[e[t+1]]+fC[e[t+2]]+fC[e[t+3]]+"-"+fC[e[t+4]]+fC[e[t+5]]+"-"+fC[e[t+6]]+fC[e[t+7]]+"-"+fC[e[t+8]]+fC[e[t+9]]+"-"+fC[e[t+10]]+fC[e[t+11]]+fC[e[t+12]]+fC[e[t+13]]+fC[e[t+14]]+fC[e[t+15]]).toLowerCase()}(r)}const mC=function(e,t,n){return!uC.randomUUID||t||e?hC(e,t,n):uC.randomUUID()},gC=n.forwardRef(({className:e="",ariaLabel:t="Remove",small:n=!1,children:r="✕",...o},i)=>{const a=n?"p-1 px-2 text-xs":"p-1.5 px-2.5 text-sm";return(0,ga.jsx)("button",{ref:i,type:"button","aria-label":t,className:`ml-2 roun
102ded-full border border-gray-300 text-gray-500 hover:bg-red-600 hover:text-white transition-colors cursor-pointer ${a} ${e}`,...o,children:r})});gC.displayName="DeleteButton";const yC=gC,wC=Dv;function vC(e){return wv("MuiIconButton",e)}const bC=vv("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),xC=sv(KB,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.loading&&t.loading,"default"!==n.color&&t[`color${pv(n.color)}`],n.edge&&t[`edge${pv(n.edge)}`],t[`size${pv(n.size)}`]]}})(jv(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:e=>!e.disableRipple,style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),jv(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(Ev()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(Ev()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${bC.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${bC.loading}`]:{color:"transparent"}}))),_C=sv("span",{name:"MuiIconButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),BC=n.forwardRef(function(e,t){const n=Av({props:e,name:"MuiIconButton"}),{edge:r=!1,children:o,className:i,color:a="default",disabled:s=!1,disableFocusRipple:l=!1,size:c="medium",id:A,loading:u=null,loadingIndicator:d,...p}=n,f=wC(A),h=d??(0,ga.jsx)(AC,{"aria-labelledby":f,color:"inherit",size:16}),m={...n,edge:r,color:a,disabled:s,disableFocusRipple:l,loading:u,loadingIndicator:h,size:c},g=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:i,loading:a}=e;return wh({root:["root",a&&"loading",n&&"disabled","default"!==r&&`color${pv(r)}`,o&&`edge${pv(o)}`,`size${pv(i)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},vC,t)})(m);return(0,ga.jsxs)(xC,{id:u?f:A,className:yh(g.root,i),centerRipple:!0,focusRipple:!l,disabled:s||u,ref:t,...p,ownerState:m,children:["boolean"==typeof u&&(0,ga.jsx)("span",{className:g.loadingWrapper,style:{display:"contents"},children:(0,ga.jsx)(_C,{className:g.loadingIndicator,ownerState:m,children:u&&h})}),o]})});function CC(e){const{title:t,message:r}=e,[o,i]=(0,n.useState)(!1),a=()=>{i(!o)};return(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)("div",{className:"info-icon",children:(0,ga.jsx)(BC,{onClick:a,children:(0,ga.jsx)("img",{src:"https://static.vecteezy.com/system/resources/previews/005/747/906/original/info-icon-template-information-icon-colorful-free-vector.jpg",alt:"Information"})})}),(0,ga.jsxs)("div",{className:"alert alert-notice tooltip-alert "+(o?"show in":""),children:[(0,ga.jsx)("span",{className:"alert-type",children:(0,ga.jsx)("i",{className:"icon icon-info-sign"})}),(0,ga.jsxs)("div",{children:[(0,ga.jsx)("h3",{className:"alert-title",children:t}),r]}),(0,ga.jsx)("span",{className:"tooltip-dismiss alert-dismiss",title:"Close Alert",onClick:a,children:"X"})]})]})}function kC(e){const{control:t,formState:{errors:r},setValue:o}=e.form,{Participants:i,GenderText:a}=e,{t:s}=Fo(),{countries:l,getCountryList:c}
102=eA(),[A,u]=(0,n.useState)({}),d=[{value:"male",description:s("fieldMale")},{value:"female",description:s("fieldFemale")}],{handleAddHolder:p,handleRemoveHolder:f,listHolders:h}=function(e,t){const{fields:r,append:o,remove:i}=Ku({control:t,name:"Participants"}),a=[];return(0,n.useEffect)(()=>{const t=e.filter(e=>(e.id||(e.id=mC()),!a.includes(e.id)&&(a.push(e.id),!0)));o(t)},[]),{handleAddHolder:()=>{const e={id:mC(),name:"",location:"",sexatbirth:null};o(e)},handleRemoveHolder:(e,t)=>{i(t)},listHolders:r}}(i,t);return(0,n.useEffect)(()=>{if(c(),!a)return;const e={};i.forEach((t,n)=>{t.sexatbirth&&t.sexatbirth!==a&&(e[n]=s("fieldGenderWarningAtBirth"))}),u(e)},[]),(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(Bv,{fullWidth:!0,children:(0,ga.jsx)(Pv,{id:"holders-label",children:(0,ga.jsx)("span",{className:"font-bold",children:s("recordHolders")})})}),0===h.length&&(0,ga.jsx)("p",{className:"field-errors",children:s("recordHoldersError")}),h.map((e,n)=>(0,ga.jsx)("div",{children:(0,ga.jsx)(Bv,{fullWidth:!0,children:(0,ga.jsxs)("div",{className:"flex items-center p-2 "+(n%2==0?"bg-gray-100":"bg-white"),children:[(0,ga.jsxs)("div",{className:"w-80",children:[(0,ga.jsx)(XA,{name:`Participants.${n}.name`,control:t,render:({field:e})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(Pv,{htmlFor:`Participants.${n}.name`,children:(0,ga.jsx)("span",{className:"text-base",children:s("fieldName")})}),(0,ga.jsx)(xB,{fullWidth:!0,placeholder:"Name",id:`Participants.${n}.name`,...e,onChange:t=>{e.onChange(t.target.value),o(`Participants.${n}.name`,t.target.value)}}),r?.Participants&&r.Participants[n]?.name&&(0,ga.jsx)("p",{className:"field-errors",children:r?.Participants&&r.Participants[n]?.name?.message})]})}),(0,ga.jsx)(XA,{name:`Participants.${n}.location`,control:t,render:({field:e})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(Pv,{className:"mt-2",htmlFor:`Participants.${n}.location`,children:(0,ga.jsx)("span",{className:"text-base",children:s("fieldCountry")})}),l.length>0?(0,ga.jsx)(gB,{fullWidth:!0,id:`Participants.${n}.location`,...e,value:e.value||"",onChange:t=>{e.onChange(t.target.value),o(`Participants.${n}.location`,t.target.value)},children:l.map(e=>(0,ga.jsx)(XB,{value:e.Key,children:e.Description},e.Key))}):(0,ga.jsx)(tC,{sx:{display:"flex",margin:"0 auto",width:"40px"},children:(0,ga.jsx)(AC,{})}),r?.Participants&&r.Participants[n]?.location&&(0,ga.jsx)("p",{className:"field-errors",children:r?.Participants&&r.Participants[n]?.location?.message})]})}),a&&(0,ga.jsx)(XA,{name:`Participants.${n}.sexatbirth`,control:t,render:({field:e,fieldState:t})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsxs)(Pv,{className:"mt-2",htmlFor:`Participants.${n}.sexatbirth`,children:[(0,ga.jsx)("span",{className:"text-base",children:s("selectSexAtBirth")}),(0,ga.jsx)(CC,{title:s("sexAtBirthTitle"),message:s("sexAtBirthMessage")})]}),(0,ga.jsx)(gB,{fullWidth:!0,labelId:`Participants.${n}.sexatbirth`,id:`Participants.${n}.sexatbirth`,...e,value:e.value||"",onChange:t=>{const r=t.target.value;e.onChange(r),o(`Participants.${n}.sexatbirth`,r),u(a&&r!==a?e=>({...e,[n]:s("fieldGenderWarningAtBirth")}):e=>{const t={...e};return delete t[n],t})},children:d.map(e=>(0,ga.jsx)(XB,{value:e.value,children:e.description},e.value))}),t.error&&t.error.message&&(0,ga.jsx)("p",{className:"field-errors",children:s(t.error.message)}),A[n]&&(0,ga.jsx)("p",{className:"field-errors",children:A[n]})]})})]}),n>0&&(0,ga.jsx)(yC,{className:"ml-12",onClick:()=>f(e.id,n)})]})})},e.id)),(0,ga.jsx)(xa,{className:"mt-4",type:"button",small:!0,onClick:p,children:(0,ga.jsx)("span",{children:s("addAdditionalRecordApplicants")})})]})}const SC="Attempt";function jC(e){const{control:t,formState:{errors:r}}=e.form,{defaultValue:o}=e,{t:i}=Fo(),[a,s]=(0,n.useState)(void 0);return(0,n.useEffect)(()=>{o&&""!==o?s(o):""===o&&s("")},[o]),(0,ga.jsxs)(Bv,{children:[(0,ga.jsx)(Pv,{htmlFor:`${SC}-label`,children:i("fieldMeasurement")}),void 0!==a&&(0,ga.jsx)(XA,{name:SC,control:t,defaultValue:a,render:({field:e})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)("div",{style:{display:"flex",flexDirection:"row"},children:(0,ga.jsx)(xB,{id:`${SC}-label`,...e,sx:{width:"200px !important"}})}),r.Attempt&&(0,ga.jsx)("p",{className:"field-errors",children:r.Attempt.message})]})})]})}const EC="AttemptCity";
102function FC(e){const[t,r]=(0,n.useState)(void 0),{t:o}=Fo();(0,n.useEffect)(()=>{e.defaultValue&&""!==e.defaultValue?r(e.defaultValue):""===e.defaultValue&&r("")},[e.defaultValue]);const{control:i,formState:{errors:a}}=e.form;return(0,ga.jsxs)(Bv,{fullWidth:!0,children:[(0,ga.jsx)(Pv,{htmlFor:`${EC}-label`,children:o("fieldAttemptCity")}),void 0!==t&&(0,ga.jsx)(XA,{name:EC,control:i,rules:{required:!1},defaultValue:t,render:({field:e})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(xB,{fullWidth:!0,id:`${EC}-label`,...e}),a.AttemptCity&&(0,ga.jsx)("p",{className:"field-errors",children:a.AttemptCity.message})]})})]})}function NC(e){const{formState:{errors:t},control:r}=e.form,{date:o}=e,{t:i}=Fo(),[a,s]=(0,n.useState)(void 0);return(0,n.useEffect)(()=>{o&&""!==o?s(o.substring(0,10)):""===o&&s("")},[o]),(0,ga.jsxs)(Bv,{fullWidth:!0,children:[(0,ga.jsx)(Pv,{htmlFor:"DateAttempted",children:i("attemptDate")}),void 0!==a&&(0,ga.jsx)(XA,{name:"DateAttempted",control:r,rules:{required:!1},defaultValue:a,render:({field:e})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(xB,{...e,id:"DateAttempted",type:"date"}),t.DateAttempted&&(0,ga.jsx)("p",{className:"field-errors",children:t.DateAttempted.message})]})})]})}function UC(e){const{control:t,formState:{errors:r}}=e.form,{handleCountryChange:o,countryCode:i}=e,{countries:a,getCountryList:s}=eA(),[l,c]=(0,n.useState)(void 0),{t:A}=Fo();return(0,n.useEffect)(()=>{if(e.defaultValue&&""!==e.defaultValue&&a.length>0){const t=a.find(t=>t.Description===e.defaultValue);t&&c(t.Key)}else""===e.defaultValue&&c("")},[e.defaultValue,a]),(0,n.useEffect)(()=>{s()},[]),(0,ga.jsxs)(Bv,{fullWidth:!0,children:[(0,ga.jsx)(Pv,{id:"AttemptCountry-label",children:A("fieldAttemptCountry")}),a.length>0&&void 0!==l?(0,ga.jsx)(XA,{name:"AttemptCountry",control:t,defaultValue:l,render:({field:e})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(gB,{...e,labelId:"AttemptCountry-label",id:"AttemptCountry","aria-labelledby":"AttemptCountry-label",onChange:t=>{const n=t.target.value;c(n),e.onChange(n),o(n)},children:a.map(e=>(0,ga.jsx)(XB,{value:e.Key,children:e.Description},e.Key))}),r.AttemptCountry&&(0,ga.jsx)("p",{className:"field-errors reduce-width-error-message",children:r.AttemptCountry?.message})]})}):(0,ga.jsx)(tC,{sx:{display:"flex",margin:"0 auto",width:"40px"},children:(0,ga.jsx)(AC,{})})]})}const LC="AttemptState";function IC(e){const{control:t,formState:{errors:r}}=e.form,{states:o,hasStates:i,defaultValue:a}=e,{t:s}=Fo(),[l,c]=(0,n.useState)(void 0);return(0,n.useEffect)(()=>{a&&""!==a?c(a):""===a&&c("")},[a]),(0,ga.jsx)(Bv,{fullWidth:!0,children:void 0!==l&&(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(Pv,{htmlFor:"county-state",children:s("fieldCountyState")}),i?(0,ga.jsx)(XA,{name:LC,control:t,render:({field:e})=>(0,ga.jsx)(Bv,{className:"applicant-radio-wrap county-state-wrap",children:(0,ga.jsx)(gB,{id:"county-state",required:!1,value:e.value,onChange:t=>{e.onChange(t)},children:o.length>0?o.map(e=>(0,ga.jsx)(XB,{value:e.Key,children:e.Description},e.Key)):(0,ga.jsx)(tC,{sx:{display:"flex",margin:"0 auto",width:"40px"},children:(0,ga.jsx)(AC,{})})})})}):(0,ga.jsx)(XA,{name:LC,control:t,defaultValue:l,render:({field:e})=>(0,ga.jsx)(xB,{...e,id:"county-state",variant:"outlined",required:!1,onChange:t=>{e.onChange(t)}})}),r.AttemptState&&(0,ga.jsx)("p",{className:"field-errors",children:r.AttemptState.message})]})})}const PC=(0,n.createContext)(void 0),QC=({children:e})=>{const[t,r]=(0,n.useState)(0),o=()=>window.scrollTo(0,0);return(0,ga.jsx)(PC.Provider,{value:{currentStep:t,nextStep:()=>{o(),r(e=>e+1)},previousStep:()=>{o(),r(e=>e-1)},goToStep:e=>{o(),r(e)}},children:e})},TC=()=>{const e=(0,n.useContext)(PC);if(!e)throw new Error("useStep must be used within a StepProvider");return e};function DC(){const{t:e}=Fo(),{applicationId:t}=Lt(),{previousStep:n}=TC();return(0,ga.jsxs)("div",{className:"flex flex-col-reverse sm:flex-row gap-4 justify-between bg-zinc-100 p-4 border-t border-gray-300",children:[(0,ga.jsx)(xa,{to:`/applications/${t}`,color:"transparent",small:!0,children:e("cancelBackApplication")}),(0,ga.jsxs)("div",{className:"space-x-4 flex justify-between",children:[(0,ga.jsx)(xa,{small:!0,onClick:n,color:"transparent",children:e("backButton")}),(0,ga.jsx)(xa,{type:"submit",small:!0,children:(0,ga.jsx)("span",{children:e("btnSubmit")})})]})]})}function OC(e){return wv("MuiFormGroup",e)}vv("MuiFormGroup",["root","row","error"]);const RC=sv("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.row&&t.row]}})({display:"flex",flexDirection:"column",flexWrap:"wrap",variants:[{props:{row:!0},style:{flexDirection:"row"}}]}),MC=n.forwardRef(function(e,t){const n=Av({props:e,name:"MuiFormGroup"}),{className:r,row:o=!1,...i}=n,a=Cv({props:n,muiFormControl:kv(),states:["error"]}),s={...n,row:o,error:a.error},l=(e=>{const{classes:t,row:n,error:r}=e;return wh({root:["root",n&&"row",r&&"error"]},OC,t)})(s);return(0,ga.jsx)(RC,{className:yh(l.root,r),ownerState:s,ref:t,...i})});function HC(e){return wv("MuiRadioGroup",e)}vv("MuiRadioGroup",["root","row","error"]);const zC=n.createContext(void 0),KC=n.forwardRef(function(e,t){const{actions:r,children:o,className:i,defaultValue:a,name:s,onChange:l,value:c,...A}=e,u=n.useRef(null),d=(e=>{const{classes:t,row:n,error:r}=e;return wh({root:["root",n&&"row",r&&"error"]},HC,t)})(e),[p,f]=G_({controlled:c,default:a,name:"RadioGroup"});n.useImperativeHandle(r,()=>({focus:()=>{let e=u.current.querySelector("input:not(:disabled):checked");e||(e=u.current.querySelector("input:not(:disabled)")),e&&e.focus()}}),[]);const h=Ab(t,u),m=wC(s),g=n.useMemo(()=>({name:m,onChange(e){f(e.target.value),l&&l(e,e.target.value)},value:p}
102),[m,l,f,p]);return(0,ga.jsx)(zC.Provider,{value:g,children:(0,ga.jsx)(MC,{role:"radiogroup",ref:h,className:yh(d.root,i),...A,children:o})})});function $C(e){return wv("MuiTypography",e)}vv("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const VC={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},qC=Xv,WC=sv("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t[`align${pv(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(jv(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([e,t])=>"inherit"!==e&&t&&"object"==typeof t).map(([e,t])=>({props:{variant:e},style:t})),...Object.entries(e.palette).filter(Ev()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,e])=>"string"==typeof e).map(([t])=>({props:{color:`text${pv(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:e})=>"inherit"!==e.align,style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:e})=>e.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:e})=>e.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:e})=>e.paragraph,style:{marginBottom:16}}]}))),GC={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},YC=n.forwardRef(function(e,t){const{color:n,...r}=Av({props:e,name:"MuiTypography"}),o=qC({...r,...!VC[n]&&{color:n}}),{align:i="inherit",className:a,component:s,gutterBottom:l=!1,noWrap:c=!1,paragraph:A=!1,variant:u="body1",variantMapping:d=GC,...p}=o,f={...o,align:i,color:n,className:a,component:s,gutterBottom:l,noWrap:c,paragraph:A,variant:u,variantMapping:d},h=s||(A?"p":d[u]||GC[u])||"span",m=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e;return wh({root:["root",i,"inherit"!==e.align&&`align${pv(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]},$C,a)})(f);return(0,ga.jsx)(WC,{as:h,ref:t,className:yh(m.root,a),...p,ownerState:f,style:{..."inherit"!==i&&{"--Typography-textAlign":i},...p.style}})});function XC(e){return wv("MuiFormControlLabel",e)}const JC=vv("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),ZC=sv("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${JC.label}`]:t.label},t.root,t[`labelPlacement${pv(n.labelPlacement)}`]]}})(jv(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${JC.disabled}`]:{cursor:"default"},[`& .${JC.label}`]:{[`&.${JC.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:e})=>"start"===e||"top"===e||"bottom"===e,style:{marginLeft:16}}]}))),ek=sv("span",{name:"MuiFormControlLabel",slot:"Asterisk"})(jv(({theme:e})=>({[`&.${JC.error}`]:{color:(e.vars||e).palette.error.main}}))),tk=n.forwardRef(function(e,t){const r=Av({props:e,name:"MuiFormControlLabel"}),{checked:o,className:i,componentsProps:a={},control:s,disabled:l,disableTypography:c,inputRef:A,label:u,labelPlacement:d="end",name:p,onChange:f,required:h,slots:m={},slotProps:g={},value:y,...w}=r,v=kv(),b=l??s.props.disabled??v?.disabled,x=h??s.props.required,_={disabled:b,required:x};
102["checked","name","onChange","value","inputRef"].forEach(e=>{void 0===s.props[e]&&void 0!==r[e]&&(_[e]=r[e])});const B=Cv({props:r,muiFormControl:v,states:["error"]}),C={...r,disabled:b,labelPlacement:d,required:x,error:B.error},k=(e=>{const{classes:t,disabled:n,labelPlacement:r,error:o,required:i}=e;return wh({root:["root",n&&"disabled",`labelPlacement${pv(r)}`,o&&"error",i&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",o&&"error"]},XC,t)})(C),S={slots:m,slotProps:{...a,...g}},[j,E]=$b("typography",{elementType:YC,externalForwardedProps:S,ownerState:C});let F=u;return null==F||F.type===YC||c||(F=(0,ga.jsx)(j,{component:"span",...E,className:yh(k.label,E?.className),children:F})),(0,ga.jsxs)(ZC,{className:yh(k.root,i),ownerState:C,ref:t,...w,children:[n.cloneElement(s,_),x?(0,ga.jsxs)("div",{children:[F,(0,ga.jsxs)(ek,{ownerState:C,"aria-hidden":!0,className:k.asterisk,children:[" ","*"]})]}):F]})}),nk=tk;function rk(e){return wv("PrivateSwitchBase",e)}vv("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const ok=sv(KB,{name:"MuiSwitchBase"})({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>"start"===e&&"small"!==t.size,style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>"end"===e&&"small"!==t.size,style:{marginRight:-12}}]}),ik=sv("input",{name:"MuiSwitchBase",shouldForwardProp:iv})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),ak=n.forwardRef(function(e,t){const{autoFocus:n,checked:r,checkedIcon:o,defaultChecked:i,disabled:a,disableFocusRipple:s=!1,edge:l=!1,icon:c,id:A,inputProps:u,inputRef:d,name:p,onBlur:f,onChange:h,onFocus:m,readOnly:g,required:y=!1,tabIndex:w,type:v,value:b,slots:x={},slotProps:_={},...B}=e,[C,k]=G_({controlled:r,default:Boolean(i),name:"SwitchBase",state:"checked"}),S=kv();let j=a;S&&void 0===j&&(j=S.disabled);const E="checkbox"===v||"radio"===v,F={...e,checked:C,disabled:j,disableFocusRipple:s,edge:l},N=(e=>{const{classes:t,checked:n,disabled:r,edge:o}=e;return wh({root:["root",n&&"checked",r&&"disabled",o&&`edge${pv(o)}`],input:["input"]},rk,t)})(F),U={slots:x,slotProps:{input:u,..._}},[L,I]=$b("root",{ref:t,elementType:ok,className:N.root,shouldForwardComponentProp:!0,externalForwardedProps:{...U,component:"span",...B},getSlotProps:e=>({...e,onFocus:t=>{e.onFocus?.(t),(e=>{m&&m(e),S&&S.onFocus&&S.onFocus(e)})(t)},onBlur:t=>{e.onBlur?.(t),(e=>{f&&f(e),S&&S.onBlur&&S.onBlur(e)})(t)}}),ownerState:F,additionalProps:{centerRipple:!0,focusRipple:!s,disabled:j,role:void 0,tabIndex:null}}),[P,Q]=$b("input",{ref:d,elementType:ik,className:N.input,externalForwardedProps:U,getSlotProps:e=>({...e,onChange:t=>{e.onChange?.(t),(e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;k(t),h&&h(e,t)})(t)}}),ownerState:F,additionalProps:{autoFocus:n,checked:r,defaultChecked:i,disabled:j,id:E?A:void 0,name:p,readOnly:g,required:y,tabIndex:w,type:v,..."checkbox"===v&&void 0===b?{}:{value:b}}});return(0,ga.jsxs)(L,{...I,children:[(0,ga.jsx)(P,{...Q}),C?o:c]})}),sk=ak,lk=AB((0,ga.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"})),ck=AB((0,ga.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"})),Ak=sv("span",{name:"MuiRadioButtonIcon",shouldForwardProp:iv})({position:"relative",display:"flex"}),uk=sv(lk,{name:"MuiRadioButtonIcon"})({transform:"scale(1)"}),dk=sv(ck,{name:"MuiRadioButtonIcon"})(jv(({theme:e})=>({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}}]}))),pk=function(e){const{checked:t=!1,classes:n={},fontSize:r}=e,o={...e,checked:t};return(0,ga.jsxs)(Ak,{className:n.root,ownerState:o,children:[(0,ga.jsx)(uk,{fontSize:r,className:n.background,ownerState:o}),(0,ga.jsx)(dk,{fontSize:r,className:n.dot,ownerState:o})]})},fk=c_;function hk(e){return wv("MuiRadio",e)}const mk=vv("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),gk=sv(sk,{shouldForwardProp:e=>iv(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"medium"!==n.size&&t[`size${pv(n.size)}`],t[`color${pv(n.color)}`]]}})(jv(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${mk.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{color:"default",disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(Ev()).map(([t])=>({props:{color:t,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(Ev()).map(([t])=>({props:{color:t,disabled:!1},style:{[`&.${mk.checked}`]:{color:(e.vars||e).palette[t].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),yk=(0,ga.jsx)(pk,{checked:!0}),wk=(0,ga.jsx)(pk,{}),vk=n.forwardRef(function(e,t){const r=Av({props:e,name:"MuiRadio"}),{checked:o,checkedIcon:i=yk,color:a="primary",icon:s=wk,name:l,onCh
102ange:c,size:A="medium",className:u,disabled:d,disableRipple:p=!1,slots:f={},slotProps:h={},inputProps:m,...g}=r,y=kv();let w=d;y&&void 0===w&&(w=y.disabled),w??=!1;const v={...r,disabled:w,disableRipple:p,color:a,size:A},b=(e=>{const{classes:t,color:n,size:r}=e,o={root:["root",`color${pv(n)}`,"medium"!==r&&`size${pv(r)}`]};return{...t,...wh(o,hk,t)}})(v),x=n.useContext(zC);let _=o;const B=fk(c,x&&x.onChange);let C=l;var k,S;x&&(void 0===_&&(k=x.value,_="object"==typeof(S=r.value)&&null!==S?k===S:String(k)===String(S)),void 0===C&&(C=x.name));const j=h.input??m,[E,F]=$b("root",{ref:t,elementType:gk,className:yh(b.root,u),shouldForwardComponentProp:!0,externalForwardedProps:{slots:f,slotProps:h,...g},getSlotProps:e=>({...e,onChange:(t,...n)=>{e.onChange?.(t,...n),B(t,...n)}}),ownerState:v,additionalProps:{type:"radio",icon:n.cloneElement(s,{fontSize:s.props.fontSize??A}),checkedIcon:n.cloneElement(i,{fontSize:i.props.fontSize??A}),disabled:w,name:C,checked:_,slots:f,slotProps:{input:"function"==typeof j?j(v):j}}});return(0,ga.jsx)(E,{...F,classes:b})});function bk(e){const{formState:{errors:t},control:n}=e.form,{t:r}=Fo();return(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(XA,{name:"noSensitiveData",control:n,render:({field:e})=>(0,ga.jsxs)(KC,{value:e.value,onChange:t=>e.onChange(t.target.value),children:[(0,ga.jsx)(nk,{value:!0,control:(0,ga.jsx)(vk,{}),label:r("yesEvidenceContainsSensitive")}),(0,ga.jsx)(nk,{value:!1,control:(0,ga.jsx)(vk,{}),label:r("noEvidenceContainsSensitive")})]})}),t.noSensitiveData&&(0,ga.jsx)("p",{className:"field-errors",children:t.noSensitiveData.message})]})}const xk=({form:e,application:t})=>{const{control:n}=e,{handleCountryChange:r,states:o,hasStates:i}=rA(),a=t?.Title?.toLowerCase()??"",s=a.includes("(male)")?"male":a.includes("(female)")?"female":null;return(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(XA,{name:"Status",control:n,defaultValue:t.Status,render:({field:e})=>(0,ga.jsx)("input",{type:"hidden",...e})}),(0,ga.jsx)("section",{className:"custom-input-field mb-6",children:(0,ga.jsx)(NC,{form:e,date:t.DateAttempted||""})}),(0,ga.jsx)("section",{className:"custom-input-field mb-6",children:(0,ga.jsx)(FC,{form:e,defaultValue:t.AttemptCity||""})}),(0,ga.jsx)("section",{className:"custom-input-field mb-6",children:(0,ga.jsx)(UC,{form:e,countryCode:t.AttemptCountry||"",defaultValue:t.AttemptCountry||"",handleCountryChange:r})}),(0,ga.jsx)("section",{className:"custom-input-field mb-6",children:(0,ga.jsx)(IC,{form:e,states:o,hasStates:i,defaultValue:t.AttemptState||""})}),(0,ga.jsxs)("section",{className:"custom-input-field mb-6",children:[(0,ga.jsx)(jC,{form:e,defaultValue:t.Attempt||""}),(0,ga.jsx)(cA,{recordId:t.RecordTitleId})]}),t.Participants?.[0]?.name&&(0,ga.jsx)("section",{className:"custom-input-field mb-6",children:(0,ga.jsx)(kC,{form:e,Participants:t.Participants,GenderText:t.GenderText||s})})]})},_k=Xu("ZodISODateTime",(e,t)=>{ef.init(e,t),$k.init(e,t)});const Bk=Xu("ZodISODate",(e,t)=>{tf.init(e,t),$k.init(e,t)});const Ck=Xu("ZodISOTime",(e,t)=>{nf.init(e,t),$k.init(e,t)});const kk=Xu("ZodISODuration",(e,t)=>{rf.init(e,t),$k.init(e,t)});const Sk=(e,t)=>{Fd.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:t=>function(e,t){const n=t||function(e){return e.message},r={_errors:[]},o=e=>{for(const t of e.issues)if("invalid_union"===t.code&&t.errors.length)t.errors.map(e=>o({issues:e}));else if("invalid_key"===t.code)o({issues:t.issues});else if("invalid_element"===t.code)o({issues:t.issues});else if(0===t.path.length)r._errors.push(n(t));else{let e=r,o=0;for(;o<t.path.length;){const r=t.path[o];o===t.path.length-1?(e[r]=e[r]||{_errors:[]},e[r]._errors.push(n(t))):e[r]=e[r]||{_errors:[]},e=e[r],o++}}};return o(e),r}(e,t)},flatten:{value:t=>function(e,t=e=>e.message){const n={},r=[];for(const o of e.issues)o.path.length>0?(n[o.path[0]]=n[o.path[0]]||[],n[o.path[0]].push(t(o))):r.push(t(o));return{formErrors:r,fieldErrors:n}}(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,rd,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,rd,2)}},isEmpty:{get:()=>0===e.issues.length}})},jk=(Xu("ZodError",Sk),Xu("ZodError",Sk,{Parent:Error})),Ek=Ud(jk),Fk=Id(jk),Nk=Qd(jk),Uk=Dd(jk),Lk=Rd(jk),Ik=Md(jk),Pk=Hd(jk),Qk=zd(jk),Tk=Kd(jk),Dk=$d(jk),Ok=Vd(jk),Rk=qd(jk),Mk=Xu("ZodType",(e,t)=>(Rp.init(e,t),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...n)=>e.clone(Ad(t,{checks:[...t.checks??[],...n.map(e=>"function"==typeof e?{_zod:{check:e,def:{check:"custom"},onattach:[]}}:e)]})),e.clone=(t,n)=>
102wd(e,t,n),e.brand=()=>e,e.register=(t,n)=>(t.add(e,n),e),e.parse=(t,n)=>Ek(e,t,n,{callee:e.parse}),e.safeParse=(t,n)=>Nk(e,t,n),e.parseAsync=async(t,n)=>Fk(e,t,n,{callee:e.parseAsync}),e.safeParseAsync=async(t,n)=>Uk(e,t,n),e.spa=e.safeParseAsync,e.encode=(t,n)=>Lk(e,t,n),e.decode=(t,n)=>Ik(e,t,n),e.encodeAsync=async(t,n)=>Pk(e,t,n),e.decodeAsync=async(t,n)=>Qk(e,t,n),e.safeEncode=(t,n)=>Tk(e,t,n),e.safeDecode=(t,n)=>Dk(e,t,n),e.safeEncodeAsync=async(t,n)=>Ok(e,t,n),e.safeDecodeAsync=async(t,n)=>Rk(e,t,n),e.refine=(t,n)=>e.check(function(e,t={}){return function(e,t,n){return new e({type:"custom",check:"custom",fn:t,...vd(n)})}(GS,e,t)}(t,n)),e.superRefine=t=>e.check(function(e){const t=function(e){const t=new bp({check:"custom",...vd(void 0)});return t._zod.check=e,t}(n=>(n.addIssue=e=>{if("string"==typeof e)n.issues.push(jd(e,n.value,t._zod.def));else{const r=e;r.fatal&&(r.continue=!1),r.code??(r.code="custom"),r.input??(r.input=n.value),r.inst??(r.inst=t),r.continue??(r.continue=!t._zod.def.abort),n.issues.push(jd(r))}},e(n.value,n)));return t}(t)),e.overwrite=t=>e.check(uh(t)),e.optional=()=>OS(e),e.nullable=()=>MS(e),e.nullish=()=>OS(MS(e)),e.nonoptional=t=>function(e,t){return new KS({type:"nonoptional",innerType:e,...vd(t)})}(e,t),e.array=()=>kS(e),e.or=t=>FS([e,t]),e.and=t=>new LS({type:"intersection",left:e,right:t}),e.transform=t=>qS(e,new TS({type:"transform",transform:t})),e.default=t=>{return n=t,new HS({type:"default",innerType:e,get defaultValue(){return"function"==typeof n?n():md(n)}});var n},e.prefault=t=>{return n=t,new zS({type:"prefault",innerType:e,get defaultValue(){return"function"==typeof n?n():md(n)}});var n},e.catch=t=>{return new $S({type:"catch",innerType:e,catchValue:"function"==typeof(n=t)?n:()=>n});var n},e.pipe=t=>qS(e,t),e.readonly=()=>new WS({type:"readonly",innerType:e}),e.describe=t=>{const n=e.clone();return th.add(n,{description:t}),n},Object.defineProperty(e,"description",{get:()=>th.get(e)?.description,configurable:!0}),e.meta=(...t)=>{if(0===t.length)return th.get(e);const n=e.clone();return th.add(n,t[0]),n},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e)),Hk=Xu("_ZodString",(e,t)=>{Mp.init(e,t),Mk.init(e,t);const n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,e.regex=(...t)=>e.check(function(e,t){return new Np({check:"string_format",format:"regex",...vd(t),pattern:e})}(...t)),e.includes=(...t)=>e.check(function(e,t){return new Ip({check:"string_format",format:"includes",...vd(t),includes:e})}(...t)),e.startsWith=(...t)=>e.check(function(e,t){return new Pp({check:"string_format",format:"starts_with",...vd(t),prefix:e})}(...t)),e.endsWith=(...t)=>e.check(function(e,t){return new Qp({check:"string_format",format:"ends_with",...vd(t),suffix:e})}(...t)),e.min=(...t)=>e.check(ch(...t)),e.max=(...t)=>e.check(lh(...t)),e.length=(...t)=>e.check(Ah(...t)),e.nonempty=(...t)=>e.check(ch(1,...t)),e.lowercase=t=>e.check(function(e){return new Up({check:"string_format",format:"lowercase",...vd(e)})}(t)),e.uppercase=t=>e.check(function(e){return new Lp({check:"string_format",format:"uppercase",...vd(e)})}(t)),e.trim=()=>e.check(uh(e=>e.trim())),e.normalize=(...t)=>e.check(function(e){return uh(t=>t.normalize(e))}(...t)),e.toLowerCase=()=>e.check(uh(e=>e.toLowerCase())),e.toUpperCase=()=>e.check(uh(e=>e.toUpperCase()))}),zk=Xu("ZodString",(e,t)=>{Mp.init(e,t),Hk.init(e,t),e.email=t=>e.check(function(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...vd(t)})}(Vk,t)),e.url=t=>e.check(function(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...vd(t)})}(Gk,t)),e.jwt=t=>e.check(function(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...vd(t)})}(AS,t)),e.emoji=t=>e.check(function(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...vd(t)})}(Yk,t)),e.guid=t=>e.check(nh(qk,t)),e.uuid=t=>e.check(function(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...vd(t)})}(Wk,t)),e.uuidv4=t=>e.check(function(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...vd(t)})}(Wk,t)),e.uuidv6=t=>e.check(function(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...vd(t)})}(Wk,t)),e.uuidv7=t=>e.check(function(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...vd(t)})}(Wk,t)),e.nanoid=t=>e.check(function(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...vd(t)})}(Xk,t)),e.guid=t=>e.check(nh(qk,t)),e.cuid=t=>e.check(function(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...vd(t)})}(Jk,t)),e.cuid2=t=>e.check(function(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...vd(t)})}(Zk,t)),e.ulid=t=>e.check(function(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...vd(t)})}(eS,t)),e.base64=t=>e.check(function(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...vd(t)})}(sS,t)),e.base64url=t=>e.check(function(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...vd(t)})}(lS,t)),e.xid=t=>e.check(function(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...vd(t)})}(tS,t)),e.ksuid=t=>e.check(function(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...vd(t)})}(nS,t)),e.ipv4=t=>e.check(function(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...vd(t)})}(rS,t)),e.ipv6=t=>e.check(function(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...vd(t)})}(oS,t)),e.cidrv4=t=>e.check(function(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...vd(t)})}(iS,t)),e.cidrv6=t=>e.check(function(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...vd(t)})}(aS,t)),e.e164=t=>e.check(function(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...vd(t)})}(cS,t)),e.datetime=t=>e.check(function(e){return function(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...vd(t)})}(_k,e)}(t)),e.date=t=>e.check(function(e){return function(e,t){return new e({type:"string",format:"date",check:"string_format",...vd(t)})}(Bk,e)}(t)),e.time=t=>e.check(function(e){return function(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...vd(t)})}(Ck,e)}(t)),e.duration=t=>e.check(function(e){return function(e,t){return new e({type:"string",format:"duration",check:"string_format",...vd(t)})}(kk,e)}(t))});function Kk(e){return function(e,t){return new e({type:"string",...vd(t)})}(zk,e)}const $k=Xu("ZodStringFormat",(e,t)=>{Hp.init(e,t),Hk.init(e,t)}),Vk=Xu("ZodEmail",(e,t)=>{$p.init(e,t),$k.init(e,t)}),qk=Xu("ZodGUID",(e,t)=>{zp.init(e,t),$k.init(e,t)}),Wk=Xu("ZodUUID",(e,t)=>{Kp.init(e,t),$k.init(e,t)}),Gk=Xu("ZodURL",(e,t)=>{Vp.init(e,t),$k.init(e,t)}),Yk=Xu("ZodEmoji",(e,t)=>{qp.init(e,t),$k.init(e,t)}),Xk=Xu("ZodNanoID",(e,t)=>{Wp.init(e,t),$k.init(e,t)}),Jk=Xu("ZodCUID",(e,t)=>{Gp.init(e,t),$k.init(e,t)}),Zk=Xu("ZodCUID2",(e,t)=>{Yp.init(e,t),$k.init(e,t)}
102),eS=Xu("ZodULID",(e,t)=>{Xp.init(e,t),$k.init(e,t)}),tS=Xu("ZodXID",(e,t)=>{Jp.init(e,t),$k.init(e,t)}),nS=Xu("ZodKSUID",(e,t)=>{Zp.init(e,t),$k.init(e,t)}),rS=Xu("ZodIPv4",(e,t)=>{of.init(e,t),$k.init(e,t)}),oS=Xu("ZodIPv6",(e,t)=>{af.init(e,t),$k.init(e,t)}),iS=Xu("ZodCIDRv4",(e,t)=>{sf.init(e,t),$k.init(e,t)}),aS=Xu("ZodCIDRv6",(e,t)=>{lf.init(e,t),$k.init(e,t)}),sS=Xu("ZodBase64",(e,t)=>{Af.init(e,t),$k.init(e,t)}),lS=Xu("ZodBase64URL",(e,t)=>{uf.init(e,t),$k.init(e,t)}),cS=Xu("ZodE164",(e,t)=>{df.init(e,t),$k.init(e,t)}),AS=Xu("ZodJWT",(e,t)=>{pf.init(e,t),$k.init(e,t)}),uS=Xu("ZodNumber",(e,t)=>{ff.init(e,t),Mk.init(e,t),e.gt=(t,n)=>e.check(ih(t,n)),e.gte=(t,n)=>e.check(ah(t,n)),e.min=(t,n)=>e.check(ah(t,n)),e.lt=(t,n)=>e.check(rh(t,n)),e.lte=(t,n)=>e.check(oh(t,n)),e.max=(t,n)=>e.check(oh(t,n)),e.int=t=>e.check(fS(t)),e.safe=t=>e.check(fS(t)),e.positive=t=>e.check(ih(0,t)),e.nonnegative=t=>e.check(ah(0,t)),e.negative=t=>e.check(rh(0,t)),e.nonpositive=t=>e.check(oh(0,t)),e.multipleOf=(t,n)=>e.check(sh(t,n)),e.step=(t,n)=>e.check(sh(t,n)),e.finite=()=>e;const n=e._zod.bag;e.minValue=Math.max(n.minimum??Number.NEGATIVE_INFINITY,n.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(n.maximum??Number.POSITIVE_INFINITY,n.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(n.format??"").includes("int")||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function dS(e){return function(e,t){return new e({type:"number",checks:[],...vd(t)})}(uS,e)}const pS=Xu("ZodNumberFormat",(e,t)=>{hf.init(e,t),uS.init(e,t)});function fS(e){return function(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...vd(t)})}(pS,e)}const hS=Xu("ZodBoolean",(e,t)=>{mf.init(e,t),Mk.init(e,t)});function mS(e){return function(e,t){return new e({type:"boolean",...vd(t)})}(hS,e)}const gS=Xu("ZodUndefined",(e,t)=>{gf.init(e,t),Mk.init(e,t)});function yS(e){return function(e,t){return new e({type:"undefined",...vd(t)})}(gS,e)}const wS=Xu("ZodAny",(e,t)=>{yf.init(e,t),Mk.init(e,t)}),vS=Xu("ZodUnknown",(e,t)=>{wf.init(e,t),Mk.init(e,t)});function bS(){return new vS({type:"unknown"})}const xS=Xu("ZodNever",(e,t)=>{vf.init(e,t),Mk.init(e,t)});const _S=Xu("ZodDate",(e,t)=>{bf.init(e,t),Mk.init(e,t),e.min=(t,n)=>e.check(ah(t,n)),e.max=(t,n)=>e.check(oh(t,n));const n=e._zod.bag;e.minDate=n.minimum?new Date(n.minimum):null,e.maxDate=n.maximum?new Date(n.maximum):null});function BS(e){return function(e,t){return new e({type:"date",...vd(t)})}(_S,e)}const CS=Xu("ZodArray",(e,t)=>{_f.init(e,t),Mk.init(e,t),e.element=t.element,e.min=(t,n)=>e.check(ch(t,n)),e.nonempty=t=>e.check(ch(1,t)),e.max=(t,n)=>e.check(lh(t,n)),e.length=(t,n)=>e.check(Ah(t,n)),e.unwrap=()=>e.element});function kS(e,t){return function(e,t,n){return new e({type:"array",element:t,...vd(n)})}(CS,e,t)}const SS=Xu("ZodObject",(e,t)=>{jf.init(e,t),Mk.init(e,t),ld(e,"shape",()=>t.shape),e.keyof=()=>function(e,t){const n=Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e;return new IS({type:"enum",entries:n,...vd(t)})}(Object.keys(e._zod.def.shape)),e.catchall=t=>e.clone({...e._zod.def,catchall:t}),e.passthrough=()=>e.clone({...e._zod.def,catchall:bS()}),e.loose=()=>e.clone({...e._zod.def,catchall:bS()}),e.strict=()=>{return e.clone({...e._zod.def,catchall:function(e,t){return new e({type:"never",...vd(t)})}(xS,t)});var t},e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=t=>function(e,t){if(!hd(t))throw new Error("Invalid input to extend: expected a plain object");const n=e._zod.def.checks;if(n&&n.length>0)throw new Error("Object schemas containing refinements cannot be extended. Use `.safeExtend()` instead.");const r=Ad(e._zod.def,{get shape(){const n={...e._zod.def.shape,...t};return cd(this,"shape",n),n},checks:[]});return wd(e,r)}(e,t),e.safeExtend=t=>function(e,t){if(!hd(t))throw new Error("Invalid input to safeExtend: expected a plain object");const n={...e._zod.def,get shape(){const n={...e._zod.def.shape,...t};return cd(this,"shape",n),n},checks:e._zod.def.checks};return wd(e,n)}(e,t),e.merge=t=>function(e,t){const n=Ad(e._zod.def,{get shape(){const n={...e._zod.def.shape,...t._zod.def.shape};return cd(this,"shape",n),n},get catchall(){return t._zod.def.catchall},checks:[]});return wd(e,n)}(e,t),e.pick=t=>function(e,t){const n=e._zod.def;return wd(e,Ad(e._zod.def,{get shape(){const e={};for(const r in t){if(!(r in n.shape))throw new Error(`Unrecognized key: "${r}"`);t[r]&&(e[r]=n.shape[r])}return cd(this,"shape",e),e},checks:[]}))}(e,t),e.omit=t=>function(e,t){const n=e._zod.def,r=Ad(e._zod.def,{get shape(){const r={...e._zod.def.shape};for(const e in t){if(!(e in n.shape))throw new Error(`Unrecognized key: "${e}"`);t[e]&&delete r[e]}return cd(this,"shape",r),r},checks:[]});return wd(e,r)}(e,t),e.partial=(...t)=>function(e,t,n){const r=Ad(t._zod.def,{get shape(){const r=t._zod.def.shape,o={...r};if(n)for(const t in n){if(!(t in r))throw new Error(`Unrecognized key: "${t}"`);n[t]&&(o[t]=e?new e({type:"optional",innerType:r[t]}):r[t])}else for(const t in r)o[t]=e?new e({type:"optional",innerType:r[t]}):r[t];return cd(this,"shape",o),o},checks:[]});return wd(t,r)}(DS,e,t[0]),e.required=(...t)=>function(e,t,n){const r=Ad(t._zod.def,{get shape(){const r=t._zod.def.shape,o={...r};if(n)for(const t in n){if(!(t in o))throw new Error(`Unrecognized key: "${t}"`);n[t]&&(o[t]=new e({type:"nonoptional",innerType:r[t]}))}else for(const t in r)o[t]=new e({type:"nonoptional",innerType:r[t]});return cd(this,"shape",o),o},checks:[]});return wd(t,r)}(KS,e,t[0])});function jS(e,t){const n={type:"object",shape:e??{},...vd(t)};return new SS(n)}const ES=Xu("ZodUnion",(e,t)=>{Ff.init(e,t),Mk.init(e,t),e.options=t.options});function FS(e,t){return new ES({type:"union",options:e,...vd(t)})}const NS=Xu("ZodDiscriminatedUnion",(e,t)=>{ES.init(e,t),Nf.init(e,t)});function US(e,t,n){return new NS({type:"union",options:t,discriminator:e,...vd(n)})}const LS=Xu("ZodIntersection",(e,t)=>{Uf.init(e,t),Mk.init(e,t)}),IS=Xu("ZodEnum",(e,t)=>{Pf.init(e,t),Mk.init(e,t),e.enum=t.entries,e.options=Object.values(t.entries);const n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{const o={};for(const r of e){if(!n.has(r))throw new Error(`Key ${r} not found in enum`);o[r]=t.entries[r]}return new IS({...t,checks:[],...vd(r),entries:o})},e.exclude=(e,r)=>{const o={...t.entries};for(const t of e){if(!n.has(t))throw new Error(`Key ${t} not found in enum`);delete o[t]}return new IS({...t,checks:[],...vd(r),entries:o})}});const PS=Xu("ZodLiteral",(e,t)=>{Qf.init(e,t),Mk.init(e,t),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if
102(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function QS(e,t){return new PS({type:"literal",values:Array.isArray(e)?e:[e],...vd(t)})}const TS=Xu("ZodTransform",(e,t)=>{Tf.init(e,t),Mk.init(e,t),e._zod.parse=(n,r)=>{if("backward"===r.direction)throw new Zu(e.constructor.name);n.addIssue=r=>{if("string"==typeof r)n.issues.push(jd(r,n.value,t));else{const t=r;t.fatal&&(t.continue=!1),t.code??(t.code="custom"),t.input??(t.input=n.value),t.inst??(t.inst=e),n.issues.push(jd(t))}};const o=t.transform(n.value,n);return o instanceof Promise?o.then(e=>(n.value=e,n)):(n.value=o,n)}});const DS=Xu("ZodOptional",(e,t)=>{Of.init(e,t),Mk.init(e,t),e.unwrap=()=>e._zod.def.innerType});function OS(e){return new DS({type:"optional",innerType:e})}const RS=Xu("ZodNullable",(e,t)=>{Rf.init(e,t),Mk.init(e,t),e.unwrap=()=>e._zod.def.innerType});function MS(e){return new RS({type:"nullable",innerType:e})}const HS=Xu("ZodDefault",(e,t)=>{Mf.init(e,t),Mk.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap}),zS=Xu("ZodPrefault",(e,t)=>{zf.init(e,t),Mk.init(e,t),e.unwrap=()=>e._zod.def.innerType}),KS=Xu("ZodNonOptional",(e,t)=>{Kf.init(e,t),Mk.init(e,t),e.unwrap=()=>e._zod.def.innerType}),$S=Xu("ZodCatch",(e,t)=>{Vf.init(e,t),Mk.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap}),VS=Xu("ZodPipe",(e,t)=>{qf.init(e,t),Mk.init(e,t),e.in=t.in,e.out=t.out});function qS(e,t){return new VS({type:"pipe",in:e,out:t})}const WS=Xu("ZodReadonly",(e,t)=>{Gf.init(e,t),Mk.init(e,t),e.unwrap=()=>e._zod.def.innerType}),GS=Xu("ZodCustom",(e,t)=>{Xf.init(e,t),Mk.init(e,t)});var YS;YS||(YS={}),td({localeError:(()=>{const e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"}};function t(t){return e[t]??null}const n={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"};return e=>{switch(e.code){case"invalid_type":return`Invalid input: expected ${e.expected}, received ${(e=>{const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":if(Array.isArray(e))return"array";if(null===e)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}return t})(e.input)}`;case"invalid_value":return 1===e.values.length?`Invalid input: expected ${bd(e.values[0])}`:`Invalid option: expected one of ${nd(e.values,"|")}`;case"too_big":{const n=e.inclusive?"<=":"<",r=t(e.origin);return r?`Too big: expected ${e.origin??"value"} to have ${n}${e.maximum.toString()} ${r.unit??"elements"}`:`Too big: expected ${e.origin??"value"} to be ${n}${e.maximum.toString()}`}case"too_small":{const n=e.inclusive?">=":">",r=t(e.origin);return r?`Too small: expected ${e.origin} to have ${n}${e.minimum.toString()} ${r.unit}`:`Too small: expected ${e.origin} to be ${n}${e.minimum.toString()}`}case"invalid_format":{const t=e;return"starts_with"===t.format?`Invalid string: must start with "${t.prefix}"`:"ends_with"===t.format?`Invalid string: must end with "${t.suffix}"`:"includes"===t.format?`Invalid string: must include "${t.includes}"`:"regex"===t.format?`Invalid string: must match pattern ${t.pattern}`:`Invalid ${n[t.format]??e.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${e.divisor}`;case"unrecognized_keys":return`Unrecognized key${e.keys.length>1?"s":""}: ${nd(e.keys,", ")}`;case"invalid_key":return`Invalid key in ${e.origin}`;case"invalid_union":default:return"Invalid input";case"invalid_element":return`Invalid value in ${e.origin}`}}})()});const XS=jS({Status:(JS=wS,new JS({type:"any"})),DateAttempted:Kk().min(1,"This field is required"),AttemptCity:Kk().min(1,"This field is required"),AttemptCountry:Kk().min(1,"This field is required"),AttemptState:Kk().optional(),Attempt:Kk().optional(),internalNotes:Kk().optional(),recordText:Kk().optional(),ifBC:mS().optional(),Participants:kS(jS({name:Kk().min(1,"This field is required"),location:Kk().min(1,"This field is required"),sexatbirth:Kk().nullish().optional()})),furtherInfo:Kk().optional(),measurementType:Kk().optional()});var JS;function ZS(){const{t:e}=Fo(),{applicationId:t}
102=Lt(),r=void 0!==t?parseInt(t??"0"):0,o=Va(),[i,a]=(0,n.useState)(!1),s=Mc(),l={"Precise date":0,"Month & Year":1,"Year Only":2,"Fill Text":3},c=(0,n.useCallback)(async t=>{try{a(!0);const n={statusChange:!1},{Status:i,...c}=t,A=c,u={...A,recordDate:A.recordDate?{...A.recordDate,type:o?l[A.recordDate.type]??0:A.recordDate.type}:void 0};return await(async(e,t,n,r,o)=>Tc.put(`${Oc(o)}/applications/${t}`,r,{headers:e,params:n}))(s,r,n,u,o),Pa.success(e("success")),{success:!0}}catch(t){return Ac.isAxiosError(t)?console.log("API ERROR ==>",{status:t.status,response:t.response}):console.log(t),Pa.error(e("error")),{success:!1}}finally{a(!1)}},[]);return{handlePostAppDetailsForm:c,submitting:i}}const ej=(e,t,n)=>{let r=!1;return e.forEach((e,t)=>{if(!e.sexatbirth)return n(`Participants.${t}.sexatbirth`,{type:"manual",message:"fieldRequiredGeneric"}),r=!0,r}),r},tj=()=>{const{t:e}=Fo(),{applicationId:t}=Lt(),{fetchApplicationDetail:r,isLoading:o,application:i}=Zc(),a=Nt(),s=Va(),l=$u({resolver:hh(XS),mode:"onChange"}),{handleSubmit:c,setError:A}=l,{handlePostAppDetailsForm:u,submitting:d}=ZS(),p=i?.Title?.toLowerCase().includes("(male)")||i?.Title?.toLowerCase().includes("(female)");return(0,n.useEffect)(()=>{t&&r(t)},[t]),o?(0,ga.jsx)("div",{className:"max-w-200 flex justify-center text-gwr-light-blue",children:(0,ga.jsx)(ba,{size:"size-11"})}):i?(0,ga.jsxs)("div",{className:"max-w-200",children:[(0,ga.jsx)("div",{className:"anchor-link mb-6",children:(0,ga.jsx)(Qn,{to:`${s?"/consultant":""}/applications/${t}`,children:"View Application"})}),(0,ga.jsx)(Wc,{title:e("recordApplication")}),(0,ga.jsx)("div",{className:"bg-white text-base sm:text-lg py-6 px-8",children:(0,ga.jsxs)("form",{onSubmit:c(async e=>{if(!((i?.GenderText||p)&&e.Participants.length>0&&ej(e.Participants,0,A)))return 0!==e.Participants.length&&void((await u(e)).success&&a(`${s?"/consultant":""}/applications/${t}`))}),children:[(0,ga.jsx)(xk,{form:l,application:i}),(0,ga.jsx)("section",{className:"border-t border-gwr-gray pt-6 text-right",children:(0,ga.jsx)(xa,{type:"submit",loading:d,children:e("btnSubmit")})})]})})]}):(0,ga.jsx)("p",{children:e("toastieError")})},nj=dS().int().min(1).max(31,"Invalid day"),rj=dS().int().min(1).max(12,"Invalid month"),oj=dS().int().max(9999,"Year must be 4 digits long"),ij=Kk({message:"This field is required"}).min(1,"This field is required"),aj=jS({RecordTitleId:Kk().optional(),recordText:Kk().min(1,"Please fill in the Record text field"),projectName:FS([Kk().refine(e=>""!==e,{message:"This field is required"}),yS()]),recordTitle:Kk().optional(),ifBC:mS().optional(),holders:kS(jS({name:Kk().min(1,"This field is required"),nationality:Kk().refine(e=>""!==e,{message:"This field is required"})})),recordDate:US("type",[jS({type:QS("Precise date"),day:nj,month:rj,year:oj}),jS({type:QS("Month & Year"),month:rj,year:oj}),jS({type:QS("Year Only"),year:oj}),jS({type:QS("Fill Text"),text:ij})]),expiryDate:BS().optional(),location:FS([Kk().refine(e=>""!==e,{message:"This field is required"}),yS()]),countyState:FS([Kk().optional(),yS()]),city:Kk().optional(),unit:Kk().min(1,"This field is required"),furtherInfo:Kk().min(1,"This field is required"),internalNotes:Kk().optional(),WorkAreaId:Kk().optional(),measurementType:Kk().optional()}),sj="recordTitle";function lj(e){const{control:t,formState:{errors:n}}=e.form;return(0,ga.jsxs)(Bv,{fullWidth:!0,children:[(0,ga.jsx)(Pv,{id:`${sj}-label`,children:"Record Title"}),(0,ga.jsx)(XA,{name:sj,control:t,render:({field:e})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(xB,{fullWidth:!0,...e}),n.recordTitle&&(0,ga.jsx)("p",{className:"field-errors",children:n.recordTitle.message})]})})]})}const cj="measurementInfo";function Aj(e){const{control:t,formState:{errors:n}}=e.form;return(0,ga.jsxs)(Bv,{fullWidth:!0,children:[(0,ga.jsx)(Pv,{id:`${cj}-label`,children:"Are there any specific considerations regarding how this record category should be measured?"}),(0,ga.jsx)(XA,{name:cj,control:t,defaultValue:"",render:({field:e})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(Yv,{minRows:4,...e}),n.measurementInfo&&(0,ga.jsx)("p",{className:"field-errors",children:n.measurementInfo.message})]})})]})}function uj({form:e}
102){const[t,r]=(0,n.useState)([]),[o,i]=(0,n.useState)(!1),a=Mc(),s=localStorage.getItem("i18nextLng")?.trim(),l=s?s.substring(0,2):"en";(0,n.useEffect)(()=>{(async()=>{i(!0);try{const e=await Dc("recordcategory",l,"",a);e.data&&r(e.data.filter(e=>e.Description))}finally{i(!1)}})()},[]);const{control:c,watch:A,setValue:u,formState:{errors:d}}=e,p=A("recordCategory");return(0,ga.jsxs)(Bv,{fullWidth:!0,error:!!d.recordCategory,children:[(0,ga.jsx)(Pv,{children:"Record category"}),(0,ga.jsx)(XA,{name:"recordCategory",control:c,render:()=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(gB,{value:"",onChange:e=>{const t=e.target.value;p.includes(t)||u("recordCategory",[...p,t],{shouldValidate:!0})},children:o?(0,ga.jsx)(XB,{disabled:!0,children:(0,ga.jsx)(ba,{})}):t.map(e=>(0,ga.jsx)(XB,{value:e.Description,children:e.Description},e.Key))}),d.recordCategory&&(0,ga.jsx)("p",{className:"field-errors",children:d.recordCategory.message})]})})]})}const dj="measurementType";function pj(e){const[t,r]=(0,n.useState)([]),o=localStorage.getItem("i18nextLng")?.trim(),i=o?o.substring(0,2):"en",a=Mc();(0,n.useEffect)(()=>{let e=!1;return e||(async e=>{try{const t=await Dc(e,i,"",a);null!=t.data&&r(t.data)}catch(e){console.log(e)}})("measurementType"),()=>{e=!0}},[]);const{control:s,formState:{errors:l}}=e.form;return(0,ga.jsxs)(Bv,{fullWidth:!0,children:[(0,ga.jsxs)(Pv,{id:`${dj}-label`,children:["Measurement type",(0,ga.jsx)("div",{className:"text-sm",children:'(Select the unit from the drop-down list - e.g., "centimetre(s)". If the unit is not listed, please choose "total number".)'})]}),(0,ga.jsx)(XA,{name:dj,control:s,render:({field:e})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(gB,{labelId:`${dj}-label`,id:dj,...e,value:e.value??"",onChange:t=>{e.onChange(t.target.value)},children:t.map(e=>(0,ga.jsx)(XB,{value:e.Description,children:(0,ga.jsx)("span",{children:e.Description})},e.Key))}),l.measurementType&&(0,ga.jsx)("p",{className:"field-errors",children:l.measurementType.message})]})})]})}const fj="recordText";function hj(e){const{control:t,formState:{errors:n}}=e.form;return(0,ga.jsxs)(Bv,{fullWidth:!0,children:[(0,ga.jsx)(Pv,{className:"title-label",id:`${fj}-label`,children:"Record Text"}),(0,ga.jsx)(XA,{name:fj,control:t,render:({field:e})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(Yv,{id:fj,"aria-labelledby":`${fj}-label`,minRows:4,value:e.value??"",onChange:t=>e.onChange(t.target.value)}),n.recordText&&(0,ga.jsx)("p",{className:"field-errors",children:n.recordText.message})]})})]})}function mj(e){const{handleCountryChange:t,countryCode:r}=e,{countries:o,getCountryList:i}=eA(),{control:a,formState:{errors:s},setValue:l,watch:c}=e.form,{fields:A,append:u,remove:d}=Ku({control:a,name:"holders"});return(0,n.useEffect)(()=>{i()},[]),(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(Bv,{fullWidth:!0,children:(0,ga.jsx)(Pv,{id:"holders-label",children:"Record holder(s)"})}),A.map((e,t)=>(c(`holders.${t}.name`),(0,ga.jsx)(Bv,{fullWidth:!0,children:(0,ga.jsxs)("div",{className:"flex gap-4 items-center",children:[(0,ga.jsxs)("div",{children:[(0,ga.jsx)(XA,{name:`holders.${t}.name`,control:a,render:({field:e})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(xB,{style:{marginBottom:".5em"},fullWidth:!0,placeholder:"Name",id:"name",...e,onChange:n=>{e.onChange(n.target.value),l(`holders.${t}.name`,n.target.value)}}),s?.holders&&s.holders[t]?.name&&(0,ga.jsx)("p",{className:"field-errors",children:s?.holders&&s.holders[t]?.name?.message})]})}),(0,ga.jsx)(XA,{name:`holders.${t}.nationality`,control:a,render:({field:e})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsxs)(gB,{style:{marginBottom:".5em"},fullWidth:!0,labelId:"nationality-label",id:"nationality",label:"Nationality",displayEmpty:!0,...e,onChange:n=>{e.onChange(n.target.value),l(`holders.${t}.nationality`,n.target.value)},children:[(0,ga.jsx)(XB,{value:"",disabled:!0,children:"Nationality"}),o.length>0?o.map(e=>(0,ga.jsx)(XB,{value:e.Key,children:e.Description},e.Key)):(0,ga.jsx)(tC,{sx:{display:"flex",margin:"0 auto",width:"40px"},children:(0,ga.jsx)(AC,{})})]}),s?.holders&&s.holders[t]?.nationality&&(0,ga.jsx)("p",{className:"field-errors",children:s?.holders&&s.holders[t]?.nationality?.message})]})})]}),t>0&&(0,ga.jsx)(yC,{onClick:()=>((e,t)=>{d(t)})(e.id,t)}
102)]})},e.id))),(0,ga.jsx)(xa,{className:"mt-4",type:"button",small:!0,onClick:()=>{u({name:"",nationality:""})},children:"Add Additional Record Applicants"})]})}const gj="projectName";function yj(e){const{control:t,formState:{errors:r}}=e.form,{getProjectList:o,projects:i,loading:a}=function(){const e=Mc(),[t,r]=(0,n.useState)([]),[o,i]=(0,n.useState)(!1);return{getProjectList:async()=>{i(!0);try{const t=await(async e=>{try{return(await Tc.get("cognito-consultants/research-projects",{headers:e})).data}catch(e){throw new Error(`Error searching application records: ${e}`)}})(e);r(t)}catch(e){console.error("ERROR:",e)}finally{i(!1)}},projects:t,loading:o}}();return(0,n.useEffect)(()=>{o()},[]),(0,ga.jsxs)(Bv,{fullWidth:!0,children:[(0,ga.jsx)(Pv,{id:`${gj}-label`,children:"Project name or RMT update"}),a?(0,ga.jsx)("div",{className:"text-gwr-light-blue mt-2",children:(0,ga.jsx)(ba,{})}):(0,ga.jsx)(XA,{name:gj,control:t,render:({field:e})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(gB,{labelId:`${gj}-label`,id:gj,...e,onChange:t=>{e.onChange(t.target.value)},children:i.length>0&&i.map(e=>(0,ga.jsx)(XB,{value:e.ResearchProjectId,children:(0,ga.jsx)("span",{style:{color:"gray"},children:e.ResearchProjectName})},e.ResearchProjectId))}),r.projectName&&(0,ga.jsx)("p",{className:"field-errors",children:r.projectName.message})]})})]})}const wj=AB((0,ga.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"})),vj=AB((0,ga.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})),bj=AB((0,ga.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}));function xj(e){return wv("MuiCheckbox",e)}const _j=vv("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),Bj=sv(sk,{shouldForwardProp:e=>iv(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${pv(n.size)}`],"default"!==n.color&&t[`color${pv(n.color)}`]]}})(jv(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(Ev()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(Ev()).map(([t])=>({props:{color:t},style:{[`&.${_j.checked}, &.${_j.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${_j.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),Cj=(0,ga.jsx)(vj,{}),kj=(0,ga.jsx)(wj,{}),Sj=(0,ga.jsx)(bj,{}),jj=n.forwardRef(function(e,t){const r=Av({props:e,name:"MuiCheckbox"}),{checkedIcon:o=Cj,color:i="primary",icon:a=kj,indeterminate:s=!1,indeterminateIcon:l=Sj,inputProps:c,size:A="medium",disableRipple:u=!1,className:d,slots:p={},slotProps:f={},...h}=r,m=s?l:a,g=s?l:o,y={...r,disableRipple:u,color:i,indeterminate:s,size:A},w=(e=>{const{classes:t,indeterminate:n,color:r,size:o}=e,i=wh({root:["root",n&&"indeterminate",`color${pv(r)}`,`size${pv(o)}`]},xj,t);return{...t,...i}})(y),v=f.input??c,[b,x]=$b("root",{ref:t,elementType:Bj,className:yh(w.root,d),shouldForwardComponentProp:!0,externalForwardedProps:{slots:p,slotProps:f,...h},ownerState:y,additionalProps:{type:"checkbox",icon:n.cloneElement(m,{fontSize:m.props.fontSize??A}),checkedIcon:n.cloneElement(g,{fontSize:g.props.fontSize??A}),disableRipple:u,slots:p,slotProps:{input:C_("function"==typeof v?v(y):v,{"data-indeterminate":s})}}});return(0,ga.jsx)(b,{...x,classes:w})}),Ej="ifBC";function Fj(e){const{control:t,formState:{errors:n}}=e.form;return(0,ga.jsxs)(Bv,{children:[(0,ga.jsx)(Pv,{id:`${Ej}-label`,children:"Tick if B.C."}),(0,ga.jsx)(XA,{name:Ej,control:t,render:({field:e})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(jj,{...e,size:"medium"}),n.ifBC&&(0,ga.jsx)("p",{className:"field-errors",children:n.ifBC.message})]})})]})}function Nj(e){const{control:t,errors:n,name:r}=e;return(0,ga.jsx)("div",{children:(0,ga.jsx)(XA,{name:r,control:t,render:({field:{onCh
102ange:e,value:t}})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)("input",{type:"number",maxLength:4,value:t,onChange:t=>{const n=t.target.value,r=n?parseInt(n,10):"";e(r)},className:"date-boxes",placeholder:"YYYY"}),Uj(n)&&(0,ga.jsx)("p",{className:"field-errors reduce-width-error-message",children:String(n.recordDate?.year?.message)})]})})})}const Uj=e=>!!e.recordDate?.year;function Lj(e){const{control:t,errors:n,name:r}=e;return(0,ga.jsx)("div",{children:(0,ga.jsx)(XA,{name:r,control:t,render:({field:{onChange:e,value:t}})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)("input",{type:"number",min:1,max:12,value:t,onChange:t=>{const n=t.target.value,r=n?parseInt(n,10):"";e(r)},className:"date-boxes",placeholder:"MM"}),Ij(n)&&(0,ga.jsx)("p",{className:"field-errors reduce-width-error-message",children:String(n.recordDate?.month?.message)})]})})})}const Ij=e=>!(!e.recordDate||!("month"in e.recordDate));function Pj(e){const{control:t,errors:n,name:r}=e;return(0,ga.jsx)("div",{children:(0,ga.jsx)(XA,{name:r,control:t,render:({field:{onChange:e,value:t}})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)("input",{type:"number",maxLength:2,min:1,max:31,value:t,onChange:t=>{const n=t.target.value,r=n?parseInt(n,10):"";e(r)},className:"date-boxes",placeholder:"DD"}),Qj(n)&&(0,ga.jsx)("p",{className:"field-errors reduce-width-error-message",children:String(n.recordDate?.day?.message)})]})})})}const Qj=e=>!(!e.recordDate||!("day"in e.recordDate));function Tj(e){const{control:t,errors:n,name:r}=e;return(0,ga.jsx)(XA,{name:r,control:t,render:({field:e})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(xB,{fullWidth:!0,placeholder:"Enter a date",...e}),Dj(n)&&(0,ga.jsx)("p",{className:"field-errors reduce-width-error-message",children:String(n.recordDate?.text?.message)})]})})}const Dj=e=>!(!e.recordDate||!("text"in e.recordDate)),Oj=["Precise date","Month & Year","Year Only","Fill Text"],Rj="recordDate.year",Mj="recordDate.month",Hj="recordDate.type";function zj(e){const{control:t,formState:{errors:r},resetField:o}=e.form,{handleDates:i,isYearAvailable:a,isMonthAvailable:s,isDayAvailable:l,isTextOnlyFieldAvailable:c}=function(){const{setValue:e}=$u(),[t,r]=(0,n.useState)(!1),[o,i]=(0,n.useState)(!1),[a,s]=(0,n.useState)(!1),[l,c]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{e("dateTextField",void 0),e("recordDateDay",""),e("recordDateMonth",""),e("recordDateYear","")},[t,o,a,l]),{handleDates:e=>{const{value:t}=e.target;switch(t){case"Precise date":r(!0),i(!0),s(!0),c(!1);break;case"Month & Year":r(!0),i(!0),s(!1),c(!1);break;case"Year Only":r(!0),i(!1),s(!1),c(!1);break;case"Fill Text":r(!1),i(!1),s(!1),c(!0);break;default:return}},isYearAvailable:t,isMonthAvailable:o,isDayAvailable:a,isTextOnlyFieldAvailable:l}}();return(0,ga.jsxs)("div",{id:"recordDate",className:"flex flex-col gap-4 mb-6 items-start",children:[(0,ga.jsxs)(Bv,{children:[(0,ga.jsx)(Pv,{id:`${Hj}-label`,children:"Record Date"}),(0,ga.jsx)(XA,{name:Hj,control:t,render:({field:e})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(gB,{labelId:`${Hj}-label`,id:Hj,sx:{minWidth:"185px"},onChange:t=>{const n=t.target.value;e.onChange(n),i(t);const r={keepError:!1,keepDirty:!1,keepTouched:!1};o("recordDate.day",r),o("recordDate.month",r),o("recordDate.year",r),o("recordDate.text",r)},children:Oj.map((e,t)=>(0,ga.jsx)(XB,{value:e,children:(0,ga.jsx)("span",{children:e})},e+t))}),r.recordDate?.type&&(0,ga.jsx)("p",{className:"field-errors",children:"Please select one of record date types."})]})})]}),(0,ga.jsx)(Bv,{children:(0,ga.jsx)("div",{className:"flex gap-4 mt-2",children:c?(0,ga.jsx)(Tj,{control:t,errors:r,name:"recordDate.text"}):a&&s&&l?(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(Pj,{errors:r,control:t,name:"recordDate.day"}),(0,ga.jsx)(Lj,{errors:r,control:t,name:Mj}),(0,ga.jsx)(Nj,{errors:r,control:t,name:Rj})]}):a&&s&&!l?(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(Lj,{errors:r,control:t,name:Mj}),(0,ga.jsx)(Nj,{errors:r,control:t,name:Rj})]}):!a||s||l?null:(0,ga.jsx)(Nj,{errors:r,control:t,name:Rj})})})]})}var Kj=a(4353),$j=a.n(Kj);const Vj="expiryDate";function qj(e){const{control:t,formState:{errors:n}}=e.form;return(0,ga.jsxs)(Bv,{fullWidth:!0,children:[(0,ga.jsx)(Pv,{id:`${Vj}-label`,children:"Expiry Date"}),(0,ga.jsx)(XA,{name:Vj,control:t,rules:{required:!1}
102,render:({field:{onChange:e,value:t}})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)("input",{type:"date",value:t?$j()(t).format("YYYY-MM-DD"):"",onChange:t=>{const n=t.target.value;e(n?new Date(n):null)}}),(0,ga.jsx)("p",{className:"text-sm text-gray-500 mt-1",children:"(Optional)"}),n.expiryDate&&(0,ga.jsx)("p",{className:"field-errors",children:n.expiryDate.message})]})})]})}const Wj="location";function Gj(e){const{control:t,formState:{errors:r}}=e.form,{handleCountryChange:o}=e,{getCountryList:i,countries:a}=eA();return(0,n.useEffect)(()=>{i()},[]),(0,ga.jsxs)(Bv,{fullWidth:!0,children:[(0,ga.jsx)(Pv,{id:`${Wj}-label`,children:"Location (or select Not Applicable)"}),(0,ga.jsx)(XA,{name:Wj,control:t,render:({field:e})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(gB,{labelId:`${Wj}-label`,id:Wj,...e,onChange:t=>{e.onChange(t.target.value),o(t.target.value)},children:a.length>0?a.map(e=>(0,ga.jsx)(XB,{value:e.Key,children:(0,ga.jsx)("span",{children:e.Description})},e.Key)):(0,ga.jsx)(ba,{})}),r.location&&(0,ga.jsx)("p",{className:"field-errors",children:r.location.message})]})})]})}const Yj="countyState";function Xj(e){const{control:t,formState:{errors:n}}=e.form,{states:r,hasStates:o}=e;return(0,ga.jsxs)(Bv,{fullWidth:!0,children:[(0,ga.jsx)(Pv,{id:`${Yj}-label`,children:"County / State"}),(0,ga.jsx)(XA,{name:Yj,control:t,render:({field:e})=>(0,ga.jsxs)(ga.Fragment,{children:[o?(0,ga.jsx)(gB,{labelId:`${Yj}-label`,id:Yj,...e,onChange:t=>{e.onChange(t.target.value)},children:r.length>0?r.map(e=>(0,ga.jsx)(XB,{value:e.Key,children:(0,ga.jsx)("span",{children:e.Description})},e.Key)):(0,ga.jsx)(ba,{})}):(0,ga.jsx)(xB,{...e,id:"county-state",variant:"outlined",required:!1}),n.countyState&&(0,ga.jsx)("p",{className:"field-errors",children:n.countyState.message})]})})]})}const Jj="city";function Zj(e){const{control:t,formState:{errors:n}}=e.form;return(0,ga.jsxs)(Bv,{fullWidth:!0,children:[(0,ga.jsx)(Pv,{id:`${Jj}-label`,children:"City"}),(0,ga.jsx)(XA,{name:Jj,control:t,rules:{required:!1},render:({field:e})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(xB,{fullWidth:!0,...e}),(0,ga.jsx)("span",{className:"text-sm text-gray-500 mt-1",children:"(Optional)"}),n.city&&(0,ga.jsx)("p",{className:"field-errors",children:n.city.message})]})})]})}const eE="unit";function tE(e){const{control:t,formState:{errors:n}}=e.form;return(0,ga.jsxs)(Bv,{fullWidth:!0,children:[(0,ga.jsxs)(Pv,{id:`${eE}-label`,children:["Record measurement",(0,ga.jsx)("div",{className:"text-sm",children:'(This should be a number - e.g., 5 – unless the record is a notable first, in which case you should type "first")'})]}),(0,ga.jsx)(XA,{name:eE,control:t,render:({field:e})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(xB,{fullWidth:!0,...e}),n.unit&&(0,ga.jsx)("p",{className:"field-errors",children:n.unit.message})]})})]})}const nE="furtherInfo";function rE(e){const{control:t,formState:{errors:n}}=e.form;return(0,ga.jsxs)(Bv,{fullWidth:!0,children:[(0,ga.jsx)(Pv,{id:`${nE}-label`,children:"Further Information"}),(0,ga.jsx)(XA,{name:nE,control:t,render:({field:e})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(Yv,{minRows:4,...e}),n.furtherInfo&&(0,ga.jsx)("p",{className:"field-errors",children:n.furtherInfo.message})]})})]})}const oE="internalNotes";function iE(e){const{control:t,formState:{errors:n}}=e.form;return(0,ga.jsxs)(Bv,{fullWidth:!0,children:[(0,ga.jsx)(Pv,{id:`${oE}-label`,children:"Internal notes (not for display)"}),(0,ga.jsx)(XA,{name:oE,control:t,render:({field:e})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(Yv,{minRows:4,...e}),(0,ga.jsx)("span",{className:"text-sm text-gray-500",children:"(Optional)"}),n.internalNotes&&(0,ga.jsx)("p",{className:"field-errors",children:n.internalNotes.message})]})})]})}const aE="WorkAreaId";function sE(e){const{control:t,formState:{errors:r}}=e.form,{getWorkAreas:o,workAreas:i}=function(){const[e,t]=(0,n.useState)([]),[r,o]=(0,n.useState)(!1),i=Mc();return{getWorkAreas:async e=>{try{o(!0);const n=await(async(e,t)=>{try{return(await Tc.get(`cognito-consultants/workbenches?filtercode=${t}`,{headers:e})).data}catch(e){throw new Error(`Error searching application records: ${e}`)}})(i,e);return t(n),o(!0),n}catch(e){console.error("ERROR:",e)}},workAreas:e,hasWorkArea:r}}();return(0,n.useEffect)(()=>{e.projectName&&o(e.projectName)},[e.projectName]),i.length>0&&(0,ga.jsxs)(Bv,{fullWidth:!0,children:[(0,ga.jsx)(Pv,{id:`${aE}-label`,children:"Spread Name"}),(0,ga.jsx)(XA,{name:aE,control:t,render:({field:e})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(gB,{labelId:`${aE}-label`,id:aE,...e,onChange:t=>{e.onChange(t.target.value)},children:i&&i.length>0?i.map(e=>(0,ga.jsx)(XB,{value:e.TridionId?.toString?.()??e.TridionId,children:(0,ga.jsx)("span",{style:{color:"gray"},children:e.Title})},e.Id)):(0,ga.jsx)(ba,{})}),r.projectName&&(0,ga.jsx)("p",{className:"field-errors",children:r.projectName.message})]})})]})}const lE=({loading:e})=>{const t=jt().pathname.includes("/edit");return(0,ga.jsxs)("div",{className:"flex justify-between",children:[!t&&(0,ga.jsx)(xa,{to:"/consultant/search",type:"button",color:"transparent",children:"Back to search"}),(0,ga.jsx)(xa,{type:"submit",loading:e,children:t?"Save":"Save & add evidence"})]})},cE=({children:e})=>(0,ga.jsxs)("section",{children:[(0,ga.jsx)("p",{className:"text-gray-500",children:"Record title"}),(0,ga.jsx)("p",{className:"text-lg md:text-2xl font-light",children:e})]}),AE=({children:e})=>(0,ga.jsx)("h1",{className:"text-center text-xl md:text-2xl font-rubik-medium border-b border-gwr-gray pb-4 mb-6",children:e});function uE(){const e=$u({resolver:hh(aj),defaultValues:{RecordTitle:"",recordTitleId:"",recordText:"",measurementInfo:"",recordCategory:[],holders:[{name:"",nationality:""}],projectName:"",WorkAreaId:"",ifBC:!1,recordDate:{day:1,month:1,year:2026,text:""},expiryDate:void 0,location:"",countyState:"",city:"",unit:"",furtherInfo:"",internalNotes:""}}
102),{handleSubmit:t,watch:r}=e,{handleSubmitRecordUpdateConsultant:o,loading:i}=iA(),{handlePostAppDetailsForm:a,submitting:s}=ZS(),{applicationId:l}=Lt(),c=jt(),A=c.state,{recordId:u}=Lt(),{handleCountryChange:d,states:p,hasStates:f}=rA(),h=r("projectName"),m=(r("recordCategory"),c.pathname.includes("/edit")),{fetchApplicationDetail:g,isLoading:y,application:w}=Zc();return console.log(l),m&&((0,n.useEffect)(()=>{l&&g(l)},[l]),(0,n.useEffect)(()=>{w&&e.reset({AppId:w.Id,recordTitle:w.Title,recordTitleId:w.RecordTitleId,recordText:w.RecordText??"",measurementInfo:w.Attempt??"",recordCategory:w.ApplicationType??[],holders:w.Participants?.map(e=>({name:e.name??"",nationality:e.location??""}))??[{name:"",nationality:""}],WorkAreaId:w.WorkBenchItemID??"",ifBC:w.IsAttemptDateBC??!1,AttemptDateAccuracy:w.AttemptDateAccuracy??"",recordDate:w.DateAttempted?{day:new Date(w.DateAttempted).getDate(),month:new Date(w.DateAttempted).getMonth()+1,year:new Date(w.DateAttempted).getFullYear(),text:w.DateAttempted,type:w.AttemptDateAccuracy??0}:{day:1,month:1,year:2026,text:"",type:0},location:w.AttemptCountryText??"",countyState:w.AttemptState??"",city:w.AttemptCity??"",unit:w.Attempt??"",furtherInfo:w.FurtherInfo??"",internalNotes:w.internalNotes??w.ApproverNotes??""})},[w,e])),y?(0,ga.jsx)("div",{className:"max-w-200 flex justify-center text-gwr-light-blue",children:(0,ga.jsx)(ba,{size:"size-11"})}):(0,ga.jsxs)("section",{children:[!m&&(0,ga.jsx)(AE,{children:"Update a record"}),(0,ga.jsxs)("form",{noValidate:!0,autoComplete:"off",onSubmit:t(e=>{console.log("onSubmitHandler ... Before IF"),o(e,m?A:l)}),className:"space-y-8",children:[(0,ga.jsx)(cE,{children:A||w?.Title}),(0,ga.jsx)("input",{type:"hidden",...e.register("RecordTitleId"),value:u||w?.RecordTitleId}),m&&(0,ga.jsx)("input",{type:"hidden",...e.register("recordTitle"),value:A||w?.Title}),m&&(0,ga.jsx)("input",{type:"hidden",...e.register("AppId"),value:w?.Id}),(0,ga.jsx)("section",{className:"custom-input-field",children:(0,ga.jsx)(hj,{form:e})}),(0,ga.jsx)("section",{className:"custom-input-field",children:(0,ga.jsx)(mj,{form:e,handleCountryChange:()=>{},countryCode:""})}),!m&&(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)("section",{className:"custom-input-field",children:(0,ga.jsx)(yj,{form:e})}),(0,ga.jsx)("section",{className:"custom-input-field",children:(0,ga.jsx)(sE,{form:e,projectName:h})})]}),(0,ga.jsx)("section",{className:"custom-input-field",children:(0,ga.jsx)(Fj,{form:e})}),(0,ga.jsx)("section",{className:"custom-input-field",children:(0,ga.jsx)(zj,{form:e})}),!m&&(0,ga.jsx)("section",{className:"custom-input-field",children:(0,ga.jsx)(qj,{form:e})}),(0,ga.jsx)("section",{className:"custom-input-field",children:(0,ga.jsx)(Gj,{form:e,handleCountryChange:d})}),(0,ga.jsx)("section",{className:"custom-input-field",children:(0,ga.jsx)(Xj,{form:e,states:p,hasStates:f})}),(0,ga.jsx)("section",{className:"custom-input-field",children:(0,ga.jsx)(Zj,{form:e})}),(0,ga.jsx)("section",{className:"custom-input-field",children:(0,ga.jsx)(tE,{form:e})}),(0,ga.jsx)("section",{className:"custom-input-field",children:(0,ga.jsx)(rE,{form:e})}),(0,ga.jsx)("section",{className:"custom-input-field",children:(0,ga.jsx)(iE,{form:e})}),m&&(0,ga.jsx)("section",{className:"custom-input-field",children:(0,ga.jsxs)("p",{children:["Purpose of the record: ",w?.ConsultantPurpose]})}),(0,ga.jsx)(lE,{loading:i})]})]})}const dE=()=>{const{applicationId:e}
102=Lt(),{fetchApplicationDetail:t,application:r}=Zc();return(0,n.useEffect)(()=>{e&&t(e)},[e]),(0,ga.jsxs)("div",{className:"max-w-200 bg-white",children:[(0,ga.jsx)(Wc,{title:"Edit Application"}),(0,ga.jsx)("section",{className:"p-8",children:(0,ga.jsx)(uE,{})})]})},pE=()=>{const{t:e}=Fo(),t=Va();return(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(jc,{title:e("editApplication")}),t?(0,ga.jsx)(dE,{}):(0,ga.jsx)(tj,{})]})};var fE=a(3833),hE=a.n(fE);const mE=()=>{const{t:e}=Fo(),{applicationId:t}=Lt(),[r,o]=(0,n.useState)(!1),i=Va(),a=()=>{const e=document.getElementsByClassName("title-style-d");return`${e[0]?.textContent?.trim().replaceAll(" ","_")||"Guidelines"}_${(new Date).toISOString().split("T")[0]}.pdf`};return(0,ga.jsxs)("div",{className:"flex justify-between items-end mb-6 anchor-link",children:[(0,ga.jsx)(Qn,{to:`${i?"/consultant":""}/applications/${t}`,className:"text-gwr-light-blue hover:text-blue-700 underline",children:"View application"}),(0,ga.jsx)(xa,{loading:r,onClick:async()=>{try{o(!0),await async function(e,t={}){const{headerSrc:n,footerCb:r,filename:o="document.pdf"}=t,i=document.getElementById(e);if(!i)throw new Error(`Element #${e} not found`);const a={margin:[60,10,40,10],filename:o,image:{type:"jpeg",quality:.98},autoPaging:"text",html2canvas:{scale:1,useCORS:!0},jsPDF:{unit:"mm",format:"a4",orientation:"portrait"}};let s=null;var l;return n&&(s=await(l=n,new Promise((e,t)=>{const n=new Image;n.onload=()=>e(n),n.onerror=t,n.src=l}))),hE()().set(a).from(i).toPdf().get("pdf").then(e=>{const t=e.internal.getNumberOfPages(),n=e.internal.pageSize.width;for(let o=1;o<=t;o++){if(e.setPage(o),s){const t=s.height/s.width*n;e.addImage(s,"JPEG",0,60-t,n,t)}r&&r(e,o)}e.save(o)})}("content",{headerSrc:"/images/pdf_header.jpg",filename:a(),footerCb:(e,t)=>((e,t)=>{const n=e.internal.pageSize.width;e.setFontSize(10),e.text(`Page ${t}`,n/2,e.internal.pageSize.height-10,{align:"center"})})(e,t)})}catch(e){console.error(e)}finally{o(!1)}},className:"px-4 py-2",children:e("savePdf")})]})},gE=({title:e,html:t})=>(0,ga.jsxs)("div",{className:"space-y-4",children:[e&&""!==e.trim()&&(0,ga.jsx)("h3",{className:"text-2xl font-rubik-medium",children:e}),(0,ga.jsx)("div",{className:"anchor-link html-content space-y-4",dangerouslySetInnerHTML:{__html:t?.replace("[SPECIFIC_GUIDELINES_FOR]","").replace("[GENERAL_GUIDELINES_FOR]","")||""}})]}),yE=()=>{const[e,t]=(0,n.useState)(null);return(0,n.useEffect)(()=>{(async()=>{try{const e=await uc(hc);t(e)}catch(e){console.log("ERROR",e)}})()},[]),(0,ga.jsx)(gE,{title:e?.title,html:e?.content})},wE=()=>{const[e,t]=(0,n.useState)(!1),[r,o]=(0,n.useState)(null);return(0,n.useEffect)(()=>{(async()=>{try{t(!0);const e=await uc(fc);o(e)}catch(e){console.log("ERROR",e)}finally{t(!1)}})()},[]),e?(0,ga.jsx)("div",{className:"flex justify-center text-gwr-light-blue",children:(0,ga.jsx)(ba,{size:"size-10"})}):(0,ga.jsx)(gE,{title:r?.title,html:r?.content})},vE=({items:e})=>(0,ga.jsxs)("div",{className:"html-content",children:[(0,ga.jsx)("h3",{children:"Evidence Checklist"}),(0,ga.jsx)("ul",{className:"ml-4 space-y-4 my-4",children:e?.map((e,t)=>(0,ga.jsx)("li",{children:e},t))})]}),bE=()=>{const{guidelines:e,loading:t,getGuidelines:r}=function(){const[e,t]=(0,n.useState)(null),[r,o]=(0,n.useState)(!1),i=Mc(),a=Va();return{guidelines:e,loading:r,getGuidelines:async e=>{o(!0);try{const n=await(async(e,t,n)=>Tc.get(`${Oc(n)}/applications/${t}/guidelines`,{headers:e}))(i,e,a);t(n.data)}catch(e){console.error("Error fetching guidelines:",e),t(null)}finally{o(!1)}}}}(),{applicationId:o}=Lt();return(0,n.useEffect)(()=>{o&&r(o)},[]),(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(Wc,{title:"Guidelines"}),(0,ga.jsx)("div",{className:"bg-white p-6",children:t?(0,ga.jsx)("div",{className:"text-gwr-light-blue flex justify-center",children:(0,ga.jsx)(ba,{size:"size-10"})}):(0,ga.jsxs)("div",{id:"content",children:[(0,ga.jsx)(yE,{}),(0,ga.jsx)(gE,{html:e?.RecordDefinition}),(0,ga.jsx)(gE,{html:e?.Guidelines}),(0,ga.jsx)(vE,{items:e?.ChecklistItems})]})}),(0,ga.jsx)("aside",{className:"bg-white p-6 mt-6",children:(0,ga.jsx)(wE,{})})]})},xE=()=>{const{t:e}=Fo();return(0,ga.jsxs)("div",{className:"max-w-200",children:[(0,ga.jsx)(jc,{title:e("btnViewGuidelines")}),(0,ga.jsx)(mE,{}),(0,ga.jsx)(bE,{})]})},_E=()=>{const{fetchApplicationDetail:e,isLoading:t,application:r}=Zc(),{t:o}=Fo(),i=Va(),[a]=function(e){u("undefined"!=typeof URLSearchParams,"You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=n.useRef(dn(e)),r=n.useRef(!1),o=jt(),i=n.useMemo(()=>function(e,t){let n=dn(e);return t&&t.forEach((e,r)=>
102{n.has(r)||t.getAll(r).forEach(e=>{n.append(r,e)})}),n}(o.search,r.current?null:t.current),[o.search]),a=Nt(),s=n.useCallback((e,t)=>{const n=dn("function"==typeof e?e(new URLSearchParams(i)):e);r.current=!0,a("?"+n,t)},[a,i]);return[i,s]}(),s=a.get("Id")||"",{user:l}=fo(),c=l?.profile["custom:sfid"];return(0,n.useEffect)(()=>{s&&e(s)},[s]),(0,n.useEffect)(()=>{r?.ARRAText?.includes("ARRA Signed via Salesforce")&&window.open(`https://cloud.communications.guinnessworldrecords.com/bcbmzpj3odg?_subscriberKey=${c}`,"_blank","noopener,noreferrer")},[r,c]),(0,ga.jsxs)("div",{className:"max-w-200 anchor-link",children:[(0,ga.jsx)(Qn,{to:`${i?"/consultant":""}/applications/${s}`,className:"underline block mb-4",children:o("btnBackToApplication")}),t?(0,ga.jsx)("div",{className:"max-w-200 text-gwr-light-blue flex justify-center items-center h-32",children:(0,ga.jsx)(ba,{size:"size-10"})}):(0,ga.jsx)("div",{className:"bg-white text-lg px-6 py-4 md:p-12 anchor-link",children:r?r.ARRAText?.includes("ARRA Signed via Salesforce")?(0,ga.jsx)("div",{className:"space-y-4",children:(0,ga.jsx)("p",{children:(0,ga.jsx)("a",{href:`https://cloud.communications.guinnessworldrecords.com/bcbmzpj3odg?_subscriberKey=${c}`,target:"_blank",rel:"noopener noreferrer",className:"relative rounded inline-flex items-center px-3 sm:px-5 py-2 sm:py-3 font-rubik-medium px-4 py-2 cursor-pointer",children:o("view")})})}):(0,ga.jsx)("div",{className:"space-y-4",dangerouslySetInnerHTML:{__html:r.ARRAText||"No terms available."}}):(0,ga.jsx)("p",{children:"No application data found."})})]})};function BE(e){const{t}=Fo(),{formState:{errors:n},control:r}=e.form;return(0,ga.jsx)(Bv,{fullWidth:!0,children:(0,ga.jsx)(XA,{name:"name",control:r,render:({field:e})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(xB,{fullWidth:!0,...e,error:!!n.name,className:"mb-4"}),n.name&&(0,ga.jsx)("p",{className:"mt-1 text-sm text-red-600",id:"name-error",children:"fieldRequired"===n.name.message?t("fieldRequired").replace("[0]",t("fieldNameFirst")):t("min3")})]})})})}function CE(e){const{t}=Fo(),{formState:{errors:n},control:r}=e.form;return(0,ga.jsx)(Bv,{fullWidth:!0,children:(0,ga.jsx)(XA,{name:"surname",control:r,render:({field:e})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(xB,{fullWidth:!0,...e,error:!!n.surname}),n.surname&&(0,ga.jsx)("p",{className:"field-errors",children:"fieldRequired"===n.surname.message?t("fieldRequired").replace("[0]",t("fieldNameLast")):t("min3")})]})})})}Math.pow(10,8);const kE=6048e5,SE=6e4,jE=36e5,EE=Symbol.for("constructDateFrom");function FE(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&EE in e?e[EE](t):e instanceof Date?new e.constructor(t):new Date(t)}function NE(e,t){return FE(t||e,e)}const UE={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},LE=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,IE=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,PE=/^([+-])(\d{2})(?::?(\d{2}))?$/;function QE(e){return e?parseInt(e):1}function TE(e){return e&&parseFloat(e.replace(",","."))||0}const DE=[31,null,31,30,31,30,31,31,30,31,30,31];function OE(e){return e%400==0||e%4==0&&e%100!=0}const RE={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},ME=(e,t,n)=>{let r;const o=RE[e];return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function HE(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const zE={date:HE({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:HE({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:HE({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},KE={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},$E=(e,t,n,r)=>KE[e];function VE(e){return(t,n)=>{let r;if("formatting"===(n?.context?String(n.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,o=n?.width?String(n.width):t;r=e.formattingValues[o]||e.formattingValues[t]}else{const t=e.defaultWidth,o=n?.width?String(n.width):e.defaultWidth;r=e.values[o]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}const qE={ordinalNumber:(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:VE({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:VE({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:VE({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:VE({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
102ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:VE({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function WE(e){return(t,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;const a=i[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}(s,e=>e.test(a)):function(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(s,e=>e.test(a));let c;return c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c,{value:c,rest:t.slice(a.length)}}}function GE(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const o=r[0],i=t.match(e.parsePattern);if(!i)return null;let a=e.valueCallback?e.valueCallback(i[0]):i[0];return a=n.valueCallback?n.valueCallback(a):a,{value:a,rest:t.slice(o.length)}}}const YE={ordinalNumber:GE({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:WE({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:WE({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:WE({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:WE({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:WE({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},XE={code:"en-US",formatDistance:ME,formatLong:zE,formatRelative:$E,localize:qE,match:YE,options:{weekStartsOn:0,firstWeekContainsDate:1}},JE=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},ZE=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},eF={p:ZE,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return JE(e,t);let i;switch(r){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;default:i=t.dateTime({width:"full"})}return i.replace("{{date}}",JE(r,t)).replace("{{time}}",ZE(o,t))}},tF=/^D+$/,nF=/^Y+$/,rF=["D","DD","YY","YYYY"];function oF(e){return tF.test(e)}function iF(e){return nF.test(e)}function aF(e,t,n){const r=function(e,t,n){const r="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(console.warn(r),rF.includes(e))throw new RangeError(r)}let sF={};function lF(){return sF}class cF{subPriority=0;validate(e,t){return!0}}class AF extends cF{constructor(e,t,n,r,o){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=r,o&&(this.subPriority=o)}validate(e,t){return this.validateValue(e,this.value,t)}
vendor: 19,693 bytes, line 102
102set(e,t,n){return this.setValue(e,t,this.value,n)}}class uF extends cF{priority=10;subPriority=-1;constructor(e,t){super(),this.context=e||(e=>FE(t,e))}set(e,t){return t.timestampIsSet?e:FE(e,function(e,t){const n=function(e){return"function"==typeof e&&e.prototype?.constructor===e}(t)?new t(0):FE(t,0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}(e,this.context))}}class dF{run(e,t,n,r){const o=this.parse(e,t,n,r);return o?{setter:new AF(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(e,t,n){return!0}}const pF=/^(1[0-2]|0?\d)/,fF=/^(3[0-1]|[0-2]?\d)/,hF=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,mF=/^(5[0-3]|[0-4]?\d)/,gF=/^(2[0-3]|[0-1]?\d)/,yF=/^(2[0-4]|[0-1]?\d)/,wF=/^(1[0-1]|0?\d)/,vF=/^(1[0-2]|0?\d)/,bF=/^[0-5]?\d/,xF=/^[0-5]?\d/,_F=/^\d/,BF=/^\d{1,2}/,CF=/^\d{1,3}/,kF=/^\d{1,4}/,SF=/^-?\d+/,jF=/^-?\d/,EF=/^-?\d{1,2}/,FF=/^-?\d{1,3}/,NF=/^-?\d{1,4}/,UF=/^([+-])(\d{2})(\d{2})?|Z/,LF=/^([+-])(\d{2})(\d{2})|Z/,IF=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,PF=/^([+-])(\d{2}):(\d{2})|Z/,QF=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function TF(e,t){return e?{value:t(e.value),rest:e.rest}:e}function DF(e,t){const n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function OF(e,t){const n=t.match(e);if(!n)return null;if("Z"===n[0])return{value:0,rest:t.slice(1)};const r="+"===n[1]?1:-1,o=n[2]?parseInt(n[2],10):0,i=n[3]?parseInt(n[3],10):0,a=n[5]?parseInt(n[5],10):0;return{value:r*(o*jE+i*SE+1e3*a),rest:t.slice(n[0].length)}}function RF(e){return DF(SF,e)}function MF(e,t){switch(e){case 1:return DF(_F,t);case 2:return DF(BF,t);case 3:return DF(CF,t);case 4:return DF(kF,t);default:return DF(new RegExp("^\\d{1,"+e+"}"),t)}}function HF(e,t){switch(e){case 1:return DF(jF,t);case 2:return DF(EF,t);case 3:return DF(FF,t);case 4:return DF(NF,t);default:return DF(new RegExp("^-?\\d{1,"+e+"}"),t)}}function zF(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function KF(e,t){const n=t>0,r=n?t:1-t;let o;if(r<=50)o=e||100;else{const t=r+50;o=e+100*Math.trunc(t/100)-(e>=t%100?100:0)}return n?o:1-o}function $F(e){return e%400==0||e%4==0&&e%100!=0}function VF(e,t){const n=lF(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=NE(e,t?.in),i=o.getDay(),a=(i<r?7:0)+i-r;return o.setDate(o.getDate()-a),o.setHours(0,0,0,0),o}function qF(e,t){const n=NE(e,t?.in),r=n.getFullYear(),o=lF(),i=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,a=FE(t?.in||e,0);a.setFullYear(r+1,0,i),a.setHours(0,0,0,0);const s=VF(a,t),l=FE(t?.in||e,0);l.setFullYear(r,0,i),l.setHours(0,0,0,0);const c=VF(l,t);return+n>=+s?r+1:+n>=+c?r:r-1}function WF(e,t){return VF(e,{...t,weekStartsOn:1})}function GF(e,t){const n=NE(e,t?.in),r=+VF(n,t)-+function(e,t){const n=lF(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,o=qF(e,t),i=FE(t?.in||e,0);return i.setFullYear(o,0,r),i.setHours(0,0,0,0),VF(i,t)}(n,t);return Math.round(r/kE)+1}function YF(e,t){const n=NE(e,t?.in),r=n.getFullYear(),o=FE(n,0);o.setFullYear(r+1,0,4),o.setHours(0,0,0,0);const i=WF(o),a=FE(n,0);a.setFullYear(r,0,4),a.setHours(0,0,0,0);const s=WF(a);return n.getTime()>=i.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function XF(e,t){const n=NE(e,t?.in),r=+WF(n)-+function(e,t){const n=YF(e,t),r=FE(t?.in||e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),WF(r)}(n);return Math.round(r/kE)+1}const JF=[31,28,31,30,31,30,31,31,30,31,30,31],ZF=[31,29,31,30,31,30,31,31,30,31,30,31];function eN(e,t,n){const r=NE(e,n?.in);return isNaN(t)?FE(n?.in||e,NaN):t?(r.setDate(r.getDate()+t),r):r}function tN(e,t,n){const r=lF(),o=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,i=NE(e,n?.in),a=i.getDay(),s=7-o;return eN(i,t<0||t>6?t-(a+s)%7:((t%7+7)%7+s)%7-(a+s)%7,n)}function nN(e,t,n){const r=NE(e,n?.in);return eN(r,t-function(e,t){const n=NE(e,t?.in).getDay();return 0===n?7:n}(r,n),n)}function rN(e){const t=NE(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}const oN={G:new class extends dF{priority=140;parse(e,t,n){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}set(e,t,n){return t.era=n,e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["R","u","t","T"]},y:new class extends dF{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(e,t,n){const r=e=>({year:e,isTwoDigitYear:"yy"===t});switch(t){case"y":return TF(MF(4,e),r);case"yo":return TF(n.ordinalNumber(e,{unit:"year"}),r);default:return TF(MF(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n){const r=e.getFullYear();if(n.isTwoDigitYear){const t=KF(n.year,r);return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}const o="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(o,0,1),e.setHours(0,0,0,0),e}},Y:new class extends dF{priority=130;parse(e,t,n){const r=e=>({year:e,isTwoDigitYear:"YY"===t});switch(t){case"Y":return TF(MF(4,e),r);case"Yo":return TF(n.ordinalNumber(e,{unit:"year"}),r);default:return TF(MF(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n,r){const o=qF(e,r);if(n.isTwoDigitYear){const t=KF(n.year,o);return e.setFullYear(t,0,r.firstWeekContainsDate),e.setHours(0,0,0,0),VF(e,r)}const i="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(i,0,r.firstWeekContainsDate),e.setHours(0,0,0,0),VF(e,r)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:new class extends dF{priority=130;parse(e,t){return HF("R"===t?4:t.length,e)}set(e,t,n){const r=FE(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),WF(r)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:new class extends dF{priority=130;parse(e,t){return HF("u"===t?4:t.length,e)}set(e,t,n){return e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]},Q:new class extends dF{priority=120;parse(e,t,n){switch(t){case"Q":case"QQ":return MF(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth(3*(n-1),1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:new class extends dF{priority=120;parse(e,t,n){switch(t){case"q":case"qq":return MF(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth(3*(n-1),1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:new class extends dF{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(e,t,n){const r=e=>e-1;switch(t){case"M":return TF(DF(pF,e),r);case"MM":return TF(MF(2,e),r);case"Mo":return TF(n.ordinalNumber(e,{unit:"month"}),r);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}},L:new class extends dF{priority=110;parse(e,t,n){const r=e=>e-1;switch(t){case"L":return TF(DF(pF,e),r);case"LL":return TF(MF(2,e),r);case"Lo":return TF(n.ordinalNumber(e,{unit:"month"}),r);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:new class extends dF{priority=100;parse(e,t,n){switch(t){case"w":return DF(mF,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return MF(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n,r){return VF(function(e,t,n){const r=NE(e,n?.in),o=GF(r,n)-t;return r.setDate(r.getDate()-7*o),NE(r,n?.in)}(e,n,r),r)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:new class extends dF{priority=100;parse(e,t,n){switch(t){case"I":return DF(mF,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return MF(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n){return WF(function(e,t,n){const r=NE(e,n?.in),o=XF(r,n)-t;return r.setDate(r.getDate()-7*o),r}(e,n))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:new class extends dF{priority=90;subPriority=1;parse(e,t,n){switch(t){case"d":return DF(fF,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return MF(t.length,e)}}validate(e,t){const n=$F(e.getFullYear()),r=e.getMonth();return n?t>=1&&t<=ZF[r]:t>=1&&t<=JF[r]}set(e,t,n){return e.setDate(n),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:new class extends dF{priority=90;subpriority=1;parse(e,t,n){switch(t){case"D":case"DD":return DF(hF,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return MF(t.length,e)}}validate(e,t){return $F(e.getFullYear())?t>=1&&t<=366:t>=1&&t<=365}set(e,t,n){return e.setMonth(0,n),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:new class extends dF{priority=90;parse(e,t,n){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return(e=tN(e,n,r)).setHours(0,0,0,0),e}incompatibleTokens=["D","i","e","c","t","T"]},e:new class extends dF{priority=90;parse(e,t,n,r){const o=e=>{const t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return TF(MF(t.length,e),o);case"eo":return TF(n.ordinalNumber(e,{unit:"day"}),o);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return(e=tN(e,n,r)).setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:new class extends dF{priority=90;parse(e,t,n,r){const o=e=>{const t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return TF(MF(t.length,e),o);case"co":return TF(n.ordinalNumber(e,{unit:"day"}),o);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return(e=tN(e,n,r)).setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:new class extends dF{priority=90;parse(e,t,n){const r=e=>0===e?7:e;switch(t){case"i":case"ii":return MF(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return TF(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiii":return TF(n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiiii":return TF(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);default:return TF(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r)}}validate(e,t){return t>=1&&t<=7}set(e,t,n){return(e=nN(e,n)).setHours(0,0,0,0),e}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:new class extends dF{priority=80;parse(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(zF(n),0,0,0),e}incompatibleTokens=["b","B","H","k","t","T"]},b:new class extends dF{priority=80;parse(e,t,n){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(zF(n),0,0,0),e}incompatibleTokens=["a","B","H","k","t","T"]},B:new class extends dF{priority=80;parse(e,t,n){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(zF(n),0,0,0),e}incompatibleTokens=["a","b","t","T"]},h:new class extends dF{priority=70;parse(e,t,n){switch(t){case"h":return DF(vF,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return MF(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,n){const r=e.getHours()>=12;return r&&n<12?e.setHours(n+12,0,0,0):r||12!==n?e.setHours(n,0,0,0):e.setHours(0,0,0,0),e}incompatibleTokens=["H","K","k","t","T"]},H:new class extends dF{priority=70;parse(e,t,n){switch(t){case"H":return DF(gF,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return MF(t.length,e)}}validate(e,t){return t>=0&&t<=23}set(e,t,n){return e.setHours(n,0,0,0),e}incompatibleTokens=["a","b","h","K","k","t","T"]},K:new class extends dF{priority=70;parse(e,t,n){switch(t){case"K":return DF(wF,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return MF(t.length,e)}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.getHours()>=12&&n<12?e.setHours(n+12,0,0,0):e.setHours(n,0,0,0),e}incompatibleTokens=["h","H","k","t","T"]},k:new class extends dF{priority=70;parse(e,t,n){switch(t){case"k":return DF(yF,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return MF(t.length,e)}}validate(e,t){return t>=1&&t<=24}set(e,t,n){const r=n<=24?n%24:n;return e.setHours(r,0,0,0),e}incompatibleTokens=["a","b","h","H","K","t","T"]},m:new class extends dF{priority=60;parse(e,t,n){switch(t){case"m":return DF(bF,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return MF(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setMinutes(n,0,0),e}incompatibleTokens=["t","T"]},s:new class extends dF{priority=50;parse(e,t,n){switch(t){case"s":return DF(xF,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return MF(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setSeconds(n,0),e}incompatibleTokens=["t","T"]},S:new class extends dF{priority=30;parse(e,t){return TF(MF(t.length,e),e=>Math.trunc(e*Math.pow(10,3-t.length)))}set(e,t,n){return e.setMilliseconds(n),e}incompatibleTokens=["t","T"]},X:new class extends dF{priority=10;parse(e,t){switch(t){case"X":return OF(UF,e);case"XX":return OF(LF,e);case"XXXX":return OF(IF,e);case"XXXXX":return OF(QF,e);default:return OF(PF,e)}}set(e,t,n){return t.timestampIsSet?e:FE(e,e.getTime()-rN(e)-n)}incompatibleTokens=["t","T","x"]},x:new class extends dF{priority=10;parse(e,t){switch(t){case"x":return OF(UF,e);case"xx":return OF(LF,e);case"xxxx":return OF(IF,e);case"xxxxx":return OF(QF,e);default:return OF(PF,e)}}set(e,t,n){return t.timestampIsSet?e:FE(e,e.getTime()-rN(e)-n)}incompatibleTokens=["t","T","X"]},t:new class extends dF{priority=40;parse(e){return RF(e)}set(e,t,n){return[FE(e,1e3*n),{timestampIsSet:!0}]}incompatibleTokens="*"},T:new class extends dF{priority=20;parse(e){return RF(e)}set(e,t,n){return[FE(e,n),{timestampIsSet:!0}]}incompatibleTokens="*"}},iN=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,aN=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,sN=/^'([^]*?)'?$/,lN=/''/g,cN=/\S/,AN=/[a-zA-Z]/;function uN(e,t,n,r){const o=()=>FE(r?.in||n,NaN),i=Object.assign({},lF()),a=r?.locale??i.locale??XE,s=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,l=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0;if(!t)return e?o():NE(n,r?.in);const c={firstWeekContainsDate:s,weekStartsOn:l,locale:a},A=[new uF(r?.in,n)],u=t.match(aN).map(e=>{const t=e[0];return t in eF?(0,eF[t])(e,a.formatLong):e}).join("").match(iN),d=[];for(let n of u){!r?.useAdditionalWeekYearTokens&&iF(n)&&aF(n,t,e),!r?.useAdditionalDayOfYearTokens&&o
vendor: 6,983 bytes, line 102
102F(n)&&aF(n,t,e);const i=n[0],s=oN[i];if(s){const{incompatibleTokens:t}=s;if(Array.isArray(t)){const e=d.find(e=>t.includes(e.token)||e.token===i);if(e)throw new RangeError(`The format string mustn't contain \`${e.fullToken}\` and \`${n}\` at the same time`)}else if("*"===s.incompatibleTokens&&d.length>0)throw new RangeError(`The format string mustn't contain \`${n}\` and any other token at the same time`);d.push({token:i,fullToken:n});const r=s.run(e,n,a.match,c);if(!r)return o();A.push(r.setter),e=r.rest}else{if(i.match(AN))throw new RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");if("''"===n?n="'":"'"===i&&(n=dN(n)),0!==e.indexOf(n))return o();e=e.slice(n.length)}}if(e.length>0&&cN.test(e))return o();const p=A.map(e=>e.priority).sort((e,t)=>t-e).filter((e,t,n)=>n.indexOf(e)===t).map(e=>A.filter(t=>t.priority===e).sort((e,t)=>t.subPriority-e.subPriority)).map(e=>e[0]);let f=NE(n,r?.in);if(isNaN(+f))return o();const h={};for(const e of p){if(!e.validate(f,c))return o();const t=e.set(f,h,c);Array.isArray(t)?(f=t[0],Object.assign(h,t[1])):f=t}return f}function dN(e){return e.match(sN)[1].replace(lN,"'")}function pN(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}function fN(e){return!(!pN(e)&&"number"!=typeof e||isNaN(+NE(e)))}function hN(e,t){return+NE(e)<+NE(t)}function mN(e,...t){const n=FE.bind(null,e||t.find(e=>"object"==typeof e));return t.map(n)}function gN(e,t){const n=NE(e,t?.in);return n.setHours(0,0,0,0),n}function yN(e,t,n){const[r,o]=mN(n?.in,e,t),i=gN(r),a=gN(o),s=+i-rN(i),l=+a-rN(a);return Math.round((s-l)/864e5)}function wN(e,t){const n=NE(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function vN(e,t){return(e<0?"-":"")+Math.abs(e).toString().padStart(t,"0")}const bN={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return vN("yy"===t?r%100:r,t.length)},M(e,t){const n=e.getMonth();return"M"===t?String(n+1):vN(n+1,2)},d:(e,t)=>vN(e.getDate(),t.length),a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>vN(e.getHours()%12||12,t.length),H:(e,t)=>vN(e.getHours(),t.length),m:(e,t)=>vN(e.getMinutes(),t.length),s:(e,t)=>vN(e.getSeconds(),t.length),S(e,t){const n=t.length,r=e.getMilliseconds();return vN(Math.trunc(r*Math.pow(10,n-3)),t.length)}},xN={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){const t=e.getFullYear(),r=t>0?t:1-t;return n.ordinalNumber(r,{unit:"year"})}return bN.y(e,t)},Y:function(e,t,n,r){const o=qF(e,r),i=o>0?o:1-o;return"YY"===t?vN(i%100,2):"Yo"===t?n.ordinalNumber(i,{unit:"year"}):vN(i,t.length)},R:function(e,t){return vN(YF(e),t.length)},u:function(e,t){return vN(e.getFullYear(),t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return vN(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return vN(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return bN.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return vN(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const o=GF(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):vN(o,t.length)},I:function(e,t,n){const r=XF(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):vN(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):bN.d(e,t)},D:function(e,t,n){const r=function(e,t){const n=NE(e,t?.in);return yN(n,wN(n))+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):vN(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return vN(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return vN(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return vN(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let o;switch(o=12===r?"noon":0===r?"midnight":r/12>
102=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let o;switch(o=r>=17?"evening":r>=12?"afternoon":r>=4?"morning":"night",t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return bN.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):bN.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):vN(r,t.length)},k:function(e,t,n){let r=e.getHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):vN(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):bN.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):bN.s(e,t)},S:function(e,t){return bN.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return BN(r);case"XXXX":case"XX":return CN(r);default:return CN(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return BN(r);case"xxxx":case"xx":return CN(r);default:return CN(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+_N(r,":");default:return"GMT"+CN(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+_N(r,":");default:return"GMT"+CN(r,":")}},t:function(e,t,n){return vN(Math.trunc(+e/1e3),t.length)},T:function(e,t,n){return vN(+e,t.length)}};function _N(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),i=r%60;return 0===i?n+String(o):n+String(o)+t+vN(i,2)}function BN(e,t){return e%60==0?(e>0?"-":"+")+vN(Math.abs(e)/60,2):CN(e,t)}function CN(e,t=""){const n=e>0?"-":"+",r=Math.abs(e);return n+vN(Math.trunc(r/60),2)+t+vN(r%60,2)}const kN=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,SN=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,jN=/^'([^]*?)'?$/,EN=/''/g,FN=/[a-zA-Z]/;function NN(e,t,n){const r=lF(),o=n?.locale??r.locale??XE,i=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,a=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,s=NE(e,n?.in);if(!fN(s))throw new RangeError("Invalid time value");let l=t.match(SN).map(e=>{const t=e[0];return"p"===t||"P"===t?(0,eF[t])(e,o.formatLong):e}).join("").match(kN).map(e=>{if("''"===e)return{isToken:!1,value:"'"};const t=e[0];if("'"===t)return{isToken:!1,value:UN(e)};if(xN[t])return{isToken:!0,value:e};if(t.match(FN))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});o.localize.preprocessor&&(l=o.localize.preprocessor(s,l));const c={firstWeekContainsDate:i,weekStartsOn:a,locale:o};return l.map(r=>{if(!r.isToken)return r.value;const i=r.value;return(!n?.useAdditionalWeekYearTokens&&iF(i)||!n?.useAdditionalDayOfYearTokens&&oF(i))&&aF(i,t,String(e)),(0,xN[i[0]])(s,i,o.localize,c)}).join("")}function UN(e){const t=e.match(jN);return t?t[1].replace(EN,"'"):e}function LN(e,t,n){const r=NE(e,n?.in);return r.setHours(t),r}function IN(e,t,n){const r=NE(e,n?.in);return r.setMinutes(t),r}function PN(e,t,n){const r=NE(e,n?.in);return r.setSeconds(t),r}function QN(e,t){const n=NE(e,t?.in);return n.setDate(1),n.setHours(0,0,0,0),n}function TN(e,t){const n=NE(e,t?.in),r=n.getMonth(),o=r-r%3;return n.setMonth(o,1),n.setHours(0,0,0,0),n}function DN(e,t){const n=NE(e,t?.in);return n.setHours(23,59,59,999),n}function ON(e,t){const n=NE(e,t?.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function RN(e,t,n){const r=+NE(e,n?.in),[o,i]=[+NE(t.start,n?.in),+NE(t.end,n?.in)].sort((e,t)=>
102e-t);return r>=o&&r<=i}function MN(e,t,n){const r=NE(e,n?.in),o=r.getFullYear(),i=r.getDate(),a=FE(n?.in||e,0);a.setFullYear(o,t,15),a.setHours(0,0,0,0);const s=function(e,t){const n=NE(e,t?.in),r=n.getFullYear(),o=n.getMonth(),i=FE(n,0);return i.setFullYear(r,o+1,0),i.setHours(0,0,0,0),i.getDate()}(a);return r.setMonth(t,Math.min(i,s)),r}function HN(e,t,n){const r=NE(e,n?.in),o=t-(Math.trunc(r.getMonth()/3)+1);return MN(r,r.getMonth()+3*o)}function zN(e,t){return NE(e,t?.in).getFullYear()}function KN(e,t){return NE(e,t?.in).getMonth()}function $N(e,t){const n=NE(e,t?.in),r=n.getFullYear();return n.setFullYear(r+1,0,0),n.setHours(23,59,59,999),n}function VN(e,t){const n=NE(e,t?.in);return Math.trunc(n.getMonth()/3)+1}function qN(e,t){return NE(e,t?.in).getHours()}function WN(e,t){return NE(e,t?.in).getMinutes()}function GN(e){return NE(e).getSeconds()}function YN(e,t,n){const r=NE(e,n?.in);if(isNaN(t))return FE(n?.in||e,NaN);if(!t)return r;const o=r.getDate(),i=FE(n?.in||e,r.getTime());return i.setMonth(r.getMonth()+t+1,0),o>=i.getDate()?i:(r.setFullYear(i.getFullYear(),i.getMonth(),o),r)}function XN(e,t,n){return YN(e,-t,n)}function JN(e,t,n){const[r,o]=mN(n?.in,e,t);return 12*(r.getFullYear()-o.getFullYear())+(r.getMonth()-o.getMonth())}function ZN(e,t,n){return YN(e,3*t,n)}function eU(e,t,n){return ZN(e,-t,n)}function tU(e,t,n){const[r,o]=mN(n?.in,e,t);return 4*(r.getFullYear()-o.getFullYear())+(VN(r)-VN(o))}function nU(e,t,n){return YN(e,12*t,n)}function rU(e,t,n){return nU(e,-t,n)}function oU(e,t,n){const[r,o]=mN(n?.in,e,t);return r.getFullYear()-o.getFullYear()}function iU(e,t){let n,r=t?.in;return e.forEach(e=>{r||"object"!=typeof e||(r=FE.bind(null,e));const t=NE(e,r);(!n||n>t||isNaN(+t))&&(n=t)}),FE(r,n||NaN)}function aU(e,t){let n,r=t?.in;return e.forEach(e=>{r||"object"!=typeof e||(r=FE.bind(null,e));const t=NE(e,r);(!n||n<t||isNaN(+t))&&(n=t)}),FE(r,n||NaN)}function sU(e,t,n){return FE(n?.in||e,+NE(e)+t)}function lU(e,t,n){return sU(e,t*jE,n)}function cU(e,t,n){const r=NE(e,n?.in);return r.setTime(r.getTime()+t*SE),r}function AU(e,t,n){return sU(e,1e3*t,n)}function uU(e,t){return+NE(e)>+NE(t)}function dU(e,t){return NE(e,t?.in).getDate()}function pU(e,t,n){return eN(e,7*t,n)}function fU(e){return+NE(e)}function hU(e,t,n){const r=NE(e,n?.in);return isNaN(+r)?FE(n?.in||e,NaN):(r.setFullYear(t),r)}function mU(e,t){const n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function gU(e,t,n){return pU(e,-t,n)}var yU="undefined"!=typeof document?n.useLayoutEffect:function(){};const wU={...r}.useInsertionEffect||(e=>e());function vU(){return"undefined"!=typeof window}function bU(e){return BU(e)?(e.nodeName||"").toLowerCase():"#document"}function xU(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function _U(e){var t;return null==(t=(BU(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function BU(e){return!!vU()&&(e instanceof Node||e instanceof xU(e).Node)}function CU(e){return!!vU()&&(e instanceof Element||e instanceof xU(e).Element)}function kU(e){return!!vU()&&(e instanceof HTMLElement||e instanceof xU(e).HTMLElement)}function SU(e){return!(!vU()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof xU(e).ShadowRoot)}const jU=new Set(["inline","contents"]);function EU(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=MU(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!jU.has(o)}const FU=new Set(["table","td","th"]);function NU(e){return FU.has(bU(e))}const UU=[":popover-open",":modal"];function LU(e){return UU.some(t=>{try{return e.matches(t)}catch(e){return!1}})}const IU=["transform","translate","scale","rotate","perspective"],PU=["transform","translate","scale","rotate","perspective","filter"],QU=["paint","layout","strict","content"];function TU(e){const t=DU(),n=CU(e)?MU(e):e;return IU.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||PU.some(e=>(n.willChange||"").includes(e))||QU.some(e=>(n.contain||"").includes(e))}function DU(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const OU=new Set(["html","body","#document"]);function RU(e){return OU.has(bU(e))}function MU(e){return xU(e).getComputedStyle(e)}function HU(e){return CU(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function zU(e){if("html"===bU(e))return e;const t=e.assignedSlot||e.parentNode||SU(e)&&e.host||_U(e);return SU(t)?t.host:t}function KU(e){const t=zU(e);return RU(t)?e.ownerDocument?e.ownerDocument.body:e.body:kU(t)&&EU(t)?t:KU(t)}function $U(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=KU(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=xU(o);if(i){const e=VU(a);
vendor: 7,393 bytes, line 102
102return t.concat(a,a.visualViewport||[],EU(o)?o:[],e&&n?$U(e):[])}return t.concat(o,$U(o,[],n))}function VU(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const qU=Math.min,WU=Math.max,GU=Math.round,YU=Math.floor,XU=e=>({x:e,y:e}),JU={left:"right",right:"left",bottom:"top",top:"bottom"},ZU={start:"end",end:"start"};function eL(e,t){return"function"==typeof e?e(t):e}function tL(e){return e.split("-")[0]}function nL(e){return e.split("-")[1]}function rL(e){return"y"===e?"height":"width"}const oL=new Set(["top","bottom"]);function iL(e){return oL.has(tL(e))?"y":"x"}function aL(e){return"x"===iL(e)?"y":"x"}function sL(e){return e.replace(/start|end/g,e=>ZU[e])}const lL=["left","right"],cL=["right","left"],AL=["top","bottom"],uL=["bottom","top"];function dL(e){return e.replace(/left|right|bottom|top/g,e=>JU[e])}function pL(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function fL(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function hL(e,t,n){let{reference:r,floating:o}=e;const i=iL(t),a=aL(t),s=rL(a),l=tL(t),c="y"===i,A=r.x+r.width/2-o.width/2,u=r.y+r.height/2-o.height/2,d=r[s]/2-o[s]/2;let p;switch(l){case"top":p={x:A,y:r.y-o.height};break;case"bottom":p={x:A,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:u};break;case"left":p={x:r.x-o.width,y:u};break;default:p={x:r.x,y:r.y}}switch(nL(t)){case"start":p[a]-=d*(n&&c?-1:1);break;case"end":p[a]+=d*(n&&c?-1:1)}return p}const mL=new Set(["left","top"]);function gL(e){const t=MU(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=kU(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=GU(n)!==i||GU(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function yL(e){return CU(e)?e:e.contextElement}function wL(e){const t=yL(e);if(!kU(t))return XU(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=gL(t);let a=(i?GU(n.width):n.width)/r,s=(i?GU(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const vL=XU(0);function bL(e){const t=xU(e);return DU()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:vL}function xL(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=yL(e);let a=XU(1);t&&(r?CU(r)&&(a=wL(r)):a=wL(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==xU(e))&&t}(i,n,r)?bL(i):XU(0);let l=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,A=o.width/a.x,u=o.height/a.y;if(i){const e=xU(i),t=r&&CU(r)?xU(r):r;let n=e,o=VU(n);for(;o&&r&&t!==n;){const e=wL(o),t=o.getBoundingClientRect(),r=MU(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,A*=e.x,u*=e.y,l+=i,c+=a,n=xU(o),o=VU(n)}}return fL({width:A,height:u,x:l,y:c})}function _L(e,t){const n=HU(e).scrollLeft;return t?t.left+n:xL(_U(e)).left+n}function BL(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-_L(e,n),y:n.top+t.scrollTop}}const CL=new Set(["absolute","fixed"]);function kL(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=xU(e),r=_U(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const e=DU();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}const c=_L(r);if(c<=0){const e=r.ownerDocument,t=e.body,n=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,a=Math.abs(r.clientWidth-t.clientWidth-o);a<=25&&(i-=a)}else c<=25&&(i+=c);return{width:i,height:a,x:s,y:l}}(e,n);else if("document"===t)r=function(e){const t=_U(e),n=HU(e),r=e.ownerDocument.body,o=WU(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=WU(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+_L(e);const s=-n.scrollTop;return"rtl"===MU(r).direction&&(a+=WU(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}(_U(e));else if(CU(t))r=function(e,t){const n=xL(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=kU(e)?wL(e):XU(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=bL(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return fL(r)}function SL(e,t){const n=zU(e);return!(n===t||!CU(n)||RU(n))&&("fixed"===MU(n).position||SL(n,t))}function jL(e,t,n){const r=kU(t),o=_U(t),i="fixed"===n,a=xL(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=XU(0);function c(){l.x=_L(o)}if(r||!r&&!i)if(("body"!==bU(t)||EU(o))&&(s=HU(t)),r){const e=xL(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&c();i&&!r&&o&&c();const A=!o||r||i?XU(0):BL(o,s);return{x:a.left+s.scrollLeft-l.x-A.x,y:a.top+s.scrollTop-l.y-A.y,width:a.width,height:a.height}}function EL(e){return"static"===MU(e).position}function FL(e,t){if(!kU(e)||"fixed"===MU(e).position)return null;if(t)return t(e);let n=e.offsetParent;return _U(e)===n&&(n=n.ownerDocument.body),n}function NL(e,t){const n=xU(e);if(LU(e))return n;if(!kU(e)){let t=zU(e);for(;t&&!RU(t);){if(CU(t)&&!EL(t))return t;t=zU(t)}return n}let r=FL(e,t);for(;r&&NU(r)&&EL(r);)r=FL(r,t);return r&&RU(r)&&EL(r)&&!TU(r)?n:r||function(e){let t=zU(e);for(;kU(t)&&!RU(t);){if(TU(t))return t;if(LU(t))return null;t=zU(t)}return null}(e)||n}const UL={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i="fixed"===o,a=_U(r),s=!!t&&LU(t.floating);if(r===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},c=XU(1);const A=XU(0),u=kU(r);if((u||!u&&!i)&&(("body"!==bU(r)||EU(a))&&(l=HU(r)),kU(r))){const e=xL(r);c=wL(r),A.x=e.x+r.clientLeft,A.y=e.y+r.clientTop}const d=!a||u||i?XU(0):BL(a,l);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+A.x+d.x,y:n.y*c.y-l.scrollTop*c.y+A.y+d.y}},getDocumentElement:_U,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i="clippingAncestors"===n?LU(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=$U(e,[],!1).filter(e=>CU(e)&&"body"!==bU(e)),o=null;const i="fixed"===MU(e).position;let a=i?zU(e):e;for(;CU(a)&&!RU(a);){const t=MU(a),n=TU(a);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&CL.has(o.position)||EU(a)&&!n&&SL(e,a))?r=r.filter(e=>e!==a):o=t,a=zU(a)}return t.set(e,r),r}(t,this._c):[].concat(n),a=[...i,r],s=a[0],l=a.reduce((e,n)=>{const r=kL(t,n,o);return e.top=WU(r.top,e.top),e.right=qU(r.right,e.right),e.bottom=qU(r.bottom,e.bottom),e.left=WU(r.left,e.left),e},kL(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:NL,getElementRects:async function(e){const t=this.getOffsetParent||NL,n=this.getDimensions,r=await n(e.floating);return{reference:jL(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=gL(e);return{width:t,height:n}},getScale:wL,isElement:CU,isRTL:function(e){return"rtl"===MU(e).direction}};function LL(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function IL(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=yL(e),A=o||i?[...c?$U(c):[],...$U(t)]:[];
vendor: 4,645 bytes, line 102
102A.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)});const u=c&&s?function(e,t){let n,r=null;const o=_U(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),i();const c=e.getBoundingClientRect(),{left:A,top:u,width:d,height:p}=c;if(s||t(),!d||!p)return;const f={rootMargin:-YU(u)+"px "+-YU(o.clientWidth-(A+d))+"px "+-YU(o.clientHeight-(u+p))+"px "+-YU(A)+"px",threshold:WU(0,qU(1,l))||1};let h=!0;function m(t){const r=t[0].intersectionRatio;if(r!==l){if(!h)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||LL(c,e.getBoundingClientRect())||a(),h=!1}try{r=new IntersectionObserver(m,{...f,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(m,f)}r.observe(e)}(!0),i}(c,n):null;let d,p=-1,f=null;a&&(f=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&f&&(f.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=f)||e.observe(t)})),n()}),c&&!l&&f.observe(c),f.observe(t));let h=l?xL(e):null;return l&&function t(){const r=xL(e);h&&!LL(h,r)&&n(),h=r,d=requestAnimationFrame(t)}(),n(),()=>{var e;A.forEach(e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)}),null==u||u(),null==(e=f)||e.disconnect(),f=null,l&&cancelAnimationFrame(d)}}const PL=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=t,l=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=tL(n),s=nL(n),l="y"===iL(n),c=mL.has(a)?-1:1,A=i&&l?-1:1,u=eL(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:f}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return s&&"number"==typeof f&&(p="end"===s?-1*f:f),l?{x:p*A,y:d*c}:{x:d*c,y:p*A}}(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},QL=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:A=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:h=!0,...m}=eL(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const g=tL(o),y=iL(s),w=tL(s)===s,v=await(null==l.isRTL?void 0:l.isRTL(c.floating)),b=d||(w||!h?[dL(s)]:function(e){const t=dL(e);return[sL(e),t,sL(t)]}(s)),x="none"!==f;!d&&x&&b.push(...function(e,t,n,r){const o=nL(e);let i=function(e,t,n){switch(e){case"top":case"bottom":return n?t?cL:lL:t?lL:cL;case"left":case"right":return t?AL:uL;default:return[]}}(tL(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(sL)))),i}(s,h,f,v));const _=[s,...b],B=await async function(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:A="viewport",elementContext:u="floating",altBoundary:d=!1,padding:p=0}=eL(t,e),f=pL(p),h=s[d?"floating"===u?"reference":"floating":u],m=fL(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(h)))||n?h:h.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:c,rootBoundary:A,strategy:l})),g="floating"===u?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,y=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),w=await(null==i.isElement?void 0:i.isElement(y))&&await(null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},v=fL(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:g,offsetParent:y,strategy:l}):g);return{top:(m.top-v.top+f.top)/w.y,bottom:(v.bottom-m.bottom+f.bottom)/w.y,left:(m.left-v.left+f.left)/w.x,right:(v.right-m.right+f.right)/w.x}}(t,m),C=[];let k=(null==(r=i.flip)?void 0:r.overflows)||[];if(A&&C.push(B[g]),u){const e=function(e,t,n){void 0===n&&(n=!1);const r=nL(e),o=aL(e),i=rL(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=dL(a)),[a,dL(a)]}(o,a,v);C.push(B[e[0]],B[e[1]])}if(k=[...k,{placement:o,overflows:C}],!C.every(e=>e<=0)){var S,j;const e=((null==(S=i.flip)?void 0:S.index)||0)+1,t=_[e];if(t&&("alignment"!==u||y===iL(t)||k.every(e=>iL(e.placement)!==y||e.overflows[0]>0)))return{data:{index:e,overflows:k},reset:{placement:t}};let n=null==(j=k.filter(e=>e.overflows[0]<=0).sort((e,t)=>
102e.overflows[1]-t.overflows[1])[0])?void 0:j.placement;if(!n)switch(p){case"bestFit":{var E;const e=null==(E=k.filter(e=>{if(x){const t=iL(e.placement);return t===y||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:E[0];e&&(n=e);break}case"initialPlacement":n=s}if(o!==n)return{reset:{placement:n}}}return{}}}},TL=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:c,padding:A=0}=eL(e,t)||{};if(null==c)return{};const u=pL(A),d={x:n,y:r},p=aL(o),f=rL(p),h=await a.getDimensions(c),m="y"===p,g=m?"top":"left",y=m?"bottom":"right",w=m?"clientHeight":"clientWidth",v=i.reference[f]+i.reference[p]-d[p]-i.floating[f],b=d[p]-i.reference[p],x=await(null==a.getOffsetParent?void 0:a.getOffsetParent(c));let _=x?x[w]:0;_&&await(null==a.isElement?void 0:a.isElement(x))||(_=s.floating[w]||i.floating[f]);const B=v/2-b/2,C=_/2-h[f]/2-1,k=qU(u[g],C),S=qU(u[y],C),j=k,E=_-h[f]-S,F=_/2-h[f]/2+B,N=WU(j,qU(F,E)),U=!l.arrow&&null!=nL(o)&&F!==N&&i.reference[f]/2-(F<j?k:S)-h[f]/2<0,L=U?F<j?F-j:F-E:0;return{[p]:d[p]+L,data:{[p]:N,centerOffset:F-N-L,...U&&{alignmentOffset:L}},reset:U}}});var DL="undefined"!=typeof document?n.useLayoutEffect:function(){};function OL(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!==r--;)if(!OL(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!==r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!==r--;){const n=o[r];if(!("_owner"===n&&e.$$typeof||OL(e[n],t[n])))return!1}return!0}return e!=e&&t!=t}function RL(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ML(e,t){const n=RL(e);return Math.round(t*n)/n}function HL(e){const t=n.useRef(e);return DL(()=>{t.current=e}),t}const zL=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"==typeof e?e(t):e;return n&&(o=n,{}.hasOwnProperty.call(o,"current"))?null!=n.current?TL({element:n.current,padding:r}).fn(t):{}:n?TL({element:n,padding:r}).fn(t):{};var o}}),KL=(e,t)=>({...PL(e),options:[e,t]}),$L=(e,t)=>({...QL(e),options:[e,t]}),VL=(e,t)=>({...zL(e),options:[e,t]}),qL={...r};let WL=!1,GL=0;const YL=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+GL++,XL=qL.useId||function(){const[e,t]=n.useState(()=>WL?YL():void 0);return yU(()=>{null==e&&t(YL())},[]),n.useEffect(()=>{WL=!0},[]),e},JL=n.forwardRef(function(e,t){const{context:{placement:r,elements:{floating:o},middlewareData:{arrow:i,shift:a}},width:s=14,height:l=7,tipRadius:c=0,strokeWidth:A=0,staticOffset:u,stroke:d,d:p,style:{transform:f,...h}={},...m}=e,g=XL(),[y,w]=n.useState(!1);if(yU(()=>{o&&"rtl"===MU(o).direction&&w(!0)},[o]),!o)return null;const[v,b]=r.split("-"),x="top"===v||"bottom"===v;let _=u;(x&&null!=a&&a.x||!x&&null!=a&&a.y)&&(_=null);const B=2*A,C=B/2,k=s/2*(c/-8+1),S=l/2*c/4,j=!!p,E=_&&"end"===b?"bottom":"top";let F=_&&"end"===b?"right":"left";_&&y&&(F="end"===b?"left":"right");const N=null!=(null==i?void 0:i.x)?_||i.x:"",U=null!=(null==i?void 0:i.y)?_||i.y:"",L=p||"M0,0 H"+s+" L"+(s-k)+","+(l-S)+" Q"+s/2+","+l+" "+k+","+(l-S)+" Z",I={top:j?"rotate(180deg)":"",left:j?"rotate(90deg)":"rotate(-90deg)",bottom:j?"":"rotate(180deg)",right:j?"rotate(-90deg)":"rotate(90deg)"}[v];return(0,ga.jsxs)("svg",{...m,"aria-hidden":!0,ref:t,width:j?s:s+B,height:s,viewBox:"0 0 "+s+" "+(l>s?l:s),style:{position:"absolute",pointerEvents:"none",[F]:N,[E]:U,[v]:x||j?"100%":"calc(100% - "+B/2+"px)",transform:[I,f].filter(e=>!!e).join(" "),...h},children:[B>0&&(0,ga.jsx)("path",{clipPath:"url(#"+g+")",fill:"none",stroke:d,strokeWidth:B+(p?0:1),d:L}),(0,ga.jsx)("path",{stroke:B&&!p?m.fill:"none",d:L}),(0,ga.jsx)("clipPath",{id:g,children:(0,ga.jsx)("rect",{x:-C,y:C*(j?-1:1),width:s+B,height:s})})]})});const ZL=n.createContext(null),eI=n.createContext(null);function tI(e){const{open:t=!1,onOpenChange:r,elements:o}=e,i=XL(),a=n.useRef({}),[s]=n.useState(()=>function(){const e=new Map;return{emit(t,n){var r;
vendor: 4,522 bytes, line 102
102null==(r=e.get(t))||r.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){var r;null==(r=e.get(t))||r.delete(n)}}}()),l=null!=((null==(c=n.useContext(ZL))?void 0:c.id)||null);var c;const[A,u]=n.useState(o.reference),d=function(e){const t=n.useRef(()=>{});return wU(()=>{t.current=e}),n.useCallback(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)},[])}((e,t,n)=>{a.current.openEvent=e?t:void 0,s.emit("openchange",{open:e,event:t,reason:n,nested:l}),null==r||r(e,t,n)}),p=n.useMemo(()=>({setPositionReference:u}),[]),f=n.useMemo(()=>({reference:A||o.reference||null,floating:o.floating||null,domReference:o.reference}),[A,o.reference,o.floating]);return n.useMemo(()=>({dataRef:a,open:t,onOpenChange:d,elements:f,events:s,floatingId:i,refs:p}),[t,d,f,s,i,p])}function nI(e){void 0===e&&(e={});const{nodeId:t}=e,r=tI({...e,elements:{reference:null,floating:null,...e.elements}}),o=e.rootContext||r,i=o.elements,[a,s]=n.useState(null),[l,c]=n.useState(null),A=(null==i?void 0:i.domReference)||a,u=n.useRef(null),d=n.useContext(eI);yU(()=>{A&&(u.current=A)},[A]);const p=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:o=[],platform:i,elements:{reference:a,floating:s}={},transform:l=!0,whileElementsMounted:c,open:A}=e,[u,d]=n.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[p,f]=n.useState(o);OL(p,o)||f(o);const[h,m]=n.useState(null),[g,y]=n.useState(null),w=n.useCallback(e=>{e!==_.current&&(_.current=e,m(e))},[]),v=n.useCallback(e=>{e!==B.current&&(B.current=e,y(e))},[]),b=a||h,x=s||g,_=n.useRef(null),B=n.useRef(null),C=n.useRef(u),k=null!=c,S=HL(c),j=HL(i),E=HL(A),F=n.useCallback(()=>{if(!_.current||!B.current)return;const e={placement:t,strategy:r,middleware:p};j.current&&(e.platform=j.current),((e,t,n)=>{const r=new Map,o={platform:UL,...n},i={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:A,y:u}=hL(c,r,l),d=r,p={},f=0;for(let n=0;n<s.length;n++){const{name:i,fn:h}=s[n],{x:m,y:g,data:y,reset:w}=await h({x:A,y:u,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:c,platform:a,elements:{reference:e,floating:t}});A=null!=m?m:A,u=null!=g?g:u,p={...p,[i]:{...p[i],...y}},w&&f<=50&&(f++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(c=!0===w.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):w.rects),({x:A,y:u}=hL(c,d,l))),n=-1)}return{x:A,y:u,placement:d,strategy:o,middlewareData:p}})(e,t,{...o,platform:i})})(_.current,B.current,e).then(e=>{const t={...e,isPositioned:!1!==E.current};N.current&&!OL(C.current,t)&&(C.current=t,qn.flushSync(()=>{d(t)}))})},[p,t,r,j,E]);DL(()=>{!1===A&&C.current.isPositioned&&(C.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[A]);const N=n.useRef(!1);DL(()=>(N.current=!0,()=>{N.current=!1}),[]),DL(()=>{if(b&&(_.current=b),x&&(B.current=x),b&&x){if(S.current)return S.current(b,x,F);F()}},[b,x,F,S,k]);const U=n.useMemo(()=>({reference:_,floating:B,setReference:w,setFloating:v}),[w,v]),L=n.useMemo(()=>({reference:b,floating:x}),[b,x]),I=n.useMemo(()=>{const e={position:r,left:0,top:0};if(!L.floating)return e;const t=ML(L.floating,u.x),n=ML(L.floating,u.y);return l?{...e,transform:"translate("+t+"px, "+n+"px)",...RL(L.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,l,L.floating,u.x,u.y]);return n.useMemo(()=>({...u,update:F,refs:U,elements:L,floatingStyles:I}),[u,F,U,L,I])}({...e,elements:{...i,...l&&{reference:l}}}),f=n.useCallback(e=>{const t=CU(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;c(t),p.refs.setReference(t)},[p.refs]),h=n.useCallback(e=>{(CU(e)||null===e)&&(u.current=e,s(e)),(CU(p.refs.reference.current)||null===p.refs.reference.current||null!==e&&!CU(e))&&p.refs.setReference(e)},[p.refs]),m=n.useMemo(()=>({...p.refs,setReference:h,setPositionReference:f,domReference:u}),[p.refs,h,f]),g=n.useMemo(()=>({...p.elements,domReference:A}),[p.elements,A]),y=n.useMemo(()=>({...p,...o,refs:m,elements:g,nodeId:t}),[p,m,g,t,o]);return yU(()=>{o.dataRef.current.floatingContext=y;const e=null==d?void 0:d.nodesRef.current.find(e=>e.id===t);e&&(e.context=y)}),n.useMemo(()=>({...p,context:y,refs:m,elements:g}),[p,m,g,y])}
102var rI=function(e,t){return rI=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},rI(e,t)};function oI(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}rI(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var iI=function(){return iI=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},iI.apply(this,arguments)};function aI(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;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))}"function"==typeof SuppressedError&&SuppressedError;var sI,lI=function(e){var t=e.showTimeSelectOnly,r=void 0!==t&&t,o=e.showTime,i=void 0!==o&&o,a=e.className,s=e.children,l=e.inline,c=r?"Choose Time":"Choose Date".concat(i?" and Time":"");return n.createElement("div",{className:a,"aria-label":c,role:l?void 0:"dialog","aria-modal":l?void 0:"true"},s)},cI=function(e){var t=e.children,r=e.onClickOutside,o=e.className,i=e.containerRef,a=e.style,s=function(e,t){var r=(0,n.useRef)(null),o=(0,n.useRef)(e);(0,n.useEffect)(function(){o.current=e},[e]);var i=(0,n.useCallback)(function(e){var n,i=e.composed&&e.composedPath&&e.composedPath().find(function(e){return e instanceof Node})||e.target;r.current&&!r.current.contains(i)&&(t&&i instanceof HTMLElement&&i.classList.contains(t)||null===(n=o.current)||void 0===n||n.call(o,e))},[t]);return(0,n.useEffect)(function(){return document.addEventListener("mousedown",i),function(){document.removeEventListener("mousedown",i)}},[i]),r}(r,e.ignoreClass);return n.createElement("div",{className:o,style:a,ref:function(e){s.current=e,i&&(i.current=e)}},t)};function AI(){return"undefined"!=typeof window?window:globalThis}function uI(e){if(null==e)return new Date;var t="string"==typeof e?function(e,t){const n=()=>FE(t?.in,NaN),r=t?.additionalDigits??2,o=function(e){const t={},n=e.split(UE.dateTimeDelimiter);let r;if(n.length>2)return t;if(/:/.test(n[0])?r=n[0]:(t.date=n[0],r=n[1],UE.timeZoneDelimiter.test(t.date)&&(t.date=e.split(UE.timeZoneDelimiter)[0],r=e.substr(t.date.length,e.length))),r){const e=UE.timezone.exec(r);e?(t.time=r.replace(e[1],""),t.timezone=e[1]):t.time=r}return t}(e);let i;if(o.date){const e=function(e,t){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};const o=r[1]?parseInt(r[1]):null,i=r[2]?parseInt(r[2]):null;return{year:null===i?o:100*i,restDateString:e.slice((r[1]||r[2]).length)}}(o.date,r);i=function(e,t){if(null===t)return new Date(NaN);const n=e.match(LE);if(!n)return new Date(NaN);const r=!!n[4],o=QE(n[1]),i=QE(n[2])-1,a=QE(n[3]),s=QE(n[4]),l=QE(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,s,l)?function(e,t,n){const r=new Date(0);r.setUTCFullYear(e,0,4);const o=7*(t-1)+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+o),r}(t,s,l):new Date(NaN);{const e=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(DE[t]||(OE(e)?29:28))}(t,i,a)&&function(e,t){return t>=1&&t<=(OE(e)?366:365)}(t,o)?(e.setUTCFullYear(t,i,Math.max(o,a)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!i||isNaN(+i))return n();const a=+i;let s,l=0;if(o.time&&(l=function(e){const t=e.match(IE);if(!t)return NaN;const n=TE(t[1]),r=TE(t[2]),o=TE(t[3]);return function(e,t,n){return 24===e?0===t&&0===n:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,r,o)?n*jE+r*SE+1e3*o:NaN}(o.time),isNaN(l)))return n();if(!o.timezone){const e=new Date(a+l),n=NE(0,t?.in);return n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),n}return s=function(e){if("Z"===e)return 0;const t=e.match(PE);if(!t)return 0;const n="+"===t[1]?-1:1,r=parseInt(t[2]),o=t[3]&&parseInt(t[3])||0;return function(e,t){return t>=0&&t<=59}(0,o)?n*(r*jE+o*SE):NaN}(o.timezone),isNaN(s)?n():NE(a+l+s,t?.in)}(e):NE(e);return pI(t)?t:new Date}function dI(e,t,n,r,o){void 0===o&&(o=uI());for(var i=NI(n)||NI(FI()),a=0,s=Array.isArray(t)?t:[t];a<s.length;a++){var l=s[a],c=uN(e,l,o,{locale:i,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0});if(pI(c)&&(!r||e===fI(c,l,n)))return c}return null}function pI(e,t){return fN(e)&&!hN(e,new Date("1/1/1800"))}function fI(e,t,n){if("en"===n)return NN(e,t,{useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0});var r=n?NI(n):void 0;return n&&!r&&console.warn('A locale object was not found for the provided string ["'.concat(n,'"].')),NN(e,t,{locale:r=r||NI(FI()),useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0})}function hI(e,t){var n=t.dateFormat,r=t.locale,o=Array.isArray(n)&&n.length>0?n[0]:n;return e&&fI(e,o,r)||""}function mI(e,t){var n=t.hour,r=void 0===n?0:n,o=t.minute,i=void 0===o?0:o,a=t.second;return LN(IN(PN(e,void 0===a?0:a),i),r)}function gI(e){return gN(e)}function yI(e,t,n){return VF(e,{locale:NI(t||FI()),weekStartsOn:n})}function wI(e){return QN(e)}function vI(e){return wN(e)}function bI(e){return TN(e)}function xI(){return gN(uI())}function _I(e){return DN(e)}function BI(e,t){return e&&t?function(e,t,n){const[r,o]=mN(n?.in,e,t);return r.getFullYear()===o.getFullYear()}(e,t):!e&&!t}function CI(e,t){return e&&t?function(e,t,n){const[r,o]=mN(n?.in,e,t);return r.getFullYear()===o.getFullYear()&&r.getMonth()===o.getMonth()}(e,t):!e&&!t}function kI(e,t){return e&&t?function(e,t,n){const[r,o]=mN(n?.in,e,t);return+TN(r)===+TN(o)}(e,t):!e&&!t}function SI(e,t){return e&&t?function(e,t,n){const[r,o]=mN(n?.in,e,t);return+gN(r)===+gN(o)}(e,t):!e&&!t}function jI(e,t){return e&&t?(n=t,+NE(e)===+NE(n)):!e&&!t;var n}function EI(e,t,n){var r,o=gN(t),i=DN(n);try{r=RN(e,{start:o,end:i})}catch(e){r=!1}return r}function FI(){return AI().__localeId__}function NI(e){if("string"==typeof e){var t=AI();return t.__localeData__?t.__localeData__[e]:void 0}return e}function UI(e,t){return fI(MN(uI(),e),"LLLL",t)}function LI(e,t){return fI(MN(uI(),e),"LLL",t)}function II(e,t){var n=void 0===t?{}:t,r=n.minDate,o=n.maxDate,i=n.excludeDates,a=n.excludeDateIntervals,s=n.includeDates,l=n.includeDateIntervals,c=n.filterDate;return!!n.disabled||zI(e,{minDate:r,maxDate:o})||i&&i.some(function(t){return t instanceof Date?SI(e,t):SI(e,t.date)})||a&&a.some(function(t){var n=t.start,r=t.end;return RN(e,{start:n,end:r})})||s&&!s.some(function(t){return SI(e,t)})||l&&!l.some(function(t){var n=t.start,r=t.end;return RN(e,{start:n,end:r})})||c&&!c(uI(e))||!1}function PI(e,t){var n=void 0===t?{}:t,r=n.excludeDates,o=n.excludeDateIntervals;return o&&o.length>0?o.some(function(t){var n=t.start,r=t.end;return RN(e,{start:n,end:r})}
vendor: 5,538 bytes, line 102
102):r&&r.some(function(t){var n;return t instanceof Date?SI(e,t):SI(e,null!==(n=t.date)&&void 0!==n?n:new Date)})||!1}function QI(e,t){var n=void 0===t?{}:t,r=n.minDate,o=n.maxDate,i=n.excludeDates,a=n.includeDates,s=n.filterDate;return zI(e,{minDate:r?QN(r):void 0,maxDate:o?ON(o):void 0})||(null==i?void 0:i.some(function(t){return CI(e,t instanceof Date?t:t.date)}))||a&&!a.some(function(t){return CI(e,t)})||s&&!s(uI(e))||!1}function TI(e,t,n,r){var o=zN(e),i=KN(e),a=zN(t),s=KN(t),l=zN(r);return o===a&&o===l?i<=n&&n<=s:o<a&&(l===o&&i<=n||l===a&&s>=n||l<a&&l>o)}function DI(e,t){var n=void 0===t?{}:t,r=n.minDate,o=n.maxDate,i=n.excludeDates,a=n.includeDates;return zI(e,{minDate:r,maxDate:o})||i&&i.some(function(t){return CI(t instanceof Date?t:t.date,e)})||a&&!a.some(function(t){return CI(t,e)})||!1}function OI(e,t){var n=void 0===t?{}:t,r=n.minDate,o=n.maxDate,i=n.excludeDates,a=n.includeDates,s=n.filterDate;return!!n.disabled||zI(e,{minDate:r,maxDate:o})||(null==i?void 0:i.some(function(t){return kI(e,t instanceof Date?t:t.date)}))||a&&!a.some(function(t){return kI(e,t)})||s&&!s(uI(e))||!1}function RI(e,t,n){if(!t||!n)return!1;if(!fN(t)||!fN(n))return!1;var r=zN(t),o=zN(n);return r<=e&&o>=e}function MI(e,t){var n=void 0===t?{}:t,r=n.minDate,o=n.maxDate,i=n.excludeDates,a=n.includeDates,s=n.filterDate;if(n.disabled)return!0;var l=new Date(e,0,1);return zI(l,{minDate:r?wN(r):void 0,maxDate:o?$N(o):void 0})||(null==i?void 0:i.some(function(e){return BI(l,e instanceof Date?e:e.date)}))||a&&!a.some(function(e){return BI(l,e)})||s&&!s(uI(l))||!1}function HI(e,t,n,r){var o=zN(e),i=VN(e),a=zN(t),s=VN(t),l=zN(r);return o===a&&o===l?i<=n&&n<=s:o<a&&(l===o&&i<=n||l===a&&s>=n||l<a&&l>o)}function zI(e,t){var n,r=void 0===t?{}:t,o=r.minDate,i=r.maxDate;return null!==(n=o&&yN(e,o)<0||i&&yN(e,i)>0)&&void 0!==n&&n}function KI(e,t){return t.some(function(t){return qN(t)===qN(e)&&WN(t)===WN(e)&&GN(t)===GN(e)})}function $I(e,t){var n=void 0===t?{}:t,r=n.excludeTimes,o=n.includeTimes,i=n.filterTime;return r&&KI(e,r)||o&&!KI(e,o)||i&&!i(e)||!1}function VI(e,t){var n=t.minTime,r=t.maxTime;if(!n||!r)throw new Error("Both minTime and maxTime props required");var o=uI();o=PN(o=IN(o=LN(o,qN(e)),WN(e)),GN(e));var i=uI();i=PN(i=IN(i=LN(i,qN(n)),WN(n)),GN(n));var a,s=uI();s=PN(s=IN(s=LN(s,qN(r)),WN(r)),GN(r));try{a=!RN(o,{start:i,end:s})}catch(e){a=!1}return a}function qI(e,t){var n=void 0===t?{}:t,r=n.minDate,o=n.includeDates,i=XN(e,1);return r&&JN(r,i)>0||o&&o.every(function(e){return JN(e,i)>0})||!1}function WI(e,t){var n=void 0===t?{}:t,r=n.maxDate,o=n.includeDates,i=YN(e,1);return r&&JN(i,r)>0||o&&o.every(function(e){return JN(i,e)>0})||!1}function GI(e,t){var n=void 0===t?{}:t,r=n.minDate,o=n.includeDates,i=rU(e,1);return r&&oU(r,i)>0||o&&o.every(function(e){return oU(e,i)>0})||!1}function YI(e,t){var n=void 0===t?{}:t,r=n.maxDate,o=n.includeDates,i=nU(e,1);return r&&oU(i,r)>0||o&&o.every(function(e){return oU(i,e)>0})||!1}function XI(e){var t=e.minDate,n=e.includeDates;return n&&t?iU(n.filter(function(e){return yN(e,t)>=0})):n?iU(n):t}function JI(e){var t=e.maxDate,n=e.includeDates;return n&&t?aU(n.filter(function(e){return yN(e,t)<=0})):n?aU(n):t}function ZI(e,t){var n;void 0===e&&(e=[]),void 0===t&&(t="react-datepicker__day--highlighted");for(var r=new Map,o=0,i=e.length;o<i;o++){var a=e[o];if(pN(a)){var s=fI(a,"MM.dd.yyyy");(d=r.get(s)||[]).includes(t)||(d.push(t),r.set(s,d))}else if("object"==typeof a){var l=null!==(n=Object.keys(a)[0])&&void 0!==n?n:"",c=a[l];if("string"==typeof l&&Array.isArray(c))for(var A=0,u=c.length;A<u;A++){var d,p=c[A];if(p)s=fI(p,"MM.dd.yyyy"),(d=r.get(s)||[]).includes(l)||(d.push(l),r.set(s,d))}}}return r}function eP(e,t){void 0===e&&(e=[]),void 0===t&&(t="react-datepicker__day--holidays");var n=new Map;return e.forEach(function(e){var r=e.date,o=e.holidayName;if(pN(r)){var i=fI(r,"MM.dd.yyyy"),a=n.get(i)||{className:"",holidayNames:[]};if(!("className"in a)||a.className!==t||(s=a.holidayNames,l=[o],s.length!==l.length||!s.every(function(e,t){return e===l[t]}))){var s,l;a.className=t;var c=a.holidayNames;a.holidayNames=c?aI(aI([],c,!0),[o],!1):[o],n.set(i,a)}}}),n}function tP(e,t,n,r,o){for(var i=o.length,a=[],s=0;s<i;s++){var l=e,c=o[s];c&&(l=AU(l=cU(l=lU(l,qN(c)),WN(c)),GN(c)));var A=cU(e,(n+1)*r);uU(l,t)&&hN(l,A)&&null!=c&&a.push(c)}return a}function nP(e){return e<10?"0".concat(e):"".concat(e)}function rP(e,t){void 0===t&&(t=12);var n=Math.ceil(zN(e)/t)*t;return{startPeriod:n-(t-1),endPeriod:n}}function oP(e){var t=e.getSeconds(),n=e.getMilliseconds();return NE(e.getTime()-1e3*t-n)}function iP(e,t){return oP(e).getTime()===oP(t).getTime()}function aP(e){if(!pN(e))throw new Error("Invalid date");var t=new Date(e);return t.setHours(0,0,0,0),t}function sP(e,t){if(!pN(e)||!pN(t))throw new Error("Invalid date received");return hN(aP(e),aP(t))}function lP(e){return e.key===sI.Space}!function(e){e.ArrowUp="ArrowUp",e.ArrowDown="ArrowDown",e.ArrowLeft="ArrowLeft",e.ArrowRight="ArrowRight",e.PageUp="PageUp",e.PageDown="PageDown",e.Home="Home",e.End="End",e.Enter="Enter",e.Space=" ",e.Tab="Tab",e.Escape="Escape",e.Backspace="Backspace",e.X="x"}(sI||(sI={}));var cP,AP=function(e){function t(t){var r=e.call(this,t)||this;return r.inputRef=n.createRef(),r.onTimeChange=function(e){var t,n;r.setState({time:e});var o=r.props.date,i=o instanceof Date&&!isNaN(+o)?o:new Date;if(null==e?void 0:e.includes(":")){var a=e.split(":"),s=a[0],l=a[1];i.setHours(Number(s)),i.setMinutes(Number(l))}null===(n=(t=r.props).onChange)||void 0===n||n.call(t,i)}
vendor: 14,379 bytes, line 102
102,r.renderTimeInput=function(){var e=r.state.time,t=r.props,o=t.date,i=t.timeString,a=t.customTimeInput;return a?(0,n.cloneElement)(a,{date:o,value:e,onChange:r.onTimeChange}):n.createElement("input",{type:"time",className:"react-datepicker-time__input",placeholder:"Time",name:"time-input",ref:r.inputRef,onClick:function(){var e;null===(e=r.inputRef.current)||void 0===e||e.focus()},required:!0,value:e,onChange:function(e){r.onTimeChange(e.target.value||i)}})},r.state={time:r.props.timeString},r}return oI(t,e),t.getDerivedStateFromProps=function(e,t){return e.timeString!==t.time?{time:e.timeString}:null},t.prototype.render=function(){return n.createElement("div",{className:"react-datepicker__input-time-container"},n.createElement("div",{className:"react-datepicker-time__caption"},this.props.timeInputLabel),n.createElement("div",{className:"react-datepicker-time__input-container"},n.createElement("div",{className:"react-datepicker-time__input"},this.renderTimeInput())))},t}(n.Component),uP=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.dayEl=(0,n.createRef)(),t.handleClick=function(e){!t.isDisabled()&&t.props.onClick&&t.props.onClick(e)},t.handleMouseEnter=function(e){!t.isDisabled()&&t.props.onMouseEnter&&t.props.onMouseEnter(e)},t.handleOnKeyDown=function(e){var n,r;e.key===sI.Space&&(e.preventDefault(),e.key=sI.Enter),null===(r=(n=t.props).handleOnKeyDown)||void 0===r||r.call(n,e)},t.isSameDay=function(e){return SI(t.props.day,e)},t.isKeyboardSelected=function(){var e;if(t.props.disabledKeyboardNavigation)return!1;var n=t.props.selectsMultiple?null===(e=t.props.selectedDates)||void 0===e?void 0:e.some(function(e){return t.isSameDayOrWeek(e)}):t.isSameDayOrWeek(t.props.selected),r=t.props.preSelection&&t.isDisabled(t.props.preSelection);return!n&&t.isSameDayOrWeek(t.props.preSelection)&&!r},t.isDisabled=function(e){return void 0===e&&(e=t.props.day),II(e,{minDate:t.props.minDate,maxDate:t.props.maxDate,excludeDates:t.props.excludeDates,excludeDateIntervals:t.props.excludeDateIntervals,includeDateIntervals:t.props.includeDateIntervals,includeDates:t.props.includeDates,filterDate:t.props.filterDate,disabled:t.props.disabled})},t.isExcluded=function(){return PI(t.props.day,{excludeDates:t.props.excludeDates,excludeDateIntervals:t.props.excludeDateIntervals})},t.isStartOfWeek=function(){return SI(t.props.day,yI(t.props.day,t.props.locale,t.props.calendarStartDay))},t.isSameWeek=function(e){return t.props.showWeekPicker&&SI(e,yI(t.props.day,t.props.locale,t.props.calendarStartDay))},t.isSameDayOrWeek=function(e){return t.isSameDay(e)||t.isSameWeek(e)},t.getHighLightedClass=function(){var e=t.props,n=e.day,r=e.highlightDates;if(!r)return!1;var o=fI(n,"MM.dd.yyyy");return r.get(o)},t.getHolidaysClass=function(){var e,n=t.props,r=n.day,o=n.holidays;if(!o)return[void 0];var i=fI(r,"MM.dd.yyyy");return o.has(i)?[null===(e=o.get(i))||void 0===e?void 0:e.className]:[void 0]},t.isInRange=function(){var e=t.props,n=e.day,r=e.startDate,o=e.endDate;return!(!r||!o)&&EI(n,r,o)},t.isInSelectingRange=function(){var e,n=t.props,r=n.day,o=n.selectsStart,i=n.selectsEnd,a=n.selectsRange,s=n.selectsDisabledDaysInRange,l=n.startDate,c=n.swapRange,A=n.endDate,u=null!==(e=t.props.selectingDate)&&void 0!==e?e:t.props.preSelection;if(!(o||i||a)||!u||!s&&t.isDisabled())return!1;if(o&&A&&(hN(u,A)||jI(u,A)))return EI(r,u,A);if(i&&l&&(uU(u,l)||jI(u,l)))return EI(r,l,u);if(a&&l&&!A){if(jI(u,l))return EI(r,l,u);if(uU(u,l))return EI(r,l,u);if(c&&hN(u,l))return EI(r,u,l)}return!1},t.isSelectingRangeStart=function(){var e;if(!t.isInSelectingRange())return!1;var n=t.props,r=n.day,o=n.startDate,i=n.selectsStart,a=n.swapRange,s=n.selectsRange,l=null!==(e=t.props.selectingDate)&&void 0!==e?e:t.props.preSelection;return SI(r,i||s&&a&&o&&l&&hN(l,o)?l:o)},t.isSelectingRangeEnd=function(){var e;if(!t.isInSelectingRange())return!1;var n=t.props,r=n.day,o=n.endDate,i=n.selectsEnd,a=n.selectsRange,s=n.swapRange,l=n.startDate,c=null!==(e=t.props.selectingDate)&&void 0!==e?e:t.props.preSelection;return SI(r,i?c:a&&s&&l&&c?hN(c,l)?l:c:a?c:o)},t.isRangeStart=function(){var e=t.props,n=e.day,r=e.startDate,o=e.endDate;return!(!r||!o)&&SI(r,n)},t.isRangeEnd=function(){var e=t.props,n=e.day,r=e.startDate,o=e.endDate;return!(!r||!o)&&SI(o,n)},t.isWeekend=function(){var e=function(e,t){return NE(e,t?.in).getDay()}(t.props.day);return 0===e||6===e},t.isAfterMonth=function(){return void 0!==t.props.month&&(t.props.month+1)%12===KN(t.props.day)},t.isBeforeMonth=function(){return void 0!==t.props.month&&(KN(t.props.day)+1)%12===t.props.month},t.isCurrentDay=function(){return t.isSameDay(uI())},t.isSelected=function(){var e;return t.props.selectsMultiple?null===(e=t.props.selectedDates)||void 0===e?void 0:e.some(function(e){return t.isSameDayOrWeek(e)}):t.isSameDayOrWeek(t.props.selected)},t.getClassNames=function(e){return gh("react-datepicker__day",t.props.dayClassName?t.props.dayClassName(e):void 0,"react-datepicker__day--"+fI(t.props.day,"ddd",undefined),{"react-datepicker__day--disabled":t.isDisabled(),"react-datepicker__day--excluded":t.isExcluded(),"react-datepicker__day--selected":t.isSelected(),"react-datepicker__day--keyboard-selected":t.isKeyboardSelected(),"react-datepicker__day--range-start":t.isRangeStart(),"react-datepicker__day--range-end":t.isRangeEnd(),"react-datepicker__day--in-range":t.isInRange(),"react-datepicker__day--in-selecting-range":t.isInSelectingRange(),"react-datepicker__day--selecting-range-start":t.isSelectingRangeStart(),"react-datepicker__day--selecting-range-end":t.isSelectingRangeEnd(),"react-datepicker__day--today":t.isCurrentDay(),"react-datepicker__day--weekend":t.isWeekend(),"react-datepicker__day--outside-month":t.isAfterMonth()||t.isBeforeMonth()},t.getHighLightedClass(),t.getHolidaysClass())},t.getAriaLabel=function(){var e=t.props,n=e.day,r=e.ariaLabelPrefixWhenEnabled,o=void 0===r?"Choose":r,i=e.ariaLabelPrefixWhenDisabled,a=void 0===i?"Not available":i,s=t.isDisabled()||t.isExcluded()?a:o;return"".concat(s," ").concat(fI(n,"PPPP",t.props.locale))},t.getTitle=function(){var e=t.props,n=e.day,r=e.holidays,o=void 0===r?new Map:r,i=e.excludeDates,a=fI(n,"MM.dd.yyyy"),s=[];return o.has(a)&&s.push.apply(s,o.get(a).holidayNames),t.isExcluded()&&s.push(null==i?void 0:i.filter(function(e){return e instanceof Date?SI(e,n):SI(null==e?void 0:e.date,n)}).map(function(e){if(!(e instanceof Date))return null==e?void 0:e.message})),s.join(", ")},t.getTabIndex=function(){var e=t.props.selected,n=t.props.preSelection;return(!t.props.showWeekPicker||!t.props.showWeekNumber&&t.isStartOfWeek())&&(t.isKeyboardSelected()||t.isSameDay(e)&&SI(n,e))?0:-1},t.handleFocusDay=function(){var e;t.shouldFocusDay()&&(null===(e=t.dayEl.current)||void 0===e||e.focus({preventScroll:!0}))},t.renderDayContents=function(){return t.props.monthShowsDuplicateDaysEnd&&t.isAfterMonth()||t.props.monthShowsDuplicateDaysStart&&t.isBeforeMonth()?null:t.props.renderDayContents?t.props.renderDayContents(dU(t.props.day),t.props.day):dU(t.props.day)},t.render=function(){return n.createElement("div",{ref:t.dayEl,className:t.getClassNames(t.props.day),onKeyDown:t.handleOnKeyDown,onClick:t.handleClick,onMouseEnter:t.props.usePointerEvent?void 0:t.handleMouseEnter,onPointerEnter:t.props.usePointerEvent?t.handleMouseEnter:void 0,tabIndex:t.getTabIndex(),"aria-label":t.getAriaLabel(),role:"gridcell",title:t.getTitle(),"aria-disabled":t.isDisabled(),"aria-current":t.isCurrentDay()?"date":void 0,"aria-selected":t.isSelected()||t.isInRange()},t.renderDayContents(),""!==t.getTitle()&&n.createElement("span",{className:"overlay"},t.getTitle()))},t}return oI(t,e),t.prototype.componentDidMount=function(){this.handleFocusDay()},t.prototype.componentDidUpdate=function(){this.handleFocusDay()},t.prototype.shouldFocusDay=function(){var e=!1;return 0===this.getTabIndex()&&this.isSameDay(this.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(e=!0),this.props.inline&&!this.props.shouldFocusDayInline&&(e=!1),this.isDayActiveElement()&&(e=!0),this.isDuplicateDay()&&(e=!1)),e},t.prototype.isDayActiveElement=function(){var e,t,n;return(null===(t=null===(e=this.props.containerRef)||void 0===e?void 0:e.current)||void 0===t?void 0:t.contains(document.activeElement))&&(null===(n=document.activeElement)||void 0===n?void 0:n.classList.contains("react-datepicker__day"))},t.prototype.isDuplicateDay=function(){return this.props.monthShowsDuplicateDaysEnd&&this.isAfterMonth()||this.props.monthShowsDuplicateDaysStart&&this.isBeforeMonth()},t}(n.Component),dP=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.weekNumberEl=(0,n.createRef)(),t.handleClick=function(e){t.props.onClick&&t.props.onClick(e)},t.handleOnKeyDown=function(e){var n,r;e.key===sI.Space&&(e.preventDefault(),e.key=sI.Enter),null===(r=(n=t.props).handleOnKeyDown)||void 0===r||r.call(n,e)},t.isKeyboardSelected=function(){return!t.props.disabledKeyboardNavigation&&!SI(t.props.date,t.props.selected)&&SI(t.props.date,t.props.preSelection)},t.getTabIndex=function(){return t.props.showWeekPicker&&t.props.showWeekNumber&&(t.isKeyboardSelected()||SI(t.props.date,t.props.selected)&&SI(t.props.preSelection,t.props.selected))?0:-1},t.handleFocusWeekNumber=function(e){var n=!1;0===t.getTabIndex()&&!(null==e?void 0:e.isInputFocused)&&SI(t.props.date,t.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(n=!0),t.props.inline&&!t.props.shouldFocusDayInline&&(n=!1),t.props.containerRef&&t.props.containerRef.current&&t.props.containerRef.current.contains(document.activeElement)&&document.activeElement&&document.activeElement.classList.contains("react-datepicker__week-number")&&(n=!0)),n&&t.weekNumberEl.current&&t.weekNumberEl.current.focus({preventScroll:!0})},t}return oI(t,e),Object.defineProperty(t,"defaultProps",{get:function(){return{ariaLabelPrefix:"week "}},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.handleFocusWeekNumber()},t.prototype.componentDidUpdate=function(e){this.handleFocusWeekNumber(e)},t.prototype.render=function(){var e=this.props,r=e.weekNumber,o=e.isWeekDisabled,i=e.ariaLabelPrefix,a=void 0===i?t.defaultProps.ariaLabelPrefix:i,s=e.onClick,l={"react-datepicker__week-number":!0,"react-datepicker__week-number--clickable":!!s&&!o,"react-datepicker__week-number--selected":!!s&&SI(this.props.date,this.props.selected)};return n.createElement("div",{ref:this.weekNumberEl,className:gh(l),"aria-label":"".concat(a," ").concat(this.props.weekNumber),onClick:this.handleClick,onKeyDown:this.handleOnKeyDown,tabIndex:this.getTabIndex(),role:"gridcell"},r)},t}(n.Component),pP=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.isDisabled=function(e){return II(e,{minDate:r.props.minDate,maxDate:r.props.maxDate,excludeDates:r.props.excludeDates,excludeDateIntervals:r.props.excludeDateIntervals,includeDateIntervals:r.props.includeDateIntervals,includeDates:r.props.includeDates,filterDate:r.props.filterDate})},r.handleDayClick=function(e,t){r.props.onDayClick&&r.props.onDayClick(e,t)},r.handleDayMouseEnter=function(e){r.props.onDayMouseEnter&&r.props.onDayMouseEnter(e)},r.handleWeekClick=function(e,n,o){for(var i,a,s,l=new Date(e),c=0;c<7;c++){var A=new Date(e);if(A.setDate(A.getDate()+c),!r.isDisabled(A)){l=A;break}}"function"==typeof r.props.onWeekSelect&&r.props.onWeekSelect(l,n,o),r.props.showWeekPicker&&r.handleDayClick(l,o),(null!==(i=r.props.shouldCloseOnSelect)&&void 0!==i?i:t.defaultProps.shouldCloseOnSelect)&&(null===(s=(a=r.props).setOpen)||void 0===s||s.call(a,!1))},r.formatWeekNumber=function(e){return r.props.formatWeekNumber?r.props.formatWeekNumber(e):function(e){return XF(e)}(e)},r.isWeekDisabled=function(){for(var e=r.startOfWeek(),t=eN(e,6),n=new Date(e);n<=t;){if(!r.isDisabled(n))return!1;n=eN(n,1)}return!0},r.renderDays=function(){var e=r.startOfWeek(),o=[],i=r.formatWeekNumber(e);if(r.props.showWeekNumber){var a=r.props.onWeekSelect||r.props.showWeekPicker?r.handleWeekClick.bind(r,e,i):void 0;o.push(n.createElement(dP,iI({key:"W"},t.defaultProps,r.props,{weekNumber:i,isWeekDisabled:r.isWeekDisabled(),date:e,onClick:a})))}return o.concat([0,1,2,3,4,5,6].map(function(o){var i=eN(e,o);return n.createElement(uP,iI({},t.defaultProps,r.props,{ariaLabelPrefixWhenEnabled:r.props.chooseDayAriaLabelPrefix,ariaLabelPrefixWhenDisabled:r.props.disabledDayAriaLabelPrefix,key:i.valueOf(),day:i,onClick:r.handleDayClick.bind(r,i),onMouseEnter:r.handleDayMouseEnter.bind(r,i)}))}))},r.startOfWeek=function(){return yI(r.props.day,r.props.locale,r.props.calendarStartDay)},r.isKeyboardSelected=function(){return!r.props.disabledKeyboardNavigation&&!SI(r.startOfWeek(),r.props.selected)&&SI(r.startOfWeek(),r.props.preSelection)},r}return oI(t,e),Object.defineProperty(t,"defaultProps",{get:function(){return{shouldCloseOnSelect:!0}},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e={"react-datepicker__week":!0,"react-datepicker__week--selected":SI(this.startOfWeek(),this.props.selected),"react-datepicker__week--keyboard-selected":this.isKeyboardSelected()},t=this.props.weekClassName?this.props.weekClassName(this.startOfWeek()):void 0;return n.createElement("div",{className:gh(e,t),role:"row"},this.renderDays())},t}(n.Component),fP="two_columns",hP="three_columns",mP="four_columns",gP=((cP={})[fP]={grid:[[0,1],[2,3],[4,5],[6,7],[8,9],[10,11]],verticalNavigationOffset:2},cP[hP]={grid:[[0,1,2],[3,4,5],[6,7,8],[9,10,11]],verticalNavigationOffset:3},cP[mP]={grid:[[0,1,2,3],[4,5,6,7],[8,9,10,11]],verticalNavigationOffset:4},cP);function yP(e,t){return e?mP:t?fP:hP}var wP=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.MONTH_REFS=aI([],Array(12),!0).map(function(){return(0,n.createRef)()}),t.QUARTER_REFS=aI([],Array(4),!0).map(function(){return(0,n.createRef)()}),t.isDisabled=function(e){return II(e,{minDate:t.props.minDate,maxDate:t.props.maxDate,excludeDates:t.props.excludeDates,excludeDateIntervals:t.props.excludeDateIntervals,includeDateIntervals:t.props.includeDateIntervals,includeDates:t.props.includeDates,filterDate:t.props.filterDate,disabled:t.props.disabled})},t.isExcluded=function(e){return PI(e,{excludeDates:t.props.excludeDates,excludeDateIntervals:t.props.excludeDateIntervals})},t.handleDayClick=function(e,n){var r,o;
vendor: 12,421 bytes, line 102
102null===(o=(r=t.props).onDayClick)||void 0===o||o.call(r,e,n,t.props.orderInDisplay)},t.handleDayMouseEnter=function(e){var n,r;null===(r=(n=t.props).onDayMouseEnter)||void 0===r||r.call(n,e)},t.handleMouseLeave=function(){var e,n;null===(n=(e=t.props).onMouseLeave)||void 0===n||n.call(e)},t.isRangeStartMonth=function(e){var n=t.props,r=n.day,o=n.startDate,i=n.endDate;return!(!o||!i)&&CI(MN(r,e),o)},t.isRangeStartQuarter=function(e){var n=t.props,r=n.day,o=n.startDate,i=n.endDate;return!(!o||!i)&&kI(HN(r,e),o)},t.isRangeEndMonth=function(e){var n=t.props,r=n.day,o=n.startDate,i=n.endDate;return!(!o||!i)&&CI(MN(r,e),i)},t.isRangeEndQuarter=function(e){var n=t.props,r=n.day,o=n.startDate,i=n.endDate;return!(!o||!i)&&kI(HN(r,e),i)},t.isInSelectingRangeMonth=function(e){var n,r=t.props,o=r.day,i=r.selectsStart,a=r.selectsEnd,s=r.selectsRange,l=r.startDate,c=r.endDate,A=null!==(n=t.props.selectingDate)&&void 0!==n?n:t.props.preSelection;return!(!(i||a||s)||!A)&&(i&&c?TI(A,c,e,o):(a&&l||!(!s||!l||c))&&TI(l,A,e,o))},t.isSelectingMonthRangeStart=function(e){var n;if(!t.isInSelectingRangeMonth(e))return!1;var r=t.props,o=r.day,i=r.startDate,a=r.selectsStart,s=MN(o,e),l=null!==(n=t.props.selectingDate)&&void 0!==n?n:t.props.preSelection;return CI(s,a?l:i)},t.isSelectingMonthRangeEnd=function(e){var n;if(!t.isInSelectingRangeMonth(e))return!1;var r=t.props,o=r.day,i=r.endDate,a=r.selectsEnd,s=r.selectsRange,l=MN(o,e),c=null!==(n=t.props.selectingDate)&&void 0!==n?n:t.props.preSelection;return CI(l,a||s?c:i)},t.isInSelectingRangeQuarter=function(e){var n,r=t.props,o=r.day,i=r.selectsStart,a=r.selectsEnd,s=r.selectsRange,l=r.startDate,c=r.endDate,A=null!==(n=t.props.selectingDate)&&void 0!==n?n:t.props.preSelection;return!(!(i||a||s)||!A)&&(i&&c?HI(A,c,e,o):(a&&l||!(!s||!l||c))&&HI(l,A,e,o))},t.isWeekInMonth=function(e){var n=t.props.day,r=eN(e,6);return CI(e,n)||CI(r,n)},t.isCurrentMonth=function(e,t){return zN(e)===zN(uI())&&t===KN(uI())},t.isCurrentQuarter=function(e,t){return zN(e)===zN(uI())&&t===VN(uI())},t.isSelectedMonth=function(e,t,n){return KN(n)===t&&zN(e)===zN(n)},t.isSelectMonthInList=function(e,n,r){return r.some(function(r){return t.isSelectedMonth(e,n,r)})},t.isSelectedQuarter=function(e,t,n){return VN(n)===t&&zN(e)===zN(n)},t.isSelectQuarterInList=function(e,n,r){return r.some(function(r){return t.isSelectedQuarter(e,n,r)})},t.isMonthSelected=function(){var e=t.props,n=e.day,r=e.selected,o=e.selectedDates,i=e.selectsMultiple,a=KN(n);return i?null==o?void 0:o.some(function(e){return t.isSelectedMonth(n,a,e)}):!!r&&t.isSelectedMonth(n,a,r)},t.isQuarterSelected=function(){var e=t.props,n=e.day,r=e.selected,o=e.selectedDates,i=e.selectsMultiple,a=VN(n);return i?null==o?void 0:o.some(function(e){return t.isSelectedQuarter(n,a,e)}):!!r&&t.isSelectedQuarter(n,a,r)},t.renderWeeks=function(){if(!pI(t.props.day))return[];for(var e=[],r=t.props.fixedHeight,o=0,i=!1,a=yI(wI(t.props.day),t.props.locale,t.props.calendarStartDay),s=t.props.selected?function(e){return t.props.showWeekPicker?yI(e,t.props.locale,t.props.calendarStartDay):t.props.selected}(t.props.selected):void 0,l=t.props.preSelection?function(e){return t.props.showWeekPicker?yI(e,t.props.locale,t.props.calendarStartDay):t.props.preSelection}(t.props.preSelection):void 0;e.push(n.createElement(pP,iI({},t.props,{ariaLabelPrefix:t.props.weekAriaLabelPrefix,key:o,day:a,month:KN(t.props.day),onDayClick:t.handleDayClick,onDayMouseEnter:t.handleDayMouseEnter,selected:s,preSelection:l,showWeekNumber:t.props.showWeekNumbers}))),!i;){o++,a=pU(a,1);var c=r&&o>=6,A=!r&&!t.isWeekInMonth(a);if(c||A){if(!t.props.peekNextMonth)break;i=!0}}return e},t.onMonthClick=function(e,n){var r=t.isMonthDisabledForLabelDate(n),o=r.isDisabled,i=r.labelDate;o||t.handleDayClick(wI(i),e)},t.onMonthMouseEnter=function(e){var n=t.isMonthDisabledForLabelDate(e),r=n.isDisabled,o=n.labelDate;r||t.handleDayMouseEnter(wI(o))},t.handleMonthNavigation=function(e,n){var r,o,i,a;null===(o=(r=t.props).setPreSelection)||void 0===o||o.call(r,n),null===(a=null===(i=t.MONTH_REFS[e])||void 0===i?void 0:i.current)||void 0===a||a.focus()},t.handleKeyboardNavigation=function(e,n,r){var o,i=t.props,a=i.selected,s=i.preSelection,l=i.setPreSelection,c=i.minDate,A=i.maxDate,u=i.showFourColumnMonthYearPicker,d=i.showTwoColumnMonthYearPicker;if(s){var p=yP(u,d),f=t.getVerticalOffset(p),h=null===(o=gP[p])||void 0===o?void 0:o.grid,m=function(e,t,n){var r,o,i=t,a=n;switch(e){case sI.ArrowRight:i=YN(t,1),a=11===n?0:n+1;break;case sI.ArrowLeft:i=XN(t,1),a=0===n?11:n-1;break;case sI.ArrowUp:i=XN(t,f),a=(null===(r=null==h?void 0:h[0])||void 0===r?void 0:r.includes(n))?n+12-f:n-f;break;case sI.ArrowDown:i=YN(t,f),a=(null===(o=null==h?void 0:h[h.length-1])||void 0===o?void 0:o.includes(n))?n-12+f:n+f}return{newCalculatedDate:i,newCalculatedMonth:a}};if(n!==sI.Enter){var g=function(e,n,r){for(var o=e,i=!1,a=0,s=m(o,n,r),l=s.newCalculatedDate,u=s.newCalculatedMonth;!i;){if(a>=40){l=n,u=r;break}var d;c&&l<c&&(o=sI.ArrowRight,l=(d=m(o,l,u)).newCalculatedDate,u=d.newCalculatedMonth),A&&l>A&&(o=sI.ArrowLeft,l=(d=m(o,l,u)).newCalculatedDate,u=d.newCalculatedMonth),DI(l,t.props)?(l=(d=m(o,l,u)).newCalculatedDate,u=d.newCalculatedMonth):i=!0,a++}return{newCalculatedDate:l,newCalculatedMonth:u}}(n,s,r),y=g.newCalculatedDate,w=g.newCalculatedMonth;switch(n){case sI.ArrowRight:case sI.ArrowLeft:case sI.ArrowUp:case sI.ArrowDown:t.handleMonthNavigation(w,y)}}else t.isMonthDisabled(r)||(t.onMonthClick(e,r),null==l||l(a))}},t.getVerticalOffset=function(e){var t,n;return null!==(n=null===(t=gP[e])||void 0===t?void 0:t.verticalNavigationOffset)&&void 0!==n?n:0},t.onMonthKeyDown=function(e,n){var r=t.props,o=r.disabledKeyboardNavigation,i=r.handleOnMonthKeyDown,a=e.key;a!==sI.Tab&&e.preventDefault(),o||t.handleKeyboardNavigation(e,a,n),i&&i(e)},t.onQuarterClick=function(e,n){var r=HN(t.props.day,n);OI(r,t.props)||t.handleDayClick(bI(r),e)},t.onQuarterMouseEnter=function(e){var n=HN(t.props.day,e);OI(n,t.props)||t.handleDayMouseEnter(bI(n))},t.handleQuarterNavigation=function(e,n){var r,o,i,a;t.isDisabled(n)||t.isExcluded(n)||(null===(o=(r=t.props).setPreSelection)||void 0===o||o.call(r,n),null===(a=null===(i=t.QUARTER_REFS[e-1])||void 0===i?void 0:i.current)||void 0===a||a.focus())},t.onQuarterKeyDown=function(e,n){var r,o,i=e.key;if(!t.props.disabledKeyboardNavigation)switch(i){case sI.Enter:t.onQuarterClick(e,n),null===(o=(r=t.props).setPreSelection)||void 0===o||o.call(r,t.props.selected);break;case sI.ArrowRight:if(!t.props.preSelection)break;t.handleQuarterNavigation(4===n?1:n+1,ZN(t.props.preSelection,1));break;case sI.ArrowLeft:if(!t.props.preSelection)break;t.handleQuarterNavigation(1===n?4:n-1,eU(t.props.preSelection,1))}},t.isMonthDisabledForLabelDate=function(e){var n,r=t.props,o=r.day,i=r.disabled,a=r.minDate,s=r.maxDate,l=r.excludeDates,c=r.includeDates,A=MN(o,e);return i?{isDisabled:!0,labelDate:MN(o,e)}:{isDisabled:null!==(n=(a||s||l||c)&&QI(A,t.props))&&void 0!==n&&n,labelDate:A}},t.isMonthDisabled=function(e){return t.isMonthDisabledForLabelDate(e).isDisabled},t.getMonthClassNames=function(e){var n=t.props,r=n.day,o=n.startDate,i=n.endDate,a=n.preSelection,s=n.monthClassName,l=s?s(MN(r,e)):void 0,c=t.getSelection();return gh("react-datepicker__month-text","react-datepicker__month-".concat(e),l,{"react-datepicker__month-text--disabled":t.isMonthDisabled(e),"react-datepicker__month-text--selected":c?t.isSelectMonthInList(r,e,c):void 0,"react-datepicker__month-text--keyboard-selected":!t.props.disabledKeyboardNavigation&&a&&t.isSelectedMonth(r,e,a)&&!t.isMonthSelected()&&!t.isMonthDisabled(e),"react-datepicker__month-text--in-selecting-range":t.isInSelectingRangeMonth(e),"react-datepicker__month-text--in-range":o&&i?TI(o,i,e,r):void 0,"react-datepicker__month-text--range-start":t.isRangeStartMonth(e),"react-datepicker__month-text--range-end":t.isRangeEndMonth(e),"react-datepicker__month-text--selecting-range-start":t.isSelectingMonthRangeStart(e),"react-datepicker__month-text--selecting-range-end":t.isSelectingMonthRangeEnd(e),"react-datepicker__month-text--today":t.isCurrentMonth(r,e)})},t.getTabIndex=function(e){if(null==t.props.preSelection)return"-1";var n=KN(t.props.preSelection),r=t.isMonthDisabledForLabelDate(n).isDisabled;return e!==n||r||t.props.disabledKeyboardNavigation?"-1":"0"},t.getQuarterTabIndex=function(e){if(null==t.props.preSelection)return"-1";var n=VN(t.props.preSelection),r=OI(t.props.day,t.props);return e!==n||r||t.props.disabledKeyboardNavigation?"-1":"0"},t.getAriaLabel=function(e){var n=t.props,r=n.chooseDayAriaLabelPrefix,o=void 0===r?"Choose":r,i=n.disabledDayAriaLabelPrefix,a=void 0===i?"Not available":i,s=n.day,l=n.locale,c=MN(s,e),A=t.isDisabled(c)||t.isExcluded(c)?a:o;return"".concat(A," ").concat(fI(c,"MMMM yyyy",l))},t.getQuarterClassNames=function(e){var n=t.props,r=n.day,o=n.startDate,i=n.endDate,a=n.minDate,s=n.maxDate,l=n.excludeDates,c=n.includeDates,A=n.filterDate,u=n.preSelection,d=n.disabledKeyboardNavigation,p=n.disabled,f=(a||s||l||c||A||p)&&OI(HN(r,e),t.props),h=t.getSelection();return gh("react-datepicker__quarter-text","react-datepicker__quarter-".concat(e),{"react-datepicker__quarter-text--disabled":f,"react-datepicker__quarter-text--selected":h?t.isSelectQuarterInList(r,e,h):void 0,"react-datepicker__quarter-text--keyboard-selected":!d&&u&&t.isSelectedQuarter(r,e,u)&&!t.isQuarterSelected()&&!f,"react-datepicker__quarter-text--in-selecting-range":t.isInSelectingRangeQuarter(e),"react-datepicker__quarter-text--in-range":o&&i?HI(o,i,e,r):void 0,"react-datepicker__quarter-text--range-start":t.isRangeStartQuarter(e),"react-datepicker__quarter-text--range-end":t.isRangeEndQuarter(e),"react-datepicker__quarter-text--today":t.isCurrentQuarter(r,e)})},t.getMonthContent=function(e){var n=t.props,r=n.showFullMonthYearPicker,o=n.renderMonthContent,i=n.locale,a=n.day,s=LI(e,i),l=UI(e,i);return o?o(e,s,l,a):r?l:s},t.getQuarterContent=function(e){var n,r,o,i=t.props,a=i.renderQuarterContent,s=(r=e,o=i.locale,fI(HN(uI(),r),"QQQ",o));return null!==(n=null==a?void 0:a(e,s))&&void 0!==n?n:s},t.renderMonths=function(){var e,r=t.props,o=r.showTwoColumnMonthYearPicker,i=r.showFourColumnMonthYearPicker,a=r.day,s=r.selected,l=null===(e=gP[yP(i,o)])||void 0===e?void 0:e.grid;return null==l?void 0:l.map(function(e,r){return n.createElement("div",{className:"react-datepicker__month-wrapper",key:r},e.map(function(e,r){return n.createElement("div",{ref:t.MONTH_REFS[e],key:r,onClick:function(n){t.onMonthClick(n,e)},onKeyDown:function(n){lP(n)&&(n.preventDefault(),n.key=sI.Enter),t.onMonthKeyDown(n,e)},onMouseEnter:t.props.usePointerEvent?void 0:function(){return t.onMonthMouseEnter(e)},onPointerEnter:t.props.usePointerEvent?function(){return t.onMonthMouseEnter(e)}:void 0,tabIndex:Number(t.getTabIndex(e)),className:t.getMonthClassNames(e),"aria-disabled":t.isMonthDisabled(e),role:"option","aria-label":t.getAriaLabel(e),"aria-current":t.isCurrentMonth(a,e)?"date":void 0,"aria-selected":s?t.isSelectedMonth(a,e,s):void 0},t.getMonthContent(e))}))})},t.renderQuarters=function(){var e=t.props,r=e.day,o=e.selected;return n.createElement("div",{className:"react-datepicker__quarter-wrapper"},[1,2,3,4].map(function(e,i){return n.createElement("div",{key:i,ref:t.QUARTER_REFS[i],role:"option",onClick:function(n){t.onQuarterClick(n,e)},onKeyDown:function(n){t.onQuarterKeyDown(n,e)},onMouseEnter:t.props.usePointerEvent?void 0:function(){return t.onQuarterMouseEnter(e)},onPointerEnter:t.props.usePointerEvent?function(){return t.onQuarterMouseEnter(e)}:void 0,className:t.getQuarterClassNames(e),"aria-selected":o?t.isSelectedQuarter(r,e,o):void 0,tabIndex:Number(t.getQuarterTabIndex(e)),"aria-current":t.isCurrentQuarter(r,e)?"date":void 0},t.getQuarterContent(e))}))},t.getClassNames=function(){var e=t.props,n=e.selectingDate,r=e.selectsStart,o=e.selectsEnd;return gh("react-datepicker__month",{"react-datepicker__month--selecting-range":n&&(r||o)},{"react-datepicker__monthPicker":e.showMonthYearPicker},{"react-datepicker__quarterPicker":e.showQuarterYearPicker},{"react-datepicker__weekPicker":e.showWeekPicker})},t}return oI(t,e),t.prototype.getSelection=function(){var e=this.props,t=e.selected,n=e.selectedDates;return e.selectsMultiple?n:t?[t]:void 0},t.prototype.render=function(){var e=this.props,t=e.showMonthYearPicker,r=e.showQuarterYearPicker,o=e.day,i=e.ariaLabelPrefix,a=void 0===i?"Month "
vendor: 15,420 bytes, line 102
102:i,s=a?a.trim()+" ":"",l=pI(o)?"".concat(s).concat(fI(o,"MMMM, yyyy",this.props.locale)):"";return t||r?n.createElement("div",{className:this.getClassNames(),onMouseLeave:this.props.usePointerEvent?void 0:this.handleMouseLeave,onPointerLeave:this.props.usePointerEvent?this.handleMouseLeave:void 0,"aria-label":l,role:"listbox"},t?this.renderMonths():this.renderQuarters()):n.createElement("div",{role:"table"},this.props.dayNamesHeader&&n.createElement("div",{role:"rowgroup"},this.props.dayNamesHeader),n.createElement("div",{className:this.getClassNames(),onMouseLeave:this.props.usePointerEvent?void 0:this.handleMouseLeave,onPointerLeave:this.props.usePointerEvent?this.handleMouseLeave:void 0,"aria-label":l,role:"rowgroup"},this.renderWeeks()))},t}(n.Component),vP=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.monthOptionButtonsRef={},t.isSelectedMonth=function(e){return t.props.month===e},t.handleOptionKeyDown=function(e,n){var r;switch(n.key){case"Enter":n.preventDefault(),t.onChange(e);break;case"Escape":n.preventDefault(),t.props.onCancel();break;case"ArrowUp":case"ArrowDown":n.preventDefault();var o=(e+("ArrowUp"===n.key?-1:1)+t.props.monthNames.length)%t.props.monthNames.length;null===(r=t.monthOptionButtonsRef[o])||void 0===r||r.focus()}},t.renderOptions=function(){return t.monthOptionButtonsRef={},t.props.monthNames.map(function(e,r){return n.createElement("div",{ref:function(e){t.monthOptionButtonsRef[r]=e,t.isSelectedMonth(r)&&(null==e||e.focus())},role:"button",tabIndex:0,className:t.isSelectedMonth(r)?"react-datepicker__month-option react-datepicker__month-option--selected_month":"react-datepicker__month-option",key:e,onClick:t.onChange.bind(t,r),onKeyDown:t.handleOptionKeyDown.bind(t,r),"aria-selected":t.isSelectedMonth(r)?"true":void 0},t.isSelectedMonth(r)?n.createElement("span",{className:"react-datepicker__month-option--selected"},"✓"):"",e)})},t.onChange=function(e){return t.props.onChange(e)},t.handleClickOutside=function(){return t.props.onCancel()},t}return oI(t,e),t.prototype.render=function(){return n.createElement(cI,{className:"react-datepicker__month-dropdown",onClickOutside:this.handleClickOutside},this.renderOptions())},t}(n.Component),bP=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={dropdownVisible:!1},t.renderSelectOptions=function(e){return e.map(function(e,t){return n.createElement("option",{key:e,value:t},e)})},t.renderSelectMode=function(e){return n.createElement("select",{value:t.props.month,className:"react-datepicker__month-select",onChange:function(e){return t.onChange(parseInt(e.target.value))}},t.renderSelectOptions(e))},t.renderReadView=function(e,r){return n.createElement("button",{key:"read",type:"button",style:{visibility:e?"visible":"hidden"},className:"react-datepicker__month-read-view",onClick:t.toggleDropdown},n.createElement("span",{className:"react-datepicker__month-read-view--down-arrow"}),n.createElement("span",{className:"react-datepicker__month-read-view--selected-month"},r[t.props.month]))},t.renderDropdown=function(e){return n.createElement(vP,iI({key:"dropdown"},t.props,{monthNames:e,onChange:t.onChange,onCancel:t.toggleDropdown}))},t.renderScrollMode=function(e){var n=t.state.dropdownVisible,r=[t.renderReadView(!n,e)];return n&&r.unshift(t.renderDropdown(e)),r},t.onChange=function(e){t.toggleDropdown(),e!==t.props.month&&t.props.onChange(e)},t.toggleDropdown=function(){return t.setState({dropdownVisible:!t.state.dropdownVisible})},t}return oI(t,e),t.prototype.render=function(){var e,t=this,r=[0,1,2,3,4,5,6,7,8,9,10,11].map(this.props.useShortMonthInDropdown?function(e){return LI(e,t.props.locale)}:function(e){return UI(e,t.props.locale)});switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode(r);break;case"select":e=this.renderSelectMode(r)}return n.createElement("div",{className:"react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--".concat(this.props.dropdownMode)},e)},t}(n.Component);function xP(e,t){for(var n=[],r=wI(e),o=wI(t);!uU(r,o);)n.push(uI(r)),r=YN(r,1);return n}var _P=function(e){function t(t){var r=e.call(this,t)||this;return r.renderOptions=function(){return r.state.monthYearsList.map(function(e){var t=fU(e),o=BI(r.props.date,e)&&CI(r.props.date,e);return n.createElement("div",{className:o?"react-datepicker__month-year-option--selected_month-year":"react-datepicker__month-year-option",key:t,onClick:r.onChange.bind(r,t),"aria-selected":o?"true":void 0},o?n.createElement("span",{className:"react-datepicker__month-year-option--selected"},"✓"):"",fI(e,r.props.dateFormat,r.props.locale))})},r.onChange=function(e){return r.props.onChange(e)},r.handleClickOutside=function(){r.props.onCancel()},r.state={monthYearsList:xP(r.props.minDate,r.props.maxDate)},r}return oI(t,e),t.prototype.render=function(){var e=gh({"react-datepicker__month-year-dropdown":!0,"react-datepicker__month-year-dropdown--scrollable":this.props.scrollableMonthYearDropdown});return n.createElement(cI,{className:e,onClickOutside:this.handleClickOutside},this.renderOptions())},t}(n.Component),BP=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={dropdownVisible:!1},t.renderSelectOptions=function(){for(var e=wI(t.props.minDate),r=wI(t.props.maxDate),o=[];!uU(e,r);){var i=fU(e);o.push(n.createElement("option",{key:i,value:i},fI(e,t.props.dateFormat,t.props.locale))),e=YN(e,1)}return o},t.onSelectChange=function(e){t.onChange(parseInt(e.target.value))},t.renderSelectMode=function(){return n.createElement("select",{value:fU(wI(t.props.date)),className:"react-datepicker__month-year-select",onChange:t.onSelectChange},t.renderSelectOptions())},t.renderReadView=function(e){var r=fI(t.props.date,t.props.dateFormat,t.props.locale);return n.createElement("div",{key:"read",style:{visibility:e?"visible":"hidden"},className:"react-datepicker__month-year-read-view",onClick:t.toggleDropdown},n.createElement("span",{className:"react-datepicker__month-year-read-view--down-arrow"}),n.createElement("span",{className:"react-datepicker__month-year-read-view--selected-month-year"},r))},t.renderDropdown=function(){return n.createElement(_P,iI({key:"dropdown"},t.props,{onChange:t.onChange,onCancel:t.toggleDropdown}))},t.renderScrollMode=function(){var e=t.state.dropdownVisible,n=[t.renderReadView(!e)];return e&&n.unshift(t.renderDropdown()),n},t.onChange=function(e){t.toggleDropdown();var n=uI(e);BI(t.props.date,n)&&CI(t.props.date,n)||t.props.onChange(n)},t.toggleDropdown=function(){return t.setState({dropdownVisible:!t.state.dropdownVisible})},t}return oI(t,e),t.prototype.render=function(){var e;switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode();break;case"select":e=this.renderSelectMode()}return n.createElement("div",{className:"react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--".concat(this.props.dropdownMode)},e)},t}(n.Component),CP=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.state={height:null},r.scrollToTheSelectedTime=function(){requestAnimationFrame(function(){var e,n,o;r.list&&(r.list.scrollTop=null!==(o=r.centerLi&&t.calcCenterPosition(r.props.monthRef?r.props.monthRef.clientHeight-(null!==(n=null===(e=r.header)||void 0===e?void 0:e.clientHeight)&&void 0!==n?n:0):r.list.clientHeight,r.centerLi))&&void 0!==o?o:0)})},r.handleClick=function(e){var t,n;(r.props.minTime||r.props.maxTime)&&VI(e,r.props)||(r.props.excludeTimes||r.props.includeTimes||r.props.filterTime)&&$I(e,r.props)||null===(n=(t=r.props).onChange)||void 0===n||n.call(t,e)},r.isSelectedTime=function(e){return r.props.selected&&iP(r.props.selected,e)},r.isDisabledTime=function(e){return(r.props.minTime||r.props.maxTime)&&VI(e,r.props)||(r.props.excludeTimes||r.props.includeTimes||r.props.filterTime)&&$I(e,r.props)},r.liClasses=function(e){var n,o=["react-datepicker__time-list-item",r.props.timeClassName?r.props.timeClassName(e):void 0];return r.isSelectedTime(e)&&o.push("react-datepicker__time-list-item--selected"),r.isDisabledTime(e)&&o.push("react-datepicker__time-list-item--disabled"),r.props.injectTimes&&(3600*qN(e)+60*WN(e)+GN(e))%(60*(null!==(n=r.props.intervals)&&void 0!==n?n:t.defaultProps.intervals))!=0&&o.push("react-datepicker__time-list-item--injected"),o.join(" ")},r.handleOnKeyDown=function(e,t){var n,o;e.key===sI.Space&&(e.preventDefault(),e.key=sI.Enter),(e.key===sI.ArrowUp||e.key===sI.ArrowLeft)&&e.target instanceof HTMLElement&&e.target.previousSibling&&(e.preventDefault(),e.target.previousSibling instanceof HTMLElement&&e.target.previousSibling.focus()),(e.key===sI.ArrowDown||e.key===sI.ArrowRight)&&e.target instanceof HTMLElement&&e.target.nextSibling&&(e.preventDefault(),e.target.nextSibling instanceof HTMLElement&&e.target.nextSibling.focus()),e.key===sI.Enter&&r.handleClick(t),null===(o=(n=r.props).handleOnKeyDown)||void 0===o||o.call(n,e)},r.renderTimes=function(){for(var e,o=[],i="string"==typeof r.props.format?r.props.format:"p",a=null!==(e=r.props.intervals)&&void 0!==e?e:t.defaultProps.intervals,s=r.props.selected||r.props.openToDate||uI(),l=gI(s),c=r.props.injectTimes&&r.props.injectTimes.sort(function(e,t){return e.getTime()-t.getTime()}),A=60*function(e){var t=new Date(e.getFullYear(),e.getMonth(),e.getDate()),n=new Date(e.getFullYear(),e.getMonth(),e.getDate(),24);return Math.round((+n-+t)/36e5)}(s),u=A/a,d=0;d<u;d++){var p=cU(l,d*a);if(o.push(p),c){var f=tP(l,p,d,a,c);o=o.concat(f)}}var h=o.reduce(function(e,t){return t.getTime()<=s.getTime()?t:e},o[0]);return o.map(function(e){return n.createElement("li",{key:e.valueOf(),onClick:r.handleClick.bind(r,e),className:r.liClasses(e),ref:function(t){e===h&&(r.centerLi=t)},onKeyDown:function(t){r.handleOnKeyDown(t,e)},tabIndex:e===h?0:-1,role:"option","aria-selected":r.isSelectedTime(e)?"true":void 0,"aria-disabled":r.isDisabledTime(e)?"true":void 0},fI(e,i,r.props.locale))})},r.renderTimeCaption=function(){return!1===r.props.showTimeCaption?n.createElement(n.Fragment,null):n.createElement("div",{className:"react-datepicker__header react-datepicker__header--time ".concat(r.props.showTimeSelectOnly?"react-datepicker__header--time--only":""),ref:function(e){r.header=e}},n.createElement("div",{className:"react-datepicker-time__header"},r.props.timeCaption))},r}return oI(t,e),Object.defineProperty(t,"defaultProps",{get:function(){return{intervals:30,todayButton:null,timeCaption:"Time",showTimeCaption:!0}},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.scrollToTheSelectedTime(),this.observeDatePickerHeightChanges()},t.prototype.componentWillUnmount=function(){var e;null===(e=this.resizeObserver)||void 0===e||e.disconnect()},t.prototype.observeDatePickerHeightChanges=function(){var e=this,t=this.props.monthRef;this.updateContainerHeight(),t&&(this.resizeObserver=new ResizeObserver(function(){e.updateContainerHeight()}),this.resizeObserver.observe(t))},t.prototype.updateContainerHeight=function(){this.props.monthRef&&this.header&&this.setState({height:this.props.monthRef.clientHeight-this.header.clientHeight})},t.prototype.render=function(){var e,r=this,o=this.state.height;return n.createElement("div",{className:"react-datepicker__time-container ".concat((null!==(e=this.props.todayButton)&&void 0!==e?e:t.defaultProps.todayButton)?"react-datepicker__time-container--with-today-button":"")},this.renderTimeCaption(),n.createElement("div",{className:"react-datepicker__time"},n.createElement("div",{className:"react-datepicker__time-box"},n.createElement("ul",{className:"react-datepicker__time-list",ref:function(e){r.list=e},style:o?{height:o}:{},role:"listbox","aria-label":this.props.timeCaption},this.renderTimes()))))},t.calcCenterPosition=function(e,t){return t.offsetTop-(e/2-t.clientHeight/2)},t}(n.Component),kP=function(e){function t(t){var r=e.call(this,t)||this;return r.YEAR_REFS=aI([],Array(r.props.yearItemNumber),!0).map(function(){return(0,n.createRef)()}),r.isDisabled=function(e){return II(e,{minDate:r.props.minDate,maxDate:r.props.maxDate,excludeDates:r.props.excludeDates,includeDates:r.props.includeDates,filterDate:r.props.filterDate})},r.isExcluded=function(e){return PI(e,{excludeDates:r.props.excludeDates})},r.selectingDate=function(){var e;return null!==(e=r.props.selectingDate)&&void 0!==e?e:r.props.preSelection},r.updateFocusOnPaginate=function(e){window.requestAnimationFrame(function(){var t,n;null===(n=null===(t=r.YEAR_REFS[e])||void 0===t?void 0:t.current)||void 0===n||n.focus()})},r.handleYearClick=function(e,t){r.props.onDayClick&&r.props.onDayClick(e,t)},r.handleYearNavigation=function(e,t){var n,o,i,a,s=r.props,l=s.date,c=s.yearItemNumber;if(void 0!==l&&void 0!==c){var A=rP(l,c).startPeriod;r.isDisabled(t)||r.isExcluded(t)||(null===(o=(n=r.props).setPreSelection)||void 0===o||o.call(n,t),e-A<0?r.updateFocusOnPaginate(c-(A-e)):e-A>=c?r.updateFocusOnPaginate(Math.abs(c-(e-A))):null===(a=null===(i=r.YEAR_REFS[e-A])||void 0===i?void 0:i.current)||void 0===a||a.focus())}},r.isSameDay=function(e,t){return SI(e,t)},r.isCurrentYear=function(e){return e===zN(uI())},r.isRangeStart=function(e){return r.props.startDate&&r.props.endDate&&BI(hU(uI(),e),r.props.startDate)},r.isRangeEnd=function(e){return r.props.startDate&&r.props.endDate&&BI(hU(uI(),e),r.props.endDate)},r.isInRange=function(e){return RI(e,r.props.startDate,r.props.endDate)},r.isInSelectingRange=function(e){var t=r.props,n=t.selectsStart,o=t.selectsEnd,i=t.selectsRange,a=t.startDate,s=t.endDate;return!(!(n||o||i)||!r.selectingDate())&&(n&&s?RI(e,r.selectingDate(),s):(o&&a||!(!i||!a||s))&&RI(e,a,r.selectingDate()))},r.isSelectingRangeStart=function(e){var t;if(!r.isInSelectingRange(e))return!1;var n=r.props,o=n.startDate,i=n.selectsStart;return BI(hU(uI(),e),i?null!==(t=r.selectingDate())&&void 0!==t?t:null:null!=o?o:null)},r.isSelectingRangeEnd=function(e){var t;if(!r.isInSelectingRange(e))return!1;var n=r.props,o=n.endDate,i=n.selectsEnd,a=n.selectsRange;return BI(hU(uI(),e),i||a?null!==(t=r.selectingDate())&&void 0!==t?t:null:null!=o?o:null)},r.isKeyboardSelected=function(e){if(!r.props.disabledKeyboardNavigation&&void 0!==r.props.date&&null!=r.props.preSelection){var t=r.props,n=t.minDate,o=t.maxDate,i=t.excludeDates,a=t.includeDates,s=t.filterDate,l=t.selected,c=vI(hU(r.props.date,e)),A=(n||o||i||a||s)&&MI(e,r.props),u=!!l&&SI(c,vI(l)),d=SI(c,vI(r.props.preSelection));return!r.props.inline&&!u&&d&&!A}},r.isSelectedYear=function(e){var t=r.props,n=t.selectsMultiple,o=t.selected,i=t.selectedDates;return n?null==i?void 0:i.some(function(t){return e===zN(t)}):!!o&&e===zN(o)},r.onYearClick=function(e,t){var n=r.props.date;void 0!==n&&r.handleYearClick(vI(hU(n,t)),e)},r.onYearKeyDown=function(e,t){var n,o,i=e.key,a=r.props,s=a.date,l=a.yearItemNumber,c=a.handleOnKeyDown;if(i!==sI.Tab&&e.preventDefault(),!r.props.disabledKeyboardNavigation)switch(i){case sI.Enter:if(null==r.props.selected)break;r.onYearClick(e,t),null===(o=(n=r.props).setPreSelection)||void 0===o||o.call(n,r.props.selected);break;case sI.ArrowRight:if(null==r.props.preSelection)break;r.handleYearNavigation(t+1,nU(r.props.preSelection,1));break;case sI.ArrowLeft:if(null==r.props.preSelection)break;r.handleYearNavigation(t-1,rU(r.props.preSelection,1));break;case sI.ArrowUp:if(void 0===s||void 0===l||null==r.props.preSelection)break;var A=rP(s,l).startPeriod;
102if((p=t-(d=3))<A){var u=l%d;t>=A&&t<A+u?d=u:d+=u,p=t-d}r.handleYearNavigation(p,rU(r.props.preSelection,d));break;case sI.ArrowDown:if(void 0===s||void 0===l||null==r.props.preSelection)break;var d,p,f=rP(s,l).endPeriod;(p=t+(d=3))>f&&(u=l%d,t<=f&&t>f-u?d=u:d+=u,p=t+d),r.handleYearNavigation(p,nU(r.props.preSelection,d))}c&&c(e)},r.getYearClassNames=function(e){var t=r.props,n=t.date,o=t.disabled,i=t.minDate,a=t.maxDate,s=t.excludeDates,l=t.includeDates,c=t.filterDate,A=t.yearClassName;return gh("react-datepicker__year-text","react-datepicker__year-".concat(e),n?null==A?void 0:A(hU(n,e)):void 0,{"react-datepicker__year-text--selected":r.isSelectedYear(e),"react-datepicker__year-text--disabled":(i||a||s||l||c||o)&&MI(e,r.props),"react-datepicker__year-text--keyboard-selected":r.isKeyboardSelected(e),"react-datepicker__year-text--range-start":r.isRangeStart(e),"react-datepicker__year-text--range-end":r.isRangeEnd(e),"react-datepicker__year-text--in-range":r.isInRange(e),"react-datepicker__year-text--in-selecting-range":r.isInSelectingRange(e),"react-datepicker__year-text--selecting-range-start":r.isSelectingRangeStart(e),"react-datepicker__year-text--selecting-range-end":r.isSelectingRangeEnd(e),"react-datepicker__year-text--today":r.
vendor: 12,411 bytes, line 102
102isCurrentYear(e)})},r.getYearTabIndex=function(e){if(r.props.disabledKeyboardNavigation||null==r.props.preSelection)return"-1";var t=zN(r.props.preSelection),n=MI(e,r.props);return e!==t||n?"-1":"0"},r.getYearContent=function(e){return r.props.renderYearContent?r.props.renderYearContent(e):e},r}return oI(t,e),t.prototype.render=function(){var e=this,t=[],r=this.props,o=r.date,i=r.yearItemNumber,a=r.onYearMouseEnter,s=r.onYearMouseLeave;if(void 0===o)return null;for(var l=rP(o,i),c=l.startPeriod,A=l.endPeriod,u=function(r){t.push(n.createElement("div",{ref:d.YEAR_REFS[r-c],onClick:function(t){e.onYearClick(t,r)},onKeyDown:function(t){lP(t)&&(t.preventDefault(),t.key=sI.Enter),e.onYearKeyDown(t,r)},tabIndex:Number(d.getYearTabIndex(r)),className:d.getYearClassNames(r),onMouseEnter:d.props.usePointerEvent?void 0:function(e){return a(e,r)},onPointerEnter:d.props.usePointerEvent?function(e){return a(e,r)}:void 0,onMouseLeave:d.props.usePointerEvent?void 0:function(e){return s(e,r)},onPointerLeave:d.props.usePointerEvent?function(e){return s(e,r)}:void 0,key:r,"aria-current":d.isCurrentYear(r)?"date":void 0},d.getYearContent(r)))},d=this,p=c;p<=A;p++)u(p);return n.createElement("div",{className:"react-datepicker__year"},n.createElement("div",{className:"react-datepicker__year-wrapper",onMouseLeave:this.props.usePointerEvent?void 0:this.props.clearSelectingDate,onPointerLeave:this.props.usePointerEvent?this.props.clearSelectingDate:void 0},t))},t}(n.Component);function SP(e,t,n,r){for(var o=[],i=0;i<2*t+1;i++){var a=e+t-i,s=!0;n&&(s=zN(n)<=a),r&&s&&(s=zN(r)>=a),s&&o.push(a)}return o}var jP=function(e){function t(t){var r=e.call(this,t)||this;r.yearOptionButtonsRef={},r.handleOptionKeyDown=function(e,t){var n;switch(t.key){case"Enter":t.preventDefault(),r.onChange(e);break;case"Escape":t.preventDefault(),r.props.onCancel();break;case"ArrowUp":case"ArrowDown":t.preventDefault();var o=e+("ArrowUp"===t.key?1:-1);r.yearOptionButtonsRef[o]&&(null===(n=r.yearOptionButtonsRef[o])||void 0===n||n.focus())}},r.renderOptions=function(){r.yearOptionButtonsRef={};var e=r.props.year,t=r.state.yearsList.map(function(t){return n.createElement("div",{ref:function(n){r.yearOptionButtonsRef[t]=n,t===e&&(null==n||n.focus())},role:"button",tabIndex:0,className:e===t?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:t,onClick:r.onChange.bind(r,t),onKeyDown:r.handleOptionKeyDown.bind(r,t),"aria-selected":e===t?"true":void 0},e===t?n.createElement("span",{className:"react-datepicker__year-option--selected"},"✓"):"",t)}),o=r.props.minDate?zN(r.props.minDate):null,i=r.props.maxDate?zN(r.props.maxDate):null;return i&&r.state.yearsList.find(function(e){return e===i})||t.unshift(n.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:r.incrementYears},n.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),o&&r.state.yearsList.find(function(e){return e===o})||t.push(n.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:r.decrementYears},n.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),t},r.onChange=function(e){r.props.onChange(e)},r.handleClickOutside=function(){r.props.onCancel()},r.shiftYears=function(e){var t=r.state.yearsList.map(function(t){return t+e});r.setState({yearsList:t})},r.incrementYears=function(){return r.shiftYears(1)},r.decrementYears=function(){return r.shiftYears(-1)};var o=t.yearDropdownItemNumber,i=t.scrollableYearDropdown,a=o||(i?10:5);return r.state={yearsList:SP(r.props.year,a,r.props.minDate,r.props.maxDate)},r.dropdownRef=(0,n.createRef)(),r}return oI(t,e),t.prototype.componentDidMount=function(){var e=this.dropdownRef.current;if(e){var t=e.children?Array.from(e.children):null,n=t?t.find(function(e){return e.ariaSelected}):null;e.scrollTop=n&&n instanceof HTMLElement?n.offsetTop+(n.clientHeight-e.clientHeight)/2:(e.scrollHeight-e.clientHeight)/2}},t.prototype.render=function(){var e=gh({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return n.createElement(cI,{className:e,containerRef:this.dropdownRef,onClickOutside:this.handleClickOutside},this.renderOptions())},t}(n.Component),EP=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={dropdownVisible:!1},t.renderSelectOptions=function(){for(var e=t.props.minDate?zN(t.props.minDate):1900,r=t.props.maxDate?zN(t.props.maxDate):2100,o=[],i=e;i<=r;i++)o.push(n.createElement("option",{key:i,value:i},i));return o},t.onSelectChange=function(e){t.onChange(parseInt(e.target.value))},t.renderSelectMode=function(){return n.createElement("select",{value:t.props.year,className:"react-datepicker__year-select",onChange:t.onSelectChange},t.renderSelectOptions())},t.renderReadView=function(e){return n.createElement("button",{key:"read",type:"button",style:{visibility:e?"visible":"hidden"},className:"react-datepicker__year-read-view",onClick:t.toggleDropdown},n.createElement("span",{className:"react-datepicker__year-read-view--down-arrow"}),n.createElement("span",{className:"react-datepicker__year-read-view--selected-year"},t.props.year))},t.renderDropdown=function(){return n.createElement(jP,iI({key:"dropdown"},t.props,{onChange:t.onChange,onCancel:t.toggleDropdown}))},t.renderScrollMode=function(){var e=t.state.dropdownVisible,n=[t.renderReadView(!e)];return e&&n.unshift(t.renderDropdown()),n},t.onChange=function(e){t.toggleDropdown(),e!==t.props.year&&t.props.onChange(e)},t.toggleDropdown=function(e){t.setState({dropdownVisible:!t.state.dropdownVisible},function(){t.props.adjustDateOnChange&&t.handleYearChange(t.props.date,e)})},t.handleYearChange=function(e,n){var r;null===(r=t.onSelect)||void 0===r||r.call(t,e,n),t.setOpen()},t.onSelect=function(e,n){var r,o;null===(o=(r=t.props).onSelect)||void 0===o||o.call(r,e,n)},t.setOpen=function(){var e,n;null===(n=(e=t.props).setOpen)||void 0===n||n.call(e,!0)},t}return oI(t,e),t.prototype.render=function(){var e;switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode();break;case"select":e=this.renderSelectMode()}return n.createElement("div",{className:"react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--".concat(this.props.dropdownMode)},e)},t}(n.Component),FP=["react-datepicker__year-select","react-datepicker__month-select","react-datepicker__month-year-select"],NP="react-datepicker-ignore-onclickoutside",UP=function(e){function t(r){var o=e.call(this,r)||this;return o.monthContainer=void 0,o.handleClickOutside=function(e){o.props.onClickOutside(e)},o.setClickOutsideRef=function(){return o.containerRef.current},o.handleDropdownFocus=function(e){var t,n,r,i;r=e.target,i=(r.className||"").split(/\s+/),FP.some(function(e){return i.indexOf(e)>=0})&&(null===(n=(t=o.props).onDropdownFocus)||void 0===n||n.call(t,e))},o.getDateInView=function(){var e=o.props,t=e.preSelection,n=e.selected,r=e.openToDate,i=XI(o.props),a=JI(o.props),s=uI();return r||n||t||(i&&hN(s,i)?i:a&&uU(s,a)?a:s)},o.increaseMonth=function(){o.setState(function(e){return{date:YN(e.date,1)}},function(){return o.handleMonthChange(o.state.date)})},o.decreaseMonth=function(){o.setState(function(e){return{date:XN(e.date,1)}},function(){return o.handleMonthChange(o.state.date)})},o.handleDayClick=function(e,t,n){o.props.onSelect(e,t,n),o.props.setPreSelection&&o.props.setPreSelection(e)},o.handleDayMouseEnter=function(e){o.setState({selectingDate:e}),o.props.onDayMouseEnter&&o.props.onDayMouseEnter(e)},o.handleMonthMouseLeave=function(){o.setState({selectingDate:void 0}),o.props.onMonthMouseLeave&&o.props.onMonthMouseLeave()},o.handleYearMouseEnter=function(e,t){o.setState({selectingDate:hU(uI(),t)}),o.props.onYearMouseEnter&&o.props.onYearMouseEnter(e,t)},o.handleYearMouseLeave=function(e,t){o.props.onYearMouseLeave&&o.props.onYearMouseLeave(e,t)},o.handleYearChange=function(e){var t,n,r,i;null===(n=(t=o.props).onYearChange)||void 0===n||n.call(t,e),o.setState({isRenderAriaLiveMessage:!0}),o.props.adjustDateOnChange&&(o.props.onSelect(e),null===(i=(r=o.props).setOpen)||void 0===i||i.call(r,!0)),o.props.setPreSelection&&o.props.setPreSelection(e)},o.getEnabledPreSelectionDateForMonth=function(e){if(!II(e,o.props))return e;for(var t=wI(e),n=function(e,t,n){const[r,o]=mN(n?.in,e,t),i=mU(r,o),a=Math.abs(yN(r,o));r.setDate(r.getDate()-i*a);const s=i*(a-Number(mU(r,o)===-i));return 0===s?0:s}(function(e){return ON(e)}(e),t),r=null,i=0;i<=n;i++){var a=eN(t,i);if(!II(a,o.props)){r=a;break}}return r},o.handleMonthChange=function(e){var t,n,r,i=null!==(t=o.getEnabledPreSelectionDateForMonth(e))&&void 0!==t?t:e;o.handleCustomMonthChange(i),o.props.adjustDateOnChange&&(o.props.onSelect(i),null===(r=(n=o.props).setOpen)||void 0===r||r.call(n,!0)),o.props.setPreSelection&&o.props.setPreSelection(i)},o.handleCustomMonthChange=function(e){var t,n;null===(n=(t=o.props).onMonthChange)||void 0===n||n.call(t,e),o.setState({isRenderAriaLiveMessage:!0})},o.handleMonthYearChange=function(e){o.handleYearChange(e),o.handleMonthChange(e)},o.changeYear=function(e){o.setState(function(t){return{date:hU(t.date,Number(e))}},function(){return o.handleYearChange(o.state.date)})},o.changeMonth=function(e){o.setState(function(t){return{date:MN(t.date,Number(e))}},function(){return o.handleMonthChange(o.state.date)})},o.changeMonthYear=function(e){o.setState(function(t){return{date:hU(MN(t.date,KN(e)),zN(e))}},function(){return o.handleMonthYearChange(o.state.date)})},o.header=function(e){if(void 0===e&&(e=o.state.date),!pI(e))return[];var t=o.props.disabled,r=yI(e,o.props.locale,o.props.calendarStartDay),i=[];return o.props.showWeekNumbers&&i.push(n.createElement("div",{key:"W",className:"react-datepicker__day-name ".concat(t?"react-datepicker__day-name--disabled":""),role:"columnheader"},n.createElement("span",{className:"react-datepicker__sr-only"},"Week number"),n.createElement("span",{"aria-hidden":"true"},o.props.weekLabel||"#"))),i.concat([0,1,2,3,4,5,6].map(function(e){var i=eN(r,e),a=o.formatWeekday(i,o.props.locale),s=o.props.weekDayClassName?o.props.weekDayClassName(i):void 0;return n.createElement("div",{key:e,role:"columnheader",className:gh("react-datepicker__day-name",s,t?"react-datepicker__day-name--disabled":"")},n.createElement("span",{className:"react-datepicker__sr-only"},fI(i,"EEEE",o.props.locale)),n.createElement("span",{"aria-hidden":"true"},a))}))},o.formatWeekday=function(e,t){return o.props.formatWeekDay?function(e,t,n){return t(fI(e,"EEEE",n))}(e,o.props.formatWeekDay,t):o.props.useWeekdaysShort?function(e,t){return fI(e,"EEE",t)}(e,t):function(e,t){return fI(e,"EEEEEE",t)}(e,t)},o.decreaseYear=function(){o.setState(function(e){var n;return{date:rU(e.date,o.props.showYearPicker?null!==(n=o.props.yearItemNumber)&&void 0!==n?n:t.defaultProps.yearItemNumber:1)}},function(){return o.handleYearChange(o.state.date)})},o.clearSelectingDate=function(){o.setState({selectingDate:void 0})},o.renderPreviousButton=function(){var e,r,i;if(!o.props.renderCustomHeader){var a,s=null!==(e=o.props.monthsShown)&&void 0!==e?e:t.defaultProps.monthsShown,l=o.props.showPreviousMonths?s-1:0,c=null!==(r=o.props.monthSelectedIn)&&void 0!==r?r:l,A=XN(o.state.date,c);switch(!0){case o.props.disabled:a=!0;break;case o.props.showMonthYearPicker:a=GI(o.state.date,o.props);break;case o.props.showYearPicker:a=function(e,t){var n=void 0===t?{}:t,r=n.minDate,o=n.yearItemNumber,i=void 0===o?12:o,a=rP(vI(rU(e,i)),i).endPeriod,s=r&&zN(r);return s&&s>a||!1}(o.state.date,o.props);break;case o.props.showQuarterYearPicker:a=function(e,t){var n=void 0===t?{}:t,r=n.minDate,o=n.includeDates,i=eU(wN(e),1);return r&&tU(r,i)>0||o&&o.every(function(e){return tU(e,i)>0})||!1}(o.state.date,o.props);break;default:a=qI(A,o.props)}if(((null!==(i=o.props.forceShowMonthNavigation)&&void 0!==i?i:t.defaultProps.forceShowMonthNavigation)||o.props.showDisabledMonthNavigation||!a)&&!o.props.showTimeSelectOnly){var u=["react-datepicker__navigation","react-datepicker__navigation--previous"],d=o.decreaseMonth;(o.props.showMonthYearPicker||o.props.showQuarterYearPicker||o.props.showYearPicker)&&(d=o.decreaseYear),a&&o.props.showDisabledMonthNavigation&&(u.pu
vendor: 6,853 bytes, line 102
102sh("react-datepicker__navigation--previous--disabled"),d=void 0);var p=o.props.showMonthYearPicker||o.props.showQuarterYearPicker||o.props.showYearPicker,f=o.props,h=f.previousMonthButtonLabel,m=void 0===h?t.defaultProps.previousMonthButtonLabel:h,g=f.previousYearButtonLabel,y=void 0===g?t.defaultProps.previousYearButtonLabel:g,w=o.props,v=w.previousMonthAriaLabel,b=void 0===v?"string"==typeof m?m:"Previous Month":v,x=w.previousYearAriaLabel,_=void 0===x?"string"==typeof y?y:"Previous Year":x;return n.createElement("button",{type:"button",className:u.join(" "),onClick:d,onKeyDown:o.props.handleOnKeyDown,"aria-label":p?_:b},n.createElement("span",{className:["react-datepicker__navigation-icon","react-datepicker__navigation-icon--previous"].join(" ")},p?y:m))}}},o.increaseYear=function(){o.setState(function(e){var n;return{date:nU(e.date,o.props.showYearPicker?null!==(n=o.props.yearItemNumber)&&void 0!==n?n:t.defaultProps.yearItemNumber:1)}},function(){return o.handleYearChange(o.state.date)})},o.renderNextButton=function(){var e;if(!o.props.renderCustomHeader){var r;switch(!0){case o.props.disabled:r=!0;break;case o.props.showMonthYearPicker:r=YI(o.state.date,o.props);break;case o.props.showYearPicker:r=function(e,t){var n=void 0===t?{}:t,r=n.maxDate,o=n.yearItemNumber,i=void 0===o?12:o,a=rP(nU(e,i),i).startPeriod,s=r&&zN(r);return s&&s<a||!1}(o.state.date,o.props);break;case o.props.showQuarterYearPicker:r=function(e,t){var n=void 0===t?{}:t,r=n.maxDate,o=n.includeDates,i=ZN($N(e),1);return r&&tU(i,r)>0||o&&o.every(function(e){return tU(i,e)>0})||!1}(o.state.date,o.props);break;default:r=WI(o.state.date,o.props)}if(((null!==(e=o.props.forceShowMonthNavigation)&&void 0!==e?e:t.defaultProps.forceShowMonthNavigation)||o.props.showDisabledMonthNavigation||!r)&&!o.props.showTimeSelectOnly){var i=["react-datepicker__navigation","react-datepicker__navigation--next"];o.props.showTimeSelect&&i.push("react-datepicker__navigation--next--with-time"),o.props.todayButton&&i.push("react-datepicker__navigation--next--with-today-button");var a=o.increaseMonth;(o.props.showMonthYearPicker||o.props.showQuarterYearPicker||o.props.showYearPicker)&&(a=o.increaseYear),r&&o.props.showDisabledMonthNavigation&&(i.push("react-datepicker__navigation--next--disabled"),a=void 0);var s=o.props.showMonthYearPicker||o.props.showQuarterYearPicker||o.props.showYearPicker,l=o.props,c=l.nextMonthButtonLabel,A=void 0===c?t.defaultProps.nextMonthButtonLabel:c,u=l.nextYearButtonLabel,d=void 0===u?t.defaultProps.nextYearButtonLabel:u,p=o.props,f=p.nextMonthAriaLabel,h=void 0===f?"string"==typeof A?A:"Next Month":f,m=p.nextYearAriaLabel,g=void 0===m?"string"==typeof d?d:"Next Year":m;return n.createElement("button",{type:"button",className:i.join(" "),onClick:a,onKeyDown:o.props.handleOnKeyDown,"aria-label":s?g:h},n.createElement("span",{className:["react-datepicker__navigation-icon","react-datepicker__navigation-icon--next"].join(" ")},s?d:A))}}},o.renderCurrentMonth=function(e){void 0===e&&(e=o.state.date);var t=["react-datepicker__current-month"];return o.props.showYearDropdown&&t.push("react-datepicker__current-month--hasYearDropdown"),o.props.showMonthDropdown&&t.push("react-datepicker__current-month--hasMonthDropdown"),o.props.showMonthYearDropdown&&t.push("react-datepicker__current-month--hasMonthYearDropdown"),n.createElement("h2",{className:t.join(" ")},pI(e)?fI(e,o.props.dateFormat,o.props.locale):"")},o.renderYearDropdown=function(e){if(void 0===e&&(e=!1),o.props.showYearDropdown&&!e)return n.createElement(EP,iI({},t.defaultProps,o.props,{date:o.state.date,onChange:o.changeYear,year:zN(o.state.date)}))},o.renderMonthDropdown=function(e){if(void 0===e&&(e=!1),o.props.showMonthDropdown&&!e)return n.createElement(bP,iI({},t.defaultProps,o.props,{month:KN(o.state.date),onChange:o.changeMonth}))},o.renderMonthYearDropdown=function(e){if(void 0===e&&(e=!1),o.props.showMonthYearDropdown&&!e)return n.createElement(BP,iI({},t.defaultProps,o.props,{date:o.state.date,onChange:o.changeMonthYear}))},o.handleTodayButtonClick=function(e){o.props.onSelect(xI(),e),o.props.setPreSelection&&o.props.setPreSelection(xI())},o.renderTodayButton=function(){if(o.props.todayButton&&!o.props.showTimeSelectOnly)return n.createElement("div",{className:"react-datepicker__today-button",onClick:o.handleTodayButtonClick},o.props.todayButton)},o.renderDayNamesHeader=function(e){return n.createElement("div",{className:"react-datepicker__day-names",role:"row"},o.header(e))},o.renderDefaultHeader=function(e){var t=e.monthDate,r=e.i;return n.createElement("div",{className:"react-datepicker__header ".concat(o.props.showTimeSelect?"react-datepicker__header--has-time-select":"")},o.renderCurrentMonth(t),n.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(o.props.dropdownMode),onFocus:o.handleDropdownFocus},o.renderMonthDropdown(0!==r),o.renderMonthYearDropdown(0!==r),o.renderYearDropdown(0!==r)))},o.renderCustomHeader=function(e){var t,r,i=e.monthDate,a=e.i;if(o.props.showTimeSelect&&!o.state.monthContainer||o.props.showTimeSelectOnly)return null;var s,l=o.props,c=l.showYearPicker,A=l.yearItemNumber;if(c){var u=rP(i,A);s={startYear:u.startPeriod,endYear:u.endPeriod}}var d=qI(o.state.date,o.props),p=WI(o.state.date,o.props),f=GI(o.state.date,o.props),h=YI(o.state.date,o.props);return n.createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:o.props.onDropdownFocus},null===(r=(t=o.props).renderCustomHeader)||void 0===r?void 0:r.call(t,iI(iI(iI({},o.state),c&&{visibleYearsRange:s}),{customHeaderCount:a,monthDate:i,changeMonth:o.changeMonth,changeYear:o.changeYear,decreaseMonth:o.decreaseMonth,increaseMonth:o.increaseMonth,decreaseYear:o.decreaseYear,increaseYear:o.increaseYear,prevMonthButtonDisabled:d,nextMonthButtonDisabled:p,prevYearButtonDisabled:f,nextYearButtonDisabled:h})))},o.renderYearHeader=function(e){var r=e.monthDate,i=o.props,a=i.showYearPicker,s=i.yearItemNumber,l=rP(r,void 0===s?t.defaultProps.yearItemNumber:s),c=l.startPeriod,A=l.endPeriod;return n.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},a?"".concat(c," - ").concat(A):zN(r))},o.renderHeader=function(e){var t=e.monthDate,n=e.i,r={monthDate:t,i:void 0===n?0:n};switch(!0){case void 0!==o.props.renderCustomHeader:return o.renderCustomHeader(r);case o.props.showMonthYearPicker||o.props.showQuarterYearPicker||o.props.showYearPicker:return o.renderYearHeader(r);default:return o.renderDefaultHeader(r)}},o.renderMonths=function(){var e,r;if(!o.props.showTimeSelectOnly&&!o.props.showYearPicker){for(var i=[],a=null!==(e=o.props.monthsShown)&&void 0!==e?e:t.defaultProps.monthsShown,s=o.props.showPreviousMonths?a-1:0,l=o.props.showMonthYearPicker||o.props.showQuarterYearPicker?nU(o.state.date,
vendor: 5,453 bytes, line 102
102s):XN(o.state.date,s),c=null!==(r=o.props.monthSelectedIn)&&void 0!==r?r:s,A=0;A<a;++A){var u=A-c+s,d=o.props.showMonthYearPicker||o.props.showQuarterYearPicker?nU(l,u):YN(l,u),p="month-".concat(A),f=A<a-1,h=A>0;i.push(n.createElement("div",{key:p,ref:function(e){o.monthContainer=null!=e?e:void 0},className:"react-datepicker__month-container"},o.renderHeader({monthDate:d,i:A}),n.createElement(wP,iI({},t.defaultProps,o.props,{containerRef:o.containerRef,ariaLabelPrefix:o.props.monthAriaLabelPrefix,day:d,onDayClick:o.handleDayClick,handleOnKeyDown:o.props.handleOnDayKeyDown,handleOnMonthKeyDown:o.props.handleOnKeyDown,onDayMouseEnter:o.handleDayMouseEnter,onMouseLeave:o.handleMonthMouseLeave,orderInDisplay:A,selectingDate:o.state.selectingDate,monthShowsDuplicateDaysEnd:f,monthShowsDuplicateDaysStart:h,dayNamesHeader:o.renderDayNamesHeader(d)}))))}return i}},o.renderYears=function(){if(!o.props.showTimeSelectOnly)return o.props.showYearPicker?n.createElement("div",{className:"react-datepicker__year--container"},o.renderHeader({monthDate:o.state.date}),n.createElement(kP,iI({},t.defaultProps,o.props,{selectingDate:o.state.selectingDate,date:o.state.date,onDayClick:o.handleDayClick,clearSelectingDate:o.clearSelectingDate,onYearMouseEnter:o.handleYearMouseEnter,onYearMouseLeave:o.handleYearMouseLeave}))):void 0},o.renderTimeSection=function(){if(o.props.showTimeSelect&&(o.state.monthContainer||o.props.showTimeSelectOnly))return n.createElement(CP,iI({},t.defaultProps,o.props,{onChange:o.props.onTimeChange,format:o.props.timeFormat,intervals:o.props.timeIntervals,monthRef:o.state.monthContainer}))},o.renderInputTimeSection=function(){var e=o.props.selected?new Date(o.props.selected):void 0,r=e&&pI(e)&&Boolean(o.props.selected)?"".concat(nP(e.getHours()),":").concat(nP(e.getMinutes())):"";if(o.props.showTimeInput)return n.createElement(AP,iI({},t.defaultProps,o.props,{date:e,timeString:r,onChange:o.props.onTimeChange}))},o.renderAriaLiveRegion=function(){var e;if(!pI(o.state.date))return n.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"});var r,i=rP(o.state.date,null!==(e=o.props.yearItemNumber)&&void 0!==e?e:t.defaultProps.yearItemNumber),a=i.startPeriod,s=i.endPeriod;return r=o.props.showYearPicker?"".concat(a," - ").concat(s):o.props.showMonthYearPicker||o.props.showQuarterYearPicker?zN(o.state.date):"".concat(UI(KN(o.state.date),o.props.locale)," ").concat(zN(o.state.date)),n.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},o.state.isRenderAriaLiveMessage&&r)},o.renderChildren=function(){if(o.props.children)return n.createElement("div",{className:"react-datepicker__children-container"},o.props.children)},o.containerRef=(0,n.createRef)(),o.state={date:o.getDateInView(),selectingDate:void 0,monthContainer:void 0,isRenderAriaLiveMessage:!1},o}return oI(t,e),Object.defineProperty(t,"defaultProps",{get:function(){return{monthsShown:1,forceShowMonthNavigation:!1,outsideClickIgnoreClass:NP,timeCaption:"Time",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",yearItemNumber:12}},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.props.showTimeSelect&&(this.assignMonthContainer=void this.setState({monthContainer:this.monthContainer}))},t.prototype.componentDidUpdate=function(e){var t=this;if(!this.props.preSelection||!pI(this.props.preSelection)||SI(this.props.preSelection,e.preSelection)&&this.props.monthSelectedIn===e.monthSelectedIn)this.props.openToDate&&!SI(this.props.openToDate,e.openToDate)&&this.setState({date:this.props.openToDate});else{var n=!CI(this.state.date,this.props.preSelection);this.setState({date:this.props.preSelection},function(){return n&&t.handleCustomMonthChange(t.state.date)})}},t.prototype.render=function(){var e=this.props.container||lI;return n.createElement(cI,{onClickOutside:this.handleClickOutside,style:{display:"contents"},ignoreClass:this.props.outsideClickIgnoreClass},n.createElement("div",{style:{display:"contents"},ref:this.containerRef},n.createElement(e,{className:gh("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly}),showTime:this.props.showTimeSelect||this.props.showTimeInput,showTimeSelectOnly:this.props.showTimeSelectOnly,inline:this.props.inline},this.renderAriaLiveRegion(),this.renderPreviousButton(),this.renderNextButton(),this.renderMonths(),this.renderYears(),this.renderTodayButton(),this.renderTimeSection(),this.renderInputTimeSection(),this.renderChildren())))},t}(n.Component),LP=function(e){var t=e.icon,r=e.className,o=void 0===r?"":r,i=e.onClick,a="react-datepicker__calendar-icon";if("string"==typeof t)return n.createElement("i",{className:"".concat(a," ").concat(t," ").concat(o),"aria-hidden":"true",onClick:i});if(n.isValidElement(t)){var s=t;return n.cloneElement(s,{className:"".concat(s.props.className||""," ").concat(a," ").concat(o),onClick:function(e){"function"==typeof s.props.onClick&&s.props.onClick(e),"function"==typeof i&&i(e)}})}return n.createElement("svg",{className:"".concat(a," ").concat(o),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",onClick:i},n.createElement("path",{d:"M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 9
1026 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z"}))},IP=function(e){function t(t){var n=e.call(this,t)||this;return n.portalRoot=null,n.el=document.createElement("div"),n}return oI(t,e),t.prototype.componentDidMount=function(){this.portalRoot=(this.props.portalHost||document).getElementById(this.props.portalId),this.portalRoot||(this.portalRoot=document.createElement("div"),this.portalRoot.setAttribute("id",this.props.portalId),(this.props.portalHost||document.body).appendChild(this.portalRoot)),this.portalRoot.appendChild(this.el)},t.prototype.componentWillUnmount=function(){this.portalRoot&&this.portalRoot.removeChild(this.el)},t.prototype.render=function(){return qn.createPortal(this.props.children,this.el)},t}(n.Component),PP=function(e){return(e instanceof HTMLAnchorElement||!e.disabled)&&-1!==e.tabIndex},QP=function(e){function t(t){var r=e.call(this,t)||this;return r.getTabChildren=function(){var e;return Array.prototype.slice.call(null===(e=r.tabLoopRef.current)||void 0===e?void 0:e.querySelectorAll("[tabindex], a, button, input, select, textarea"),1,-1).filter(PP)},r.handleFocusStart=function(){var e=r.getTabChildren();e&&e.length>1&&e[e.length-1].focus()},r.handleFocusEnd=function(){var e=r.getTabChildren();e&&e.length>1&&e[0].focus()},r.tabLoopRef=(0,n.createRef)(),r}return oI(t,e),t.prototype.render=function(){var e;return(null!==(e=this.props.enableTabLoop)&&void 0!==e?e:t.defaultProps.enableTabLoop)?n.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},n.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:0,onFocus:this.handleFocusStart}),this.props.children,n.createElement("div",{className:"react-datepicker__tab-loop__end",tabIndex:0,onFocus:this.handleFocusEnd})):this.props.children},t.defaultProps={enableTabLoop:!0},t}(n.Component),TP=function(e){function t(t){var r,o="boolean"!=typeof t.hidePopper||t.hidePopper,i=(0,n.useRef)(null),a=nI(iI({open:!o,whileElementsMounted:IL,placement:t.popperPlacement,middleware:aI([$L({padding:15}),KL(10),VL({element:i})],null!==(r=t.popperModifiers)&&void 0!==r?r:[],!0)},t.popperProps)),s=iI(iI({},t),{hidePopper:o,popperProps:iI(iI({},a),{arrowRef:i})});return n.createElement(e,iI({},s))}return t.displayName="withFloating(".concat(e.displayName||e.name||"Component",")"),t}(function(e){var t=e.className,r=e.wrapperClassName,o=e.hidePopper,i=void 0===o||o,a=e.popperComponent,s=e.targetComponent,l=e.enableTabLoop,c=e.popperOnKeyDown,A=e.portalId,u=e.portalHost,d=e.popperProps,p=e.showArrow,f=void 0;if(!i){var h=gh("react-datepicker-popper",t);f=n.createElement(QP,{enableTabLoop:l},n.createElement("div",{ref:d.refs.setFloating,style:d.floatingStyles,className:h,"data-placement":d.placement,onKeyDown:c},a,p&&n.createElement(JL,{ref:d.arrowRef,context:d.context,fill:"currentColor",strokeWidth:1,height:8,width:16,style:{transform:"translateY(-1px)"},className:"react-datepicker__triangle"})))}e.popperContainer&&(f=(0,n.createElement)(e.popperContainer,{},f)),A&&!i&&(f=n.createElement(IP,{portalId:A,portalHost:u},f));var m=gh("react-datepicker-wrapper",r);return n.createElement(n.Fragment,null,n.createElement("div",{ref:d.refs.setReference,className:m},s),f)}),DP="Date input not valid.",OP=function(e){function t(r){var o=e.call(this,r)||this;return o.calendar=null,o.input=null,o.getPreSelection=function(){return o.props.openToDate?o.props.openToDate:o.props.selectsEnd&&o.props.startDate?o.props.startDate:o.props.selectsStart&&o.props.endDate?o.props.endDate:uI()},o.modifyHolidays=function(){var e;return null===(e=o.props.holidays)||void 0===e?void 0:e.reduce(function(e,t){var n=new Date(t.date);return pI(n)?aI(aI([],e,!0),[iI(iI({},t),{date:n})],!1):e},[])},o.calcInitialState=function(){var e,t=o.getPreSelection(),n=XI(o.props),r=JI(o.props),i=n&&hN(t,gI(n))?n:r&&uU(t,_I(r))?r:t;return{open:o.props.startOpen||!1,preventFocus:!1,inputValue:null,preSelection:null!==(e=o.props.selectsRange?o.props.startDate:o.props.selected)&&void 0!==e?e:i,highlightDates:ZI(o.props.highlightDates),focused:!1,shouldFocusDayInline:!1,isRenderAriaLiveMessage:!1,wasHidden:!1}},o.getInputValue=function(){var e,n=o.props,r=n.locale,i=n.startDate,a=n.endDate,s=n.rangeSeparator,l=n.selected,c=n.selectedDates,A=n.selectsMultiple,u=n.selectsRange,d=n.value,p=null!==(e=o.props.dateFormat)&&void 0!==e?e:t.defaultProps.dateFormat,f=o.state.inputValue;return"string"==typeof d?d:"string"==typeof f?f:u?function(e,t,n){if(!e&&!t)return"";var r=e?hI(e,n):"",o=t?hI(t,n):"",i=n.rangeSeparator||" - ";
vendor: 16,684 bytes, line 102
102return"".concat(r).concat(i).concat(o)}(i,a,{dateFormat:p,locale:r,rangeSeparator:s}):A?function(e,t){if(!(null==e?void 0:e.length))return"";var n=e[0]?hI(e[0],t):"";if(1===e.length)return n;if(2===e.length&&e[1]){var r=hI(e[1],t);return"".concat(n,", ").concat(r)}var o=e.length-1;return"".concat(n," (+").concat(o,")")}(null!=c?c:[],{dateFormat:p,locale:r}):hI(l,{dateFormat:p,locale:r})},o.resetHiddenStatus=function(){o.setState(iI(iI({},o.state),{wasHidden:!1}))},o.setHiddenStatus=function(){o.setState(iI(iI({},o.state),{wasHidden:!0}))},o.setHiddenStateOnVisibilityHidden=function(){"hidden"===document.visibilityState&&o.setHiddenStatus()},o.clearPreventFocusTimeout=function(){o.preventFocusTimeout&&clearTimeout(o.preventFocusTimeout)},o.setFocus=function(){var e,t;null===(t=null===(e=o.input)||void 0===e?void 0:e.focus)||void 0===t||t.call(e,{preventScroll:!0})},o.setBlur=function(){var e,t;null===(t=null===(e=o.input)||void 0===e?void 0:e.blur)||void 0===t||t.call(e),o.cancelFocusInput()},o.deferBlur=function(){requestAnimationFrame(function(){o.setBlur()})},o.setOpen=function(e,t){void 0===t&&(t=!1),o.setState({open:e,preSelection:e&&o.state.open?o.state.preSelection:o.calcInitialState().preSelection,lastPreSelectChange:MP},function(){e||o.setState(function(e){return{focused:!!t&&e.focused}},function(){!t&&o.deferBlur(),o.setState({inputValue:null})})})},o.inputOk=function(){return pN(o.state.preSelection)},o.isCalendarOpen=function(){return void 0===o.props.open?o.state.open&&!o.props.disabled&&!o.props.readOnly:o.props.open},o.handleFocus=function(e){var t,n,r=o.state.wasHidden,i=!r||o.state.open;r&&o.resetHiddenStatus(),o.state.preventFocus||(null===(n=(t=o.props).onFocus)||void 0===n||n.call(t,e),!i||o.props.preventOpenOnFocus||o.props.readOnly||o.setOpen(!0)),o.setState({focused:!0})},o.sendFocusBackToInput=function(){o.preventFocusTimeout&&o.clearPreventFocusTimeout(),o.setState({preventFocus:!0},function(){o.preventFocusTimeout=setTimeout(function(){o.setFocus(),o.setState({preventFocus:!1})})})},o.cancelFocusInput=function(){clearTimeout(o.inputFocusTimeout),o.inputFocusTimeout=void 0},o.deferFocusInput=function(){o.cancelFocusInput(),o.inputFocusTimeout=setTimeout(function(){return o.setFocus()},1)},o.handleDropdownFocus=function(){o.cancelFocusInput()},o.resetInputValue=function(){o.setState(iI(iI({},o.state),{inputValue:null}))},o.handleBlur=function(e){var t,n;(!o.state.open||o.props.withPortal||o.props.showTimeInput)&&(null===(n=(t=o.props).onBlur)||void 0===n||n.call(t,e)),o.resetInputValue(),o.state.open&&!1===o.props.open&&o.setOpen(!1),o.setState({focused:!1})},o.handleCalendarClickOutside=function(e){var t,n;o.props.inline||o.setOpen(!1),null===(n=(t=o.props).onClickOutside)||void 0===n||n.call(t,e),o.props.withPortal&&e.preventDefault()},o.handleChange=function(){for(var e,n,r,i,a,s=[],l=0;l<arguments.length;l++)s[l]=arguments[l];var c=s[0];if(!o.props.onChangeRaw||(o.props.onChangeRaw.apply(o,s),c&&"function"==typeof c.isDefaultPrevented&&!c.isDefaultPrevented())){o.setState({inputValue:(null==c?void 0:c.target)instanceof HTMLInputElement?c.target.value:null,lastPreSelectChange:RP});var A=o.props,u=A.selectsRange,d=A.startDate,p=A.endDate,f=null!==(e=o.props.dateFormat)&&void 0!==e?e:t.defaultProps.dateFormat,h=null!==(n=o.props.strictParsing)&&void 0!==n?n:t.defaultProps.strictParsing,m=(null==c?void 0:c.target)instanceof HTMLInputElement?c.target.value:"";if(u){var g=o.props.rangeSeparator,y=g.trim(),w=m.split(f.includes(y)?g:y,2).map(function(e){return e.trim()}),v=w[0],b=w[1],x=dI(null!=v?v:"",f,o.props.locale,h),_=x?dI(null!=b?b:"",f,o.props.locale,h):null,B=(null==d?void 0:d.getTime())!==(null==x?void 0:x.getTime()),C=(null==p?void 0:p.getTime())!==(null==_?void 0:_.getTime());if(!B&&!C)return;if(x&&II(x,o.props))return;if(_&&II(_,o.props))return;null===(i=(r=o.props).onChange)||void 0===i||i.call(r,[x,_],c)}else{var k=dI(m,f,o.props.locale,h,null!==(a=o.props.selected)&&void 0!==a?a:void 0);!k&&m||o.setSelected(k,c,!0)}}},o.handleSelect=function(e,n,r){var i;if(!o.props.readOnly){var a=o.props,s=a.selectsRange,l=a.startDate,c=a.endDate,A=a.locale,u=a.swapRange,d=null!==(i=o.props.dateFormat)&&void 0!==i?i:t.defaultProps.dateFormat,p=!s||l&&!c&&(u||!sP(e,l));if(o.props.shouldCloseOnSelect&&!o.props.showTimeSelect&&p&&o.sendFocusBackToInput(),o.props.onChangeRaw){var f=hI(e,{dateFormat:d,locale:A});o.props.onChangeRaw(n,{date:e,formattedDate:f})}o.setSelected(e,n,!1,r),o.props.showDateSelect&&o.setState({isRenderAriaLiveMessage:!0}),!o.props.shouldCloseOnSelect||o.props.showTimeSelect?o.setPreSelection(e):p&&o.setOpen(!1)}},o.setSelected=function(e,t,n,r){var i,a,s=e;if(o.props.showYearPicker){if(null!==s&&MI(zN(s),o.props))return}else if(o.props.showMonthYearPicker){if(null!==s&&QI(s,o.props))return}else if(null!==s&&II(s,o.props))return;var l=o.props,c=l.onChange,A=l.selectsRange,u=l.startDate,d=l.endDate,p=l.selectsMultiple,f=l.selectedDates,h=l.minTime,m=l.swapRange;if(!jI(o.props.selected,s)||o.props.allowSameDay||A||p)if(null!==s&&(!o.props.selected||n&&(o.props.showTimeSelect||o.props.showTimeSelectOnly||o.props.showTimeInput)||(s=mI(s,{hour:qN(o.props.selected),minute:WN(o.props.selected),second:GN(o.props.selected)})),n||!o.props.showTimeSelect&&!o.props.showTimeSelectOnly||h&&(s=mI(s,{hour:h.getHours(),minute:h.getMinutes(),second:h.getSeconds()})),o.props.inline||o.setState({preSelection:s}),o.props.focusSelectedMonth||o.setState({monthSelectedIn:r})),A){var g=!u&&!!d,y=u&&d;u||d?u&&!d?null===s?null==c||c([null,null],t):sP(s,u)?m?null==c||c([s,u],t):null==c||c([s,null],t):null==c||c([u,s],t):g&&(s&&sP(s,d)?null==c||c([s,d],t):null==c||c([s,null],t)):null==c||c([s,null],t),y&&(null==c||c([s,null],t))}else if(p){if(null!==s)if(null==f?void 0:f.length)if(f.some(function(e){return SI(e,s)})){var w=f.filter(function(e){return!SI(e,s)});null==c||c(w,t)}else null==c||c(aI(aI([],f,!0),[s],!1),t);else null==c||c([s],t)}else null==c||c(s,t);n||(null===(a=(i=o.props).onSelect)||void 0===a||a.call(i,s,t),o.setState({inputValue:null}))},o.setPreSelection=function(e){if(!o.props.readOnly){var t=pN(o.props.minDate),n=pN(o.props.maxDate),r=!0;if(e){var i=gI(e);if(t&&n)r=EI(e,o.props.minDate,o.props.maxDate);else if(t){var a=gI(o.props.minDate);r=uU(e,a)||jI(i,a)}else if(n){var s=_I(o.props.maxDate);r=hN(e,s)||jI(i,s)}}r&&o.setState({preSelection:e})}},o.toggleCalendar=function(){o.setOpen(!o.state.open)},o.handleTimeChange=function(e){var t,n;if(!o.props.selectsRange&&!o.props.selectsMultiple){var r=o.props.selected?o.props.selected:o.getPreSelection(),i=o.props.selected?e:mI(r,{hour:qN(e),minute:WN(e)});o.setState({preSelection:i}),null===(n=(t=o.props).onChange)||void 0===n||n.call(t,i),o.props.shouldCloseOnSelect&&!o.props.showTimeInput&&(o.sendFocusBackToInput(),o.setOpen(!1)),o.props.showTimeInput&&o.setOpen(!0),(o.props.showTimeSelectOnly||o.props.showTimeSelect)&&o.setState({isRenderAriaLiveMessage:!0}),o.setState({inputValue:null})}},o.onInputClick=function(){var e,t;o.props.disabled||o.props.readOnly||o.setOpen(!0),null===(t=(e=o.props).onInputClick)||void 0===t||t.call(e)},o.handleTimeOnlyArrowKey=function(e){var n,r,i,a,s,l=o.props.selected||o.state.preSelection||uI(),c=null!==(n=o.props.timeIntervals)&&void 0!==n?n:30,A=null!==(r=o.props.dateFormat)&&void 0!==r?r:t.defaultProps.dateFormat,u=Array.isArray(A)?A[0]:A,d=gI(l),p=60*qN(l)+WN(l),f=1440-c;if(e===sI.ArrowUp){var h=Math.max(0,p-c);s=cU(d,h)}else h=Math.min(f,p+c),s=cU(d,h);var m=fI(s,u||t.defaultProps.dateFormat,o.props.locale);if(o.setState({preSelection:s,inputValue:m}),!o.props.selectsRange&&!o.props.selectsMultiple){var g=o.props.selected?o.props.selected:o.getPreSelection(),y=o.props.selected?s:mI(g,{hour:qN(s),minute:WN(s)});null===(a=(i=o.props).onChange)||void 0===a||a.call(i,y),(o.props.showTimeSelectOnly||o.props.showTimeSelect)&&o.setState({isRenderAriaLiveMessage:!0}),requestAnimationFrame(function(){o.scrollToTimeOption(s)})}},o.handleTimeOnlyEnterKey=function(e){var n,r,i,a,s=e.target.value,l=null!==(n=o.props.dateFormat)&&void 0!==n?n:t.defaultProps.dateFormat,c=o.props.timeFormat||"p",A=o.state.preSelection||o.props.selected||uI(),u=dI(s,l,o.props.locale,null!==(r=o.props.strictParsing)&&void 0!==r&&r,A),d=A;if(u&&pI(u))d=u;else{var p=(null===(i=o.calendar)||void 0===i?void 0:i.containerRef.current)instanceof Element&&o.calendar.containerRef.current.querySelector(".react-datepicker__time-list-item[tabindex='0']");if(p instanceof HTMLElement){var f=null===(a=p.textContent)||void 0===a?void 0:a.trim();if(f){var h=dI(f,c,o.props.locale,!1,A);h&&pI(h)&&(d=h)}}}o.handleTimeChange(d),o.setOpen(!1),o.sendFocusBackToInput()},o.scrollToTimeOption=function(e){var t,n;if(null===(t=o.calendar)||void 0===t?void 0:t.containerRef.current){for(var r=o.calendar.containerRef.current,i=Array.from(r.querySelectorAll(".react-datepicker__time-list-item")),a=null,s=1/0,l=o.props.timeFormat||"p",c=0,A=i;c<A.length;c++){var u=A[c],d=null===(n=u.textContent)||void 0===n?void 0:n.trim();if(d){var p=dI(d,l,o.props.locale,!1,e);if(p&&pI(p)){if(iP(p,e)){a=u;break}var f=Math.abs(p.getTime()-e.getTime());f<s&&(s=f,a=u)}}}a&&(i.forEach(function(e){e.setAttribute("tabindex","-1")}),a.setAttribute("tabindex","0"),a.scrollIntoView({behavior:"smooth",block:"center"}))}},o.onInputKeyDown=function(e){var t,n,r,i,a,s;null===(n=(t=o.props).onKeyDown)||void 0===n||n.call(t,e);var l=e.key;if(o.state.open||o.props.inline||o.props.preventOpenOnFocus){if(o.state.open&&o.props.showTimeSelectOnly){if(l===sI.ArrowDown||l===sI.ArrowUp)return e.preventDefault(),void o.handleTimeOnlyArrowKey(l);if(l===sI.Enter)return e.preventDefault(),void o.handleTimeOnlyEnterKey(e)}if(o.state.open){if(l===sI.ArrowDown||l===sI.ArrowUp){e.preventDefault();var c=o.props.showTimeSelectOnly?".react-datepicker__time-list-item[tabindex='0']":o.props.showWeekPicker&&o.props.showWeekNumbers?'.react-datepicker__week-number[tabindex="0"]':o.props.showFullMonthYearPicker||o.props.showMonthYearPicker?'.react-datepicker__month-text[tabindex="0"]':'.react-datepicker__day[tabindex="0"]',A=(null===(i=o.calendar)||void 0===i?void 0:i.containerRef.current)instanceof Element&&o.calendar.containerRef.current.querySelector(c);return void(A instanceof HTMLElement&&A.focus({preventScroll:!0}))}var u=uI(o.state.preSelection);l===sI.Enter?(e.preventDefault(),e.target.blur(),o.inputOk()&&o.state.lastPreSelectChange===MP?(o.handleSelect(u,e),!o.props.shouldCloseOnSelect&&o.setPreSelection(u)):o.setOpen(!1)):l===sI.Escape?(e.preventDefault(),e.target.blur(),o.sendFocusBackToInput(),o.setOpen(!1)):l===sI.Tab&&o.setOpen(!1),o.inputOk()||null===(s=(a=o.props).onInputError)||void 0===s||s.call(a,{code:1,msg:DP})}}else l!==sI.ArrowDown&&l!==sI.ArrowUp&&l!==sI.Enter||null===(r=o.onInputClick)||void 0===r||r.call(o)},o.onPortalKeyDown=function(e){e.key===sI.Escape&&(e.preventDefault(),o.setState({preventFocus:!0},function(){o.setOpen(!1),setTimeout(function(){o.setFocus(),o.setState({preventFocus:!1})})}))},o.onDayKeyDown=function(e){var t,n,r,i,a,s,l=o.props,c=l.minDate,A=l.maxDate,u=l.disabledKeyboardNavigation,d=l.showWeekPicker,p=l.shouldCloseOnSelect,f=l.locale,h=l.calendarStartDay,m=l.adjustDateOnChange,g=l.inline;if(null===(n=(t=o.props).onKeyDown)||void 0===n||n.call(t,e),!u){var y=e.key,w=e.shiftKey,v=uI(o.state.preSelection),b=function(e,t){var n=t;switch(e){case sI.ArrowRight:n=d?pU(t,1):eN(t,1);break;case sI.ArrowLeft:n=d?gU(t,1):function(e,t,n){return eN(e,-t,n)}(t,1);break;case sI.ArrowUp:n=gU(t,1);break;case sI.ArrowDown:n=pU(t,1);break;case sI.PageUp:n=w?rU(t,1):XN(t,1);break;case sI.PageDown:n=w?nU(t,1):YN(t,1);break;case sI.Home:n=yI(t,f,h);break;case sI.End:n=function(e){return function(e,t){const n=lF(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=NE(e,t?.in),i=o.getDay(),a=6+(i<r?-7:0)-(i-r);return o.setDate(o.getDate()+a),o.setHours(23,59,59,999),o}(e)}(t)}return n};if(y===sI.Enter)return e.preventDefault(),o.handleSelect(v,e),void(!p&&o.setPreSelection(v));if(y===sI.Escape)return e.preventDefault(),o.setOpen(!1),void(o.inputOk()||null===(i=(r=o.props).onInputError)||void 0===i||i.call(r,{code:1,msg:DP}));var x=null;switch(y){case sI.ArrowLeft:case sI.ArrowRight:case sI.ArrowUp:case sI.ArrowDown:case sI.PageUp:case sI.PageDown:case sI.Home:case sI.End:x=function(e,t){for(var n=e,r=!1,i=0,a=b(e,t);!r;){if(i>=40){a=t;break}c&&a<c&&(n=sI.ArrowRight,a=II(c,o.props)?b(n,a):c),A&&a>A&&(n=sI.ArrowLeft,a=II(A,o.props)?b(n,a):A),II(a,o.props)?(n!==sI.PageUp&&n!==sI.Home||(n=sI.ArrowRight),n!==sI.PageDown&&n!==sI.End||(n=sI.ArrowLeft),a=b(n,a)):r=!0,i++}return a}(y,v)}x?(e.preventDefault(),o.setState({lastPreSelectChange:MP}),m&&o.setSelected(x),o.setPreSelection(x),g&&o.setState({shouldFocusDayInline:!0})):null===(s=(a=o.props).onInputError)||void 0===s||s.call(a,{code:1,msg:DP})}},o.onPopperKeyDown=function(e){e.key===sI.Escape&&(e.preventDefault(),o.sendFocusBackToInput(),o.setOpen(!1))},o.onClearClick=function(e){e&&e.preventDefault&&e.preventDefault(),o.sendFocusBackToInput();var t=o.props,n=t.selectsRange,r=t.onChange;n?null==r||r([null,null],e):null==r||r(null,e),o.setState({inputValue:null})},o.clear=function(){o.onClearClick()},o.onScroll=function(e){"boolean"==typeof o.props.closeOnScroll&&o.props.closeOnScroll?e.target!==document&&e.target!==document.documentElement&&e.target!==document.body||o.setOpen(!1):"function"==typeof o.props.closeOnScroll&&o.props.closeOnScroll(e)&&o.setOpen(!1)},o.renderCalendar=function(){var e,r;return o.props.inline||o.isCalendarOpen()?n.createElement(UP,iI({showMonthYearDropdown:void 0,ref:function(e){o.calendar=e}},o.props,o.state,{setOpen:o.setOpen,dateFormat:null!==(e=o.props.dateFormatCalendar)&&void 0!==e?e:t.defaultProps.dateFormatCalendar,onSelect:o.handleSelect,onClickOutside:o.handleCalendarClickOutside,holidays:eP(o.modifyHolidays()),outsideClickIgnoreClass:o.props.outsideClickIgnoreClass,onDropdownFocus:o.handleDropdownFocus,onTimeChange:o.handleTimeChange,className:o.props.calendarClassName,container:o.props.calendarContainer,handleOnKeyDown:o.props.onKeyDown,handleOnDayKeyDown:o.onDayKeyDown,setPreSelection:o.setPreSelection,dropdownMode:null!==(r=o.props.dropdownMode)&&void 0!==r?r:t.defaultProps.dropdownMode}),o.props.children):null},o.renderAriaLiveRegion=function(){var e,r,i=o.props.locale,a=null!==(e=o.props.dateFormat)&&void 0!==e?e:t.defaultProps.dateFormat,s=o.props.showTimeInput||o.props.showTimeSelect?"PPPPp":"PPPP";return r=o.props.selectsRange?"Selected start date: ".concat(hI(o.props.startDate,{dateFormat:s,locale:i}),". ").concat(o.props.endDate?"End date: "+hI(o.props.endDate,{dateFormat:s,locale:i}):""):o.props.showTimeSelectOnly?"Selected time: ".concat(hI(o.props.selected,{dateFormat:a,locale:i})):o.props.showYearPicker?"Selected year: ".concat(hI(o.props.selected,{dateFormat:"yyyy",locale:i})):o.props.showMonthYearPicker?"Selected month: ".concat(hI(o.props.selected,{dateFormat:"MMMM yyyy",locale:i})):o.props.showQuarterYearPicker?"Selected quarter: ".concat(hI(o.props.selected,{dateFormat:"yyyy, QQQ",locale:i})):"Selected date: ".concat(hI(o.props.selected,{dateFormat:s,locale:i})),n.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},r)},o.renderDateInput=function(){var e,r,i,a,s,l,c=gh(o.props.className,((e={})[o.props.outsideClickIgnoreClass||t.defaultProps.outsideClickIgnoreClass]=o.state.open,e)),A=o.props.customInput||n.createElement("input",{type:"text"}),u=o.props.customInputRef||"ref",d={},p=null!==(i=o.props["aria-describedby"])&&void 0!==i?i:o.props.ariaDescribedBy,f=null!==(a=o.props["aria-invalid"])&&void 0!==a?a:o.props.ariaInvalid,h=null!==(s=o.props["aria-labelledby"])&&void 0!==s?s:o.props.ariaLabelledBy,m=null!==(l=o.props["aria-required"])&&void 0!==l?l:o.props.ariaRequired;return null!=p&&(d["aria-describedby"]=p),null!=f&&(d["aria-invalid"]=f),null!=h&&(d["aria-labelledby"]=h),null!=m&&(d["aria-required"]=m),(0,n.cloneElement)(A,iI(((r={})[u]=function(e){o.input=e},r.value=o.getInputValue(),r.onBlur=o.handleBlur,r.onChange=o.handleChange,r.onClick=o.onInputClick,r.onFocus=o.handleFocus,r.onKeyDown=o.onInputKeyDown,r.id=o.props.id,r.name=o.props.name,r.form=o.props.form,r.autoFocus=o.props.autoFocus,r.placeholder=o.props.placeholderText,r.disabled=o.props.disabled,r.autoComplete=o.props.autoComplete,r.className=gh(A.props.className,c),r.title=o.props.title,r.readOnly=o.props.readOnly,r.required=o.props.required,r.tabIndex=o.props.tabIndex,r),d))},o.renderClearButton=function(){var e=o.props,t=e.isClearable,r=e.disabled,i=e.selected,a=e.startDate,
vendor: 12,355 bytes, line 102
102s=e.endDate,l=e.clearButtonTitle,c=e.clearButtonClassName,A=void 0===c?"":c,u=e.ariaLabelClose,d=void 0===u?"Close":u,p=e.selectedDates,f=e.readOnly;return!t||f||null==i&&null==a&&null==s&&!(null==p?void 0:p.length)?null:n.createElement("button",{type:"button",className:gh("react-datepicker__close-icon",A,{"react-datepicker__close-icon--disabled":r}),disabled:r,"aria-label":d,onClick:o.onClearClick,title:l,tabIndex:-1})},o.state=o.calcInitialState(),o.preventFocusTimeout=void 0,o}return oI(t,e),Object.defineProperty(t,"defaultProps",{get:function(){return{allowSameDay:!1,dateFormat:"MM/dd/yyyy",dateFormatCalendar:"LLLL yyyy",disabled:!1,disabledKeyboardNavigation:!1,dropdownMode:"scroll",preventOpenOnFocus:!1,monthsShown:1,outsideClickIgnoreClass:NP,readOnly:!1,rangeSeparator:" - ",withPortal:!1,selectsDisabledDaysInRange:!1,shouldCloseOnSelect:!0,showTimeSelect:!1,showTimeInput:!1,showPreviousMonths:!1,showMonthYearPicker:!1,showFullMonthYearPicker:!1,showTwoColumnMonthYearPicker:!1,showFourColumnMonthYearPicker:!1,showYearPicker:!1,showQuarterYearPicker:!1,showWeekPicker:!1,strictParsing:!1,swapRange:!1,timeIntervals:30,timeCaption:"Time",previousMonthAriaLabel:"Previous Month",previousMonthButtonLabel:"Previous Month",nextMonthAriaLabel:"Next Month",nextMonthButtonLabel:"Next Month",previousYearAriaLabel:"Previous Year",previousYearButtonLabel:"Previous Year",nextYearAriaLabel:"Next Year",nextYearButtonLabel:"Next Year",timeInputLabel:"Time",enableTabLoop:!0,yearItemNumber:12,focusSelectedMonth:!1,showPopperArrow:!0,excludeScrollbar:!0,customTimeInput:null,calendarStartDay:void 0,toggleCalendarOnIconClick:!1,usePointerEvent:!1}},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){window.addEventListener("scroll",this.onScroll,!0),document.addEventListener("visibilitychange",this.setHiddenStateOnVisibilityHidden)},t.prototype.componentDidUpdate=function(e,t){var n,r,o,i,a,s;e.inline&&(a=e.selected,s=this.props.selected,a&&s?KN(a)!==KN(s)||zN(a)!==zN(s):a!==s)&&this.setPreSelection(this.props.selected),void 0!==this.state.monthSelectedIn&&e.monthsShown!==this.props.monthsShown&&this.setState({monthSelectedIn:0}),this.props.selectsRange&&0!==this.state.monthSelectedIn&&this.setState({monthSelectedIn:0}),e.highlightDates!==this.props.highlightDates&&this.setState({highlightDates:ZI(this.props.highlightDates)}),t.focused||jI(e.selected,this.props.selected)||this.setState({inputValue:null}),t.open!==this.state.open&&(!1===t.open&&!0===this.state.open&&(null===(r=(n=this.props).onCalendarOpen)||void 0===r||r.call(n)),!0===t.open&&!1===this.state.open&&(null===(i=(o=this.props).onCalendarClose)||void 0===i||i.call(o)))},t.prototype.componentWillUnmount=function(){this.clearPreventFocusTimeout(),window.removeEventListener("scroll",this.onScroll,!0),document.removeEventListener("visibilitychange",this.setHiddenStateOnVisibilityHidden)},t.prototype.renderInputContainer=function(){var e=this.props,t=e.showIcon,r=e.icon,o=e.calendarIconClassname,i=e.calendarIconClassName,a=e.toggleCalendarOnIconClick,s=this.state.open;return o&&console.warn("calendarIconClassname props is deprecated. should use calendarIconClassName props."),n.createElement("div",{className:"react-datepicker__input-container".concat(t?" react-datepicker__view-calendar-icon":"")},t&&n.createElement(LP,iI({icon:r,className:gh(i,!i&&o,s&&"react-datepicker-ignore-onclickoutside")},a?{onClick:this.toggleCalendar}:null)),this.state.isRenderAriaLiveMessage&&this.renderAriaLiveRegion(),this.renderDateInput(),this.renderClearButton())},t.prototype.render=function(){var e=this.renderCalendar();if(this.props.inline)return e;if(this.props.withPortal){var t=this.state.open?n.createElement(QP,{enableTabLoop:this.props.enableTabLoop},n.createElement("div",{className:"react-datepicker__portal",tabIndex:-1,onKeyDown:this.onPortalKeyDown},e)):null;return this.state.open&&this.props.portalId&&(t=n.createElement(IP,iI({portalId:this.props.portalId},this.props),t)),n.createElement("div",null,this.renderInputContainer(),t)}return n.createElement(TP,iI({},this.props,{className:this.props.popperClassName,hidePopper:!this.isCalendarOpen(),targetComponent:this.renderInputContainer(),popperComponent:e,popperOnKeyDown:this.onPopperKeyDown,showArrow:this.props.showPopperArrow}))},t}(n.Component),RP="input",MP="navigate",HP=a(9816),zP={};zP.styleTagTransform=fa(),zP.setAttributes=Aa(),zP.insert=la().bind(null,"head"),zP.domAPI=aa(),zP.insertStyleElement=da(),oa()(HP.A,zP),HP.A&&HP.A.locals&&HP.A.locals;const KP={lessThanXSeconds:{one:"أقل من ثانية",two:"أقل من ثانيتين",threeToTen:"أقل من {{count}} ثواني",other:"أقل من {{count}} ثانية"},xSeconds:{one:"ثانية واحدة",two:"ثانيتان",threeToTen:"{{count}} ثواني",other:"{{count}} ثانية"},halfAMinute:"نصف دقيقة",lessThanXMinutes:{one:"أقل من دقيقة",two:"أقل من دقيقتين",threeToTen:"أقل من {{count}} دقائق",other:"أقل من {{count}} دقيقة"},xMinutes:{one:"دقيقة واحدة",two:"دقيقتان",threeToTen:"{{count}} دقائق",other:"{{count}} دقيقة"},aboutXHours:{one:"ساعة واحدة تقريباً",two:"ساعتين تقريبا",threeToTen:"{{count}} ساعات تقريباً",other:"{{count}} ساعة تقريباً"},xHours:{one:"ساعة واحدة",two:"ساعتان",threeToTen:"{{count}} ساعات",other:"{{count}} ساعة"},xDays:{one:"يوم واحد",two:"يومان",threeToTen:"{{count}} أيام",other:"{{count}} يوم"},aboutXWeeks:{one:"أسبوع واحد تقريبا",two:"أسبوعين تقريبا",threeToTen:"{{count}} أسابيع تقريبا",other:"{{count}} أسبوعا تقريبا"},xWeeks:{one:"أسبوع واحد",two:"أسبوعان",threeToTen:"{{count}} أسابيع",other:"{{count}} أسبوعا"},aboutXMonths:{one:"شهر واحد تقريباً",two:"شهرين تقريبا",threeToTen:"{{count}} أشهر تقريبا",other:"{{count}} شهرا تقريباً"},xMonths:{one:"شهر واحد",two:"شهران",threeToTen:"{{count}} أشهر",other:"{{count}} شهرا"},aboutXYears:{one:"سنة واحدة تقريباً",two:"سنتين تقريبا",threeToTen:"{{count}} سنوات تقريباً",other:"{{count}} سنة تقريباً"},xYears:{one:"سنة واحد",two:"سنتان",threeToTen:"{{count}} سنوات",other:"{{count}} سنة"},overXYears:{one:"أكثر من سنة",two:"أكثر من سنتين",threeToTen:"أكثر من {{count}} سنوات",other:"أكثر من {{count}} سنة"},almostXYears:{one:"ما يقارب سنة واحدة",two:"ما يقارب سنتين",threeToTen:"ما يقارب {{count}} سنوات",other:"ما يقارب {{count}} سنة"}},$P={date:HE({formats:{full:"EEEE، do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:HE({formats:{full:"HH:mm:ss",long:"HH:mm:ss",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:HE({formats:{full:"{{date}} 'عند الساعة' {{time}}",long:"{{date}} 'عند الساعة' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},VP={lastWeek:"eeee 'الماضي عند الساعة' p",yesterday:"'الأمس عند الساعة' p",today:"'اليوم عند الساعة' p",tomorrow:"'غدا عند الساعة' p",nextWeek:"eeee 'القادم عند الساعة' p",other:"P"},qP={ordinalNumber:e=>String(e),era:VE({values:{narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل الميلاد","بعد الميلاد"]},defaultWidth:"wide"}),quarter:VE({values:{narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:VE({values:{narrow:["ي","ف","م","أ","م","ي","ي","أ","س","أ","ن","د"],abbreviated:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],wide:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},defaultWidth:"wide"}),day:VE({values:{narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],wide:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},defaultWidth:"wide"}),dayPeriod:VE({values:{narrow:{am:"ص",pm:"م",morning:"الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"المساء",night:"الليل",midnight:"منتصف الليل"},abbreviated:{am:"ص",pm:"م",morning:"الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"المساء",night:"الليل",midnight:"منتصف الليل"},wide:{am:"ص",pm:"م",morning:"الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"المساء",night:"الليل",midnight:"منتصف الليل"}},defaultWidth:"wide",formattingValues:{narrow:{am:"ص",pm:"م",morning:"في الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل",midnight:"منتصف الليل"},abbreviated:{am:"ص",pm:"م",morning:"في الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل",midnight:"منتصف الليل"},wide:{am:"ص",pm:"م",morning:"في الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل",midnight:"منتصف الليل"}},defaultFormattingWidth:"wide"})},WP={ordinalNumber:GE({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:WE({matchPatterns:{narrow:/[قب]/,abbreviated:/[قب]\.م\./,wide:/(قبل|بعد) الميلاد/},defaultMatchWidth:"wide",parsePatterns:{any:[/قبل/,/بعد/]},defaultParseWidth:"any"}),quarter:WE({matchPatterns:{narrow:/^[1234]/i,abbreviated:/ر[1234]/,wide:/الربع (الأول|الثاني|الثالث|الرابع)/},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:WE({matchPatterns:{narrow:/^[أيفمسند]/,abbreviated:/^(يناير|فبراير|مارس|أبريل|مايو|يونيو|يوليو|أغسطس|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/,wide:/^(يناير|فبراير|مارس|أبريل|مايو|يونيو|يوليو|أغسطس|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ي/i,/^ف/i,/^م/i,/^أ/i,/^م/i,/^ي/i,/^ي/i,/^أ/i,/^س/i,/^أ/i,/^ن/i,/^د/i],any:[/^يناير/i,/^فبراير/i,/^مارس/i,/^أبريل/i,/^مايو/i,/^يونيو/i,/^يوليو/i,/^أغسطس/i,/^سبتمبر/i,/^أكتوبر/i,/^نوفمبر/i,/^ديسمبر/i]},defaultParseWidth:"any"}),day:WE({matchPatterns:{narrow:/^[حنثرخجس]/i,short:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,abbreviated:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,wide:/^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ح/i,/^ن/i,/^ث/i,/^ر/i,/^خ/i,/^ج/i,/^س/i],wide:[/^الأحد/i,/^الاثنين/i,/^الثلاثاء/i,/^الأربعاء/i,/^الخميس/i,/^الجمعة/i,/^السبت/i],any:[/^أح/i,/^اث/i,/^ث/i,/^أر/i,/^خ/i,/^ج/i,/^س/i]},defaultParseWidth:"any"}),dayPeriod:WE({matchPatterns:{narrow:/^(ص|م|منتصف الليل|الظهر|بعد الظهر|في الصباح|في المساء|في الليل)/,any:/^(ص|م|منتصف الليل|الظهر|بعد الظهر|في الصباح|في المساء|في الليل)/},defaultMatchWidth:"any",parsePatterns:{any:{am:/^ص/,pm:/^م/,midnight:/منتصف الليل/,noon:/الظهر/,afternoon:/بعد الظهر/,morning:/في الصباح/,evening:/في المساء/,night:/في الليل/}},defaultParseWidth:"any"})},GP={code:"ar",formatDistance:(e,t,n)=>{const r=KP[e];let o;
102return o="string"==typeof r?r:1===t?r.one:2===t?r.two:t<=10?r.threeToTen.replace("{{count}}",String(t)):r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"خلال "+o:"منذ "+o:o},formatLong:$P,formatRelative:e=>VP[e],localize:qP,match:WP,options:{weekStartsOn:6,firstWeekContainsDate:1}},YP={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}},XP={date:HE({formats:{full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:HE({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:HE({formats:{full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},JP={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},ZP={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"},eQ={ordinalNumber:(e,t)=>Number(e)+"º",era:VE({values:{narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},defaultWidth:"wide"}),quarter:VE({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:VE({values:{narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},defaultWidth:"wide"}),day:VE({values:{narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},defaultWidth:"wide"}),dayPeriod:VE({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},defaultFormattingWidth:"wide"})},tQ={ordinalNumber:GE({matchPattern:/^(\d+)(º)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:WE({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|de
102spu[eé]s de cristo|era com[uú]n)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},defaultParseWidth:"any"}),quarter:WE({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:WE({matchPatterns:{narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},defaultParseWidth:"any"}),day:WE({matchPatterns:{narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:WE({matchPatterns:{narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},defaultParseWidth:"any"})},nQ={code:"es",formatDistance:(e,t,n)=>{let r;const o=YP[e];return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"en "+r:"hace "+r:r},formatLong:XP,formatRelative:(e,t,n,r)=>1!==t.getHours()?ZP[e]:JP[e],localize:eQ,match:tQ,options:{weekStartsOn:1,firstWeekContainsDate:1}},rQ={lessThanXSeconds:{one:"1秒未満",other:"{{count}}秒未満",oneWithSuffix:"約1秒",otherWithSuffix:"約{{count}}秒"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒",lessThanXMinutes:{one:"1分未満",other:"{{count}}分未満",oneWithSuffix:"約1分",otherWithSuffix:"約{{count}}分"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"約1時間",other:"約{{count}}時間"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXWeeks:{one:"約1週間",other:"約{{count}}週間"},xWeeks:{one:"1週間",other:"{{count}}週間"},aboutXMonths:{one:"約1か月",other:"約{{count}}か月"},xMonths:{one:"1か月",other:"{{count}}か月"},aboutXYears:{one:"約1年",other:"約{{count}}年"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年近く",other:"{{count}}年近く"}},oQ={date:HE({formats:{full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},defaultWidth:"full"}),time:HE({formats:{full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:HE({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},iQ={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},aQ={ordinalNumber:(e,t)=>{const n=Number(e);switch(String(t?.unit)){case"year":return`${n}年`;case"quarter":return`第${n}四半期`;case"month":return`${n}月`;case"week":return`第${n}週`;case"date":return`${n}日`;case"hour":return`${n}時`;case"minute":return`${n}分`;case"second":return`${n}秒`;default:return`${n}`}},era:VE({values:{narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},defaultWidth:"wide"}),quarter:VE({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:VE({values:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},defaultWidth:"wide"}),day:VE({values:{narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},defaultWidth:"wide"}),dayPeriod:VE({values:{narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},defaultWidth:"wide",formattingValues:{narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},defaultFormattingWidth:"wide"})},sQ={ordinalNumber:GE({matchPattern:/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:WE({matchPatterns:{narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},defaultParseWidth:"any"}),quarter:WE({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:WE({matchPatterns:{narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},defaultParseWidth:"any"}),day:WE({matchPatterns:{narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},defaultMatchWidth:"wide",parsePatterns:{any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},defaultParseWidth:"any"}),dayPeriod:WE({matchPatterns:{any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},defaultParseWidth:"any"})},lQ={code:"ja",formatDistance:(e,t,n)=>{let r;n=n||{};const o=rQ[e];return r="string"==typeof o?o:1===t?n.addSuffix&&o.oneWithSuffix?o.oneWithSuffix:o.one:n.addSuffix&&o.otherWithSuffix?o.otherWithSuffix.replace("{{count}}",String(t)):o.other.replace("{{count}}",String(t)),n.addSuffix?n.comparison&&n.comparison>0?r+"後":r+"前":r},formatLong:oQ,formatRelative:(e,t,n,r)=>iQ[e],localize:aQ,match:sQ,options:{weekStartsOn:0,firstWeekContainsDate:1}},cQ={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"aproximadamente 1 hora",other:"aproximadamente {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"aproximadamente 1 semana",other:"aproximadamente {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"aproximadamente 1 mês",other:"aproximadamente {{count}} meses"},xMonths:{one:"1 mês",other:"{{count}} meses"},aboutXYears:{one:"aproximadamente 1 ano",other:"aproximadamente {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}},AQ={date:HE({formats:{full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d 'de' MMM 'de' y",short:"dd/MM/y"},defaultWidth:"full"}),time:HE({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:HE({formats:{full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},uQ={lastWeek:e=>{const t=e.getDay();return"'"+(0===t||6===t?"último":"última")+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"},dQ={ordinalNumber:(e,t)=>Number(e)+"º",era:VE({values:{narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["antes de Cristo","depois de Cristo"]},defaultWidth:"wide"}),quarter:VE({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:VE({values:{narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","març
102o","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},defaultWidth:"wide"}),day:VE({values:{narrow:["d","s","t","q","q","s","s"],short:["dom","seg","ter","qua","qui","sex","sáb"],abbreviated:["dom","seg","ter","qua","qui","sex","sáb"],wide:["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"]},defaultWidth:"wide"}),dayPeriod:VE({values:{narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"}},defaultWidth:"wide",formattingValues:{narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"}},defaultFormattingWidth:"wide"})},pQ={ordinalNumber:GE({matchPattern:/^(\d+)(º|ª)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:WE({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes da era comum|depois de cristo|era comum)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes da era comum)/i,/^(depois de cristo|era comum)/i]},defaultParseWidth:"any"}),quarter:WE({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º|ª)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:WE({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ab/i,/^mai/i,/^jun/i,/^jul/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:WE({matchPatterns:{narrow:/^[dstq]/i,short:/^(dom|seg|ter|qua|qui|sex|s[áa]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[áa]b)/i,wide:/^(domingo|segunda-?\s?feira|terça-?\s?feira|quarta-?\s?feira|quinta-?\s?feira|sexta-?\s?feira|s[áa]bado)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^s/i,/^t/i,/^q/i,/^q/i,/^s/i,/^s/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[áa]/i]},defaultParseWidth:"any"}),dayPeriod:WE({matchPatterns:{narrow:/^(a|p|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i,any:/^([ap]\.?\s?m\.?|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^meia/i,noon:/^meio/i,morning:/manh[ãa]/i,afternoon:/tarde/i,evening:/noite/i,night:/madrugada/i}},defaultParseWidth:"any"})},fQ={code:"pt",formatDistance:(e,t,n)=>{let r;const o=cQ[e];return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"daqui a "+r:"há "+r:r},formatLong:AQ,formatRelative:(e,t,n,r)=>{const o=uQ[e];return"function"==typeof o?o(t):o},localize:dQ,match:pQ,options:{weekStartsOn:1,firstWeekContainsDate:4}},hQ={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}},mQ={date:HE({formats:{full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},defaultWidth:"full"}),time:HE({formats:{full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},defaultWidth:"full"}),dateTime:HE({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})};function gQ(e,t,n){const r="eeee p";return function(e,t,n){const[r,o]=mN(n?.in,e,t);return+VF(r,n)===+VF(o,n)}
102(e,t,n)?r:e.getTime()>t.getTime()?"'下个'"+r:"'上个'"+r}const yQ={lastWeek:gQ,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:gQ,other:"PP p"},wQ={ordinalNumber:(e,t)=>{const n=Number(e);switch(t?.unit){case"date":return n.toString()+"日";case"hour":return n.toString()+"时";case"minute":return n.toString()+"分";case"second":return n.toString()+"秒";default:return"第 "+n.toString()}},era:VE({values:{narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},defaultWidth:"wide"}),quarter:VE({values:{narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:VE({values:{narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},defaultWidth:"wide"}),day:VE({values:{narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},defaultWidth:"wide"}),dayPeriod:VE({values:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},defaultWidth:"wide",formattingValues:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},defaultFormattingWidth:"wide"})},vQ={ordinalNumber:GE({matchPattern:/^(第\s*)?\d+(日|时|分|秒)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:WE({matchPatterns:{narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(前)/i,/^(公元)/i]},defaultParseWidth:"any"}),quarter:WE({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:WE({matchPatterns:{narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},defaultParseWidth:"any"}),day:WE({matchPatterns:{narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},defaultParseWidth:"any"}),dayPeriod:WE({matchPatterns:{any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},defaultParseWidth:"any"})},bQ={code:"zh-CN",formatDistance:(e,t,n)=>{let r;const o=hQ[e];return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?r+"内":r+"前":r},formatLong:mQ,formatRelative:(e,t,n,r)=>{const o=yQ[e];return"function"==typeof o?o(t,n,r):o},localize:wQ,match:vQ,options:{weekStartsOn:1,firstWeekContainsDate:4}},xQ={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"eine halbe Minute",withPreposition:"einer halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}},_Q={date:HE({formats:{full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:HE({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:HE({formats:{full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},BQ={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},CQ={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},kQ={narrow:CQ.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:CQ.wide},SQ={ordinalNumber:e=>Number(e)+".",era:VE({values:{narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},defaultWidth:"wide"}),quarter:VE({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:VE({values:CQ,formattingValues:kQ,defaultWidth:"wide"}),day:VE({values:{narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},defaultWidth:"wide"}),dayPeriod:VE({values:{narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nac
102hm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},defaultWidth:"wide",formattingValues:{narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},defaultFormattingWidth:"wide"})},jQ={ordinalNumber:GE({matchPattern:/^(\d+)(\.)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e)}),era:WE({matchPatterns:{narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^v/i,/^n/i]},defaultParseWidth:"any"}),quarter:WE({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:WE({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:WE({matchPatterns:{narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:WE({matchPatterns:{narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},defaultParseWidth:"any"})},EQ={code:"de",formatDistance:(e,t,n)=>{let r;const o=n?.addSuffix?xQ[e].withPreposition:xQ[e].standalone;return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"in "+r:"vor "+r:r},formatLong:_Q,formatRelative:(e,t,n,r)=>BQ[e],localize:SQ,match:jQ,options:{weekStartsOn:1,firstWeekContainsDate:4}},FQ={code:"en-GB",formatDistance:ME,formatLong:{date:HE({formats:{full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:HE({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:HE({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},formatRelative:$E,localize:qE,match:YE,options:{weekStartsOn:1,firstWeekContainsDate:4}};function NQ(e){const{t,i18n:n}=Fo(),r=localStorage.getItem("i18nextLng")?.trim(),o=(e=>{switch(e){case"ar":return GP;case"es":return nQ;case"ja":return lQ;case"br":return fQ;case"cn":return bQ;case"de":return EQ;default:return FQ}})(r?r.substring(0,2):"en"),{formState:{errors:i},control:a}=e.form;return(0,ga.jsx)(Bv,{fullWidth:!0,children:(0,ga.jsx)(XA,{name:"dateOfBirth",control:a,render:({field:{onChange:e,value:n}})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(OP,{selected:n?new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate())):null,onChange:t=>{e(t?new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate())):null)},locale:o,dateFormat:"P",placeholderText:t("selectDate")||"Select"}),i.dateOfBirth&&(0,ga.jsx)("p",{className:"field-errors",children:(i.dateOfBirth.message,t(`${i.dateOfBirth.message}`))})]})})})}const UQ="sex";function LQ(e){const{t}=Fo(),{formState:{errors:n},register:r}
102=e.form,{gender:o}=e;return(0,ga.jsx)(Bv,{fullWidth:!0,className:"applicant-radio-wrap",children:(0,ga.jsxs)(KC,{row:!0,"aria-labelledby":"applicant-details-attempt-label",name:"applicant-details-sex",defaultValue:o,children:[(0,ga.jsx)(nk,{value:"Female",control:(0,ga.jsx)(vk,{}),label:t("fieldFemale"),labelPlacement:"top",className:"qq-radio",...r(UQ,{required:!1}),style:{flexDirection:"row",margin:"0"}}),(0,ga.jsx)(nk,{value:"Male",control:(0,ga.jsx)(vk,{}),label:t("fieldMale"),labelPlacement:"top",className:"qq-radio",...r(UQ,{required:!1}),style:{flexDirection:"row",margin:"0"}}),(0,ga.jsx)(nk,{value:"PreferNotToSay",control:(0,ga.jsx)(vk,{}),label:t("fieldPreferNotToSay"),labelPlacement:"top",className:"qq-radio",...r(UQ,{required:!1}),style:{flexDirection:"row",margin:"0"}})]})})}const IQ="gender",PQ=e=>{const{t}=Fo(),{formState:{errors:r},control:o,setValue:i}=e.form,{handleGenderChange:a,gender:s}=e,{genders:l,getGenderList:c}=function(){const[e,t]=(0,n.useState)([]),r=Mc(),o=localStorage.getItem("i18nextLng")?.trim(),i=o?o.substring(0,2):"en";return{getGenderList:async()=>{try{const e=await Dc("genderIdentity",i,"",r);null!=e.data&&t(e.data)}catch(e){console.log(e)}},genders:e}}();return(0,n.useEffect)(()=>{c()},[]),(0,n.useEffect)(()=>{null!=s&&i(IQ,s)},[s]),(0,ga.jsx)(XA,{name:IQ,control:o,defaultValue:s??"",render:({field:e})=>(0,ga.jsx)(xB,{...e,select:!0,fullWidth:!0,value:e.value??"",onChange:t=>{const n=t.target.value;e.onChange(n),a?.(n)},error:!!r.gender,helperText:r.gender?.message||t("fieldOptional"),children:l.length>0?l.map(e=>(0,ga.jsx)(XB,{value:e.Key,children:e.Description},e.Key)):(0,ga.jsx)(tC,{sx:{display:"flex",justifyContent:"center"},children:(0,ga.jsx)(AC,{size:24})})})})},QQ=[{Id:0,Key:"German",Description:"Deutsch"},{Id:0,Key:"English",Description:"English"},{Id:0,Key:"Spanish",Description:"Español"},{Id:0,Key:"Portuguese",Description:"Português"},{Id:0,Key:"Arabic",Description:"عربي"},{Id:0,Key:"Chinese",Description:"中文"},{Id:0,Key:"Japanese",Description:"日本語"}],TQ=e=>{const{formState:{errors:t},control:n}=e.form,{t:r}=Fo(),{handleLanguageChange:o,language:i}=e;return(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(XA,{name:"language",control:n,defaultValue:i,render:({field:e})=>(0,ga.jsx)(xB,{...e,select:!0,fullWidth:!0,value:e.value,defaultValue:"",error:!!t.language,onChange:t=>{e.onChange(t),o&&o(t.target.value)},children:QQ.length>0?QQ.map(e=>(0,ga.jsx)(XB,{value:e.Key,children:e.Description},e.Key)):(0,ga.jsx)(tC,{sx:{display:"flex",margin:"0 auto",width:"40px"},children:(0,ga.jsx)(AC,{})})})}),(0,ga.jsx)("p",{className:"text-gray-400 text-sm",children:r("languagePreferenceLabel")}),t.language&&(0,ga.jsx)("p",{className:"field-errors",children:r(t.language.message)})]})},DQ=({children:e})=>(0,ga.jsx)("div",{className:"bg-white p-6",children:e}),OQ=e=>{const{t}=Fo(),r="ja"===Yi(),{profile:o}=e;return(0,n.useEffect)(()=>{e.form.setValue("name",o.First_Name),e.form.setValue("surname",o.Last_name),o.Date_Of_Birth&&e.form.setValue("dateOfBirth",$j()(o.Date_Of_Birth).toDate())},[o,e.form]),(0,ga.jsxs)("section",{id:"your-details",children:[(0,ga.jsx)(Wc,{title:t("yourDetails")}),(0,ga.jsxs)(DQ,{children:[(0,ga.jsxs)(aA,{border:!1,children:[(0,ga.jsx)(sA,{htmlFor:"",id:"name-label",children:t("fieldName")}),(0,ga.jsx)("div",{className:"custom-input-field gap-4 flex flex-col w-2/3",children:r?(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(CE,{form:e.form}),(0,ga.jsx)(BE,{form:e.form})]}):(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(BE,{form:e.form}),(0,ga.jsx)(CE,{form:e.form})]})})]}),(0,ga.jsxs)(aA,{border:!1,children:[(0,ga.jsx)(sA,{id:"dob-label",children:t("fieldDob")}),(0,ga.jsx)("div",{className:"custom-input-field gap-4 flex flex-col w-2/3",children:(0,ga.jsx)(NQ,{form:e.form})})]}),(0,ga.jsxs)(aA,{border:!1,children:[(0,ga.jsx)(sA,{id:"sex-label",children:t("fieldSex")}),(0,ga.jsx)("div",{className:"custom-input-field gap-4 flex flex-col w-2/3",children:(0,ga.jsx)(LQ,{form:e.form,gender:o.Sex})})]}),(0,ga.jsxs)(aA,{border:!1,children:[(0,ga.jsx)(sA,{id:"gender-label",children:t("fieldGenderIdentity")}),(0,ga.jsx)("div",{className:"custom-input-field gap-4 flex flex-col w-2/3",children:(0,ga.jsx)(PQ,{form:e.form,gender:o.Gender_Identity})})]}),(0,ga.jsxs)(aA,{border:!1,children:[(0,ga.jsx)(sA,{id:"language-label",children:t("fieldLanguage")}),(0,ga.jsx)("div",{className:"custom-input-field gap-4 flex flex-col w-2/3",children:(0,ga.jsx)(TQ,{form:e.form,language:o.Language_Code})})]})]})]})};function RQ(e){const{t}=Fo(),{register:n}=e.form;return(0,ga.jsxs)(Bv,{fullWidth:!0,className:"gap-4",children:[(0,ga.jsx)(xB,{fullWidth:!0,...n("address")}),(0,ga.jsx)("p",{className:"text-sm text-gray-400 -mt-4",children:t("fieldOptional")})]})}function MQ(e){const{t}=Fo(),{formState:{errors:n}
102,control:r}=e.form;return(0,ga.jsx)(Bv,{fullWidth:!0,children:(0,ga.jsx)(XA,{name:"city",control:r,render:({field:e})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(xB,{fullWidth:!0,...e}),(0,ga.jsx)("p",{className:"text-sm text-gray-400",children:t("fieldOptional")})]})})})}function HQ(e){const{t}=Fo(),{formState:{errors:n},control:r}=e.form;return(0,ga.jsx)(Bv,{fullWidth:!0,children:(0,ga.jsx)(XA,{name:"telephone",control:r,render:({field:e})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(xB,{fullWidth:!0,...e,error:!!n.telephone}),n.telephone&&(0,ga.jsx)("p",{className:"field-errors",children:"Must contain only numbers"===n.telephone.message?t("fielTelephoneNumberOnly"):t("")}),(0,ga.jsx)("p",{className:"text-sm text-gray-400",children:t("fieldOptional")})]})})})}const zQ="country",KQ=e=>{const{t}=Fo(),[r,o]=(0,n.useState)([]),{control:i,formState:{errors:a}}=e.form,{handleCountryChange:s,country:l}=e,{getCountryList:c,countries:A}=eA();return(0,n.useEffect)(()=>{o(A.filter(e=>!e.Description.includes("Not Applicable")))},[A]),(0,n.useEffect)(()=>{c()},[]),(0,ga.jsx)(XA,{name:zQ,control:i,defaultValue:l||"",render:({field:{onChange:e,value:n,...o}})=>(0,ga.jsxs)(xB,{...o,select:!0,value:n.toUpperCase()||"",fullWidth:!0,error:!!a[zQ],onChange:t=>{e(t),s&&s(t.target.value)},children:[a.country&&(0,ga.jsx)("p",{className:"field-errors",children:"fieldRequired"===a.country.message?t("fieldRequired").replace("[0]",t("fieldCountry")):t("")}),r.length>0?r.map(e=>(0,ga.jsx)(XB,{value:e.Key,children:e.Description},e.Key)):(0,ga.jsxs)(tC,{sx:{display:"flex",justifyContent:"center"},children:[" ",(0,ga.jsx)(AC,{})]})]})})},$Q="countyState";function VQ(e){const{control:t,formState:{errors:n}}=e.form,{states:r,hasStates:o,state:i}=e;return(0,ga.jsx)(Bv,{fullWidth:!0,children:o?(0,ga.jsx)(XA,{name:$Q,control:t,defaultValue:i,render:({field:e})=>(0,ga.jsx)(Bv,{className:"applicant-radio-wrap county-state-wrap",children:(0,ga.jsx)(gB,{labelId:"county-state-label",id:"county-state",required:!1,value:e.value||"",onChange:t=>{e.onChange(t)},children:r.length>0?r.map(e=>(0,ga.jsx)(XB,{value:e.Key,children:e.Description},e.Key)):(0,ga.jsx)(tC,{sx:{display:"flex",margin:"0 auto",width:"40px"},children:(0,ga.jsx)(AC,{})})})})}):(0,ga.jsx)(XA,{name:$Q,control:t,defaultValue:i,render:({field:e})=>(0,ga.jsx)(xB,{...e,id:"county-state",variant:"outlined",required:!1,onChange:t=>{e.onChange(t)}})})})}function qQ(e){const{t}=Fo(),{formState:{errors:n},control:r}=e.form;return(0,ga.jsx)(Bv,{fullWidth:!0,children:(0,ga.jsx)(XA,{name:"postcode",control:r,render:({field:e})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(xB,{fullWidth:!0,...e}),(0,ga.jsx)("p",{className:"text-sm text-gray-400",children:t("fieldOptional")}),n.postcode&&(0,ga.jsx)("p",{className:"field-errors",children:n.postcode.message})]})})})}const WQ=e=>{const{t}=Fo(),r=localStorage.getItem("i18nextLng")?.trim(),o="ja-JP"===r,{profile:i}=e,{handleCountryChange:a,states:s,hasStates:l}=rA();return(0,n.useEffect)(()=>{e.form.setValue("address",i.Address_1),e.form.setValue("city",i.City),e.form.setValue("postcode",i.PostCode_Zip),e.form.setValue("telep
102hone",i.Telephone),a(i.Country)},[]),(0,ga.jsxs)("section",{id:"contact-details",children:[(0,ga.jsx)(Wc,{title:t("contactDetails")}),(0,ga.jsxs)(DQ,{children:[o?(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsxs)(aA,{border:!1,children:[(0,ga.jsx)(sA,{id:"postcode-label",children:t("fieldPostcodeZip")}),(0,ga.jsx)("div",{className:"custom-input-field gap-4 flex flex-col w-2/3",children:(0,ga.jsx)(qQ,{form:e.form})})]}),(0,ga.jsxs)(aA,{border:!1,children:[(0,ga.jsx)(sA,{id:"country-label",children:t("fieldCountry")}),(0,ga.jsx)("div",{className:"custom-input-field gap-4 flex flex-col w-2/3",children:(0,ga.jsx)(KQ,{form:e.form,handleCountryChange:a,country:i.Country})})]}),(0,ga.jsxs)(aA,{border:!1,children:[(0,ga.jsx)(sA,{id:"country-label",children:t("fieldCountyState")}),(0,ga.jsx)("div",{className:"custom-input-field gap-4 flex flex-col w-2/3",children:(0,ga.jsx)(VQ,{form:e.form,hasStates:l,states:s,state:i.County_Province})})]}),(0,ga.jsxs)(aA,{border:!1,children:[(0,ga.jsx)(sA,{id:"city-label",children:t("fieldCity")}),(0,ga.jsx)("div",{className:"custom-input-field gap-4 flex flex-col w-2/3",children:(0,ga.jsx)(MQ,{form:e.form})})]}),(0,ga.jsxs)(aA,{border:!1,children:[(0,ga.jsx)(sA,{id:"address-label",children:t("fieldAddress")}),(0,ga.jsx)("div",{className:"custom-input-field gap-4 flex flex-col w-2/3",children:(0,ga.jsx)(RQ,{form:e.form})})]})]}):(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsxs)(aA,{border:!1,children:[(0,ga.jsx)(sA,{id:"address-label",children:t("fieldAddress")}),(0,ga.jsx)("div",{className:"custom-input-field gap-4 flex flex-col w-2/3",children:(0,ga.jsx)(RQ,{form:e.form})})]}),(0,ga.jsxs)(aA,{border:!1,children:[(0,ga.jsx)(sA,{id:"city-label",children:t("fieldCity")}),(0,ga.jsx)("div",{className:"custom-input-field gap-4 flex flex-col w-2/3",children:(0,ga.jsx)(MQ,{form:e.form})})]}),(0,ga.jsxs)(aA,{border:!1,children:[(0,ga.jsx)(sA,{id:"country-label",children:t("fieldCountry")}),(0,ga.jsx)("div",{className:"custom-input-field gap-4 flex flex-col w-2/3",children:(0,ga.jsx)(KQ,{form:e.form,handleCountryChange:a,country:i.Country})})]}),(0,ga.jsxs)(aA,{border:!1,children:[(0,ga.jsx)(sA,{id:"country-label",children:t("fieldCountyState")}),(0,ga.jsx)("div",{className:"custom-input-field gap-4 flex flex-col w-2/3",children:(0,ga.jsx)(VQ,{form:e.form,hasStates:l,states:s,state:i.County_Province})})]}),(0,ga.jsxs)(aA,{border:!1,children:[(0,ga.jsx)(sA,{id:"postcode-label",children:t("fieldPostcodeZip")}),(0,ga.jsx)("div",{className:"custom-input-field gap-4 flex flex-col w-2/3",children:(0,ga.jsx)(qQ,{form:e.form})})]})]}),(0,ga.jsxs)(aA,{border:!1,children:[(0,ga.jsx)(sA,{id:"telephone-label",children:t("fieldTelephone")}),(0,ga.jsx)("div",{className:"custom-input-field gap-4 flex flex-col w-2/3",children:(0,ga.jsx)(HQ,{form:e.form})})]})]})]})};const GQ=jS({name:Kk().trim().min(1,{message:"fieldRequired"}).regex(/^(?!.*\s{2,})[^\d!@#\$%\^&\*\(\)_\+\-=\[\]\{\};:'",.<>\/?\\|`~]+(?:\s[^\d!@#\$%\^&\*\(\)_\+\-=\[\]\{\};:'",.<>\/?\\|`~]+)*$/,{message:"fieldRequired"}),surname:Kk().trim().min(1,{message:"fieldRequired"}).regex(/^(?!.*\s{2,})[^\d!@#\$%\^&\*\(\)_\+\-=\[\]\{\};:'",.<>\/?\\|`~]+(?:\s[^\d!@#\$%\^&\*\(\)_\+\-=\[\]\{\};:'",.<>\/?\\|`~]+)*$/,{message:"fieldRequired"}),dateOfBirth:BS().refine(e=>{const t=new Date,n=new Date;return n.setFullYear(t.getFullYear()-13),e<=n},"fieldunder13error"),sex:Kk().nullable(),gender:Kk().nullable(),language:Kk().min(3,"fieldRequired"),address:Kk().nullable(),city:Kk().nullable(),country:FS([Kk().refine(e=>""!==e,{message:"fieldRequired"}),yS()]),countyState:Kk().nullable(),postcode:Kk().nullable(),telephone:Kk().nullable().refine(e=>!e||/^\d+$/.test(e),{message:"Must contain only numbers"}),newPassword:Kk().nullable().optional().refine(e=>!e||e.length>=6&&e.length<=32,"passwordLength"),confirmPassword:Kk().nullable().optional().refine(e=>!e||e.length>=6&&e.length<=32,"passwordLength")}).refine(e=>!e.newPassword||e.newPassword===e.confirmPassword,{message:"passMatch",path:["confirmPassword"]}),YQ=()=>{const{t:e}=Fo(),[t,r]=(0,n.useState)(null),o=$u({resolver:hh(GQ)}),{handleSubmit:i}=o,{handleProfileData:a,profileData:s}
102=function(){const[e,t]=(0,n.useState)([]),r=Mc(),o=Va();return{handleProfileData:async()=>{try{const e=await(async(e,t)=>Tc.get(`${Rc(t)}/user-profile/`,{headers:e}))(r,o);t(e.data)}catch(e){throw console.log("ERROR:",e),e}},profileData:e}}(),{doUpdate:l,loading:c}=function(){const e=Mc(),{t}=Fo(),r=Va(),[o,i]=(0,n.useState)(!1);return{doUpdate:async n=>{try{i(!0),await(async(e,t,n)=>Tc.put(`${Rc(n)}/user-profile`,t,{headers:e}))(e,n,r),Pa.success(t("messageSettingsChangeSuccess"))}catch(e){Ac.isAxiosError(e)?(console.log("API ERROR ==>",{status:e.status,response:e.response}),Pa.error(t("messageSettingsChangeFailed"))):console.log(e)}finally{i(!1)}},loading:o}}();return(0,n.useEffect)(()=>{a().catch(e=>{console.log("ERROR",e),r("Failed to load profile data.")})},[]),t?(0,ga.jsx)("div",{className:" text-center",children:t}):s&&0!==s.length?(0,ga.jsx)("div",{children:(0,ga.jsxs)("form",{noValidate:!0,autoComplete:"off",onSubmit:i(e=>{const t={},n=(e,n)=>{null!=n&&""!==n.trim()&&(t[e]=n)};n("First_Name",e.name),n("Last_Name",e.surname),n("Date_Of_Birth",e.dateOfBirth?e.dateOfBirth.toISOString().split("T")[0]:null),n("Gender",e.sex),n("Gender_Identity",e.gender),n("Language_Code",e.language),n("Address_1",e.address),n("City",e.city),n("Country",e.country),n("County_Province",e.countyState),n("PostCode_Zip",e.postcode),n("Telephone",e.telephone),n("Password",e.newPassword),n("Confirm_Password",e.confirmPassword),l(t)}),children:[(0,ga.jsx)(OQ,{form:o,profile:s}),(0,ga.jsx)(WQ,{form:o,profile:s}),(0,ga.jsxs)("section",{className:"py-4 flex justify-between",children:[(0,ga.jsx)(xa,{color:"red",to:"deactivate",className:"uppercase",children:e("deactivateAcc")}),(0,ga.jsx)(xa,{type:"submit",loading:c,className:"ml-2 uppercase",children:e("SaveProfile")})]})]})}):(0,ga.jsx)("div",{className:"text-gwr-light-blue flex justify-center",children:(0,ga.jsx)(ba,{size:"size-10"})})};function XQ(){const{t:e}=Fo();return(0,ga.jsxs)("div",{className:"max-w-200",children:[(0,ga.jsx)(jc,{title:e("profileTitle")}),(0,ga.jsx)(YQ,{})]})}const JQ=()=>{const{t:e}=Fo(),{deactivate:t}=function(){const e=Nt(),t=Mc(),n=fo(),r=Va();return n?.user?.access_token&&(t.token=n.user.access_token),{deactivate:async()=>{try{await(async(e,t)=>Tc.delete(`${Rc(t)}/user-profile/`,{headers:e}))(t,r),e((r?"/consultant":"")+"/logout",{replace:!0})}catch(e){console.error("Error deleting account:",e)}}}}(),[r,o]=(0,n.useState)(null),i=Va();return(0,n.useEffect)(()=>{(async()=>{try{const e=await uc(xc);o(e)}catch(e){console.log("ERROR",e)}})()},[]),(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(Wc,{title:r?.title||"Are you sure you wish to deactivate your account?"}),(0,ga.jsxs)("section",{className:"bg-white p-6 space-y-8",children:[(0,ga.jsx)("p",{className:"text-lg",dangerouslySetInnerHTML:{__html:r?.content||""}}),(0,ga.jsxs)("div",{className:"gap-4 flex flex-col-reverse md:flex-row justify-end ",children:[(0,ga.jsx)(xa,{to:(i?"/consultant":"")+"/settings",color:"transparent",children:e("btnDeactivateAccountCancel")}),(0,ga.jsx)(xa,{color:"red",onClick:t,children:e("btnDeactivateAccount")})]})]})]})},ZQ=()=>(0,ga.jsxs)("div",{className:"max-w-200",children:[(0,ga.jsx)(jc,{title:"Profile"}),(0,ga.jsx)(JQ,{})]}),eT=()=>{const{user:e}=fo(),[t,r]=(0,n.useState)(!0),[o,i]=(0,n.useState)(null),a=e?.profile["custom:sfid"];return(0,ga.jsxs)(ga.Fragment,{children:[t&&(0,ga.jsx)("div",{className:"flex justify-center text-gwr-light-blue",children:(0,ga.jsx)(ba,{size:"size-10"})}),o&&(0,ga.jsx)("div",{className:"text-red-500 text-center",children:o}),(0,ga.jsx)("iframe",{className:"w-full h-svh "+(t?"hidden":""),src:`https://cloud.communications.guinnessworldrecords.com/bcbmzpj3odg?_subscriberKey=${a}`,onLoad:()=>r(!1),onError:()=>i("Failed to load marketing consents.")})]})},tT=()=>(0,ga.jsx)("div",{className:"max-w-200",children:(0,ga.jsx)(eT,{})});function nT(){const e=fo(),t=Va();return console.log("Logout component rendered. User:",e.user,"Is Consultant:",t),(0,n.useEffect)(()=>{sessionStorage.setItem("logout","true");const n=e.user?.id_token,r=t?(e=>{console.log("Cognito Consultant Logout Config:",na);const{cognitoDomain:t,clientId:n,logoutUri:r}=na,o=new URLSearchParams({client_id:n,logout_uri:r});return e&&o.append("id_token_hint",e),`${t}/logout?${o.toString()}`})(n):(e=>{console.log("Cognito Logout Config:",ea);const{cognitoDomain:t,clientId:n,logoutUri:r}=ea,o=new URLSearchParams({client_id:n,logout_uri:r});return e&&o.append("id_token_hint",e),`${t}/logout?${o.toString()}`})(n);e.removeUser(),window.location.href=r},[]),(0,ga.jsx)("div",{className:"min-h-screen flex items-center justify-center",children:"Signing out…"})}
102const rT=[{id:0,label:"checkApplicationDetails"},{id:1,label:"selectEvidenceType"},{id:2,label:"btnUploadEvidence"},{id:3,label:"saveOrSubmit"}],oT=({currentStep:e})=>{const{t}=Fo();return(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)("ul",{className:"grid grid-cols-2 sm:grid-cols-4 text-xs text-center mb-8",children:rT.map(n=>(0,ga.jsx)("li",{className:"border border-zinc-100 p-2.5 list-none\n              "+(n.id===e?"bg-gwr-green text-white":""),children:t(n.label)},n.id))}),2!==e&&(0,ga.jsx)("h1",{className:"text-xl md:text-3xl border-b border-zinc-300 pb-3.5 mb-7",children:t(rT[e].label)})]})},iT=()=>{const{t:e}=Fo(),{applicationId:t}=Lt(),{fetchApplicationDetail:r,isLoading:o,application:i}=Zc(),{nextStep:a}=TC(),s=$u({resolver:hh(XS),mode:"onChange"}),{handleSubmit:l}=s,{handlePostAppDetailsForm:c,submitting:A}=ZS();return(0,n.useEffect)(()=>{t&&r(t)},[]),o?(0,ga.jsx)("div",{className:"flex justify-center items-center",children:(0,ga.jsx)(ba,{size:"size-11"})}):i?(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)("p",{className:"mb-10",children:e("checkApplicationIntroduction")}),(0,ga.jsxs)("form",{onSubmit:l(async e=>{if(0===e.Participants.length)return!1;(await c(e)).success&&a()}),children:[(0,ga.jsx)(xk,{form:s,application:i}),(0,ga.jsxs)("section",{className:"flex flex-col-reverse sm:flex-row gap-4 justify-between w-full bg-zinc-100 p-4 border-t border-gray-300",children:[(0,ga.jsx)(xa,{color:"transparent",small:!0,to:`/applications/${i.Id}`,children:e("cancelBackApplication")}),(0,ga.jsx)(xa,{type:"submit",small:!0,loading:A,children:e("btnSubmit")})]})]})]}):(0,ga.jsx)("p",{children:e("noApplicationDataFound")})},aT=jS({checkboxes:kS(jS({Id:dS().optional().nullable(),Text:Kk().optional().nullable(),Complete:mS().optional().nullable(),IsSensitiveEvidence:mS().optional().nullable(),NumberOfEvidence:dS().optional().nullable(),sensitive:mS().optional().nullable(),name:Kk().optional().nullable(),evidenceCategory:Kk().optional().nullable(),nameStoreState:Kk().optional().nullable(),hasApplied:mS().optional().nullable()})).min(1,"Please select at least one option.")});function sT({setSelectedEvidenceTypes:e}){const t=Mc(),{applicationId:r}=Lt(),{t:o}=Fo(),{nextStep:i}=TC(),[a,s]=(0,n.useState)([]),[l,c]=(0,n.useState)(!1),[A,u]=(0,n.useState)([]),d=Va();(0,n.useEffect)(()=>{(async()=>{try{if(c(!0),!r)return console.error("No application ID found"),void s([]);const e=await(async(e,t,n)=>Tc.get(`${Oc(n)}/applications/records/attempt-data/${t}`,{headers:e}))(t,r,d),n=Array.isArray(e?.data)?e.data:[];n.some(e=>5===e.Id)||n.push({Id:5,AttemptId:null,Text:"Miscellaneous",IsSensitiveEvidence:!1,NameStoreState:"miscellaneous",Complete:!1}),s(n)}catch(e){console.error("ERROR => ",e),s([])}finally{c(!1)}})()},[]);const p=$u({resolver:hh(aT),mode:"onChange",defaultValues:{checkboxes:[]}}),{handleSubmit:f,clearErrors:h,setValue:m,formState:{errors:g}}=p;return(0,ga.jsxs)("form",{onSubmit:f(t=>{e(t.checkboxes),i()}),children:[(0,ga.jsx)("h1",{children:o("selectEvidenceType")}),(0,ga.jsx)("p",{className:"text-base",children:o("evidenceTypeRequest")}),(0,ga.jsxs)("section",{id:"evidenceCheckbox",className:"py-6",children:[(0,ga.jsx)(ga.Fragment,{children:l||0===a.length?(0,ga.jsx)("div",{className:"flex justify-center items-center h-32 text-gwr-light-blue",children:(0,ga.jsx)(ba,{size:"size-8"})}):a.map(e=>(0,ga.jsx)("div",{children:(0,ga.jsx)(nk,{control:(0,ga.jsx)(jj,{onChange:t=>{if(t.target.checked)m("checkboxes",[...A,e]),h("checkboxes"),u([...A,e]);else{const t=A.filter(t=>t.Id!==e.Id);m("checkboxes",t),u(t)}},checked:A.some(t=>t.Id===e.Id)}),label:e.Text})},e.Id))}),g.checkboxes&&(0,ga.jsx)("p",{className:"field-errors",children:g.checkboxes.message})]}),(0,ga.jsx)("section",{id:"buttons",children:(0,ga.jsx)(DC,{})})]})}const lT=jS({noSensitiveData:Kk().min(1,"Please select one of the options")}),cT=({handleCheckResult:e,handleBackStep:t})=>{const{t:n}=Fo(),{applicationId:r}=Lt(),o=window.location.origin,i=$u({resolver:hh(lT),defaultValues:{noSensitiveData:""}});return(0,ga.jsxs)("div",{className:"text-base",children:[(0,ga.jsx)("h3",{className:"text-xl font-rubik-medium",children:n("sensitiveDataQuestion")}),(0,ga.jsx)("p",{children:n("sensitiveDataRequirement")}),(0,ga.jsx)("p",{className:"text-cyan-700 underline mb-6 text-base",children:(0,ga.jsx)("a",{href:`${o}/using-this-website/sensitive-personal-data-policy`,children:n("sensitiveDataLink")})}),(0,ga.jsxs)("form",{onSubmit:i.handleSubmit(()=>{const t=i.getValues("noSensitiveData");e("true"===t),i.reset()}),children:[(0,ga.jsx)(bk,{form:i}),(0,ga.jsxs)("div",{className:"flex justify-between flex-col-reverse sm:flex-row gap-4 bg-zinc-100 p-4 mt-6 border-t border-gray-300",children:[(0,ga.jsx)(xa,{to:`/applications/${r}`,color:"transparent",small:!0,children:n("cancelBackApplication")}),(0,ga.jsxs)("div",{className:"space-x-4 flex justify-between",children:[(0,ga.jsx)(xa,{small:!0,onClick:t,color:"transparent",children:n("backButton")}),(0,ga.jsx)(xa,{type:"submit",small:!0,children:(0,ga.jsx)("span",{children:n("btnSubmit")})})]})]})]})]})},AT=({handleBackStep:e,handlePermissionComplete:t,loading:r})=>{const{t:o}=Fo(),{applicationId:i}
102=Lt(),[a,s]=(0,n.useState)(!1);return(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsxs)("div",{className:"space-y-4 p-4 text-base",children:[(0,ga.jsx)("p",{children:o("sensitiveDataRequest")}),(0,ga.jsxs)("p",{children:[o("sensitiveDataCategoryIntroduction"),":"]}),(0,ga.jsxs)("ul",{className:"list-disc list-inside ml-6",children:[(0,ga.jsxs)("li",{children:[o("racialOrEthnic"),";"]}),(0,ga.jsxs)("li",{children:[o("politicalOpinions"),";"]}),(0,ga.jsxs)("li",{children:[o("religiousPhilisophicalBeliefs"),";"]}),(0,ga.jsxs)("li",{children:[o("tradeUnionMembership"),";"]}),(0,ga.jsxs)("li",{children:[o("geneticData"),";"]}),(0,ga.jsxs)("li",{children:[o("healthLabel"),";"]}),(0,ga.jsx)("li",{children:o("sexualOrientationLabel")})]}),(0,ga.jsx)(nk,{control:(0,ga.jsx)(jj,{checked:a,onChange:e=>s(e.target.checked)}),label:o("yesGrantAccessSensitive")})]}),(0,ga.jsxs)("div",{className:"flex flex-col-reverse sm:flex-row gap-4 justify-between bg-zinc-100 p-4 mt-6 border-t border-gray-300",children:[(0,ga.jsx)(xa,{to:`/applications/${i}`,color:"transparent",small:!0,children:o("cancelBackApplication")}),(0,ga.jsxs)("div",{className:"space-x-4 flex justify-between",children:[(0,ga.jsx)(xa,{small:!0,onClick:e,color:"transparent",children:o("backButton")}),(0,ga.jsx)(xa,{small:!0,onClick:t,disabled:!a||r,loading:r,children:(0,ga.jsx)("span",{children:o("btnSubmit")})})]})]})]})};function uT(e){const{formState:{errors:t},control:r,clearErrors:o}=e.form,{handleAddSource:i,linkList:a}
102=e,[s,l]=(0,n.useState)(""),{t:c}=Fo();return(0,ga.jsxs)("div",{className:"flex gap-4 items-center custom-input-field",children:[(0,ga.jsx)(Bv,{fullWidth:!0,children:(0,ga.jsx)(XA,{name:"weblink",rules:{required:!1},control:r,render:({field:e})=>(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(xB,{...e,fullWidth:!0,value:s,onChange:t=>{e.onChange(t),a.length>0&&o("weblink"),l(t.target.value)}}),0===a.length&&t.weblink&&(0,ga.jsx)("p",{className:"field-errors",children:String(t.weblink.message)})]})})}),(0,ga.jsx)("div",{children:(0,ga.jsx)(xa,{color:"blue",type:"button",small:!0,disabled:""===s,onClick:()=>{i(s),l("")},children:(0,ga.jsx)("span",{children:c("addButton")})})})]})}function dT(e){return wv("MuiLinearProgress",e)}vv("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","bar1","bar2","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const pT=rb`
103  0% {
104    left: -35%;
105    right: 100%;
106  }
107
108  60% {
109    left: 100%;
110    right: -90%;
111  }
112
113  100% {
114    left: 100%;
115    right: -90%;
116  }
117`,fT="string"!=typeof pT?nb`
118        animation: ${pT} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
119      `:null,hT=rb`
120  0% {
121    left: -200%;
122    right: 100%;
123  }
124
125  60% {
126    left: 107%;
127    right: -8%;
128  }
129
130  100% {
131    left: 107%;
132    right: -8%;
133  }
134`,mT="string"!=typeof hT?nb`
135        animation: ${hT} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
136      `:null,gT=rb`
137  0% {
138    opacity: 1;
139    background-position: 0 -23px;
140  }
141
142  60% {
143    opacity: 0;
144    background-position: 0 -23px;
145  }
146
147  100% {
148    opacity: 1;
149    background-position: -200px -23px;
150  }
151`,yT="string"!=typeof gT?nb`
152        animation: ${gT} 3s infinite linear;
153      `:null,wT=(e,t)=>e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:"light"===e.palette.mode?e.lighten(e.palette[t].main,.62):e.darken(e.palette[t].main,.5),vT=sv("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${pv(n.color)}`],t[n.variant]]}})(jv(({theme:e})=>({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},variants:[...Object.entries(e.palette).filter(Ev()).map(([t])=>({props:{color:t},style:{backgroundColor:wT(e,t)}})),{props:({ownerState:e})=>"inherit"===e.color&&"buffer"!==e.variant,style:{"&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}}},{props:{variant:"buffer"},style:{backgroundColor:"transparent"}},{props:{variant:"query"},style:{transform:"rotate(180deg)"}}]}))),bT=sv("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.dashed,t[`dashedColor${pv(n.color)}`]]}})(jv(({theme:e})=>({position:"absolute",marginTop:0,height:"100%",width:"100%",backgroundSize:"10px 10px",backgroundPosition:"0 -23px",variants:[{props:{color:"inherit"},style:{opacity:.3,backgroundImage:"radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)"}},...Object.entries(e.palette).filter(Ev()).map(([t])=>{const n=wT(e,t);return{props:{color:t},style:{backgroundImage:`radial-gradient(${n} 0%, ${n} 16%, transparent 42%)`}}})]})),yT||{animation:`${gT} 3s infinite linear`}),xT=sv("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t.bar1,t[`barColor${pv(n.color)}`],("indeterminate"===n.variant||"query"===n.variant)&&t.bar1Indeterminate,"determinate"===n.variant&&t.bar1Determinate,"buffer"===n.variant&&t.bar1Buffer]}})(jv(({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[{props:{color:"inherit"},style:{backgroundColor:"currentColor"}},...Object.entries(e.palette).filter(Ev()).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main}})),{props:{variant:"determinate"},style:{transition:"transform .4s linear"}},{props:{variant:"buffer"},style:{zIndex:1,transition:"transform .4s linear"}},{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:{width:"auto"}},{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:fT||{animation:`${pT} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`}}]}))),_T=sv("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t.bar2,t[`barColor${pv(n.color)}`],("indeterminate"===n.variant||"query"===n.variant)&&t.bar2Indeterminate,"buffer"===n.variant&&t.bar2Buffer]}})(jv(({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[...Object.entries(e.palette).filter(Ev()).map(([t])=>({props:{color:t},style:{"--LinearProgressBar2-barColor":(e.vars||e).palette[t].main}})),{props:({ownerState:e})=>"buffer"!==e.variant&&"inherit"!==e.color,style:{backgroundColor:"var(--LinearProgressBar2-barColor, currentColor)"}},{props:({ownerState:e})=>"buffer"!==e.variant&&"inherit"===e.color,style:{backgroundColor:"currentColor"}},{props:{color:"inherit"},style:{opacity:.3}},...Object.entries(e.palette).filter(Ev()).map(([t])=>({props:{color:t,variant:"buffer"},style:{backgroundColor:wT(e,t),transition:"transform .4s linear"}})),{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:{width:"auto"}},{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:mT||{animation:`${hT} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`}}]}))),BT=n.forwardRef(function(e,t){const n=Av({props:e,name:"MuiLinearProgress"}),{className:r,color:o="primary",value:i,valueBuffer:a,variant:s="indeterminate",...l}=n,c={...n,color:o,variant:s},A=(e=>{const{classes:t,variant:n,color:r}=e;return wh({root:["root",`color${pv(r)}`,n],dashed:["dashed",`dashedColor${pv(r)}`],bar1:["bar","bar1",`barColor${pv(r)}`,("indeterminate"===n||"query"===n)&&"bar1Indeterminate","determinate"===n&&"bar1Determinate","buffer"===n&&"bar1Buffer"],bar2:["bar","bar2","buffer"!==n&&`barColor${pv(r)}`,"buffer"===n&&`color${pv(r)}`,("indeterminate"===n||"query"===n)&&"bar2Indeterminate","buffer"===n&&"bar2Buffer"]},dT,t)})(c),u=Ax(),d={},p={bar1:{},bar2:{}};if(("determinate"===s||"buffer"===s)&&void 0!==i){d["aria-valuenow"]=Math.round(i),d["aria-valuemin"]=0,d["aria-valuemax"]=100;let e=i-100;u&&(e=-e),p.bar1.transform=`translateX(${e}%)`}if("buffer"===s&&void 0!==a){let e=(a||0)-100;u&&(e=-e),p.bar2.transform=`translateX(${e}%)`}return(0,ga.jsxs)(vT,{className:yh(A.root,r),ownerState:c,role:"progressbar",...d,ref:t,...l,children:["buffer"===s?(0,ga.jsx)(bT,{className:A.dashed,ownerState:c}):null,(0,ga.jsx)(xT,{className:A.bar1,ownerState:c,style:p.bar1}),"determinate"===s?null:(0,ga.jsx)(_T,{className:A.bar2,ownerState:c,style:p.bar2})]})}),CT=BT,kT=()=>(0,ga.jsx)("svg",{height:"32px",version:"1.1",viewBox:"0 0 32 32",width:"32px",fill:"currentColor",children:(0,ga.jsx)("path",{d:"M16,16 L12.75,19.25 L12,18.5 L16.5,14 L21,18.5 L20.25,19.25 L17,16 L17,27 L16,27 L16,16 L16,16 Z M15,21 L8.00281647,21 C5.79793835,21 4,19.209139 4,17 C4,15.1046097 5.32460991,13.5117359 7.
15310100919,13.1021544 L7.10100919,13.1021544 C7.03467626,12.7448817 7,12.3764904 7,12 C7,8.68629134 9.68629134,6 13,6 C15.6154416,6 17.8400262,7.67345685 18.6614243,10.0080411 C19.435776,9.37781236 20.4237666,9 21.5,9 C23.8583427,9 25.7929639,10.814166 25.9844379,13.1230721 L25.9844379,13.1230721 C27.7144917,13.5630972 29,15.1320162 29,17 C29,19.2046438 27.207878,21 24.9971835,21 L18,21 L18,22 L25.0005601,22 C27.7616745,22 30,19.7558048 30,17 C30,14.9035809 28.7132907,13.1085075 26.8828633,12.3655101 L26.8828633,12.3655101 C26.3600217,9.87224935 24.1486546,8 21.5,8 C20.6371017,8 19.8206159,8.19871575 19.0938083,8.55288165 C17.8911816,6.43144875 15.6127573,5 13,5 C9.13400656,5 6,8.13400656 6,12 C6,12.1381509 6.00400207,12.275367 6.01189661,12.4115388 L6.01189661,12.4115388 C4.23965876,13.1816085 3,14.9491311 3,17 C3,19.7614237 5.23249418,22 7.99943992,22 L15,22 L15,21 L15,21 L15,21 Z"})}),ST=new Set([".exe",".dll",".com",".msi",".msp",".scr",".cpl",".app",".dmg",".pkg",".apk",".aab",".ipa",".bat",".cmd",".ps1",".psm1",".psd1",".sh",".bash",".zsh",".ksh",".csh",".reg",".php",".phtml",".php3",".php4",".php5",".php7",".php8",".phar",".asp",".aspx",".jsp",".jspx",".cgi",".pl",".py",".rb",".lua",".js",".mjs",".zip",".rar",".7z",".tar",".gz",".bz2",".xz",".iso",".lnk",".url",".webloc",".env",".ini",".cfg",".conf",".yml",".yaml",".htaccess",".sql",".bak",".old",".swp",".tmp",".log"]),jT=({evidenceCategory:e,IsSensitive:t,setFilesUploaded:r})=>{const{t:o}
153=Fo(),i=Mc(),a=Lt(),s=a?.applicationId,l=Va(),[c,A]=(0,n.useState)([]),[u,d]=(0,n.useState)(0),[p,f]=(0,n.useState)(0),[h,m]=(0,n.useState)([]),[g,y]=(0,n.useState)([]),[w,v]=(0,n.useState)(!1),[b,x]=(0,n.useState)(!1),[_,B]=(0,n.useState)(""),C=async(e,t,n,r=3)=>{try{return await(async(e,t,n,r)=>{try{return(await Tc.post(`${Hc(r)}/applications/evidence/upload`,t,{headers:e,params:n})).data}catch(e){throw new Error(`Error uploading chunk: ${e.message}`)}})(e,t,n,l)}catch(o){if(r>0)return console.warn(`Retrying uploadChunkComplete, attempts left: ${r}`),await C(e,t,n,r-1);throw o}},k=async(n=c)=>{x(!0),y([]);let r=0;n.forEach(e=>{r+=Math.ceil(e.size/5242880)}),d(r);try{if(n&&n.length>0)for(let r=0;r<n.length;r++){const o=n[r];if(!o)return void console.log("No file selected");const a=5242880,c=Math.ceil(o.size/a),A=[];let u=o.name;"robots.txt"===u.toLowerCase()&&(u="_robots.txt");const d={fileName:j()+"_"+u,fileSize:o.size};let p="",h="",g=[];try{const e=await Kc(i,d,l);p=e.UploadId,h=e.ObjectKey,g=e.Urls}catch(e){console.error("Error fetching pre-signed URLs:",e),y(e=>[...e,o]);continue}for(let e=0;e<c;e++){const t=e*a,n=Math.min(o.size,t+a),r=o.slice(t,n);try{const t={PartNumber:e+1,ETag:(await Ac.put(g[e],r,{headers:{"Content-Type":"application/octet-stream"}})).headers.etag.replaceAll('"',"")};A.push(t),f(e=>e+1)}catch(e){console.error("Error uploading chunk:",e),y(e=>[...e,o]);break}}if(A.length===c){const a={UploadedParts:A,Filename:u,ApplicationId:Number(s),Category:e,EvidenceType:1,IsSensitive:t||!1};try{const e={uploadId:p,objectKey:h,action:"complete",base64Key:"test"};await C(i,a,e),m(e=>[...e,u]),r===n.length-1&&v(!0)}catch(e){console.error("Error completing the upload:",e),y(e=>[...e,o]),v(!0)}}}}finally{x(!1),A([]),f(0),d(0)}};(0,n.useEffect)(()=>{w&&r(!0)},[w]);let S=u>0?p/u*100:0;function j(){const e=new Date,t=e.getMonth()+1;return`${e.getFullYear()}${t}${e.getDate()}${e.getHours()}${e.getMinutes()}${e.getSeconds()}${e.getMilliseconds()}`}return S>=100&&(S=99),(0,n.useEffect)(()=>(document.body.style.overflow=b?"hidden":"auto",()=>{document.body.style.overflow="auto"}),[b]),(0,ga.jsxs)("div",{children:[b&&(0,ga.jsx)("div",{className:"fixed inset-0 bg-black/50 bg-opacity-50 flex flex-col justify-center items-center z-10",children:(0,ga.jsxs)("div",{className:"bg-white p-6 rounded shadow-md w-3/4 max-w-lg text-center",children:[(0,ga.jsx)("div",{className:"text-gwr-light-blue flex justify-center my-4",children:(0,ga.jsx)(ba,{})}),(0,ga.jsxs)("p",{children:[o("loadingWaitLabel")," ",Math.round(S),"%"]}),(0,ga.jsx)(CT,{variant:"determinate",value:S,style:{margin:"1em 0"}}),c.length>0&&c.map((e,t)=>(0,ga.jsxs)("div",{className:"uploaded-list",children:[e.name,h.includes(e.name)?(0,ga.jsx)(AA,{}):(0,ga.jsx)("span",{className:"uppercase",children:" ..."})]},t))]})}),_&&(0,ga.jsx)("div",{style:{color:"red",marginBottom:"10px"},children:_}),(0,ga.jsx)("div",{className:"my-8 text-center",children:(0,ga.jsx)(xa,{color:"transparent",type:"button",children:(0,ga.jsxs)("label",{className:"flex items-center justify-center cursor-pointer gap-4",children:[(0,ga.jsx)(kT,{}),o("btnUploadEvidence"),(0,ga.jsx)("input",{type:"file",multiple:!0,name:"file",onChange:e=>{if(e.target.files&&e.target.files.length>0){const t=Array.from(e.target.files),n=t.filter(e=>!(e=>!ST.has((e=>{const t=e.lastIndexOf(".");return-1===t?"":e.slice(t).toLowerCase()})(e.name)))(e)),r=o("invalidFileLabel");if(n.length>0)return void B(r);B(""),A(t),y([]),k(t)}},disabled:b,className:"hidden"})]})})}),(0,ga.jsxs)(ga.Fragment,{children:[h.length>0&&(0,ga.jsxs)("div",{className:"my-4 space-y-2",children:[(0,ga.jsxs)("h4",{className:"text-base font-rubik-medium",children:[o("successfullyUploadedFilesLabel"),":"]}),h.map((e,t)=>(0,ga.jsxs)("div",{className:"flex items-center gap-2 border border-gray-200 bg-gray-50 px-3 py-2 text-sm font-mono text-gray-700",children:[(0,ga.jsx)("span",{className:"truncate",children:e}),(0,ga.jsx)(AA,{})]},t))]}),g.length>0&&(0,ga.jsxs)("div",{className:"my-4 space-y-2",children:[(0,ga.jsxs)("h4",{className:"text-base font-rubik-medium",children:[o("failedUploadsLabel"),":"]}),g.map((e,t)=>(0,ga.jsx)("div",{className:"flex truncate items-center gap-2 border border-gray-200 bg-gray-50 px-3 py-2 text-sm font-mono text-gray-700",children:e.name},t)),(0,ga.jsx)(xa,{small:!0,onClick:()=>{g.length>0&&(f(0),d(0),x(!0),k(g))},disabled:b,children:o("btnRetryFailedUploads")})]})]})]})},ET=jS({weblink:Kk(),evidence:kS(Kk())});function FT({item:e,handleBackStep:t,handleUploadComplete:r}){const{applicationId:o}
153=Lt(),{t:i}=Fo(),a=$u({resolver:hh(ET),defaultValues:{evidence:[],weblink:""}}),{handleSubmit:s,watch:l,setError:c,clearErrors:A,register:u,formState:{errors:d}}=a,{handlePostSubmitUploadEvidence:p,submitting:f}=function(){const[e,t]=(0,n.useState)(!1),{t:r}=Fo(),o=Mc(),{nextStep:i}=TC(),a=Va();return{handlePostSubmitUploadEvidence:(0,n.useCallback)(async(e,n,s)=>{if(0===e.weblink.length&&i(),e.weblink.length>0){const n=e.weblink.map(t=>({ApplicationId:Number(s),EvidenceType:2,Text:t,EvidenceCategory:e.evidenceType,IsFurtherEvidence:!1,IsDeleted:!1}));try{t(!0);const e={Evidences:n},r=`ApplicationId=${Number(s)}&EvidenceType=2&IsFurtherEvidence=false`;await zc(o,a,e,r),i()}catch(e){console.error("ERROR --\x3e ",e),Pa.error(r("uploadingLinkError"))}finally{t(!1)}}},[]),submitting:e}}(),[h,m]=(0,n.useState)(!1);(0,n.useEffect)(()=>{h&&A(["weblink","evidence"])},[h]);const{evidenceList:g,getEvidenceList:y}=nA(),w=Mc();(0,n.useEffect)(()=>{void 0!==o&&y(w,o)},[o]);const[v,b]=(0,n.useState)([]);return(0,ga.jsxs)("form",{onSubmit:s(t=>{let n=0;if(g&&g?.length>0&&g.map(t=>{t.EvidenceCategory===e.Text&&(n+=1)}),!h&&0===v.length)return h||c("evidence",{type:"manual",message:`${i("noEvidenceUploadError")}`}),void(0===v.length&&c("weblink",{type:"manual",message:`${i("noLinkUploadError")}`}));{A(["weblink","evidence"]);const n={evidence:t.evidence,weblink:v,evidenceType:e.Text};p(n,e.Id,o)}}),className:"text-base",children:[(0,ga.jsx)("section",{id:"evidenceUpload",children:e?(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)("p",{children:i("fileUploadDescription")}),(0,ga.jsx)(jT,{evidenceCategory:e.Text,IsSensitive:e.IsSensitiveEvidence,setFilesUploaded:m}),d.evidence&&(0,ga.jsx)("p",{className:"field-errors",children:d.evidence.message})]}):null}),(0,ga.jsxs)("section",{children:[(0,ga.jsx)(Wc,{title:i("linkEvidenceTitle")}),(0,ga.jsx)("p",{className:"py-4",children:i("linkEvidenceDescription")}),(0,ga.jsx)(uT,{form:a,handleAddSource:e=>{A(),b([...v,e])},linkList:v}),v.length>0&&(0,ga.jsx)("ul",{className:"p-4 space-y-2",children:v.map((e,t)=>(0,ga.jsxs)("li",{className:`${t%2==0&&"bg-slate-100"} p-2 flex justify-between items-center`,children:[e,(0,ga.jsx)(yC,{onClick:()=>(e=>{const t=v.filter((t,n)=>n!==e);b(t)})(t)})]},`${e}${t}`))})]}),(0,ga.jsxs)("div",{className:"flex flex-col-reverse sm:flex-row gap-4 justify-between bg-zinc-100 p-4 mt-6 border-t border-gray-300",children:[(0,ga.jsx)(xa,{to:`/applications/${o}`,color:"transparent",type:"button",small:!0,children:i("cancelBackApplication")}),(0,ga.jsxs)("div",{className:"space-x-4 flex justify-between",children:[(0,ga.jsx)(xa,{small:!0,type:"button",onClick:t,color:"transparent",children:i("backButton")}),(0,ga.jsx)(xa,{small:!0,type:"submit",onClick:r,disabled:0===v.length&&!h||f,children:(0,ga.jsx)("span",{children:i("btnSubmit")})})]})]})]})}const NT={promoteProductsConsent:"true",brandEvidenceConsent:"false",dataTransferCountryConsent:"true",sensitiveDataConset:"false",allTermsConsent:"true"},UT=({selectedEvidenceTypes:e})=>{const[t,r]=(0,n.useState)(e||[]),[o,i]=(0,n.useState)(0),[a,s]=(0,n.useState)("check"),[l,c]=(0,n.useState)(null),{nextStep:A,previousStep:u}=TC(),{t:d}=Fo(),{updatePrivacyData:p,loading:f}=(()=>{const e=Mc(),[t,r]=(0,n.useState)(!1),[o,i]=(0,n.useState)(NT),{t:a}=Fo();return{getPrivacyData:async()=>{r(!0);try{const t=await(async e=>{try{return await Tc.get("/cognitolabs/privacy",{headers:e})}catch(e){throw new Error("Failed to fetch application privacy data")}})(e);i(t.data)}catch(e){console.error(e),Pa.error(a("error"))}finally{r(!1)}return o},updatePrivacyData:async t=>{r(!0);try{await qc({headers:e,data:t}),Pa.success(a("success"))}catch(e){console.error(e),Pa.error(a("error"))}finally{r(!1)}},loading:t,privacyData:o}})(),h=(0,n.useMemo)(()=>{if(t&&0!==t.length)return t[o]},[t,o]);(0,n.useMemo)(()=>{h&&s(h.IsSensitiveEvidence?"permission":"check")},[h]);const m=()=>{if(l)return s(l),void c(null);u()};return(0,n.useEffect)(()=>{e&&e.length>0&&(r(e),i(0),s(e[0].IsSensitiveEvidence?"permission":"check"))},[e]),t&&0!==t.length&&h?(0,ga.jsxs)("div",{className:"space-y-6",children:["check"===a&&(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(LT,{children:h.Text}),(0,ga.jsx)(cT,{handleCheckResult:t=>
153{t?(e[o].IsSensitiveEvidence=!0,s("permission"),c("check")):s("upload")},handleBackStep:m})]}),"permission"===a&&(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsxs)(LT,{children:[h.Text," - ",d("sensitivePersonalData")]}),(0,ga.jsx)(AT,{handlePermissionComplete:async()=>{try{const e={sensitiveDataConset:"true"};await p(e),s("upload"),c("permission")}catch(e){console.error("ERROR=========>",e)}},handleBackStep:m,loading:f})]}),"upload"===a&&(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsxs)(LT,{children:[h.Text," - ",d("btnUploadEvidence")]}),(0,ga.jsx)(FT,{item:h,handleBackStep:m,handleUploadComplete:()=>{const e=[...t];e[o].Complete=!0,r(e);const n=e.findIndex(e=>!e.Complete);-1!==n&&i(n)}})]})]}):(0,ga.jsx)("div",{className:"flex justify-center text-gwr-light-blue",children:(0,ga.jsx)(ba,{size:"size-10"})})},LT=({children:e})=>(0,ga.jsx)("h1",{className:"text-xl md:text-3xl border-b border-zinc-300 pb-3.5 mb-7",children:e});var IT=a(9418);function PT(){const[e,t]=(0,n.useState)({title:"",content:"",btnText:""});(0,n.useEffect)(()=>{(async()=>{try{const e=await uc(gc);t(e)}catch(e){console.error(e)}})()},[]);const{handlePostSubmitSave:r,saving:o}=oA();return(0,ga.jsxs)("div",{className:"space-y-6 my-16 text-base",children:[(0,ga.jsx)(Wc,{title:e.title}),(0,ga.jsx)("p",{className:"px-4",dangerouslySetInnerHTML:{__html:IT.default.sanitize(e.content)}}),(0,ga.jsx)(xa,{className:"ml-4",onClick:()=>r(),loading:o,children:(0,ga.jsx)("span",{dangerouslySetInnerHTML:{__html:IT.default.sanitize(e.btnText||"")}})})]})}function QT(){const e=Nt(),{applicationId:t}=Lt(),[r,o]=(0,n.useState)({title:"",content:"",btnText:""});return(0,n.useEffect)(()=>{(async()=>{try{const e=await uc(yc);o(e)}catch(e){console.error(e)}})()},[]),(0,ga.jsxs)("div",{className:"space-y-6 my-8 text-base",children:[(0,ga.jsx)(Wc,{title:r.title}),(0,ga.jsx)("p",{className:"px-4",dangerouslySetInnerHTML:{__html:IT.default.sanitize(r.content)}}),(0,ga.jsx)(xa,{className:"ml-4",type:"button",onClick:()=>{e(`/applications/${t}`)},children:(0,ga.jsx)("span",{dangerouslySetInnerHTML:{__html:IT.default.sanitize(r.btnText||"")}})})]})}const TT=({resetEvidenceTypes:e})=>{const{t}=Fo(),{applicationId:r}=Lt(),{goToStep:o}=TC(),i=Mc(),{getEvidenceList:a,evidenceList:s,loading:l}=nA();return(0,n.useEffect)(()=>{a(i,r),e()},[]),(0,ga.jsxs)("div",{children:[(0,ga.jsxs)("h2",{className:"flex items-center gap-4 text-2xl",children:[(0,ga.jsx)("span",{className:"border rounded-full border-green-600 text-green-600 p-1 inline-flex",children:(0,ga.jsx)(DT,{})}),t("success")]}),(0,ga.jsx)("p",{className:"my-8 text-base",children:t("evidenceUploadMessage")}),(0,ga.jsx)(pA,{evidenceSubmitted:!1,appStatusEvidence:"",loading:l,evidenceList:s,getEvidenceList:a}),(0,ga.jsx)("div",{id:"notFinishedYet",children:(0,ga.jsx)(QT,{})}),(0,ga.jsx)("div",{id:"finishedEvidenceUpload",children:(0,ga.jsx)(PT,{})}),(0,ga.jsx)("div",{className:"flex justify-between bg-zinc-100 p-4 mt-6 border-t border-gray-300",children:(0,ga.jsx)("div",{className:"space-x-4",children:(0,ga.jsx)(xa,{small:!0,onClick:()=>o(1),color:"transparent",children:t("backButton")})})})]})},DT=()=>(0,ga.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,ga.jsx)("path",{d:"M20 6L9 17L4 12",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})});function OT({selectedEvidenceTypes:e,setSelectedEvidenceTypes:t}){const{currentStep:n}=TC();return(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(oT,{currentStep:n}),0===n&&(0,ga.jsx)(iT,{}),1===n&&(0,ga.jsx)(sT,{setSelectedEvidenceTypes:t}),2===n&&(0,ga.jsx)(UT,{selectedEvidenceTypes:e}),3===n&&(0,ga.jsx)(TT,{resetEvidenceTypes:()=>{t([])}})]})}function RT(){const[e,t]=(0,n.useState)([]);return(0,ga.jsx)(QC,{children:(0,ga.jsx)(OT,{selectedEvidenceTypes:e,setSelectedEvidenceTypes:t})})}const MT=({html:e})=>{const[t,r]=(0,n.useState)(!1),[o,i]=(0,n.useState)(!1),a=(0,n.useRef)(null);return(0,n.useEffect)(()=>{const e=a.current;e&&i(e.scrollHeight>e.clientHeight)},[e]),(0,ga.jsxs)("div",{className:"space-y-2",children:[(0,ga.jsx)("div",{ref:a,className:"prose max-w-none text-gray-700 leading-relaxed \n          "+(t?"":"line-clamp-4"),dangerouslySetInnerHTML:{__html:e}}),o&&(0,ga.jsx)("button",{onClick:()=>r(!t),className:"text-gwr-gold hover:underline cursor-pointer ml-auto text-base",children:t?"See less":"See more"})]})},HT=({totalItems:e,recordTitles:t,searchTerm:n})=>(0,ga.jsxs)("section",{className:"my-10",children:[(0,ga.jsx)("div",{className:"text-center mb-10",children:(0,ga.jsxs)("p",{className:"text-lg text-gray-700",children:[(0,ga.jsx)("span",{className:"font-rubik-medium",children:e})," results found for ",(0,ga.jsx)("span",{className:"font-rubik-medium",children:n})]})}),t&&(0,ga.jsx)("ul",{className:"space-y-10",children:t.map(e=>(0,ga.jsxs)("li",{className:"border border-gray-200 bg-white rounded-2xl shadow-lg shadow-gray-100 overflow-hidden",children:[(0,ga.jsx)("h3",{className:"font-rubik-medium text-white bg-gwr-light-blue px-5 py-3 text-2xl tracking-wide",children:e.Title}),(0,ga.jsxs)("div",{className:"p-8 space-y-6",children:[(0,ga.jsxs)("span",{className:"inline-block mb-6 px-4 py-1 rounded-full text-sm text-white "+("embargoed"==e.Status.toLowerCase()?"bg-red-600":"bg-gwr-light-blue"),children:["Record — ",e.Status]}),(0,ga.jsx)(MT,{html:e.RecordText}),(0,ga.jsx)("div",{className:"flex",children:(0,ga.jsx)(xa,{to:`/consultant/records/${e.Id}`,state:{record:e},color:"transparent",className:"ml-auto",children:"View Record"})})]})]},e.Id))})]}),zT=()=>{const{recordTitles:e,query:t,getRecordTitles:r,totalItems:o,totalPages:i,loading:a}
153=function(){const[e,t]=(0,n.useState)(null),[r,o]=(0,n.useState)(""),[i,a]=(0,n.useState)(0),[s,l]=(0,n.useState)(!1),[c,A]=(0,n.useState)(0),u=Mc();return{recordTitles:e,query:r,getRecordTitles:async function(e,n){try{l(!0),t(null),o(e);const r=await(async(e,t,n,r)=>Tc.get(`cognito-consultants/search?searchTerm=${t}&pageSize=10&pageIndex=${r}`,{headers:e}))(u,e,0,n);a(r.data.TotalItems),t(r.data.Results),A(r.data.NumberOfPages)}catch(e){t([]),a(0),A(0)}finally{l(!1)}},totalItems:i,pageSize:10,totalPages:c,loading:s}}(),[s,l]=(0,n.useState)(""),[c,A]=(0,n.useState)(""),[u,d]=(0,n.useState)(1);return(0,n.useEffect)(()=>{""!==s&&r(s,u)},[u]),(0,ga.jsxs)("section",{children:[(0,ga.jsx)("p",{className:"mb-4 text-center py-4",children:"Or update an existing record using the search below:"}),(0,ga.jsxs)("form",{className:"flex gap-3 custom-input-field",onSubmit:async e=>{d(1),e.preventDefault(),l(c),await r(c,1),A("")},children:[(0,ga.jsx)("input",{type:"text",placeholder:"Search...",id:"searchTerm",value:c,onChange:e=>A(e.target.value),className:"flex-1 border border-gray-300 rounded-lg px-4 py-2 focus:outline-none "}),(0,ga.jsx)(xa,{type:"submit",className:"px-6 py-2",disabled:a||""===c.trim(),children:"Search"})]}),a&&(0,ga.jsx)("div",{className:"my-12 text-gwr-light-blue flex justify-center",children:(0,ga.jsx)(ba,{size:"size-10"})}),e&&(0,ga.jsx)(HT,{recordTitles:e,totalItems:o,searchTerm:s}),i>1&&(0,ga.jsx)(Yc,{totalPages:i,currentPage:u,setCurrentPage:d})]})},KT=()=>{const{t:e}=Fo();return(0,ga.jsxs)("div",{children:[(0,ga.jsx)("div",{className:"anchor-link mb-6",children:(0,ga.jsx)(Qn,{to:"/consultant/applications",children:e("viewAllApplications")})}),(0,ga.jsx)("h1",{className:"text-center text-3xl",children:"Consultant's Record Search"}),(0,ga.jsxs)("section",{className:"my-6 text-center space-y-4 border-b border-gray-300 pb-6",children:[(0,ga.jsx)("p",{children:"Is this a new record?"}),(0,ga.jsx)(xa,{to:"/consultant/records/new",color:"blue",className:"mx-auto",children:"Create new title"})]}),(0,ga.jsx)(zT,{})]})},$T=({children:e,label:t})=>(0,ga.jsxs)("div",{className:"text-center space-y-4 border-b border-gray-200 pb-4 mb-8",children:[(0,ga.jsx)("h3",{className:"font-light uppercase",children:t}),e]}),VT=({label:e,value:t,isHtml:n=!1})=>{const r=Array.isArray(t),o=(e,t)=>null==e||""===e?`No ${t} available`:e;let i;return i=n?(0,ga.jsx)("div",{className:"text-base text-gray-500 prose mx-auto",dangerouslySetInnerHTML:{__html:t??""}}):r?(0,ga.jsx)("ol",{className:"list-inside space-y-1",children:t.map((t,n)=>(0,ga.jsx)("li",{className:"text-base text-gray-500",children:o(t,e)},n))}):(0,ga.jsx)("p",{className:"text-base text-gray-500",children:o(t,e)}),(0,ga.jsx)($T,{label:e,children:i})};const qT=({value:e,label:t})=>(0,ga.jsx)($T,{label:t,children:e.map((e,t)=>(0,ga.jsx)("p",{className:"text-base text-gray-500",dangerouslySetInnerHTML:{__html:e.RecordText}},t))}),WT=({value:e,label:t})=>(0,ga.jsx)($T,{label:t,children:e.map((e,t)=>(0,ga.jsxs)("div",{className:"mb-4 last:mb-0",children:[(0,ga.jsx)("h4",{className:"text-base font-rubik-medium text-gray-700",children:e.Name}),(0,ga.jsx)("p",{className:"text-base text-gray-500",dangerouslySetInnerHTML:{__html:e.Description}})]},t))}),GT=({record:e})=>{const{details:t,getConsultantRecordDetails:r,isLoading:o}=function(){const[e,t]=(0,n.useState)(),[r,o]=(0,n.useState)(!1),{recordId:i}=Lt(),a=Mc();return{details:e,getConsultantRecordDetails:async()=>{if(o(!0),!i)throw new Error("Record ID is undefined");await(async(e,t)=>{try{return Tc.get(`cognito-consultants/record/${t}`,{headers:e})}catch(e){throw new Error(`Error getting current holder measurements: ${e.message}`)}})(a,i).then(e=>{t(e.data)}).catch(e=>{console.log("ERROR:",e)}).finally(()=>o(!1))},isLoading:r}}();return(0,n.useEffect)(()=>{r()},[]),(0,ga.jsxs)("section",{className:"text-center mt-4",children:[(0,ga.jsx)("h1",{className:"text-2xl",children:e.Title}),(0,ga.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 py-8",children:[(0,ga.jsx)(VT,{label:"record holders",value:e.RecordHolder}),(0,ga.jsx)(VT,{label:"location",value:e.Location}),(0,ga.jsx)(VT,{label:"current record",value:e.CurrentRecord}),(0,ga.jsx)(VT,{label:"last updated",value:(i=e.AttemptDate,!i||i.includes("0001-01-01")?"N/A":Fc(i))})]}),(0,ga.jsx)(VT,{label:"record text",value:e.RecordText,isHtml:!0}),(0,ga.jsx)(VT,{label:"source",value:e.Source}),o||!t?(0,ga.jsx)("div",{className:"flex justify-center text-gwr-light-blue",children:(0,ga.jsx)(ba,{size:"size-10"})}):(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(qT,{label:"previous record",value:t.previousRecordDetail
153s}),(0,ga.jsx)(WT,{label:"previous book usage",value:t.usages})]}),(0,ga.jsx)(xa,{to:`/consultant/records/new/${e.Id}`,state:e.Title,className:"mt-8",children:"Submit update"})]});var i},YT=()=>{const{state:e}=jt(),t=e?.record;return(0,ga.jsxs)("div",{children:[(0,ga.jsx)("span",{className:"anchor-link",children:(0,ga.jsx)(Qn,{to:"/consultant/search",className:"text-sm",children:"Search records"})}),e&&(0,ga.jsx)("div",{className:"mt-4",children:(0,ga.jsx)(GT,{record:t})})]})},XT=()=>(0,ga.jsx)(uE,{}),JT=dS().int().min(1).max(31,"Invalid day"),ZT=dS().int().min(1).max(12,"Invalid month"),eD=dS().int().max(9999,"Year must be 4 digits long"),tD=Kk({message:"This field is required"}).min(1,"This field is required"),nD=jS({recordText:Kk().min(1,"Please fill in the Record text field"),projectName:FS([Kk().refine(e=>""!==e,{message:"This field is required"}),yS()]),ifBC:mS().optional(),holders:kS(jS({name:Kk().min(1,"This field is required"),nationality:Kk().refine(e=>""!==e,{message:"This field is required"})})),recordDate:US("type",[jS({type:QS("Precise date"),day:JT,month:ZT,year:eD}),jS({type:QS("Month & Year"),month:ZT,year:eD}),jS({type:QS("Year Only"),year:eD}),jS({type:QS("Fill Text"),text:tD})]),expiryDate:BS().optional(),location:FS([Kk().refine(e=>""!==e,{message:"This field is required"}),yS()]),countyState:FS([Kk().optional(),yS()]),city:Kk().optional(),unit:Kk().min(1,"This field is required"),furtherInfo:Kk().optional(),internalNotes:Kk().optional(),recordTitle:Kk().min(1,"Please fill in the Record title field"),measurementInfo:Kk().optional(),recordCategory:kS(Kk().min(1)).min(1,"Please select at least one option from the Category field"),measurementType:FS([Kk().refine(e=>""!==e,{message:"This field is required"}),yS()]),WorkAreaId:Kk().optional()});function rD(){const e=$u({resolver:hh(nD),defaultValues:{recordTitle:"",recordText:"",measurementInfo:"",recordCategory:[],holders:[{name:"",nationality:""}],projectName:"",WorkAreaId:"",ifBC:!1,recordDate:{day:1,month:1,year:2026,text:""},expiryDate:void 0,location:"",countyState:"",city:"",unit:"",furtherInfo:"",internalNotes:"",measurementType:""}}),{handleSubmit:t,watch:r,setValue:o}=e,{handleSubmitNewRecordConsultant:i,loading:a}=function(){const e=Nt(),t=Mc(),[r,o]=(0,n.useState)(!1),i=(0,n.useCallback)(async n=>{o(!0);try{const r=(e=>{const t={DateAttemptAccuracy:(e=>{switch(e){case"Precise date":return 0;case"Month & Year":return 1;case"Year Only":return 2;case"Fill Text":return 3;default:return}})(e.recordDate.type)};return"Precise date"===e.recordDate.type?(t.DateAttemptedDay=e.recordDate.day,t.DateAttemptedMonth=e.recordDate.month,t.DateAttemptedYear=e.recordDate.year):"Month & Year"===e.recordDate.type?(t.DateAttemptedMonth=e.recordDate.month,t.DateAttemptedYear=e.recordDate.year):(e=>"Year Only"===e.type)(e.recordDate)?t.DateAttemptedYear=e.recordDate.year:(e=>"Fill Text"===e.type)(e.recordDate)&&(t.DateAttemptText=e.recordDate.text),{RecordTitle:e.recordTitle||"",RecordText:e.recordText,Definition:e.measurementInfo,RecordCategory:e.recordCategory?.map(e=>e.replace(/^.*?\|\s*/,""))??[],RecordHolders:e.holders.map(e=>({Name:e.name,Nationality:e.nationality})),ProjectName:e.projectName,WorkAreaId:e.WorkAreaId,IsAttemptDateBC:e.ifBC,RecordDate:t,ReviewDate:e.expiryDate,Country:e.location,State:e.countyState,AttemptCity:e.city,MeasurementType:e.measurementType,Measurement:e.unit,FurtherInfo:e.furtherInfo,ApproverNotes:e.internalNotes}})(n),o=await(async(e,t)=>{try{return await Tc.post("cognito-consultants/record",t,{headers:e})}catch(e){throw console.error("Error creating consultant application data:",e),e}})(t,r);sessionStorage.setItem("_application",JSON.stringify(r)),e(`/consultant/records/evidence/${o.data}`,{state:{title:n.recordTitle}})}catch(e){Ac.isAxiosError(e)?(console.log("API ERROR ==>",{status:e.status,response:e.response}),o(!1)):console.log(e)}},[]);return{handleSubmitNewRecordConsultant:i,loading:r}}(),{handleCountryChange:s,states:l,hasStates:c}=rA(),A=r("projectName"),u=r("recordCategory");return(0,ga.jsxs)("section",{children:[(0,ga.jsx)(AE,{children:"Submit a record"}),(0,ga.jsxs)("form",{noValidate:!0,autoComplete:"off",onSubmit:t(e=>{i(e)}),className:"space-y-8",children:[(0,ga.jsx)("section",{className:"custom-input-field",children:(0,ga.jsx)(lj,{form:e})}),(0,ga.jsx)("section",{className:"custom-input-field",children:(0,ga.jsx)(hj,{form:e})}),(0,ga.jsx)("section",{className:"custom-input-field",children:(0,ga.jsx)(Aj,{form:e})}),(0,ga.jsxs)("section",{className:"custom-input-field",children:[(0,ga.jsx)(uj,{form:e}),u.length>0?(0,ga.jsx)("ul",{className:"ml-4 mt-2 space-y-2",children:u.map(e=>(0,ga.jsxs)("li",{className:"flex items-center gap-2",children:[e,(0,ga.jsx)(yC,{small:!0,onClick:()=>o("recordCategory",u.filter(t=>t!==e),{shouldValidate:!0})})]},e))}):(0,ga.jsx)("p",{className:"field-errors",children:"Please add a category to the list"})]}),(0,ga.jsx)("section",{className:"custom-input-field",children:(0,ga.jsx)(mj,{form:e,handleCountryChange:()=>{},countryCode:""})}),(0,ga.jsx)("section",{className:"custom-input-field",children:(0,ga.jsx)(yj,{form:e})}),(0,ga.jsx)("section",{className:"custom-input-field",children:(0,ga.jsx)(sE,{form:e,projectName:A})}),(0,ga.jsx)("section",{className:"custom-input-field",children:(0,ga.jsx)(Fj,{form:e})}),(0,ga.jsx)("section",{className:"custom-input-field",children:(0,ga.jsx)(zj,{form:e})}),(0,ga.jsx)("section",{className:"custom-input-field",children:(0,ga.jsx)(qj,{form:e})}),(0,ga.jsx)("section",{className:"custom-input-field",children:(0,ga.jsx)(Gj,{form:e,handleCountryChange:s})}),(0,ga.jsx)("section",{className:"custom-input-field",children:(0,ga.jsx)(Xj,{form:e,states:l,hasStates:c})}),(0,ga.jsx)("section",{className:"custom-input-field",children:(0,ga.jsx)(Zj,{form:e})}),(0,ga.jsx)("section",{className:"custom-input-field",children:(0,ga.jsx)(pj,{form:e})}),(0,ga.jsx)("section",{className:"custom-input-field",children:(0,ga.jsx)(tE,{form:e})}),(0,ga.jsx)("section",{className:"custom-input-field",children:(0,ga.jsx)(rE,{form:e})}),(0,ga.jsx)("section",{className:"custom-input-field",children:(0,ga.jsx)(iE,{form:e})}),(0,ga.jsx)(lE,{loading:a})]})]})}const oD=()=>(0,ga.jsx)(rD,{}),iD=()=>
153{const[e,t]=(0,n.useState)(!0),r=(0,n.useMemo)(()=>{const e=sessionStorage.getItem("_application");return t(!1),e?JSON.parse(e):null},[]);return e?(0,ga.jsx)(ba,{}):(0,ga.jsxs)("section",{className:"my-8",children:[(0,ga.jsx)("h2",{className:"font-rubik-medium text-xl mb-4",children:"Record Information"}),(0,ga.jsxs)(aD,{children:[(0,ga.jsx)("h3",{children:"Record Text"}),(0,ga.jsx)("p",{className:"col-span-2",children:r?.RecordText})]}),(0,ga.jsxs)(aD,{children:[(0,ga.jsx)("h3",{children:"Further Information"}),(0,ga.jsx)("p",{className:"col-span-2",children:r?.FurtherInfo})]}),(0,ga.jsxs)(aD,{children:[(0,ga.jsxs)("div",{children:[(0,ga.jsx)("h3",{children:"Internal Notes "}),(0,ga.jsx)("p",{className:"text-sm",children:"(not for display)"})]}),(0,ga.jsx)("p",{className:"col-span-2",children:r?.ApproverNotes})]})]})},aD=({children:e})=>(0,ga.jsx)("div",{className:"sm:grid grid-cols-3 mb-6",children:e}),sD=()=>{const[e,t]=(0,n.useState)(!1),[r,o]=(0,n.useState)([]),i=jt(),a=Nt(),{formSubmitSaveAddEvidenceConsultant:s,submitting:l}=function(){const e=Lt()?.applicationId,[t,r]=(Nt(),(0,n.useState)(!1)),{t:o}=Fo(),i=Mc("en-GB"),a=Va();return{formSubmitSaveAddEvidenceConsultant:(0,n.useCallback)(async t=>{r(!0);const n=t.weblink.map(t=>({ApplicationId:Number(e),EvidenceType:2,Text:t,EvidenceCategory:"Miscellaneous",IsFurtherEvidence:!1,IsDeleted:!1}));try{const r={Evidences:n},s=`ApplicationId=${Number(e)}&EvidenceType=2&IsFurtherEvidence=false`;return t.weblink.length>0&&await zc(i,a,r,s),await $c(i,Number(e),a),Pa.success(o("success")),!0}catch(e){return console.error("ERROR --\x3e ",e),void Pa.error(o("toastieError"))}finally{r(!1)}},[]),submitting:t}}(),c=$u({defaultValues:{evidence:[],weblink:[]}});return(0,ga.jsxs)("section",{children:[(0,ga.jsxs)("h1",{children:["Add Sources ",i.state?.title&&`for ${i.state.title}`]}),(0,ga.jsx)("p",{children:'Type in your screen and click "Add" (entering each source as a separate line). Click "Choose" to attach a document. Click "Save and Submit to GWR" before leaving the page.'}),(0,ga.jsx)(iD,{}),(0,ga.jsxs)("div",{className:"sm:grid grid-cols-3 mb-6",children:[(0,ga.jsx)("h3",{children:"Sources"}),(0,ga.jsxs)("div",{className:"col-span-2",children:[(0,ga.jsx)(uT,{form:c,handleAddSource:e=>{o([...r,e]),c.setValue("weblink",[...r,e])},linkList:r}),(0,ga.jsx)("ul",{className:"p-1 space-y-2",children:r.map((e,t)=>(0,ga.jsxs)("li",{className:`list-none flex items-center gap-4 ${t%2!=0&&"bg-gray-100"} p-2`,children:[e,(0,ga.jsx)(yC,{small:!0,onClick:()=>o(e=>e.filter((e,n)=>n!==t))})]},t))})]})]}),(0,ga.jsxs)("div",{className:"sm:grid grid-cols-3 mb-6",children:[(0,ga.jsx)("h3",{children:"Upload Evidence"}),(0,ga.jsx)("div",{className:"col-span-2",children:(0,ga.jsx)(jT,{evidenceCategory:"miscellaneous",IsSensitive:!1,setFilesUploaded:t})})]}),(0,ga.jsx)("div",{className:"flex justify-end",children:(0,ga.jsx)(xa,{disabled:0===r.length&&!e,onClick:async()=>{await s(c.getValues())&&a("/consultant/applications")},loading:l,children:"Save and Submit to GWR"})})]})},lD=()=>(0,ga.jsx)(sD,{}),cD=()=>{const{t:e}=Fo(),[t,r]=(0,n.useState)(null);return(0,n.useEffect)(()=>{(async()=>{(await uc(_c)).products.forEach(e=>{"salesforce"===e.productCode&&r(e)})})()},[]),(0,n.useEffect)(()=>{t?console.log("Content fetched successfully:",t):console.log("No content available.")},[t]),(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(jc,{title:e("btnContinueAppication")}),(0,ga.jsx)("div",{className:"max-w-200 bg-white",children:t?(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(Wc,{title:t.title}),(0,ga.jsx)("div",{className:"px-8 py-6",dangerouslySetInnerHTML:{__html:t.content}}),(0,ga.jsx)("div",{className:"text-center pb-6",children:(0,ga.jsx)(xa,{to:"/applications",children:t.buttonText})})]}):(0,ga.jsx)(ba,{})})]})},AD=()=>{const e=fo();return e.isLoading?(0,ga.jsx)(Ba,{}):e.isAuthenticated?(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(za,{position:"bottom-center",richColors:!0,toastOptions:{style:{fontSize:"16px"}}}),(0,ga.jsx)(sn,{})]}):(0,ga.jsx)(an,{to:"/consultant/login",replace:!0})},uD=()=>{const{t:e}=Fo(),{applicationId:t}=Lt(),{fetchApplicationDetail:r,isLoading:o,application:i}=Zc(),a=Nt(),s=Va(),l=i?.Title?.toLowerCase().includes("(male)")||i?.Title?.toLowerCase().includes("(female)"),c=$u({resolver:hh(XS),mode:"onChange"}),{handleSubmit:A,setError:u}=c,{handlePostAppDetailsForm:d,submitting:p}=ZS();return(0,n.useEffect)(()=>{t&&r(t)},[t]),o?(0,ga.jsx)("div",{className:"max-w-200 flex justify-center text-gwr-light-blue",children:(0,ga.jsx)(ba,{size:"size-11"})}):i?(0,ga.jsxs)("div",{className:"max-w-200",children:[(0,ga.jsx)("div",{className:"anchor-link mb-6",children:(0,ga.jsx)(Qn,{to:`${s?"/consultant":""}/applications/${t}`,children:e("btnBackToApplication")})}),(0,ga.jsx)(Wc,{title:e("recordApplication")}),(0,ga.jsx)("div",{className:"bg-white text-base sm:text-lg py-6 px-8",children:(0,ga.jsxs)("form",{onSubmit:A(async e=>{if(!((i?.GenderText||l)&&e.Participants.length>0&&ej(e.Participants,0,u)))return 0!==e.Participants.length&&void((await d(e)).success&&a(`/applications/${t}/continue/terms/${i?.UniqueId}/1/${i?.RecordTitleId}`,{state:{company:i?.CompanyName}}))}),children:[(0,ga.jsx)(xk,{form:c,application:i}),(0,ga.jsx)("section",{className:"border-t border-gwr-gray pt-6 text-right",children:(0,ga.jsx)(xa,{type:"submit",loading:p,children:e("continue")})})]})})]}):(0,ga.jsx)("p",{children:e("toastieError")})},dD=()=>{const{t:e}=Fo();return(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(jc,{title:e("btnContinueAppication")}),(0,ga.jsx)(uD,{})]})},pD=e=>e.replace(/[\u00A0-\u9999<>]/g,e=>`&#${e.charCodeAt(0)};`),fD=()=>{const e=Nt(),{t}=Fo(),{arraid:r}
153=Lt(),o=Va(),[i,a]=(0,n.useState)(!1),{uniqueid:s,recordid:l,applicationId:c}=Lt(),[A,u]=(0,n.useState)([]);let d=-1;const p=new Date,f=p.getFullYear(),h=p.getMonth()+1,m=p.getDate(),g=m<10?"0"+h:h.toString(),y=(m<10?"0"+m:m.toString())+"/"+g+"/"+f,w=fo(),v=`${w.user?.profile?.given_name} ${w.user?.profile?.family_name}`,[b,x]=(0,n.useState)(""),_={onBehalfOf:jt().state?.company||""},[B,C]=(0,n.useState)(!1),k=Mc();(0,n.useEffect)(()=>{if(void 0!==l){const e=localStorage.getItem("_search_"+l);if(null!==e){const t=JSON.parse(e);x(t.state.title)}}},[l]);const S=US("optionsNo",[jS({optionsNo:QS("arra-page-1")}),jS({optionsNo:QS("arra-page-3"),q0:Kk()}),jS({optionsNo:QS("arra-page-2"),q0:Kk().min(1,"This field is required"),q1:Kk().min(1,"This field is required"),q2:Kk().min(1,"This field is required")})]),{register:j,setValue:E,formState:{errors:F},reset:N,handleSubmit:U,watch:L}=$u({resolver:hh(S),defaultValues:{optionsNo:"arra-page-1"}});console.log({errors:F,state:L()});(0,n.useEffect)(()=>{switch((async()=>{try{const e=await uc((e=>`${wc}/arra-page-${e}.json`)(r));return u(e.arraItems)}catch(e){Ac.isAxiosError(e)?(console.log(e.status),console.log(e.response)):console.log(e)}})(),r){case"2":E("optionsNo","arra-page-2");break;case"3":E("optionsNo","arra-page-3");break;default:E("optionsNo","arra-page-1")}},[r]);
153const[I,P]=(0,n.useState)(!1),[Q,T]=(0,n.useState)(!1);return(0,ga.jsx)(ga.Fragment,{children:(0,ga.jsxs)("section",{className:"bg-white max-w-200",children:[(0,ga.jsx)(Wc,{title:t("termsAndConditions",{defaultValue:"Terms and Conditions"})}),(0,ga.jsx)("div",{className:"p-12",children:(0,ga.jsxs)("form",{noValidate:!0,autoComplete:"off",onSubmit:U(n=>{a(!0);const i=(e=>{const t=e,n=Object.keys(e).filter(t=>t.startsWith("q")&&void 0!==e[t]);return{Add:n.map(n=>{A.find(e=>e.Keyword===t[n]);let r=e[n],o="";return r.includes("- Yes")?o="Yes":r.includes("- No")&&(o="No"),{Keyword:`${t[n]}`,Text:o,Type:"Applications"}}),Remove:n.map(n=>{A.find(e=>e.Keyword===t[n]);let r=e[n],o="";return"ARRA -  DATA Transfer Country Consent - Yes"===r?(r="ARRA - DATA Transfer Country Consent - No",o="No"):"ARRA - DATA Transfer Country Consent - No"===r?(r="ARRA -  DATA Transfer Country Consent - Yes",o="Yes"):r.includes("- Yes")?(r=r.replace("- Yes","- No"),o="No"):r.includes("- No")&&(r=r.replace("- No","- Yes"),o="Yes"),{Keyword:r,Text:o,Type:"Applications"}})}})(n);(async(n,i)=>{try{const u=_.onBehalfOf.length>0?pD(JSON.stringify(A)).replace("[date]",y).replace("[name]",v).replace("[recordTitle]",b).replace("[organisation]",_.onBehalfOf):pD(JSON.stringify(A)).replace("[date]",y).replace("[name]",v).replace("[recordTitle]",b).replace("<p>On behalf of [organisation]</p>",""),d=JSON.parse(`{"arraItems":${u},\n      "values" :${pD(JSON.stringify(i))} }`),p=`{"Keywords" :${pD(JSON.stringify(n))}}`,f={appuniqueid:s,componentname:"Term"+r};if(void 0!==c){console.log("Params =====>",f,d,k);const n=await(async(e,t,n,r)=>{try{return await Tc.post(`${Oc(t)}/applications/unsubmitted/data`,r,{headers:e,params:n})}catch(e){throw console.error("Error creating unsubmitted application data:",e),e}})(k,o,f,d);"2"!=r&&"3"!=r||await qc({headers:k,data:p}),console.log(n.headers),a(!1);const i=Number(r)+1;if(3==i&&P(!0),N(),i>3){C(!0);const n={appuniqueid:s};try{const r=await(async(e,t,n)=>{try{return await Tc.put(`${Oc(t)}/applications/unsubmitted/complete`,void 0,{headers:e,params:n})}catch(e){throw console.error("Error completing unsubmitted application:",e),e}})(k,o,n);if(console.log(r),200!==r.status)return Pa.error(t("error")),void C(!1);Pa.success(t("success")),sessionStorage.setItem("completedArra",c),e(`/applications/${c}/continue/terms/${s}/${i}/${l}/complete`,{replace:!0})}catch(e){return console.error(e),Pa.error(t("error")),void C(!1)}}else e(`/applications/${c}/continue/terms/${s}/${i}/${l}`,{replace:!0});window.scrollTo(0,0)}}catch(e){Ac.isAxiosError(e)?(console.log(e.status),console.log(e.response)):console.log(e)}})(i,n)}),children:[A.map((e,n)=>{e.answerTrue&&d++;const r=_.onBehalfOf.length>0?e.content.replace("[date]",y).replace("[name]",v).replace("[recordTitle]",b).replace("[organisation]",_.onBehalfOf):e.content.replace("[date]",y).replace("[name]",v).replace("[recordTitle]",b).replace("<p>On behalf of [organisation]</p>","");return(0,ga.jsx)("div",{id:n.toString(),children:(0,ga.jsxs)("div",{children:[e.title&&(0,ga.jsx)("h3",{className:"arra-sub",children:e.title}),(0,ga.jsx)("div",{dangerouslySetInnerHTML:{__html:IT.default.sanitize(r)}}),e.answerTrue&&(0,ga.jsxs)("div",{className:"controls ARRA-controls",children:[e.arracontrols&&(0,ga.jsx)("div",{dangerouslySetInnerHTML:{__html:IT.default.sanitize(e.arracontrols)}}),(0,ga.jsxs)(KC,{className:"qulifying-q1-group-wrap",row:!0,"aria-labelledby":"qulifying-q1-group-label",name:"qulifying-q1-group",onChange:e=>{(e=>{if("Agreement to All Terms Consent - No"===e)return P(!0),void T(!0);P(!1),T(!1)})(e.target.value)},children:[(0,ga.jsx)(nk,{control:(0,ga.jsx)(vk,{}),...j(`q${d}`),value:e.answerTrue,label:(0,ga.jsx)(YC,{color:F[`q${d}`]?"error":"inherit",children:e.answerTrueLabel}),labelPlacement:"top",className:"qq-radio"}),(0,ga.jsx)(nk,{control:(0,ga.jsx)(vk,{}),...j(`q${d}`),value:e.answerFalse,label:(0,ga.jsx)(YC,{color:F[`q${d}`]?"error":"inherit",children:e.answerFalseLabel}),labelPlacement:"top",className:"qq-radio"}),F[`q${d}`]&&(0,ga.jsx)("p",{className:"w-full text-red-600 text-sm mt-1",children:F[`q${d}`]?.message})]}),Q?(0,ga.jsx)("p",{className:"arra-radio-error text-red-600",children:t("finalArraConsent")}):null]})]})},n)}),(0,ga.jsxs)("div",{className:"border-t-2 border-gwr-gray pt-4 mt-4 flex justify-between",children:[(0,ga.jsx)(xa,{value:t("back"),
153className:"capitalize",color:"transparent",type:"button",onClick:()=>(()=>{const n=Number(r)-1;P(!1),N(),n>0?e(`/applications/${c}/continue/terms/${s}/${n}/${l}`,{replace:!0}):(Pa.success(t("success")),e(`/applications/${c}/continue`,{replace:!0}))})(),children:t("back")}),(0,ga.jsx)(xa,{type:"submit",disabled:I,loading:i||B,children:t("continue")})]})]})})]})})},hD=()=>{const{t:e}=Fo();return(0,ga.jsxs)(ga.Fragment,{children:[(0,ga.jsx)(jc,{title:e("btnContinueAppication")}),(0,ga.jsx)(fD,{})]})};function mD({to:e}){return(0,n.useEffect)(()=>{window.location.replace(e)},[e]),null}const gD=[{element:(0,ga.jsx)(ya,{}),path:"/",errorElement:(0,ga.jsx)(_a,{}),children:[{path:"search",element:(0,ga.jsx)(mD,{to:`${window.location.origin}/search`})},{path:"register",element:(0,ga.jsx)(mD,{to:"login"})},{element:(0,ga.jsx)(wa,{}),children:[{path:"login",element:(0,ga.jsx)(Cc,{})},{path:"logout",element:(0,ga.jsx)(nT,{})},{element:(0,ga.jsx)(qa,{value:!1,children:(0,ga.jsx)(Ka,{})}),children:[{element:(0,ga.jsx)(Ga,{}),children:[{index:!0,element:(0,ga.jsx)(kc,{})},{path:"applications",element:(0,ga.jsx)(Jc,{})},{path:"applications/:applicationId",element:(0,ga.jsx)(vA,{})},{path:"applications/:applicationId/edit",element:(0,ga.jsx)(pE,{})},{path:"applications/:applicationId/guidelines",element:(0,ga.jsx)(xE,{})},{path:"applications/:applicationId/continue",element:(0,ga.jsx)(dD,{})},{path:"applications/:applicationId/continue/terms/:uniqueid/:arraid/:recordid",element:(0,ga.jsx)(hD,{})},{path:"applications/:applicationId/continue/terms/:uniqueid/:arraid/:recordid/complete",element:(0,ga.jsx)(cD,{})},{path:"showagreedterms",element:(0,ga.jsx)(_E,{})},{path:"settings",element:(0,ga.jsx)(XQ,{})},{path:"settings/deactivate",element:(0,ga.jsx)(ZQ,{})},{path:"privacy",element:(0,ga.jsx)(tT,{})}]},{element:(0,ga.jsx)(Ya,{}),children:[{path:"evidence-upload-check-details/:applicationId",element:(0,ga.jsx)(RT,{})}]}]}]},{path:"consultant",element:(0,ga.jsx)(va,{}),children:[{path:"login",element:(0,ga.jsx)(Sc,{})},{path:"logout",element:(0,ga.jsx)(nT,{})},{element:(0,ga.jsx)(qa,{value:!0,children:(0,ga.jsx)(AD,{})}),children:[{element:(0,ga.jsx)(Ga,{}),children:[{index:!0,element:(0,ga.jsx)(Jc,{})},{path:"applications",element:(0,ga.jsx)(Jc,{})},{path:"applications/:applicationId",element:(0,ga.jsx)(vA,{})},{path:"applications/:applicationId/edit",element:(0,ga.jsx)(pE,{})},{path:"applications/:applicationId/guidelines",element:(0,ga.jsx)(xE,{})},{path:"applications/:applicationId/continue",element:(0,ga.jsx)(dD,{})},{path:"settings",element:(0,ga.jsx)(XQ,{})},{path:"settings/deactivate",element:(0,ga.jsx)(ZQ,{})},{path:"privacy",element:(0,ga.jsx)(tT,{})},{path:"showagreedterms",element:(0,ga.jsx)(_E,{})}]},{element:(0,ga.jsx)(Ya,{}),children:[{path:"search",element:(0,ga.jsx)(KT,{})},{path:"records/:recordId",element:(0,ga.jsx)(YT,{})},{path:"records/new/:recordId",element:(0,ga.jsx)(XT,{})},{path:"records/new",element:(0,ga.jsx)(oD,{})},{path:"records/evidence/:applicationId",element:(0,ga.jsx)(lD,{})}]}]}]}]}];class yD extends n.Component{constructor(e){super(e),this.state={hasError:!1,error:null}}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){console.error("Error caught by boundary:",e,t)}render(){return this.state.hasError?(0,ga.jsxs)("div",{className:"p-5 text-center",children:[(0,ga.jsx)("h1",{children:"Something went wrong."}),(0,ga.jsx)("p",{children:this.state.error?.message}),(0,ga.jsx)("button",{onClick:()=>this.setState({hasError:!1,error:null}),children:"Try again"})]}):this.props.children}}const wD=yD,vD=document.documentElement.lang||"en-GB";localStorage.getItem("i18nextLng")||localStorage.setItem("i18nextLng",vD);const bD=function(e,t){return _e({basename:t?.basename,getContext:t?.getContext,future:t?.future,history:c({window:t?.window}),hydrationData:t?.hydrationData||Ln(),routes:e,mapRouteProperties:Zt,hydrationRouteProperties:en,dataStrategy:t?.dataStrategy,patchRoutesOnNavigation:t?.patchRoutesOnNavigation,window:t?.window,unstable_instrumentations:t?.unstable_instrumentations}).initialize()}
153(gD,{basename:Gi.client.basename}),xD=document.getElementById("main");if(!xD)throw new Error("Root container not found");(0,o.createRoot)(xD).render((0,ga.jsx)(n.StrictMode,{children:(0,ga.jsx)(wD,{children:(0,ga.jsx)(Wn,{router:bD})})}))})()})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.