/*! For license information please see main.441460ad.js.LICENSE.txt */
(()=>{var e={9812:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){function t(e,r,l,u,p){for(var f,h,m,g,b,w=0,E=0,_=0,C=0,S=0,M=0,O=m=f=0,F=0,R=0,I=0,B=0,W=l.length,z=W-1,$="",H="",V="",U="";F<W;){if(h=l.charCodeAt(F),F===z&&0!==E+C+_+w&&(0!==E&&(h=47===E?10:47),C=_=w=0,W++,z++),0===E+C+_+w){if(F===z&&(0<R&&($=$.replace(d,"")),0<$.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:$+=l.charAt(F)}h=59}switch(h){case 123:for(f=($=$.trim()).charCodeAt(0),m=1,B=++F;F<W;){switch(h=l.charCodeAt(F)){case 123:m++;break;case 125:m--;break;case 47:switch(h=l.charCodeAt(F+1)){case 42:case 47:e:{for(O=F+1;O<z;++O)switch(l.charCodeAt(O)){case 47:if(42===h&&42===l.charCodeAt(O-1)&&F+2!==O){F=O+1;break e}break;case 10:if(47===h){F=O+1;break e}}F=O}}break;case 91:h++;case 40:h++;case 34:case 39:for(;F++<z&&l.charCodeAt(F)!==h;);}if(0===m)break;F++}if(m=l.substring(B,F),0===f&&(f=($=$.replace(c,"").trim()).charCodeAt(0)),64===f){switch(0<R&&($=$.replace(d,"")),h=$.charCodeAt(1)){case 100:case 109:case 115:case 45:R=r;break;default:R=L}if(B=(m=t(r,R,m,h,p+1)).length,0<N&&(b=s(3,m,R=n(L,$,I),r,j,D,B,h,p,u),$=R.join(""),void 0!==b&&0===(B=(m=b.trim()).length)&&(h=0,m="")),0<B)switch(h){case 115:$=$.replace(k,a);case 100:case 109:case 45:m=$+"{"+m+"}";break;case 107:m=($=$.replace(v,"$1 $2"))+"{"+m+"}",m=1===P||2===P&&i("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=$+m,112===u&&(H+=m,m="")}else m=""}else m=t(r,n(r,$,I),m,u,p+1);V+=m,m=I=R=O=f=0,$="",h=l.charCodeAt(++F);break;case 125:case 59:if(1<(B=($=(0<R?$.replace(d,""):$).trim()).length))switch(0===O&&(f=$.charCodeAt(0),45===f||96<f&&123>f)&&(B=($=$.replace(" ",":")).length),0<N&&void 0!==(b=s(1,$,r,e,j,D,H.length,u,p,u))&&0===(B=($=b.trim()).length)&&($="\0\0"),f=$.charCodeAt(0),h=$.charCodeAt(1),f){case 0:break;case 64:if(105===h||99===h){U+=$+l.charAt(F);break}default:58!==$.charCodeAt(B-1)&&(H+=o($,f,h,$.charCodeAt(2)))}I=R=O=f=0,$="",h=l.charCodeAt(++F)}}switch(h){case 13:case 10:47===E?E=0:0===1+f&&107!==u&&0<$.length&&(R=1,$+="\0"),0<N*T&&s(0,$,r,e,j,D,H.length,u,p,u),D=1,j++;break;case 59:case 125:if(0===E+C+_+w){D++;break}default:switch(D++,g=l.charAt(F),h){case 9:case 32:if(0===C+w+E)switch(S){case 44:case 58:case 9:case 32:g="";break;default:32!==h&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===C+E+w&&(R=I=1,g="\f"+g);break;case 108:if(0===C+E+w+A&&0<O)switch(F-O){case 2:112===S&&58===l.charCodeAt(F-3)&&(A=S);case 8:111===M&&(A=M)}break;case 58:0===C+E+w&&(O=F);break;case 44:0===E+_+C+w&&(R=1,g+="\r");break;case 34:case 39:0===E&&(C=C===h?0:0===C?h:C);break;case 91:0===C+E+_&&w++;break;case 93:0===C+E+_&&w--;break;case 41:0===C+E+w&&_--;break;case 40:if(0===C+E+w){if(0===f)if(2*S+3*M===533);else f=1;_++}break;case 64:0===E+_+C+w+O+m&&(m=1);break;case 42:case 47:if(!(0<C+w+_))switch(E){case 0:switch(2*h+3*l.charCodeAt(F+1)){case 235:E=47;break;case 220:B=F,E=42}break;case 42:47===h&&42===S&&B+2!==F&&(33===l.charCodeAt(B+2)&&(H+=l.substring(B,F+1)),g="",E=0)}}0===E&&($+=g)}M=S,S=h,F++}if(0<(B=H.length)){if(R=r,0<N&&(void 0!==(b=s(2,H,R,e,j,D,B,u,p,u))&&0===(H=b).length))return U+H+V;if(H=R.join(",")+"{"+H+"}",0!==P*A){switch(2!==P||i(H,2)||(A=0),A){case 111:H=H.replace(x,":-moz-$1")+H;break;case 112:H=H.replace(y,"::-webkit-input-$1")+H.replace(y,"::-moz-$1")+H.replace(y,":-ms-input-$1")+H}A=0}}return U+H+V}function n(e,t,n){var o=t.trim().split(m);t=o;var i=o.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<i;++s)t[s]=r(e,t[s],n).trim();break;default:var l=s=0;for(t=[];s<i;++s)for(var u=0;u<a;++u)t[l++]=r(e[u]+" ",o[s],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,n,r){var a=e+";",s=2*t+3*n+4*r;if(944===s){e=a.indexOf(":",9)+1;var l=a.substring(e,a.length-1).trim();return l=a.substring(0,e).trim()+l+";",1===P||2===P&&i(l,1)?"-webkit-"+l+l:l}if(0===P||2===P&&!i(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(S,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(l=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+l+a;case 1005:return f.test(a)?a.replace(p,":-webkit-")+a.replace(p,":-moz-")+a:a;case 1e3:switch(t=(l=a.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=a.replace(b,"tb");break;case 232:l=a.replace(b,"tb-rl");break;case 220:l=a.replace(b,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+l+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(l=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(l,"-webkit-"+l)+";"+a.replace(l,"-ms-"+l+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return l=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+l+"-ms-flex-"+l+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(E,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(E,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===C.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(l,"-webkit-"+l)+a.replace(l,"-moz-"+l.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+a}return a}function i(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),O(2!==t?r:r.replace(_,"$1"),n,t)}function a(e,t){var n=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(w," or ($1)").substring(4):"("+t+")"}function s(e,t,n,r,o,i,a,s,l,c){for(var d,p=0,f=t;p<N;++p)switch(d=M[p].call(u,e,f,n,r,o,i,a,s,l,c)){case void 0:case!1:case!0:case null:break;default:f=d}if(f!==t)return f}function l(e){return void 0!==(e=e.prefix)&&(O=null,e?"function"!==typeof e?P=1:(P=2,O=e):P=0),l}function u(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<N){var o=s(-1,n,r,r,j,D,0,0,0,0);void 0!==o&&"string"===typeof o&&(n=o)}var i=t(L,r,n,0,0);return 0<N&&(void 0!==(o=s(-2,i,r,r,j,D,i.length,0,0,0))&&(i=o)),A=0,D=j=1,i}var c=/^\0+/g,d=/[\0\r\f]/g,p=/: */g,f=/zoo|gra/,h=/([,: ])(transform)/g,m=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,x=/:(read-only)/g,b=/[svh]\w+-[tblr]{2}/,k=/\(\s*(.*)\s*\)/g,w=/([\s\S]*?);/g,E=/-self|flex-/g,_=/[^]*?(:[rp][el]a[\w-]+)[^]*/,C=/stretch|:\s*\w+\-(?:conte|avail)/,S=/([^-])(image-set\()/,D=1,j=1,A=0,P=1,L=[],M=[],N=0,O=null,T=0;return u.use=function e(t){switch(t){case void 0:case null:N=M.length=0;break;default:if("function"===typeof t)M[N++]=t;else if("object"===typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else T=0|!!t}return e},u.set=l,void 0!==e&&l(e),u}},1324:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={animationIterationCount: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,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}},2454:(e,t,n)=>{"use strict";n.d(t,{Rv:()=>u,X4:()=>c,a:()=>p,e$:()=>d,eM:()=>s});var r=n(8565);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function i(e){if(e.type)return e;if("#"===e.charAt(0))return i(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error((0,r.A)(3,e));var o=e.substring(t+1,e.length-1).split(",");return{type:n,values:o=o.map((function(e){return parseFloat(e)}))}}function a(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function s(e,t){var n=l(e),r=l(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function l(e){var t="hsl"===(e=i(e)).type?i(function(e){var t=(e=i(e)).values,n=t[0],r=t[1]/100,o=t[2]/100,s=r*Math.min(o,1-o),l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-s*Math.max(Math.min(t-3,9-t,1),-1)},u="rgb",c=[Math.round(255*l(0)),Math.round(255*l(8)),Math.round(255*l(4))];return"hsla"===e.type&&(u+="a",c.push(t[3])),a({type:u,values:c})}(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function u(e,t){return c(e,t)}function c(e,t){return e=i(e),t=o(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,a(e)}function d(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return a(e)}function p(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return a(e)}},6725:(e,t,n)=>{"use strict";n.d(t,{A:()=>q});var r=n(45),o=n(3806),i=n(8168),a=["xs","sm","md","lg","xl"];var s=n(4467);function l(e,t,n){var r;return(0,i.A)({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n      paddingLeft: theme.spacing(2),\n      paddingRight: theme.spacing(2),\n      [theme.breakpoints.up('sm')]: {\n        paddingLeft: theme.spacing(3),\n        paddingRight: theme.spacing(3),\n      },\n      "].join("\n")),(0,i.A)({paddingLeft:t(2),paddingRight:t(2)},n,(0,s.A)({},e.up("sm"),(0,i.A)({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(r={minHeight:56},(0,s.A)(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),(0,s.A)(r,e.up("sm"),{minHeight:64}),r)},n)}var u=n(8565);const c={black:"#000",white:"#fff"};const d={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"};const p={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"};const f={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"};const h={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};const m={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"};const g={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"};const v={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};var y=n(2454),x={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:c.white,default:d[50]},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}},b={text:{primary:c.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:d[800],default:"#303030"},action:{active:c.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}};function k(e,t,n,r){var o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,y.a)(e.main,o):"dark"===t&&(e.dark=(0,y.e$)(e.main,i)))}function w(e){return Math.round(1e5*e)/1e5}function E(e){return w(e)}var _={textTransform:"uppercase"},C='"Roboto", "Helvetica", "Arial", sans-serif';function S(e,t){var n="function"===typeof t?t(e):t,a=n.fontFamily,s=void 0===a?C:a,l=n.fontSize,u=void 0===l?14:l,c=n.fontWeightLight,d=void 0===c?300:c,p=n.fontWeightRegular,f=void 0===p?400:p,h=n.fontWeightMedium,m=void 0===h?500:h,g=n.fontWeightBold,v=void 0===g?700:g,y=n.htmlFontSize,x=void 0===y?16:y,b=n.allVariants,k=n.pxToRem,S=(0,r.A)(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);var D=u/14,j=k||function(e){return"".concat(e/x*D,"rem")},A=function(e,t,n,r,o){return(0,i.A)({fontFamily:s,fontWeight:e,fontSize:j(t),lineHeight:n},s===C?{letterSpacing:"".concat(w(r/t),"em")}:{},o,b)},P={h1:A(d,96,1.167,-1.5),h2:A(d,60,1.2,-.5),h3:A(f,48,1.167,0),h4:A(f,34,1.235,.25),h5:A(f,24,1.334,0),h6:A(m,20,1.6,.15),subtitle1:A(f,16,1.75,.15),subtitle2:A(m,14,1.57,.1),body1:A(f,16,1.5,.15),body2:A(f,14,1.43,.15),button:A(m,14,1.75,.4,_),caption:A(f,12,1.66,.4),overline:A(f,12,2.66,1,_)};return(0,o.A)((0,i.A)({htmlFontSize:x,pxToRem:j,round:E,fontFamily:s,fontSize:u,fontWeightLight:d,fontWeightRegular:f,fontWeightMedium:m,fontWeightBold:v},P),S,{clone:!1})}function D(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}const j=["none",D(0,2,1,-1,0,1,1,0,0,1,3,0),D(0,3,1,-2,0,2,2,0,0,1,5,0),D(0,3,3,-2,0,3,4,0,0,1,8,0),D(0,2,4,-1,0,4,5,0,0,1,10,0),D(0,3,5,-1,0,5,8,0,0,1,14,0),D(0,3,5,-1,0,6,10,0,0,1,18,0),D(0,4,5,-2,0,7,10,1,0,2,16,1),D(0,5,5,-3,0,8,10,1,0,3,14,2),D(0,5,6,-3,0,9,12,1,0,3,16,2),D(0,6,6,-3,0,10,14,1,0,4,18,3),D(0,6,7,-4,0,11,15,1,0,4,20,3),D(0,7,8,-4,0,12,17,2,0,5,22,4),D(0,7,8,-4,0,13,19,2,0,5,24,4),D(0,7,9,-4,0,14,21,2,0,5,26,4),D(0,8,9,-5,0,15,22,2,0,6,28,5),D(0,8,10,-5,0,16,24,2,0,6,30,5),D(0,8,11,-5,0,17,26,2,0,6,32,5),D(0,9,11,-5,0,18,28,2,0,7,34,6),D(0,9,12,-6,0,19,29,2,0,7,36,6),D(0,10,13,-6,0,20,31,3,0,8,38,7),D(0,10,13,-6,0,21,33,3,0,8,40,7),D(0,10,14,-6,0,22,35,3,0,8,42,7),D(0,11,14,-7,0,23,36,3,0,9,44,8),D(0,11,15,-7,0,24,38,3,0,9,46,8)];const A={borderRadius:4};var P=n(296),L=n(2284),M={xs:0,sm:600,md:960,lg:1280,xl:1920},N={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(M[e],"px)")}};const O=function(e,t){return t?(0,o.A)(e,t,{clone:!1}):e};var T={m:"margin",p:"padding"},F={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},R={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},I=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){if(e.length>2){if(!R[e])return[e];e=R[e]}var t=e.split(""),n=(0,P.A)(t,2),r=n[0],o=n[1],i=T[r],a=F[o]||"";return Array.isArray(a)?a.map((function(e){return i+e})):[i+a]})),B=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function W(e){var t=e.spacing||8;return"number"===typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"===typeof t?t:function(){}}function z(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"===typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"===typeof n?-n:"-".concat(n)}(t,n),e}),{})}}function $(e){var t=W(e.theme);return Object.keys(e).map((function(n){if(-1===B.indexOf(n))return null;var r=z(I(n),t),o=e[n];return function(e,t,n){if(Array.isArray(t)){var r=e.theme.breakpoints||N;return t.reduce((function(e,o,i){return e[r.up(r.keys[i])]=n(t[i]),e}),{})}if("object"===(0,L.A)(t)){var o=e.theme.breakpoints||N;return Object.keys(t).reduce((function(e,r){return e[o.up(r)]=n(t[r]),e}),{})}return n(t)}(e,o,r)})).reduce(O,{})}$.propTypes={},$.filterProps=B;var H=n(2899),V=n(5321);function U(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,s=e.mixins,w=void 0===s?{}:s,E=e.palette,_=void 0===E?{}:E,C=e.spacing,D=e.typography,P=void 0===D?{}:D,L=(0,r.A)(e,["breakpoints","mixins","palette","spacing","typography"]),M=function(e){var t=e.primary,n=void 0===t?{light:p[300],main:p[500],dark:p[700]}:t,a=e.secondary,s=void 0===a?{light:f.A200,main:f.A400,dark:f.A700}:a,l=e.error,w=void 0===l?{light:h[300],main:h[500],dark:h[700]}:l,E=e.warning,_=void 0===E?{light:m[300],main:m[500],dark:m[700]}:E,C=e.info,S=void 0===C?{light:g[300],main:g[500],dark:g[700]}:C,D=e.success,j=void 0===D?{light:v[300],main:v[500],dark:v[700]}:D,A=e.type,P=void 0===A?"light":A,L=e.contrastThreshold,M=void 0===L?3:L,N=e.tonalOffset,O=void 0===N?.2:N,T=(0,r.A)(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function F(e){return(0,y.eM)(e,b.text.primary)>=M?b.text.primary:x.text.primary}var R=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=(0,i.A)({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error((0,u.A)(4,t));if("string"!==typeof e.main)throw new Error((0,u.A)(5,JSON.stringify(e.main)));return k(e,"light",n,O),k(e,"dark",r,O),e.contrastText||(e.contrastText=F(e.main)),e},I={dark:b,light:x};return(0,o.A)((0,i.A)({common:c,type:P,primary:R(n),secondary:R(s,"A400","A200","A700"),error:R(w),warning:R(_),info:R(S),success:R(j),grey:d,contrastThreshold:M,getContrastText:F,augmentColor:R,tonalOffset:O},I[P]),T)}(_),N=function(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,o=e.unit,s=void 0===o?"px":o,l=e.step,u=void 0===l?5:l,c=(0,r.A)(e,["values","unit","step"]);function d(e){var t="number"===typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(s,")")}function p(e,t){var r=a.indexOf(t);return r===a.length-1?d(e):"@media (min-width:".concat("number"===typeof n[e]?n[e]:e).concat(s,") and ")+"(max-width:".concat((-1!==r&&"number"===typeof n[a[r+1]]?n[a[r+1]]:t)-u/100).concat(s,")")}return(0,i.A)({keys:a,values:n,up:d,down:function(e){var t=a.indexOf(e)+1,r=n[a[t]];return t===a.length?d("xs"):"@media (max-width:".concat(("number"===typeof r&&t>0?r:e)-u/100).concat(s,")")},between:p,only:function(e){return p(e,e)},width:function(e){return n[e]}},c)}(n),O=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=W({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return 0===n.length?t(1):1===n.length?t(n[0]):n.map((function(e){if("string"===typeof e)return e;var n=t(e);return"number"===typeof n?"".concat(n,"px"):n})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return e}}),n.mui=!0,n}(C),T=(0,o.A)({breakpoints:N,direction:"ltr",mixins:l(N,O,w),overrides:{},palette:M,props:{},shadows:j,typography:S(M,P),spacing:O,shape:A,transitions:H.Ay,zIndex:V.A},L),F=arguments.length,R=new Array(F>1?F-1:0),I=1;I<F;I++)R[I-1]=arguments[I];return T=R.reduce((function(e,t){return(0,o.A)(e,t)}),T)}const q=U},5921:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(6725).A)()},2899:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s,p0:()=>i});var r=n(45),o={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)"},i={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function a(e){return"".concat(Math.round(e),"ms")}const s={easing:o,duration:i,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,s=void 0===n?i.standard:n,l=t.easing,u=void 0===l?o.easeInOut:l,c=t.delay,d=void 0===c?0:c;(0,r.A)(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"===typeof s?s:a(s)," ").concat(u," ").concat("string"===typeof d?d:a(d))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}}},7573:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(8168),o=n(45),i=n(5043),a=n(219),s=n.n(a),l=n(5313),u=n(1978),c=n(3052);const d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var a=t.defaultTheme,d=t.withTheme,p=void 0!==d&&d,f=t.name,h=(0,o.A)(t,["defaultTheme","withTheme","name"]);var m=f,g=(0,l.A)(e,(0,r.A)({defaultTheme:a,Component:n,name:f||n.displayName,classNamePrefix:m},h)),v=i.forwardRef((function(e,t){e.classes;var s,l=e.innerRef,d=(0,o.A)(e,["classes","innerRef"]),h=g((0,r.A)({},n.defaultProps,e)),m=d;return("string"===typeof f||p)&&(s=(0,c.A)()||a,f&&(m=(0,u.A)({theme:s,name:f,props:d})),p&&!m.theme&&(m.theme=s)),i.createElement(n,(0,r.A)({ref:l||t,classes:h},m))}));return s()(v,n),v}};var p=n(5921);const f=function(e,t){return d(e,(0,r.A)({defaultTheme:p.A},t))}},5321:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500}},4822:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(8565);function o(e){if("string"!==typeof e)throw new Error((0,r.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},146:(e,t,n)=>{"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return null==t?e:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}}),(function(){}))}n.d(t,{A:()=>r})},4794:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(8168),o=n(5043),i=n(45),a=n(3024),s=n(7573),l=n(4822),u=o.forwardRef((function(e,t){var n=e.children,s=e.classes,u=e.className,c=e.color,d=void 0===c?"inherit":c,p=e.component,f=void 0===p?"svg":p,h=e.fontSize,m=void 0===h?"medium":h,g=e.htmlColor,v=e.titleAccess,y=e.viewBox,x=void 0===y?"0 0 24 24":y,b=(0,i.A)(e,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return o.createElement(f,(0,r.A)({className:(0,a.A)(s.root,u,"inherit"!==d&&s["color".concat((0,l.A)(d))],"default"!==m&&"medium"!==m&&s["fontSize".concat((0,l.A)(m))]),focusable:"false",viewBox:x,color:g,"aria-hidden":!v||void 0,role:v?"img":void 0,ref:t},b),n,v?o.createElement("title",null,v):null)}));u.muiName="SvgIcon";const c=(0,s.A)((function(e){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:e.typography.pxToRem(24),transition:e.transitions.create("fill",{duration:e.transitions.duration.shorter})},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(35)}}}),{name:"MuiSvgIcon"})(u);function d(e,t){var n=function(t,n){return o.createElement(c,(0,r.A)({ref:n},t),e)};return n.muiName=c.muiName,o.memo(o.forwardRef(n))}},7355:(e,t,n)=>{"use strict";function r(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=this;clearTimeout(t),t=setTimeout((function(){e.apply(a,o)}),n)}return r.clear=function(){clearTimeout(t)},r}n.d(t,{A:()=>r})},9081:(e,t,n)=>{"use strict";n.r(t),n.d(t,{capitalize:()=>r.A,createChainedFunction:()=>o.A,createSvgIcon:()=>i.A,debounce:()=>a.A,deprecatedPropType:()=>s,isMuiElement:()=>l.A,ownerDocument:()=>u.A,ownerWindow:()=>c.A,requirePropFactory:()=>d,setRef:()=>p.A,unstable_useId:()=>v.A,unsupportedProp:()=>f,useControlled:()=>h.A,useEventCallback:()=>m.A,useForkRef:()=>g.A,useIsFocusVisible:()=>y.A});var r=n(4822),o=n(146),i=n(4794),a=n(7355);function s(e,t){return function(){return null}}var l=n(4867),u=n(9892),c=n(7249);function d(e){return function(){return null}}var p=n(9189);function f(e,t,n,r,o){return null}var h=n(1051),m=n(9777),g=n(768),v=n(2237),y=n(4455)},4867:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(5043);function o(e,t){return r.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}},9892:(e,t,n)=>{"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{A:()=>r})},7249:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(9892);function o(e){return(0,r.A)(e).defaultView||window}},9189:(e,t,n)=>{"use strict";function r(e,t){"function"===typeof e?e(t):e&&(e.current=t)}n.d(t,{A:()=>r})},2237:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(5043);function o(e){var t=r.useState(e),n=t[0],o=t[1],i=e||n;return r.useEffect((function(){null==n&&o("mui-".concat(Math.round(1e5*Math.random())))}),[n]),i}},1051:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(5043);function o(e){var t=e.controlled,n=e.default,o=(e.name,e.state,r.useRef(void 0!==t).current),i=r.useState(n),a=i[0],s=i[1];return[o?t:a,r.useCallback((function(e){o||s(e)}),[])]}},9777:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5043),o="undefined"!==typeof window?r.useLayoutEffect:r.useEffect;function i(e){var t=r.useRef(e);return o((function(){t.current=e})),r.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}},768:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5043),o=n(9189);function i(e,t){return r.useMemo((function(){return null==e&&null==t?null:function(n){(0,o.A)(e,n),(0,o.A)(t,n)}}),[e,t])}},4455:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(5043),o=n(7950),i=!0,a=!1,s=null,l={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function u(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function c(){i=!1}function d(){"hidden"===this.visibilityState&&a&&(i=!0)}function p(e){var t=e.target;try{return t.matches(":focus-visible")}catch(n){}return i||function(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!l[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function f(){a=!0,window.clearTimeout(s),s=window.setTimeout((function(){a=!1}),100)}function h(){return{isFocusVisible:p,onBlurVisible:f,ref:r.useCallback((function(e){var t,n=o.findDOMNode(e);null!=n&&((t=n.ownerDocument).addEventListener("keydown",u,!0),t.addEventListener("mousedown",c,!0),t.addEventListener("pointerdown",c,!0),t.addEventListener("touchstart",c,!0),t.addEventListener("visibilitychange",d,!0))}),[])}}},3903:(e,t,n)=>{"use strict";var r=n(4994),o=n(6305);t.A=void 0;var i=o(n(5043)),a=(0,r(n(9846)).default)(i.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");t.A=a},7173:(e,t,n)=>{"use strict";var r=n(4994),o=n(6305);t.A=void 0;var i=o(n(5043)),a=(0,r(n(9846)).default)(i.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"}),"Error");t.A=a},6763:(e,t,n)=>{"use strict";var r=n(4994),o=n(6305);t.A=void 0;var i=o(n(5043)),a=(0,r(n(9846)).default)(i.createElement("path",{d:"M10.09 15.59L11.5 17l5-5-5-5-1.41 1.41L12.67 11H3v2h9.67l-2.58 2.59zM19 3H5c-1.11 0-2 .9-2 2v4h2V5h14v14H5v-4H3v4c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"ExitToApp");t.A=a},3480:(e,t,n)=>{"use strict";var r=n(4994),o=n(6305);t.A=void 0;var i=o(n(5043)),a=(0,r(n(9846)).default)(i.createElement("path",{d:"M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z"}),"HelpOutline");t.A=a},7694:(e,t,n)=>{"use strict";var r=n(4994),o=n(6305);t.A=void 0;var i=o(n(5043)),a=(0,r(n(9846)).default)(i.createElement("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}),"InfoOutlined");t.A=a},9846:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(9081)},659:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r="function"===typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__"},1978:(e,t,n)=>{"use strict";function r(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var o,i=t.props[n];for(o in i)void 0===r[o]&&(r[o]=i[o]);return r}n.d(t,{A:()=>r})},5313:(e,t,n)=>{"use strict";n.d(t,{A:()=>un});var r=n(45),o=n(8168),i=n(5043),a="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};const s="object"===("undefined"===typeof window?"undefined":a(window))&&"object"===("undefined"===typeof document?"undefined":a(document))&&9===document.nodeType;var l=n(2901),u=n(5540),c=n(9417),d=n(8587),p={}.constructor;function f(e){if(null==e||"object"!==typeof e)return e;if(Array.isArray(e))return e.map(f);if(e.constructor!==p)return e;var t={};for(var n in e)t[n]=f(e[n]);return t}function h(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,o=f(t),i=r.plugins.onCreateRule(e,o,n);return i||(e[0],null)}var m=function(e,t){for(var n="",r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=t),n+=e[r];return n},g=function(e){if(!Array.isArray(e))return e;var t="";if(Array.isArray(e[0]))for(var n=0;n<e.length&&"!important"!==e[n];n++)t&&(t+=", "),t+=m(e[n]," ");else t=m(e,", ");return"!important"===e[e.length-1]&&(t+=" !important"),t};function v(e){return e&&!1===e.format?{linebreak:"",space:""}:{linebreak:"\n",space:" "}}function y(e,t){for(var n="",r=0;r<t;r++)n+="  ";return n+e}function x(e,t,n){void 0===n&&(n={});var r="";if(!t)return r;var o=n.indent,i=void 0===o?0:o,a=t.fallbacks;!1===n.format&&(i=-1/0);var s=v(n),l=s.linebreak,u=s.space;if(e&&i++,a)if(Array.isArray(a))for(var c=0;c<a.length;c++){var d=a[c];for(var p in d){var f=d[p];null!=f&&(r&&(r+=l),r+=y(p+":"+u+g(f)+";",i))}}else for(var h in a){var m=a[h];null!=m&&(r&&(r+=l),r+=y(h+":"+u+g(m)+";",i))}for(var x in t){var b=t[x];null!=b&&"fallbacks"!==x&&(r&&(r+=l),r+=y(x+":"+u+g(b)+";",i))}return(r||n.allowEmpty)&&e?(r&&(r=""+l+r+l),y(""+e+u+"{"+r,--i)+y("}",i)):r}var b=/([[\].#*$><+~=|^:(),"'`\s])/g,k="undefined"!==typeof CSS&&CSS.escape,w=function(e){return k?k(e):e.replace(b,"\\$1")},E=function(){function e(e,t,n){this.type="style",this.isProcessed=!1;var r=n.sheet,o=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:o&&(this.renderer=new o)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var o=t;n&&!1===n.process||(o=this.options.jss.plugins.onChangeValue(t,e,this));var i=null==o||!1===o,a=e in this.style;if(i&&!a&&!r)return this;var s=i&&a;if(s?delete this.style[e]:this.style[e]=o,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,o),this;var l=this.options.sheet;return l&&l.attached,this},e}(),_=function(e){function t(t,n,r){var o;o=e.call(this,t,n,r)||this;var i=r.selector,a=r.scoped,s=r.sheet,l=r.generateId;return i?o.selectorText=i:!1!==a&&(o.id=l((0,c.A)((0,c.A)(o)),s),o.selectorText="."+w(o.id)),o}(0,u.A)(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!==typeof n?e[t]=n:Array.isArray(n)&&(e[t]=g(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?(0,o.A)({},e,{allowEmpty:!0}):e;return x(this.selectorText,this.style,n)},(0,l.A)(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(E),C={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new _(e,t,n)}},S={indent:1,children:!0},D=/@([\w-]+)/,j=function(){function e(e,t,n){this.type="conditional",this.isProcessed=!1,this.key=e;var r=e.match(D);for(var i in this.at=r?r[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new X((0,o.A)({},n,{parent:this})),t)this.rules.add(i,t[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.toString=function(e){void 0===e&&(e=S);var t=v(e).linebreak;if(null==e.indent&&(e.indent=S.indent),null==e.children&&(e.children=S.children),!1===e.children)return this.query+" {}";var n=this.rules.toString(e);return n?this.query+" {"+t+n+t+"}":""},e}(),A=/@media|@supports\s+/,P={onCreateRule:function(e,t,n){return A.test(e)?new j(e,t,n):null}},L={indent:1,children:!0},M=/@keyframes\s+([\w-]+)/,N=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var r=e.match(M);r&&r[1]?this.name=r[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var i=n.scoped,a=n.sheet,s=n.generateId;for(var l in this.id=!1===i?this.name:w(s(this,a)),this.rules=new X((0,o.A)({},n,{parent:this})),t)this.rules.add(l,t[l],(0,o.A)({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=L);var t=v(e).linebreak;if(null==e.indent&&(e.indent=L.indent),null==e.children&&(e.children=L.children),!1===e.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(e);return n&&(n=""+t+n+t),this.at+" "+this.id+" {"+n+"}"},e}(),O=/@keyframes\s+/,T=/\$([\w-]+)/g,F=function(e,t){return"string"===typeof e?e.replace(T,(function(e,n){return n in t?t[n]:e})):e},R=function(e,t,n){var r=e[t],o=F(r,n);o!==r&&(e[t]=o)},I={onCreateRule:function(e,t,n){return"string"===typeof e&&O.test(e)?new N(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&R(e,"animation-name",n.keyframes),"animation"in e&&R(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return F(e,r.keyframes);default:return e}}},B=function(e){function t(){return e.apply(this,arguments)||this}return(0,u.A)(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?(0,o.A)({},e,{allowEmpty:!0}):e;return x(this.key,this.style,n)},t}(E),W={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new B(e,t,n):null}},z=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){var t=v(e).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r<this.style.length;r++)n+=x(this.at,this.style[r]),this.style[r+1]&&(n+=t);return n}return x(this.at,this.style,e)},e}(),$=/@font-face/,H={onCreateRule:function(e,t,n){return $.test(e)?new z(e,t,n):null}},V=function(){function e(e,t,n){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){return x(this.key,this.style,e)},e}(),U={onCreateRule:function(e,t,n){return"@viewport"===e||"@-ms-viewport"===e?new V(e,t,n):null}},q=function(){function e(e,t,n){this.type="simple",this.isProcessed=!1,this.key=e,this.value=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",n=0;n<this.value.length;n++)t+=this.key+" "+this.value[n]+";",this.value[n+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},e}(),Y={"@charset":!0,"@import":!0,"@namespace":!0},G={onCreateRule:function(e,t,n){return e in Y?new q(e,t,n):null}},Z=[C,P,I,W,H,U,G],K={process:!0},Q={force:!0,process:!0},X=function(){function e(e){this.map={},this.raw={},this.index=[],this.counter=0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var t=e.prototype;return t.add=function(e,t,n){var r=this.options,i=r.parent,a=r.sheet,s=r.jss,l=r.Renderer,u=r.generateId,c=r.scoped,d=(0,o.A)({classes:this.classes,parent:i,sheet:a,jss:s,Renderer:l,generateId:u,scoped:c,name:e,keyframes:this.keyframes,selector:void 0},n),p=e;e in this.raw&&(p=e+"-d"+this.counter++),this.raw[p]=t,p in this.classes&&(d.selector="."+w(this.classes[p]));var f=h(p,t,d);if(!f)return null;this.register(f);var m=void 0===d.index?this.index.length:d.index;return this.index.splice(m,0,f),f},t.replace=function(e,t,n){var r=this.get(e),i=this.index.indexOf(r);r&&this.remove(r);var a=n;return-1!==i&&(a=(0,o.A)({},n,{index:i})),this.add(e,t,a)},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof _?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof N&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof _?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof N&&delete this.keyframes[e.name]},t.update=function(){var e,t,n;if("string"===typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2]):(t=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.get(e),t,n);else for(var r=0;r<this.index.length;r++)this.updateOne(this.index[r],t,n)},t.updateOne=function(t,n,r){void 0===r&&(r=K);var o=this.options,i=o.jss.plugins,a=o.sheet;if(t.rules instanceof e)t.rules.update(n,r);else{var s=t.style;if(i.onUpdate(n,t,a,r),r.process&&s&&s!==t.style){for(var l in i.onProcessStyle(t.style,t,a),t.style){var u=t.style[l];u!==s[l]&&t.prop(l,u,Q)}for(var c in s){var d=t.style[c],p=s[c];null==d&&d!==p&&t.prop(c,null,Q)}}}},t.toString=function(e){for(var t="",n=this.options.sheet,r=!!n&&n.options.link,o=v(e).linebreak,i=0;i<this.index.length;i++){var a=this.index[i].toString(e);(a||r)&&(t&&(t+=o),t+=a)}return t},e}(),J=function(){function e(e,t){for(var n in this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=(0,o.A)({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new X(this.options),e)this.rules.add(n,e[n]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,t,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var o=this.rules.add(e,t,n);return o?(this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(r?r.push(o):(this.insertRule(o),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),o):o:(this.deployed=!1,o)):null},t.replaceRule=function(e,t,n){var r=this.rules.get(e);if(!r)return this.addRule(e,t,n);var o=this.rules.replace(e,t,n);return o&&this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(this.renderer&&(o?r.renderable&&this.renderer.replaceRule(r.renderable,o):this.renderer.deleteRule(r)),o):o:(this.deployed=!1,o)},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var n=[];for(var r in e){var o=this.addRule(r,e[r],t);o&&n.push(o)}return n},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var t="object"===typeof e?e:this.rules.get(e);return!(!t||this.attached&&!t.renderable)&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.updateOne=function(e,t,n){return this.rules.updateOne(e,t,n),this},t.toString=function(e){return this.rules.toString(e)},e}(),ee=function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var t=e.prototype;return t.onCreateRule=function(e,t,n){for(var r=0;r<this.registry.onCreateRule.length;r++){var o=this.registry.onCreateRule[r](e,t,n);if(o)return o}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,n=0;n<this.registry.onProcessRule.length;n++)this.registry.onProcessRule[n](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},t.onProcessStyle=function(e,t,n){for(var r=0;r<this.registry.onProcessStyle.length;r++)t.style=this.registry.onProcessStyle[r](t.style,t,n)},t.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},t.onUpdate=function(e,t,n,r){for(var o=0;o<this.registry.onUpdate.length;o++)this.registry.onUpdate[o](e,t,n,r)},t.onChangeValue=function(e,t,n){for(var r=e,o=0;o<this.registry.onChangeValue.length;o++)r=this.registry.onChangeValue[o](r,t,n);return r},t.use=function(e,t){void 0===t&&(t={queue:"external"});var n=this.plugins[t.queue];-1===n.indexOf(e)&&(n.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var n in t)n in e&&e[n].push(t[n]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),te=function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(e){var t=this.registry,n=e.options.index;if(-1===t.indexOf(e))if(0===t.length||n>=this.index)t.push(e);else for(var r=0;r<t.length;r++)if(t[r].options.index>n)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=(0,d.A)(t,["attached"]),o=v(r).linebreak,i="",a=0;a<this.registry.length;a++){var s=this.registry[a];null!=n&&s.attached!==n||(i&&(i+=o),i+=s.toString(r))}return i},(0,l.A)(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}(),ne=new te,re="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window&&window.Math===Math?window:"undefined"!==typeof self&&self.Math===Math?self:Function("return this")(),oe="2f1acc6c3a606b082e5eef5e54414ffb";null==re[oe]&&(re[oe]=0);var ie=re[oe]++,ae=function(e){void 0===e&&(e={});var t=0;return function(n,r){t+=1;var o="",i="";return r&&(r.options.classNamePrefix&&(i=r.options.classNamePrefix),null!=r.options.jss.id&&(o=String(r.options.jss.id))),e.minify?""+(i||"c")+ie+o+t:i+n.key+"-"+ie+(o?"-"+o:"")+"-"+t}},se=function(e){var t;return function(){return t||(t=e()),t}},le=function(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(n){return""}},ue=function(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=g(n)),e.attributeStyleMap)e.attributeStyleMap.set(t,r);else{var o=r?r.indexOf("!important"):-1,i=o>-1?r.substr(0,o-1):r;e.style.setProperty(t,i,o>-1?"important":"")}}catch(a){return!1}return!0},ce=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(n){}},de=function(e,t){return e.selectorText=t,e.selectorText===t},pe=se((function(){return document.querySelector("head")}));function fe(e){var t=ne.registry;if(t.length>0){var n=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.attached&&r.options.index>t.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"===typeof r){var o=function(e){for(var t=pe(),n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===e)return r}return null}(r);if(o)return{parent:o.parentNode,node:o.nextSibling}}return!1}var he=se((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),me=function(e,t,n){try{"insertRule"in e?e.insertRule(t,n):"appendRule"in e&&e.appendRule(t)}catch(r){return!1}return e.cssRules[n]},ge=function(e,t){var n=e.cssRules.length;return void 0===t||t>n?n:t},ve=function(){function e(e){this.getPropertyValue=le,this.setProperty=ue,this.removeProperty=ce,this.setSelector=de,this.hasInsertedRules=!1,this.cssRules=[],e&&ne.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,o=t.element;this.element=o||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var i=he();i&&this.element.setAttribute("nonce",i)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=fe(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"===typeof n.nodeType){var o=n,i=o.parentNode;i&&i.insertBefore(e,o.nextSibling)}else pe().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n<e.index.length;n++)this.insertRule(e.index[n],n,t)},t.insertRule=function(e,t,n){if(void 0===n&&(n=this.element.sheet),e.rules){var r=e,o=n;if("conditional"===e.type||"keyframes"===e.type){var i=ge(n,t);if(!1===(o=me(n,r.toString({children:!1}),i)))return!1;this.refCssRule(e,i,o)}return this.insertRules(r.rules,o),o}var a=e.toString();if(!a)return!1;var s=ge(n,t),l=me(n,a,s);return!1!==l&&(this.hasInsertedRules=!0,this.refCssRule(e,s,l),l)},t.refCssRule=function(e,t,n){e.renderable=n,e.options.parent instanceof J&&this.cssRules.splice(t,0,n)},t.deleteRule=function(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),this.cssRules.splice(n,1),!0)},t.indexOf=function(e){return this.cssRules.indexOf(e)},t.replaceRule=function(e,t){var n=this.indexOf(e);return-1!==n&&(this.element.sheet.deleteRule(n),this.cssRules.splice(n,1),this.insertRule(t,n))},t.getRules=function(){return this.element.sheet.cssRules},e}(),ye=0,xe=function(){function e(e){this.id=ye++,this.version="10.9.2",this.plugins=new ee,this.options={id:{minify:!1},createGenerateId:ae,Renderer:s?ve:null,plugins:[]},this.generateId=ae({minify:!1});for(var t=0;t<Z.length;t++)this.plugins.use(Z[t],{queue:"internal"});this.setup(e)}var t=e.prototype;return t.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=(0,o.A)({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},t.createStyleSheet=function(e,t){void 0===t&&(t={});var n=t.index;"number"!==typeof n&&(n=0===ne.index?0:ne.index+1);var r=new J(e,(0,o.A)({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(r),r},t.removeStyleSheet=function(e){return e.detach(),ne.remove(e),this},t.createRule=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n={}),"object"===typeof e)return this.createRule(void 0,e,t);var r=(0,o.A)({},n,{name:e,jss:this,Renderer:this.options.Renderer});r.generateId||(r.generateId=this.generateId),r.classes||(r.classes={}),r.keyframes||(r.keyframes={});var i=h(e,t,r);return i&&this.plugins.onProcessRule(i),i},t.use=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){e.plugins.use(t)})),this},e}(),be=function(e){return new xe(e)},ke="object"===typeof CSS&&null!=CSS&&"number"in CSS;function we(e){var t=null;for(var n in e){var r=e[n],o=typeof r;if("function"===o)t||(t={}),t[n]=r;else if("object"===o&&null!==r&&!Array.isArray(r)){var i=we(r);i&&(t||(t={}),t[n]=i)}}return t}be();var Ee=n(2652),_e={set:function(e,t,n,r){var o=e.get(t);o||(o=new Map,e.set(t,o)),o.set(n,r)},get:function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},delete:function(e,t,n){e.get(t).delete(n)}};const Ce=_e;var Se=n(3052),De=n(659),je=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];var Ae=Date.now(),Pe="fnValues"+Ae,Le="fnStyle"+ ++Ae;const Me=function(){return{onCreateRule:function(e,t,n){if("function"!==typeof t)return null;var r=h(e,{},n);return r[Le]=t,r},onProcessStyle:function(e,t){if(Pe in t||Le in t)return e;var n={};for(var r in e){var o=e[r];"function"===typeof o&&(delete e[r],n[r]=o)}return t[Pe]=n,e},onUpdate:function(e,t,n,r){var o=t,i=o[Le];i&&(o.style=i(e)||{});var a=o[Pe];if(a)for(var s in a)o.prop(s,a[s](e),r)}}};var Ne="@global",Oe="@global ",Te=function(){function e(e,t,n){for(var r in this.type="global",this.at=Ne,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new X((0,o.A)({},n,{parent:this})),t)this.rules.add(r,t[r]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(e){return this.rules.toString(e)},e}(),Fe=function(){function e(e,t,n){this.type="global",this.at=Ne,this.isProcessed=!1,this.key=e,this.options=n;var r=e.substr(8);this.rule=n.jss.createRule(r,t,(0,o.A)({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),Re=/\s*,\s*/g;function Ie(e,t){for(var n=e.split(Re),r="",o=0;o<n.length;o++)r+=t+" "+n[o].trim(),n[o+1]&&(r+=", ");return r}const Be=function(){return{onCreateRule:function(e,t,n){if(!e)return null;if(e===Ne)return new Te(e,t,n);if("@"===e[0]&&e.substr(0,8)===Oe)return new Fe(e,t,n);var r=n.parent;return r&&("global"===r.type||r.options.parent&&"global"===r.options.parent.type)&&(n.scoped=!1),n.selector||!1!==n.scoped||(n.selector=e),null},onProcessRule:function(e,t){"style"===e.type&&t&&(function(e,t){var n=e.options,r=e.style,i=r?r[Ne]:null;if(i){for(var a in i)t.addRule(a,i[a],(0,o.A)({},n,{selector:Ie(a,e.selector)}));delete r[Ne]}}(e,t),function(e,t){var n=e.options,r=e.style;for(var i in r)if("@"===i[0]&&i.substr(0,Ne.length)===Ne){var a=Ie(i.substr(Ne.length),e.selector);t.addRule(a,r[i],(0,o.A)({},n,{selector:a})),delete r[i]}}(e,t))}}};var We=/\s*,\s*/g,ze=/&/g,$e=/\$([\w-]+)/g;const He=function(){function e(e,t){return function(n,r){var o=e.getRule(r)||t&&t.getRule(r);return o?o.selector:r}}function t(e,t){for(var n=t.split(We),r=e.split(We),o="",i=0;i<n.length;i++)for(var a=n[i],s=0;s<r.length;s++){var l=r[s];o&&(o+=", "),o+=-1!==l.indexOf("&")?l.replace(ze,a):a+" "+l}return o}function n(e,t,n){if(n)return(0,o.A)({},n,{index:n.index+1});var r=e.options.nestingLevel;r=void 0===r?1:r+1;var i=(0,o.A)({},e.options,{nestingLevel:r,index:t.indexOf(e)+1});return delete i.name,i}return{onProcessStyle:function(r,i,a){if("style"!==i.type)return r;var s,l,u=i,c=u.options.parent;for(var d in r){var p=-1!==d.indexOf("&"),f="@"===d[0];if(p||f){if(s=n(u,c,s),p){var h=t(d,u.selector);l||(l=e(c,a)),h=h.replace($e,l);var m=u.key+"-"+d;"replaceRule"in c?c.replaceRule(m,r[d],(0,o.A)({},s,{selector:h})):c.addRule(m,r[d],(0,o.A)({},s,{selector:h}))}else f&&c.addRule(d,{},s).addRule(u.key,r[d],{selector:u.selector});delete r[d]}}return r}}};var Ve=/[A-Z]/g,Ue=/^ms-/,qe={};function Ye(e){return"-"+e.toLowerCase()}const Ge=function(e){if(qe.hasOwnProperty(e))return qe[e];var t=e.replace(Ve,Ye);return qe[e]=Ue.test(t)?"-"+t:t};function Ze(e){var t={};for(var n in e){t[0===n.indexOf("--")?n:Ge(n)]=e[n]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(Ze):t.fallbacks=Ze(e.fallbacks)),t}const Ke=function(){return{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=Ze(e[t]);return e}return Ze(e)},onChangeValue:function(e,t,n){if(0===t.indexOf("--"))return e;var r=Ge(t);return t===r?e:(n.prop(r,e),null)}}};var Qe=ke&&CSS?CSS.px:"px",Xe=ke&&CSS?CSS.ms:"ms",Je=ke&&CSS?CSS.percent:"%";function et(e){var t=/(-[a-z])/g,n=function(e){return e[1].toUpperCase()},r={};for(var o in e)r[o]=e[o],r[o.replace(t,n)]=e[o];return r}var tt=et({"animation-delay":Xe,"animation-duration":Xe,"background-position":Qe,"background-position-x":Qe,"background-position-y":Qe,"background-size":Qe,border:Qe,"border-bottom":Qe,"border-bottom-left-radius":Qe,"border-bottom-right-radius":Qe,"border-bottom-width":Qe,"border-left":Qe,"border-left-width":Qe,"border-radius":Qe,"border-right":Qe,"border-right-width":Qe,"border-top":Qe,"border-top-left-radius":Qe,"border-top-right-radius":Qe,"border-top-width":Qe,"border-width":Qe,"border-block":Qe,"border-block-end":Qe,"border-block-end-width":Qe,"border-block-start":Qe,"border-block-start-width":Qe,"border-block-width":Qe,"border-inline":Qe,"border-inline-end":Qe,"border-inline-end-width":Qe,"border-inline-start":Qe,"border-inline-start-width":Qe,"border-inline-width":Qe,"border-start-start-radius":Qe,"border-start-end-radius":Qe,"border-end-start-radius":Qe,"border-end-end-radius":Qe,margin:Qe,"margin-bottom":Qe,"margin-left":Qe,"margin-right":Qe,"margin-top":Qe,"margin-block":Qe,"margin-block-end":Qe,"margin-block-start":Qe,"margin-inline":Qe,"margin-inline-end":Qe,"margin-inline-start":Qe,padding:Qe,"padding-bottom":Qe,"padding-left":Qe,"padding-right":Qe,"padding-top":Qe,"padding-block":Qe,"padding-block-end":Qe,"padding-block-start":Qe,"padding-inline":Qe,"padding-inline-end":Qe,"padding-inline-start":Qe,"mask-position-x":Qe,"mask-position-y":Qe,"mask-size":Qe,height:Qe,width:Qe,"min-height":Qe,"max-height":Qe,"min-width":Qe,"max-width":Qe,bottom:Qe,left:Qe,top:Qe,right:Qe,inset:Qe,"inset-block":Qe,"inset-block-end":Qe,"inset-block-start":Qe,"inset-inline":Qe,"inset-inline-end":Qe,"inset-inline-start":Qe,"box-shadow":Qe,"text-shadow":Qe,"column-gap":Qe,"column-rule":Qe,"column-rule-width":Qe,"column-width":Qe,"font-size":Qe,"font-size-delta":Qe,"letter-spacing":Qe,"text-decoration-thickness":Qe,"text-indent":Qe,"text-stroke":Qe,"text-stroke-width":Qe,"word-spacing":Qe,motion:Qe,"motion-offset":Qe,outline:Qe,"outline-offset":Qe,"outline-width":Qe,perspective:Qe,"perspective-origin-x":Je,"perspective-origin-y":Je,"transform-origin":Je,"transform-origin-x":Je,"transform-origin-y":Je,"transform-origin-z":Je,"transition-delay":Xe,"transition-duration":Xe,"vertical-align":Qe,"flex-basis":Qe,"shape-margin":Qe,size:Qe,gap:Qe,grid:Qe,"grid-gap":Qe,"row-gap":Qe,"grid-row-gap":Qe,"grid-column-gap":Qe,"grid-template-rows":Qe,"grid-template-columns":Qe,"grid-auto-rows":Qe,"grid-auto-columns":Qe,"box-shadow-x":Qe,"box-shadow-y":Qe,"box-shadow-blur":Qe,"box-shadow-spread":Qe,"font-line-height":Qe,"text-shadow-x":Qe,"text-shadow-y":Qe,"text-shadow-blur":Qe});function nt(e,t,n){if(null==t)return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=nt(e,t[r],n);else if("object"===typeof t)if("fallbacks"===e)for(var o in t)t[o]=nt(o,t[o],n);else for(var i in t)t[i]=nt(e+"-"+i,t[i],n);else if("number"===typeof t&&!1===isNaN(t)){var a=n[e]||tt[e];return!a||0===t&&a===Qe?t.toString():"function"===typeof a?a(t).toString():""+t+a}return t}const rt=function(e){void 0===e&&(e={});var t=et(e);return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r in e)e[r]=nt(r,e[r],t);return e},onChangeValue:function(e,n){return nt(n,e,t)}}};var ot=n(5458),it="",at="",st="",lt="",ut=s&&"ontouchstart"in document.documentElement;if(s){var ct={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},dt=document.createElement("p").style;for(var pt in ct)if(pt+"Transform"in dt){it=pt,at=ct[pt];break}"Webkit"===it&&"msHyphens"in dt&&(it="ms",at=ct.ms,lt="edge"),"Webkit"===it&&"-apple-trailing-word"in dt&&(st="apple")}var ft={js:it,css:at,vendor:st,browser:lt,isTouch:ut};var ht={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===ft.js?"-webkit-"+e:ft.css+e)}},mt={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===ft.js?ft.css+"print-"+e:e)}},gt=/[-\s]+(.)?/g;function vt(e,t){return t?t.toUpperCase():""}function yt(e){return e.replace(gt,vt)}function xt(e){return yt("-"+e)}var bt,kt={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===ft.js){var n="mask-image";if(yt(n)in t)return e;if(ft.js+xt(n)in t)return ft.css+e}return e}},wt={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==ft.vendor||ft.isTouch?e:ft.css+e)}},Et={noPrefill:["transform"],supportedProperty:function(e,t,n){return"transform"===e&&(n.transform?e:ft.css+e)}},_t={noPrefill:["transition"],supportedProperty:function(e,t,n){return"transition"===e&&(n.transition?e:ft.css+e)}},Ct={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===ft.js||"ms"===ft.js&&"edge"!==ft.browser?ft.css+e:e)}},St={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===ft.js||"ms"===ft.js||"apple"===ft.vendor?ft.css+e:e)}},Dt={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===ft.js?"WebkitColumn"+xt(e)in t&&ft.css+"column-"+e:"Moz"===ft.js&&("page"+xt(e)in t&&"page-"+e))}},jt={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===ft.js)return e;var n=e.replace("-inline","");return ft.js+xt(n)in t&&ft.css+n}},At={supportedProperty:function(e,t){return yt(e)in t&&e}},Pt={supportedProperty:function(e,t){var n=xt(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:ft.js+n in t?ft.css+e:"Webkit"!==ft.js&&"Webkit"+n in t&&"-webkit-"+e}},Lt={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===ft.js?""+ft.css+e:e)}},Mt={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===ft.js?ft.css+"scroll-chaining":e)}},Nt={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},Ot={supportedProperty:function(e,t){var n=Nt[e];return!!n&&(ft.js+xt(n)in t&&ft.css+n)}},Tt={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},Ft=Object.keys(Tt),Rt=function(e){return ft.css+e},It={supportedProperty:function(e,t,n){var r=n.multiple;if(Ft.indexOf(e)>-1){var o=Tt[e];if(!Array.isArray(o))return ft.js+xt(o)in t&&ft.css+o;if(!r)return!1;for(var i=0;i<o.length;i++)if(!(ft.js+xt(o[0])in t))return!1;return o.map(Rt)}return!1}},Bt=[ht,mt,kt,wt,Et,_t,Ct,St,Dt,jt,At,Pt,Lt,Mt,Ot,It],Wt=Bt.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),zt=Bt.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,(0,ot.A)(t.noPrefill)),e}),[]),$t={};if(s){bt=document.createElement("p");var Ht=window.getComputedStyle(document.documentElement,"");for(var Vt in Ht)isNaN(Vt)||($t[Ht[Vt]]=Ht[Vt]);zt.forEach((function(e){return delete $t[e]}))}function Ut(e,t){if(void 0===t&&(t={}),!bt)return e;if(null!=$t[e])return $t[e];"transition"!==e&&"transform"!==e||(t[e]=e in bt.style);for(var n=0;n<Wt.length&&($t[e]=Wt[n](e,bt.style,t),!$t[e]);n++);try{bt.style[e]=""}catch(r){return!1}return $t[e]}var qt,Yt={},Gt={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Zt=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function Kt(e,t,n){if("var"===t)return"var";if("all"===t)return"all";if("all"===n)return", all";var r=t?Ut(t):", "+Ut(n);return r||(t||n)}function Qt(e,t){var n=t;if(!qt||"content"===e)return t;if("string"!==typeof n||!isNaN(parseInt(n,10)))return n;var r=e+n;if(null!=Yt[r])return Yt[r];try{qt.style[e]=n}catch(o){return Yt[r]=!1,!1}if(Gt[e])n=n.replace(Zt,Kt);else if(""===qt.style[e]&&("-ms-flex"===(n=ft.css+n)&&(qt.style[e]="-ms-flexbox"),qt.style[e]=n,""===qt.style[e]))return Yt[r]=!1,!1;return qt.style[e]="",Yt[r]=n,Yt[r]}s&&(qt=document.createElement("p"));const Xt=function(){function e(t){for(var n in t){var r=t[n];if("fallbacks"===n&&Array.isArray(r))t[n]=r.map(e);else{var o=!1,i=Ut(n);i&&i!==n&&(o=!0);var a=!1,s=Qt(i,g(r));s&&s!==r&&(a=!0),(o||a)&&(o&&delete t[n],t[i||n]=s||r)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at=function(e){return"-"===e[1]||"ms"===ft.js?e:"@"+ft.css+"keyframes"+e.substr(10)}(t.at)}},onProcessStyle:function(t,n){return"style"!==n.type?t:e(t)},onChangeValue:function(e,t){return Qt(t,g(e))||e}}};const Jt=function(){var e=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length};return{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},o=Object.keys(t).sort(e),i=0;i<o.length;i++)r[o[i]]=t[o[i]];return r}}};var en=be({plugins:[Me(),Be(),He(),Ke(),rt(),"undefined"===typeof window?null:Xt(),Jt()]}),tn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,r=e.productionPrefix,o=void 0===r?"jss":r,i=e.seed,a=void 0===i?"":i,s=""===a?"":"".concat(a,"-"),l=0,u=function(){return l+=1};return function(e,t){var r=t.options.name;if(r&&0===r.indexOf("Mui")&&!t.options.link&&!n){if(-1!==je.indexOf(e.key))return"Mui-".concat(e.key);var i="".concat(s).concat(r,"-").concat(e.key);return t.options.theme[De.A]&&""===a?"".concat(i,"-").concat(u()):i}return"".concat(s).concat(o).concat(u())}}(),nn={disableGeneration:!1,generateClassName:tn,jss:en,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},rn=i.createContext(nn);var on=-1e9;var an=n(3806);const sn={};function ln(e,t){var n=e.state,r=e.theme,i=e.stylesOptions,a=e.stylesCreator,s=e.name;if(!i.disableGeneration){var l=Ce.get(i.sheetsManager,a,r);l||(l={refs:0,staticSheet:null,dynamicStyles:null},Ce.set(i.sheetsManager,a,r,l));var u=(0,o.A)({},a.options,i,{theme:r,flip:"boolean"===typeof i.flip?i.flip:"rtl"===r.direction});u.generateId=u.serverGenerateClassName||u.generateClassName;var c=i.sheetsRegistry;if(0===l.refs){var d;i.sheetsCache&&(d=Ce.get(i.sheetsCache,a,r));var p=a.create(r,s);d||((d=i.jss.createStyleSheet(p,(0,o.A)({link:!1},u))).attach(),i.sheetsCache&&Ce.set(i.sheetsCache,a,r,d)),c&&c.add(d),l.staticSheet=d,l.dynamicStyles=we(p)}if(l.dynamicStyles){var f=i.jss.createStyleSheet(l.dynamicStyles,(0,o.A)({link:!0},u));f.update(t),f.attach(),n.dynamicSheet=f,n.classes=(0,Ee.A)({baseClasses:l.staticSheet.classes,newClasses:f.classes}),c&&c.add(f)}else n.classes=l.staticSheet.classes;l.refs+=1}}function un(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,a=t.classNamePrefix,s=t.Component,l=t.defaultTheme,u=void 0===l?sn:l,c=(0,r.A)(t,["name","classNamePrefix","Component","defaultTheme"]),d=function(e){var t="function"===typeof e;return{create:function(n,r){var i;try{i=t?e(n):e}catch(l){throw l}if(!r||!n.overrides||!n.overrides[r])return i;var a=n.overrides[r],s=(0,o.A)({},i);return Object.keys(a).forEach((function(e){s[e]=(0,an.A)(s[e],a[e])})),s},options:{}}}(e),p=n||a||"makeStyles";d.options={index:on+=1,name:n,meta:p,classNamePrefix:p};return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,Se.A)()||u,r=(0,o.A)({},i.useContext(rn),c),a=i.useRef(),l=i.useRef();!function(e,t){var n,r=i.useRef([]),o=i.useMemo((function(){return{}}),t);r.current!==o&&(r.current=o,n=e()),i.useEffect((function(){return function(){n&&n()}}),[o])}((function(){var o={name:n,state:{},stylesCreator:d,stylesOptions:r,theme:t};return ln(o,e),l.current=!1,a.current=o,function(){!function(e){var t=e.state,n=e.theme,r=e.stylesOptions,o=e.stylesCreator;if(!r.disableGeneration){var i=Ce.get(r.sheetsManager,o,n);i.refs-=1;var a=r.sheetsRegistry;0===i.refs&&(Ce.delete(r.sheetsManager,o,n),r.jss.removeStyleSheet(i.staticSheet),a&&a.remove(i.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}(o)}}),[t,d]),i.useEffect((function(){l.current&&function(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}(a.current,e),l.current=!0}));var p=function(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var o=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,o=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,o=!0),o&&(r.cacheClasses.value=(0,Ee.A)({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}(a.current,e.classes,s);return p}}},2652:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(8168);function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;e.Component;if(!n)return t;var o=(0,r.A)({},t);return Object.keys(n).forEach((function(e){n[e]&&(o[e]="".concat(t[e]," ").concat(n[e]))})),o}},9184:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(5043).createContext(null)},3052:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5043),o=n(9184);function i(){return r.useContext(o.A)}},3806:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(8168),o=n(2284);function i(e){return e&&"object"===(0,o.A)(e)&&e.constructor===Object}function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},o=n.clone?(0,r.A)({},e):e;return i(e)&&i(t)&&Object.keys(t).forEach((function(r){"__proto__"!==r&&(i(t[r])&&r in e?o[r]=a(e[r],t[r],n):o[r]=t[r])})),o}},8565:(e,t,n)=>{"use strict";function r(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}n.d(t,{A:()=>r})},2261:(e,t,n)=>{var r,o;window,e.exports=(r=n(5043),o=n(5173),function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return function(e){return e&&e.__esModule?e:{default:e}}(r).default}}),e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=l(n(2)),a=l(n(3)),s=n(4);function l(e){return e&&e.__esModule?e:{default:e}}var u=[],c=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.handleKeyboardEvent=n.handleKeyboardEvent.bind(n),n.registerExclusiveHandler=n.registerExclusiveHandler.bind(n),n.deregisterExclusiveHandler=n.deregisterExclusiveHandler.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(e,i.default.Component),o(e,[{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyboardEvent,!1),document.addEventListener("keyup",this.handleKeyboardEvent,!1),document.addEventListener("keypress",this.handleKeyboardEvent,!1);var e=this.props,t=e.isExclusive,n=e.isDisabled;t&&!n&&this.registerExclusiveHandler()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyboardEvent,!1),document.removeEventListener("keyup",this.handleKeyboardEvent,!1),document.removeEventListener("keypress",this.handleKeyboardEvent,!1),this.deregisterExclusiveHandler()}},{key:"componentDidUpdate",value:function(e){var t=e.isExclusive,n=e.isDisabled;(this.props.isExclusive!==t||this.props.isDisabled!==n)&&(this.props.isExclusive&&!this.props.isDisabled?this.registerExclusiveHandler():this.deregisterExclusiveHandler())}},{key:"registerExclusiveHandler",value:function(){this.deregisterExclusiveHandler(),u.unshift(this)}},{key:"deregisterExclusiveHandler",value:function(){var e=this;u.includes(this)&&(u=u.filter((function(t){return t!==e})))}},{key:"handleKeyboardEvent",value:function(e){var t=this.props,n=t.isDisabled,r=t.handleKeys,o=t.onKeyEvent,i=t.handleEventType,a=t.children,l=t.handleFocusableElements;if(n)return!1;if(i!==e.type)return!1;if(u.length>0&&u[0]!==this)return!1;var c=e.target===document.body||l,d=this.childrenContainer&&this.childrenContainer.contains(e.target);if(!(a?d:c))return!1;var p=(0,s.findMatchedKey)(e,r);return!!p&&(o(p,e),!0)}},{key:"render",value:function(){var t=this,n=this.props.children,o=Object.assign({},this.props),a=!0,s=!1,l=void 0;try{for(var u,c=Object.keys(e.propTypes)[Symbol.iterator]();!(a=(u=c.next()).done);a=!0)delete o[u.value]}catch(t){s=!0,l=t}finally{try{!a&&c.return&&c.return()}finally{if(s)throw l}}return n?i.default.createElement("span",r({ref:function(e){t.childrenContainer=e}},o),n):null}}]),e}();t.default=c,c.propTypes={handleKeys:a.default.array,handleEventType:a.default.oneOf(["keydown","keyup","keypress"]),handleFocusableElements:a.default.bool,onKeyEvent:a.default.func,isDisabled:a.default.bool,isExclusive:a.default.bool,children:a.default.any},c.defaultProps={handleKeys:[],handleFocusableElements:!1,handleEventType:"keydown",onKeyEvent:function(){return null}},e.exports=t.default},function(e,t){e.exports=r},function(e,t){e.exports=o},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0}),t.matchKeyEvent=f,t.findMatchedKey=function(e,t){var n=t.map((function(e){var t=e.toLowerCase();return p[t]||[e]})).reduce((function(e,t){return e.concat(t)}),[]).find((function(t){return f(e,t)}));return!n&&t.includes("all")&&(n="other"),n};var o={backspace:[8],del:[46],delete:[46],ins:[45],insert:[45],tab:[9],enter:[13],return:[13],esc:[27],space:[32],pageup:[33],pagedown:[34],end:[35],home:[36],left:[37],up:[38],right:[39],down:[40],shift:[16],ctrl:[17],alt:[18],cap:[20],num:[144],clear:[12],meta:[91],";":[186,59],"=":[187,61],",":[188,44],"-":[189,45,173,109],minus:[189,45,173,109],".":[190,110],"/":[191,111],"`":[192],"[":[219],"\\":[220],"]":[221],"*":[106],"+":[107],plus:[107],"'":[222],quote:[222]},i=Object.keys(o).reduce((function(e,t){return Object.assign(e,r({},t.toUpperCase(),o[t]))}),{}),a="0123456789".split("").reduce((function(e,t,n){return Object.assign(e,r({},t,[n+48,n+96]))}),{}),s="ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").reduce((function(e,t,n){return Object.assign(e,r({},t.toLowerCase(),[n+65]),r({},t,[n+65]))}),{}),l="1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19".split(",").reduce((function(e,t,n){return Object.assign(e,r({},"f"+t,[n+112]))}),{}),u={control:"ctrl",ctrl:"ctrl",shift:"shift",meta:"meta",cmd:"meta",command:"meta",option:"alt",alt:"alt"},c=t.AllKeys=Object.assign({},o,i,a,s,l),d=Object.assign({},a,s),p={all:Object.keys(c),alphanumeric:Object.keys(d),numeric:Object.keys(a),alphabetic:Object.keys(s),function:Object.keys(l)};function f(e,t){var n=e.which||e.keyCode,r=e.type,o=Object.keys(u).filter((function(t){return e[t+"Key"]})).sort(),i=t.toLowerCase().trim(),a="+"===i?["+"]:i.split(/\s?\+\s?/),s=a.pop(),l=c[s],d=a;if("keypress"===r)return t==String.fromCharCode(n).toLowerCase();if(0===d.length&&0===o.length)return l.indexOf(n)>=0;if(d.length>0&&o.length>0){var p=d.map((function(e){return u[e]})).sort(),f=p.length===o.length&&p.every((function(e,t){return o[t]===e}));return l.indexOf(n)>=0&&f}return 0==d.length&&1===o.length&&s===o[0]}}]))},3024:(e,t,n)=>{"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}n.d(t,{A:()=>o});const o=function(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}},4497:function(e,t){var n;!function(){"use strict";var r=Math.cosh||function(e){return Math.abs(e)<1e-9?1-e:.5*(Math.exp(e)+Math.exp(-e))},o=Math.sinh||function(e){return Math.abs(e)<1e-9?e:.5*(Math.exp(e)-Math.exp(-e))},i=function(){throw SyntaxError("Invalid Param")};function a(e,t){var n=Math.abs(e),r=Math.abs(t);return 0===e?Math.log(r):0===t?Math.log(n):n<3e3&&r<3e3?.5*Math.log(e*e+t*t):(e/=2,t/=2,.5*Math.log(e*e+t*t)+Math.LN2)}function s(e,t){if(!(this instanceof s))return new s(e,t);var n=function(e,t){var n={re:0,im:0};if(void 0===e||null===e)n.re=n.im=0;else if(void 0!==t)n.re=e,n.im=t;else switch(typeof e){case"object":if("im"in e&&"re"in e)n.re=e.re,n.im=e.im;else if("abs"in e&&"arg"in e){if(!Number.isFinite(e.abs)&&Number.isFinite(e.arg))return s.INFINITY;n.re=e.abs*Math.cos(e.arg),n.im=e.abs*Math.sin(e.arg)}else if("r"in e&&"phi"in e){if(!Number.isFinite(e.r)&&Number.isFinite(e.phi))return s.INFINITY;n.re=e.r*Math.cos(e.phi),n.im=e.r*Math.sin(e.phi)}else 2===e.length?(n.re=e[0],n.im=e[1]):i();break;case"string":n.im=n.re=0;var r=e.match(/\d+\.?\d*e[+-]?\d+|\d+\.?\d*|\.\d+|./g),o=1,a=0;null===r&&i();for(var l=0;l<r.length;l++){var u=r[l];" "===u||"\t"===u||"\n"===u||("+"===u?o++:"-"===u?a++:"i"===u||"I"===u?(o+a===0&&i()," "===r[l+1]||isNaN(r[l+1])?n.im+=parseFloat((a%2?"-":"")+"1"):(n.im+=parseFloat((a%2?"-":"")+r[l+1]),l++),o=a=0):((o+a===0||isNaN(u))&&i(),"i"===r[l+1]||"I"===r[l+1]?(n.im+=parseFloat((a%2?"-":"")+u),l++):n.re+=parseFloat((a%2?"-":"")+u),o=a=0))}o+a>0&&i();break;case"number":n.im=0,n.re=e;break;default:i()}return isNaN(n.re)||isNaN(n.im),n}(e,t);this.re=n.re,this.im=n.im}s.prototype={re:0,im:0,sign:function(){var e=this.abs();return new s(this.re/e,this.im/e)},add:function(e,t){var n=new s(e,t);return this.isInfinite()&&n.isInfinite()?s.NAN:this.isInfinite()||n.isInfinite()?s.INFINITY:new s(this.re+n.re,this.im+n.im)},sub:function(e,t){var n=new s(e,t);return this.isInfinite()&&n.isInfinite()?s.NAN:this.isInfinite()||n.isInfinite()?s.INFINITY:new s(this.re-n.re,this.im-n.im)},mul:function(e,t){var n=new s(e,t);return this.isInfinite()&&n.isZero()||this.isZero()&&n.isInfinite()?s.NAN:this.isInfinite()||n.isInfinite()?s.INFINITY:0===n.im&&0===this.im?new s(this.re*n.re,0):new s(this.re*n.re-this.im*n.im,this.re*n.im+this.im*n.re)},div:function(e,t){var n=new s(e,t);if(this.isZero()&&n.isZero()||this.isInfinite()&&n.isInfinite())return s.NAN;if(this.isInfinite()||n.isZero())return s.INFINITY;if(this.isZero()||n.isInfinite())return s.ZERO;e=this.re,t=this.im;var r,o,i=n.re,a=n.im;return 0===a?new s(e/i,t/i):Math.abs(i)<Math.abs(a)?new s((e*(o=i/a)+t)/(r=i*o+a),(t*o-e)/r):new s((e+t*(o=a/i))/(r=a*o+i),(t-e*o)/r)},pow:function(e,t){var n=new s(e,t);if(e=this.re,t=this.im,n.isZero())return s.ONE;if(0===n.im){if(0===t&&e>0)return new s(Math.pow(e,n.re),0);if(0===e)switch((n.re%4+4)%4){case 0:return new s(Math.pow(t,n.re),0);case 1:return new s(0,Math.pow(t,n.re));case 2:return new s(-Math.pow(t,n.re),0);case 3:return new s(0,-Math.pow(t,n.re))}}if(0===e&&0===t&&n.re>0&&n.im>=0)return s.ZERO;var r=Math.atan2(t,e),o=a(e,t);return e=Math.exp(n.re*o-n.im*r),t=n.im*o+n.re*r,new s(e*Math.cos(t),e*Math.sin(t))},sqrt:function(){var e,t,n=this.re,r=this.im,o=this.abs();if(n>=0){if(0===r)return new s(Math.sqrt(n),0);e=.5*Math.sqrt(2*(o+n))}else e=Math.abs(r)/Math.sqrt(2*(o-n));return t=n<=0?.5*Math.sqrt(2*(o-n)):Math.abs(r)/Math.sqrt(2*(o+n)),new s(e,r<0?-t:t)},exp:function(){var e=Math.exp(this.re);return this.im,new s(e*Math.cos(this.im),e*Math.sin(this.im))},expm1:function(){var e=this.re,t=this.im;return new s(Math.expm1(e)*Math.cos(t)+function(e){var t=Math.PI/4;if(-t>e||e>t)return Math.cos(e)-1;var n=e*e;return n*(n*(n*(n*(n*(n*(n*(n/20922789888e3-1/87178291200)+1/479001600)-1/3628800)+1/40320)-1/720)+1/24)-.5)}(t),Math.exp(e)*Math.sin(t))},log:function(){var e=this.re,t=this.im;return new s(a(e,t),Math.atan2(t,e))},abs:function(){return function(e,t){var n=Math.abs(e),r=Math.abs(t);return n<3e3&&r<3e3?Math.sqrt(n*n+r*r):(n<r?(n=r,r=e/t):r=t/e,n*Math.sqrt(1+r*r))}(this.re,this.im)},arg:function(){return Math.atan2(this.im,this.re)},sin:function(){var e=this.re,t=this.im;return new s(Math.sin(e)*r(t),Math.cos(e)*o(t))},cos:function(){var e=this.re,t=this.im;return new s(Math.cos(e)*r(t),-Math.sin(e)*o(t))},tan:function(){var e=2*this.re,t=2*this.im,n=Math.cos(e)+r(t);return new s(Math.sin(e)/n,o(t)/n)},cot:function(){var e=2*this.re,t=2*this.im,n=Math.cos(e)-r(t);return new s(-Math.sin(e)/n,o(t)/n)},sec:function(){var e=this.re,t=this.im,n=.5*r(2*t)+.5*Math.cos(2*e);return new s(Math.cos(e)*r(t)/n,Math.sin(e)*o(t)/n)},csc:function(){var e=this.re,t=this.im,n=.5*r(2*t)-.5*Math.cos(2*e);return new s(Math.sin(e)*r(t)/n,-Math.cos(e)*o(t)/n)},asin:function(){var e=this.re,t=this.im,n=new s(t*t-e*e+1,-2*e*t).sqrt(),r=new s(n.re-t,n.im+e).log();return new s(r.im,-r.re)},acos:function(){var e=this.re,t=this.im,n=new s(t*t-e*e+1,-2*e*t).sqrt(),r=new s(n.re-t,n.im+e).log();return new s(Math.PI/2-r.im,r.re)},atan:function(){var e=this.re,t=this.im;if(0===e){if(1===t)return new s(0,1/0);if(-1===t)return new s(0,-1/0)}var n=e*e+(1-t)*(1-t),r=new s((1-t*t-e*e)/n,-2*e/n).log();return new s(-.5*r.im,.5*r.re)},acot:function(){var e=this.re,t=this.im;if(0===t)return new s(Math.atan2(1,e),0);var n=e*e+t*t;return 0!==n?new s(e/n,-t/n).atan():new s(0!==e?e/0:0,0!==t?-t/0:0).atan()},asec:function(){var e=this.re,t=this.im;if(0===e&&0===t)return new s(0,1/0);var n=e*e+t*t;return 0!==n?new s(e/n,-t/n).acos():new s(0!==e?e/0:0,0!==t?-t/0:0).acos()},acsc:function(){var e=this.re,t=this.im;if(0===e&&0===t)return new s(Math.PI/2,1/0);var n=e*e+t*t;return 0!==n?new s(e/n,-t/n).asin():new s(0!==e?e/0:0,0!==t?-t/0:0).asin()},sinh:function(){var e=this.re,t=this.im;return new s(o(e)*Math.cos(t),r(e)*Math.sin(t))},cosh:function(){var e=this.re,t=this.im;return new s(r(e)*Math.cos(t),o(e)*Math.sin(t))},tanh:function(){var e=2*this.re,t=2*this.im,n=r(e)+Math.cos(t);return new s(o(e)/n,Math.sin(t)/n)},coth:function(){var e=2*this.re,t=2*this.im,n=r(e)-Math.cos(t);return new s(o(e)/n,-Math.sin(t)/n)},csch:function(){var e=this.re,t=this.im,n=Math.cos(2*t)-r(2*e);return new s(-2*o(e)*Math.cos(t)/n,2*r(e)*Math.sin(t)/n)},sech:function(){var e=this.re,t=this.im,n=Math.cos(2*t)+r(2*e);return new s(2*r(e)*Math.cos(t)/n,-2*o(e)*Math.sin(t)/n)},asinh:function(){var e=this.im;this.im=-this.re,this.re=e;var t=this.asin();return this.re=-this.im,this.im=e,e=t.re,t.re=-t.im,t.im=e,t},acosh:function(){var e=this.acos();if(e.im<=0){var t=e.re;e.re=-e.im,e.im=t}else{t=e.im;e.im=-e.re,e.re=t}return e},atanh:function(){var e=this.re,t=this.im,n=e>1&&0===t,r=1-e,o=1+e,i=r*r+t*t,l=0!==i?new s((o*r-t*t)/i,(t*r+o*t)/i):new s(-1!==e?e/0:0,0!==t?t/0:0),u=l.re;return l.re=a(l.re,l.im)/2,l.im=Math.atan2(l.im,u)/2,n&&(l.im=-l.im),l},acoth:function(){var e=this.re,t=this.im;if(0===e&&0===t)return new s(0,Math.PI/2);var n=e*e+t*t;return 0!==n?new s(e/n,-t/n).atanh():new s(0!==e?e/0:0,0!==t?-t/0:0).atanh()},acsch:function(){var e=this.re,t=this.im;if(0===t)return new s(0!==e?Math.log(e+Math.sqrt(e*e+1)):1/0,0);var n=e*e+t*t;return 0!==n?new s(e/n,-t/n).asinh():new s(0!==e?e/0:0,0!==t?-t/0:0).asinh()},asech:function(){var e=this.re,t=this.im;if(this.isZero())return s.INFINITY;var n=e*e+t*t;return 0!==n?new s(e/n,-t/n).acosh():new s(0!==e?e/0:0,0!==t?-t/0:0).acosh()},inverse:function(){if(this.isZero())return s.INFINITY;if(this.isInfinite())return s.ZERO;var e=this.re,t=this.im,n=e*e+t*t;return new s(e/n,-t/n)},conjugate:function(){return new s(this.re,-this.im)},neg:function(){return new s(-this.re,-this.im)},ceil:function(e){return e=Math.pow(10,e||0),new s(Math.ceil(this.re*e)/e,Math.ceil(this.im*e)/e)},floor:function(e){return e=Math.pow(10,e||0),new s(Math.floor(this.re*e)/e,Math.floor(this.im*e)/e)},round:function(e){return e=Math.pow(10,e||0),new s(Math.round(this.re*e)/e,Math.round(this.im*e)/e)},equals:function(e,t){var n=new s(e,t);return Math.abs(n.re-this.re)<=s.EPSILON&&Math.abs(n.im-this.im)<=s.EPSILON},clone:function(){return new s(this.re,this.im)},toString:function(){var e=this.re,t=this.im,n="";return this.isNaN()?"NaN":this.isInfinite()?"Infinity":(Math.abs(e)<s.EPSILON&&(e=0),Math.abs(t)<s.EPSILON&&(t=0),0===t?n+e:(0!==e?(n+=e,n+=" ",t<0?(t=-t,n+="-"):n+="+",n+=" "):t<0&&(t=-t,n+="-"),1!==t&&(n+=t),n+"i"))},toVector:function(){return[this.re,this.im]},valueOf:function(){return 0===this.im?this.re:null},isNaN:function(){return isNaN(this.re)||isNaN(this.im)},isZero:function(){return 0===this.im&&0===this.re},isFinite:function(){return isFinite(this.re)&&isFinite(this.im)},isInfinite:function(){return!(this.isNaN()||this.isFinite())}},s.ZERO=new s(0,0),s.ONE=new s(1,0),s.I=new s(0,1),s.PI=new s(Math.PI,0),s.E=new s(Math.E,0),s.INFINITY=new s(1/0,1/0),s.NAN=new s(NaN,NaN),s.EPSILON=1e-15,void 0===(n=function(){return s}.apply(t,[]))||(e.exports=n)}()},8400:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},1616:function(e,t,n){var r,o,i;!function(){"use strict";o=[n(2052)],void 0===(i="function"===typeof(r=function(e){var t=/(^|@)\S+:\d+/,n=/^\s*at .*(\S+:\d+|\(native\))/m,r=/^(eval@)?(\[native code])?$/;return{parse:function(e){if("undefined"!==typeof e.stacktrace||"undefined"!==typeof e["opera#sourceloc"])return this.parseOpera(e);if(e.stack&&e.stack.match(n))return this.parseV8OrIE(e);if(e.stack)return this.parseFFOrSafari(e);throw new Error("Cannot parse given Error object")},extractLocation:function(e){if(-1===e.indexOf(":"))return[e];var t=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(e.replace(/[()]/g,""));return[t[1],t[2]||void 0,t[3]||void 0]},parseV8OrIE:function(t){return t.stack.split("\n").filter((function(e){return!!e.match(n)}),this).map((function(t){t.indexOf("(eval ")>-1&&(t=t.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));var n=t.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,""),r=n.match(/ (\(.+\)$)/);n=r?n.replace(r[0],""):n;var o=this.extractLocation(r?r[1]:n),i=r&&n||void 0,a=["eval","<anonymous>"].indexOf(o[0])>-1?void 0:o[0];return new e({functionName:i,fileName:a,lineNumber:o[1],columnNumber:o[2],source:t})}),this)},parseFFOrSafari:function(t){return t.stack.split("\n").filter((function(e){return!e.match(r)}),this).map((function(t){if(t.indexOf(" > eval")>-1&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===t.indexOf("@")&&-1===t.indexOf(":"))return new e({functionName:t});var n=/((.*".+"[^@]*)?[^@]*)(?:@)/,r=t.match(n),o=r&&r[1]?r[1]:void 0,i=this.extractLocation(t.replace(n,""));return new e({functionName:o,fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:t})}),this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,r=t.message.split("\n"),o=[],i=2,a=r.length;i<a;i+=2){var s=n.exec(r[i]);s&&o.push(new e({fileName:s[2],lineNumber:s[1],source:r[i]}))}return o},parseOpera10:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,r=t.stacktrace.split("\n"),o=[],i=0,a=r.length;i<a;i+=2){var s=n.exec(r[i]);s&&o.push(new e({functionName:s[3]||void 0,fileName:s[2],lineNumber:s[1],source:r[i]}))}return o},parseOpera11:function(n){return n.stack.split("\n").filter((function(e){return!!e.match(t)&&!e.match(/^Error created at/)}),this).map((function(t){var n,r=t.split("@"),o=this.extractLocation(r.pop()),i=r.shift()||"",a=i.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0;i.match(/\(([^)]*)\)/)&&(n=i.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var s=void 0===n||"[arguments not available]"===n?void 0:n.split(",");return new e({functionName:a,args:s,fileName:o[0],lineNumber:o[1],columnNumber:o[2],source:t})}),this)}}})?r.apply(t,o):r)||(e.exports=i)}()},1818:(e,t,n)=>{"use strict";t.__esModule=!0,t.StyledIcon=void 0;var r=u(n(5043)),o=u(n(3440)),i=n(8898),a=n(8244),s=["a11yTitle","color","size","theme"];function l(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}var d=(0,o.css)([""," ",' g{fill:inherit;stroke:inherit;}*:not([stroke]){&[fill="none"]{stroke-width:0;}}*[stroke*="#"],*[STROKE*="#"]{stroke:inherit;fill:none;}*[fill-rule],*[FILL-RULE],*[fill*="#"],*[FILL*="#"]{fill:inherit;stroke:none;}'],(function(e){return(0,i.colorStyle)("fill",e.color||e.theme.global.colors.icon,e.theme)}),(function(e){return(0,i.colorStyle)("stroke",e.color||e.theme.global.colors.icon,e.theme)})),p=(0,r.forwardRef)((function(e,t){var n=e.a11yTitle,o=(e.color,e.size,e.theme,function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,s));return r.default.createElement("svg",c({ref:t,"aria-label":n},o))}));p.displayName="Icon";var f=(0,o.default)(p).withConfig({displayName:"StyledIcon",componentId:"sc-ofa7kd-0"})(["display:inline-block;flex:0 0 auto;"," "," ",""],(function(e){var t,n=e.size,r=void 0===n?"medium":n,o=e.theme,i=(e.viewBox||"0 0 24 24").split(" "),a=i[2],s=i[3],l=a/s,u=(t=o.icon.size[r]||r,parseFloat(t.match(/\d+(\.\d+)?/),10));return a<s?"\n      width: "+u+"px;\n      height: "+u/l+"px;\n    ":s<a?"\n      width: "+u*l+"px;\n      height: "+u+"px;\n    ":"\n      width: "+u+"px;\n      height: "+u+"px;\n    "}),(function(e){return"plain"!==e.color&&d}),(function(e){var t=e.theme;return t&&t.icon.extend}));t.StyledIcon=f,f.defaultProps={},Object.setPrototypeOf(f.defaultProps,a.defaultProps)},8244:(e,t,n)=>{"use strict";t.__esModule=!0,t.extendDefaultTheme=t.defaultProps=void 0;var r=n(8947),o=n(4893),i={theme:o.base};t.defaultProps=i;t.extendDefaultTheme=function(e){i.theme=(0,r.deepMerge)(o.base,e)}},9876:(e,t,n)=>{"use strict";t.E=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(5043)),o=n(1818);function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}var s=(0,r.forwardRef)((function(e,t){return r.default.createElement(o.StyledIcon,a({ref:t,viewBox:"0 0 24 24",a11yTitle:"Actions"},e),r.default.createElement("path",{fill:"none",stroke:"#000",strokeWidth:"2",d:"M12 17.5a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11zm0-11V1m0 22v-5.5M1 12h5.5m11 0H23M4.437 4.437l4.125 4.125m6.876 6.876 4.124 4.124m0-15.125-4.125 4.125m-6.874 6.876-4.126 4.124"}))}));t.E=s,s.displayName="Actions"},6123:(e,t,n)=>{"use strict";t.t=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(5043)),o=n(1818);function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}var s=(0,r.forwardRef)((function(e,t){return r.default.createElement(o.StyledIcon,a({ref:t,viewBox:"0 0 24 24",a11yTitle:"AssistListening"},e),r.default.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M11 21c.757.667 1.424 1 2 1 2 0 3-1 3-3 0-1.333.667-2.667 2-4 1.267-1.267 2-3.067 2-5a7 7 0 0 0-14 0m11 0a4 4 0 1 0-8 0M3 20l5-6 1 4 5-6"}))}));t.t=s,s.displayName="AssistListening"},4105:(e,t,n)=>{"use strict";t.x=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(5043)),o=n(1818);function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}var s=(0,r.forwardRef)((function(e,t){return r.default.createElement(o.StyledIcon,a({ref:t,viewBox:"0 0 24 24",a11yTitle:"CircleInformation"},e),r.default.createElement("path",{fill:"none",stroke:"#000",strokeWidth:"2",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10zm0-12v8m0-12v2"}))}));t.x=s,s.displayName="CircleInformation"},2297:(e,t,n)=>{"use strict";t.N=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(5043)),o=n(1818);function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}var s=(0,r.forwardRef)((function(e,t){return r.default.createElement(o.StyledIcon,a({ref:t,viewBox:"0 0 24 24",a11yTitle:"ClosedCaption"},e),r.default.createElement("path",{fill:"none",stroke:"#000",strokeWidth:"2",d:"M1 12c0-7 1.5-8 11-8s11 1 11 8-1.5 8-11 8-11-1-11-8zm4.25 2c0 1.5.75 2 2.5 2s2.5-.5 2.5-2h-.271c0 1.25-1 2-2.229 2-1.23 0-2.229-.75-2.229-2v-4C5.5 8.75 6.5 8 7.75 8s2.25.75 2.229 2h.271c0-1.25-1.021-2-2.5-2s-2.5.75-2.5 2v4zm8 0c0 1.5.75 2 2.5 2s2.5-.5 2.5-2h-.271c0 1.25-1 2-2.229 2-1.23 0-2.229-.75-2.229-2v-4c-.021-1.25.979-2 2.229-2s2.25.75 2.229 2h.271c0-1.25-1.021-2-2.5-2s-2.5.75-2.5 2v4z"}))}));t.N=s,s.displayName="ClosedCaption"},971:(e,t,n)=>{"use strict";t.J=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(5043)),o=n(1818);function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}var s=(0,r.forwardRef)((function(e,t){return r.default.createElement(o.StyledIcon,a({ref:t,viewBox:"0 0 24 24",a11yTitle:"Expand"},e),r.default.createElement("path",{fill:"none",stroke:"#000",strokeWidth:"2",d:"m10 14-8 8m-1-7v8h8M22 2l-8 8m1-9h8v8"}))}));t.J=s,s.displayName="Expand"},4841:(e,t,n)=>{"use strict";t.b=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(5043)),o=n(1818);function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}var s=(0,r.forwardRef)((function(e,t){return r.default.createElement(o.StyledIcon,a({ref:t,viewBox:"0 0 24 24",a11yTitle:"FormClose"},e),r.default.createElement("path",{fill:"none",stroke:"#000",strokeWidth:"2",d:"m7 7 10 10M7 17 17 7"}))}));t.b=s,s.displayName="FormClose"},3533:(e,t,n)=>{"use strict";t.t=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(5043)),o=n(1818);function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}var s=(0,r.forwardRef)((function(e,t){return r.default.createElement(o.StyledIcon,a({ref:t,viewBox:"0 0 24 24",a11yTitle:"FormDown"},e),r.default.createElement("path",{fill:"none",stroke:"#000",strokeWidth:"2",d:"m18 9-6 6-6-6"}))}));t.t=s,s.displayName="FormDown"},6484:(e,t,n)=>{"use strict";t.O=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(5043)),o=n(1818);function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}var s=(0,r.forwardRef)((function(e,t){return r.default.createElement(o.StyledIcon,a({ref:t,viewBox:"0 0 24 24",a11yTitle:"FormNext"},e),r.default.createElement("path",{fill:"none",stroke:"#000",strokeWidth:"2",d:"m9 6 6 6-6 6"}))}));t.O=s,s.displayName="FormNext"},5842:(e,t,n)=>{"use strict";t.G=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(5043)),o=n(1818);function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}var s=(0,r.forwardRef)((function(e,t){return r.default.createElement(o.StyledIcon,a({ref:t,viewBox:"0 0 24 24",a11yTitle:"FormPin"},e),r.default.createElement("path",{fill:"none",stroke:"#000",strokeWidth:"2",d:"m4 19 4.455-4.454M12.273 5 18 10.727m-4.454-4.454L9.727 10.09s-2.545-.636-4.454 1.273l6.363 6.363c1.91-1.909 1.273-4.454 1.273-4.454l3.818-3.818-3.181-3.182Z"}))}));t.G=s,s.displayName="FormPin"},6708:(e,t,n)=>{"use strict";t.Q=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(5043)),o=n(1818);function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}var s=(0,r.forwardRef)((function(e,t){return r.default.createElement(o.StyledIcon,a({ref:t,viewBox:"0 0 24 24",a11yTitle:"FormPrevious"},e),r.default.createElement("path",{fill:"none",stroke:"#000",strokeWidth:"2",d:"m15 6-6 6 6 6"}))}));t.Q=s,s.displayName="FormPrevious"},1300:(e,t,n)=>{"use strict";t.I=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(5043)),o=n(1818);function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}var s=(0,r.forwardRef)((function(e,t){return r.default.createElement(o.StyledIcon,a({ref:t,viewBox:"0 0 24 24",a11yTitle:"FormUp"},e),r.default.createElement("path",{fill:"none",stroke:"#000",strokeWidth:"2",d:"m18 15-6-6-6 6"}))}));t.I=s,s.displayName="FormUp"},9710:(e,t,n)=>{"use strict";t.k=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(5043)),o=n(1818);function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}var s=(0,r.forwardRef)((function(e,t){return r.default.createElement(o.StyledIcon,a({ref:t,viewBox:"0 0 24 24",a11yTitle:"Next"},e),r.default.createElement("path",{fill:"none",stroke:"#000",strokeWidth:"2",d:"m7 2 10 10L7 22"}))}));t.k=s,s.displayName="Next"},1065:(e,t,n)=>{"use strict";t.v=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(5043)),o=n(1818);function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}var s=(0,r.forwardRef)((function(e,t){return r.default.createElement(o.StyledIcon,a({ref:t,viewBox:"0 0 24 24",a11yTitle:"Pause"},e),r.default.createElement("path",{fill:"none",stroke:"#000",strokeWidth:"2",d:"M3 21h6V3H3v18zm12 0h6V3h-6v18z"}))}));t.v=s,s.displayName="Pause"},5161:(e,t,n)=>{"use strict";t.j=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(5043)),o=n(1818);function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}var s=(0,r.forwardRef)((function(e,t){return r.default.createElement(o.StyledIcon,a({ref:t,viewBox:"0 0 24 24",a11yTitle:"Play"},e),r.default.createElement("path",{fill:"none",stroke:"#000",strokeWidth:"2",d:"m3 22 18-10L3 2z"}))}));t.j=s,s.displayName="Play"},4858:(e,t,n)=>{"use strict";t.s=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(5043)),o=n(1818);function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}var s=(0,r.forwardRef)((function(e,t){return r.default.createElement(o.StyledIcon,a({ref:t,viewBox:"0 0 24 24",a11yTitle:"Previous"},e),r.default.createElement("path",{fill:"none",stroke:"#000",strokeWidth:"2",d:"M17 2 7 12l10 10"}))}));t.s=s,s.displayName="Previous"},6125:(e,t,n)=>{"use strict";t.H=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(5043)),o=n(1818);function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}var s=(0,r.forwardRef)((function(e,t){return r.default.createElement(o.StyledIcon,a({ref:t,viewBox:"0 0 12 12",a11yTitle:"Status is critical"},e),r.default.createElement("path",{fillRule:"evenodd",stroke:"#000",d:"M6.712 1.263a1.005 1.005 0 0 0-1.424 0L1.263 5.288a1.005 1.005 0 0 0 0 1.424l4.025 4.025a1.005 1.005 0 0 0 1.424 0l4.025-4.025a1.005 1.005 0 0 0 0-1.424L6.712 1.263z"}))}));t.H=s,s.displayName="StatusCriticalSmall"},5105:(e,t,n)=>{"use strict";t.Z=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(5043)),o=n(1818);function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}var s=(0,r.forwardRef)((function(e,t){return r.default.createElement(o.StyledIcon,a({ref:t,viewBox:"0 0 12 12",a11yTitle:"Status is okay"},e),r.default.createElement("circle",{cx:"6",cy:"6",r:"5",fillRule:"evenodd",stroke:"#000"}))}));t.Z=s,s.displayName="StatusGoodSmall"},8008:(e,t,n)=>{"use strict";t.S=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(5043)),o=n(1818);function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}var s=(0,r.forwardRef)((function(e,t){return r.default.createElement(o.StyledIcon,a({ref:t,viewBox:"0 0 12 12",a11yTitle:"Status is unknown"},e),r.default.createElement("rect",{width:"10",height:"10",x:"1",y:"1",fillRule:"evenodd",stroke:"#000",rx:"1"}))}));t.S=s,s.displayName="StatusUnknownSmall"},4050:(e,t,n)=>{"use strict";t.A=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(5043)),o=n(1818);function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}var s=(0,r.forwardRef)((function(e,t){return r.default.createElement(o.StyledIcon,a({ref:t,viewBox:"0 0 12 12",a11yTitle:"Status is warning"},e),r.default.createElement("path",{fillRule:"evenodd",stroke:"#000",strokeLinejoin:"round",d:"m6 1 5 9H1z"}))}));t.A=s,s.displayName="StatusWarningSmall"},2647:(e,t,n)=>{"use strict";t.N=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(5043)),o=n(1818);function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}var s=(0,r.forwardRef)((function(e,t){return r.default.createElement(o.StyledIcon,a({ref:t,viewBox:"0 0 24 24",a11yTitle:"Subtract"},e),r.default.createElement("path",{fill:"none",stroke:"#000",strokeWidth:"2",d:"M2 12h20"}))}));t.N=s,s.displayName="Subtract"},1545:(e,t,n)=>{"use strict";t.f=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(5043)),o=n(1818);function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}var s=(0,r.forwardRef)((function(e,t){return r.default.createElement(o.StyledIcon,a({ref:t,viewBox:"0 0 24 24",a11yTitle:"Volume"},e),r.default.createElement("path",{fill:"none",stroke:"#000",strokeWidth:"2",d:"M15 16a4 4 0 0 0 0-8m0 12c5 0 8-3.589 8-8s-3.589-8-8-8M1 12V8h5l6-5v18l-6-5H1v-4"}))}));t.f=s,s.displayName="Volume"},1403:(e,t,n)=>{"use strict";t.Z=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(5043)),o=n(1818);function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}var s=(0,r.forwardRef)((function(e,t){return r.default.createElement(o.StyledIcon,a({ref:t,viewBox:"0 0 24 24",a11yTitle:"VolumeLow"},e),r.default.createElement("path",{fill:"none",stroke:"#000",strokeWidth:"2",d:"M1 8v8h5.099L12 21V3L6 8H1zm14 8a4 4 0 1 0 0-8"}))}));t.Z=s,s.displayName="VolumeLow"},632:(e,t)=>{"use strict";t.__esModule=!0,t.base=void 0;t.base={global:{colors:{icon:"#666666"}},icon:{size:{small:"12px",medium:"24px",large:"48px",xlarge:"96px"}}}},4893:(e,t,n)=>{"use strict";t.__esModule=!0,t.base=void 0;var r=n(632);t.base=r.base},8947:(e,t)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}function r(e){return e&&"object"===typeof e&&!Array.isArray(e)}function o(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),a=1;a<t;a++)i[a-1]=arguments[a];if(!i.length)return e;var s=n({},e);return i.forEach((function(e){r(e)&&Object.keys(e).forEach((function(t){r(e[t])?s[t]?s[t]=o(s[t],e[t]):s[t]=n({},e[t]):s[t]=e[t]}))})),s}t.__esModule=!0,t.deepMerge=o,t.default=void 0,t.isObject=r;var i={deepMerge:o,isObject:r};t.default=i},8898:(e,t,n)=>{"use strict";n.r(t),n.d(t,{colorIsDark:()=>i,colorStyle:()=>s,normalizeColor:()=>a,sizeStyle:()=>l});var r=n(3440),o=function(e){return/^#/.test(e)?function(e){return e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,n,r){return"#"+t+t+n+n+r+r})).substring(1).match(/.{2}/g).map((function(e){return parseInt(e,16)}))}(e):/^rgb/.test(e)?e.match(/rgba?\((\s?[0-9]*\s?),(\s?[0-9]*\s?),(\s?[0-9]*\s?).*?\)/).splice(1):e},i=function(e){var t=o(e);return(299*t[0]+587*t[1]+114*t[2])/1e3<125},a=function e(t,n){var r=n.global.colors[t]||t,o=r;return n.dark&&r.dark?o=r.dark:!n.dark&&r.light&&(o=r.light),o&&n.global.colors[o]&&n.global.colors[o]!==o&&(o=e(o,n)),o},s=function(e,t,n,o){return(0,r.css)(["",":",";"],e,a(t,n,o))},l=function(e,t,n){return(0,r.css)(["",":",";"],e,n.global.size[t]||t)}},219:(e,t,n)=>{"use strict";var r=n(3763),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 u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=f(n);o&&o!==h&&e(t,o,r)}var a=c(n);d&&(a=a.concat(d(n)));for(var s=l(t),m=l(n),g=0;g<a.length;++g){var v=a[g];if(!i[v]&&(!r||!r[v])&&(!m||!m[v])&&(!s||!s[v])){var y=p(n,v);try{u(t,v,y)}catch(x){}}}}return t}},4983:(e,t)=>{"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,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,x=n?Symbol.for("react.responder"):60118,b=n?Symbol.for("react.scope"):60119;function k(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case i:case s:case a:case f:return e;default:switch(e=e&&e.$$typeof){case u:case p:case g:case m:case l:return e;default:return t}}case o:return t}}}function w(e){return k(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=p,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=f,t.isAsyncMode=function(e){return w(e)||k(e)===c},t.isConcurrentMode=w,t.isContextConsumer=function(e){return k(e)===u},t.isContextProvider=function(e){return k(e)===l},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return k(e)===p},t.isFragment=function(e){return k(e)===i},t.isLazy=function(e){return k(e)===g},t.isMemo=function(e){return k(e)===m},t.isPortal=function(e){return k(e)===o},t.isProfiler=function(e){return k(e)===s},t.isStrictMode=function(e){return k(e)===a},t.isSuspense=function(e){return k(e)===f},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===d||e===s||e===a||e===f||e===h||"object"===typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===p||e.$$typeof===y||e.$$typeof===x||e.$$typeof===b||e.$$typeof===v)},t.typeOf=k},3763:(e,t,n)=>{"use strict";e.exports=n(4983)},2955:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES=void 0,t.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES.reduce((function(e,t){return e[t.toLowerCase()]=t,e}),{})},4273:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,c,d=e.match(i),p=d&&d[1]?d[1].toLowerCase():"";switch(p){case n:var h=u(e);if(!a.test(e))null===(t=null===(g=h.querySelector(r))||void 0===g?void 0:g.parentNode)||void 0===t||t.removeChild(g);if(!s.test(e))null===(c=null===(g=h.querySelector(o))||void 0===g?void 0:g.parentNode)||void 0===c||c.removeChild(g);return h.querySelectorAll(n);case r:case o:var m=l(e).querySelectorAll(p);return s.test(e)&&a.test(e)?m[0].parentNode.childNodes:m;default:return f?f(e):(g=l(e,o).querySelector(o)).childNodes;var g}};var n="html",r="head",o="body",i=/<([a-zA-Z]+[0-9]?)/,a=/<head[^]*>/i,s=/<body[^]*>/i,l=function(e,t){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},u=function(e,t){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},c="object"===typeof window&&window.DOMParser;if("function"===typeof c){var d=new c;l=u=function(e,t){return t&&(e="<".concat(t,">").concat(e,"</").concat(t,">")),d.parseFromString(e,"text/html")}}if("object"===typeof document&&document.implementation){var p=document.implementation.createHTMLDocument();l=function(e,t){if(t){var n=p.documentElement.querySelector(t);return n&&(n.innerHTML=e),p}return p.documentElement.innerHTML=e,p}}var f,h="object"===typeof document&&document.createElement("template");h&&h.content&&(f=function(e){return h.innerHTML=e,h.content.childNodes})},70:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("string"!==typeof e)throw new TypeError("First argument must be a string");if(!e)return[];var t=e.match(a),n=t?t[1]:void 0;return(0,i.formatDOM)((0,o.default)(e),null,n)};var o=r(n(4273)),i=n(1454),a=/<(![a-zA-Z\s]+)>/},1454:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatAttributes=i,t.formatDOM=function e(t,n,o){void 0===n&&(n=null);for(var s,l=[],u=0,c=t.length;u<c;u++){var d=t[u];switch(d.nodeType){case 1:var p=a(d.nodeName);(s=new r.Element(p,i(d.attributes))).children=e("template"===p?d.content.childNodes:d.childNodes,s);break;case 3:s=new r.Text(d.nodeValue);break;case 8:s=new r.Comment(d.nodeValue);break;default:continue}var f=l[u-1]||null;f&&(f.next=s),s.parent=n,s.prev=f,s.next=null,l.push(s)}o&&((s=new r.ProcessingInstruction(o.substring(0,o.indexOf(" ")).toLowerCase(),o)).next=l[0]||null,s.parent=n,l.unshift(s),l[1]&&(l[1].prev=l[0]));return l};var r=n(196),o=n(2955);function i(e){for(var t={},n=0,r=e.length;n<r;n++){var o=e[n];t[o.name]=o.value}return t}function a(e){var t=function(e){return o.CASE_SENSITIVE_TAG_NAMES_MAP[e]}(e=e.toLowerCase());return t||e}},196:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var i=n(8400),a=n(1538);o(n(1538),t);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,n){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"===typeof t&&(n=t,t=s),"object"===typeof e&&(t=e,e=void 0),this.callback=null!==e&&void 0!==e?e:null,this.options=null!==t&&void 0!==t?t:s,this.elementCB=null!==n&&void 0!==n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?i.ElementType.Tag:void 0,r=new a.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===i.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new a.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===i.ElementType.Comment)this.lastNode.data+=e;else{var t=new a.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new a.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"===typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},1538:function(e,t,n){"use strict";var r=this&&this.__extends||function(){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)};return function(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)}}(),o=this&&this.__assign||function(){return o=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},o.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var i=n(8400),a=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),k(this,e)},e}();t.Node=a;var s=function(e){function t(t){var n=e.call(this)||this;return n.data=t,n}return r(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(a);t.DataNode=s;var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Text,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(s);t.Text=l;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Comment,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(s);t.Comment=u;var c=function(e){function t(t,n){var r=e.call(this,n)||this;return r.name=t,r.type=i.ElementType.Directive,r}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(s);t.ProcessingInstruction=c;var d=function(e){function t(t){var n=e.call(this)||this;return n.children=t,n}return r(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(a);t.NodeWithChildren=d;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.CDATA,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(d);t.CDATA=p;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Root,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(d);t.Document=f;var h=function(e){function t(t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===t?i.ElementType.Script:"style"===t?i.ElementType.Style:i.ElementType.Tag);var a=e.call(this,r)||this;return a.name=t,a.attribs=n,a.type=o,a}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(d);function m(e){return(0,i.isTag)(e)}function g(e){return e.type===i.ElementType.CDATA}function v(e){return e.type===i.ElementType.Text}function y(e){return e.type===i.ElementType.Comment}function x(e){return e.type===i.ElementType.Directive}function b(e){return e.type===i.ElementType.Root}function k(e,t){var n;if(void 0===t&&(t=!1),v(e))n=new l(e.data);else if(y(e))n=new u(e.data);else if(m(e)){var r=t?w(e.children):[],i=new h(e.name,o({},e.attribs),r);r.forEach((function(e){return e.parent=i})),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),n=i}else if(g(e)){r=t?w(e.children):[];var a=new p(r);r.forEach((function(e){return e.parent=a})),n=a}else if(b(e)){r=t?w(e.children):[];var s=new f(r);r.forEach((function(e){return e.parent=s})),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),n=s}else{if(!x(e))throw new Error("Not implemented yet: ".concat(e.type));var d=new c(e.name,e.data);null!=e["x-name"]&&(d["x-name"]=e["x-name"],d["x-publicId"]=e["x-publicId"],d["x-systemId"]=e["x-systemId"]),n=d}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function w(e){for(var t=e.map((function(e){return k(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=h,t.isTag=m,t.isCDATA=g,t.isText=v,t.isComment=y,t.isDirective=x,t.isDocument=b,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=k},4495:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===e&&(e={});var n={},u=Boolean(e.type&&s[e.type]);for(var c in e){var d=e[c];if((0,r.isCustomAttribute)(c))n[c]=d;else{var p=c.toLowerCase(),f=l(p);if(f){var h=(0,r.getPropertyInfo)(f);switch(i.includes(f)&&a.includes(t)&&!u&&(f=l("default"+p)),n[f]=d,h&&h.type){case r.BOOLEAN:n[f]=!0;break;case r.OVERLOADED_BOOLEAN:""===d&&(n[f]=!0)}}else o.PRESERVE_CUSTOM_ATTRIBUTES&&(n[c]=d)}}return(0,o.setStyleProp)(e.style,n),n};var r=n(6311),o=n(8625),i=["checked","value"],a=["input","select","textarea"],s={reset:!0,submit:!0};function l(e){return r.possibleStandardNames[e]}},4789:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n){void 0===n&&(n={});for(var r=[],o="function"===typeof n.replace,u=n.transform||a.returnFirstArg,c=n.library||s,d=c.cloneElement,p=c.createElement,f=c.isValidElement,h=t.length,m=0;m<h;m++){var g=t[m];if(o){var v=n.replace(g,m);if(f(v)){h>1&&(v=d(v,{key:v.key||m})),r.push(u(v,g,m));continue}}if("text"!==g.type){var y=g,x={};l(y)?((0,a.setStyleProp)(y.attribs.style,y.attribs),x=y.attribs):y.attribs&&(x=(0,i.default)(y.attribs,y.name));var b=void 0;switch(g.type){case"script":case"style":g.children[0]&&(x.dangerouslySetInnerHTML={__html:g.children[0].data});break;case"tag":"textarea"===g.name&&g.children[0]?x.defaultValue=g.children[0].data:g.children&&g.children.length&&(b=e(g.children,n));break;default:continue}h>1&&(x.key=m),r.push(u(p(g.name,x,b),g,m))}else{var k=!g.data.trim().length;if(k&&g.parent&&!(0,a.canTextBeChildOfNode)(g.parent))continue;if(n.trim&&k)continue;r.push(u(g.data,g,m))}}return 1===r.length?r[0]:r};var o=n(5043),i=r(n(4495)),a=n(8625),s={cloneElement:o.cloneElement,createElement:o.createElement,isValidElement:o.isValidElement};function l(e){return a.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&(0,a.isCustomComponent)(e.name,e.attribs)}},1001:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.htmlToDOM=t.domToReact=t.attributesToProps=t.Text=t.ProcessingInstruction=t.Element=t.Comment=void 0,t.default=function(e,t){if("string"!==typeof e)throw new TypeError("First argument must be a string");if(!e)return[];return(0,a.default)((0,o.default)(e,(null===t||void 0===t?void 0:t.htmlparser2)||l),t)};var o=r(n(70));t.htmlToDOM=o.default;var i=r(n(4495));t.attributesToProps=i.default;var a=r(n(4789));t.domToReact=a.default;var s=n(8801);Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return s.Comment}}),Object.defineProperty(t,"Element",{enumerable:!0,get:function(){return s.Element}}),Object.defineProperty(t,"ProcessingInstruction",{enumerable:!0,get:function(){return s.ProcessingInstruction}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return s.Text}});var l={lowerCaseAttributeNames:!1}},8625:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.returnFirstArg=t.canTextBeChildOfNode=t.ELEMENTS_WITH_NO_TEXT_CHILDREN=t.PRESERVE_CUSTOM_ATTRIBUTES=void 0,t.isCustomComponent=function(e,t){if(!e.includes("-"))return Boolean(t&&"string"===typeof t.is);if(a.has(e))return!1;return!0},t.setStyleProp=function(e,t){if("string"!==typeof e)return;if(!e.trim())return void(t.style={});try{t.style=(0,i.default)(e,s)}catch(n){t.style={}}};var o=n(5043),i=r(n(7294)),a=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);var s={reactCompat:!0};t.PRESERVE_CUSTOM_ATTRIBUTES=Number(o.version.split(".")[0])>=16,t.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);t.canTextBeChildOfNode=function(e){return!t.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(e.name)};t.returnFirstArg=function(e){return e}},8801:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var i=n(8400),a=n(185);o(n(185),t);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,n){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"===typeof t&&(n=t,t=s),"object"===typeof e&&(t=e,e=void 0),this.callback=null!==e&&void 0!==e?e:null,this.options=null!==t&&void 0!==t?t:s,this.elementCB=null!==n&&void 0!==n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?i.ElementType.Tag:void 0,r=new a.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===i.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new a.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===i.ElementType.Comment)this.lastNode.data+=e;else{var t=new a.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new a.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"===typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},185:function(e,t,n){"use strict";var r=this&&this.__extends||function(){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)};return function(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)}}(),o=this&&this.__assign||function(){return o=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},o.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var i=n(8400),a=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),k(this,e)},e}();t.Node=a;var s=function(e){function t(t){var n=e.call(this)||this;return n.data=t,n}return r(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(a);t.DataNode=s;var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Text,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(s);t.Text=l;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Comment,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(s);t.Comment=u;var c=function(e){function t(t,n){var r=e.call(this,n)||this;return r.name=t,r.type=i.ElementType.Directive,r}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(s);t.ProcessingInstruction=c;var d=function(e){function t(t){var n=e.call(this)||this;return n.children=t,n}return r(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(a);t.NodeWithChildren=d;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.CDATA,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(d);t.CDATA=p;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Root,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(d);t.Document=f;var h=function(e){function t(t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===t?i.ElementType.Script:"style"===t?i.ElementType.Style:i.ElementType.Tag);var a=e.call(this,r)||this;return a.name=t,a.attribs=n,a.type=o,a}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(d);function m(e){return(0,i.isTag)(e)}function g(e){return e.type===i.ElementType.CDATA}function v(e){return e.type===i.ElementType.Text}function y(e){return e.type===i.ElementType.Comment}function x(e){return e.type===i.ElementType.Directive}function b(e){return e.type===i.ElementType.Root}function k(e,t){var n;if(void 0===t&&(t=!1),v(e))n=new l(e.data);else if(y(e))n=new u(e.data);else if(m(e)){var r=t?w(e.children):[],i=new h(e.name,o({},e.attribs),r);r.forEach((function(e){return e.parent=i})),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),n=i}else if(g(e)){r=t?w(e.children):[];var a=new p(r);r.forEach((function(e){return e.parent=a})),n=a}else if(b(e)){r=t?w(e.children):[];var s=new f(r);r.forEach((function(e){return e.parent=s})),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),n=s}else{if(!x(e))throw new Error("Not implemented yet: ".concat(e.type));var d=new c(e.name,e.data);null!=e["x-name"]&&(d["x-name"]=e["x-name"],d["x-publicId"]=e["x-publicId"],d["x-systemId"]=e["x-systemId"]),n=d}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function w(e){for(var t=e.map((function(e){return k(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=h,t.isTag=m,t.isCDATA=g,t.isText=v,t.isComment=y,t.isDirective=x,t.isDocument=b,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=k},4403:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,u="";function c(e){return e?e.replace(l,u):u}e.exports=function(e,l){if("string"!==typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var d=1,p=1;function f(e){var t=e.match(n);t&&(d+=t.length);var r=e.lastIndexOf("\n");p=~r?e.length-r:p+e.length}function h(){var e={line:d,column:p};return function(t){return t.position=new m(e),x(),t}}function m(e){this.start=e,this.end={line:d,column:p},this.source=l.source}m.prototype.content=e;var g=[];function v(t){var n=new Error(l.source+":"+d+":"+p+": "+t);if(n.reason=t,n.filename=l.source,n.line=d,n.column=p,n.source=e,!l.silent)throw n;g.push(n)}function y(t){var n=t.exec(e);if(n){var r=n[0];return f(r),e=e.slice(r.length),n}}function x(){y(r)}function b(e){var t;for(e=e||[];t=k();)!1!==t&&e.push(t);return e}function k(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;u!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,u===e.charAt(n-1))return v("End of comment missing");var r=e.slice(2,n-2);return p+=2,f(r),e=e.slice(n),p+=2,t({type:"comment",comment:r})}}function w(){var e=h(),n=y(o);if(n){if(k(),!y(i))return v("property missing ':'");var r=y(a),l=e({type:"declaration",property:c(n[0].replace(t,u)),value:r?c(r[0].replace(t,u)):u});return y(s),l}}return x(),function(){var e,t=[];for(b(t);e=w();)!1!==e&&(t.push(e),b(t));return t}()}},5939:e=>{e.exports=function e(t,n){"use strict";var r,o,i=/(^([+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,a=/(^[ ]*|[ ]*$)/g,s=/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[\/\-]\d{1,4}[\/\-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,l=/^0x[0-9a-f]+$/i,u=/^0/,c=function(t){return e.insensitive&&(""+t).toLowerCase()||""+t},d=c(t).replace(a,"")||"",p=c(n).replace(a,"")||"",f=d.replace(i,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),h=p.replace(i,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),m=parseInt(d.match(l),16)||1!==f.length&&d.match(s)&&Date.parse(d),g=parseInt(p.match(l),16)||m&&p.match(s)&&Date.parse(p)||null;if(g){if(m<g)return-1;if(m>g)return 1}for(var v=0,y=Math.max(f.length,h.length);v<y;v++){if(r=!(f[v]||"").match(u)&&parseFloat(f[v])||f[v]||0,o=!(h[v]||"").match(u)&&parseFloat(h[v])||h[v]||0,isNaN(r)!==isNaN(o))return isNaN(r)?1:-1;if(typeof r!==typeof o&&(r+="",o+=""),r<o)return-1;if(r>o)return 1}return 0}},3536:function(e,t,n){var r;e=n.nmd(e),function(){var o,i="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",l=16,u=32,c=64,d=128,p=256,f=1/0,h=9007199254740991,m=NaN,g=4294967295,v=[["ary",d],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",u],["partialRight",c],["rearg",p]],y="[object Arguments]",x="[object Array]",b="[object Boolean]",k="[object Date]",w="[object Error]",E="[object Function]",_="[object GeneratorFunction]",C="[object Map]",S="[object Number]",D="[object Object]",j="[object Promise]",A="[object RegExp]",P="[object Set]",L="[object String]",M="[object Symbol]",N="[object WeakMap]",O="[object ArrayBuffer]",T="[object DataView]",F="[object Float32Array]",R="[object Float64Array]",I="[object Int8Array]",B="[object Int16Array]",W="[object Int32Array]",z="[object Uint8Array]",$="[object Uint8ClampedArray]",H="[object Uint16Array]",V="[object Uint32Array]",U=/\b__p \+= '';/g,q=/\b(__p \+=) '' \+/g,Y=/(__e\(.*?\)|\b__t\)) \+\n'';/g,G=/&(?:amp|lt|gt|quot|#39);/g,Z=/[&<>"']/g,K=RegExp(G.source),Q=RegExp(Z.source),X=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,oe=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(oe.source),ae=/^\s+/,se=/\s/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ue=/\{\n\/\* \[wrapped with (.+)\] \*/,ce=/,? & /,de=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,pe=/[()=,{}\[\]\/\s]/,fe=/\\(\\)?/g,he=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,me=/\w*$/,ge=/^[-+]0x[0-9a-f]+$/i,ve=/^0b[01]+$/i,ye=/^\[object .+?Constructor\]$/,xe=/^0o[0-7]+$/i,be=/^(?:0|[1-9]\d*)$/,ke=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,we=/($^)/,Ee=/['\n\r\u2028\u2029\\]/g,_e="\\ud800-\\udfff",Ce="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Se="\\u2700-\\u27bf",De="a-z\\xdf-\\xf6\\xf8-\\xff",je="A-Z\\xc0-\\xd6\\xd8-\\xde",Ae="\\ufe0e\\ufe0f",Pe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Le="['\u2019]",Me="["+_e+"]",Ne="["+Pe+"]",Oe="["+Ce+"]",Te="\\d+",Fe="["+Se+"]",Re="["+De+"]",Ie="[^"+_e+Pe+Te+Se+De+je+"]",Be="\\ud83c[\\udffb-\\udfff]",We="[^"+_e+"]",ze="(?:\\ud83c[\\udde6-\\uddff]){2}",$e="[\\ud800-\\udbff][\\udc00-\\udfff]",He="["+je+"]",Ve="\\u200d",Ue="(?:"+Re+"|"+Ie+")",qe="(?:"+He+"|"+Ie+")",Ye="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Ge="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Ze="(?:"+Oe+"|"+Be+")"+"?",Ke="["+Ae+"]?",Qe=Ke+Ze+("(?:"+Ve+"(?:"+[We,ze,$e].join("|")+")"+Ke+Ze+")*"),Xe="(?:"+[Fe,ze,$e].join("|")+")"+Qe,Je="(?:"+[We+Oe+"?",Oe,ze,$e,Me].join("|")+")",et=RegExp(Le,"g"),tt=RegExp(Oe,"g"),nt=RegExp(Be+"(?="+Be+")|"+Je+Qe,"g"),rt=RegExp([He+"?"+Re+"+"+Ye+"(?="+[Ne,He,"$"].join("|")+")",qe+"+"+Ge+"(?="+[Ne,He+Ue,"$"].join("|")+")",He+"?"+Ue+"+"+Ye,He+"+"+Ge,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Te,Xe].join("|"),"g"),ot=RegExp("["+Ve+_e+Ce+Ae+"]"),it=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,at=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],st=-1,lt={};lt[F]=lt[R]=lt[I]=lt[B]=lt[W]=lt[z]=lt[$]=lt[H]=lt[V]=!0,lt[y]=lt[x]=lt[O]=lt[b]=lt[T]=lt[k]=lt[w]=lt[E]=lt[C]=lt[S]=lt[D]=lt[A]=lt[P]=lt[L]=lt[N]=!1;var ut={};ut[y]=ut[x]=ut[O]=ut[T]=ut[b]=ut[k]=ut[F]=ut[R]=ut[I]=ut[B]=ut[W]=ut[C]=ut[S]=ut[D]=ut[A]=ut[P]=ut[L]=ut[M]=ut[z]=ut[$]=ut[H]=ut[V]=!0,ut[w]=ut[E]=ut[N]=!1;var ct={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},dt=parseFloat,pt=parseInt,ft="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,ht="object"==typeof self&&self&&self.Object===Object&&self,mt=ft||ht||Function("return this")(),gt=t&&!t.nodeType&&t,vt=gt&&e&&!e.nodeType&&e,yt=vt&&vt.exports===gt,xt=yt&&ft.process,bt=function(){try{var e=vt&&vt.require&&vt.require("util").types;return e||xt&&xt.binding&&xt.binding("util")}catch(t){}}(),kt=bt&&bt.isArrayBuffer,wt=bt&&bt.isDate,Et=bt&&bt.isMap,_t=bt&&bt.isRegExp,Ct=bt&&bt.isSet,St=bt&&bt.isTypedArray;function Dt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function jt(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function At(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function Pt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Lt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Mt(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function Nt(e,t){return!!(null==e?0:e.length)&&Ht(e,t,0)>-1}function Ot(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function Tt(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function Ft(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function Rt(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function It(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function Bt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Wt=Yt("length");function zt(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function $t(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function Ht(e,t,n){return t===t?function(e,t,n){var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):$t(e,Ut,n)}function Vt(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function Ut(e){return e!==e}function qt(e,t){var n=null==e?0:e.length;return n?Kt(e,t)/n:m}function Yt(e){return function(t){return null==t?o:t[e]}}function Gt(e){return function(t){return null==e?o:e[t]}}function Zt(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function Kt(e,t){for(var n,r=-1,i=e.length;++r<i;){var a=t(e[r]);a!==o&&(n=n===o?a:n+a)}return n}function Qt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Xt(e){return e?e.slice(0,gn(e)+1).replace(ae,""):e}function Jt(e){return function(t){return e(t)}}function en(e,t){return Tt(t,(function(t){return e[t]}))}function tn(e,t){return e.has(t)}function nn(e,t){for(var n=-1,r=e.length;++n<r&&Ht(t,e[n],0)>-1;);return n}function rn(e,t){for(var n=e.length;n--&&Ht(t,e[n],0)>-1;);return n}var on=Gt({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),an=Gt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function sn(e){return"\\"+ct[e]}function ln(e){return ot.test(e)}function un(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function cn(e,t){return function(n){return e(t(n))}}function dn(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n];a!==t&&a!==s||(e[n]=s,i[o++]=n)}return i}function pn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function fn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function hn(e){return ln(e)?function(e){var t=nt.lastIndex=0;for(;nt.test(e);)++t;return t}(e):Wt(e)}function mn(e){return ln(e)?function(e){return e.match(nt)||[]}(e):function(e){return e.split("")}(e)}function gn(e){for(var t=e.length;t--&&se.test(e.charAt(t)););return t}var vn=Gt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var yn=function e(t){var n=(t=null==t?mt:yn.defaults(mt.Object(),t,yn.pick(mt,at))).Array,r=t.Date,se=t.Error,_e=t.Function,Ce=t.Math,Se=t.Object,De=t.RegExp,je=t.String,Ae=t.TypeError,Pe=n.prototype,Le=_e.prototype,Me=Se.prototype,Ne=t["__core-js_shared__"],Oe=Le.toString,Te=Me.hasOwnProperty,Fe=0,Re=function(){var e=/[^.]+$/.exec(Ne&&Ne.keys&&Ne.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Ie=Me.toString,Be=Oe.call(Se),We=mt._,ze=De("^"+Oe.call(Te).replace(oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),$e=yt?t.Buffer:o,He=t.Symbol,Ve=t.Uint8Array,Ue=$e?$e.allocUnsafe:o,qe=cn(Se.getPrototypeOf,Se),Ye=Se.create,Ge=Me.propertyIsEnumerable,Ze=Pe.splice,Ke=He?He.isConcatSpreadable:o,Qe=He?He.iterator:o,Xe=He?He.toStringTag:o,Je=function(){try{var e=pi(Se,"defineProperty");return e({},"",{}),e}catch(t){}}(),nt=t.clearTimeout!==mt.clearTimeout&&t.clearTimeout,ot=r&&r.now!==mt.Date.now&&r.now,ct=t.setTimeout!==mt.setTimeout&&t.setTimeout,ft=Ce.ceil,ht=Ce.floor,gt=Se.getOwnPropertySymbols,vt=$e?$e.isBuffer:o,xt=t.isFinite,bt=Pe.join,Wt=cn(Se.keys,Se),Gt=Ce.max,xn=Ce.min,bn=r.now,kn=t.parseInt,wn=Ce.random,En=Pe.reverse,_n=pi(t,"DataView"),Cn=pi(t,"Map"),Sn=pi(t,"Promise"),Dn=pi(t,"Set"),jn=pi(t,"WeakMap"),An=pi(Se,"create"),Pn=jn&&new jn,Ln={},Mn=Ii(_n),Nn=Ii(Cn),On=Ii(Sn),Tn=Ii(Dn),Fn=Ii(jn),Rn=He?He.prototype:o,In=Rn?Rn.valueOf:o,Bn=Rn?Rn.toString:o;function Wn(e){if(ts(e)&&!Va(e)&&!(e instanceof Vn)){if(e instanceof Hn)return e;if(Te.call(e,"__wrapped__"))return Bi(e)}return new Hn(e)}var zn=function(){function e(){}return function(t){if(!es(t))return{};if(Ye)return Ye(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function $n(){}function Hn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Vn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=g,this.__views__=[]}function Un(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function qn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Yn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Gn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Yn;++t<n;)this.add(e[t])}function Zn(e){var t=this.__data__=new qn(e);this.size=t.size}function Kn(e,t){var n=Va(e),r=!n&&Ha(e),o=!n&&!r&&Ga(e),i=!n&&!r&&!o&&us(e),a=n||r||o||i,s=a?Qt(e.length,je):[],l=s.length;for(var u in e)!t&&!Te.call(e,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||xi(u,l))||s.push(u);return s}function Qn(e){var t=e.length;return t?e[Gr(0,t-1)]:o}function Xn(e,t){return Ti(Po(e),sr(t,0,e.length))}function Jn(e){return Ti(Po(e))}function er(e,t,n){(n!==o&&!Wa(e[t],n)||n===o&&!(t in e))&&ir(e,t,n)}function tr(e,t,n){var r=e[t];Te.call(e,t)&&Wa(r,n)&&(n!==o||t in e)||ir(e,t,n)}function nr(e,t){for(var n=e.length;n--;)if(Wa(e[n][0],t))return n;return-1}function rr(e,t,n,r){return pr(e,(function(e,o,i){t(r,e,n(e),i)})),r}function or(e,t){return e&&Lo(t,Ls(t),e)}function ir(e,t,n){"__proto__"==t&&Je?Je(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ar(e,t){for(var r=-1,i=t.length,a=n(i),s=null==e;++r<i;)a[r]=s?o:Ss(e,t[r]);return a}function sr(e,t,n){return e===e&&(n!==o&&(e=e<=n?e:n),t!==o&&(e=e>=t?e:t)),e}function lr(e,t,n,r,i,a){var s,l=1&t,u=2&t,c=4&t;if(n&&(s=i?n(e,r,i,a):n(e)),s!==o)return s;if(!es(e))return e;var d=Va(e);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Te.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!l)return Po(e,s)}else{var p=mi(e),f=p==E||p==_;if(Ga(e))return _o(e,l);if(p==D||p==y||f&&!i){if(s=u||f?{}:vi(e),!l)return u?function(e,t){return Lo(e,hi(e),t)}(e,function(e,t){return e&&Lo(t,Ms(t),e)}(s,e)):function(e,t){return Lo(e,fi(e),t)}(e,or(s,e))}else{if(!ut[p])return i?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case O:return Co(e);case b:case k:return new r(+e);case T:return function(e,t){var n=t?Co(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case F:case R:case I:case B:case W:case z:case $:case H:case V:return So(e,n);case C:return new r;case S:case L:return new r(e);case A:return function(e){var t=new e.constructor(e.source,me.exec(e));return t.lastIndex=e.lastIndex,t}(e);case P:return new r;case M:return o=e,In?Se(In.call(o)):{}}var o}(e,p,l)}}a||(a=new Zn);var h=a.get(e);if(h)return h;a.set(e,s),as(e)?e.forEach((function(r){s.add(lr(r,t,n,r,e,a))})):ns(e)&&e.forEach((function(r,o){s.set(o,lr(r,t,n,o,e,a))}));var m=d?o:(c?u?ii:oi:u?Ms:Ls)(e);return At(m||e,(function(r,o){m&&(r=e[o=r]),tr(s,o,lr(r,t,n,o,e,a))})),s}function ur(e,t,n){var r=n.length;if(null==e)return!r;for(e=Se(e);r--;){var i=n[r],a=t[i],s=e[i];if(s===o&&!(i in e)||!a(s))return!1}return!0}function cr(e,t,n){if("function"!=typeof e)throw new Ae(i);return Li((function(){e.apply(o,n)}),t)}function dr(e,t,n,r){var o=-1,i=Nt,a=!0,s=e.length,l=[],u=t.length;if(!s)return l;n&&(t=Tt(t,Jt(n))),r?(i=Ot,a=!1):t.length>=200&&(i=tn,a=!1,t=new Gn(t));e:for(;++o<s;){var c=e[o],d=null==n?c:n(c);if(c=r||0!==c?c:0,a&&d===d){for(var p=u;p--;)if(t[p]===d)continue e;l.push(c)}else i(t,d,r)||l.push(c)}return l}Wn.templateSettings={escape:X,evaluate:J,interpolate:ee,variable:"",imports:{_:Wn}},Wn.prototype=$n.prototype,Wn.prototype.constructor=Wn,Hn.prototype=zn($n.prototype),Hn.prototype.constructor=Hn,Vn.prototype=zn($n.prototype),Vn.prototype.constructor=Vn,Un.prototype.clear=function(){this.__data__=An?An(null):{},this.size=0},Un.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Un.prototype.get=function(e){var t=this.__data__;if(An){var n=t[e];return n===a?o:n}return Te.call(t,e)?t[e]:o},Un.prototype.has=function(e){var t=this.__data__;return An?t[e]!==o:Te.call(t,e)},Un.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=An&&t===o?a:t,this},qn.prototype.clear=function(){this.__data__=[],this.size=0},qn.prototype.delete=function(e){var t=this.__data__,n=nr(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ze.call(t,n,1),--this.size,!0)},qn.prototype.get=function(e){var t=this.__data__,n=nr(t,e);return n<0?o:t[n][1]},qn.prototype.has=function(e){return nr(this.__data__,e)>-1},qn.prototype.set=function(e,t){var n=this.__data__,r=nr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Yn.prototype.clear=function(){this.size=0,this.__data__={hash:new Un,map:new(Cn||qn),string:new Un}},Yn.prototype.delete=function(e){var t=ci(this,e).delete(e);return this.size-=t?1:0,t},Yn.prototype.get=function(e){return ci(this,e).get(e)},Yn.prototype.has=function(e){return ci(this,e).has(e)},Yn.prototype.set=function(e,t){var n=ci(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Gn.prototype.add=Gn.prototype.push=function(e){return this.__data__.set(e,a),this},Gn.prototype.has=function(e){return this.__data__.has(e)},Zn.prototype.clear=function(){this.__data__=new qn,this.size=0},Zn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Zn.prototype.get=function(e){return this.__data__.get(e)},Zn.prototype.has=function(e){return this.__data__.has(e)},Zn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof qn){var r=n.__data__;if(!Cn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Yn(r)}return n.set(e,t),this.size=n.size,this};var pr=Oo(br),fr=Oo(kr,!0);function hr(e,t){var n=!0;return pr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function mr(e,t,n){for(var r=-1,i=e.length;++r<i;){var a=e[r],s=t(a);if(null!=s&&(l===o?s===s&&!ls(s):n(s,l)))var l=s,u=a}return u}function gr(e,t){var n=[];return pr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function vr(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=yi),o||(o=[]);++i<a;){var s=e[i];t>0&&n(s)?t>1?vr(s,t-1,n,r,o):Ft(o,s):r||(o[o.length]=s)}return o}var yr=To(),xr=To(!0);function br(e,t){return e&&yr(e,t,Ls)}function kr(e,t){return e&&xr(e,t,Ls)}function wr(e,t){return Mt(t,(function(t){return Qa(e[t])}))}function Er(e,t){for(var n=0,r=(t=bo(t,e)).length;null!=e&&n<r;)e=e[Ri(t[n++])];return n&&n==r?e:o}function _r(e,t,n){var r=t(e);return Va(e)?r:Ft(r,n(e))}function Cr(e){return null==e?e===o?"[object Undefined]":"[object Null]":Xe&&Xe in Se(e)?function(e){var t=Te.call(e,Xe),n=e[Xe];try{e[Xe]=o;var r=!0}catch(a){}var i=Ie.call(e);r&&(t?e[Xe]=n:delete e[Xe]);return i}(e):function(e){return Ie.call(e)}(e)}function Sr(e,t){return e>t}function Dr(e,t){return null!=e&&Te.call(e,t)}function jr(e,t){return null!=e&&t in Se(e)}function Ar(e,t,r){for(var i=r?Ot:Nt,a=e[0].length,s=e.length,l=s,u=n(s),c=1/0,d=[];l--;){var p=e[l];l&&t&&(p=Tt(p,Jt(t))),c=xn(p.length,c),u[l]=!r&&(t||a>=120&&p.length>=120)?new Gn(l&&p):o}p=e[0];var f=-1,h=u[0];e:for(;++f<a&&d.length<c;){var m=p[f],g=t?t(m):m;if(m=r||0!==m?m:0,!(h?tn(h,g):i(d,g,r))){for(l=s;--l;){var v=u[l];if(!(v?tn(v,g):i(e[l],g,r)))continue e}h&&h.push(g),d.push(m)}}return d}function Pr(e,t,n){var r=null==(e=ji(e,t=bo(t,e)))?e:e[Ri(Ki(t))];return null==r?o:Dt(r,e,n)}function Lr(e){return ts(e)&&Cr(e)==y}function Mr(e,t,n,r,i){return e===t||(null==e||null==t||!ts(e)&&!ts(t)?e!==e&&t!==t:function(e,t,n,r,i,a){var s=Va(e),l=Va(t),u=s?x:mi(e),c=l?x:mi(t),d=(u=u==y?D:u)==D,p=(c=c==y?D:c)==D,f=u==c;if(f&&Ga(e)){if(!Ga(t))return!1;s=!0,d=!1}if(f&&!d)return a||(a=new Zn),s||us(e)?ni(e,t,n,r,i,a):function(e,t,n,r,o,i,a){switch(n){case T:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case O:return!(e.byteLength!=t.byteLength||!i(new Ve(e),new Ve(t)));case b:case k:case S:return Wa(+e,+t);case w:return e.name==t.name&&e.message==t.message;case A:case L:return e==t+"";case C:var s=un;case P:var l=1&r;if(s||(s=pn),e.size!=t.size&&!l)return!1;var u=a.get(e);if(u)return u==t;r|=2,a.set(e,t);var c=ni(s(e),s(t),r,o,i,a);return a.delete(e),c;case M:if(In)return In.call(e)==In.call(t)}return!1}(e,t,u,n,r,i,a);if(!(1&n)){var h=d&&Te.call(e,"__wrapped__"),m=p&&Te.call(t,"__wrapped__");if(h||m){var g=h?e.value():e,v=m?t.value():t;return a||(a=new Zn),i(g,v,n,r,a)}}if(!f)return!1;return a||(a=new Zn),function(e,t,n,r,i,a){var s=1&n,l=oi(e),u=l.length,c=oi(t),d=c.length;if(u!=d&&!s)return!1;var p=u;for(;p--;){var f=l[p];if(!(s?f in t:Te.call(t,f)))return!1}var h=a.get(e),m=a.get(t);if(h&&m)return h==t&&m==e;var g=!0;a.set(e,t),a.set(t,e);var v=s;for(;++p<u;){var y=e[f=l[p]],x=t[f];if(r)var b=s?r(x,y,f,t,e,a):r(y,x,f,e,t,a);if(!(b===o?y===x||i(y,x,n,r,a):b)){g=!1;break}v||(v="constructor"==f)}if(g&&!v){var k=e.constructor,w=t.constructor;k==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof k&&k instanceof k&&"function"==typeof w&&w instanceof w||(g=!1)}return a.delete(e),a.delete(t),g}(e,t,n,r,i,a)}(e,t,n,r,Mr,i))}function Nr(e,t,n,r){var i=n.length,a=i,s=!r;if(null==e)return!a;for(e=Se(e);i--;){var l=n[i];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<a;){var u=(l=n[i])[0],c=e[u],d=l[1];if(s&&l[2]){if(c===o&&!(u in e))return!1}else{var p=new Zn;if(r)var f=r(c,d,u,e,t,p);if(!(f===o?Mr(d,c,3,r,p):f))return!1}}return!0}function Or(e){return!(!es(e)||(t=e,Re&&Re in t))&&(Qa(e)?ze:ye).test(Ii(e));var t}function Tr(e){return"function"==typeof e?e:null==e?rl:"object"==typeof e?Va(e)?zr(e[0],e[1]):Wr(e):pl(e)}function Fr(e){if(!_i(e))return Wt(e);var t=[];for(var n in Se(e))Te.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Rr(e){if(!es(e))return function(e){var t=[];if(null!=e)for(var n in Se(e))t.push(n);return t}(e);var t=_i(e),n=[];for(var r in e)("constructor"!=r||!t&&Te.call(e,r))&&n.push(r);return n}function Ir(e,t){return e<t}function Br(e,t){var r=-1,o=qa(e)?n(e.length):[];return pr(e,(function(e,n,i){o[++r]=t(e,n,i)})),o}function Wr(e){var t=di(e);return 1==t.length&&t[0][2]?Si(t[0][0],t[0][1]):function(n){return n===e||Nr(n,e,t)}}function zr(e,t){return ki(e)&&Ci(t)?Si(Ri(e),t):function(n){var r=Ss(n,e);return r===o&&r===t?Ds(n,e):Mr(t,r,3)}}function $r(e,t,n,r,i){e!==t&&yr(t,(function(a,s){if(i||(i=new Zn),es(a))!function(e,t,n,r,i,a,s){var l=Ai(e,n),u=Ai(t,n),c=s.get(u);if(c)return void er(e,n,c);var d=a?a(l,u,n+"",e,t,s):o,p=d===o;if(p){var f=Va(u),h=!f&&Ga(u),m=!f&&!h&&us(u);d=u,f||h||m?Va(l)?d=l:Ya(l)?d=Po(l):h?(p=!1,d=_o(u,!0)):m?(p=!1,d=So(u,!0)):d=[]:os(u)||Ha(u)?(d=l,Ha(l)?d=vs(l):es(l)&&!Qa(l)||(d=vi(u))):p=!1}p&&(s.set(u,d),i(d,u,r,a,s),s.delete(u));er(e,n,d)}(e,t,s,n,$r,r,i);else{var l=r?r(Ai(e,s),a,s+"",e,t,i):o;l===o&&(l=a),er(e,s,l)}}),Ms)}function Hr(e,t){var n=e.length;if(n)return xi(t+=t<0?n:0,n)?e[t]:o}function Vr(e,t,n){t=t.length?Tt(t,(function(e){return Va(e)?function(t){return Er(t,1===e.length?e[0]:e)}:e})):[rl];var r=-1;t=Tt(t,Jt(ui()));var o=Br(e,(function(e,n,o){var i=Tt(t,(function(t){return t(e)}));return{criteria:i,index:++r,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(o,(function(e,t){return function(e,t,n){var r=-1,o=e.criteria,i=t.criteria,a=o.length,s=n.length;for(;++r<a;){var l=Do(o[r],i[r]);if(l)return r>=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Ur(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],s=Er(e,a);n(s,a)&&Jr(i,bo(a,e),s)}return i}function qr(e,t,n,r){var o=r?Vt:Ht,i=-1,a=t.length,s=e;for(e===t&&(t=Po(t)),n&&(s=Tt(e,Jt(n)));++i<a;)for(var l=0,u=t[i],c=n?n(u):u;(l=o(s,c,l,r))>-1;)s!==e&&Ze.call(s,l,1),Ze.call(e,l,1);return e}function Yr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;xi(o)?Ze.call(e,o,1):po(e,o)}}return e}function Gr(e,t){return e+ht(wn()*(t-e+1))}function Zr(e,t){var n="";if(!e||t<1||t>h)return n;do{t%2&&(n+=e),(t=ht(t/2))&&(e+=e)}while(t);return n}function Kr(e,t){return Mi(Di(e,t,rl),e+"")}function Qr(e){return Qn(Ws(e))}function Xr(e,t){var n=Ws(e);return Ti(n,sr(t,0,n.length))}function Jr(e,t,n,r){if(!es(e))return e;for(var i=-1,a=(t=bo(t,e)).length,s=a-1,l=e;null!=l&&++i<a;){var u=Ri(t[i]),c=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return e;if(i!=s){var d=l[u];(c=r?r(d,u,l):o)===o&&(c=es(d)?d:xi(t[i+1])?[]:{})}tr(l,u,c),l=l[u]}return e}var eo=Pn?function(e,t){return Pn.set(e,t),e}:rl,to=Je?function(e,t){return Je(e,"toString",{configurable:!0,enumerable:!1,value:el(t),writable:!0})}:rl;function no(e){return Ti(Ws(e))}function ro(e,t,r){var o=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var a=n(i);++o<i;)a[o]=e[o+t];return a}function oo(e,t){var n;return pr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function io(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t===t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!ls(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return ao(e,t,rl,n)}function ao(e,t,n,r){var i=0,a=null==e?0:e.length;if(0===a)return 0;for(var s=(t=n(t))!==t,l=null===t,u=ls(t),c=t===o;i<a;){var d=ht((i+a)/2),p=n(e[d]),f=p!==o,h=null===p,m=p===p,g=ls(p);if(s)var v=r||m;else v=c?m&&(r||f):l?m&&f&&(r||!h):u?m&&f&&!h&&(r||!g):!h&&!g&&(r?p<=t:p<t);v?i=d+1:a=d}return xn(a,4294967294)}function so(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!Wa(s,l)){var l=s;i[o++]=0===a?0:a}}return i}function lo(e){return"number"==typeof e?e:ls(e)?m:+e}function uo(e){if("string"==typeof e)return e;if(Va(e))return Tt(e,uo)+"";if(ls(e))return Bn?Bn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function co(e,t,n){var r=-1,o=Nt,i=e.length,a=!0,s=[],l=s;if(n)a=!1,o=Ot;else if(i>=200){var u=t?null:Ko(e);if(u)return pn(u);a=!1,o=tn,l=new Gn}else l=t?[]:s;e:for(;++r<i;){var c=e[r],d=t?t(c):c;if(c=n||0!==c?c:0,a&&d===d){for(var p=l.length;p--;)if(l[p]===d)continue e;t&&l.push(d),s.push(c)}else o(l,d,n)||(l!==s&&l.push(d),s.push(c))}return s}function po(e,t){return null==(e=ji(e,t=bo(t,e)))||delete e[Ri(Ki(t))]}function fo(e,t,n,r){return Jr(e,t,n(Er(e,t)),r)}function ho(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?ro(e,r?0:i,r?i+1:o):ro(e,r?i+1:0,r?o:i)}function mo(e,t){var n=e;return n instanceof Vn&&(n=n.value()),Rt(t,(function(e,t){return t.func.apply(t.thisArg,Ft([e],t.args))}),n)}function go(e,t,r){var o=e.length;if(o<2)return o?co(e[0]):[];for(var i=-1,a=n(o);++i<o;)for(var s=e[i],l=-1;++l<o;)l!=i&&(a[i]=dr(a[i]||s,e[l],t,r));return co(vr(a,1),t,r)}function vo(e,t,n){for(var r=-1,i=e.length,a=t.length,s={};++r<i;){var l=r<a?t[r]:o;n(s,e[r],l)}return s}function yo(e){return Ya(e)?e:[]}function xo(e){return"function"==typeof e?e:rl}function bo(e,t){return Va(e)?e:ki(e,t)?[e]:Fi(ys(e))}var ko=Kr;function wo(e,t,n){var r=e.length;return n=n===o?r:n,!t&&n>=r?e:ro(e,t,n)}var Eo=nt||function(e){return mt.clearTimeout(e)};function _o(e,t){if(t)return e.slice();var n=e.length,r=Ue?Ue(n):new e.constructor(n);return e.copy(r),r}function Co(e){var t=new e.constructor(e.byteLength);return new Ve(t).set(new Ve(e)),t}function So(e,t){var n=t?Co(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Do(e,t){if(e!==t){var n=e!==o,r=null===e,i=e===e,a=ls(e),s=t!==o,l=null===t,u=t===t,c=ls(t);if(!l&&!c&&!a&&e>t||a&&s&&u&&!l&&!c||r&&s&&u||!n&&u||!i)return 1;if(!r&&!a&&!c&&e<t||c&&n&&i&&!r&&!a||l&&n&&i||!s&&i||!u)return-1}return 0}function jo(e,t,r,o){for(var i=-1,a=e.length,s=r.length,l=-1,u=t.length,c=Gt(a-s,0),d=n(u+c),p=!o;++l<u;)d[l]=t[l];for(;++i<s;)(p||i<a)&&(d[r[i]]=e[i]);for(;c--;)d[l++]=e[i++];return d}function Ao(e,t,r,o){for(var i=-1,a=e.length,s=-1,l=r.length,u=-1,c=t.length,d=Gt(a-l,0),p=n(d+c),f=!o;++i<d;)p[i]=e[i];for(var h=i;++u<c;)p[h+u]=t[u];for(;++s<l;)(f||i<a)&&(p[h+r[s]]=e[i++]);return p}function Po(e,t){var r=-1,o=e.length;for(t||(t=n(o));++r<o;)t[r]=e[r];return t}function Lo(e,t,n,r){var i=!n;n||(n={});for(var a=-1,s=t.length;++a<s;){var l=t[a],u=r?r(n[l],e[l],l,n,e):o;u===o&&(u=e[l]),i?ir(n,l,u):tr(n,l,u)}return n}function Mo(e,t){return function(n,r){var o=Va(n)?jt:rr,i=t?t():{};return o(n,e,ui(r,2),i)}}function No(e){return Kr((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:o,s=i>2?n[2]:o;for(a=e.length>3&&"function"==typeof a?(i--,a):o,s&&bi(n[0],n[1],s)&&(a=i<3?o:a,i=1),t=Se(t);++r<i;){var l=n[r];l&&e(t,l,r,a)}return t}))}function Oo(e,t){return function(n,r){if(null==n)return n;if(!qa(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=Se(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function To(e){return function(t,n,r){for(var o=-1,i=Se(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}function Fo(e){return function(t){var n=ln(t=ys(t))?mn(t):o,r=n?n[0]:t.charAt(0),i=n?wo(n,1).join(""):t.slice(1);return r[e]()+i}}function Ro(e){return function(t){return Rt(Qs(Hs(t).replace(et,"")),e,"")}}function Io(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=zn(e.prototype),r=e.apply(n,t);return es(r)?r:n}}function Bo(e){return function(t,n,r){var i=Se(t);if(!qa(t)){var a=ui(n,3);t=Ls(t),n=function(e){return a(i[e],e,i)}}var s=e(t,n,r);return s>-1?i[a?t[s]:s]:o}}function Wo(e){return ri((function(t){var n=t.length,r=n,a=Hn.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new Ae(i);if(a&&!l&&"wrapper"==si(s))var l=new Hn([],!0)}for(r=l?r:n;++r<n;){var u=si(s=t[r]),c="wrapper"==u?ai(s):o;l=c&&wi(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?l[si(c[0])].apply(l,c[3]):1==s.length&&wi(s)?l[u]():l.thru(s)}return function(){var e=arguments,r=e[0];if(l&&1==e.length&&Va(r))return l.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))}function zo(e,t,r,i,a,s,l,u,c,p){var f=t&d,h=1&t,m=2&t,g=24&t,v=512&t,y=m?o:Io(e);return function d(){for(var x=arguments.length,b=n(x),k=x;k--;)b[k]=arguments[k];if(g)var w=li(d),E=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(b,w);if(i&&(b=jo(b,i,a,g)),s&&(b=Ao(b,s,l,g)),x-=E,g&&x<p){var _=dn(b,w);return Go(e,t,zo,d.placeholder,r,b,_,u,c,p-x)}var C=h?r:this,S=m?C[e]:e;return x=b.length,u?b=function(e,t){var n=e.length,r=xn(t.length,n),i=Po(e);for(;r--;){var a=t[r];e[r]=xi(a,n)?i[a]:o}return e}(b,u):v&&x>1&&b.reverse(),f&&c<x&&(b.length=c),this&&this!==mt&&this instanceof d&&(S=y||Io(S)),S.apply(C,b)}}function $o(e,t){return function(n,r){return function(e,t,n,r){return br(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function Ho(e,t){return function(n,r){var i;if(n===o&&r===o)return t;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=uo(n),r=uo(r)):(n=lo(n),r=lo(r)),i=e(n,r)}return i}}function Vo(e){return ri((function(t){return t=Tt(t,Jt(ui())),Kr((function(n){var r=this;return e(t,(function(e){return Dt(e,r,n)}))}))}))}function Uo(e,t){var n=(t=t===o?" ":uo(t)).length;if(n<2)return n?Zr(t,e):t;var r=Zr(t,ft(e/hn(t)));return ln(t)?wo(mn(r),0,e).join(""):r.slice(0,e)}function qo(e){return function(t,r,i){return i&&"number"!=typeof i&&bi(t,r,i)&&(r=i=o),t=fs(t),r===o?(r=t,t=0):r=fs(r),function(e,t,r,o){for(var i=-1,a=Gt(ft((t-e)/(r||1)),0),s=n(a);a--;)s[o?a:++i]=e,e+=r;return s}(t,r,i=i===o?t<r?1:-1:fs(i),e)}}function Yo(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=gs(t),n=gs(n)),e(t,n)}}function Go(e,t,n,r,i,a,s,l,d,p){var f=8&t;t|=f?u:c,4&(t&=~(f?c:u))||(t&=-4);var h=[e,t,i,f?a:o,f?s:o,f?o:a,f?o:s,l,d,p],m=n.apply(o,h);return wi(e)&&Pi(m,h),m.placeholder=r,Ni(m,e,t)}function Zo(e){var t=Ce[e];return function(e,n){if(e=gs(e),(n=null==n?0:xn(hs(n),292))&&xt(e)){var r=(ys(e)+"e").split("e");return+((r=(ys(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Ko=Dn&&1/pn(new Dn([,-0]))[1]==f?function(e){return new Dn(e)}:ll;function Qo(e){return function(t){var n=mi(t);return n==C?un(t):n==P?fn(t):function(e,t){return Tt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Xo(e,t,r,a,f,h,m,g){var v=2&t;if(!v&&"function"!=typeof e)throw new Ae(i);var y=a?a.length:0;if(y||(t&=-97,a=f=o),m=m===o?m:Gt(hs(m),0),g=g===o?g:hs(g),y-=f?f.length:0,t&c){var x=a,b=f;a=f=o}var k=v?o:ai(e),w=[e,t,r,a,f,x,b,h,m,g];if(k&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<131,a=r==d&&8==n||r==d&&n==p&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!i&&!a)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var l=t[3];if(l){var u=e[3];e[3]=u?jo(u,l,t[4]):l,e[4]=u?dn(e[3],s):t[4]}(l=t[5])&&(u=e[5],e[5]=u?Ao(u,l,t[6]):l,e[6]=u?dn(e[5],s):t[6]);(l=t[7])&&(e[7]=l);r&d&&(e[8]=null==e[8]?t[8]:xn(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(w,k),e=w[0],t=w[1],r=w[2],a=w[3],f=w[4],!(g=w[9]=w[9]===o?v?0:e.length:Gt(w[9]-y,0))&&24&t&&(t&=-25),t&&1!=t)E=8==t||t==l?function(e,t,r){var i=Io(e);return function a(){for(var s=arguments.length,l=n(s),u=s,c=li(a);u--;)l[u]=arguments[u];var d=s<3&&l[0]!==c&&l[s-1]!==c?[]:dn(l,c);return(s-=d.length)<r?Go(e,t,zo,a.placeholder,o,l,d,o,o,r-s):Dt(this&&this!==mt&&this instanceof a?i:e,this,l)}}(e,t,g):t!=u&&33!=t||f.length?zo.apply(o,w):function(e,t,r,o){var i=1&t,a=Io(e);return function t(){for(var s=-1,l=arguments.length,u=-1,c=o.length,d=n(c+l),p=this&&this!==mt&&this instanceof t?a:e;++u<c;)d[u]=o[u];for(;l--;)d[u++]=arguments[++s];return Dt(p,i?r:this,d)}}(e,t,r,a);else var E=function(e,t,n){var r=1&t,o=Io(e);return function t(){return(this&&this!==mt&&this instanceof t?o:e).apply(r?n:this,arguments)}}(e,t,r);return Ni((k?eo:Pi)(E,w),e,t)}function Jo(e,t,n,r){return e===o||Wa(e,Me[n])&&!Te.call(r,n)?t:e}function ei(e,t,n,r,i,a){return es(e)&&es(t)&&(a.set(t,e),$r(e,t,o,ei,a),a.delete(t)),e}function ti(e){return os(e)?o:e}function ni(e,t,n,r,i,a){var s=1&n,l=e.length,u=t.length;if(l!=u&&!(s&&u>l))return!1;var c=a.get(e),d=a.get(t);if(c&&d)return c==t&&d==e;var p=-1,f=!0,h=2&n?new Gn:o;for(a.set(e,t),a.set(t,e);++p<l;){var m=e[p],g=t[p];if(r)var v=s?r(g,m,p,t,e,a):r(m,g,p,e,t,a);if(v!==o){if(v)continue;f=!1;break}if(h){if(!Bt(t,(function(e,t){if(!tn(h,t)&&(m===e||i(m,e,n,r,a)))return h.push(t)}))){f=!1;break}}else if(m!==g&&!i(m,g,n,r,a)){f=!1;break}}return a.delete(e),a.delete(t),f}function ri(e){return Mi(Di(e,o,Ui),e+"")}function oi(e){return _r(e,Ls,fi)}function ii(e){return _r(e,Ms,hi)}var ai=Pn?function(e){return Pn.get(e)}:ll;function si(e){for(var t=e.name+"",n=Ln[t],r=Te.call(Ln,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function li(e){return(Te.call(Wn,"placeholder")?Wn:e).placeholder}function ui(){var e=Wn.iteratee||ol;return e=e===ol?Tr:e,arguments.length?e(arguments[0],arguments[1]):e}function ci(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function di(e){for(var t=Ls(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Ci(o)]}return t}function pi(e,t){var n=function(e,t){return null==e?o:e[t]}(e,t);return Or(n)?n:o}var fi=gt?function(e){return null==e?[]:(e=Se(e),Mt(gt(e),(function(t){return Ge.call(e,t)})))}:ml,hi=gt?function(e){for(var t=[];e;)Ft(t,fi(e)),e=qe(e);return t}:ml,mi=Cr;function gi(e,t,n){for(var r=-1,o=(t=bo(t,e)).length,i=!1;++r<o;){var a=Ri(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&Ja(o)&&xi(a,o)&&(Va(e)||Ha(e))}function vi(e){return"function"!=typeof e.constructor||_i(e)?{}:zn(qe(e))}function yi(e){return Va(e)||Ha(e)||!!(Ke&&e&&e[Ke])}function xi(e,t){var n=typeof e;return!!(t=null==t?h:t)&&("number"==n||"symbol"!=n&&be.test(e))&&e>-1&&e%1==0&&e<t}function bi(e,t,n){if(!es(n))return!1;var r=typeof t;return!!("number"==r?qa(n)&&xi(t,n.length):"string"==r&&t in n)&&Wa(n[t],e)}function ki(e,t){if(Va(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ls(e))||(ne.test(e)||!te.test(e)||null!=t&&e in Se(t))}function wi(e){var t=si(e),n=Wn[t];if("function"!=typeof n||!(t in Vn.prototype))return!1;if(e===n)return!0;var r=ai(n);return!!r&&e===r[0]}(_n&&mi(new _n(new ArrayBuffer(1)))!=T||Cn&&mi(new Cn)!=C||Sn&&mi(Sn.resolve())!=j||Dn&&mi(new Dn)!=P||jn&&mi(new jn)!=N)&&(mi=function(e){var t=Cr(e),n=t==D?e.constructor:o,r=n?Ii(n):"";if(r)switch(r){case Mn:return T;case Nn:return C;case On:return j;case Tn:return P;case Fn:return N}return t});var Ei=Ne?Qa:gl;function _i(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Me)}function Ci(e){return e===e&&!es(e)}function Si(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==o||e in Se(n)))}}function Di(e,t,r){return t=Gt(t===o?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=Gt(o.length-t,0),s=n(a);++i<a;)s[i]=o[t+i];i=-1;for(var l=n(t+1);++i<t;)l[i]=o[i];return l[t]=r(s),Dt(e,this,l)}}function ji(e,t){return t.length<2?e:Er(e,ro(t,0,-1))}function Ai(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]}var Pi=Oi(eo),Li=ct||function(e,t){return mt.setTimeout(e,t)},Mi=Oi(to);function Ni(e,t,n){var r=t+"";return Mi(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return At(v,(function(n){var r="_."+n[0];t&n[1]&&!Nt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ue);return t?t[1].split(ce):[]}(r),n)))}function Oi(e){var t=0,n=0;return function(){var r=bn(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Ti(e,t){var n=-1,r=e.length,i=r-1;for(t=t===o?r:t;++n<t;){var a=Gr(n,i),s=e[a];e[a]=e[n],e[n]=s}return e.length=t,e}var Fi=function(e){var t=Oa(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(re,(function(e,n,r,o){t.push(r?o.replace(fe,"$1"):n||e)})),t}));function Ri(e){if("string"==typeof e||ls(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Ii(e){if(null!=e){try{return Oe.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Bi(e){if(e instanceof Vn)return e.clone();var t=new Hn(e.__wrapped__,e.__chain__);return t.__actions__=Po(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Wi=Kr((function(e,t){return Ya(e)?dr(e,vr(t,1,Ya,!0)):[]})),zi=Kr((function(e,t){var n=Ki(t);return Ya(n)&&(n=o),Ya(e)?dr(e,vr(t,1,Ya,!0),ui(n,2)):[]})),$i=Kr((function(e,t){var n=Ki(t);return Ya(n)&&(n=o),Ya(e)?dr(e,vr(t,1,Ya,!0),o,n):[]}));function Hi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:hs(n);return o<0&&(o=Gt(r+o,0)),$t(e,ui(t,3),o)}function Vi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return n!==o&&(i=hs(n),i=n<0?Gt(r+i,0):xn(i,r-1)),$t(e,ui(t,3),i,!0)}function Ui(e){return(null==e?0:e.length)?vr(e,1):[]}function qi(e){return e&&e.length?e[0]:o}var Yi=Kr((function(e){var t=Tt(e,yo);return t.length&&t[0]===e[0]?Ar(t):[]})),Gi=Kr((function(e){var t=Ki(e),n=Tt(e,yo);return t===Ki(n)?t=o:n.pop(),n.length&&n[0]===e[0]?Ar(n,ui(t,2)):[]})),Zi=Kr((function(e){var t=Ki(e),n=Tt(e,yo);return(t="function"==typeof t?t:o)&&n.pop(),n.length&&n[0]===e[0]?Ar(n,o,t):[]}));function Ki(e){var t=null==e?0:e.length;return t?e[t-1]:o}var Qi=Kr(Xi);function Xi(e,t){return e&&e.length&&t&&t.length?qr(e,t):e}var Ji=ri((function(e,t){var n=null==e?0:e.length,r=ar(e,t);return Yr(e,Tt(t,(function(e){return xi(e,n)?+e:e})).sort(Do)),r}));function ea(e){return null==e?e:En.call(e)}var ta=Kr((function(e){return co(vr(e,1,Ya,!0))})),na=Kr((function(e){var t=Ki(e);return Ya(t)&&(t=o),co(vr(e,1,Ya,!0),ui(t,2))})),ra=Kr((function(e){var t=Ki(e);return t="function"==typeof t?t:o,co(vr(e,1,Ya,!0),o,t)}));function oa(e){if(!e||!e.length)return[];var t=0;return e=Mt(e,(function(e){if(Ya(e))return t=Gt(e.length,t),!0})),Qt(t,(function(t){return Tt(e,Yt(t))}))}function ia(e,t){if(!e||!e.length)return[];var n=oa(e);return null==t?n:Tt(n,(function(e){return Dt(t,o,e)}))}var aa=Kr((function(e,t){return Ya(e)?dr(e,t):[]})),sa=Kr((function(e){return go(Mt(e,Ya))})),la=Kr((function(e){var t=Ki(e);return Ya(t)&&(t=o),go(Mt(e,Ya),ui(t,2))})),ua=Kr((function(e){var t=Ki(e);return t="function"==typeof t?t:o,go(Mt(e,Ya),o,t)})),ca=Kr(oa);var da=Kr((function(e){var t=e.length,n=t>1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,ia(e,n)}));function pa(e){var t=Wn(e);return t.__chain__=!0,t}function fa(e,t){return t(e)}var ha=ri((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return ar(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Vn&&xi(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:fa,args:[i],thisArg:o}),new Hn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)}));var ma=Mo((function(e,t,n){Te.call(e,n)?++e[n]:ir(e,n,1)}));var ga=Bo(Hi),va=Bo(Vi);function ya(e,t){return(Va(e)?At:pr)(e,ui(t,3))}function xa(e,t){return(Va(e)?Pt:fr)(e,ui(t,3))}var ba=Mo((function(e,t,n){Te.call(e,n)?e[n].push(t):ir(e,n,[t])}));var ka=Kr((function(e,t,r){var o=-1,i="function"==typeof t,a=qa(e)?n(e.length):[];return pr(e,(function(e){a[++o]=i?Dt(t,e,r):Pr(e,t,r)})),a})),wa=Mo((function(e,t,n){ir(e,n,t)}));function Ea(e,t){return(Va(e)?Tt:Br)(e,ui(t,3))}var _a=Mo((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Ca=Kr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&bi(e,t[0],t[1])?t=[]:n>2&&bi(t[0],t[1],t[2])&&(t=[t[0]]),Vr(e,vr(t,1),[])})),Sa=ot||function(){return mt.Date.now()};function Da(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Xo(e,d,o,o,o,o,t)}function ja(e,t){var n;if("function"!=typeof t)throw new Ae(i);return e=hs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Aa=Kr((function(e,t,n){var r=1;if(n.length){var o=dn(n,li(Aa));r|=u}return Xo(e,r,t,n,o)})),Pa=Kr((function(e,t,n){var r=3;if(n.length){var o=dn(n,li(Pa));r|=u}return Xo(t,r,e,n,o)}));function La(e,t,n){var r,a,s,l,u,c,d=0,p=!1,f=!1,h=!0;if("function"!=typeof e)throw new Ae(i);function m(t){var n=r,i=a;return r=a=o,d=t,l=e.apply(i,n)}function g(e){var n=e-c;return c===o||n>=t||n<0||f&&e-d>=s}function v(){var e=Sa();if(g(e))return y(e);u=Li(v,function(e){var n=t-(e-c);return f?xn(n,s-(e-d)):n}(e))}function y(e){return u=o,h&&r?m(e):(r=a=o,l)}function x(){var e=Sa(),n=g(e);if(r=arguments,a=this,c=e,n){if(u===o)return function(e){return d=e,u=Li(v,t),p?m(e):l}(c);if(f)return Eo(u),u=Li(v,t),m(c)}return u===o&&(u=Li(v,t)),l}return t=gs(t)||0,es(n)&&(p=!!n.leading,s=(f="maxWait"in n)?Gt(gs(n.maxWait)||0,t):s,h="trailing"in n?!!n.trailing:h),x.cancel=function(){u!==o&&Eo(u),d=0,r=c=a=u=o},x.flush=function(){return u===o?l:y(Sa())},x}var Ma=Kr((function(e,t){return cr(e,1,t)})),Na=Kr((function(e,t,n){return cr(e,gs(t)||0,n)}));function Oa(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ae(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Oa.Cache||Yn),n}function Ta(e){if("function"!=typeof e)throw new Ae(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Oa.Cache=Yn;var Fa=ko((function(e,t){var n=(t=1==t.length&&Va(t[0])?Tt(t[0],Jt(ui())):Tt(vr(t,1),Jt(ui()))).length;return Kr((function(r){for(var o=-1,i=xn(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return Dt(e,this,r)}))})),Ra=Kr((function(e,t){var n=dn(t,li(Ra));return Xo(e,u,o,t,n)})),Ia=Kr((function(e,t){var n=dn(t,li(Ia));return Xo(e,c,o,t,n)})),Ba=ri((function(e,t){return Xo(e,p,o,o,o,t)}));function Wa(e,t){return e===t||e!==e&&t!==t}var za=Yo(Sr),$a=Yo((function(e,t){return e>=t})),Ha=Lr(function(){return arguments}())?Lr:function(e){return ts(e)&&Te.call(e,"callee")&&!Ge.call(e,"callee")},Va=n.isArray,Ua=kt?Jt(kt):function(e){return ts(e)&&Cr(e)==O};function qa(e){return null!=e&&Ja(e.length)&&!Qa(e)}function Ya(e){return ts(e)&&qa(e)}var Ga=vt||gl,Za=wt?Jt(wt):function(e){return ts(e)&&Cr(e)==k};function Ka(e){if(!ts(e))return!1;var t=Cr(e);return t==w||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!os(e)}function Qa(e){if(!es(e))return!1;var t=Cr(e);return t==E||t==_||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Xa(e){return"number"==typeof e&&e==hs(e)}function Ja(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=h}function es(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ts(e){return null!=e&&"object"==typeof e}var ns=Et?Jt(Et):function(e){return ts(e)&&mi(e)==C};function rs(e){return"number"==typeof e||ts(e)&&Cr(e)==S}function os(e){if(!ts(e)||Cr(e)!=D)return!1;var t=qe(e);if(null===t)return!0;var n=Te.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Oe.call(n)==Be}var is=_t?Jt(_t):function(e){return ts(e)&&Cr(e)==A};var as=Ct?Jt(Ct):function(e){return ts(e)&&mi(e)==P};function ss(e){return"string"==typeof e||!Va(e)&&ts(e)&&Cr(e)==L}function ls(e){return"symbol"==typeof e||ts(e)&&Cr(e)==M}var us=St?Jt(St):function(e){return ts(e)&&Ja(e.length)&&!!lt[Cr(e)]};var cs=Yo(Ir),ds=Yo((function(e,t){return e<=t}));function ps(e){if(!e)return[];if(qa(e))return ss(e)?mn(e):Po(e);if(Qe&&e[Qe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Qe]());var t=mi(e);return(t==C?un:t==P?pn:Ws)(e)}function fs(e){return e?(e=gs(e))===f||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}function hs(e){var t=fs(e),n=t%1;return t===t?n?t-n:t:0}function ms(e){return e?sr(hs(e),0,g):0}function gs(e){if("number"==typeof e)return e;if(ls(e))return m;if(es(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=es(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Xt(e);var n=ve.test(e);return n||xe.test(e)?pt(e.slice(2),n?2:8):ge.test(e)?m:+e}function vs(e){return Lo(e,Ms(e))}function ys(e){return null==e?"":uo(e)}var xs=No((function(e,t){if(_i(t)||qa(t))Lo(t,Ls(t),e);else for(var n in t)Te.call(t,n)&&tr(e,n,t[n])})),bs=No((function(e,t){Lo(t,Ms(t),e)})),ks=No((function(e,t,n,r){Lo(t,Ms(t),e,r)})),ws=No((function(e,t,n,r){Lo(t,Ls(t),e,r)})),Es=ri(ar);var _s=Kr((function(e,t){e=Se(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&bi(t[0],t[1],i)&&(r=1);++n<r;)for(var a=t[n],s=Ms(a),l=-1,u=s.length;++l<u;){var c=s[l],d=e[c];(d===o||Wa(d,Me[c])&&!Te.call(e,c))&&(e[c]=a[c])}return e})),Cs=Kr((function(e){return e.push(o,ei),Dt(Os,o,e)}));function Ss(e,t,n){var r=null==e?o:Er(e,t);return r===o?n:r}function Ds(e,t){return null!=e&&gi(e,t,jr)}var js=$o((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ie.call(t)),e[t]=n}),el(rl)),As=$o((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ie.call(t)),Te.call(e,t)?e[t].push(n):e[t]=[n]}),ui),Ps=Kr(Pr);function Ls(e){return qa(e)?Kn(e):Fr(e)}function Ms(e){return qa(e)?Kn(e,!0):Rr(e)}var Ns=No((function(e,t,n){$r(e,t,n)})),Os=No((function(e,t,n,r){$r(e,t,n,r)})),Ts=ri((function(e,t){var n={};if(null==e)return n;var r=!1;t=Tt(t,(function(t){return t=bo(t,e),r||(r=t.length>1),t})),Lo(e,ii(e),n),r&&(n=lr(n,7,ti));for(var o=t.length;o--;)po(n,t[o]);return n}));var Fs=ri((function(e,t){return null==e?{}:function(e,t){return Ur(e,t,(function(t,n){return Ds(e,n)}))}(e,t)}));function Rs(e,t){if(null==e)return{};var n=Tt(ii(e),(function(e){return[e]}));return t=ui(t),Ur(e,n,(function(e,n){return t(e,n[0])}))}var Is=Qo(Ls),Bs=Qo(Ms);function Ws(e){return null==e?[]:en(e,Ls(e))}var zs=Ro((function(e,t,n){return t=t.toLowerCase(),e+(n?$s(t):t)}));function $s(e){return Ks(ys(e).toLowerCase())}function Hs(e){return(e=ys(e))&&e.replace(ke,on).replace(tt,"")}var Vs=Ro((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Us=Ro((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),qs=Fo("toLowerCase");var Ys=Ro((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Gs=Ro((function(e,t,n){return e+(n?" ":"")+Ks(t)}));var Zs=Ro((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Ks=Fo("toUpperCase");function Qs(e,t,n){return e=ys(e),(t=n?o:t)===o?function(e){return it.test(e)}(e)?function(e){return e.match(rt)||[]}(e):function(e){return e.match(de)||[]}(e):e.match(t)||[]}var Xs=Kr((function(e,t){try{return Dt(e,o,t)}catch(n){return Ka(n)?n:new se(n)}})),Js=ri((function(e,t){return At(t,(function(t){t=Ri(t),ir(e,t,Aa(e[t],e))})),e}));function el(e){return function(){return e}}var tl=Wo(),nl=Wo(!0);function rl(e){return e}function ol(e){return Tr("function"==typeof e?e:lr(e,1))}var il=Kr((function(e,t){return function(n){return Pr(n,e,t)}})),al=Kr((function(e,t){return function(n){return Pr(e,n,t)}}));function sl(e,t,n){var r=Ls(t),o=wr(t,r);null!=n||es(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=wr(t,Ls(t)));var i=!(es(n)&&"chain"in n)||!!n.chain,a=Qa(e);return At(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=Po(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Ft([this.value()],arguments))})})),e}function ll(){}var ul=Vo(Tt),cl=Vo(Lt),dl=Vo(Bt);function pl(e){return ki(e)?Yt(Ri(e)):function(e){return function(t){return Er(t,e)}}(e)}var fl=qo(),hl=qo(!0);function ml(){return[]}function gl(){return!1}var vl=Ho((function(e,t){return e+t}),0),yl=Zo("ceil"),xl=Ho((function(e,t){return e/t}),1),bl=Zo("floor");var kl=Ho((function(e,t){return e*t}),1),wl=Zo("round"),El=Ho((function(e,t){return e-t}),0);return Wn.after=function(e,t){if("function"!=typeof t)throw new Ae(i);return e=hs(e),function(){if(--e<1)return t.apply(this,arguments)}},Wn.ary=Da,Wn.assign=xs,Wn.assignIn=bs,Wn.assignInWith=ks,Wn.assignWith=ws,Wn.at=Es,Wn.before=ja,Wn.bind=Aa,Wn.bindAll=Js,Wn.bindKey=Pa,Wn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Va(e)?e:[e]},Wn.chain=pa,Wn.chunk=function(e,t,r){t=(r?bi(e,t,r):t===o)?1:Gt(hs(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var a=0,s=0,l=n(ft(i/t));a<i;)l[s++]=ro(e,a,a+=t);return l},Wn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},Wn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=n(e-1),r=arguments[0],o=e;o--;)t[o-1]=arguments[o];return Ft(Va(r)?Po(r):[r],vr(t,1))},Wn.cond=function(e){var t=null==e?0:e.length,n=ui();return e=t?Tt(e,(function(e){if("function"!=typeof e[1])throw new Ae(i);return[n(e[0]),e[1]]})):[],Kr((function(n){for(var r=-1;++r<t;){var o=e[r];if(Dt(o[0],this,n))return Dt(o[1],this,n)}}))},Wn.conforms=function(e){return function(e){var t=Ls(e);return function(n){return ur(n,e,t)}}(lr(e,1))},Wn.constant=el,Wn.countBy=ma,Wn.create=function(e,t){var n=zn(e);return null==t?n:or(n,t)},Wn.curry=function e(t,n,r){var i=Xo(t,8,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},Wn.curryRight=function e(t,n,r){var i=Xo(t,l,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},Wn.debounce=La,Wn.defaults=_s,Wn.defaultsDeep=Cs,Wn.defer=Ma,Wn.delay=Na,Wn.difference=Wi,Wn.differenceBy=zi,Wn.differenceWith=$i,Wn.drop=function(e,t,n){var r=null==e?0:e.length;return r?ro(e,(t=n||t===o?1:hs(t))<0?0:t,r):[]},Wn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?ro(e,0,(t=r-(t=n||t===o?1:hs(t)))<0?0:t):[]},Wn.dropRightWhile=function(e,t){return e&&e.length?ho(e,ui(t,3),!0,!0):[]},Wn.dropWhile=function(e,t){return e&&e.length?ho(e,ui(t,3),!0):[]},Wn.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&bi(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=hs(n))<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:hs(r))<0&&(r+=i),r=n>r?0:ms(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},Wn.filter=function(e,t){return(Va(e)?Mt:gr)(e,ui(t,3))},Wn.flatMap=function(e,t){return vr(Ea(e,t),1)},Wn.flatMapDeep=function(e,t){return vr(Ea(e,t),f)},Wn.flatMapDepth=function(e,t,n){return n=n===o?1:hs(n),vr(Ea(e,t),n)},Wn.flatten=Ui,Wn.flattenDeep=function(e){return(null==e?0:e.length)?vr(e,f):[]},Wn.flattenDepth=function(e,t){return(null==e?0:e.length)?vr(e,t=t===o?1:hs(t)):[]},Wn.flip=function(e){return Xo(e,512)},Wn.flow=tl,Wn.flowRight=nl,Wn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},Wn.functions=function(e){return null==e?[]:wr(e,Ls(e))},Wn.functionsIn=function(e){return null==e?[]:wr(e,Ms(e))},Wn.groupBy=ba,Wn.initial=function(e){return(null==e?0:e.length)?ro(e,0,-1):[]},Wn.intersection=Yi,Wn.intersectionBy=Gi,Wn.intersectionWith=Zi,Wn.invert=js,Wn.invertBy=As,Wn.invokeMap=ka,Wn.iteratee=ol,Wn.keyBy=wa,Wn.keys=Ls,Wn.keysIn=Ms,Wn.map=Ea,Wn.mapKeys=function(e,t){var n={};return t=ui(t,3),br(e,(function(e,r,o){ir(n,t(e,r,o),e)})),n},Wn.mapValues=function(e,t){var n={};return t=ui(t,3),br(e,(function(e,r,o){ir(n,r,t(e,r,o))})),n},Wn.matches=function(e){return Wr(lr(e,1))},Wn.matchesProperty=function(e,t){return zr(e,lr(t,1))},Wn.memoize=Oa,Wn.merge=Ns,Wn.mergeWith=Os,Wn.method=il,Wn.methodOf=al,Wn.mixin=sl,Wn.negate=Ta,Wn.nthArg=function(e){return e=hs(e),Kr((function(t){return Hr(t,e)}))},Wn.omit=Ts,Wn.omitBy=function(e,t){return Rs(e,Ta(ui(t)))},Wn.once=function(e){return ja(2,e)},Wn.orderBy=function(e,t,n,r){return null==e?[]:(Va(t)||(t=null==t?[]:[t]),Va(n=r?o:n)||(n=null==n?[]:[n]),Vr(e,t,n))},Wn.over=ul,Wn.overArgs=Fa,Wn.overEvery=cl,Wn.overSome=dl,Wn.partial=Ra,Wn.partialRight=Ia,Wn.partition=_a,Wn.pick=Fs,Wn.pickBy=Rs,Wn.property=pl,Wn.propertyOf=function(e){return function(t){return null==e?o:Er(e,t)}},Wn.pull=Qi,Wn.pullAll=Xi,Wn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?qr(e,t,ui(n,2)):e},Wn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?qr(e,t,o,n):e},Wn.pullAt=Ji,Wn.range=fl,Wn.rangeRight=hl,Wn.rearg=Ba,Wn.reject=function(e,t){return(Va(e)?Mt:gr)(e,Ta(ui(t,3)))},Wn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=ui(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return Yr(e,o),n},Wn.rest=function(e,t){if("function"!=typeof e)throw new Ae(i);return Kr(e,t=t===o?t:hs(t))},Wn.reverse=ea,Wn.sampleSize=function(e,t,n){return t=(n?bi(e,t,n):t===o)?1:hs(t),(Va(e)?Xn:Xr)(e,t)},Wn.set=function(e,t,n){return null==e?e:Jr(e,t,n)},Wn.setWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:Jr(e,t,n,r)},Wn.shuffle=function(e){return(Va(e)?Jn:no)(e)},Wn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&bi(e,t,n)?(t=0,n=r):(t=null==t?0:hs(t),n=n===o?r:hs(n)),ro(e,t,n)):[]},Wn.sortBy=Ca,Wn.sortedUniq=function(e){return e&&e.length?so(e):[]},Wn.sortedUniqBy=function(e,t){return e&&e.length?so(e,ui(t,2)):[]},Wn.split=function(e,t,n){return n&&"number"!=typeof n&&bi(e,t,n)&&(t=n=o),(n=n===o?g:n>>>0)?(e=ys(e))&&("string"==typeof t||null!=t&&!is(t))&&!(t=uo(t))&&ln(e)?wo(mn(e),0,n):e.split(t,n):[]},Wn.spread=function(e,t){if("function"!=typeof e)throw new Ae(i);return t=null==t?0:Gt(hs(t),0),Kr((function(n){var r=n[t],o=wo(n,0,t);return r&&Ft(o,r),Dt(e,this,o)}))},Wn.tail=function(e){var t=null==e?0:e.length;return t?ro(e,1,t):[]},Wn.take=function(e,t,n){return e&&e.length?ro(e,0,(t=n||t===o?1:hs(t))<0?0:t):[]},Wn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?ro(e,(t=r-(t=n||t===o?1:hs(t)))<0?0:t,r):[]},Wn.takeRightWhile=function(e,t){return e&&e.length?ho(e,ui(t,3),!1,!0):[]},Wn.takeWhile=function(e,t){return e&&e.length?ho(e,ui(t,3)):[]},Wn.tap=function(e,t){return t(e),e},Wn.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new Ae(i);return es(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),La(e,t,{leading:r,maxWait:t,trailing:o})},Wn.thru=fa,Wn.toArray=ps,Wn.toPairs=Is,Wn.toPairsIn=Bs,Wn.toPath=function(e){return Va(e)?Tt(e,Ri):ls(e)?[e]:Po(Fi(ys(e)))},Wn.toPlainObject=vs,Wn.transform=function(e,t,n){var r=Va(e),o=r||Ga(e)||us(e);if(t=ui(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:es(e)&&Qa(i)?zn(qe(e)):{}}return(o?At:br)(e,(function(e,r,o){return t(n,e,r,o)})),n},Wn.unary=function(e){return Da(e,1)},Wn.union=ta,Wn.unionBy=na,Wn.unionWith=ra,Wn.uniq=function(e){return e&&e.length?co(e):[]},Wn.uniqBy=function(e,t){return e&&e.length?co(e,ui(t,2)):[]},Wn.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?co(e,o,t):[]},Wn.unset=function(e,t){return null==e||po(e,t)},Wn.unzip=oa,Wn.unzipWith=ia,Wn.update=function(e,t,n){return null==e?e:fo(e,t,xo(n))},Wn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:fo(e,t,xo(n),r)},Wn.values=Ws,Wn.valuesIn=function(e){return null==e?[]:en(e,Ms(e))},Wn.without=aa,Wn.words=Qs,Wn.wrap=function(e,t){return Ra(xo(t),e)},Wn.xor=sa,Wn.xorBy=la,Wn.xorWith=ua,Wn.zip=ca,Wn.zipObject=function(e,t){return vo(e||[],t||[],tr)},Wn.zipObjectDeep=function(e,t){return vo(e||[],t||[],Jr)},Wn.zipWith=da,Wn.entries=Is,Wn.entriesIn=Bs,Wn.extend=bs,Wn.extendWith=ks,sl(Wn,Wn),Wn.add=vl,Wn.attempt=Xs,Wn.camelCase=zs,Wn.capitalize=$s,Wn.ceil=yl,Wn.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=gs(n))===n?n:0),t!==o&&(t=(t=gs(t))===t?t:0),sr(gs(e),t,n)},Wn.clone=function(e){return lr(e,4)},Wn.cloneDeep=function(e){return lr(e,5)},Wn.cloneDeepWith=function(e,t){return lr(e,5,t="function"==typeof t?t:o)},Wn.cloneWith=function(e,t){return lr(e,4,t="function"==typeof t?t:o)},Wn.conformsTo=function(e,t){return null==t||ur(e,t,Ls(t))},Wn.deburr=Hs,Wn.defaultTo=function(e,t){return null==e||e!==e?t:e},Wn.divide=xl,Wn.endsWith=function(e,t,n){e=ys(e),t=uo(t);var r=e.length,i=n=n===o?r:sr(hs(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},Wn.eq=Wa,Wn.escape=function(e){return(e=ys(e))&&Q.test(e)?e.replace(Z,an):e},Wn.escapeRegExp=function(e){return(e=ys(e))&&ie.test(e)?e.replace(oe,"\\$&"):e},Wn.every=function(e,t,n){var r=Va(e)?Lt:hr;return n&&bi(e,t,n)&&(t=o),r(e,ui(t,3))},Wn.find=ga,Wn.findIndex=Hi,Wn.findKey=function(e,t){return zt(e,ui(t,3),br)},Wn.findLast=va,Wn.findLastIndex=Vi,Wn.findLastKey=function(e,t){return zt(e,ui(t,3),kr)},Wn.floor=bl,Wn.forEach=ya,Wn.forEachRight=xa,Wn.forIn=function(e,t){return null==e?e:yr(e,ui(t,3),Ms)},Wn.forInRight=function(e,t){return null==e?e:xr(e,ui(t,3),Ms)},Wn.forOwn=function(e,t){return e&&br(e,ui(t,3))},Wn.forOwnRight=function(e,t){return e&&kr(e,ui(t,3))},Wn.get=Ss,Wn.gt=za,Wn.gte=$a,Wn.has=function(e,t){return null!=e&&gi(e,t,Dr)},Wn.hasIn=Ds,Wn.head=qi,Wn.identity=rl,Wn.includes=function(e,t,n,r){e=qa(e)?e:Ws(e),n=n&&!r?hs(n):0;var o=e.length;return n<0&&(n=Gt(o+n,0)),ss(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&Ht(e,t,n)>-1},Wn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:hs(n);return o<0&&(o=Gt(r+o,0)),Ht(e,t,o)},Wn.inRange=function(e,t,n){return t=fs(t),n===o?(n=t,t=0):n=fs(n),function(e,t,n){return e>=xn(t,n)&&e<Gt(t,n)}(e=gs(e),t,n)},Wn.invoke=Ps,Wn.isArguments=Ha,Wn.isArray=Va,Wn.isArrayBuffer=Ua,Wn.isArrayLike=qa,Wn.isArrayLikeObject=Ya,Wn.isBoolean=function(e){return!0===e||!1===e||ts(e)&&Cr(e)==b},Wn.isBuffer=Ga,Wn.isDate=Za,Wn.isElement=function(e){return ts(e)&&1===e.nodeType&&!os(e)},Wn.isEmpty=function(e){if(null==e)return!0;if(qa(e)&&(Va(e)||"string"==typeof e||"function"==typeof e.splice||Ga(e)||us(e)||Ha(e)))return!e.length;var t=mi(e);if(t==C||t==P)return!e.size;if(_i(e))return!Fr(e).length;for(var n in e)if(Te.call(e,n))return!1;return!0},Wn.isEqual=function(e,t){return Mr(e,t)},Wn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:o)?n(e,t):o;return r===o?Mr(e,t,o,n):!!r},Wn.isError=Ka,Wn.isFinite=function(e){return"number"==typeof e&&xt(e)},Wn.isFunction=Qa,Wn.isInteger=Xa,Wn.isLength=Ja,Wn.isMap=ns,Wn.isMatch=function(e,t){return e===t||Nr(e,t,di(t))},Wn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:o,Nr(e,t,di(t),n)},Wn.isNaN=function(e){return rs(e)&&e!=+e},Wn.isNative=function(e){if(Ei(e))throw new se("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Or(e)},Wn.isNil=function(e){return null==e},Wn.isNull=function(e){return null===e},Wn.isNumber=rs,Wn.isObject=es,Wn.isObjectLike=ts,Wn.isPlainObject=os,Wn.isRegExp=is,Wn.isSafeInteger=function(e){return Xa(e)&&e>=-9007199254740991&&e<=h},Wn.isSet=as,Wn.isString=ss,Wn.isSymbol=ls,Wn.isTypedArray=us,Wn.isUndefined=function(e){return e===o},Wn.isWeakMap=function(e){return ts(e)&&mi(e)==N},Wn.isWeakSet=function(e){return ts(e)&&"[object WeakSet]"==Cr(e)},Wn.join=function(e,t){return null==e?"":bt.call(e,t)},Wn.kebabCase=Vs,Wn.last=Ki,Wn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=hs(n))<0?Gt(r+i,0):xn(i,r-1)),t===t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):$t(e,Ut,i,!0)},Wn.lowerCase=Us,Wn.lowerFirst=qs,Wn.lt=cs,Wn.lte=ds,Wn.max=function(e){return e&&e.length?mr(e,rl,Sr):o},Wn.maxBy=function(e,t){return e&&e.length?mr(e,ui(t,2),Sr):o},Wn.mean=function(e){return qt(e,rl)},Wn.meanBy=function(e,t){return qt(e,ui(t,2))},Wn.min=function(e){return e&&e.length?mr(e,rl,Ir):o},Wn.minBy=function(e,t){return e&&e.length?mr(e,ui(t,2),Ir):o},Wn.stubArray=ml,Wn.stubFalse=gl,Wn.stubObject=function(){return{}},Wn.stubString=function(){return""},Wn.stubTrue=function(){return!0},Wn.multiply=kl,Wn.nth=function(e,t){return e&&e.length?Hr(e,hs(t)):o},Wn.noConflict=function(){return mt._===this&&(mt._=We),this},Wn.noop=ll,Wn.now=Sa,Wn.pad=function(e,t,n){e=ys(e);var r=(t=hs(t))?hn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Uo(ht(o),n)+e+Uo(ft(o),n)},Wn.padEnd=function(e,t,n){e=ys(e);var r=(t=hs(t))?hn(e):0;return t&&r<t?e+Uo(t-r,n):e},Wn.padStart=function(e,t,n){e=ys(e);var r=(t=hs(t))?hn(e):0;return t&&r<t?Uo(t-r,n)+e:e},Wn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),kn(ys(e).replace(ae,""),t||0)},Wn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&bi(e,t,n)&&(t=n=o),n===o&&("boolean"==typeof t?(n=t,t=o):"boolean"==typeof e&&(n=e,e=o)),e===o&&t===o?(e=0,t=1):(e=fs(e),t===o?(t=e,e=0):t=fs(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=wn();return xn(e+i*(t-e+dt("1e-"+((i+"").length-1))),t)}return Gr(e,t)},Wn.reduce=function(e,t,n){var r=Va(e)?Rt:Zt,o=arguments.length<3;return r(e,ui(t,4),n,o,pr)},Wn.reduceRight=function(e,t,n){var r=Va(e)?It:Zt,o=arguments.length<3;return r(e,ui(t,4),n,o,fr)},Wn.repeat=function(e,t,n){return t=(n?bi(e,t,n):t===o)?1:hs(t),Zr(ys(e),t)},Wn.replace=function(){var e=arguments,t=ys(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Wn.result=function(e,t,n){var r=-1,i=(t=bo(t,e)).length;for(i||(i=1,e=o);++r<i;){var a=null==e?o:e[Ri(t[r])];a===o&&(r=i,a=n),e=Qa(a)?a.call(e):a}return e},Wn.round=wl,Wn.runInContext=e,Wn.sample=function(e){return(Va(e)?Qn:Qr)(e)},Wn.size=function(e){if(null==e)return 0;if(qa(e))return ss(e)?hn(e):e.length;var t=mi(e);return t==C||t==P?e.size:Fr(e).length},Wn.snakeCase=Ys,Wn.some=function(e,t,n){var r=Va(e)?Bt:oo;return n&&bi(e,t,n)&&(t=o),r(e,ui(t,3))},Wn.sortedIndex=function(e,t){return io(e,t)},Wn.sortedIndexBy=function(e,t,n){return ao(e,t,ui(n,2))},Wn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=io(e,t);if(r<n&&Wa(e[r],t))return r}return-1},Wn.sortedLastIndex=function(e,t){return io(e,t,!0)},Wn.sortedLastIndexBy=function(e,t,n){return ao(e,t,ui(n,2),!0)},Wn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=io(e,t,!0)-1;if(Wa(e[n],t))return n}return-1},Wn.startCase=Gs,Wn.startsWith=function(e,t,n){return e=ys(e),n=null==n?0:sr(hs(n),0,e.length),t=uo(t),e.slice(n,n+t.length)==t},Wn.subtract=El,Wn.sum=function(e){return e&&e.length?Kt(e,rl):0},Wn.sumBy=function(e,t){return e&&e.length?Kt(e,ui(t,2)):0},Wn.template=function(e,t,n){var r=Wn.templateSettings;n&&bi(e,t,n)&&(t=o),e=ys(e),t=ks({},t,r,Jo);var i,a,s=ks({},t.imports,r.imports,Jo),l=Ls(s),u=en(s,l),c=0,d=t.interpolate||we,p="__p += '",f=De((t.escape||we).source+"|"+d.source+"|"+(d===ee?he:we).source+"|"+(t.evaluate||we).source+"|$","g"),h="//# sourceURL="+(Te.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++st+"]")+"\n";e.replace(f,(function(t,n,r,o,s,l){return r||(r=o),p+=e.slice(c,l).replace(Ee,sn),n&&(i=!0,p+="' +\n__e("+n+") +\n'"),s&&(a=!0,p+="';\n"+s+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=l+t.length,t})),p+="';\n";var m=Te.call(t,"variable")&&t.variable;if(m){if(pe.test(m))throw new se("Invalid `variable` option passed into `_.template`")}else p="with (obj) {\n"+p+"\n}\n";p=(a?p.replace(U,""):p).replace(q,"$1").replace(Y,"$1;"),p="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var g=Xs((function(){return _e(l,h+"return "+p).apply(o,u)}));if(g.source=p,Ka(g))throw g;return g},Wn.times=function(e,t){if((e=hs(e))<1||e>h)return[];var n=g,r=xn(e,g);t=ui(t),e-=g;for(var o=Qt(r,t);++n<e;)t(n);return o},Wn.toFinite=fs,Wn.toInteger=hs,Wn.toLength=ms,Wn.toLower=function(e){return ys(e).toLowerCase()},Wn.toNumber=gs,Wn.toSafeInteger=function(e){return e?sr(hs(e),-9007199254740991,h):0===e?e:0},Wn.toString=ys,Wn.toUpper=function(e){return ys(e).toUpperCase()},Wn.trim=function(e,t,n){if((e=ys(e))&&(n||t===o))return Xt(e);if(!e||!(t=uo(t)))return e;var r=mn(e),i=mn(t);return wo(r,nn(r,i),rn(r,i)+1).join("")},Wn.trimEnd=function(e,t,n){if((e=ys(e))&&(n||t===o))return e.slice(0,gn(e)+1);if(!e||!(t=uo(t)))return e;var r=mn(e);return wo(r,0,rn(r,mn(t))+1).join("")},Wn.trimStart=function(e,t,n){if((e=ys(e))&&(n||t===o))return e.replace(ae,"");if(!e||!(t=uo(t)))return e;var r=mn(e);return wo(r,nn(r,mn(t))).join("")},Wn.truncate=function(e,t){var n=30,r="...";if(es(t)){var i="separator"in t?t.separator:i;n="length"in t?hs(t.length):n,r="omission"in t?uo(t.omission):r}var a=(e=ys(e)).length;if(ln(e)){var s=mn(e);a=s.length}if(n>=a)return e;var l=n-hn(r);if(l<1)return r;var u=s?wo(s,0,l).join(""):e.slice(0,l);if(i===o)return u+r;if(s&&(l+=u.length-l),is(i)){if(e.slice(l).search(i)){var c,d=u;for(i.global||(i=De(i.source,ys(me.exec(i))+"g")),i.lastIndex=0;c=i.exec(d);)var p=c.index;u=u.slice(0,p===o?l:p)}}else if(e.indexOf(uo(i),l)!=l){var f=u.lastIndexOf(i);f>-1&&(u=u.slice(0,f))}return u+r},Wn.unescape=function(e){return(e=ys(e))&&K.test(e)?e.replace(G,vn):e},Wn.uniqueId=function(e){var t=++Fe;return ys(e)+t},Wn.upperCase=Zs,Wn.upperFirst=Ks,Wn.each=ya,Wn.eachRight=xa,Wn.first=qi,sl(Wn,function(){var e={};return br(Wn,(function(t,n){Te.call(Wn.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),Wn.VERSION="4.17.21",At(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Wn[e].placeholder=Wn})),At(["drop","take"],(function(e,t){Vn.prototype[e]=function(n){n=n===o?1:Gt(hs(n),0);var r=this.__filtered__&&!t?new Vn(this):this.clone();return r.__filtered__?r.__takeCount__=xn(n,r.__takeCount__):r.__views__.push({size:xn(n,g),type:e+(r.__dir__<0?"Right":"")}),r},Vn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),At(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Vn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ui(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),At(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Vn.prototype[e]=function(){return this[n](1).value()[0]}})),At(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Vn.prototype[e]=function(){return this.__filtered__?new Vn(this):this[n](1)}})),Vn.prototype.compact=function(){return this.filter(rl)},Vn.prototype.find=function(e){return this.filter(e).head()},Vn.prototype.findLast=function(e){return this.reverse().find(e)},Vn.prototype.invokeMap=Kr((function(e,t){return"function"==typeof e?new Vn(this):this.map((function(n){return Pr(n,e,t)}))})),Vn.prototype.reject=function(e){return this.filter(Ta(ui(e)))},Vn.prototype.slice=function(e,t){e=hs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Vn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=hs(t))<0?n.dropRight(-t):n.take(t-e)),n)},Vn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Vn.prototype.toArray=function(){return this.take(g)},br(Vn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=Wn[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);i&&(Wn.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,l=t instanceof Vn,u=s[0],c=l||Va(t),d=function(e){var t=i.apply(Wn,Ft([e],s));return r&&p?t[0]:t};c&&n&&"function"==typeof u&&1!=u.length&&(l=c=!1);var p=this.__chain__,f=!!this.__actions__.length,h=a&&!p,m=l&&!f;if(!a&&c){t=m?t:new Vn(this);var g=e.apply(t,s);return g.__actions__.push({func:fa,args:[d],thisArg:o}),new Hn(g,p)}return h&&m?e.apply(this,s):(g=this.thru(d),h?r?g.value()[0]:g.value():g)})})),At(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Pe[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Wn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Va(o)?o:[],e)}return this[n]((function(n){return t.apply(Va(n)?n:[],e)}))}})),br(Vn.prototype,(function(e,t){var n=Wn[t];if(n){var r=n.name+"";Te.call(Ln,r)||(Ln[r]=[]),Ln[r].push({name:t,func:n})}})),Ln[zo(o,2).name]=[{name:"wrapper",func:o}],Vn.prototype.clone=function(){var e=new Vn(this.__wrapped__);return e.__actions__=Po(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Po(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Po(this.__views__),e},Vn.prototype.reverse=function(){if(this.__filtered__){var e=new Vn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Vn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Va(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=xn(t,e+a);break;case"takeRight":e=Gt(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,s=i.end,l=s-a,u=r?s:a-1,c=this.__iteratees__,d=c.length,p=0,f=xn(l,this.__takeCount__);if(!n||!r&&o==l&&f==l)return mo(e,this.__actions__);var h=[];e:for(;l--&&p<f;){for(var m=-1,g=e[u+=t];++m<d;){var v=c[m],y=v.iteratee,x=v.type,b=y(g);if(2==x)g=b;else if(!b){if(1==x)continue e;break e}}h[p++]=g}return h},Wn.prototype.at=ha,Wn.prototype.chain=function(){return pa(this)},Wn.prototype.commit=function(){return new Hn(this.value(),this.__chain__)},Wn.prototype.next=function(){this.__values__===o&&(this.__values__=ps(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},Wn.prototype.plant=function(e){for(var t,n=this;n instanceof $n;){var r=Bi(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},Wn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Vn){var t=e;return this.__actions__.length&&(t=new Vn(this)),(t=t.reverse()).__actions__.push({func:fa,args:[ea],thisArg:o}),new Hn(t,this.__chain__)}return this.thru(ea)},Wn.prototype.toJSON=Wn.prototype.valueOf=Wn.prototype.value=function(){return mo(this.__wrapped__,this.__actions__)},Wn.prototype.first=Wn.prototype.head,Qe&&(Wn.prototype[Qe]=function(){return this}),Wn}();mt._=yn,(r=function(){return yn}.call(t,n,t,e))===o||(e.exports=r)}.call(this)},8172:function(e){!function(){"use strict";var t={s:1,n:0,d:1};function n(e,t){if(isNaN(e=parseInt(e,10)))throw u();return e*t}function r(e,t){if(0===t)throw l();var n=Object.create(s.prototype);n.s=e<0?-1:1;var r=a(e=e<0?-e:e,t);return n.n=e/r,n.d=t/r,n}function o(e){for(var t={},n=e,r=2,o=4;o<=n;){for(;n%r===0;)n/=r,t[r]=(t[r]||0)+1;o+=1+2*r++}return n!==e?n>1&&(t[n]=(t[n]||0)+1):t[e]=(t[e]||0)+1,t}var i=function(e,r){var o,i=0,a=1,s=1,d=0,p=0,f=0,h=1,m=1,g=0,v=1,y=1,x=1,b=1e7;if(void 0===e||null===e);else if(void 0!==r){if(s=(i=e)*(a=r),i%1!==0||a%1!==0)throw c()}else switch(typeof e){case"object":if("d"in e&&"n"in e)i=e.n,a=e.d,"s"in e&&(i*=e.s);else{if(!(0 in e))throw u();i=e[0],1 in e&&(a=e[1])}s=i*a;break;case"number":if(e<0&&(s=e,e=-e),e%1===0)i=e;else if(e>0){for(e>=1&&(e/=m=Math.pow(10,Math.floor(1+Math.log(e)/Math.LN10)));v<=b&&x<=b;){if(e===(o=(g+y)/(v+x))){v+x<=b?(i=g+y,a=v+x):x>v?(i=y,a=x):(i=g,a=v);break}e>o?(g+=y,v+=x):(y+=g,x+=v),v>b?(i=y,a=x):(i=g,a=v)}i*=m}else(isNaN(e)||isNaN(r))&&(a=i=NaN);break;case"string":if(null===(v=e.match(/\d+|./g)))throw u();if("-"===v[g]?(s=-1,g++):"+"===v[g]&&g++,v.length===g+1?p=n(v[g++],s):"."===v[g+1]||"."===v[g]?("."!==v[g]&&(d=n(v[g++],s)),(++g+1===v.length||"("===v[g+1]&&")"===v[g+3]||"'"===v[g+1]&&"'"===v[g+3])&&(p=n(v[g],s),h=Math.pow(10,v[g].length),g++),("("===v[g]&&")"===v[g+2]||"'"===v[g]&&"'"===v[g+2])&&(f=n(v[g+1],s),m=Math.pow(10,v[g+1].length)-1,g+=3)):"/"===v[g+1]||":"===v[g+1]?(p=n(v[g],s),h=n(v[g+2],1),g+=3):"/"===v[g+3]&&" "===v[g+1]&&(d=n(v[g],s),p=n(v[g+2],s),h=n(v[g+4],1),g+=5),v.length<=g){s=i=f+(a=h*m)*d+m*p;break}default:throw u()}if(0===a)throw l();t.s=s<0?-1:1,t.n=Math.abs(i),t.d=Math.abs(a)};function a(e,t){if(!e)return t;if(!t)return e;for(;;){if(!(e%=t))return t;if(!(t%=e))return e}}function s(e,n){if(i(e,n),!(this instanceof s))return r(t.s*t.n,t.d);e=a(t.d,t.n),this.s=t.s,this.n=t.n/e,this.d=t.d/e}var l=function(){return new Error("Division by Zero")},u=function(){return new Error("Invalid argument")},c=function(){return new Error("Parameters must be integer")};s.prototype={s:1,n:0,d:1,abs:function(){return r(this.n,this.d)},neg:function(){return r(-this.s*this.n,this.d)},add:function(e,n){return i(e,n),r(this.s*this.n*t.d+t.s*this.d*t.n,this.d*t.d)},sub:function(e,n){return i(e,n),r(this.s*this.n*t.d-t.s*this.d*t.n,this.d*t.d)},mul:function(e,n){return i(e,n),r(this.s*t.s*this.n*t.n,this.d*t.d)},div:function(e,n){return i(e,n),r(this.s*t.s*this.n*t.d,this.d*t.n)},clone:function(){return r(this.s*this.n,this.d)},mod:function(e,n){if(isNaN(this.n)||isNaN(this.d))return new s(NaN);if(void 0===e)return r(this.s*this.n%this.d,1);if(i(e,n),0===t.n&&0===this.d)throw l();return r(this.s*(t.d*this.n)%(t.n*this.d),t.d*this.d)},gcd:function(e,n){return i(e,n),r(a(t.n,this.n)*a(t.d,this.d),t.d*this.d)},lcm:function(e,n){return i(e,n),0===t.n&&0===this.n?r(0,1):r(t.n*this.n,a(t.n,this.n)*a(t.d,this.d))},ceil:function(e){return e=Math.pow(10,e||0),isNaN(this.n)||isNaN(this.d)?new s(NaN):r(Math.ceil(e*this.s*this.n/this.d),e)},floor:function(e){return e=Math.pow(10,e||0),isNaN(this.n)||isNaN(this.d)?new s(NaN):r(Math.floor(e*this.s*this.n/this.d),e)},round:function(e){return e=Math.pow(10,e||0),isNaN(this.n)||isNaN(this.d)?new s(NaN):r(Math.round(e*this.s*this.n/this.d),e)},inverse:function(){return r(this.s*this.d,this.n)},pow:function(e,n){if(i(e,n),1===t.d)return t.s<0?r(Math.pow(this.s*this.d,t.n),Math.pow(this.n,t.n)):r(Math.pow(this.s*this.n,t.n),Math.pow(this.d,t.n));if(this.s<0)return null;var a=o(this.n),s=o(this.d),l=1,u=1;for(var c in a)if("1"!==c){if("0"===c){l=0;break}if(a[c]*=t.n,a[c]%t.d!==0)return null;a[c]/=t.d,l*=Math.pow(c,a[c])}for(var c in s)if("1"!==c){if(s[c]*=t.n,s[c]%t.d!==0)return null;s[c]/=t.d,u*=Math.pow(c,s[c])}return t.s<0?r(u,l):r(l,u)},equals:function(e,n){return i(e,n),this.s*this.n*t.d===t.s*t.n*this.d},compare:function(e,n){i(e,n);var r=this.s*this.n*t.d-t.s*t.n*this.d;return(0<r)-(r<0)},simplify:function(e){if(isNaN(this.n)||isNaN(this.d))return this;e=e||.001;for(var t=this.abs(),n=t.toContinued(),o=1;o<n.length;o++){for(var i=r(n[o-1],1),a=o-2;a>=0;a--)i=i.inverse().add(n[a]);if(Math.abs(i.sub(t).valueOf())<e)return i.mul(this.s)}return this},divisible:function(e,n){return i(e,n),!(!(t.n*this.d)||this.n*t.d%(t.n*this.d))},valueOf:function(){return this.s*this.n/this.d},toFraction:function(e){var t,n="",r=this.n,o=this.d;return this.s<0&&(n+="-"),1===o?n+=r:(e&&(t=Math.floor(r/o))>0&&(n+=t,n+=" ",r%=o),n+=r,n+="/",n+=o),n},toLatex:function(e){var t,n="",r=this.n,o=this.d;return this.s<0&&(n+="-"),1===o?n+=r:(e&&(t=Math.floor(r/o))>0&&(n+=t,r%=o),n+="\\frac{",n+=r,n+="}{",n+=o,n+="}"),n},toContinued:function(){var e,t=this.n,n=this.d,r=[];if(isNaN(t)||isNaN(n))return r;do{r.push(Math.floor(t/n)),e=t%n,t=n,n=e}while(1!==t);return r},toString:function(e){var t=this.n,n=this.d;if(isNaN(t)||isNaN(n))return"NaN";e=e||15;var r=function(e,t){for(;t%2===0;t/=2);for(;t%5===0;t/=5);if(1===t)return 0;for(var n=10%t,r=1;1!==n;r++)if(n=10*n%t,r>2e3)return 0;return r}(0,n),o=function(e,t,n){for(var r=1,o=function(e,t,n){for(var r=1;t>0;e=e*e%n,t>>=1)1&t&&(r=r*e%n);return r}(10,n,t),i=0;i<300;i++){if(r===o)return i;r=10*r%t,o=10*o%t}return 0}(0,n,r),i=this.s<0?"-":"";if(i+=t/n|0,t%=n,(t*=10)&&(i+="."),r){for(var a=o;a--;)i+=t/n|0,t%=n,t*=10;i+="(";for(a=r;a--;)i+=t/n|0,t%=n,t*=10;i+=")"}else for(a=e;t&&a--;)i+=t/n|0,t%=n,t*=10;return i}},Object.defineProperty(s,"__esModule",{value:!0}),s.default=s,s.Fraction=s,e.exports=s}()},6178:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";var t,n;function r(){return t.apply(null,arguments)}function o(e){t=e}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(s(e,t))return!1;return!0}function u(e){return void 0===e}function c(e){return"number"===typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function p(e,t){var n,r=[],o=e.length;for(n=0;n<o;++n)r.push(t(e[n],n));return r}function f(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return s(t,"toString")&&(e.toString=t.toString),s(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,n,r){return Gn(e,t,n,r,!0).utc()}function m(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function g(e){return null==e._pf&&(e._pf=m()),e._pf}function v(e){if(null==e._isValid){var t=g(e),r=n.call(t.parsedDateParts,(function(e){return null!=e})),o=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(o=o&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return o;e._isValid=o}return e._isValid}function y(e){var t=h(NaN);return null!=e?f(g(t),e):g(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var x=r.momentProperties=[],b=!1;function k(e,t){var n,r,o,i=x.length;if(u(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),u(t._i)||(e._i=t._i),u(t._f)||(e._f=t._f),u(t._l)||(e._l=t._l),u(t._strict)||(e._strict=t._strict),u(t._tzm)||(e._tzm=t._tzm),u(t._isUTC)||(e._isUTC=t._isUTC),u(t._offset)||(e._offset=t._offset),u(t._pf)||(e._pf=g(t)),u(t._locale)||(e._locale=t._locale),i>0)for(n=0;n<i;n++)u(o=t[r=x[n]])||(e[r]=o);return e}function w(e){k(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===b&&(b=!0,r.updateOffset(this),b=!1)}function E(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function _(e){!1===r.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function C(e,t){var n=!0;return f((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var o,i,a,l=[],u=arguments.length;for(i=0;i<u;i++){if(o="","object"===typeof arguments[i]){for(a in o+="\n["+i+"] ",arguments[0])s(arguments[0],a)&&(o+=a+": "+arguments[0][a]+", ");o=o.slice(0,-2)}else o=arguments[i];l.push(o)}_(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var S,D={};function j(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),D[e]||(_(t),D[e]=!0)}function A(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function P(e){var t,n;for(n in e)s(e,n)&&(A(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function L(e,t){var n,r=f({},e);for(n in t)s(t,n)&&(a(e[n])&&a(t[n])?(r[n]={},f(r[n],e[n]),f(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)s(e,n)&&!s(t,n)&&a(e[n])&&(r[n]=f({},r[n]));return r}function M(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,S=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var N={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function O(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return A(r)?r.call(t,n):r}function T(e,t,n){var r=""+Math.abs(e),o=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}var F=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,R=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,I={},B={};function W(e,t,n,r){var o=r;"string"===typeof r&&(o=function(){return this[r]()}),e&&(B[e]=o),t&&(B[t[0]]=function(){return T(o.apply(this,arguments),t[1],t[2])}),n&&(B[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function z(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function $(e){var t,n,r=e.match(F);for(t=0,n=r.length;t<n;t++)B[r[t]]?r[t]=B[r[t]]:r[t]=z(r[t]);return function(t){var o,i="";for(o=0;o<n;o++)i+=A(r[o])?r[o].call(t,e):r[o];return i}}function H(e,t){return e.isValid()?(t=V(t,e.localeData()),I[t]=I[t]||$(t),I[t](e)):e.localeData().invalidDate()}function V(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(R.lastIndex=0;n>=0&&R.test(e);)e=e.replace(R,r),R.lastIndex=0,n-=1;return e}var U={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function q(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(F).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var Y="Invalid date";function G(){return this._invalidDate}var Z="%d",K=/\d{1,2}/;function Q(e){return this._ordinal.replace("%d",e)}var X={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function J(e,t,n,r){var o=this._relativeTime[n];return A(o)?o(e,t,n,r):o.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return A(n)?n(t):n.replace(/%s/i,t)}var te={};function ne(e,t){var n=e.toLowerCase();te[n]=te[n+"s"]=te[t]=e}function re(e){return"string"===typeof e?te[e]||te[e.toLowerCase()]:void 0}function oe(e){var t,n,r={};for(n in e)s(e,n)&&(t=re(n))&&(r[t]=e[n]);return r}var ie={};function ae(e,t){ie[e]=t}function se(e){var t,n=[];for(t in e)s(e,t)&&n.push({unit:t,priority:ie[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}function le(e){return e%4===0&&e%100!==0||e%400===0}function ue(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ce(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ue(t)),n}function de(e,t){return function(n){return null!=n?(fe(this,e,n),r.updateOffset(this,t),this):pe(this,e)}}function pe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function fe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&le(e.year())&&1===e.month()&&29===e.date()?(n=ce(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Je(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function he(e){return A(this[e=re(e)])?this[e]():this}function me(e,t){if("object"===typeof e){var n,r=se(e=oe(e)),o=r.length;for(n=0;n<o;n++)this[r[n].unit](e[r[n].unit])}else if(A(this[e=re(e)]))return this[e](t);return this}var ge,ve=/\d/,ye=/\d\d/,xe=/\d{3}/,be=/\d{4}/,ke=/[+-]?\d{6}/,we=/\d\d?/,Ee=/\d\d\d\d?/,_e=/\d\d\d\d\d\d?/,Ce=/\d{1,3}/,Se=/\d{1,4}/,De=/[+-]?\d{1,6}/,je=/\d+/,Ae=/[+-]?\d+/,Pe=/Z|[+-]\d\d:?\d\d/gi,Le=/Z|[+-]\d\d(?::?\d\d)?/gi,Me=/[+-]?\d+(\.\d{1,3})?/,Ne=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function Oe(e,t,n){ge[e]=A(t)?t:function(e,r){return e&&n?n:t}}function Te(e,t){return s(ge,e)?ge[e](t._strict,t._locale):new RegExp(Fe(e))}function Fe(e){return Re(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,o){return t||n||r||o})))}function Re(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ge={};var Ie={};function Be(e,t){var n,r,o=t;for("string"===typeof e&&(e=[e]),c(t)&&(o=function(e,n){n[t]=ce(e)}),r=e.length,n=0;n<r;n++)Ie[e[n]]=o}function We(e,t){Be(e,(function(e,n,r,o){r._w=r._w||{},t(e,r._w,r,o)}))}function ze(e,t,n){null!=t&&s(Ie,e)&&Ie[e](t,n._a,n,e)}var $e,He=0,Ve=1,Ue=2,qe=3,Ye=4,Ge=5,Ze=6,Ke=7,Qe=8;function Xe(e,t){return(e%t+t)%t}function Je(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Xe(t,12);return e+=(t-n)/12,1===n?le(e)?29:28:31-n%7%2}$e=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},W("M",["MM",2],"Mo",(function(){return this.month()+1})),W("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),W("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),ne("month","M"),ae("month",8),Oe("M",we),Oe("MM",we,ye),Oe("MMM",(function(e,t){return t.monthsShortRegex(e)})),Oe("MMMM",(function(e,t){return t.monthsRegex(e)})),Be(["M","MM"],(function(e,t){t[Ve]=ce(e)-1})),Be(["MMM","MMMM"],(function(e,t,n,r){var o=n._locale.monthsParse(e,r,n._strict);null!=o?t[Ve]=o:g(n).invalidMonth=e}));var et="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),tt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),nt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,rt=Ne,ot=Ne;function it(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||nt).test(t)?"format":"standalone"][e.month()]:i(this._months)?this._months:this._months.standalone}function at(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[nt.test(t)?"format":"standalone"][e.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function st(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=h([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(o=$e.call(this._shortMonthsParse,a))?o:null:-1!==(o=$e.call(this._longMonthsParse,a))?o:null:"MMM"===t?-1!==(o=$e.call(this._shortMonthsParse,a))||-1!==(o=$e.call(this._longMonthsParse,a))?o:null:-1!==(o=$e.call(this._longMonthsParse,a))||-1!==(o=$e.call(this._shortMonthsParse,a))?o:null}function lt(e,t,n){var r,o,i;if(this._monthsParseExact)return st.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=h([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function ut(e,t){var n;if(!e.isValid())return e;if("string"===typeof t)if(/^\d+$/.test(t))t=ce(t);else if(!c(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Je(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function ct(e){return null!=e?(ut(this,e),r.updateOffset(this,!0),this):pe(this,"Month")}function dt(){return Je(this.year(),this.month())}function pt(e){return this._monthsParseExact?(s(this,"_monthsRegex")||ht.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=rt),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function ft(e){return this._monthsParseExact?(s(this,"_monthsRegex")||ht.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=ot),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function ht(){function e(e,t){return t.length-e.length}var t,n,r=[],o=[],i=[];for(t=0;t<12;t++)n=h([2e3,t]),r.push(this.monthsShort(n,"")),o.push(this.months(n,"")),i.push(this.months(n,"")),i.push(this.monthsShort(n,""));for(r.sort(e),o.sort(e),i.sort(e),t=0;t<12;t++)r[t]=Re(r[t]),o[t]=Re(o[t]);for(t=0;t<24;t++)i[t]=Re(i[t]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function mt(e){return le(e)?366:365}W("Y",0,0,(function(){var e=this.year();return e<=9999?T(e,4):"+"+e})),W(0,["YY",2],0,(function(){return this.year()%100})),W(0,["YYYY",4],0,"year"),W(0,["YYYYY",5],0,"year"),W(0,["YYYYYY",6,!0],0,"year"),ne("year","y"),ae("year",1),Oe("Y",Ae),Oe("YY",we,ye),Oe("YYYY",Se,be),Oe("YYYYY",De,ke),Oe("YYYYYY",De,ke),Be(["YYYYY","YYYYYY"],He),Be("YYYY",(function(e,t){t[He]=2===e.length?r.parseTwoDigitYear(e):ce(e)})),Be("YY",(function(e,t){t[He]=r.parseTwoDigitYear(e)})),Be("Y",(function(e,t){t[He]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return ce(e)+(ce(e)>68?1900:2e3)};var gt=de("FullYear",!0);function vt(){return le(this.year())}function yt(e,t,n,r,o,i,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,o,i,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,o,i,a),s}function xt(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function bt(e,t,n){var r=7+t-n;return-(7+xt(e,0,r).getUTCDay()-t)%7+r-1}function kt(e,t,n,r,o){var i,a,s=1+7*(t-1)+(7+n-r)%7+bt(e,r,o);return s<=0?a=mt(i=e-1)+s:s>mt(e)?(i=e+1,a=s-mt(e)):(i=e,a=s),{year:i,dayOfYear:a}}function wt(e,t,n){var r,o,i=bt(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?r=a+Et(o=e.year()-1,t,n):a>Et(e.year(),t,n)?(r=a-Et(e.year(),t,n),o=e.year()+1):(o=e.year(),r=a),{week:r,year:o}}function Et(e,t,n){var r=bt(e,t,n),o=bt(e+1,t,n);return(mt(e)-r+o)/7}function _t(e){return wt(e,this._week.dow,this._week.doy).week}W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),ne("week","w"),ne("isoWeek","W"),ae("week",5),ae("isoWeek",5),Oe("w",we),Oe("ww",we,ye),Oe("W",we),Oe("WW",we,ye),We(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=ce(e)}));var Ct={dow:0,doy:6};function St(){return this._week.dow}function Dt(){return this._week.doy}function jt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function At(e){var t=wt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Pt(e,t){return"string"!==typeof e?e:isNaN(e)?"number"===typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Lt(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Mt(e,t){return e.slice(t,7).concat(e.slice(0,t))}W("d",0,"do","day"),W("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),W("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),W("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),ne("day","d"),ne("weekday","e"),ne("isoWeekday","E"),ae("day",11),ae("weekday",11),ae("isoWeekday",11),Oe("d",we),Oe("e",we),Oe("E",we),Oe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Oe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Oe("dddd",(function(e,t){return t.weekdaysRegex(e)})),We(["dd","ddd","dddd"],(function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);null!=o?t.d=o:g(n).invalidWeekday=e})),We(["d","e","E"],(function(e,t,n,r){t[r]=ce(e)}));var Nt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ot="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Tt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ft=Ne,Rt=Ne,It=Ne;function Bt(e,t){var n=i(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Mt(n,this._week.dow):e?n[e.day()]:n}function Wt(e){return!0===e?Mt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function zt(e){return!0===e?Mt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function $t(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=h([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=$e.call(this._weekdaysParse,a))?o:null:"ddd"===t?-1!==(o=$e.call(this._shortWeekdaysParse,a))?o:null:-1!==(o=$e.call(this._minWeekdaysParse,a))?o:null:"dddd"===t?-1!==(o=$e.call(this._weekdaysParse,a))||-1!==(o=$e.call(this._shortWeekdaysParse,a))||-1!==(o=$e.call(this._minWeekdaysParse,a))?o:null:"ddd"===t?-1!==(o=$e.call(this._shortWeekdaysParse,a))||-1!==(o=$e.call(this._weekdaysParse,a))||-1!==(o=$e.call(this._minWeekdaysParse,a))?o:null:-1!==(o=$e.call(this._minWeekdaysParse,a))||-1!==(o=$e.call(this._weekdaysParse,a))||-1!==(o=$e.call(this._shortWeekdaysParse,a))?o:null}function Ht(e,t,n){var r,o,i;if(this._weekdaysParseExact)return $t.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=h([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Vt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Pt(e,this.localeData()),this.add(e-t,"d")):t}function Ut(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function qt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Lt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Yt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Ft),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Gt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Rt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Zt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=It),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Kt(){function e(e,t){return t.length-e.length}var t,n,r,o,i,a=[],s=[],l=[],u=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),r=Re(this.weekdaysMin(n,"")),o=Re(this.weekdaysShort(n,"")),i=Re(this.weekdays(n,"")),a.push(r),s.push(o),l.push(i),u.push(r),u.push(o),u.push(i);a.sort(e),s.sort(e),l.sort(e),u.sort(e),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Qt(){return this.hours()%12||12}function Xt(){return this.hours()||24}function Jt(e,t){W(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function en(e,t){return t._meridiemParse}function tn(e){return"p"===(e+"").toLowerCase().charAt(0)}W("H",["HH",2],0,"hour"),W("h",["hh",2],0,Qt),W("k",["kk",2],0,Xt),W("hmm",0,0,(function(){return""+Qt.apply(this)+T(this.minutes(),2)})),W("hmmss",0,0,(function(){return""+Qt.apply(this)+T(this.minutes(),2)+T(this.seconds(),2)})),W("Hmm",0,0,(function(){return""+this.hours()+T(this.minutes(),2)})),W("Hmmss",0,0,(function(){return""+this.hours()+T(this.minutes(),2)+T(this.seconds(),2)})),Jt("a",!0),Jt("A",!1),ne("hour","h"),ae("hour",13),Oe("a",en),Oe("A",en),Oe("H",we),Oe("h",we),Oe("k",we),Oe("HH",we,ye),Oe("hh",we,ye),Oe("kk",we,ye),Oe("hmm",Ee),Oe("hmmss",_e),Oe("Hmm",Ee),Oe("Hmmss",_e),Be(["H","HH"],qe),Be(["k","kk"],(function(e,t,n){var r=ce(e);t[qe]=24===r?0:r})),Be(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Be(["h","hh"],(function(e,t,n){t[qe]=ce(e),g(n).bigHour=!0})),Be("hmm",(function(e,t,n){var r=e.length-2;t[qe]=ce(e.substr(0,r)),t[Ye]=ce(e.substr(r)),g(n).bigHour=!0})),Be("hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[qe]=ce(e.substr(0,r)),t[Ye]=ce(e.substr(r,2)),t[Ge]=ce(e.substr(o)),g(n).bigHour=!0})),Be("Hmm",(function(e,t,n){var r=e.length-2;t[qe]=ce(e.substr(0,r)),t[Ye]=ce(e.substr(r))})),Be("Hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[qe]=ce(e.substr(0,r)),t[Ye]=ce(e.substr(r,2)),t[Ge]=ce(e.substr(o))}));var nn=/[ap]\.?m?\.?/i,rn=de("Hours",!0);function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var an,sn={calendar:N,longDateFormat:U,invalidDate:Y,ordinal:Z,dayOfMonthOrdinalParse:K,relativeTime:X,months:et,monthsShort:tt,week:Ct,weekdays:Nt,weekdaysMin:Tt,weekdaysShort:Ot,meridiemParse:nn},ln={},un={};function cn(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function dn(e){return e?e.toLowerCase().replace("_","-"):e}function pn(e){for(var t,n,r,o,i=0;i<e.length;){for(t=(o=dn(e[i]).split("-")).length,n=(n=dn(e[i+1]))?n.split("-"):null;t>0;){if(r=hn(o.slice(0,t).join("-")))return r;if(n&&n.length>=t&&cn(o,n)>=t-1)break;t--}i++}return an}function fn(e){return null!=e.match("^[^/\\\\]*$")}function hn(t){var n=null;if(void 0===ln[t]&&e&&e.exports&&fn(t))try{n=an._abbr,Object(function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}()),mn(n)}catch(r){ln[t]=null}return ln[t]}function mn(e,t){var n;return e&&((n=u(t)?yn(e):gn(e,t))?an=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),an._abbr}function gn(e,t){if(null!==t){var n,r=sn;if(t.abbr=e,null!=ln[e])j("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=ln[e]._config;else if(null!=t.parentLocale)if(null!=ln[t.parentLocale])r=ln[t.parentLocale]._config;else{if(null==(n=hn(t.parentLocale)))return un[t.parentLocale]||(un[t.parentLocale]=[]),un[t.parentLocale].push({name:e,config:t}),null;r=n._config}return ln[e]=new M(L(r,t)),un[e]&&un[e].forEach((function(e){gn(e.name,e.config)})),mn(e),ln[e]}return delete ln[e],null}function vn(e,t){if(null!=t){var n,r,o=sn;null!=ln[e]&&null!=ln[e].parentLocale?ln[e].set(L(ln[e]._config,t)):(null!=(r=hn(e))&&(o=r._config),t=L(o,t),null==r&&(t.abbr=e),(n=new M(t)).parentLocale=ln[e],ln[e]=n),mn(e)}else null!=ln[e]&&(null!=ln[e].parentLocale?(ln[e]=ln[e].parentLocale,e===mn()&&mn(e)):null!=ln[e]&&delete ln[e]);return ln[e]}function yn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return an;if(!i(e)){if(t=hn(e))return t;e=[e]}return pn(e)}function xn(){return S(ln)}function bn(e){var t,n=e._a;return n&&-2===g(e).overflow&&(t=n[Ve]<0||n[Ve]>11?Ve:n[Ue]<1||n[Ue]>Je(n[He],n[Ve])?Ue:n[qe]<0||n[qe]>24||24===n[qe]&&(0!==n[Ye]||0!==n[Ge]||0!==n[Ze])?qe:n[Ye]<0||n[Ye]>59?Ye:n[Ge]<0||n[Ge]>59?Ge:n[Ze]<0||n[Ze]>999?Ze:-1,g(e)._overflowDayOfYear&&(t<He||t>Ue)&&(t=Ue),g(e)._overflowWeeks&&-1===t&&(t=Ke),g(e)._overflowWeekday&&-1===t&&(t=Qe),g(e).overflow=t),e}var kn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,wn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,En=/Z|[+-]\d\d(?::?\d\d)?/,_n=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Cn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Sn=/^\/?Date\((-?\d+)/i,Dn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,jn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function An(e){var t,n,r,o,i,a,s=e._i,l=kn.exec(s)||wn.exec(s),u=_n.length,c=Cn.length;if(l){for(g(e).iso=!0,t=0,n=u;t<n;t++)if(_n[t][1].exec(l[1])){o=_n[t][0],r=!1!==_n[t][2];break}if(null==o)return void(e._isValid=!1);if(l[3]){for(t=0,n=c;t<n;t++)if(Cn[t][1].exec(l[3])){i=(l[2]||" ")+Cn[t][0];break}if(null==i)return void(e._isValid=!1)}if(!r&&null!=i)return void(e._isValid=!1);if(l[4]){if(!En.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=o+(i||"")+(a||""),zn(e)}else e._isValid=!1}function Pn(e,t,n,r,o,i){var a=[Ln(e),tt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(o,10)];return i&&a.push(parseInt(i,10)),a}function Ln(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Mn(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Nn(e,t,n){return!e||Ot.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(g(n).weekdayMismatch=!0,n._isValid=!1,!1)}function On(e,t,n){if(e)return jn[e];if(t)return 0;var r=parseInt(n,10),o=r%100;return(r-o)/100*60+o}function Tn(e){var t,n=Dn.exec(Mn(e._i));if(n){if(t=Pn(n[4],n[3],n[2],n[5],n[6],n[7]),!Nn(n[1],t,e))return;e._a=t,e._tzm=On(n[8],n[9],n[10]),e._d=xt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}function Fn(e){var t=Sn.exec(e._i);null===t?(An(e),!1===e._isValid&&(delete e._isValid,Tn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:r.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Rn(e,t,n){return null!=e?e:null!=t?t:n}function In(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Bn(e){var t,n,r,o,i,a=[];if(!e._d){for(r=In(e),e._w&&null==e._a[Ue]&&null==e._a[Ve]&&Wn(e),null!=e._dayOfYear&&(i=Rn(e._a[He],r[He]),(e._dayOfYear>mt(i)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),n=xt(i,0,e._dayOfYear),e._a[Ve]=n.getUTCMonth(),e._a[Ue]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[qe]&&0===e._a[Ye]&&0===e._a[Ge]&&0===e._a[Ze]&&(e._nextDay=!0,e._a[qe]=0),e._d=(e._useUTC?xt:yt).apply(null,a),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[qe]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==o&&(g(e).weekdayMismatch=!0)}}function Wn(e){var t,n,r,o,i,a,s,l,u;null!=(t=e._w).GG||null!=t.W||null!=t.E?(i=1,a=4,n=Rn(t.GG,e._a[He],wt(Zn(),1,4).year),r=Rn(t.W,1),((o=Rn(t.E,1))<1||o>7)&&(l=!0)):(i=e._locale._week.dow,a=e._locale._week.doy,u=wt(Zn(),i,a),n=Rn(t.gg,e._a[He],u.year),r=Rn(t.w,u.week),null!=t.d?((o=t.d)<0||o>6)&&(l=!0):null!=t.e?(o=t.e+i,(t.e<0||t.e>6)&&(l=!0)):o=i),r<1||r>Et(n,i,a)?g(e)._overflowWeeks=!0:null!=l?g(e)._overflowWeekday=!0:(s=kt(n,r,o,i,a),e._a[He]=s.year,e._dayOfYear=s.dayOfYear)}function zn(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],g(e).empty=!0;var t,n,o,i,a,s,l,u=""+e._i,c=u.length,d=0;for(l=(o=V(e._f,e._locale).match(F)||[]).length,t=0;t<l;t++)i=o[t],(n=(u.match(Te(i,e))||[])[0])&&((a=u.substr(0,u.indexOf(n))).length>0&&g(e).unusedInput.push(a),u=u.slice(u.indexOf(n)+n.length),d+=n.length),B[i]?(n?g(e).empty=!1:g(e).unusedTokens.push(i),ze(i,n,e)):e._strict&&!n&&g(e).unusedTokens.push(i);g(e).charsLeftOver=c-d,u.length>0&&g(e).unusedInput.push(u),e._a[qe]<=12&&!0===g(e).bigHour&&e._a[qe]>0&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[qe]=$n(e._locale,e._a[qe],e._meridiem),null!==(s=g(e).era)&&(e._a[He]=e._locale.erasConvertYear(s,e._a[He])),Bn(e),bn(e)}else Tn(e);else An(e)}function $n(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function Hn(e){var t,n,r,o,i,a,s=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;o<l;o++)i=0,a=!1,t=k({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],zn(t),v(t)&&(a=!0),i+=g(t).charsLeftOver,i+=10*g(t).unusedTokens.length,g(t).score=i,s?i<r&&(r=i,n=t):(null==r||i<r||a)&&(r=i,n=t,a&&(s=!0));f(e,n||t)}function Vn(e){if(!e._d){var t=oe(e._i),n=void 0===t.day?t.date:t.day;e._a=p([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Bn(e)}}function Un(e){var t=new w(bn(qn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function qn(e){var t=e._i,n=e._f;return e._locale=e._locale||yn(e._l),null===t||void 0===n&&""===t?y({nullInput:!0}):("string"===typeof t&&(e._i=t=e._locale.preparse(t)),E(t)?new w(bn(t)):(d(t)?e._d=t:i(n)?Hn(e):n?zn(e):Yn(e),v(e)||(e._d=null),e))}function Yn(e){var t=e._i;u(t)?e._d=new Date(r.now()):d(t)?e._d=new Date(t.valueOf()):"string"===typeof t?Fn(e):i(t)?(e._a=p(t.slice(0),(function(e){return parseInt(e,10)})),Bn(e)):a(t)?Vn(e):c(t)?e._d=new Date(t):r.createFromInputFallback(e)}function Gn(e,t,n,r,o){var s={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(a(e)&&l(e)||i(e)&&0===e.length)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=o,s._l=n,s._i=e,s._f=t,s._strict=r,Un(s)}function Zn(e,t,n,r){return Gn(e,t,n,r,!1)}r.createFromInputFallback=C("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),r.ISO_8601=function(){},r.RFC_2822=function(){};var Kn=C("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Zn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:y()})),Qn=C("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Zn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:y()}));function Xn(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return Zn();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function Jn(){return Xn("isBefore",[].slice.call(arguments,0))}function er(){return Xn("isAfter",[].slice.call(arguments,0))}var tr=function(){return Date.now?Date.now():+new Date},nr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function rr(e){var t,n,r=!1,o=nr.length;for(t in e)if(s(e,t)&&(-1===$e.call(nr,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<o;++n)if(e[nr[n]]){if(r)return!1;parseFloat(e[nr[n]])!==ce(e[nr[n]])&&(r=!0)}return!0}function or(){return this._isValid}function ir(){return jr(NaN)}function ar(e){var t=oe(e),n=t.year||0,r=t.quarter||0,o=t.month||0,i=t.week||t.isoWeek||0,a=t.day||0,s=t.hour||0,l=t.minute||0,u=t.second||0,c=t.millisecond||0;this._isValid=rr(t),this._milliseconds=+c+1e3*u+6e4*l+1e3*s*60*60,this._days=+a+7*i,this._months=+o+3*r+12*n,this._data={},this._locale=yn(),this._bubble()}function sr(e){return e instanceof ar}function lr(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function ur(e,t,n){var r,o=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0;for(r=0;r<o;r++)(n&&e[r]!==t[r]||!n&&ce(e[r])!==ce(t[r]))&&a++;return a+i}function cr(e,t){W(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+T(~~(e/60),2)+t+T(~~e%60,2)}))}cr("Z",":"),cr("ZZ",""),Oe("Z",Le),Oe("ZZ",Le),Be(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=pr(Le,e)}));var dr=/([\+\-]|\d\d)/gi;function pr(e,t){var n,r,o=(t||"").match(e);return null===o?null:0===(r=60*(n=((o[o.length-1]||[])+"").match(dr)||["-",0,0])[1]+ce(n[2]))?0:"+"===n[0]?r:-r}function fr(e,t){var n,o;return t._isUTC?(n=t.clone(),o=(E(e)||d(e)?e.valueOf():Zn(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+o),r.updateOffset(n,!1),n):Zn(e).local()}function hr(e){return-Math.round(e._d.getTimezoneOffset())}function mr(e,t,n){var o,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"===typeof e){if(null===(e=pr(Le,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(o=hr(this)),this._offset=e,this._isUTC=!0,null!=o&&this.add(o,"m"),i!==e&&(!t||this._changeInProgress?Nr(this,jr(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:hr(this)}function gr(e,t){return null!=e?("string"!==typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function vr(e){return this.utcOffset(0,e)}function yr(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(hr(this),"m")),this}function xr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var e=pr(Pe,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function br(e){return!!this.isValid()&&(e=e?Zn(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function kr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function wr(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return k(t,this),(t=qn(t))._a?(e=t._isUTC?h(t._a):Zn(t._a),this._isDSTShifted=this.isValid()&&ur(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Er(){return!!this.isValid()&&!this._isUTC}function _r(){return!!this.isValid()&&this._isUTC}function Cr(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var Sr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Dr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function jr(e,t){var n,r,o,i=e,a=null;return sr(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(a=Sr.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:ce(a[Ue])*n,h:ce(a[qe])*n,m:ce(a[Ye])*n,s:ce(a[Ge])*n,ms:ce(lr(1e3*a[Ze]))*n}):(a=Dr.exec(e))?(n="-"===a[1]?-1:1,i={y:Ar(a[2],n),M:Ar(a[3],n),w:Ar(a[4],n),d:Ar(a[5],n),h:Ar(a[6],n),m:Ar(a[7],n),s:Ar(a[8],n)}):null==i?i={}:"object"===typeof i&&("from"in i||"to"in i)&&(o=Lr(Zn(i.from),Zn(i.to)),(i={}).ms=o.milliseconds,i.M=o.months),r=new ar(i),sr(e)&&s(e,"_locale")&&(r._locale=e._locale),sr(e)&&s(e,"_isValid")&&(r._isValid=e._isValid),r}function Ar(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Pr(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Lr(e,t){var n;return e.isValid()&&t.isValid()?(t=fr(t,e),e.isBefore(t)?n=Pr(e,t):((n=Pr(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Mr(e,t){return function(n,r){var o;return null===r||isNaN(+r)||(j(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),Nr(this,jr(n,r),e),this}}function Nr(e,t,n,o){var i=t._milliseconds,a=lr(t._days),s=lr(t._months);e.isValid()&&(o=null==o||o,s&&ut(e,pe(e,"Month")+s*n),a&&fe(e,"Date",pe(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),o&&r.updateOffset(e,a||s))}jr.fn=ar.prototype,jr.invalid=ir;var Or=Mr(1,"add"),Tr=Mr(-1,"subtract");function Fr(e){return"string"===typeof e||e instanceof String}function Rr(e){return E(e)||d(e)||Fr(e)||c(e)||Br(e)||Ir(e)||null===e||void 0===e}function Ir(e){var t,n,r=a(e)&&!l(e),o=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],u=i.length;for(t=0;t<u;t+=1)n=i[t],o=o||s(e,n);return r&&o}function Br(e){var t=i(e),n=!1;return t&&(n=0===e.filter((function(t){return!c(t)&&Fr(e)})).length),t&&n}function Wr(e){var t,n,r=a(e)&&!l(e),o=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<i.length;t+=1)n=i[t],o=o||s(e,n);return r&&o}function zr(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function $r(e,t){1===arguments.length&&(arguments[0]?Rr(arguments[0])?(e=arguments[0],t=void 0):Wr(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Zn(),o=fr(n,this).startOf("day"),i=r.calendarFormat(this,o)||"sameElse",a=t&&(A(t[i])?t[i].call(this,n):t[i]);return this.format(a||this.localeData().calendar(i,this,Zn(n)))}function Hr(){return new w(this)}function Vr(e,t){var n=E(e)?e:Zn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Ur(e,t){var n=E(e)?e:Zn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function qr(e,t,n,r){var o=E(e)?e:Zn(e),i=E(t)?t:Zn(t);return!!(this.isValid()&&o.isValid()&&i.isValid())&&("("===(r=r||"()")[0]?this.isAfter(o,n):!this.isBefore(o,n))&&(")"===r[1]?this.isBefore(i,n):!this.isAfter(i,n))}function Yr(e,t){var n,r=E(e)?e:Zn(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Gr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Zr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Kr(e,t,n){var r,o,i;if(!this.isValid())return NaN;if(!(r=fr(e,this)).isValid())return NaN;switch(o=6e4*(r.utcOffset()-this.utcOffset()),t=re(t)){case"year":i=Qr(this,r)/12;break;case"month":i=Qr(this,r);break;case"quarter":i=Qr(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-o)/864e5;break;case"week":i=(this-r-o)/6048e5;break;default:i=this-r}return n?i:ue(i)}function Qr(e,t){if(e.date()<t.date())return-Qr(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Xr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Jr(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?H(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):A(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",H(n,"Z")):H(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function eo(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r,o="moment",i="";return this.isLocal()||(o=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+o+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=i+'[")]',this.format(e+t+n+r)}function to(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=H(this,e);return this.localeData().postformat(t)}function no(e,t){return this.isValid()&&(E(e)&&e.isValid()||Zn(e).isValid())?jr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ro(e){return this.from(Zn(),e)}function oo(e,t){return this.isValid()&&(E(e)&&e.isValid()||Zn(e).isValid())?jr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function io(e){return this.to(Zn(),e)}function ao(e){var t;return void 0===e?this._locale._abbr:(null!=(t=yn(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var so=C("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function lo(){return this._locale}var uo=1e3,co=60*uo,po=60*co,fo=3506328*po;function ho(e,t){return(e%t+t)%t}function mo(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-fo:new Date(e,t,n).valueOf()}function go(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-fo:Date.UTC(e,t,n)}function vo(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?go:mo,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=ho(t+(this._isUTC?0:this.utcOffset()*co),po);break;case"minute":t=this._d.valueOf(),t-=ho(t,co);break;case"second":t=this._d.valueOf(),t-=ho(t,uo)}return this._d.setTime(t),r.updateOffset(this,!0),this}function yo(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?go:mo,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=po-ho(t+(this._isUTC?0:this.utcOffset()*co),po)-1;break;case"minute":t=this._d.valueOf(),t+=co-ho(t,co)-1;break;case"second":t=this._d.valueOf(),t+=uo-ho(t,uo)-1}return this._d.setTime(t),r.updateOffset(this,!0),this}function xo(){return this._d.valueOf()-6e4*(this._offset||0)}function bo(){return Math.floor(this.valueOf()/1e3)}function ko(){return new Date(this.valueOf())}function wo(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Eo(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function _o(){return this.isValid()?this.toISOString():null}function Co(){return v(this)}function So(){return f({},g(this))}function Do(){return g(this).overflow}function jo(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ao(e,t){var n,o,i,a=this._eras||yn("en")._eras;for(n=0,o=a.length;n<o;++n)switch("string"===typeof a[n].since&&(i=r(a[n].since).startOf("day"),a[n].since=i.valueOf()),typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":i=r(a[n].until).startOf("day").valueOf(),a[n].until=i.valueOf()}return a}function Po(e,t,n){var r,o,i,a,s,l=this.eras();for(e=e.toUpperCase(),r=0,o=l.length;r<o;++r)if(i=l[r].name.toUpperCase(),a=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[r];break;case"NNNN":if(i===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if([i,a,s].indexOf(e)>=0)return l[r]}function Lo(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n}function Mo(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function No(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function Oo(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function To(){var e,t,n,o,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=i[e].since<=i[e].until?1:-1,o=this.clone().startOf("day").valueOf(),i[e].since<=o&&o<=i[e].until||i[e].until<=o&&o<=i[e].since)return(this.year()-r(i[e].since).year())*n+i[e].offset;return this.year()}function Fo(e){return s(this,"_erasNameRegex")||Ho.call(this),e?this._erasNameRegex:this._erasRegex}function Ro(e){return s(this,"_erasAbbrRegex")||Ho.call(this),e?this._erasAbbrRegex:this._erasRegex}function Io(e){return s(this,"_erasNarrowRegex")||Ho.call(this),e?this._erasNarrowRegex:this._erasRegex}function Bo(e,t){return t.erasAbbrRegex(e)}function Wo(e,t){return t.erasNameRegex(e)}function zo(e,t){return t.erasNarrowRegex(e)}function $o(e,t){return t._eraYearOrdinalRegex||je}function Ho(){var e,t,n=[],r=[],o=[],i=[],a=this.eras();for(e=0,t=a.length;e<t;++e)r.push(Re(a[e].name)),n.push(Re(a[e].abbr)),o.push(Re(a[e].narrow)),i.push(Re(a[e].name)),i.push(Re(a[e].abbr)),i.push(Re(a[e].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+o.join("|")+")","i")}function Vo(e,t){W(0,[e,e.length],0,t)}function Uo(e){return Qo.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function qo(e){return Qo.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Yo(){return Et(this.year(),1,4)}function Go(){return Et(this.isoWeekYear(),1,4)}function Zo(){var e=this.localeData()._week;return Et(this.year(),e.dow,e.doy)}function Ko(){var e=this.localeData()._week;return Et(this.weekYear(),e.dow,e.doy)}function Qo(e,t,n,r,o){var i;return null==e?wt(this,r,o).year:(t>(i=Et(e,r,o))&&(t=i),Xo.call(this,e,t,n,r,o))}function Xo(e,t,n,r,o){var i=kt(e,t,n,r,o),a=xt(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Jo(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}W("N",0,0,"eraAbbr"),W("NN",0,0,"eraAbbr"),W("NNN",0,0,"eraAbbr"),W("NNNN",0,0,"eraName"),W("NNNNN",0,0,"eraNarrow"),W("y",["y",1],"yo","eraYear"),W("y",["yy",2],0,"eraYear"),W("y",["yyy",3],0,"eraYear"),W("y",["yyyy",4],0,"eraYear"),Oe("N",Bo),Oe("NN",Bo),Oe("NNN",Bo),Oe("NNNN",Wo),Oe("NNNNN",zo),Be(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var o=n._locale.erasParse(e,r,n._strict);o?g(n).era=o:g(n).invalidEra=e})),Oe("y",je),Oe("yy",je),Oe("yyy",je),Oe("yyyy",je),Oe("yo",$o),Be(["y","yy","yyy","yyyy"],He),Be(["yo"],(function(e,t,n,r){var o;n._locale._eraYearOrdinalRegex&&(o=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[He]=n._locale.eraYearOrdinalParse(e,o):t[He]=parseInt(e,10)})),W(0,["gg",2],0,(function(){return this.weekYear()%100})),W(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Vo("gggg","weekYear"),Vo("ggggg","weekYear"),Vo("GGGG","isoWeekYear"),Vo("GGGGG","isoWeekYear"),ne("weekYear","gg"),ne("isoWeekYear","GG"),ae("weekYear",1),ae("isoWeekYear",1),Oe("G",Ae),Oe("g",Ae),Oe("GG",we,ye),Oe("gg",we,ye),Oe("GGGG",Se,be),Oe("gggg",Se,be),Oe("GGGGG",De,ke),Oe("ggggg",De,ke),We(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=ce(e)})),We(["gg","GG"],(function(e,t,n,o){t[o]=r.parseTwoDigitYear(e)})),W("Q",0,"Qo","quarter"),ne("quarter","Q"),ae("quarter",7),Oe("Q",ve),Be("Q",(function(e,t){t[Ve]=3*(ce(e)-1)})),W("D",["DD",2],"Do","date"),ne("date","D"),ae("date",9),Oe("D",we),Oe("DD",we,ye),Oe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Be(["D","DD"],Ue),Be("Do",(function(e,t){t[Ue]=ce(e.match(we)[0])}));var ei=de("Date",!0);function ti(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}W("DDD",["DDDD",3],"DDDo","dayOfYear"),ne("dayOfYear","DDD"),ae("dayOfYear",4),Oe("DDD",Ce),Oe("DDDD",xe),Be(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=ce(e)})),W("m",["mm",2],0,"minute"),ne("minute","m"),ae("minute",14),Oe("m",we),Oe("mm",we,ye),Be(["m","mm"],Ye);var ni=de("Minutes",!1);W("s",["ss",2],0,"second"),ne("second","s"),ae("second",15),Oe("s",we),Oe("ss",we,ye),Be(["s","ss"],Ge);var ri,oi,ii=de("Seconds",!1);for(W("S",0,0,(function(){return~~(this.millisecond()/100)})),W(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),W(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),W(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),W(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),W(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),W(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),ne("millisecond","ms"),ae("millisecond",16),Oe("S",Ce,ve),Oe("SS",Ce,ye),Oe("SSS",Ce,xe),ri="SSSS";ri.length<=9;ri+="S")Oe(ri,je);function ai(e,t){t[Ze]=ce(1e3*("0."+e))}for(ri="S";ri.length<=9;ri+="S")Be(ri,ai);function si(){return this._isUTC?"UTC":""}function li(){return this._isUTC?"Coordinated Universal Time":""}oi=de("Milliseconds",!1),W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var ui=w.prototype;function ci(e){return Zn(1e3*e)}function di(){return Zn.apply(null,arguments).parseZone()}function pi(e){return e}ui.add=Or,ui.calendar=$r,ui.clone=Hr,ui.diff=Kr,ui.endOf=yo,ui.format=to,ui.from=no,ui.fromNow=ro,ui.to=oo,ui.toNow=io,ui.get=he,ui.invalidAt=Do,ui.isAfter=Vr,ui.isBefore=Ur,ui.isBetween=qr,ui.isSame=Yr,ui.isSameOrAfter=Gr,ui.isSameOrBefore=Zr,ui.isValid=Co,ui.lang=so,ui.locale=ao,ui.localeData=lo,ui.max=Qn,ui.min=Kn,ui.parsingFlags=So,ui.set=me,ui.startOf=vo,ui.subtract=Tr,ui.toArray=wo,ui.toObject=Eo,ui.toDate=ko,ui.toISOString=Jr,ui.inspect=eo,"undefined"!==typeof Symbol&&null!=Symbol.for&&(ui[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ui.toJSON=_o,ui.toString=Xr,ui.unix=bo,ui.valueOf=xo,ui.creationData=jo,ui.eraName=Mo,ui.eraNarrow=No,ui.eraAbbr=Oo,ui.eraYear=To,ui.year=gt,ui.isLeapYear=vt,ui.weekYear=Uo,ui.isoWeekYear=qo,ui.quarter=ui.quarters=Jo,ui.month=ct,ui.daysInMonth=dt,ui.week=ui.weeks=jt,ui.isoWeek=ui.isoWeeks=At,ui.weeksInYear=Zo,ui.weeksInWeekYear=Ko,ui.isoWeeksInYear=Yo,ui.isoWeeksInISOWeekYear=Go,ui.date=ei,ui.day=ui.days=Vt,ui.weekday=Ut,ui.isoWeekday=qt,ui.dayOfYear=ti,ui.hour=ui.hours=rn,ui.minute=ui.minutes=ni,ui.second=ui.seconds=ii,ui.millisecond=ui.milliseconds=oi,ui.utcOffset=mr,ui.utc=vr,ui.local=yr,ui.parseZone=xr,ui.hasAlignedHourOffset=br,ui.isDST=kr,ui.isLocal=Er,ui.isUtcOffset=_r,ui.isUtc=Cr,ui.isUTC=Cr,ui.zoneAbbr=si,ui.zoneName=li,ui.dates=C("dates accessor is deprecated. Use date instead.",ei),ui.months=C("months accessor is deprecated. Use month instead",ct),ui.years=C("years accessor is deprecated. Use year instead",gt),ui.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",gr),ui.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",wr);var fi=M.prototype;function hi(e,t,n,r){var o=yn(),i=h().set(r,t);return o[n](i,e)}function mi(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return hi(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=hi(e,r,n,"month");return o}function gi(e,t,n,r){"boolean"===typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var o,i=yn(),a=e?i._week.dow:0,s=[];if(null!=n)return hi(t,(n+a)%7,r,"day");for(o=0;o<7;o++)s[o]=hi(t,(o+a)%7,r,"day");return s}function vi(e,t){return mi(e,t,"months")}function yi(e,t){return mi(e,t,"monthsShort")}function xi(e,t,n){return gi(e,t,n,"weekdays")}function bi(e,t,n){return gi(e,t,n,"weekdaysShort")}function ki(e,t,n){return gi(e,t,n,"weekdaysMin")}fi.calendar=O,fi.longDateFormat=q,fi.invalidDate=G,fi.ordinal=Q,fi.preparse=pi,fi.postformat=pi,fi.relativeTime=J,fi.pastFuture=ee,fi.set=P,fi.eras=Ao,fi.erasParse=Po,fi.erasConvertYear=Lo,fi.erasAbbrRegex=Ro,fi.erasNameRegex=Fo,fi.erasNarrowRegex=Io,fi.months=it,fi.monthsShort=at,fi.monthsParse=lt,fi.monthsRegex=ft,fi.monthsShortRegex=pt,fi.week=_t,fi.firstDayOfYear=Dt,fi.firstDayOfWeek=St,fi.weekdays=Bt,fi.weekdaysMin=zt,fi.weekdaysShort=Wt,fi.weekdaysParse=Ht,fi.weekdaysRegex=Yt,fi.weekdaysShortRegex=Gt,fi.weekdaysMinRegex=Zt,fi.isPM=tn,fi.meridiem=on,mn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===ce(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=C("moment.lang is deprecated. Use moment.locale instead.",mn),r.langData=C("moment.langData is deprecated. Use moment.localeData instead.",yn);var wi=Math.abs;function Ei(){var e=this._data;return this._milliseconds=wi(this._milliseconds),this._days=wi(this._days),this._months=wi(this._months),e.milliseconds=wi(e.milliseconds),e.seconds=wi(e.seconds),e.minutes=wi(e.minutes),e.hours=wi(e.hours),e.months=wi(e.months),e.years=wi(e.years),this}function _i(e,t,n,r){var o=jr(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function Ci(e,t){return _i(this,e,t,1)}function Si(e,t){return _i(this,e,t,-1)}function Di(e){return e<0?Math.floor(e):Math.ceil(e)}function ji(){var e,t,n,r,o,i=this._milliseconds,a=this._days,s=this._months,l=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*Di(Pi(s)+a),a=0,s=0),l.milliseconds=i%1e3,e=ue(i/1e3),l.seconds=e%60,t=ue(e/60),l.minutes=t%60,n=ue(t/60),l.hours=n%24,a+=ue(n/24),s+=o=ue(Ai(a)),a-=Di(Pi(o)),r=ue(s/12),s%=12,l.days=a,l.months=s,l.years=r,this}function Ai(e){return 4800*e/146097}function Pi(e){return 146097*e/4800}function Li(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=re(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Ai(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Pi(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function Mi(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ce(this._months/12):NaN}function Ni(e){return function(){return this.as(e)}}var Oi=Ni("ms"),Ti=Ni("s"),Fi=Ni("m"),Ri=Ni("h"),Ii=Ni("d"),Bi=Ni("w"),Wi=Ni("M"),zi=Ni("Q"),$i=Ni("y");function Hi(){return jr(this)}function Vi(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function Ui(e){return function(){return this.isValid()?this._data[e]:NaN}}var qi=Ui("milliseconds"),Yi=Ui("seconds"),Gi=Ui("minutes"),Zi=Ui("hours"),Ki=Ui("days"),Qi=Ui("months"),Xi=Ui("years");function Ji(){return ue(this.days()/7)}var ea=Math.round,ta={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function na(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}function ra(e,t,n,r){var o=jr(e).abs(),i=ea(o.as("s")),a=ea(o.as("m")),s=ea(o.as("h")),l=ea(o.as("d")),u=ea(o.as("M")),c=ea(o.as("w")),d=ea(o.as("y")),p=i<=n.ss&&["s",i]||i<n.s&&["ss",i]||a<=1&&["m"]||a<n.m&&["mm",a]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(p=p||c<=1&&["w"]||c<n.w&&["ww",c]),(p=p||u<=1&&["M"]||u<n.M&&["MM",u]||d<=1&&["y"]||["yy",d])[2]=t,p[3]=+e>0,p[4]=r,na.apply(null,p)}function oa(e){return void 0===e?ea:"function"===typeof e&&(ea=e,!0)}function ia(e,t){return void 0!==ta[e]&&(void 0===t?ta[e]:(ta[e]=t,"s"===e&&(ta.ss=t-1),!0))}function aa(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,o=!1,i=ta;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(o=e),"object"===typeof t&&(i=Object.assign({},ta,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),r=ra(this,!o,i,n=this.localeData()),o&&(r=n.pastFuture(+this,r)),n.postformat(r)}var sa=Math.abs;function la(e){return(e>0)-(e<0)||+e}function ua(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,o,i,a,s,l=sa(this._milliseconds)/1e3,u=sa(this._days),c=sa(this._months),d=this.asSeconds();return d?(e=ue(l/60),t=ue(e/60),l%=60,e%=60,n=ue(c/12),c%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",o=d<0?"-":"",i=la(this._months)!==la(d)?"-":"",a=la(this._days)!==la(d)?"-":"",s=la(this._milliseconds)!==la(d)?"-":"",o+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(u?a+u+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var ca=ar.prototype;return ca.isValid=or,ca.abs=Ei,ca.add=Ci,ca.subtract=Si,ca.as=Li,ca.asMilliseconds=Oi,ca.asSeconds=Ti,ca.asMinutes=Fi,ca.asHours=Ri,ca.asDays=Ii,ca.asWeeks=Bi,ca.asMonths=Wi,ca.asQuarters=zi,ca.asYears=$i,ca.valueOf=Mi,ca._bubble=ji,ca.clone=Hi,ca.get=Vi,ca.milliseconds=qi,ca.seconds=Yi,ca.minutes=Gi,ca.hours=Zi,ca.days=Ki,ca.weeks=Ji,ca.months=Qi,ca.years=Xi,ca.humanize=aa,ca.toISOString=ua,ca.toString=ua,ca.toJSON=ua,ca.locale=ao,ca.localeData=lo,ca.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ua),ca.lang=so,W("X",0,0,"unix"),W("x",0,0,"valueOf"),Oe("x",Ae),Oe("X",Me),Be("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Be("x",(function(e,t,n){n._d=new Date(ce(e))})),r.version="2.29.4",o(Zn),r.fn=ui,r.min=Jn,r.max=er,r.now=tr,r.utc=h,r.unix=ci,r.months=vi,r.isDate=d,r.locale=mn,r.invalid=y,r.duration=jr,r.isMoment=E,r.weekdays=xi,r.parseZone=di,r.localeData=yn,r.isDuration=sr,r.monthsShort=yi,r.weekdaysMin=ki,r.defineLocale=gn,r.updateLocale=vn,r.locales=xn,r.weekdaysShort=bi,r.normalizeUnits=re,r.relativeTimeRounding=oa,r.relativeTimeThreshold=ia,r.calendarFormat=zr,r.prototype=ui,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()},2123:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,o){for(var i,a,s=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var u in i=Object(arguments[l]))n.call(i,u)&&(s[u]=i[u]);if(t){a=t(i);for(var c=0;c<a.length;c++)r.call(i,a[c])&&(s[a[c]]=i[a[c]])}}return s}},1497:(e,t,n)=>{"use strict";var r=n(3218);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},5173:(e,t,n)=>{e.exports=n(1497)()},3218:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},3343:(e,t,n)=>{var r=n(5957);function o(e){this.mode=r.MODE_8BIT_BYTE,this.data=e}o.prototype={getLength:function(e){return this.data.length},write:function(e){for(var t=0;t<this.data.length;t++)e.put(this.data.charCodeAt(t),8)}},e.exports=o},8813:e=>{function t(){this.buffer=new Array,this.length=0}t.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var n=0;n<t;n++)this.putBit(1==(e>>>t-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=t},7742:e=>{e.exports={L:1,M:0,Q:3,H:2}},392:(e,t,n)=>{var r=n(4460);function o(e,t){if(void 0==e.length)throw new Error(e.length+"/"+t);for(var n=0;n<e.length&&0==e[n];)n++;this.num=new Array(e.length-n+t);for(var r=0;r<e.length-n;r++)this.num[r]=e[r+n]}o.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(e){for(var t=new Array(this.getLength()+e.getLength()-1),n=0;n<this.getLength();n++)for(var i=0;i<e.getLength();i++)t[n+i]^=r.gexp(r.glog(this.get(n))+r.glog(e.get(i)));return new o(t,0)},mod:function(e){if(this.getLength()-e.getLength()<0)return this;for(var t=r.glog(this.get(0))-r.glog(e.get(0)),n=new Array(this.getLength()),i=0;i<this.getLength();i++)n[i]=this.get(i);for(i=0;i<e.getLength();i++)n[i]^=r.gexp(r.glog(e.get(i))+t);return new o(n,0).mod(e)}},e.exports=o},1612:(e,t,n)=>{var r=n(3343),o=n(5436),i=n(8813),a=n(9898),s=n(392);function l(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}var u=l.prototype;u.addData=function(e){var t=new r(e);this.dataList.push(t),this.dataCache=null},u.isDark=function(e,t){if(e<0||this.moduleCount<=e||t<0||this.moduleCount<=t)throw new Error(e+","+t);return this.modules[e][t]},u.getModuleCount=function(){return this.moduleCount},u.make=function(){if(this.typeNumber<1){var e=1;for(e=1;e<40;e++){for(var t=o.getRSBlocks(e,this.errorCorrectLevel),n=new i,r=0,s=0;s<t.length;s++)r+=t[s].dataCount;for(s=0;s<this.dataList.length;s++){var l=this.dataList[s];n.put(l.mode,4),n.put(l.getLength(),a.getLengthInBits(l.mode,e)),l.write(n)}if(n.getLengthInBits()<=8*r)break}this.typeNumber=e}this.makeImpl(!1,this.getBestMaskPattern())},u.makeImpl=function(e,t){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++){this.modules[n]=new Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++)this.modules[n][r]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(e,t),this.typeNumber>=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=l.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,t)},u.setupPositionProbePattern=function(e,t){for(var n=-1;n<=7;n++)if(!(e+n<=-1||this.moduleCount<=e+n))for(var r=-1;r<=7;r++)t+r<=-1||this.moduleCount<=t+r||(this.modules[e+n][t+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},u.getBestMaskPattern=function(){for(var e=0,t=0,n=0;n<8;n++){this.makeImpl(!0,n);var r=a.getLostPoint(this);(0==n||e>r)&&(e=r,t=n)}return t},u.createMovieClip=function(e,t,n){var r=e.createEmptyMovieClip(t,n);this.make();for(var o=0;o<this.modules.length;o++)for(var i=1*o,a=0;a<this.modules[o].length;a++){var s=1*a;this.modules[o][a]&&(r.beginFill(0,100),r.moveTo(s,i),r.lineTo(s+1,i),r.lineTo(s+1,i+1),r.lineTo(s,i+1),r.endFill())}return r},u.setupTimingPattern=function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=e%2==0);for(var t=8;t<this.moduleCount-8;t++)null==this.modules[6][t]&&(this.modules[6][t]=t%2==0)},u.setupPositionAdjustPattern=function(){for(var e=a.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var n=0;n<e.length;n++){var r=e[t],o=e[n];if(null==this.modules[r][o])for(var i=-2;i<=2;i++)for(var s=-2;s<=2;s++)this.modules[r+i][o+s]=-2==i||2==i||-2==s||2==s||0==i&&0==s}},u.setupTypeNumber=function(e){for(var t=a.getBCHTypeNumber(this.typeNumber),n=0;n<18;n++){var r=!e&&1==(t>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=r}for(n=0;n<18;n++){r=!e&&1==(t>>n&1);this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=r}},u.setupTypeInfo=function(e,t){for(var n=this.errorCorrectLevel<<3|t,r=a.getBCHTypeInfo(n),o=0;o<15;o++){var i=!e&&1==(r>>o&1);o<6?this.modules[o][8]=i:o<8?this.modules[o+1][8]=i:this.modules[this.moduleCount-15+o][8]=i}for(o=0;o<15;o++){i=!e&&1==(r>>o&1);o<8?this.modules[8][this.moduleCount-o-1]=i:o<9?this.modules[8][15-o-1+1]=i:this.modules[8][15-o-1]=i}this.modules[this.moduleCount-8][8]=!e},u.mapData=function(e,t){for(var n=-1,r=this.moduleCount-1,o=7,i=0,s=this.moduleCount-1;s>0;s-=2)for(6==s&&s--;;){for(var l=0;l<2;l++)if(null==this.modules[r][s-l]){var u=!1;i<e.length&&(u=1==(e[i]>>>o&1)),a.getMask(t,r,s-l)&&(u=!u),this.modules[r][s-l]=u,-1==--o&&(i++,o=7)}if((r+=n)<0||this.moduleCount<=r){r-=n,n=-n;break}}},l.PAD0=236,l.PAD1=17,l.createData=function(e,t,n){for(var r=o.getRSBlocks(e,t),s=new i,u=0;u<n.length;u++){var c=n[u];s.put(c.mode,4),s.put(c.getLength(),a.getLengthInBits(c.mode,e)),c.write(s)}var d=0;for(u=0;u<r.length;u++)d+=r[u].dataCount;if(s.getLengthInBits()>8*d)throw new Error("code length overflow. ("+s.getLengthInBits()+">"+8*d+")");for(s.getLengthInBits()+4<=8*d&&s.put(0,4);s.getLengthInBits()%8!=0;)s.putBit(!1);for(;!(s.getLengthInBits()>=8*d)&&(s.put(l.PAD0,8),!(s.getLengthInBits()>=8*d));)s.put(l.PAD1,8);return l.createBytes(s,r)},l.createBytes=function(e,t){for(var n=0,r=0,o=0,i=new Array(t.length),l=new Array(t.length),u=0;u<t.length;u++){var c=t[u].dataCount,d=t[u].totalCount-c;r=Math.max(r,c),o=Math.max(o,d),i[u]=new Array(c);for(var p=0;p<i[u].length;p++)i[u][p]=255&e.buffer[p+n];n+=c;var f=a.getErrorCorrectPolynomial(d),h=new s(i[u],f.getLength()-1).mod(f);l[u]=new Array(f.getLength()-1);for(p=0;p<l[u].length;p++){var m=p+h.getLength()-l[u].length;l[u][p]=m>=0?h.get(m):0}}var g=0;for(p=0;p<t.length;p++)g+=t[p].totalCount;var v=new Array(g),y=0;for(p=0;p<r;p++)for(u=0;u<t.length;u++)p<i[u].length&&(v[y++]=i[u][p]);for(p=0;p<o;p++)for(u=0;u<t.length;u++)p<l[u].length&&(v[y++]=l[u][p]);return v},e.exports=l},5436:(e,t,n)=>{var r=n(7742);function o(e,t){this.totalCount=e,this.dataCount=t}o.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],o.getRSBlocks=function(e,t){var n=o.getRsBlockTable(e,t);if(void 0==n)throw new Error("bad rs block @ typeNumber:"+e+"/errorCorrectLevel:"+t);for(var r=n.length/3,i=new Array,a=0;a<r;a++)for(var s=n[3*a+0],l=n[3*a+1],u=n[3*a+2],c=0;c<s;c++)i.push(new o(l,u));return i},o.getRsBlockTable=function(e,t){switch(t){case r.L:return o.RS_BLOCK_TABLE[4*(e-1)+0];case r.M:return o.RS_BLOCK_TABLE[4*(e-1)+1];case r.Q:return o.RS_BLOCK_TABLE[4*(e-1)+2];case r.H:return o.RS_BLOCK_TABLE[4*(e-1)+3];default:return}},e.exports=o},4460:e=>{for(var t={glog:function(e){if(e<1)throw new Error("glog("+e+")");return t.LOG_TABLE[e]},gexp:function(e){for(;e<0;)e+=255;for(;e>=256;)e-=255;return t.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},n=0;n<8;n++)t.EXP_TABLE[n]=1<<n;for(n=8;n<256;n++)t.EXP_TABLE[n]=t.EXP_TABLE[n-4]^t.EXP_TABLE[n-5]^t.EXP_TABLE[n-6]^t.EXP_TABLE[n-8];for(n=0;n<255;n++)t.LOG_TABLE[t.EXP_TABLE[n]]=n;e.exports=t},5957:e=>{e.exports={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8}},9898:(e,t,n)=>{var r=n(5957),o=n(392),i=n(4460),a=0,s=1,l=2,u=3,c=4,d=5,p=6,f=7,h={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(e){for(var t=e<<10;h.getBCHDigit(t)-h.getBCHDigit(h.G15)>=0;)t^=h.G15<<h.getBCHDigit(t)-h.getBCHDigit(h.G15);return(e<<10|t)^h.G15_MASK},getBCHTypeNumber:function(e){for(var t=e<<12;h.getBCHDigit(t)-h.getBCHDigit(h.G18)>=0;)t^=h.G18<<h.getBCHDigit(t)-h.getBCHDigit(h.G18);return e<<12|t},getBCHDigit:function(e){for(var t=0;0!=e;)t++,e>>>=1;return t},getPatternPosition:function(e){return h.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,n){switch(e){case a:return(t+n)%2==0;case s:return t%2==0;case l:return n%3==0;case u:return(t+n)%3==0;case c:return(Math.floor(t/2)+Math.floor(n/3))%2==0;case d:return t*n%2+t*n%3==0;case p:return(t*n%2+t*n%3)%2==0;case f:return(t*n%3+(t+n)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new o([1],0),n=0;n<e;n++)t=t.multiply(new o([1,i.gexp(n)],0));return t},getLengthInBits:function(e,t){if(1<=t&&t<10)switch(e){case r.MODE_NUMBER:return 10;case r.MODE_ALPHA_NUM:return 9;case r.MODE_8BIT_BYTE:case r.MODE_KANJI:return 8;default:throw new Error("mode:"+e)}else if(t<27)switch(e){case r.MODE_NUMBER:return 12;case r.MODE_ALPHA_NUM:return 11;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 10;default:throw new Error("mode:"+e)}else{if(!(t<41))throw new Error("type:"+t);switch(e){case r.MODE_NUMBER:return 14;case r.MODE_ALPHA_NUM:return 13;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 12;default:throw new Error("mode:"+e)}}},getLostPoint:function(e){for(var t=e.getModuleCount(),n=0,r=0;r<t;r++)for(var o=0;o<t;o++){for(var i=0,a=e.isDark(r,o),s=-1;s<=1;s++)if(!(r+s<0||t<=r+s))for(var l=-1;l<=1;l++)o+l<0||t<=o+l||0==s&&0==l||a==e.isDark(r+s,o+l)&&i++;i>5&&(n+=3+i-5)}for(r=0;r<t-1;r++)for(o=0;o<t-1;o++){var u=0;e.isDark(r,o)&&u++,e.isDark(r+1,o)&&u++,e.isDark(r,o+1)&&u++,e.isDark(r+1,o+1)&&u++,0!=u&&4!=u||(n+=3)}for(r=0;r<t;r++)for(o=0;o<t-6;o++)e.isDark(r,o)&&!e.isDark(r,o+1)&&e.isDark(r,o+2)&&e.isDark(r,o+3)&&e.isDark(r,o+4)&&!e.isDark(r,o+5)&&e.isDark(r,o+6)&&(n+=40);for(o=0;o<t;o++)for(r=0;r<t-6;r++)e.isDark(r,o)&&!e.isDark(r+1,o)&&e.isDark(r+2,o)&&e.isDark(r+3,o)&&e.isDark(r+4,o)&&!e.isDark(r+5,o)&&e.isDark(r+6,o)&&(n+=40);var c=0;for(o=0;o<t;o++)for(r=0;r<t;r++)e.isDark(r,o)&&c++;return n+=10*(Math.abs(100*c/t/t-50)/5)}};e.exports=h},1151:function(e,t,n){var r;"undefined"!=typeof self&&self,e.exports=(r=n(5043),function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=2)}([function(e,t){e.exports=r},function(e,t,n){"use strict";var r={linear:function(e,t,n,r){return(n-t)*e/r+t},easeInQuad:function(e,t,n,r){return(n-t)*(e/=r)*e+t},easeOutQuad:function(e,t,n,r){return-(n-t)*(e/=r)*(e-2)+t},easeInOutQuad:function(e,t,n,r){var o=n-t;return(e/=r/2)<1?o/2*e*e+t:-o/2*(--e*(e-2)-1)+t},easeInCubic:function(e,t,n,r){return(n-t)*(e/=r)*e*e+t},easeOutCubic:function(e,t,n,r){return(n-t)*((e=e/r-1)*e*e+1)+t},easeInOutCubic:function(e,t,n,r){var o=n-t;return(e/=r/2)<1?o/2*e*e*e+t:o/2*((e-=2)*e*e+2)+t},easeInQuart:function(e,t,n,r){return(n-t)*(e/=r)*e*e*e+t},easeOutQuart:function(e,t,n,r){return-(n-t)*((e=e/r-1)*e*e*e-1)+t},easeInOutQuart:function(e,t,n,r){var o=n-t;return(e/=r/2)<1?o/2*e*e*e*e+t:-o/2*((e-=2)*e*e*e-2)+t},easeInQuint:function(e,t,n,r){return(n-t)*(e/=r)*e*e*e*e+t},easeOutQuint:function(e,t,n,r){return(n-t)*((e=e/r-1)*e*e*e*e+1)+t},easeInOutQuint:function(e,t,n,r){var o=n-t;return(e/=r/2)<1?o/2*e*e*e*e*e+t:o/2*((e-=2)*e*e*e*e+2)+t},easeInSine:function(e,t,n,r){var o=n-t;return-o*Math.cos(e/r*(Math.PI/2))+o+t},easeOutSine:function(e,t,n,r){return(n-t)*Math.sin(e/r*(Math.PI/2))+t},easeInOutSine:function(e,t,n,r){return-(n-t)/2*(Math.cos(Math.PI*e/r)-1)+t},easeInExpo:function(e,t,n,r){return 0==e?t:(n-t)*Math.pow(2,10*(e/r-1))+t},easeOutExpo:function(e,t,n,r){var o=n-t;return e==r?t+o:o*(1-Math.pow(2,-10*e/r))+t},easeInOutExpo:function(e,t,n,r){var o=n-t;return 0===e?t:e===r?t+o:(e/=r/2)<1?o/2*Math.pow(2,10*(e-1))+t:o/2*(2-Math.pow(2,-10*--e))+t},easeInCirc:function(e,t,n,r){return-(n-t)*(Math.sqrt(1-(e/=r)*e)-1)+t},easeOutCirc:function(e,t,n,r){return(n-t)*Math.sqrt(1-(e=e/r-1)*e)+t},easeInOutCirc:function(e,t,n,r){var o=n-t;return(e/=r/2)<1?-o/2*(Math.sqrt(1-e*e)-1)+t:o/2*(Math.sqrt(1-(e-=2)*e)+1)+t},easeInElastic:function(e,t,n,r){var o,i,a,s=n-t;return a=1.70158,0===e?t:1==(e/=r)?t+s:((i=0)||(i=.3*r),(o=s)<Math.abs(s)?(o=s,a=i/4):a=i/(2*Math.PI)*Math.asin(s/o),-o*Math.pow(2,10*(e-=1))*Math.sin((e*r-a)*(2*Math.PI)/i)+t)},easeOutElastic:function(e,t,n,r){var o,i,a,s=n-t;return a=1.70158,0===e?t:1==(e/=r)?t+s:((i=0)||(i=.3*r),(o=s)<Math.abs(s)?(o=s,a=i/4):a=i/(2*Math.PI)*Math.asin(s/o),o*Math.pow(2,-10*e)*Math.sin((e*r-a)*(2*Math.PI)/i)+s+t)},easeInOutElastic:function(e,t,n,r){var o,i,a,s=n-t;return a=1.70158,0===e?t:2==(e/=r/2)?t+s:((i=0)||(i=r*(.3*1.5)),(o=s)<Math.abs(s)?(o=s,a=i/4):a=i/(2*Math.PI)*Math.asin(s/o),e<1?o*Math.pow(2,10*(e-=1))*Math.sin((e*r-a)*(2*Math.PI)/i)*-.5+t:o*Math.pow(2,-10*(e-=1))*Math.sin((e*r-a)*(2*Math.PI)/i)*.5+s+t)},easeInBack:function(e,t,n,r,o){return void 0===o&&(o=1.70158),(n-t)*(e/=r)*e*((o+1)*e-o)+t},easeOutBack:function(e,t,n,r,o){return void 0===o&&(o=1.70158),(n-t)*((e=e/r-1)*e*((o+1)*e+o)+1)+t},easeInOutBack:function(e,t,n,r,o){var i=n-t;return void 0===o&&(o=1.70158),(e/=r/2)<1?i/2*(e*e*((1+(o*=1.525))*e-o))+t:i/2*((e-=2)*e*((1+(o*=1.525))*e+o)+2)+t},easeInBounce:function(e,t,n,o){var i=n-t;return i-r.easeOutBounce(o-e,0,i,o)+t},easeOutBounce:function(e,t,n,r){var o=n-t;return(e/=r)<1/2.75?o*(7.5625*e*e)+t:e<2/2.75?o*(7.5625*(e-=1.5/2.75)*e+.75)+t:e<2.5/2.75?o*(7.5625*(e-=2.25/2.75)*e+.9375)+t:o*(7.5625*(e-=2.625/2.75)*e+.984375)+t},easeInOutBounce:function(e,t,n,o){var i=n-t;return e<o/2?.5*r.easeInBounce(2*e,0,i,o)+t:.5*r.easeOutBounce(2*e-o,0,i,o)+.5*i+t}};e.exports=r},function(e,t,n){e.exports=n(3)},function(e,t,n){"use strict";n.r(t),n.d(t,"ReactConfetti",(function(){return W}));var r,o,i=n(0),a=n.n(i),s=n(1),l=n.n(s);function u(e,t){return e+Math.random()*(t-e)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e){e[e.Circle=0]="Circle",e[e.Square=1]="Square",e[e.Strip=2]="Strip"}(r||(r={})),function(e){e[e.Positive=1]="Positive",e[e.Negative=-1]="Negative"}(o||(o={}));var p=function(){function e(t,n,r,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),d(this,"context",void 0),d(this,"radius",void 0),d(this,"x",void 0),d(this,"y",void 0),d(this,"w",void 0),d(this,"h",void 0),d(this,"vx",void 0),d(this,"vy",void 0),d(this,"shape",void 0),d(this,"angle",void 0),d(this,"angularSpin",void 0),d(this,"color",void 0),d(this,"rotateY",void 0),d(this,"rotationDirection",void 0),d(this,"getOptions",void 0),this.getOptions=n;var a,s,l=this.getOptions(),c=l.colors,p=l.initialVelocityX,f=l.initialVelocityY;this.context=t,this.x=r,this.y=i,this.w=u(5,20),this.h=u(5,20),this.radius=u(5,10),this.vx="number"==typeof p?u(-p,p):u(p.min,p.max),this.vy="number"==typeof f?u(-f,0):u(f.min,f.max),this.shape=(a=0,s=2,Math.floor(a+Math.random()*(s-a+1))),this.angle=u(0,360)*Math.PI/180,this.angularSpin=u(-.2,.2),this.color=c[Math.floor(Math.random()*c.length)],this.rotateY=u(0,1),this.rotationDirection=u(0,1)?o.Positive:o.Negative}var t,n,i;return t=e,(n=[{key:"update",value:function(){var e=this.getOptions(),t=e.gravity,n=e.wind,i=e.friction,a=e.opacity,s=e.drawShape;this.x+=this.vx,this.y+=this.vy,this.vy+=t,this.vx+=n,this.vx*=i,this.vy*=i,this.rotateY>=1&&this.rotationDirection===o.Positive?this.rotationDirection=o.Negative:this.rotateY<=-1&&this.rotationDirection===o.Negative&&(this.rotationDirection=o.Positive);var l=.1*this.rotationDirection;if(this.rotateY+=l,this.angle+=this.angularSpin,this.context.save(),this.context.translate(this.x,this.y),this.context.rotate(this.angle),this.context.scale(1,this.rotateY),this.context.rotate(this.angle),this.context.beginPath(),this.context.fillStyle=this.color,this.context.strokeStyle=this.color,this.context.globalAlpha=a,this.context.lineCap="round",this.context.lineWidth=2,s&&"function"==typeof s)s.call(this,this.context);else switch(this.shape){case r.Circle:this.context.beginPath(),this.context.arc(0,0,this.radius,0,2*Math.PI),this.context.fill();break;case r.Square:this.context.fillRect(-this.w/2,-this.h/2,this.w,this.h);break;case r.Strip:this.context.fillRect(-this.w/6,-this.h/2,this.w/3,this.h)}this.context.closePath(),this.context.restore()}}])&&c(t.prototype,n),i&&c(t,i),e}();function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=function e(t,n){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),f(this,"canvas",void 0),f(this,"context",void 0),f(this,"getOptions",void 0),f(this,"x",0),f(this,"y",0),f(this,"w",0),f(this,"h",0),f(this,"lastNumberOfPieces",0),f(this,"tweenInitTime",Date.now()),f(this,"particles",[]),f(this,"particlesGenerated",0),f(this,"removeParticleAt",(function(e){r.particles.splice(e,1)})),f(this,"getParticle",(function(){var e=u(r.x,r.w+r.x),t=u(r.y,r.h+r.y);return new p(r.context,r.getOptions,e,t)})),f(this,"animate",(function(){var e=r.canvas,t=r.context,n=r.particlesGenerated,o=r.lastNumberOfPieces,i=r.getOptions(),a=i.run,s=i.recycle,l=i.numberOfPieces,u=i.debug,c=i.tweenFunction,d=i.tweenDuration;if(!a)return!1;var p=r.particles.length,f=s?p:n,h=Date.now();if(f<l){o!==l&&(r.tweenInitTime=h,r.lastNumberOfPieces=l);for(var m=r.tweenInitTime,g=c(h-m>d?d:Math.max(0,h-m),f,l,d),v=Math.round(g-f),y=0;y<v;y++)r.particles.push(r.getParticle());r.particlesGenerated+=v}return u&&(t.font="12px sans-serif",t.fillStyle="#333",t.textAlign="right",t.fillText("Particles: ".concat(p),e.width-10,e.height-20)),r.particles.forEach((function(t,n){t.update(),(t.y>e.height||t.y<-100||t.x>e.width+100||t.x<-100)&&(s&&f<=l?r.particles[n]=r.getParticle():r.removeParticleAt(n))})),p>0||f<l})),this.canvas=t;var o=this.canvas.getContext("2d");if(!o)throw new Error("Could not get canvas context");this.context=o,this.getOptions=n};function m(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 g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x={width:"undefined"!=typeof window?window.innerWidth:300,height:"undefined"!=typeof window?window.innerHeight:200,numberOfPieces:200,friction:.99,wind:0,gravity:.1,initialVelocityX:4,initialVelocityY:10,colors:["#f44336","#e91e63","#9c27b0","#673ab7","#3f51b5","#2196f3","#03a9f4","#00bcd4","#009688","#4CAF50","#8BC34A","#CDDC39","#FFEB3B","#FFC107","#FF9800","#FF5722","#795548"],opacity:1,debug:!1,tweenFunction:l.a.easeInOutQuad,tweenDuration:5e3,recycle:!0,run:!0},b=function(){function e(t,n){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),y(this,"canvas",void 0),y(this,"context",void 0),y(this,"_options",void 0),y(this,"generator",void 0),y(this,"rafId",void 0),y(this,"setOptionsWithDefaults",(function(e){var t={confettiSource:{x:0,y:0,w:r.canvas.width,h:0}};r._options=g(g(g({},t),x),e),Object.assign(r,e.confettiSource)})),y(this,"update",(function(){var e=r.options,t=e.run,n=e.onConfettiComplete,o=r.canvas,i=r.context;t&&(i.fillStyle="white",i.clearRect(0,0,o.width,o.height)),r.generator.animate()?r.rafId=requestAnimationFrame(r.update):(n&&"function"==typeof n&&r.generator.particlesGenerated>0&&n.call(r,r),r._options.run=!1)})),y(this,"reset",(function(){r.generator&&r.generator.particlesGenerated>0&&(r.generator.particlesGenerated=0,r.generator.particles=[],r.generator.lastNumberOfPieces=0)})),y(this,"stop",(function(){r.options={run:!1},r.rafId&&(cancelAnimationFrame(r.rafId),r.rafId=void 0)})),this.canvas=t;var o=this.canvas.getContext("2d");if(!o)throw new Error("Could not get canvas context");this.context=o,this.generator=new h(this.canvas,(function(){return r.options})),this.options=n,this.update()}var t,n,r;return t=e,(n=[{key:"options",get:function(){return this._options},set:function(e){var t=this._options&&this._options.run,n=this._options&&this._options.recycle;this.setOptionsWithDefaults(e),this.generator&&(Object.assign(this.generator,this.options.confettiSource),"boolean"==typeof e.recycle&&e.recycle&&!1===n&&(this.generator.lastNumberOfPieces=this.generator.particles.length)),"boolean"==typeof e.run&&e.run&&!1===t&&this.update()}}])&&v(t.prototype,n),r&&v(t,r),e}();function k(e){return function(e){if(Array.isArray(e))return j(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||D(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function E(){return(E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function _(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 C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){F(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function S(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}(e,t)||D(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 D(e,t){if(e){if("string"==typeof e)return j(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?j(e,t):void 0}}function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function L(e,t){return(L=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function M(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=T(e);if(t){var o=T(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return N(this,n)}}function N(e,t){return!t||"object"!==w(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function F(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var R=a.a.createRef(),I=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&L(e,t)}(i,e);var t,n,r,o=M(i);function i(e){var t;A(this,i);for(var n=arguments.length,r=new Array(n>1?n-1:0),s=1;s<n;s++)r[s-1]=arguments[s];return F(O(t=o.call.apply(o,[this,e].concat(r))),"canvas",a.a.createRef()),F(O(t),"confetti",void 0),t.canvas=e.canvasRef||R,t}return t=i,(n=[{key:"componentDidMount",value:function(){if(this.canvas.current){var e=B(this.props)[0];this.confetti=new b(this.canvas.current,e)}}},{key:"componentDidUpdate",value:function(){var e=B(this.props)[0];this.confetti&&(this.confetti.options=e)}},{key:"componentWillUnmount",value:function(){this.confetti&&this.confetti.stop(),this.confetti=void 0}},{key:"render",value:function(){var e=S(B(this.props),2),t=e[0],n=e[1],r=C({zIndex:2,position:"absolute",pointerEvents:"none",top:0,left:0,bottom:0,right:0},n.style);return a.a.createElement("canvas",E({width:t.width,height:t.height,ref:this.canvas},n,{style:r}))}}])&&P(t.prototype,n),r&&P(t,r),i}(i.Component);function B(e){var t={},n={},r=[].concat(k(Object.keys(x)),["confettiSource","drawShape","onConfettiComplete"]),o=["canvasRef"];for(var i in e){var a=e[i];r.includes(i)?t[i]=a:o.includes(i)?o[i]=a:n[i]=a}return[t,n,{}]}F(I,"defaultProps",C({},x)),F(I,"displayName","ReactConfetti");var W=a.a.forwardRef((function(e,t){return a.a.createElement(I,E({canvasRef:t},e))}));t.default=W}]).default)},8738:(e,t,n)=>{"use strict";var r,o=n(5043),i=(r=o)&&"object"===typeof r&&"default"in r?r.default:r,a=n(2751),s=new a,l=s.getBrowser(),u=s.getCPU(),c=s.getDevice(),d=s.getEngine(),p=s.getOS(),f=s.getUA(),h=function(e){return s.setUA(e)},m=function(e){if(e){var t=new a(e);return{UA:t,browser:t.getBrowser(),cpu:t.getCPU(),device:t.getDevice(),engine:t.getEngine(),os:t.getOS(),ua:t.getUA(),setUserAgent:function(e){return t.setUA(e)}}}console.error("No userAgent string was provided")},g=Object.freeze({ClientUAInstance:s,browser:l,cpu:u,device:c,engine:d,os:p,ua:f,setUa:h,parseUserAgent:m});function v(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 y(e){return y="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},y(e)}function x(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function k(){return k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},k.apply(this,arguments)}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}function E(e,t){return E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},E(e,t)}function _(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return D(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return D(e,t)}(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 D(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var j="mobile",A="tablet",P="smarttv",L="console",M="wearable",N="embedded",O=void 0,T={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",EdgeChromium:"Edge Chromium",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},F={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},R={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},I=function(e){return e||(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none")},B=function(){return!("undefined"===typeof window||!window.navigator&&!navigator)&&(window.navigator||navigator)},W=function(e){var t=B();return t&&t.platform&&(-1!==t.platform.indexOf(e)||"MacIntel"===t.platform&&t.maxTouchPoints>1&&!window.MSStream)},z=function(e,t,n,r){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{vendor:I(t.vendor),model:I(t.model),os:I(n.name),osVersion:I(n.version),ua:I(r)})};var $=function(e){return e.type===j},H=function(e){return e.type===A},V=function(e){var t=e.type;return t===j||t===A},U=function(e){return e.type===P},q=function(e){return e.type===O},Y=function(e){return e.type===M},G=function(e){return e.type===L},Z=function(e){return e.type===N},K=function(e){var t=e.vendor;return I(t)},Q=function(e){var t=e.model;return I(t)},X=function(e){var t=e.type;return I(t,"browser")},J=function(e){return e.name===F.Android},ee=function(e){return e.name===F.Windows},te=function(e){return e.name===F.MAC_OS},ne=function(e){return e.name===F.WindowsPhone},re=function(e){return e.name===F.IOS},oe=function(e){var t=e.version;return I(t)},ie=function(e){var t=e.name;return I(t)},ae=function(e){return e.name===T.Chrome},se=function(e){return e.name===T.Firefox},le=function(e){return e.name===T.Chromium},ue=function(e){return e.name===T.Edge},ce=function(e){return e.name===T.Yandex},de=function(e){var t=e.name;return t===T.Safari||t===T.MobileSafari},pe=function(e){return e.name===T.MobileSafari},fe=function(e){return e.name===T.Opera},he=function(e){var t=e.name;return t===T.InternetExplorer||t===T.Ie},me=function(e){return e.name===T.MIUI},ge=function(e){return e.name===T.SamsungBrowser},ve=function(e){var t=e.version;return I(t)},ye=function(e){var t=e.major;return I(t)},xe=function(e){var t=e.name;return I(t)},be=function(e){var t=e.name;return I(t)},ke=function(e){var t=e.version;return I(t)},we=function(){var e=B(),t=e&&e.userAgent&&e.userAgent.toLowerCase();return"string"===typeof t&&/electron/.test(t)},Ee=function(e){return"string"===typeof e&&-1!==e.indexOf("Edg/")},_e=function(){var e=B();return e&&(/iPad|iPhone|iPod/.test(e.platform)||"MacIntel"===e.platform&&e.maxTouchPoints>1)&&!window.MSStream},Ce=function(){return W("iPad")},Se=function(){return W("iPhone")},De=function(){return W("iPod")},je=function(e){return I(e)};function Ae(e){var t=e||g,n=t.device,r=t.browser,o=t.os,i=t.engine,a=t.ua;return{isSmartTV:U(n),isConsole:G(n),isWearable:Y(n),isEmbedded:Z(n),isMobileSafari:pe(r)||Ce(),isChromium:le(r),isMobile:V(n)||Ce(),isMobileOnly:$(n),isTablet:H(n)||Ce(),isBrowser:q(n),isDesktop:q(n),isAndroid:J(o),isWinPhone:ne(o),isIOS:re(o)||Ce(),isChrome:ae(r),isFirefox:se(r),isSafari:de(r),isOpera:fe(r),isIE:he(r),osVersion:oe(o),osName:ie(o),fullBrowserVersion:ve(r),browserVersion:ye(r),browserName:xe(r),mobileVendor:K(n),mobileModel:Q(n),engineName:be(i),engineVersion:ke(i),getUA:je(a),isEdge:ue(r)||Ee(a),isYandex:ce(r),deviceType:X(n),isIOS13:_e(),isIPad13:Ce(),isIPhone13:Se(),isIPod13:De(),isElectron:we(),isEdgeChromium:Ee(a),isLegacyEdge:ue(r)&&!Ee(a),isWindows:ee(o),isMacOs:te(o),isMIUI:me(r),isSamsungBrowser:ge(r)}}var Pe=U(c),Le=G(c),Me=Y(c),Ne=Z(c),Oe=pe(l)||Ce(),Te=le(l),Fe=V(c)||Ce(),Re=$(c),Ie=H(c)||Ce(),Be=q(c),We=q(c),ze=J(p),$e=ne(p),He=re(p)||Ce(),Ve=ae(l),Ue=se(l),qe=de(l),Ye=fe(l),Ge=he(l),Ze=oe(p),Ke=ie(p),Qe=ve(l),Xe=ye(l),Je=xe(l),et=K(c),tt=Q(c),nt=be(d),rt=ke(d),ot=je(f),it=ue(l)||Ee(f),at=ce(l),st=X(c),lt=_e(),ut=Ce(),ct=Se(),dt=De(),pt=we(),ft=Ee(f),ht=ue(l)&&!Ee(f),mt=ee(p),gt=te(p),vt=me(l),yt=ge(l);function xt(e){var t=e||window.navigator.userAgent;return m(t)}t.Fr=Fe},2730:(e,t,n)=>{"use strict";var r=n(5043),o=n(2123),i=n(8853);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));var s=new Set,l={};function u(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(l[e]=t,e=0;e<t.length;e++)s.add(t[e])}var d=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),p=/^[: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]*$/,f=Object.prototype.hasOwnProperty,h={},m={};function g(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){v[e]=new g(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];v[t]=new g(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){v[e]=new g(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){v[e]=new g(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){v[e]=new g(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){v[e]=new g(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){v[e]=new g(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){v[e]=new g(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){v[e]=new g(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function x(e){return e[1].toUpperCase()}function b(e,t,n,r){var o=v.hasOwnProperty(t)?v[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!f.call(m,e)||!f.call(h,e)&&(p.test(e)?m[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,x);v[t]=new g(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,x);v[t]=new g(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,x);v[t]=new g(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)}));var k=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=60103,E=60106,_=60107,C=60108,S=60114,D=60109,j=60110,A=60112,P=60113,L=60120,M=60115,N=60116,O=60121,T=60128,F=60129,R=60130,I=60131;if("function"===typeof Symbol&&Symbol.for){var B=Symbol.for;w=B("react.element"),E=B("react.portal"),_=B("react.fragment"),C=B("react.strict_mode"),S=B("react.profiler"),D=B("react.provider"),j=B("react.context"),A=B("react.forward_ref"),P=B("react.suspense"),L=B("react.suspense_list"),M=B("react.memo"),N=B("react.lazy"),O=B("react.block"),B("react.scope"),T=B("react.opaque.id"),F=B("react.debug_trace_mode"),R=B("react.offscreen"),I=B("react.legacy_hidden")}var W,z="function"===typeof Symbol&&Symbol.iterator;function $(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=z&&e[z]||e["@@iterator"])?e:null}function H(e){if(void 0===W)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);W=t&&t[1]||""}return"\n"+W+e}var V=!1;function U(e,t){if(!e||V)return"";V=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(l){var r=l}Reflect.construct(e,[],t)}else{try{t.call()}catch(l){r=l}e.call(t.prototype)}else{try{throw Error()}catch(l){r=l}e()}}catch(l){if(l&&r&&"string"===typeof l.stack){for(var o=l.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s])return"\n"+o[a].replace(" at new "," at ")}while(1<=a&&0<=s);break}}}finally{V=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?H(e):""}function q(e){switch(e.tag){case 5:return H(e.type);case 16:return H("Lazy");case 13:return H("Suspense");case 19:return H("SuspenseList");case 0:case 2:case 15:return e=U(e.type,!1);case 11:return e=U(e.type.render,!1);case 22:return e=U(e.type._render,!1);case 1:return e=U(e.type,!0);default:return""}}function Y(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case _:return"Fragment";case E:return"Portal";case S:return"Profiler";case C:return"StrictMode";case P:return"Suspense";case L:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case j:return(e.displayName||"Context")+".Consumer";case D:return(e._context.displayName||"Context")+".Provider";case A:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case M:return Y(e.type);case O:return Y(e._render);case N:t=e._payload,e=e._init;try{return Y(e(t))}catch(n){}}return null}function G(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Z(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function K(e){e._valueTracker||(e._valueTracker=function(e){var t=Z(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof 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 Q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Z(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function X(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function J(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=G(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function ne(e,t){te(e,t);var n=G(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?oe(e,t.type,n):t.hasOwnProperty("defaultValue")&&oe(e,t.type,G(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function re(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function oe(e,t,n){"number"===t&&X(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function ie(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function ae(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=""+G(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 se(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function le(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:G(n)}}function ue(e,t){var n=G(t.value),r=G(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ce(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var de={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function pe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function fe(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?pe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var he,me,ge=(me=function(e,t){if(e.namespaceURI!==de.svg||"innerHTML"in e)e.innerHTML=t;else{for((he=he||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=he.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return me(e,t)}))}:me);function ve(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var ye={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},xe=["Webkit","ms","Moz","O"];function be(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||ye.hasOwnProperty(e)&&ye[e]?(""+t).trim():t+"px"}function ke(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=be(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(ye).forEach((function(e){xe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ye[t]=ye[e]}))}));var we=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ee(e,t){if(t){if(we[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(a(62))}}function _e(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Ce(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Se=null,De=null,je=null;function Ae(e){if(e=no(e)){if("function"!==typeof Se)throw Error(a(280));var t=e.stateNode;t&&(t=oo(t),Se(e.stateNode,e.type,t))}}function Pe(e){De?je?je.push(e):je=[e]:De=e}function Le(){if(De){var e=De,t=je;if(je=De=null,Ae(e),t)for(e=0;e<t.length;e++)Ae(t[e])}}function Me(e,t){return e(t)}function Ne(e,t,n,r,o){return e(t,n,r,o)}function Oe(){}var Te=Me,Fe=!1,Re=!1;function Ie(){null===De&&null===je||(Oe(),Le())}function Be(e,t){var n=e.stateNode;if(null===n)return null;var r=oo(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(a(231,t,typeof n));return n}var We=!1;if(d)try{var ze={};Object.defineProperty(ze,"passive",{get:function(){We=!0}}),window.addEventListener("test",ze,ze),window.removeEventListener("test",ze,ze)}catch(me){We=!1}function $e(e,t,n,r,o,i,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var He=!1,Ve=null,Ue=!1,qe=null,Ye={onError:function(e){He=!0,Ve=e}};function Ge(e,t,n,r,o,i,a,s,l){He=!1,Ve=null,$e.apply(Ye,arguments)}function Ze(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ke(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 Qe(e){if(Ze(e)!==e)throw Error(a(188))}function Xe(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ze(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 Qe(o),e;if(i===r)return Qe(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s)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}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function Je(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var et,tt,nt,rt,ot=!1,it=[],at=null,st=null,lt=null,ut=new Map,ct=new Map,dt=[],pt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ft(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function ht(e,t){switch(e){case"focusin":case"focusout":at=null;break;case"dragenter":case"dragleave":st=null;break;case"mouseover":case"mouseout":lt=null;break;case"pointerover":case"pointerout":ut.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ct.delete(t.pointerId)}}function mt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e=ft(t,n,r,o,i),null!==t&&(null!==(t=no(t))&&tt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function gt(e){var t=to(e.target);if(null!==t){var n=Ze(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ke(n)))return e.blockedOn=t,void rt(e.lanePriority,(function(){i.unstable_runWithPriority(e.priority,(function(){nt(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function vt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Xt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=no(n))&&tt(t),e.blockedOn=n,!1;t.shift()}return!0}function yt(e,t,n){vt(e)&&n.delete(t)}function xt(){for(ot=!1;0<it.length;){var e=it[0];if(null!==e.blockedOn){null!==(e=no(e.blockedOn))&&et(e);break}for(var t=e.targetContainers;0<t.length;){var n=Xt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&it.shift()}null!==at&&vt(at)&&(at=null),null!==st&&vt(st)&&(st=null),null!==lt&&vt(lt)&&(lt=null),ut.forEach(yt),ct.forEach(yt)}function bt(e,t){e.blockedOn===t&&(e.blockedOn=null,ot||(ot=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,xt)))}function kt(e){function t(t){return bt(t,e)}if(0<it.length){bt(it[0],e);for(var n=1;n<it.length;n++){var r=it[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==at&&bt(at,e),null!==st&&bt(st,e),null!==lt&&bt(lt,e),ut.forEach(t),ct.forEach(t),n=0;n<dt.length;n++)(r=dt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<dt.length&&null===(n=dt[0]).blockedOn;)gt(n),null===n.blockedOn&&dt.shift()}function wt(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Et={animationend:wt("Animation","AnimationEnd"),animationiteration:wt("Animation","AnimationIteration"),animationstart:wt("Animation","AnimationStart"),transitionend:wt("Transition","TransitionEnd")},_t={},Ct={};function St(e){if(_t[e])return _t[e];if(!Et[e])return e;var t,n=Et[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ct)return _t[e]=n[t];return e}d&&(Ct=document.createElement("div").style,"AnimationEvent"in window||(delete Et.animationend.animation,delete Et.animationiteration.animation,delete Et.animationstart.animation),"TransitionEvent"in window||delete Et.transitionend.transition);var Dt=St("animationend"),jt=St("animationiteration"),At=St("animationstart"),Pt=St("transitionend"),Lt=new Map,Mt=new Map,Nt=["abort","abort",Dt,"animationEnd",jt,"animationIteration",At,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Pt,"transitionEnd","waiting","waiting"];function Ot(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];o="on"+(o[0].toUpperCase()+o.slice(1)),Mt.set(r,t),Lt.set(r,o),u(o,[r])}}(0,i.unstable_now)();var Tt=8;function Ft(e){if(0!==(1&e))return Tt=15,1;if(0!==(2&e))return Tt=14,2;if(0!==(4&e))return Tt=13,4;var t=24&e;return 0!==t?(Tt=12,t):0!==(32&e)?(Tt=11,32):0!==(t=192&e)?(Tt=10,t):0!==(256&e)?(Tt=9,256):0!==(t=3584&e)?(Tt=8,t):0!==(4096&e)?(Tt=7,4096):0!==(t=4186112&e)?(Tt=6,t):0!==(t=62914560&e)?(Tt=5,t):67108864&e?(Tt=4,67108864):0!==(134217728&e)?(Tt=3,134217728):0!==(t=805306368&e)?(Tt=2,t):0!==(1073741824&e)?(Tt=1,1073741824):(Tt=8,e)}function Rt(e,t){var n=e.pendingLanes;if(0===n)return Tt=0;var r=0,o=0,i=e.expiredLanes,a=e.suspendedLanes,s=e.pingedLanes;if(0!==i)r=i,o=Tt=15;else if(0!==(i=134217727&n)){var l=i&~a;0!==l?(r=Ft(l),o=Tt):0!==(s&=i)&&(r=Ft(s),o=Tt)}else 0!==(i=n&~a)?(r=Ft(i),o=Tt):0!==s&&(r=Ft(s),o=Tt);if(0===r)return 0;if(r=n&((0>(r=31-Ht(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0===(t&a)){if(Ft(t),o<=Tt)return t;Tt=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-Ht(t)),r|=e[n],t&=~o;return r}function It(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Bt(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Wt(24&~t))?Bt(10,t):e;case 10:return 0===(e=Wt(192&~t))?Bt(8,t):e;case 8:return 0===(e=Wt(3584&~t))&&(0===(e=Wt(4186112&~t))&&(e=512)),e;case 2:return 0===(t=Wt(805306368&~t))&&(t=268435456),t}throw Error(a(358,e))}function Wt(e){return e&-e}function zt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function $t(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Ht(t)]=n}var Ht=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Vt(e)/Ut|0)|0},Vt=Math.log,Ut=Math.LN2;var qt=i.unstable_UserBlockingPriority,Yt=i.unstable_runWithPriority,Gt=!0;function Zt(e,t,n,r){Fe||Oe();var o=Qt,i=Fe;Fe=!0;try{Ne(o,e,t,n,r)}finally{(Fe=i)||Ie()}}function Kt(e,t,n,r){Yt(qt,Qt.bind(null,e,t,n,r))}function Qt(e,t,n,r){var o;if(Gt)if((o=0===(4&t))&&0<it.length&&-1<pt.indexOf(e))e=ft(null,e,t,n,r),it.push(e);else{var i=Xt(e,t,n,r);if(null===i)o&&ht(e,r);else{if(o){if(-1<pt.indexOf(e))return e=ft(i,e,t,n,r),void it.push(e);if(function(e,t,n,r,o){switch(t){case"focusin":return at=mt(at,e,t,n,r,o),!0;case"dragenter":return st=mt(st,e,t,n,r,o),!0;case"mouseover":return lt=mt(lt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return ut.set(i,mt(ut.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,ct.set(i,mt(ct.get(i)||null,e,t,n,r,o)),!0}return!1}(i,e,t,n,r))return;ht(e,r)}Or(e,t,r,null,n)}}}function Xt(e,t,n,r){var o=Ce(r);if(null!==(o=to(o))){var i=Ze(o);if(null===i)o=null;else{var a=i.tag;if(13===a){if(null!==(o=Ke(i)))return o;o=null}else if(3===a){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;o=null}else i!==o&&(o=null)}}return Or(e,t,r,o,n),null}var Jt=null,en=null,tn=null;function nn(){if(tn)return tn;var e,t,n=en,r=n.length,o="value"in Jt?Jt.value:Jt.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 tn=o.slice(e,1<t?1-t:void 0)}function rn(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 on(){return!0}function an(){return!1}function sn(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)?on:an,this.isPropagationStopped=an,this}return o(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=on)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=on)},persist:function(){},isPersistent:on}),t}var ln,un,cn,dn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pn=sn(dn),fn=o({},dn,{view:0,detail:0}),hn=sn(fn),mn=o({},fn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Dn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==cn&&(cn&&"mousemove"===e.type?(ln=e.screenX-cn.screenX,un=e.screenY-cn.screenY):un=ln=0,cn=e),ln)},movementY:function(e){return"movementY"in e?e.movementY:un}}),gn=sn(mn),vn=sn(o({},mn,{dataTransfer:0})),yn=sn(o({},fn,{relatedTarget:0})),xn=sn(o({},dn,{animationName:0,elapsedTime:0,pseudoElement:0})),bn=o({},dn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),kn=sn(bn),wn=sn(o({},dn,{data:0})),En={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_n={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"},Cn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Cn[e])&&!!t[e]}function Dn(){return Sn}var jn=o({},fn,{key:function(e){if(e.key){var t=En[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=rn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?_n[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Dn,charCode:function(e){return"keypress"===e.type?rn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?rn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),An=sn(jn),Pn=sn(o({},mn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Ln=sn(o({},fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Dn})),Mn=sn(o({},dn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Nn=o({},mn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),On=sn(Nn),Tn=[9,13,27,32],Fn=d&&"CompositionEvent"in window,Rn=null;d&&"documentMode"in document&&(Rn=document.documentMode);var In=d&&"TextEvent"in window&&!Rn,Bn=d&&(!Fn||Rn&&8<Rn&&11>=Rn),Wn=String.fromCharCode(32),zn=!1;function $n(e,t){switch(e){case"keyup":return-1!==Tn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Vn=!1;var Un={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 qn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Un[e.type]:"textarea"===t}function Yn(e,t,n,r){Pe(r),0<(t=Fr(t,"onChange")).length&&(n=new pn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Gn=null,Zn=null;function Kn(e){jr(e,0)}function Qn(e){if(Q(ro(e)))return e}function Xn(e,t){if("change"===e)return t}var Jn=!1;if(d){var er;if(d){var tr="oninput"in document;if(!tr){var nr=document.createElement("div");nr.setAttribute("oninput","return;"),tr="function"===typeof nr.oninput}er=tr}else er=!1;Jn=er&&(!document.documentMode||9<document.documentMode)}function rr(){Gn&&(Gn.detachEvent("onpropertychange",or),Zn=Gn=null)}function or(e){if("value"===e.propertyName&&Qn(Zn)){var t=[];if(Yn(t,Zn,e,Ce(e)),e=Kn,Fe)e(t);else{Fe=!0;try{Me(e,t)}finally{Fe=!1,Ie()}}}}function ir(e,t,n){"focusin"===e?(rr(),Zn=n,(Gn=t).attachEvent("onpropertychange",or)):"focusout"===e&&rr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Qn(Zn)}function sr(e,t){if("click"===e)return Qn(t)}function lr(e,t){if("input"===e||"change"===e)return Qn(t)}var ur="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},cr=Object.prototype.hasOwnProperty;function dr(e,t){if(ur(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!cr.call(t,n[r])||!ur(e[n[r]],t[n[r]]))return!1;return!0}function pr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function fr(e,t){var n,r=pr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=pr(r)}}function hr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?hr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function mr(){for(var e=window,t=X();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=X((e=t.contentWindow).document)}return t}function gr(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 vr=d&&"documentMode"in document&&11>=document.documentMode,yr=null,xr=null,br=null,kr=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;kr||null==yr||yr!==X(r)||("selectionStart"in(r=yr)&&gr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},br&&dr(br,r)||(br=r,0<(r=Fr(xr,"onSelect")).length&&(t=new pn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=yr)))}Ot("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Ot("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Ot(Nt,2);for(var Er="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),_r=0;_r<Er.length;_r++)Mt.set(Er[_r],0);c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Cr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Sr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Cr));function Dr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,s,l,u){if(Ge.apply(this,arguments),He){if(!He)throw Error(a(198));var c=Ve;He=!1,Ve=null,Ue||(Ue=!0,qe=c)}}(r,t,void 0,e),e.currentTarget=null}function jr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;Dr(o,s,u),i=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,u=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;Dr(o,s,u),i=l}}}if(Ue)throw e=qe,Ue=!1,qe=null,e}function Ar(e,t){var n=io(t),r=e+"__bubble";n.has(r)||(Nr(t,e,2,!1),n.add(r))}var Pr="_reactListening"+Math.random().toString(36).slice(2);function Lr(e){e[Pr]||(e[Pr]=!0,s.forEach((function(t){Sr.has(t)||Mr(t,!1,e,null),Mr(t,!0,e,null)})))}function Mr(e,t,n,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,i=n;if("selectionchange"===e&&9!==n.nodeType&&(i=n.ownerDocument),null!==r&&!t&&Sr.has(e)){if("scroll"!==e)return;o|=2,i=r}var a=io(i),s=e+"__"+(t?"capture":"bubble");a.has(s)||(t&&(o|=4),Nr(i,e,o,t),a.add(s))}function Nr(e,t,n,r){var o=Mt.get(t);switch(void 0===o?2:o){case 0:o=Zt;break;case 1:o=Kt;break;default:o=Qt}n=o.bind(null,t,n,e),o=void 0,!We||"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 Or(e,t,n,r,o){var i=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=to(s)))return;if(5===(l=a.tag)||6===l){r=i=a;continue e}s=s.parentNode}}r=r.return}!function(e,t,n){if(Re)return e(t,n);Re=!0;try{return Te(e,t,n)}finally{Re=!1,Ie()}}((function(){var r=i,o=Ce(n),a=[];e:{var s=Lt.get(e);if(void 0!==s){var l=pn,u=e;switch(e){case"keypress":if(0===rn(n))break e;case"keydown":case"keyup":l=An;break;case"focusin":u="focus",l=yn;break;case"focusout":u="blur",l=yn;break;case"beforeblur":case"afterblur":l=yn;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":l=gn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=vn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Ln;break;case Dt:case jt:case At:l=xn;break;case Pt:l=Mn;break;case"scroll":l=hn;break;case"wheel":l=On;break;case"copy":case"cut":case"paste":l=kn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Pn}var c=0!==(4&t),d=!c&&"scroll"===e,p=c?null!==s?s+"Capture":null:s;c=[];for(var f,h=r;null!==h;){var m=(f=h).stateNode;if(5===f.tag&&null!==m&&(f=m,null!==p&&(null!=(m=Be(h,p))&&c.push(Tr(h,m,f)))),d)break;h=h.return}0<c.length&&(s=new l(s,u,null,n,o),a.push({event:s,listeners:c}))}}if(0===(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||0!==(16&t)||!(u=n.relatedTarget||n.fromElement)||!to(u)&&!u[Jr])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(u=(u=n.relatedTarget||n.toElement)?to(u):null)&&(u!==(d=Ze(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(l=null,u=r),l!==u)){if(c=gn,m="onMouseLeave",p="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Pn,m="onPointerLeave",p="onPointerEnter",h="pointer"),d=null==l?s:ro(l),f=null==u?s:ro(u),(s=new c(m,h+"leave",l,n,o)).target=d,s.relatedTarget=f,m=null,to(o)===r&&((c=new c(p,h+"enter",u,n,o)).target=f,c.relatedTarget=d,m=c),d=m,l&&u)e:{for(p=u,h=0,f=c=l;f;f=Rr(f))h++;for(f=0,m=p;m;m=Rr(m))f++;for(;0<h-f;)c=Rr(c),h--;for(;0<f-h;)p=Rr(p),f--;for(;h--;){if(c===p||null!==p&&c===p.alternate)break e;c=Rr(c),p=Rr(p)}c=null}else c=null;null!==l&&Ir(a,s,l,c,!1),null!==u&&null!==d&&Ir(a,d,u,c,!0)}if("select"===(l=(s=r?ro(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=Xn;else if(qn(s))if(Jn)g=lr;else{g=ar;var v=ir}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=sr);switch(g&&(g=g(e,r))?Yn(a,g,n,o):(v&&v(e,s,r),"focusout"===e&&(v=s._wrapperState)&&v.controlled&&"number"===s.type&&oe(s,"number",s.value)),v=r?ro(r):window,e){case"focusin":(qn(v)||"true"===v.contentEditable)&&(yr=v,xr=r,br=null);break;case"focusout":br=xr=yr=null;break;case"mousedown":kr=!0;break;case"contextmenu":case"mouseup":case"dragend":kr=!1,wr(a,n,o);break;case"selectionchange":if(vr)break;case"keydown":case"keyup":wr(a,n,o)}var y;if(Fn)e:{switch(e){case"compositionstart":var x="onCompositionStart";break e;case"compositionend":x="onCompositionEnd";break e;case"compositionupdate":x="onCompositionUpdate";break e}x=void 0}else Vn?$n(e,n)&&(x="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(x="onCompositionStart");x&&(Bn&&"ko"!==n.locale&&(Vn||"onCompositionStart"!==x?"onCompositionEnd"===x&&Vn&&(y=nn()):(en="value"in(Jt=o)?Jt.value:Jt.textContent,Vn=!0)),0<(v=Fr(r,x)).length&&(x=new wn(x,e,null,n,o),a.push({event:x,listeners:v}),y?x.data=y:null!==(y=Hn(n))&&(x.data=y))),(y=In?function(e,t){switch(e){case"compositionend":return Hn(t);case"keypress":return 32!==t.which?null:(zn=!0,Wn);case"textInput":return(e=t.data)===Wn&&zn?null:e;default:return null}}(e,n):function(e,t){if(Vn)return"compositionend"===e||!Fn&&$n(e,t)?(e=nn(),tn=en=Jt=null,Vn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Bn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Fr(r,"onBeforeInput")).length&&(o=new wn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=y))}jr(a,t)}))}function Tr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Fr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Be(e,n))&&r.unshift(Tr(e,i,o)),null!=(i=Be(e,t))&&r.push(Tr(e,i,o))),e=e.return}return r}function Rr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Ir(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==u&&(s=u,o?null!=(l=Be(n,i))&&a.unshift(Tr(n,l,s)):o||null!=(l=Be(n,i))&&a.push(Tr(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}function Br(){}var Wr=null,zr=null;function $r(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Hr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Vr="function"===typeof setTimeout?setTimeout:void 0,Ur="function"===typeof clearTimeout?clearTimeout:void 0;function qr(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function Yr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Gr(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Zr=0;var Kr=Math.random().toString(36).slice(2),Qr="__reactFiber$"+Kr,Xr="__reactProps$"+Kr,Jr="__reactContainer$"+Kr,eo="__reactEvents$"+Kr;function to(e){var t=e[Qr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Jr]||n[Qr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Gr(e);null!==e;){if(n=e[Qr])return n;e=Gr(e)}return t}n=(e=n).parentNode}return null}function no(e){return!(e=e[Qr]||e[Jr])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ro(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function oo(e){return e[Xr]||null}function io(e){var t=e[eo];return void 0===t&&(t=e[eo]=new Set),t}var ao=[],so=-1;function lo(e){return{current:e}}function uo(e){0>so||(e.current=ao[so],ao[so]=null,so--)}function co(e,t){so++,ao[so]=e.current,e.current=t}var po={},fo=lo(po),ho=lo(!1),mo=po;function go(e,t){var n=e.type.contextTypes;if(!n)return po;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function vo(e){return null!==(e=e.childContextTypes)&&void 0!==e}function yo(){uo(ho),uo(fo)}function xo(e,t,n){if(fo.current!==po)throw Error(a(168));co(fo,t),co(ho,n)}function bo(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw Error(a(108,Y(t)||"Unknown",i));return o({},n,r)}function ko(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||po,mo=fo.current,co(fo,e),co(ho,ho.current),!0}function wo(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=bo(e,t,mo),r.__reactInternalMemoizedMergedChildContext=e,uo(ho),uo(fo),co(fo,e)):uo(ho),co(ho,n)}var Eo=null,_o=null,Co=i.unstable_runWithPriority,So=i.unstable_scheduleCallback,Do=i.unstable_cancelCallback,jo=i.unstable_shouldYield,Ao=i.unstable_requestPaint,Po=i.unstable_now,Lo=i.unstable_getCurrentPriorityLevel,Mo=i.unstable_ImmediatePriority,No=i.unstable_UserBlockingPriority,Oo=i.unstable_NormalPriority,To=i.unstable_LowPriority,Fo=i.unstable_IdlePriority,Ro={},Io=void 0!==Ao?Ao:function(){},Bo=null,Wo=null,zo=!1,$o=Po(),Ho=1e4>$o?Po:function(){return Po()-$o};function Vo(){switch(Lo()){case Mo:return 99;case No:return 98;case Oo:return 97;case To:return 96;case Fo:return 95;default:throw Error(a(332))}}function Uo(e){switch(e){case 99:return Mo;case 98:return No;case 97:return Oo;case 96:return To;case 95:return Fo;default:throw Error(a(332))}}function qo(e,t){return e=Uo(e),Co(e,t)}function Yo(e,t,n){return e=Uo(e),So(e,t,n)}function Go(){if(null!==Wo){var e=Wo;Wo=null,Do(e)}Zo()}function Zo(){if(!zo&&null!==Bo){zo=!0;var e=0;try{var t=Bo;qo(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Bo=null}catch(n){throw null!==Bo&&(Bo=Bo.slice(e+1)),So(Mo,Go),n}finally{zo=!1}}}var Ko=k.ReactCurrentBatchConfig;function Qo(e,t){if(e&&e.defaultProps){for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Xo=lo(null),Jo=null,ei=null,ti=null;function ni(){ti=ei=Jo=null}function ri(e){var t=Xo.current;uo(Xo),e.type._context._currentValue=t}function oi(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function ii(e,t){Jo=e,ti=ei=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(Fa=!0),e.firstContext=null)}function ai(e,t){if(ti!==e&&!1!==t&&0!==t)if("number"===typeof t&&1073741823!==t||(ti=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ei){if(null===Jo)throw Error(a(308));ei=t,Jo.dependencies={lanes:0,firstContext:t,responders:null}}else ei=ei.next=t;return e._currentValue}var si=!1;function li(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function ui(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ci(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function di(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function pi(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={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,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,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function fi(e,t,n,r){var i=e.updateQueue;si=!1;var a=i.firstBaseUpdate,s=i.lastBaseUpdate,l=i.shared.pending;if(null!==l){i.shared.pending=null;var u=l,c=u.next;u.next=null,null===s?a=c:s.next=c,s=u;var d=e.alternate;if(null!==d){var p=(d=d.updateQueue).lastBaseUpdate;p!==s&&(null===p?d.firstBaseUpdate=c:p.next=c,d.lastBaseUpdate=u)}}if(null!==a){for(p=i.baseState,s=0,d=c=u=null;;){l=a.lane;var f=a.eventTime;if((r&l)===l){null!==d&&(d=d.next={eventTime:f,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var h=e,m=a;switch(l=t,f=n,m.tag){case 1:if("function"===typeof(h=m.payload)){p=h.call(f,p,l);break e}p=h;break e;case 3:h.flags=-4097&h.flags|64;case 0:if(null===(l="function"===typeof(h=m.payload)?h.call(f,p,l):h)||void 0===l)break e;p=o({},p,l);break e;case 2:si=!0}}null!==a.callback&&(e.flags|=32,null===(l=i.effects)?i.effects=[a]:l.push(a))}else f={eventTime:f,lane:l,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===d?(c=d=f,u=p):d=d.next=f,s|=l;if(null===(a=a.next)){if(null===(l=i.shared.pending))break;a=l.next,l.next=null,i.lastBaseUpdate=l,i.shared.pending=null}}null===d&&(u=p),i.baseState=u,i.firstBaseUpdate=c,i.lastBaseUpdate=d,zs|=s,e.lanes=s,e.memoizedState=p}}function hi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!==typeof o)throw Error(a(191,o));o.call(r)}}}var mi=(new r.Component).refs;function gi(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:o({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var vi={isMounted:function(e){return!!(e=e._reactInternals)&&Ze(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=pl(),o=fl(e),i=ci(r,o);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),di(e,i),hl(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=pl(),o=fl(e),i=ci(r,o);i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),di(e,i),hl(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=pl(),r=fl(e),o=ci(n,r);o.tag=2,void 0!==t&&null!==t&&(o.callback=t),di(e,o),hl(e,r,n)}};function yi(e,t,n,r,o,i,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!dr(n,r)||!dr(o,i))}function xi(e,t,n){var r=!1,o=po,i=t.contextType;return"object"===typeof i&&null!==i?i=ai(i):(o=vo(t)?mo:fo.current,i=(r=null!==(r=t.contextTypes)&&void 0!==r)?go(e,o):po),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=vi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function bi(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&&vi.enqueueReplaceState(t,t.state,null)}function ki(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=mi,li(e);var i=t.contextType;"object"===typeof i&&null!==i?o.context=ai(i):(i=vo(t)?mo:fo.current,o.context=go(e,i)),fi(e,n,o,r),o.state=e.memoizedState,"function"===typeof(i=t.getDerivedStateFromProps)&&(gi(e,t,i,n),o.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof o.getSnapshotBeforeUpdate||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||(t=o.state,"function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&vi.enqueueReplaceState(o,o.state,null),fi(e,n,o,r),o.state=e.memoizedState),"function"===typeof o.componentDidMount&&(e.flags|=4)}var wi=Array.isArray;function Ei(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=r.refs;t===mi&&(t=r.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!==typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function _i(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Ci(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=ql(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=2,n):r:(t.flags=2,n):n}function s(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Kl(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function u(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=Ei(e,t,n),r.return=e,r):((r=Yl(n.type,n.key,n.props,null,e.mode,r)).ref=Ei(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Ql(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Gl(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function p(e,t,n){if("string"===typeof t||"number"===typeof t)return(t=Kl(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Yl(t.type,t.key,t.props,null,e.mode,n)).ref=Ei(e,null,t),n.return=e,n;case E:return(t=Ql(t,e.mode,n)).return=e,t}if(wi(t)||$(t))return(t=Gl(t,e.mode,n,null)).return=e,t;_i(e,t)}return null}function f(e,t,n,r){var o=null!==t?t.key:null;if("string"===typeof n||"number"===typeof n)return null!==o?null:l(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===o?n.type===_?d(e,t,n.props.children,r,o):u(e,t,n,r):null;case E:return n.key===o?c(e,t,n,r):null}if(wi(n)||$(n))return null!==o?null:d(e,t,n,r,null);_i(e,n)}return null}function h(e,t,n,r,o){if("string"===typeof r||"number"===typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"===typeof r&&null!==r){switch(r.$$typeof){case w:return e=e.get(null===r.key?n:r.key)||null,r.type===_?d(t,e,r.props.children,o,r.key):u(t,e,r,o);case E:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(wi(r)||$(r))return d(t,e=e.get(n)||null,r,o,null);_i(t,r)}return null}function m(o,a,s,l){for(var u=null,c=null,d=a,m=a=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var v=f(o,d,s[m],l);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(o,d),a=i(v,a,m),null===c?u=v:c.sibling=v,c=v,d=g}if(m===s.length)return n(o,d),u;if(null===d){for(;m<s.length;m++)null!==(d=p(o,s[m],l))&&(a=i(d,a,m),null===c?u=d:c.sibling=d,c=d);return u}for(d=r(o,d);m<s.length;m++)null!==(g=h(d,o,m,s[m],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),a=i(g,a,m),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach((function(e){return t(o,e)})),u}function g(o,s,l,u){var c=$(l);if("function"!==typeof c)throw Error(a(150));if(null==(l=c.call(l)))throw Error(a(151));for(var d=c=null,m=s,g=s=0,v=null,y=l.next();null!==m&&!y.done;g++,y=l.next()){m.index>g?(v=m,m=null):v=m.sibling;var x=f(o,m,y.value,u);if(null===x){null===m&&(m=v);break}e&&m&&null===x.alternate&&t(o,m),s=i(x,s,g),null===d?c=x:d.sibling=x,d=x,m=v}if(y.done)return n(o,m),c;if(null===m){for(;!y.done;g++,y=l.next())null!==(y=p(o,y.value,u))&&(s=i(y,s,g),null===d?c=y:d.sibling=y,d=y);return c}for(m=r(o,m);!y.done;g++,y=l.next())null!==(y=h(m,o,g,y.value,u))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),s=i(y,s,g),null===d?c=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(o,e)})),c}return function(e,r,i,l){var u="object"===typeof i&&null!==i&&i.type===_&&null===i.key;u&&(i=i.props.children);var c="object"===typeof i&&null!==i;if(c)switch(i.$$typeof){case w:e:{for(c=i.key,u=r;null!==u;){if(u.key===c){if(7===u.tag){if(i.type===_){n(e,u.sibling),(r=o(u,i.props.children)).return=e,e=r;break e}}else if(u.elementType===i.type){n(e,u.sibling),(r=o(u,i.props)).ref=Ei(e,u,i),r.return=e,e=r;break e}n(e,u);break}t(e,u),u=u.sibling}i.type===_?((r=Gl(i.props.children,e.mode,l,i.key)).return=e,e=r):((l=Yl(i.type,i.key,i.props,null,e.mode,l)).ref=Ei(e,r,i),l.return=e,e=l)}return s(e);case E:e:{for(u=i.key;null!==r;){if(r.key===u){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Ql(i,e.mode,l)).return=e,e=r}return s(e)}if("string"===typeof i||"number"===typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=Kl(i,e.mode,l)).return=e,e=r),s(e);if(wi(i))return m(e,r,i,l);if($(i))return g(e,r,i,l);if(c&&_i(e,i),"undefined"===typeof i&&!u)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(a(152,Y(e.type)||"Component"))}return n(e,r)}}var Si=Ci(!0),Di=Ci(!1),ji={},Ai=lo(ji),Pi=lo(ji),Li=lo(ji);function Mi(e){if(e===ji)throw Error(a(174));return e}function Ni(e,t){switch(co(Li,t),co(Pi,e),co(Ai,ji),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:fe(null,"");break;default:t=fe(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}uo(Ai),co(Ai,t)}function Oi(){uo(Ai),uo(Pi),uo(Li)}function Ti(e){Mi(Li.current);var t=Mi(Ai.current),n=fe(t,e.type);t!==n&&(co(Pi,e),co(Ai,n))}function Fi(e){Pi.current===e&&(uo(Ai),uo(Pi))}var Ri=lo(0);function Ii(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Bi=null,Wi=null,zi=!1;function $i(e,t){var n=Vl(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Hi(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Vi(e){if(zi){var t=Wi;if(t){var n=t;if(!Hi(e,t)){if(!(t=Yr(n.nextSibling))||!Hi(e,t))return e.flags=-1025&e.flags|2,zi=!1,void(Bi=e);$i(Bi,n)}Bi=e,Wi=Yr(t.firstChild)}else e.flags=-1025&e.flags|2,zi=!1,Bi=e}}function Ui(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Bi=e}function qi(e){if(e!==Bi)return!1;if(!zi)return Ui(e),zi=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Hr(t,e.memoizedProps))for(t=Wi;t;)$i(e,t),t=Yr(t.nextSibling);if(Ui(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Wi=Yr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Wi=null}}else Wi=Bi?Yr(e.stateNode.nextSibling):null;return!0}function Yi(){Wi=Bi=null,zi=!1}var Gi=[];function Zi(){for(var e=0;e<Gi.length;e++)Gi[e]._workInProgressVersionPrimary=null;Gi.length=0}var Ki=k.ReactCurrentDispatcher,Qi=k.ReactCurrentBatchConfig,Xi=0,Ji=null,ea=null,ta=null,na=!1,ra=!1;function oa(){throw Error(a(321))}function ia(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ur(e[n],t[n]))return!1;return!0}function aa(e,t,n,r,o,i){if(Xi=i,Ji=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ki.current=null===e||null===e.memoizedState?Ma:Na,e=n(r,o),ra){i=0;do{if(ra=!1,!(25>i))throw Error(a(301));i+=1,ta=ea=null,t.updateQueue=null,Ki.current=Oa,e=n(r,o)}while(ra)}if(Ki.current=La,t=null!==ea&&null!==ea.next,Xi=0,ta=ea=Ji=null,na=!1,t)throw Error(a(300));return e}function sa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ta?Ji.memoizedState=ta=e:ta=ta.next=e,ta}function la(){if(null===ea){var e=Ji.alternate;e=null!==e?e.memoizedState:null}else e=ea.next;var t=null===ta?Ji.memoizedState:ta.next;if(null!==t)ta=t,ea=e;else{if(null===e)throw Error(a(310));e={memoizedState:(ea=e).memoizedState,baseState:ea.baseState,baseQueue:ea.baseQueue,queue:ea.queue,next:null},null===ta?Ji.memoizedState=ta=e:ta=ta.next=e}return ta}function ua(e,t){return"function"===typeof t?t(e):t}function ca(e){var t=la(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=ea,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var l=s=i=null,u=o;do{var c=u.lane;if((Xi&c)===c)null!==l&&(l=l.next={lane:0,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),r=u.eagerReducer===e?u.eagerState:e(r,u.action);else{var d={lane:c,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null};null===l?(s=l=d,i=r):l=l.next=d,Ji.lanes|=c,zs|=c}u=u.next}while(null!==u&&u!==o);null===l?i=r:l.next=s,ur(r,t.memoizedState)||(Fa=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function da(e){var t=la(),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);ur(i,t.memoizedState)||(Fa=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function pa(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=e.mutableReadLanes,(e=(Xi&e)===e)&&(t._workInProgressVersionPrimary=r,Gi.push(t))),e)return n(t._source);throw Gi.push(t),Error(a(350))}function fa(e,t,n,r){var o=Ns;if(null===o)throw Error(a(349));var i=t._getVersion,s=i(t._source),l=Ki.current,u=l.useState((function(){return pa(o,t,n)})),c=u[1],d=u[0];u=ta;var p=e.memoizedState,f=p.refs,h=f.getSnapshot,m=p.source;p=p.subscribe;var g=Ji;return e.memoizedState={refs:f,source:t,subscribe:r},l.useEffect((function(){f.getSnapshot=n,f.setSnapshot=c;var e=i(t._source);if(!ur(s,e)){e=n(t._source),ur(d,e)||(c(e),e=fl(g),o.mutableReadLanes|=e&o.pendingLanes),e=o.mutableReadLanes,o.entangledLanes|=e;for(var r=o.entanglements,a=e;0<a;){var l=31-Ht(a),u=1<<l;r[l]|=e,a&=~u}}}),[n,t,r]),l.useEffect((function(){return r(t._source,(function(){var e=f.getSnapshot,n=f.setSnapshot;try{n(e(t._source));var r=fl(g);o.mutableReadLanes|=r&o.pendingLanes}catch(i){n((function(){throw i}))}}))}),[t,r]),ur(h,n)&&ur(m,t)&&ur(p,r)||((e={pending:null,dispatch:null,lastRenderedReducer:ua,lastRenderedState:d}).dispatch=c=Pa.bind(null,Ji,e),u.queue=e,u.baseQueue=null,d=pa(o,t,n),u.memoizedState=u.baseState=d),d}function ha(e,t,n){return fa(la(),e,t,n)}function ma(e){var t=sa();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ua,lastRenderedState:e}).dispatch=Pa.bind(null,Ji,e),[t.memoizedState,e]}function ga(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Ji.updateQueue)?(t={lastEffect:null},Ji.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function va(e){return e={current:e},sa().memoizedState=e}function ya(){return la().memoizedState}function xa(e,t,n,r){var o=sa();Ji.flags|=e,o.memoizedState=ga(1|t,n,void 0,void 0===r?null:r)}function ba(e,t,n,r){var o=la();r=void 0===r?null:r;var i=void 0;if(null!==ea){var a=ea.memoizedState;if(i=a.destroy,null!==r&&ia(r,a.deps))return void ga(t,n,i,r)}Ji.flags|=e,o.memoizedState=ga(1|t,n,i,r)}function ka(e,t){return xa(516,4,e,t)}function wa(e,t){return ba(516,4,e,t)}function Ea(e,t){return ba(4,2,e,t)}function _a(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ca(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,ba(4,2,_a.bind(null,t,e),n)}function Sa(){}function Da(e,t){var n=la();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ia(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ja(e,t){var n=la();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ia(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Aa(e,t){var n=Vo();qo(98>n?98:n,(function(){e(!0)})),qo(97<n?97:n,(function(){var n=Qi.transition;Qi.transition=1;try{e(!1),t()}finally{Qi.transition=n}}))}function Pa(e,t,n){var r=pl(),o=fl(e),i={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(null===a?i.next=i:(i.next=a.next,a.next=i),t.pending=i,a=e.alternate,e===Ji||null!==a&&a===Ji)ra=na=!0;else{if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var s=t.lastRenderedState,l=a(s,n);if(i.eagerReducer=a,i.eagerState=l,ur(l,s))return}catch(u){}hl(e,o,r)}}var La={readContext:ai,useCallback:oa,useContext:oa,useEffect:oa,useImperativeHandle:oa,useLayoutEffect:oa,useMemo:oa,useReducer:oa,useRef:oa,useState:oa,useDebugValue:oa,useDeferredValue:oa,useTransition:oa,useMutableSource:oa,useOpaqueIdentifier:oa,unstable_isNewReconciler:!1},Ma={readContext:ai,useCallback:function(e,t){return sa().memoizedState=[e,void 0===t?null:t],e},useContext:ai,useEffect:ka,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,xa(4,2,_a.bind(null,t,e),n)},useLayoutEffect:function(e,t){return xa(4,2,e,t)},useMemo:function(e,t){var n=sa();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=sa();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Pa.bind(null,Ji,e),[r.memoizedState,e]},useRef:va,useState:ma,useDebugValue:Sa,useDeferredValue:function(e){var t=ma(e),n=t[0],r=t[1];return ka((function(){var t=Qi.transition;Qi.transition=1;try{r(e)}finally{Qi.transition=t}}),[e]),n},useTransition:function(){var e=ma(!1),t=e[0];return va(e=Aa.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=sa();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},fa(r,e,t,n)},useOpaqueIdentifier:function(){if(zi){var e=!1,t=function(e){return{$$typeof:T,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(Zr++).toString(36))),Error(a(355))})),n=ma(t)[1];return 0===(2&Ji.mode)&&(Ji.flags|=516,ga(5,(function(){n("r:"+(Zr++).toString(36))}),void 0,null)),t}return ma(t="r:"+(Zr++).toString(36)),t},unstable_isNewReconciler:!1},Na={readContext:ai,useCallback:Da,useContext:ai,useEffect:wa,useImperativeHandle:Ca,useLayoutEffect:Ea,useMemo:ja,useReducer:ca,useRef:ya,useState:function(){return ca(ua)},useDebugValue:Sa,useDeferredValue:function(e){var t=ca(ua),n=t[0],r=t[1];return wa((function(){var t=Qi.transition;Qi.transition=1;try{r(e)}finally{Qi.transition=t}}),[e]),n},useTransition:function(){var e=ca(ua)[0];return[ya().current,e]},useMutableSource:ha,useOpaqueIdentifier:function(){return ca(ua)[0]},unstable_isNewReconciler:!1},Oa={readContext:ai,useCallback:Da,useContext:ai,useEffect:wa,useImperativeHandle:Ca,useLayoutEffect:Ea,useMemo:ja,useReducer:da,useRef:ya,useState:function(){return da(ua)},useDebugValue:Sa,useDeferredValue:function(e){var t=da(ua),n=t[0],r=t[1];return wa((function(){var t=Qi.transition;Qi.transition=1;try{r(e)}finally{Qi.transition=t}}),[e]),n},useTransition:function(){var e=da(ua)[0];return[ya().current,e]},useMutableSource:ha,useOpaqueIdentifier:function(){return da(ua)[0]},unstable_isNewReconciler:!1},Ta=k.ReactCurrentOwner,Fa=!1;function Ra(e,t,n,r){t.child=null===e?Di(t,null,n,r):Si(t,e.child,n,r)}function Ia(e,t,n,r,o){n=n.render;var i=t.ref;return ii(t,o),r=aa(e,t,n,r,i,o),null===e||Fa?(t.flags|=1,Ra(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,is(e,t,o))}function Ba(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!==typeof a||Ul(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Yl(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Wa(e,t,a,r,o,i))}return a=e.child,0===(o&i)&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:dr)(o,r)&&e.ref===t.ref)?is(e,t,i):(t.flags|=1,(e=ql(a,r)).ref=t.ref,e.return=t,t.child=e)}function Wa(e,t,n,r,o,i){if(null!==e&&dr(e.memoizedProps,r)&&e.ref===t.ref){if(Fa=!1,0===(i&o))return t.lanes=e.lanes,is(e,t,i);0!==(16384&e.flags)&&(Fa=!0)}return Ha(e,t,n,r,i)}function za(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0===(4&t.mode))t.memoizedState={baseLanes:0},wl(t,n);else{if(0===(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},wl(t,e),null;t.memoizedState={baseLanes:0},wl(t,null!==i?i.baseLanes:n)}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,wl(t,r);return Ra(e,t,o,n),t.child}function $a(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Ha(e,t,n,r,o){var i=vo(n)?mo:fo.current;return i=go(t,i),ii(t,o),n=aa(e,t,n,r,i,o),null===e||Fa?(t.flags|=1,Ra(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,is(e,t,o))}function Va(e,t,n,r,o){if(vo(n)){var i=!0;ko(t)}else i=!1;if(ii(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),xi(t,n,r),ki(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=n.contextType;"object"===typeof u&&null!==u?u=ai(u):u=go(t,u=vo(n)?mo:fo.current);var c=n.getDerivedStateFromProps,d="function"===typeof c||"function"===typeof a.getSnapshotBeforeUpdate;d||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==r||l!==u)&&bi(t,a,r,u),si=!1;var p=t.memoizedState;a.state=p,fi(t,r,a,o),l=t.memoizedState,s!==r||p!==l||ho.current||si?("function"===typeof c&&(gi(t,n,c,r),l=t.memoizedState),(s=si||yi(t,n,s,r,p,l,u))?(d||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4)):("function"===typeof a.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=u,r=s):("function"===typeof a.componentDidMount&&(t.flags|=4),r=!1)}else{a=t.stateNode,ui(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:Qo(t.type,s),a.props=u,d=t.pendingProps,p=a.context,"object"===typeof(l=n.contextType)&&null!==l?l=ai(l):l=go(t,l=vo(n)?mo:fo.current);var f=n.getDerivedStateFromProps;(c="function"===typeof f||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==d||p!==l)&&bi(t,a,r,l),si=!1,p=t.memoizedState,a.state=p,fi(t,r,a,o);var h=t.memoizedState;s!==d||p!==h||ho.current||si?("function"===typeof f&&(gi(t,n,f,r),h=t.memoizedState),(u=si||yi(t,n,u,r,p,h,l))?(c||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,l),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,l)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=l,r=u):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=256),r=!1)}return Ua(e,t,n,r,i,o)}function Ua(e,t,n,r,o,i){$a(e,t);var a=0!==(64&t.flags);if(!r&&!a)return o&&wo(t,n,!1),is(e,t,i);r=t.stateNode,Ta.current=t;var s=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Si(t,e.child,null,i),t.child=Si(t,null,s,i)):Ra(e,t,s,i),t.memoizedState=r.state,o&&wo(t,n,!0),t.child}function qa(e){var t=e.stateNode;t.pendingContext?xo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&xo(0,t.context,!1),Ni(e,t.containerInfo)}var Ya,Ga,Za,Ka,Qa={dehydrated:null,retryLane:0};function Xa(e,t,n){var r,o=t.pendingProps,i=Ri.current,a=!1;return(r=0!==(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!==(2&i)),r?(a=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(i|=1),co(Ri,1&i),null===e?(void 0!==o.fallback&&Vi(t),e=o.children,i=o.fallback,a?(e=Ja(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Qa,e):"number"===typeof o.unstable_expectedLoadTime?(e=Ja(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Qa,t.lanes=33554432,e):((n=Zl({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,a?(o=ts(e,t,o.children,o.fallback,n),a=t.child,i=e.child.memoizedState,a.memoizedState=null===i?{baseLanes:n}:{baseLanes:i.baseLanes|n},a.childLanes=e.childLanes&~n,t.memoizedState=Qa,o):(n=es(e,t,o.children,n),t.memoizedState=null,n))}function Ja(e,t,n,r){var o=e.mode,i=e.child;return t={mode:"hidden",children:t},0===(2&o)&&null!==i?(i.childLanes=0,i.pendingProps=t):i=Zl(t,o,0,null),n=Gl(n,o,r,null),i.return=e,n.return=e,i.sibling=n,e.child=i,n}function es(e,t,n,r){var o=e.child;return e=o.sibling,n=ql(o,{mode:"visible",children:n}),0===(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function ts(e,t,n,r,o){var i=t.mode,a=e.child;e=a.sibling;var s={mode:"hidden",children:n};return 0===(2&i)&&t.child!==a?((n=t.child).childLanes=0,n.pendingProps=s,null!==(a=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null):n=ql(a,s),null!==e?r=ql(e,r):(r=Gl(r,i,o,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function ns(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),oi(e.return,t)}function rs(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o,a.lastEffect=i)}function os(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Ra(e,t,r.children,n),0!==(2&(r=Ri.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!==(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&ns(e,n);else if(19===e.tag)ns(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(co(Ri,r),0===(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Ii(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),rs(t,!1,o,n,i,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Ii(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}rs(t,!0,n,null,i,t.lastEffect);break;case"together":rs(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function is(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),zs|=t.lanes,0!==(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=ql(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=ql(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function as(e,t){if(!zi)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 ss(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return vo(t.type)&&yo(),null;case 3:return Oi(),uo(ho),uo(fo),Zi(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(qi(t)?t.flags|=4:r.hydrate||(t.flags|=256)),Ga(t),null;case 5:Fi(t);var i=Mi(Li.current);if(n=t.type,null!==e&&null!=t.stateNode)Za(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=Mi(Ai.current),qi(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Qr]=t,r[Xr]=s,n){case"dialog":Ar("cancel",r),Ar("close",r);break;case"iframe":case"object":case"embed":Ar("load",r);break;case"video":case"audio":for(e=0;e<Cr.length;e++)Ar(Cr[e],r);break;case"source":Ar("error",r);break;case"img":case"image":case"link":Ar("error",r),Ar("load",r);break;case"details":Ar("toggle",r);break;case"input":ee(r,s),Ar("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},Ar("invalid",r);break;case"textarea":le(r,s),Ar("invalid",r)}for(var u in Ee(n,s),e=null,s)s.hasOwnProperty(u)&&(i=s[u],"children"===u?"string"===typeof i?r.textContent!==i&&(e=["children",i]):"number"===typeof i&&r.textContent!==""+i&&(e=["children",""+i]):l.hasOwnProperty(u)&&null!=i&&"onScroll"===u&&Ar("scroll",r));switch(n){case"input":K(r),re(r,s,!0);break;case"textarea":K(r),ce(r);break;case"select":case"option":break;default:"function"===typeof s.onClick&&(r.onclick=Br)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(u=9===i.nodeType?i:i.ownerDocument,e===de.html&&(e=pe(n)),e===de.html?"script"===n?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=u.createElement(n,{is:r.is}):(e=u.createElement(n),"select"===n&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,n),e[Qr]=t,e[Xr]=r,Ya(e,t,!1,!1),t.stateNode=e,u=_e(n,r),n){case"dialog":Ar("cancel",e),Ar("close",e),i=r;break;case"iframe":case"object":case"embed":Ar("load",e),i=r;break;case"video":case"audio":for(i=0;i<Cr.length;i++)Ar(Cr[i],e);i=r;break;case"source":Ar("error",e),i=r;break;case"img":case"image":case"link":Ar("error",e),Ar("load",e),i=r;break;case"details":Ar("toggle",e),i=r;break;case"input":ee(e,r),i=J(e,r),Ar("invalid",e);break;case"option":i=ie(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=o({},r,{value:void 0}),Ar("invalid",e);break;case"textarea":le(e,r),i=se(e,r),Ar("invalid",e);break;default:i=r}Ee(n,i);var c=i;for(s in c)if(c.hasOwnProperty(s)){var d=c[s];"style"===s?ke(e,d):"dangerouslySetInnerHTML"===s?null!=(d=d?d.__html:void 0)&&ge(e,d):"children"===s?"string"===typeof d?("textarea"!==n||""!==d)&&ve(e,d):"number"===typeof d&&ve(e,""+d):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(l.hasOwnProperty(s)?null!=d&&"onScroll"===s&&Ar("scroll",e):null!=d&&b(e,s,d,u))}switch(n){case"input":K(e),re(e,r,!1);break;case"textarea":K(e),ce(e);break;case"option":null!=r.value&&e.setAttribute("value",""+G(r.value));break;case"select":e.multiple=!!r.multiple,null!=(s=r.value)?ae(e,!!r.multiple,s,!1):null!=r.defaultValue&&ae(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof i.onClick&&(e.onclick=Br)}$r(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Ka(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(a(166));n=Mi(Li.current),Mi(Ai.current),qi(t)?(r=t.stateNode,n=t.memoizedProps,r[Qr]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Qr]=t,t.stateNode=r)}return null;case 13:return uo(Ri),r=t.memoizedState,0!==(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&qi(t):n=null!==e.memoizedState,r&&!n&&0!==(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!==(1&Ri.current)?0===Is&&(Is=3):(0!==Is&&3!==Is||(Is=4),null===Ns||0===(134217727&zs)&&0===(134217727&$s)||yl(Ns,Ts))),(r||n)&&(t.flags|=4),null);case 4:return Oi(),Ga(t),null===e&&Lr(t.stateNode.containerInfo),null;case 10:return ri(t),null;case 19:if(uo(Ri),null===(r=t.memoizedState))return null;if(s=0!==(64&t.flags),null===(u=r.rendering))if(s)as(r,!1);else{if(0!==Is||null!==e&&0!==(64&e.flags))for(e=t.child;null!==e;){if(null!==(u=Ii(e))){for(t.flags|=64,as(r,!1),null!==(s=u.updateQueue)&&(t.updateQueue=s,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(s=n).flags&=2,s.nextEffect=null,s.firstEffect=null,s.lastEffect=null,null===(u=s.alternate)?(s.childLanes=0,s.lanes=e,s.child=null,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=u.childLanes,s.lanes=u.lanes,s.child=u.child,s.memoizedProps=u.memoizedProps,s.memoizedState=u.memoizedState,s.updateQueue=u.updateQueue,s.type=u.type,e=u.dependencies,s.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return co(Ri,1&Ri.current|2),t.child}e=e.sibling}null!==r.tail&&Ho()>qs&&(t.flags|=64,s=!0,as(r,!1),t.lanes=33554432)}else{if(!s)if(null!==(e=Ii(u))){if(t.flags|=64,s=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),as(r,!0),null===r.tail&&"hidden"===r.tailMode&&!u.alternate&&!zi)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Ho()-r.renderingStartTime>qs&&1073741824!==n&&(t.flags|=64,s=!0,as(r,!1),t.lanes=33554432);r.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=r.last)?n.sibling=u:t.child=u,r.last=u)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Ho(),n.sibling=null,t=Ri.current,co(Ri,s?1&t|2:1&t),n):null;case 23:case 24:return El(),null!==e&&null!==e.memoizedState!==(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(a(156,t.tag))}function ls(e){switch(e.tag){case 1:vo(e.type)&&yo();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Oi(),uo(ho),uo(fo),Zi(),0!==(64&(t=e.flags)))throw Error(a(285));return e.flags=-4097&t|64,e;case 5:return Fi(e),null;case 13:return uo(Ri),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return uo(Ri),null;case 4:return Oi(),null;case 10:return ri(e),null;case 23:case 24:return El(),null;default:return null}}function us(e,t){try{var n="",r=t;do{n+=q(r),r=r.return}while(r);var o=n}catch(i){o="\nError generating stack: "+i.message+"\n"+i.stack}return{value:e,source:t,stack:o}}function cs(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}Ya=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ga=function(){},Za=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Mi(Ai.current);var a,s=null;switch(n){case"input":i=J(e,i),r=J(e,r),s=[];break;case"option":i=ie(e,i),r=ie(e,r),s=[];break;case"select":i=o({},i,{value:void 0}),r=o({},r,{value:void 0}),s=[];break;case"textarea":i=se(e,i),r=se(e,r),s=[];break;default:"function"!==typeof i.onClick&&"function"===typeof r.onClick&&(e.onclick=Br)}for(d in Ee(n,r),n=null,i)if(!r.hasOwnProperty(d)&&i.hasOwnProperty(d)&&null!=i[d])if("style"===d){var u=i[d];for(a in u)u.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==d&&"children"!==d&&"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&"autoFocus"!==d&&(l.hasOwnProperty(d)?s||(s=[]):(s=s||[]).push(d,null));for(d in r){var c=r[d];if(u=null!=i?i[d]:void 0,r.hasOwnProperty(d)&&c!==u&&(null!=c||null!=u))if("style"===d)if(u){for(a in u)!u.hasOwnProperty(a)||c&&c.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in c)c.hasOwnProperty(a)&&u[a]!==c[a]&&(n||(n={}),n[a]=c[a])}else n||(s||(s=[]),s.push(d,n)),n=c;else"dangerouslySetInnerHTML"===d?(c=c?c.__html:void 0,u=u?u.__html:void 0,null!=c&&u!==c&&(s=s||[]).push(d,c)):"children"===d?"string"!==typeof c&&"number"!==typeof c||(s=s||[]).push(d,""+c):"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&(l.hasOwnProperty(d)?(null!=c&&"onScroll"===d&&Ar("scroll",e),s||u===c||(s=[])):"object"===typeof c&&null!==c&&c.$$typeof===T?c.toString():(s=s||[]).push(d,c))}n&&(s=s||[]).push("style",n);var d=s;(t.updateQueue=d)&&(t.flags|=4)}},Ka=function(e,t,n,r){n!==r&&(t.flags|=4)};var ds="function"===typeof WeakMap?WeakMap:Map;function ps(e,t,n){(n=ci(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ks||(Ks=!0,Qs=r),cs(0,t)},n}function fs(e,t,n){(n=ci(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var o=t.value;n.payload=function(){return cs(0,t),r(o)}}var i=e.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===Xs?Xs=new Set([this]):Xs.add(this),cs(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var hs="function"===typeof WeakSet?WeakSet:Set;function ms(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(n){Wl(e,n)}else t.current=null}function gs(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Qo(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&qr(t.stateNode.containerInfo))}throw Error(a(163))}function vs(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3===(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;r=o.next,0!==(4&(o=o.tag))&&0!==(1&o)&&(Rl(n,e),Fl(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Qo(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&hi(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}hi(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&$r(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&kt(n)))))}throw Error(a(163))}function ys(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"===typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=void 0!==o&&null!==o&&o.hasOwnProperty("display")?o.display:null,r.style.display=be("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function xs(e,t){if(_o&&"function"===typeof _o.onCommitFiberUnmount)try{_o.onCommitFiberUnmount(Eo,t)}catch(i){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,void 0!==o)if(0!==(4&r))Rl(t,n);else{r=t;try{o()}catch(i){Wl(r,i)}}n=n.next}while(n!==e)}break;case 1:if(ms(t),"function"===typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(i){Wl(t,i)}break;case 5:ms(t);break;case 4:Cs(e,t)}}function bs(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function ks(e){return 5===e.tag||3===e.tag||4===e.tag}function ws(e){e:{for(var t=e.return;null!==t;){if(ks(t))break e;t=t.return}throw Error(a(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.flags&&(ve(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||ks(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?Es(e,n,t):_s(e,n,t)}function Es(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Br));else if(4!==r&&null!==(e=e.child))for(Es(e,t,n),e=e.sibling;null!==e;)Es(e,t,n),e=e.sibling}function _s(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(_s(e,t,n),e=e.sibling;null!==e;)_s(e,t,n),e=e.sibling}function Cs(e,t){for(var n,r,o=t,i=!1;;){if(!i){i=o.return;e:for(;;){if(null===i)throw Error(a(160));switch(n=i.stateNode,i.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}i=i.return}i=!0}if(5===o.tag||6===o.tag){e:for(var s=e,l=o,u=l;;)if(xs(s,u),null!==u.child&&4!==u.tag)u.child.return=u,u=u.child;else{if(u===l)break e;for(;null===u.sibling;){if(null===u.return||u.return===l)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}r?(s=n,l=o.stateNode,8===s.nodeType?s.parentNode.removeChild(l):s.removeChild(l)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,r=!0,o.child.return=o,o=o.child;continue}}else if(xs(e,o),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(i=!1)}o.sibling.return=o.return,o=o.sibling}}function Ss(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3===(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[Xr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&te(n,r),_e(e,o),t=_e(e,r),o=0;o<i.length;o+=2){var s=i[o],l=i[o+1];"style"===s?ke(n,l):"dangerouslySetInnerHTML"===s?ge(n,l):"children"===s?ve(n,l):b(n,s,l,t)}switch(e){case"input":ne(n,r);break;case"textarea":ue(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(i=r.value)?ae(n,!!r.multiple,i,!1):e!==!!r.multiple&&(null!=r.defaultValue?ae(n,!!r.multiple,r.defaultValue,!0):ae(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,kt(n.containerInfo)));case 13:return null!==t.memoizedState&&(Us=Ho(),ys(t.child,!0)),void Ds(t);case 19:return void Ds(t);case 23:case 24:return void ys(t,null!==t.memoizedState)}throw Error(a(163))}function Ds(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new hs),t.forEach((function(t){var r=$l.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function js(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var As=Math.ceil,Ps=k.ReactCurrentDispatcher,Ls=k.ReactCurrentOwner,Ms=0,Ns=null,Os=null,Ts=0,Fs=0,Rs=lo(0),Is=0,Bs=null,Ws=0,zs=0,$s=0,Hs=0,Vs=null,Us=0,qs=1/0;function Ys(){qs=Ho()+500}var Gs,Zs=null,Ks=!1,Qs=null,Xs=null,Js=!1,el=null,tl=90,nl=[],rl=[],ol=null,il=0,al=null,sl=-1,ll=0,ul=0,cl=null,dl=!1;function pl(){return 0!==(48&Ms)?Ho():-1!==sl?sl:sl=Ho()}function fl(e){if(0===(2&(e=e.mode)))return 1;if(0===(4&e))return 99===Vo()?1:2;if(0===ll&&(ll=Ws),0!==Ko.transition){0!==ul&&(ul=null!==Vs?Vs.pendingLanes:0),e=ll;var t=4186112&~ul;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=Vo(),0!==(4&Ms)&&98===e?e=Bt(12,ll):e=Bt(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),ll),e}function hl(e,t,n){if(50<il)throw il=0,al=null,Error(a(185));if(null===(e=ml(e,t)))return null;$t(e,t,n),e===Ns&&($s|=t,4===Is&&yl(e,Ts));var r=Vo();1===t?0!==(8&Ms)&&0===(48&Ms)?xl(e):(gl(e,n),0===Ms&&(Ys(),Go())):(0===(4&Ms)||98!==r&&99!==r||(null===ol?ol=new Set([e]):ol.add(e)),gl(e,n)),Vs=e}function ml(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function gl(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,i=e.expirationTimes,s=e.pendingLanes;0<s;){var l=31-Ht(s),u=1<<l,c=i[l];if(-1===c){if(0===(u&r)||0!==(u&o)){c=t,Ft(u);var d=Tt;i[l]=10<=d?c+250:6<=d?c+5e3:-1}}else c<=t&&(e.expiredLanes|=u);s&=~u}if(r=Rt(e,e===Ns?Ts:0),t=Tt,0===r)null!==n&&(n!==Ro&&Do(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Ro&&Do(n)}15===t?(n=xl.bind(null,e),null===Bo?(Bo=[n],Wo=So(Mo,Zo)):Bo.push(n),n=Ro):14===t?n=Yo(99,xl.bind(null,e)):(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(a(358,e))}}(t),n=Yo(n,vl.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function vl(e){if(sl=-1,ul=ll=0,0!==(48&Ms))throw Error(a(327));var t=e.callbackNode;if(Tl()&&e.callbackNode!==t)return null;var n=Rt(e,e===Ns?Ts:0);if(0===n)return null;var r=n,o=Ms;Ms|=16;var i=Sl();for(Ns===e&&Ts===r||(Ys(),_l(e,r));;)try{Al();break}catch(l){Cl(e,l)}if(ni(),Ps.current=i,Ms=o,null!==Os?r=0:(Ns=null,Ts=0,r=Is),0!==(Ws&$s))_l(e,0);else if(0!==r){if(2===r&&(Ms|=64,e.hydrate&&(e.hydrate=!1,qr(e.containerInfo)),0!==(n=It(e))&&(r=Dl(e,n))),1===r)throw t=Bs,_l(e,0),yl(e,n),gl(e,Ho()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(a(345));case 2:case 5:Ml(e);break;case 3:if(yl(e,n),(62914560&n)===n&&10<(r=Us+500-Ho())){if(0!==Rt(e,0))break;if(((o=e.suspendedLanes)&n)!==n){pl(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Vr(Ml.bind(null,e),r);break}Ml(e);break;case 4:if(yl(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var s=31-Ht(n);i=1<<s,(s=r[s])>o&&(o=s),n&=~i}if(n=o,10<(n=(120>(n=Ho()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*As(n/1960))-n)){e.timeoutHandle=Vr(Ml.bind(null,e),n);break}Ml(e);break;default:throw Error(a(329))}}return gl(e,Ho()),e.callbackNode===t?vl.bind(null,e):null}function yl(e,t){for(t&=~Hs,t&=~$s,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ht(t),r=1<<n;e[n]=-1,t&=~r}}function xl(e){if(0!==(48&Ms))throw Error(a(327));if(Tl(),e===Ns&&0!==(e.expiredLanes&Ts)){var t=Ts,n=Dl(e,t);0!==(Ws&$s)&&(n=Dl(e,t=Rt(e,t)))}else n=Dl(e,t=Rt(e,0));if(0!==e.tag&&2===n&&(Ms|=64,e.hydrate&&(e.hydrate=!1,qr(e.containerInfo)),0!==(t=It(e))&&(n=Dl(e,t))),1===n)throw n=Bs,_l(e,0),yl(e,t),gl(e,Ho()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ml(e),gl(e,Ho()),null}function bl(e,t){var n=Ms;Ms|=1;try{return e(t)}finally{0===(Ms=n)&&(Ys(),Go())}}function kl(e,t){var n=Ms;Ms&=-2,Ms|=8;try{return e(t)}finally{0===(Ms=n)&&(Ys(),Go())}}function wl(e,t){co(Rs,Fs),Fs|=t,Ws|=t}function El(){Fs=Rs.current,uo(Rs)}function _l(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Ur(n)),null!==Os)for(n=Os.return;null!==n;){var r=n;switch(r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&yo();break;case 3:Oi(),uo(ho),uo(fo),Zi();break;case 5:Fi(r);break;case 4:Oi();break;case 13:case 19:uo(Ri);break;case 10:ri(r);break;case 23:case 24:El()}n=n.return}Ns=e,Os=ql(e.current,null),Ts=Fs=Ws=t,Is=0,Bs=null,Hs=$s=zs=0}function Cl(e,t){for(;;){var n=Os;try{if(ni(),Ki.current=La,na){for(var r=Ji.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}na=!1}if(Xi=0,ta=ea=Ji=null,ra=!1,Ls.current=null,null===n||null===n.return){Is=1,Bs=t,Os=null;break}e:{var i=e,a=n.return,s=n,l=t;if(t=Ts,s.flags|=2048,s.firstEffect=s.lastEffect=null,null!==l&&"object"===typeof l&&"function"===typeof l.then){var u=l;if(0===(2&s.mode)){var c=s.alternate;c?(s.updateQueue=c.updateQueue,s.memoizedState=c.memoizedState,s.lanes=c.lanes):(s.updateQueue=null,s.memoizedState=null)}var d=0!==(1&Ri.current),p=a;do{var f;if(f=13===p.tag){var h=p.memoizedState;if(null!==h)f=null!==h.dehydrated;else{var m=p.memoizedProps;f=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!d)}}if(f){var g=p.updateQueue;if(null===g){var v=new Set;v.add(u),p.updateQueue=v}else g.add(u);if(0===(2&p.mode)){if(p.flags|=64,s.flags|=16384,s.flags&=-2981,1===s.tag)if(null===s.alternate)s.tag=17;else{var y=ci(-1,1);y.tag=2,di(s,y)}s.lanes|=1;break e}l=void 0,s=t;var x=i.pingCache;if(null===x?(x=i.pingCache=new ds,l=new Set,x.set(u,l)):void 0===(l=x.get(u))&&(l=new Set,x.set(u,l)),!l.has(s)){l.add(s);var b=zl.bind(null,i,u,s);u.then(b,b)}p.flags|=4096,p.lanes=t;break e}p=p.return}while(null!==p);l=Error((Y(s.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Is&&(Is=2),l=us(l,s),p=a;do{switch(p.tag){case 3:i=l,p.flags|=4096,t&=-t,p.lanes|=t,pi(p,ps(0,i,t));break e;case 1:i=l;var k=p.type,w=p.stateNode;if(0===(64&p.flags)&&("function"===typeof k.getDerivedStateFromError||null!==w&&"function"===typeof w.componentDidCatch&&(null===Xs||!Xs.has(w)))){p.flags|=4096,t&=-t,p.lanes|=t,pi(p,fs(p,i,t));break e}}p=p.return}while(null!==p)}Ll(n)}catch(E){t=E,Os===n&&null!==n&&(Os=n=n.return);continue}break}}function Sl(){var e=Ps.current;return Ps.current=La,null===e?La:e}function Dl(e,t){var n=Ms;Ms|=16;var r=Sl();for(Ns===e&&Ts===t||_l(e,t);;)try{jl();break}catch(o){Cl(e,o)}if(ni(),Ms=n,Ps.current=r,null!==Os)throw Error(a(261));return Ns=null,Ts=0,Is}function jl(){for(;null!==Os;)Pl(Os)}function Al(){for(;null!==Os&&!jo();)Pl(Os)}function Pl(e){var t=Gs(e.alternate,e,Fs);e.memoizedProps=e.pendingProps,null===t?Ll(e):Os=t,Ls.current=null}function Ll(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(2048&t.flags)){if(null!==(n=ss(n,t,Fs)))return void(Os=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!==(1073741824&Fs)||0===(4&n.mode)){for(var r=0,o=n.child;null!==o;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}null!==e&&0===(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=ls(t)))return n.flags&=2047,void(Os=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Os=t);Os=t=e}while(null!==t);0===Is&&(Is=5)}function Ml(e){var t=Vo();return qo(99,Nl.bind(null,e,t)),null}function Nl(e,t){do{Tl()}while(null!==el);if(0!==(48&Ms))throw Error(a(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,i=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var s=e.eventTimes,l=e.expirationTimes;0<i;){var u=31-Ht(i),c=1<<u;o[u]=0,s[u]=-1,l[u]=-1,i&=~c}if(null!==ol&&0===(24&r)&&ol.has(e)&&ol.delete(e),e===Ns&&(Os=Ns=null,Ts=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(o=Ms,Ms|=32,Ls.current=null,Wr=Gt,gr(s=mr())){if("selectionStart"in s)l={start:s.selectionStart,end:s.selectionEnd};else e:if(l=(l=s.ownerDocument)&&l.defaultView||window,(c=l.getSelection&&l.getSelection())&&0!==c.rangeCount){l=c.anchorNode,i=c.anchorOffset,u=c.focusNode,c=c.focusOffset;try{l.nodeType,u.nodeType}catch(S){l=null;break e}var d=0,p=-1,f=-1,h=0,m=0,g=s,v=null;t:for(;;){for(var y;g!==l||0!==i&&3!==g.nodeType||(p=d+i),g!==u||0!==c&&3!==g.nodeType||(f=d+c),3===g.nodeType&&(d+=g.nodeValue.length),null!==(y=g.firstChild);)v=g,g=y;for(;;){if(g===s)break t;if(v===l&&++h===i&&(p=d),v===u&&++m===c&&(f=d),null!==(y=g.nextSibling))break;v=(g=v).parentNode}g=y}l=-1===p||-1===f?null:{start:p,end:f}}else l=null;l=l||{start:0,end:0}}else l=null;zr={focusedElem:s,selectionRange:l},Gt=!1,cl=null,dl=!1,Zs=r;do{try{Ol()}catch(S){if(null===Zs)throw Error(a(330));Wl(Zs,S),Zs=Zs.nextEffect}}while(null!==Zs);cl=null,Zs=r;do{try{for(s=e;null!==Zs;){var x=Zs.flags;if(16&x&&ve(Zs.stateNode,""),128&x){var b=Zs.alternate;if(null!==b){var k=b.ref;null!==k&&("function"===typeof k?k(null):k.current=null)}}switch(1038&x){case 2:ws(Zs),Zs.flags&=-3;break;case 6:ws(Zs),Zs.flags&=-3,Ss(Zs.alternate,Zs);break;case 1024:Zs.flags&=-1025;break;case 1028:Zs.flags&=-1025,Ss(Zs.alternate,Zs);break;case 4:Ss(Zs.alternate,Zs);break;case 8:Cs(s,l=Zs);var w=l.alternate;bs(l),null!==w&&bs(w)}Zs=Zs.nextEffect}}catch(S){if(null===Zs)throw Error(a(330));Wl(Zs,S),Zs=Zs.nextEffect}}while(null!==Zs);if(k=zr,b=mr(),x=k.focusedElem,s=k.selectionRange,b!==x&&x&&x.ownerDocument&&hr(x.ownerDocument.documentElement,x)){null!==s&&gr(x)&&(b=s.start,void 0===(k=s.end)&&(k=b),"selectionStart"in x?(x.selectionStart=b,x.selectionEnd=Math.min(k,x.value.length)):(k=(b=x.ownerDocument||document)&&b.defaultView||window).getSelection&&(k=k.getSelection(),l=x.textContent.length,w=Math.min(s.start,l),s=void 0===s.end?w:Math.min(s.end,l),!k.extend&&w>s&&(l=s,s=w,w=l),l=fr(x,w),i=fr(x,s),l&&i&&(1!==k.rangeCount||k.anchorNode!==l.node||k.anchorOffset!==l.offset||k.focusNode!==i.node||k.focusOffset!==i.offset)&&((b=b.createRange()).setStart(l.node,l.offset),k.removeAllRanges(),w>s?(k.addRange(b),k.extend(i.node,i.offset)):(b.setEnd(i.node,i.offset),k.addRange(b))))),b=[];for(k=x;k=k.parentNode;)1===k.nodeType&&b.push({element:k,left:k.scrollLeft,top:k.scrollTop});for("function"===typeof x.focus&&x.focus(),x=0;x<b.length;x++)(k=b[x]).element.scrollLeft=k.left,k.element.scrollTop=k.top}Gt=!!Wr,zr=Wr=null,e.current=n,Zs=r;do{try{for(x=e;null!==Zs;){var E=Zs.flags;if(36&E&&vs(x,Zs.alternate,Zs),128&E){b=void 0;var _=Zs.ref;if(null!==_){var C=Zs.stateNode;Zs.tag,b=C,"function"===typeof _?_(b):_.current=b}}Zs=Zs.nextEffect}}catch(S){if(null===Zs)throw Error(a(330));Wl(Zs,S),Zs=Zs.nextEffect}}while(null!==Zs);Zs=null,Io(),Ms=o}else e.current=n;if(Js)Js=!1,el=e,tl=t;else for(Zs=r;null!==Zs;)t=Zs.nextEffect,Zs.nextEffect=null,8&Zs.flags&&((E=Zs).sibling=null,E.stateNode=null),Zs=t;if(0===(r=e.pendingLanes)&&(Xs=null),1===r?e===al?il++:(il=0,al=e):il=0,n=n.stateNode,_o&&"function"===typeof _o.onCommitFiberRoot)try{_o.onCommitFiberRoot(Eo,n,void 0,64===(64&n.current.flags))}catch(S){}if(gl(e,Ho()),Ks)throw Ks=!1,e=Qs,Qs=null,e;return 0!==(8&Ms)||Go(),null}function Ol(){for(;null!==Zs;){var e=Zs.alternate;dl||null===cl||(0!==(8&Zs.flags)?Je(Zs,cl)&&(dl=!0):13===Zs.tag&&js(e,Zs)&&Je(Zs,cl)&&(dl=!0));var t=Zs.flags;0!==(256&t)&&gs(e,Zs),0===(512&t)||Js||(Js=!0,Yo(97,(function(){return Tl(),null}))),Zs=Zs.nextEffect}}function Tl(){if(90!==tl){var e=97<tl?97:tl;return tl=90,qo(e,Il)}return!1}function Fl(e,t){nl.push(t,e),Js||(Js=!0,Yo(97,(function(){return Tl(),null})))}function Rl(e,t){rl.push(t,e),Js||(Js=!0,Yo(97,(function(){return Tl(),null})))}function Il(){if(null===el)return!1;var e=el;if(el=null,0!==(48&Ms))throw Error(a(331));var t=Ms;Ms|=32;var n=rl;rl=[];for(var r=0;r<n.length;r+=2){var o=n[r],i=n[r+1],s=o.destroy;if(o.destroy=void 0,"function"===typeof s)try{s()}catch(u){if(null===i)throw Error(a(330));Wl(i,u)}}for(n=nl,nl=[],r=0;r<n.length;r+=2){o=n[r],i=n[r+1];try{var l=o.create;o.destroy=l()}catch(u){if(null===i)throw Error(a(330));Wl(i,u)}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return Ms=t,Go(),!0}function Bl(e,t,n){di(e,t=ps(0,t=us(n,t),1)),t=pl(),null!==(e=ml(e,1))&&($t(e,1,t),gl(e,t))}function Wl(e,t){if(3===e.tag)Bl(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Bl(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"===typeof n.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Xs||!Xs.has(r))){var o=fs(n,e=us(t,e),1);if(di(n,o),o=pl(),null!==(n=ml(n,1)))$t(n,1,o),gl(n,o);else if("function"===typeof r.componentDidCatch&&(null===Xs||!Xs.has(r)))try{r.componentDidCatch(t,e)}catch(i){}break}}n=n.return}}function zl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=pl(),e.pingedLanes|=e.suspendedLanes&n,Ns===e&&(Ts&n)===n&&(4===Is||3===Is&&(62914560&Ts)===Ts&&500>Ho()-Us?_l(e,0):Hs|=n),gl(e,t)}function $l(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0===(2&(t=e.mode))?t=1:0===(4&t)?t=99===Vo()?1:2:(0===ll&&(ll=Ws),0===(t=Wt(62914560&~ll))&&(t=4194304))),n=pl(),null!==(e=ml(e,t))&&($t(e,t,n),gl(e,n))}function Hl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Vl(e,t,n,r){return new Hl(e,t,n,r)}function Ul(e){return!(!(e=e.prototype)||!e.isReactComponent)}function ql(e,t){var n=e.alternate;return null===n?((n=Vl(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Yl(e,t,n,r,o,i){var s=2;if(r=e,"function"===typeof e)Ul(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case _:return Gl(n.children,o,i,t);case F:s=8,o|=16;break;case C:s=8,o|=1;break;case S:return(e=Vl(12,n,t,8|o)).elementType=S,e.type=S,e.lanes=i,e;case P:return(e=Vl(13,n,t,o)).type=P,e.elementType=P,e.lanes=i,e;case L:return(e=Vl(19,n,t,o)).elementType=L,e.lanes=i,e;case R:return Zl(n,o,i,t);case I:return(e=Vl(24,n,t,o)).elementType=I,e.lanes=i,e;default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case D:s=10;break e;case j:s=9;break e;case A:s=11;break e;case M:s=14;break e;case N:s=16,r=null;break e;case O:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Vl(s,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Gl(e,t,n,r){return(e=Vl(7,e,r,t)).lanes=n,e}function Zl(e,t,n,r){return(e=Vl(23,e,r,t)).elementType=R,e.lanes=n,e}function Kl(e,t,n){return(e=Vl(6,e,null,t)).lanes=n,e}function Ql(e,t,n){return(t=Vl(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Xl(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=zt(0),this.expirationTimes=zt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zt(0),this.mutableSourceEagerHydrationData=null}function Jl(e,t,n,r){var o=t.current,i=pl(),s=fl(o);e:if(n){t:{if(Ze(n=n._reactInternals)!==n||1!==n.tag)throw Error(a(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(vo(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(a(171))}if(1===n.tag){var u=n.type;if(vo(u)){n=bo(n,u,l);break e}}n=l}else n=po;return null===t.context?t.context=n:t.pendingContext=n,(t=ci(i,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),di(o,t),hl(o,s,i),s}function eu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function tu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function nu(e,t){tu(e,t),(e=e.alternate)&&tu(e,t)}function ru(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Xl(e,t,null!=n&&!0===n.hydrate),t=Vl(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,li(t),e[Jr]=n.current,Lr(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var o=(t=r[e])._getVersion;o=o(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=n}function ou(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function iu(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"===typeof o){var s=o;o=function(){var e=eu(a);s.call(e)}}Jl(t,a,e,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new ru(e,0,t?{hydrate:!0}:void 0)}(n,r),a=i._internalRoot,"function"===typeof o){var l=o;o=function(){var e=eu(a);l.call(e)}}kl((function(){Jl(t,a,e,o)}))}return eu(a)}function au(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!ou(t))throw Error(a(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:E,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}Gs=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||ho.current)Fa=!0;else{if(0===(n&r)){switch(Fa=!1,t.tag){case 3:qa(t),Yi();break;case 5:Ti(t);break;case 1:vo(t.type)&&ko(t);break;case 4:Ni(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;co(Xo,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(n&t.child.childLanes)?Xa(e,t,n):(co(Ri,1&Ri.current),null!==(t=is(e,t,n))?t.sibling:null);co(Ri,1&Ri.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(64&e.flags)){if(r)return os(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),co(Ri,Ri.current),r)break;return null;case 23:case 24:return t.lanes=0,za(e,t,n)}return is(e,t,n)}Fa=0!==(16384&e.flags)}else Fa=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=go(t,fo.current),ii(t,n),o=aa(null,t,r,e,o,n),t.flags|=1,"object"===typeof o&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,vo(r)){var i=!0;ko(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,li(t);var s=r.getDerivedStateFromProps;"function"===typeof s&&gi(t,r,s,e),o.updater=vi,t.stateNode=o,o._reactInternals=t,ki(t,r,e,n),t=Ua(null,t,r,!0,i,n)}else t.tag=0,Ra(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=(i=o._init)(o._payload),t.type=o,i=t.tag=function(e){if("function"===typeof e)return Ul(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===A)return 11;if(e===M)return 14}return 2}(o),e=Qo(o,e),i){case 0:t=Ha(null,t,o,e,n);break e;case 1:t=Va(null,t,o,e,n);break e;case 11:t=Ia(null,t,o,e,n);break e;case 14:t=Ba(null,t,o,Qo(o.type,e),r,n);break e}throw Error(a(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Ha(e,t,r,o=t.elementType===r?o:Qo(r,o),n);case 1:return r=t.type,o=t.pendingProps,Va(e,t,r,o=t.elementType===r?o:Qo(r,o),n);case 3:if(qa(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,ui(e,t),fi(t,r,null,n),(r=t.memoizedState.element)===o)Yi(),t=is(e,t,n);else{if((i=(o=t.stateNode).hydrate)&&(Wi=Yr(t.stateNode.containerInfo.firstChild),Bi=t,i=zi=!0),i){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(i=e[o])._workInProgressVersionPrimary=e[o+1],Gi.push(i);for(n=Di(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Ra(e,t,r,n),Yi();t=t.child}return t;case 5:return Ti(t),null===e&&Vi(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,s=o.children,Hr(r,o)?s=null:null!==i&&Hr(r,i)&&(t.flags|=16),$a(e,t),Ra(e,t,s,n),t.child;case 6:return null===e&&Vi(t),null;case 13:return Xa(e,t,n);case 4:return Ni(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Si(t,null,r,n):Ra(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Ia(e,t,r,o=t.elementType===r?o:Qo(r,o),n);case 7:return Ra(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ra(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,s=t.memoizedProps,i=o.value;var l=t.type._context;if(co(Xo,l._currentValue),l._currentValue=i,null!==s)if(l=s.value,0===(i=ur(l,i)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(l,i):1073741823))){if(s.children===o.children&&!ho.current){t=is(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var u=l.dependencies;if(null!==u){s=l.child;for(var c=u.firstContext;null!==c;){if(c.context===r&&0!==(c.observedBits&i)){1===l.tag&&((c=ci(-1,n&-n)).tag=2,di(l,c)),l.lanes|=n,null!==(c=l.alternate)&&(c.lanes|=n),oi(l.return,n),u.lanes|=n;break}c=c.next}}else s=10===l.tag&&l.type===t.type?null:l.child;if(null!==s)s.return=l;else for(s=l;null!==s;){if(s===t){s=null;break}if(null!==(l=s.sibling)){l.return=s.return,s=l;break}s=s.return}l=s}Ra(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,ii(t,n),r=r(o=ai(o,i.unstable_observedBits)),t.flags|=1,Ra(e,t,r,n),t.child;case 14:return i=Qo(o=t.type,t.pendingProps),Ba(e,t,o,i=Qo(o.type,i),r,n);case 15:return Wa(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Qo(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,vo(r)?(e=!0,ko(t)):e=!1,ii(t,n),xi(t,r,o),ki(t,r,o,n),Ua(null,t,r,!0,e,n);case 19:return os(e,t,n);case 23:case 24:return za(e,t,n)}throw Error(a(156,t.tag))},ru.prototype.render=function(e){Jl(e,this._internalRoot,null,null)},ru.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Jl(null,e,null,(function(){t[Jr]=null}))},et=function(e){13===e.tag&&(hl(e,4,pl()),nu(e,4))},tt=function(e){13===e.tag&&(hl(e,67108864,pl()),nu(e,67108864))},nt=function(e){if(13===e.tag){var t=pl(),n=fl(e);hl(e,n,t),nu(e,n)}},rt=function(e,t){return t()},Se=function(e,t,n){switch(t){case"input":if(ne(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=oo(r);if(!o)throw Error(a(90));Q(r),ne(r,o)}}}break;case"textarea":ue(e,n);break;case"select":null!=(t=n.value)&&ae(e,!!n.multiple,t,!1)}},Me=bl,Ne=function(e,t,n,r,o){var i=Ms;Ms|=4;try{return qo(98,e.bind(null,t,n,r,o))}finally{0===(Ms=i)&&(Ys(),Go())}},Oe=function(){0===(49&Ms)&&(function(){if(null!==ol){var e=ol;ol=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,gl(e,Ho())}))}Go()}(),Tl())},Te=function(e,t){var n=Ms;Ms|=2;try{return e(t)}finally{0===(Ms=n)&&(Ys(),Go())}};var su={Events:[no,ro,oo,Pe,Le,Tl,{current:!1}]},lu={findFiberByHostInstance:to,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},uu={bundleType:lu.bundleType,version:lu.version,rendererPackageName:lu.rendererPackageName,rendererConfig:lu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:k.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Xe(e))?null:e.stateNode},findFiberByHostInstance:lu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var cu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!cu.isDisabled&&cu.supportsFiber)try{Eo=cu.inject(uu),_o=cu}catch(me){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=su,t.createPortal=au,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=Xe(t))?null:e.stateNode},t.flushSync=function(e,t){var n=Ms;if(0!==(48&n))return e(t);Ms|=1;try{if(e)return qo(99,e.bind(null,t))}finally{Ms=n,Go()}},t.hydrate=function(e,t,n){if(!ou(t))throw Error(a(200));return iu(null,e,t,!0,n)},t.render=function(e,t,n){if(!ou(t))throw Error(a(200));return iu(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!ou(e))throw Error(a(40));return!!e._reactRootContainer&&(kl((function(){iu(null,null,e,!1,(function(){e._reactRootContainer=null,e[Jr]=null}))})),!0)},t.unstable_batchedUpdates=bl,t.unstable_createPortal=function(e,t){return au(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!ou(n))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return iu(e,t,n,!1,r)},t.version="17.0.2"},7950:(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(t){console.error(t)}}(),e.exports=n(2730)},6366:e=>{var t="undefined"!==typeof Element,n="function"===typeof Map,r="function"===typeof Set,o="function"===typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var s,l,u,c;if(Array.isArray(e)){if((s=e.length)!=a.length)return!1;for(l=s;0!==l--;)if(!i(e[l],a[l]))return!1;return!0}if(n&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!a.has(l.value[0]))return!1;for(c=e.entries();!(l=c.next()).done;)if(!i(l.value[1],a.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((s=e.length)!=a.length)return!1;for(l=s;0!==l--;)if(e[l]!==a[l])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"===typeof e.valueOf&&"function"===typeof a.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString&&"function"===typeof e.toString&&"function"===typeof a.toString)return e.toString()===a.toString();if((s=(u=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(l=s;0!==l--;)if(!Object.prototype.hasOwnProperty.call(a,u[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!==l--;)if(("_owner"!==u[l]&&"__v"!==u[l]&&"__o"!==u[l]||!e.$$typeof)&&!i(e[u[l]],a[u[l]]))return!1;return!0}return e!==e&&a!==a}e.exports=function(e,t){try{return i(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},5082:(e,t)=>{"use strict";var n=60103,r=60106,o=60107,i=60108,a=60114,s=60109,l=60110,u=60112,c=60113,d=60120,p=60115,f=60116,h=60121,m=60122,g=60117,v=60129,y=60131;if("function"===typeof Symbol&&Symbol.for){var x=Symbol.for;n=x("react.element"),r=x("react.portal"),o=x("react.fragment"),i=x("react.strict_mode"),a=x("react.profiler"),s=x("react.provider"),l=x("react.context"),u=x("react.forward_ref"),c=x("react.suspense"),d=x("react.suspense_list"),p=x("react.memo"),f=x("react.lazy"),h=x("react.block"),m=x("react.server.block"),g=x("react.fundamental"),v=x("react.debug_trace_mode"),y=x("react.legacy_hidden")}function b(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case a:case i:case c:case d:return e;default:switch(e=e&&e.$$typeof){case l:case u:case f:case p:case s:return e;default:return t}}case r:return t}}}t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===a||e===v||e===i||e===c||e===d||e===y||"object"===typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===p||e.$$typeof===s||e.$$typeof===l||e.$$typeof===u||e.$$typeof===g||e.$$typeof===h||e[0]===m)},t.typeOf=b},2086:(e,t,n)=>{"use strict";e.exports=n(5082)},6311:(e,t,n)=>{"use strict";function r(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}const o={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((e=>{o[e]=new r(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((e=>{let[t,n]=e;o[t]=new r(t,1,!1,n,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((e=>{o[e]=new r(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((e=>{o[e]=new r(e,2,!1,e,null,!1,!1)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((e=>{o[e]=new r(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((e=>{o[e]=new r(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((e=>{o[e]=new r(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((e=>{o[e]=new r(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((e=>{o[e]=new r(e,5,!1,e.toLowerCase(),null,!1,!1)}));const i=/[\-\:]([a-z])/g,a=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((e=>{const t=e.replace(i,a);o[t]=new r(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((e=>{const t=e.replace(i,a);o[t]=new r(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((e=>{const t=e.replace(i,a);o[t]=new r(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((e=>{o[e]=new r(e,1,!1,e.toLowerCase(),null,!1,!1)}));o.xlinkHref=new r("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((e=>{o[e]=new r(e,1,!1,e.toLowerCase(),null,!0,!0)}));const{CAMELCASE:s,SAME:l,possibleStandardNames:u}=n(8952),c=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[: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]*$")),d=Object.keys(u).reduce(((e,t)=>{const n=u[t];return n===l?e[t]=t:n===s?e[t.toLowerCase()]=t:e[t]=n,e}),{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return o.hasOwnProperty(e)?o[e]:null},t.isCustomAttribute=c,t.possibleStandardNames=d},8952:(e,t)=>{t.SAME=0;t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},7686:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=s(n(5173)),i=n(5043),a=s(i);function s(e){return e&&e.__esModule?e:{default:e}}var l={bgColor:o.default.oneOfType([o.default.object,o.default.string]).isRequired,bgD:o.default.string.isRequired,fgColor:o.default.oneOfType([o.default.object,o.default.string]).isRequired,fgD:o.default.string.isRequired,size:o.default.number.isRequired,title:o.default.string,viewBoxSize:o.default.number.isRequired,xmlns:o.default.string},u=(0,i.forwardRef)((function(e,t){var n=e.bgColor,o=e.bgD,i=e.fgD,s=e.fgColor,l=e.size,u=e.title,c=e.viewBoxSize,d=e.xmlns,p=void 0===d?"http://www.w3.org/2000/svg":d,f=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["bgColor","bgD","fgD","fgColor","size","title","viewBoxSize","xmlns"]);return a.default.createElement("svg",r({},f,{height:l,ref:t,viewBox:"0 0 "+c+" "+c,width:l,xmlns:p}),u?a.default.createElement("title",null,u):null,a.default.createElement("path",{d:o,fill:n}),a.default.createElement("path",{d:i,fill:s}))}));u.displayName="QRCodeSvg",u.propTypes=l,t.default=u},3245:(e,t,n)=>{"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=c(n(5173)),i=c(n(7742)),a=c(n(1612)),s=n(5043),l=c(s),u=c(n(7686));function c(e){return e&&e.__esModule?e:{default:e}}var d={bgColor:o.default.oneOfType([o.default.object,o.default.string]),fgColor:o.default.oneOfType([o.default.object,o.default.string]),level:o.default.string,size:o.default.number,value:o.default.string.isRequired},p=(0,s.forwardRef)((function(e,t){var n=e.bgColor,o=void 0===n?"#FFFFFF":n,s=e.fgColor,c=void 0===s?"#000000":s,d=e.level,p=void 0===d?"L":d,f=e.size,h=void 0===f?256:f,m=e.value,g=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["bgColor","fgColor","level","size","value"]),v=new a.default(-1,i.default[p]);v.addData(m),v.make();var y=v.modules;return l.default.createElement(u.default,r({},g,{bgColor:o,bgD:y.map((function(e,t){return e.map((function(e,n){return e?"":"M "+n+" "+t+" l 1 0 0 1 -1 0 Z"})).join(" ")})).join(" "),fgColor:c,fgD:y.map((function(e,t){return e.map((function(e,n){return e?"M "+n+" "+t+" l 1 0 0 1 -1 0 Z":""})).join(" ")})).join(" "),ref:t,size:h,viewBoxSize:y.length}))}));p.displayName="QRCode",p.propTypes=d,t.Ay=p},1153:(e,t,n)=>{"use strict";n(2123);var r=n(5043),o=60103;if(t.Fragment=60107,"function"===typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),t.Fragment=i("react.fragment")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,i={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)s.call(t,r)&&!l.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:u,ref:c,props:i,_owner:a.current}}t.jsx=u,t.jsxs=u},4202:(e,t,n)=>{"use strict";var r=n(2123),o=60103,i=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var a=60109,s=60110,l=60112;t.Suspense=60113;var u=60115,c=60116;if("function"===typeof Symbol&&Symbol.for){var d=Symbol.for;o=d("react.element"),i=d("react.portal"),t.Fragment=d("react.fragment"),t.StrictMode=d("react.strict_mode"),t.Profiler=d("react.profiler"),a=d("react.provider"),s=d("react.context"),l=d("react.forward_ref"),t.Suspense=d("react.suspense"),u=d("react.memo"),c=d("react.lazy")}var p="function"===typeof Symbol&&Symbol.iterator;function f(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m={};function g(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}function v(){}function y(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error(f(85));this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=g.prototype;var x=y.prototype=new v;x.constructor=y,r(x,g.prototype),x.isPureReactComponent=!0;var b={current:null},k=Object.prototype.hasOwnProperty,w={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,n){var r,i={},a=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)k.call(t,r)&&!w.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(1===l)i.children=n;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];i.children=u}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===i[r]&&(i[r]=l[r]);return{$$typeof:o,type:e,key:a,ref:s,props:i,_owner:b.current}}function _(e){return"object"===typeof e&&null!==e&&e.$$typeof===o}var C=/\/+/g;function S(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function D(e,t,n,r,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case o:case i:l=!0}}if(l)return a=a(l=e),e=""===r?"."+S(l,0):r,Array.isArray(a)?(n="",null!=e&&(n=e.replace(C,"$&/")+"/"),D(a,t,n,"",(function(e){return e}))):null!=a&&(_(a)&&(a=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,n+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(C,"$&/")+"/")+e)),t.push(a)),1;if(l=0,r=""===r?".":r+":",Array.isArray(e))for(var u=0;u<e.length;u++){var c=r+S(s=e[u],u);l+=D(s,t,n,c,a)}else if(c=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"===typeof c)for(e=c.call(e),u=0;!(s=e.next()).done;)l+=D(s=s.value,t,n,c=r+S(s,u++),a);else if("object"===s)throw t=""+e,Error(f(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return l}function j(e,t,n){if(null==e)return e;var r=[],o=0;return D(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function A(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var P={current:null};function L(){var e=P.current;if(null===e)throw Error(f(321));return e}var M={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:b,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:j,forEach:function(e,t,n){j(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return j(e,(function(){t++})),t},toArray:function(e){return j(e,(function(e){return e}))||[]},only:function(e){if(!_(e))throw Error(f(143));return e}},t.Component=g,t.PureComponent=y,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,t.cloneElement=function(e,t,n){if(null===e||void 0===e)throw Error(f(267,e));var i=r({},e.props),a=e.key,s=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,l=b.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in t)k.call(t,c)&&!w.hasOwnProperty(c)&&(i[c]=void 0===t[c]&&void 0!==u?u[c]:t[c])}var c=arguments.length-2;if(1===c)i.children=n;else if(1<c){u=Array(c);for(var d=0;d<c;d++)u[d]=arguments[d+2];i.children=u}return{$$typeof:o,type:e.type,key:a,ref:s,props:i,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:s,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=_,t.lazy=function(e){return{$$typeof:c,_payload:{_status:-1,_result:e},_init:A}},t.memo=function(e,t){return{$$typeof:u,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return L().useCallback(e,t)},t.useContext=function(e,t){return L().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return L().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return L().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return L().useLayoutEffect(e,t)},t.useMemo=function(e,t){return L().useMemo(e,t)},t.useReducer=function(e,t,n){return L().useReducer(e,t,n)},t.useRef=function(e){return L().useRef(e)},t.useState=function(e){return L().useState(e)},t.version="17.0.2"},5043:(e,t,n)=>{"use strict";e.exports=n(4202)},579:(e,t,n)=>{"use strict";e.exports=n(1153)},7234:(e,t)=>{"use strict";var n,r,o,i;if("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}}if("undefined"===typeof window||"function"!==typeof MessageChannel){var u=null,c=null,d=function(){if(null!==u)try{var e=t.unstable_now();u(!0,e),u=null}catch(n){throw setTimeout(d,0),n}};n=function(e){null!==u?setTimeout(n,0,e):(u=e,setTimeout(d,0))},r=function(e,t){c=setTimeout(e,t)},o=function(){clearTimeout(c)},t.unstable_shouldYield=function(){return!1},i=t.unstable_forceFrameRate=function(){}}else{var p=window.setTimeout,f=window.clearTimeout;if("undefined"!==typeof console){var h=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!==typeof h&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var m=!1,g=null,v=-1,y=5,x=0;t.unstable_shouldYield=function(){return t.unstable_now()>=x},i=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):y=0<e?Math.floor(1e3/e):5};var b=new MessageChannel,k=b.port2;b.port1.onmessage=function(){if(null!==g){var e=t.unstable_now();x=e+y;try{g(!0,e)?k.postMessage(null):(m=!1,g=null)}catch(n){throw k.postMessage(null),n}}else m=!1},n=function(e){g=e,m||(m=!0,k.postMessage(null))},r=function(e,n){v=p((function(){e(t.unstable_now())}),n)},o=function(){f(v),v=-1}}function w(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<C(o,t)))break e;e[r]=t,e[n]=o,n=r}}function E(e){return void 0===(e=e[0])?null:e}function _(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],s=i+1,l=e[s];if(void 0!==a&&0>C(a,n))void 0!==l&&0>C(l,a)?(e[r]=l,e[s]=n,r=s):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==l&&0>C(l,n)))break e;e[r]=l,e[s]=n,r=s}}}return t}return null}function C(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var S=[],D=[],j=1,A=null,P=3,L=!1,M=!1,N=!1;function O(e){for(var t=E(D);null!==t;){if(null===t.callback)_(D);else{if(!(t.startTime<=e))break;_(D),t.sortIndex=t.expirationTime,w(S,t)}t=E(D)}}function T(e){if(N=!1,O(e),!M)if(null!==E(S))M=!0,n(F);else{var t=E(D);null!==t&&r(T,t.startTime-e)}}function F(e,n){M=!1,N&&(N=!1,o()),L=!0;var i=P;try{for(O(n),A=E(S);null!==A&&(!(A.expirationTime>n)||e&&!t.unstable_shouldYield());){var a=A.callback;if("function"===typeof a){A.callback=null,P=A.priorityLevel;var s=a(A.expirationTime<=n);n=t.unstable_now(),"function"===typeof s?A.callback=s:A===E(S)&&_(S),O(n)}else _(S);A=E(S)}if(null!==A)var l=!0;else{var u=E(D);null!==u&&r(T,u.startTime-n),l=!1}return l}finally{A=null,P=i,L=!1}}var R=i;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){M||L||(M=!0,n(F))},t.unstable_getCurrentPriorityLevel=function(){return P},t.unstable_getFirstCallbackNode=function(){return E(S)},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_pauseExecution=function(){},t.unstable_requestPaint=R,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,i,a){var s=t.unstable_now();switch("object"===typeof a&&null!==a?a="number"===typeof(a=a.delay)&&0<a?s+a:s:a=s,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:j++,callback:i,priorityLevel:e,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>s?(e.sortIndex=a,w(D,e),null===E(S)&&e===E(D)&&(N?o():N=!0,r(T,a-s))):(e.sortIndex=l,w(S,e),M||L||(M=!0,n(F))),e},t.unstable_wrapCallback=function(e){var t=P;return function(){var n=P;P=t;try{return e.apply(this,arguments)}finally{P=n}}}},8853:(e,t,n)=>{"use strict";e.exports=n(7234)},4334:(e,t,n)=>{var r=n(7359),o=n(7066),i=n(9016),a=n(9538),s=n(6288),l=n(5262),u=n(2430);u.alea=r,u.xor128=o,u.xorwow=i,u.xorshift7=a,u.xor4096=s,u.tychei=l,e.exports=u},7359:function(e,t,n){var r;!function(e,o){function i(e){var t=this,n=function(){var e=4022871197,t=function(t){t=String(t);for(var n=0;n<t.length;n++){var r=.02519603282416938*(e+=t.charCodeAt(n));r-=e=r>>>0,e=(r*=e)>>>0,e+=4294967296*(r-=e)}return 2.3283064365386963e-10*(e>>>0)};return t}();t.next=function(){var e=2091639*t.s0+2.3283064365386963e-10*t.c;return t.s0=t.s1,t.s1=t.s2,t.s2=e-(t.c=0|e)},t.c=1,t.s0=n(" "),t.s1=n(" "),t.s2=n(" "),t.s0-=n(e),t.s0<0&&(t.s0+=1),t.s1-=n(e),t.s1<0&&(t.s1+=1),t.s2-=n(e),t.s2<0&&(t.s2+=1),n=null}function a(e,t){return t.c=e.c,t.s0=e.s0,t.s1=e.s1,t.s2=e.s2,t}function s(e,t){var n=new i(e),r=t&&t.state,o=n.next;return o.int32=function(){return 4294967296*n.next()|0},o.double=function(){return o()+11102230246251565e-32*(2097152*o()|0)},o.quick=o,r&&("object"==typeof r&&a(r,n),o.state=function(){return a(n,{})}),o}o&&o.exports?o.exports=s:n.amdD&&n.amdO?void 0===(r=function(){return s}.call(t,n,t,o))||(o.exports=r):this.alea=s}(0,e=n.nmd(e),n.amdD)},5262:function(e,t,n){var r;!function(e,o){function i(e){var t=this,n="";t.next=function(){var e=t.b,n=t.c,r=t.d,o=t.a;return e=e<<25^e>>>7^n,n=n-r|0,r=r<<24^r>>>8^o,o=o-e|0,t.b=e=e<<20^e>>>12^n,t.c=n=n-r|0,t.d=r<<16^n>>>16^o,t.a=o-e|0},t.a=0,t.b=0,t.c=-1640531527,t.d=1367130551,e===Math.floor(e)?(t.a=e/4294967296|0,t.b=0|e):n+=e;for(var r=0;r<n.length+20;r++)t.b^=0|n.charCodeAt(r),t.next()}function a(e,t){return t.a=e.a,t.b=e.b,t.c=e.c,t.d=e.d,t}function s(e,t){var n=new i(e),r=t&&t.state,o=function(){return(n.next()>>>0)/4294967296};return o.double=function(){do{var e=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},o.int32=n.next,o.quick=o,r&&("object"==typeof r&&a(r,n),o.state=function(){return a(n,{})}),o}o&&o.exports?o.exports=s:n.amdD&&n.amdO?void 0===(r=function(){return s}.call(t,n,t,o))||(o.exports=r):this.tychei=s}(0,e=n.nmd(e),n.amdD)},7066:function(e,t,n){var r;!function(e,o){function i(e){var t=this,n="";t.x=0,t.y=0,t.z=0,t.w=0,t.next=function(){var e=t.x^t.x<<11;return t.x=t.y,t.y=t.z,t.z=t.w,t.w^=t.w>>>19^e^e>>>8},e===(0|e)?t.x=e:n+=e;for(var r=0;r<n.length+64;r++)t.x^=0|n.charCodeAt(r),t.next()}function a(e,t){return t.x=e.x,t.y=e.y,t.z=e.z,t.w=e.w,t}function s(e,t){var n=new i(e),r=t&&t.state,o=function(){return(n.next()>>>0)/4294967296};return o.double=function(){do{var e=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},o.int32=n.next,o.quick=o,r&&("object"==typeof r&&a(r,n),o.state=function(){return a(n,{})}),o}o&&o.exports?o.exports=s:n.amdD&&n.amdO?void 0===(r=function(){return s}.call(t,n,t,o))||(o.exports=r):this.xor128=s}(0,e=n.nmd(e),n.amdD)},6288:function(e,t,n){var r;!function(e,o){function i(e){var t=this;t.next=function(){var e,n,r=t.w,o=t.X,i=t.i;return t.w=r=r+1640531527|0,n=o[i+34&127],e=o[i=i+1&127],n^=n<<13,e^=e<<17,n^=n>>>15,e^=e>>>12,n=o[i]=n^e,t.i=i,n+(r^r>>>16)|0},function(e,t){var n,r,o,i,a,s=[],l=128;for(t===(0|t)?(r=t,t=null):(t+="\0",r=0,l=Math.max(l,t.length)),o=0,i=-32;i<l;++i)t&&(r^=t.charCodeAt((i+32)%t.length)),0===i&&(a=r),r^=r<<10,r^=r>>>15,r^=r<<4,r^=r>>>13,i>=0&&(a=a+1640531527|0,o=0==(n=s[127&i]^=r+a)?o+1:0);for(o>=128&&(s[127&(t&&t.length||0)]=-1),o=127,i=512;i>0;--i)r=s[o+34&127],n=s[o=o+1&127],r^=r<<13,n^=n<<17,r^=r>>>15,n^=n>>>12,s[o]=r^n;e.w=a,e.X=s,e.i=o}(t,e)}function a(e,t){return t.i=e.i,t.w=e.w,t.X=e.X.slice(),t}function s(e,t){null==e&&(e=+new Date);var n=new i(e),r=t&&t.state,o=function(){return(n.next()>>>0)/4294967296};return o.double=function(){do{var e=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},o.int32=n.next,o.quick=o,r&&(r.X&&a(r,n),o.state=function(){return a(n,{})}),o}o&&o.exports?o.exports=s:n.amdD&&n.amdO?void 0===(r=function(){return s}.call(t,n,t,o))||(o.exports=r):this.xor4096=s}(0,e=n.nmd(e),n.amdD)},9538:function(e,t,n){var r;!function(e,o){function i(e){var t=this;t.next=function(){var e,n,r=t.x,o=t.i;return e=r[o],n=(e^=e>>>7)^e<<24,n^=(e=r[o+1&7])^e>>>10,n^=(e=r[o+3&7])^e>>>3,n^=(e=r[o+4&7])^e<<7,e=r[o+7&7],n^=(e^=e<<13)^e<<9,r[o]=n,t.i=o+1&7,n},function(e,t){var n,r=[];if(t===(0|t))r[0]=t;else for(t=""+t,n=0;n<t.length;++n)r[7&n]=r[7&n]<<15^t.charCodeAt(n)+r[n+1&7]<<13;for(;r.length<8;)r.push(0);for(n=0;n<8&&0===r[n];++n);for(8==n?r[7]=-1:r[n],e.x=r,e.i=0,n=256;n>0;--n)e.next()}(t,e)}function a(e,t){return t.x=e.x.slice(),t.i=e.i,t}function s(e,t){null==e&&(e=+new Date);var n=new i(e),r=t&&t.state,o=function(){return(n.next()>>>0)/4294967296};return o.double=function(){do{var e=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},o.int32=n.next,o.quick=o,r&&(r.x&&a(r,n),o.state=function(){return a(n,{})}),o}o&&o.exports?o.exports=s:n.amdD&&n.amdO?void 0===(r=function(){return s}.call(t,n,t,o))||(o.exports=r):this.xorshift7=s}(0,e=n.nmd(e),n.amdD)},9016:function(e,t,n){var r;!function(e,o){function i(e){var t=this,n="";t.next=function(){var e=t.x^t.x>>>2;return t.x=t.y,t.y=t.z,t.z=t.w,t.w=t.v,(t.d=t.d+362437|0)+(t.v=t.v^t.v<<4^e^e<<1)|0},t.x=0,t.y=0,t.z=0,t.w=0,t.v=0,e===(0|e)?t.x=e:n+=e;for(var r=0;r<n.length+64;r++)t.x^=0|n.charCodeAt(r),r==n.length&&(t.d=t.x<<10^t.x>>>4),t.next()}function a(e,t){return t.x=e.x,t.y=e.y,t.z=e.z,t.w=e.w,t.v=e.v,t.d=e.d,t}function s(e,t){var n=new i(e),r=t&&t.state,o=function(){return(n.next()>>>0)/4294967296};return o.double=function(){do{var e=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},o.int32=n.next,o.quick=o,r&&("object"==typeof r&&a(r,n),o.state=function(){return a(n,{})}),o}o&&o.exports?o.exports=s:n.amdD&&n.amdO?void 0===(r=function(){return s}.call(t,n,t,o))||(o.exports=r):this.xorwow=s}(0,e=n.nmd(e),n.amdD)},2430:function(e,t,n){var r;!function(o,i,a){var s,l=256,u=a.pow(l,6),c=a.pow(2,52),d=2*c,p=l-1;function f(e,t,n){var r=[],p=v(g((t=1==t?{entropy:!0}:t||{}).entropy?[e,y(i)]:null==e?function(){try{var e;return s&&(e=s.randomBytes)?e=e(l):(e=new Uint8Array(l),(o.crypto||o.msCrypto).getRandomValues(e)),y(e)}catch(r){var t=o.navigator,n=t&&t.plugins;return[+new Date,o,n,o.screen,y(i)]}}():e,3),r),f=new h(r),x=function(){for(var e=f.g(6),t=u,n=0;e<c;)e=(e+n)*l,t*=l,n=f.g(1);for(;e>=d;)e/=2,t/=2,n>>>=1;return(e+n)/t};return x.int32=function(){return 0|f.g(4)},x.quick=function(){return f.g(4)/4294967296},x.double=x,v(y(f.S),i),(t.pass||n||function(e,t,n,r){return r&&(r.S&&m(r,f),e.state=function(){return m(f,{})}),n?(a.random=e,t):e})(x,p,"global"in t?t.global:this==a,t.state)}function h(e){var t,n=e.length,r=this,o=0,i=r.i=r.j=0,a=r.S=[];for(n||(e=[n++]);o<l;)a[o]=o++;for(o=0;o<l;o++)a[o]=a[i=p&i+e[o%n]+(t=a[o])],a[i]=t;(r.g=function(e){for(var t,n=0,o=r.i,i=r.j,a=r.S;e--;)t=a[o=p&o+1],n=n*l+a[p&(a[o]=a[i=p&i+t])+(a[i]=t)];return r.i=o,r.j=i,n})(l)}function m(e,t){return t.i=e.i,t.j=e.j,t.S=e.S.slice(),t}function g(e,t){var n,r=[],o=typeof e;if(t&&"object"==o)for(n in e)try{r.push(g(e[n],t-1))}catch(i){}return r.length?r:"string"==o?e:e+"\0"}function v(e,t){for(var n,r=e+"",o=0;o<r.length;)t[p&o]=p&(n^=19*t[p&o])+r.charCodeAt(o++);return y(t)}function y(e){return String.fromCharCode.apply(0,e)}if(v(a.random(),i),e.exports){e.exports=f;try{s=n(1234)}catch(x){}}else void 0===(r=function(){return f}.call(t,n,t,e))||(e.exports=r)}("undefined"!==typeof self?self:this,[],Math)},7324:e=>{e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<i.length;l++){var u=i[l];if(!s(u))return!1;var c=e[u],d=t[u];if(!1===(o=n?n.call(r,c,d,u):void 0)||void 0===o&&c!==d)return!1}return!0}},2732:function(e,t,n){var r,o,i;!function(){"use strict";o=[n(2052)],r=function(e){return{backtrace:function(t){var n=[],r=10;"object"===typeof t&&"number"===typeof t.maxStackSize&&(r=t.maxStackSize);for(var o=arguments.callee;o&&n.length<r&&o.arguments;){for(var i=new Array(o.arguments.length),a=0;a<i.length;++a)i[a]=o.arguments[a];/function(?:\s+([\w$]+))+\s*\(/.test(o.toString())?n.push(new e({functionName:RegExp.$1||void 0,args:i})):n.push(new e({args:i}));try{o=o.caller}catch(s){break}}return n}}},void 0===(i="function"===typeof r?r.apply(t,o):r)||(e.exports=i)}()},8174:(e,t,n)=>{var r=n(9822),o=function(){};o.prototype.start=function(e){if(!e.key&&!e.targetUrl&&!e.customReportingFunction)throw new Error("Cannot initialize: No API key, target url or custom reporting function provided.");if(!e.projectId&&!e.targetUrl&&!e.customReportingFunction)throw new Error("Cannot initialize: No project ID, target url or custom reporting function provided.");this.customReportingFunction=e.customReportingFunction,this.apiKey=e.key,this.projectId=e.projectId,this.targetUrl=e.targetUrl,this.context=e.context||{},this.serviceContext={service:e.service||"web"},e.version&&(this.serviceContext.version=e.version),this.reportUncaughtExceptions=!1!==e.reportUncaughtExceptions,this.reportUnhandledPromiseRejections=!1!==e.reportUnhandledPromiseRejections,this.disabled=!!e.disabled,function(e){var t=function(){};if(e.reportUncaughtExceptions){var n=window.onerror||t;window.onerror=function(r,o,i,a,s){return s&&e.report(s).catch(t),n(r,o,i,a,s),!0}}if(e.reportUnhandledPromiseRejections){var r=window.onunhandledrejection||t;window.onunhandledrejection=function(n){return n&&e.report(n.reason).catch(t),r(n.reason),!0}}}(this)},o.prototype.report=function(e,t){if(this.disabled)return Promise.resolve(null);if(!e)return Promise.reject(new Error("no error to report"));t=t||{};var n={};n.serviceContext=this.serviceContext,n.context=this.context,n.context.httpRequest={userAgent:window.navigator.userAgent,url:window.location.href};var o=0;if("string"==typeof e||e instanceof String){try{throw new Error(e)}catch(s){e=s}o=t.skipLocalFrames||1}var i=this.targetUrl||"https://clouderrorreporting.googleapis.com/v1beta1/projects/"+this.projectId+"/events:report?key="+this.apiKey,a=this.customReportingFunction;return function(e,t){return r.fromError(e).then((function(n){for(var r=[e.toString()],o=t;o<n.length;o++)r.push(["    at ",n[o].getFunctionName()||"<anonymous>"," (",n[o].getFileName(),":",n[o].getLineNumber(),":",n[o].getColumnNumber(),")"].join(""));return r.join("\n")}),(function(t){return["Error extracting stack trace: ",t,"\n",e.toString(),"\n","    (",e.file,":",e.line,":",e.column,")"].join("")}))}(e,o).then((function(e){return n.message=e,a?a(n):function(e,t){var n=new XMLHttpRequest;return n.open("POST",e,!0),n.setRequestHeader("Content-Type","application/json; charset=UTF-8"),new Promise((function(e,r){n.onreadystatechange=function(){if(4===n.readyState){var o=n.status;if(o>=200&&o<300)e({message:t.message});else if(429===o)r({message:"quota or rate limiting error on stackdriver report",name:"Http429FakeError"});else{r(new Error((o?o+" http response":"network error")+" on stackdriver report"))}}},n.send(JSON.stringify(t))}))}(i,n)}))},o.prototype.setUser=function(e){this.context.user=e},e.exports=o},2052:function(e,t){var n,r,o;!function(){"use strict";r=[],void 0===(o="function"===typeof(n=function(){function e(e){return!isNaN(parseFloat(e))&&isFinite(e)}function t(e){return e.charAt(0).toUpperCase()+e.substring(1)}function n(e){return function(){return this[e]}}var r=["isConstructor","isEval","isNative","isToplevel"],o=["columnNumber","lineNumber"],i=["fileName","functionName","source"],a=["args"],s=["evalOrigin"],l=r.concat(o,i,a,s);function u(e){if(e)for(var n=0;n<l.length;n++)void 0!==e[l[n]]&&this["set"+t(l[n])](e[l[n]])}u.prototype={getArgs:function(){return this.args},setArgs:function(e){if("[object Array]"!==Object.prototype.toString.call(e))throw new TypeError("Args must be an Array");this.args=e},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(e){if(e instanceof u)this.evalOrigin=e;else{if(!(e instanceof Object))throw new TypeError("Eval Origin must be an Object or StackFrame");this.evalOrigin=new u(e)}},toString:function(){var e=this.getFileName()||"",t=this.getLineNumber()||"",n=this.getColumnNumber()||"",r=this.getFunctionName()||"";return this.getIsEval()?e?"[eval] ("+e+":"+t+":"+n+")":"[eval]:"+t+":"+n:r?r+" ("+e+":"+t+":"+n+")":e+":"+t+":"+n}},u.fromString=function(e){var t=e.indexOf("("),n=e.lastIndexOf(")"),r=e.substring(0,t),o=e.substring(t+1,n).split(","),i=e.substring(n+1);if(0===i.indexOf("@"))var a=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(i,""),s=a[1],l=a[2],c=a[3];return new u({functionName:r,args:o||void 0,fileName:s,lineNumber:l||void 0,columnNumber:c||void 0})};for(var c=0;c<r.length;c++)u.prototype["get"+t(r[c])]=n(r[c]),u.prototype["set"+t(r[c])]=function(e){return function(t){this[e]=Boolean(t)}}(r[c]);for(var d=0;d<o.length;d++)u.prototype["get"+t(o[d])]=n(o[d]),u.prototype["set"+t(o[d])]=function(t){return function(n){if(!e(n))throw new TypeError(t+" must be a Number");this[t]=Number(n)}}(o[d]);for(var p=0;p<i.length;p++)u.prototype["get"+t(i[p])]=n(i[p]),u.prototype["set"+t(i[p])]=function(e){return function(t){this[e]=String(t)}}(i[p]);return u})?n.apply(t,r):n)||(e.exports=o)}()},5150:(e,t,n)=>{var r=n(5956),o=Object.prototype.hasOwnProperty;function i(){this._array=[],this._set=Object.create(null)}i.fromArray=function(e,t){for(var n=new i,r=0,o=e.length;r<o;r++)n.add(e[r],t);return n},i.prototype.size=function(){return Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(e,t){var n=r.toSetString(e),i=o.call(this._set,n),a=this._array.length;i&&!t||this._array.push(e),i||(this._set[n]=a)},i.prototype.has=function(e){var t=r.toSetString(e);return o.call(this._set,t)},i.prototype.indexOf=function(e){var t=r.toSetString(e);if(o.call(this._set,t))return this._set[t];throw new Error('"'+e+'" is not in the set.')},i.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},i.prototype.toArray=function(){return this._array.slice()},t.C=i},8935:(e,t,n)=>{var r=n(1531);t.encode=function(e){var t,n="",o=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&o,(o>>>=5)>0&&(t|=32),n+=r.encode(t)}while(o>0);return n},t.decode=function(e,t,n){var o,i,a=e.length,s=0,l=0;do{if(t>=a)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(i=r.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));o=!!(32&i),s+=(i&=31)<<l,l+=5}while(o);n.value=function(e){var t=e>>1;return 1===(1&e)?-t:t}(s),n.rest=t}},1531:(e,t)=>{var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e<n.length)return n[e];throw new TypeError("Must be between 0 and 63: "+e)},t.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1}},2014:(e,t)=>{function n(e,r,o,i,a,s){var l=Math.floor((r-e)/2)+e,u=a(o,i[l],!0);return 0===u?l:u>0?r-l>1?n(l,r,o,i,a,s):s==t.LEAST_UPPER_BOUND?r<i.length?r:-1:l:l-e>1?n(e,l,o,i,a,s):s==t.LEAST_UPPER_BOUND?l:e<0?-1:e}t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,r,o,i){if(0===r.length)return-1;var a=n(-1,r.length,e,r,o,i||t.GREATEST_LOWER_BOUND);if(a<0)return-1;for(;a-1>=0&&0===o(r[a],r[a-1],!0);)--a;return a}},3285:(e,t,n)=>{var r=n(5956);function o(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}o.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},o.prototype.add=function(e){!function(e,t){var n=e.generatedLine,o=t.generatedLine,i=e.generatedColumn,a=t.generatedColumn;return o>n||o==n&&a>=i||r.compareByGeneratedPositionsInflated(e,t)<=0}(this._last,e)?(this._sorted=!1,this._array.push(e)):(this._last=e,this._array.push(e))},o.prototype.toArray=function(){return this._sorted||(this._array.sort(r.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.P=o},1622:(e,t)=>{function n(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function r(e,t,o,i){if(o<i){var a=o-1;n(e,(c=o,d=i,Math.round(c+Math.random()*(d-c))),i);for(var s=e[i],l=o;l<i;l++)t(e[l],s)<=0&&n(e,a+=1,l);n(e,a+1,l);var u=a+1;r(e,t,o,u-1),r(e,t,u+1,i)}var c,d}t.g=function(e,t){r(e,t,0,e.length-1)}},6427:(e,t,n)=>{var r=n(5956),o=n(2014),i=n(5150).C,a=n(8935),s=n(1622).g;function l(e){var t=e;return"string"===typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,""))),null!=t.sections?new d(t):new u(t)}function u(e){var t=e;"string"===typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=r.getArg(t,"version"),o=r.getArg(t,"sources"),a=r.getArg(t,"names",[]),s=r.getArg(t,"sourceRoot",null),l=r.getArg(t,"sourcesContent",null),u=r.getArg(t,"mappings"),c=r.getArg(t,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);o=o.map(String).map(r.normalize).map((function(e){return s&&r.isAbsolute(s)&&r.isAbsolute(e)?r.relative(s,e):e})),this._names=i.fromArray(a.map(String),!0),this._sources=i.fromArray(o,!0),this.sourceRoot=s,this.sourcesContent=l,this._mappings=u,this.file=c}function c(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function d(e){var t=e;"string"===typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=r.getArg(t,"version"),o=r.getArg(t,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new i,this._names=new i;var a={line:-1,column:0};this._sections=o.map((function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var t=r.getArg(e,"offset"),n=r.getArg(t,"line"),o=r.getArg(t,"column");if(n<a.line||n===a.line&&o<a.column)throw new Error("Section offsets must be ordered and non-overlapping.");return a=t,{generatedOffset:{generatedLine:n+1,generatedColumn:o+1},consumer:new l(r.getArg(e,"map"))}}))}l.fromSourceMap=function(e){return u.fromSourceMap(e)},l.prototype._version=3,l.prototype.__generatedMappings=null,Object.defineProperty(l.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),l.prototype.__originalMappings=null,Object.defineProperty(l.prototype,"_originalMappings",{get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),l.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return";"===n||","===n},l.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},l.GENERATED_ORDER=1,l.ORIGINAL_ORDER=2,l.GREATEST_LOWER_BOUND=1,l.LEAST_UPPER_BOUND=2,l.prototype.eachMapping=function(e,t,n){var o,i=t||null;switch(n||l.GENERATED_ORDER){case l.GENERATED_ORDER:o=this._generatedMappings;break;case l.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var a=this.sourceRoot;o.map((function(e){var t=null===e.source?null:this._sources.at(e.source);return null!=t&&null!=a&&(t=r.join(a,t)),{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}}),this).forEach(e,i)},l.prototype.allGeneratedPositionsFor=function(e){var t=r.getArg(e,"line"),n={source:r.getArg(e,"source"),originalLine:t,originalColumn:r.getArg(e,"column",0)};if(null!=this.sourceRoot&&(n.source=r.relative(this.sourceRoot,n.source)),!this._sources.has(n.source))return[];n.source=this._sources.indexOf(n.source);var i=[],a=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions,o.LEAST_UPPER_BOUND);if(a>=0){var s=this._originalMappings[a];if(void 0===e.column)for(var l=s.originalLine;s&&s.originalLine===l;)i.push({line:r.getArg(s,"generatedLine",null),column:r.getArg(s,"generatedColumn",null),lastColumn:r.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++a];else for(var u=s.originalColumn;s&&s.originalLine===t&&s.originalColumn==u;)i.push({line:r.getArg(s,"generatedLine",null),column:r.getArg(s,"generatedColumn",null),lastColumn:r.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++a]}return i},t.SourceMapConsumer=l,u.prototype=Object.create(l.prototype),u.prototype.consumer=l,u.fromSourceMap=function(e){var t=Object.create(u.prototype),n=t._names=i.fromArray(e._names.toArray(),!0),o=t._sources=i.fromArray(e._sources.toArray(),!0);t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file;for(var a=e._mappings.toArray().slice(),l=t.__generatedMappings=[],d=t.__originalMappings=[],p=0,f=a.length;p<f;p++){var h=a[p],m=new c;m.generatedLine=h.generatedLine,m.generatedColumn=h.generatedColumn,h.source&&(m.source=o.indexOf(h.source),m.originalLine=h.originalLine,m.originalColumn=h.originalColumn,h.name&&(m.name=n.indexOf(h.name)),d.push(m)),l.push(m)}return s(t.__originalMappings,r.compareByOriginalPositions),t},u.prototype._version=3,Object.defineProperty(u.prototype,"sources",{get:function(){return this._sources.toArray().map((function(e){return null!=this.sourceRoot?r.join(this.sourceRoot,e):e}),this)}}),u.prototype._parseMappings=function(e,t){for(var n,o,i,l,u,d=1,p=0,f=0,h=0,m=0,g=0,v=e.length,y=0,x={},b={},k=[],w=[];y<v;)if(";"===e.charAt(y))d++,y++,p=0;else if(","===e.charAt(y))y++;else{for((n=new c).generatedLine=d,l=y;l<v&&!this._charIsMappingSeparator(e,l);l++);if(i=x[o=e.slice(y,l)])y+=o.length;else{for(i=[];y<l;)a.decode(e,y,b),u=b.value,y=b.rest,i.push(u);if(2===i.length)throw new Error("Found a source, but no line and column");if(3===i.length)throw new Error("Found a source and line, but no column");x[o]=i}n.generatedColumn=p+i[0],p=n.generatedColumn,i.length>1&&(n.source=m+i[1],m+=i[1],n.originalLine=f+i[2],f=n.originalLine,n.originalLine+=1,n.originalColumn=h+i[3],h=n.originalColumn,i.length>4&&(n.name=g+i[4],g+=i[4])),w.push(n),"number"===typeof n.originalLine&&k.push(n)}s(w,r.compareByGeneratedPositionsDeflated),this.__generatedMappings=w,s(k,r.compareByOriginalPositions),this.__originalMappings=k},u.prototype._findMapping=function(e,t,n,r,i,a){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return o.search(e,t,i,a)},u.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},u.prototype.originalPositionFor=function(e){var t={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",r.compareByGeneratedPositionsDeflated,r.getArg(e,"bias",l.GREATEST_LOWER_BOUND));if(n>=0){var o=this._generatedMappings[n];if(o.generatedLine===t.generatedLine){var i=r.getArg(o,"source",null);null!==i&&(i=this._sources.at(i),null!=this.sourceRoot&&(i=r.join(this.sourceRoot,i)));var a=r.getArg(o,"name",null);return null!==a&&(a=this._names.at(a)),{source:i,line:r.getArg(o,"originalLine",null),column:r.getArg(o,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},u.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e})))},u.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=r.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var n;if(null!=this.sourceRoot&&(n=r.urlParse(this.sourceRoot))){var o=e.replace(/^file:\/\//,"");if("file"==n.scheme&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];if((!n.path||"/"==n.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},u.prototype.generatedPositionFor=function(e){var t=r.getArg(e,"source");if(null!=this.sourceRoot&&(t=r.relative(this.sourceRoot,t)),!this._sources.has(t))return{line:null,column:null,lastColumn:null};var n={source:t=this._sources.indexOf(t),originalLine:r.getArg(e,"line"),originalColumn:r.getArg(e,"column")},o=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions,r.getArg(e,"bias",l.GREATEST_LOWER_BOUND));if(o>=0){var i=this._originalMappings[o];if(i.source===n.source)return{line:r.getArg(i,"generatedLine",null),column:r.getArg(i,"generatedColumn",null),lastColumn:r.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},d.prototype=Object.create(l.prototype),d.prototype.constructor=l,d.prototype._version=3,Object.defineProperty(d.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}}),d.prototype.originalPositionFor=function(e){var t={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")},n=o.search(t,this._sections,(function(e,t){var n=e.generatedLine-t.generatedOffset.generatedLine;return n||e.generatedColumn-t.generatedOffset.generatedColumn})),i=this._sections[n];return i?i.consumer.originalPositionFor({line:t.generatedLine-(i.generatedOffset.generatedLine-1),column:t.generatedColumn-(i.generatedOffset.generatedLine===t.generatedLine?i.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},d.prototype.hasContentsOfAllSources=function(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))},d.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n].consumer.sourceContentFor(e,!0);if(r)return r}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},d.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var n=this._sections[t];if(-1!==n.consumer.sources.indexOf(r.getArg(e,"source"))){var o=n.consumer.generatedPositionFor(e);if(o)return{line:o.line+(n.generatedOffset.generatedLine-1),column:o.column+(n.generatedOffset.generatedLine===o.line?n.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},d.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var o=this._sections[n],i=o.consumer._generatedMappings,a=0;a<i.length;a++){var l=i[a],u=o.consumer._sources.at(l.source);null!==o.consumer.sourceRoot&&(u=r.join(o.consumer.sourceRoot,u)),this._sources.add(u),u=this._sources.indexOf(u);var c=o.consumer._names.at(l.name);this._names.add(c),c=this._names.indexOf(c);var d={source:u,generatedLine:l.generatedLine+(o.generatedOffset.generatedLine-1),generatedColumn:l.generatedColumn+(o.generatedOffset.generatedLine===l.generatedLine?o.generatedOffset.generatedColumn-1:0),originalLine:l.originalLine,originalColumn:l.originalColumn,name:c};this.__generatedMappings.push(d),"number"===typeof d.originalLine&&this.__originalMappings.push(d)}s(this.__generatedMappings,r.compareByGeneratedPositionsDeflated),s(this.__originalMappings,r.compareByOriginalPositions)}},8150:(e,t,n)=>{var r=n(8935),o=n(5956),i=n(5150).C,a=n(3285).P;function s(e){e||(e={}),this._file=o.getArg(e,"file",null),this._sourceRoot=o.getArg(e,"sourceRoot",null),this._skipValidation=o.getArg(e,"skipValidation",!1),this._sources=new i,this._names=new i,this._mappings=new a,this._sourcesContents=null}s.prototype._version=3,s.fromSourceMap=function(e){var t=e.sourceRoot,n=new s({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(r.source=e.source,null!=t&&(r.source=o.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(r.name=e.name)),n.addMapping(r)})),e.sources.forEach((function(t){var r=e.sourceContentFor(t);null!=r&&n.setSourceContent(t,r)})),n},s.prototype.addMapping=function(e){var t=o.getArg(e,"generated"),n=o.getArg(e,"original",null),r=o.getArg(e,"source",null),i=o.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,n,r,i),null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=i&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:i})},s.prototype.setSourceContent=function(e,t){var n=e;null!=this._sourceRoot&&(n=o.relative(this._sourceRoot,n)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[o.toSetString(n)]=t):this._sourcesContents&&(delete this._sourcesContents[o.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},s.prototype.applySourceMap=function(e,t,n){var r=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=e.file}var a=this._sourceRoot;null!=a&&(r=o.relative(a,r));var s=new i,l=new i;this._mappings.unsortedForEach((function(t){if(t.source===r&&null!=t.originalLine){var i=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=i.source&&(t.source=i.source,null!=n&&(t.source=o.join(n,t.source)),null!=a&&(t.source=o.relative(a,t.source)),t.originalLine=i.line,t.originalColumn=i.column,null!=i.name&&(t.name=i.name))}var u=t.source;null==u||s.has(u)||s.add(u);var c=t.name;null==c||l.has(c)||l.add(c)}),this),this._sources=s,this._names=l,e.sources.forEach((function(t){var r=e.sourceContentFor(t);null!=r&&(null!=n&&(t=o.join(n,t)),null!=a&&(t=o.relative(a,t)),this.setSourceContent(t,r))}),this)},s.prototype._validateMapping=function(e,t,n,r){if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},s.prototype._serializeMappings=function(){for(var e,t,n,i,a=0,s=1,l=0,u=0,c=0,d=0,p="",f=this._mappings.toArray(),h=0,m=f.length;h<m;h++){if(e="",(t=f[h]).generatedLine!==s)for(a=0;t.generatedLine!==s;)e+=";",s++;else if(h>0){if(!o.compareByGeneratedPositionsInflated(t,f[h-1]))continue;e+=","}e+=r.encode(t.generatedColumn-a),a=t.generatedColumn,null!=t.source&&(i=this._sources.indexOf(t.source),e+=r.encode(i-d),d=i,e+=r.encode(t.originalLine-1-u),u=t.originalLine-1,e+=r.encode(t.originalColumn-l),l=t.originalColumn,null!=t.name&&(n=this._names.indexOf(t.name),e+=r.encode(n-c),c=n)),p+=e}return p},s.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=o.relative(t,e));var n=o.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null}),this)},s.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},s.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.SourceMapGenerator=s},3250:(e,t,n)=>{var r=n(8150).SourceMapGenerator,o=n(5956),i=/(\r?\n)/,a="$$$isSourceNode$$$";function s(e,t,n,r,o){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==n?null:n,this.name=null==o?null:o,this[a]=!0,null!=r&&this.add(r)}s.fromStringWithSourceMap=function(e,t,n){var r=new s,a=e.split(i),l=function(){return a.shift()+(a.shift()||"")},u=1,c=0,d=null;return t.eachMapping((function(e){if(null!==d){if(!(u<e.generatedLine)){var t=(n=a[0]).substr(0,e.generatedColumn-c);return a[0]=n.substr(e.generatedColumn-c),c=e.generatedColumn,p(d,t),void(d=e)}p(d,l()),u++,c=0}for(;u<e.generatedLine;)r.add(l()),u++;if(c<e.generatedColumn){var n=a[0];r.add(n.substr(0,e.generatedColumn)),a[0]=n.substr(e.generatedColumn),c=e.generatedColumn}d=e}),this),a.length>0&&(d&&p(d,l()),r.add(a.join(""))),t.sources.forEach((function(e){var i=t.sourceContentFor(e);null!=i&&(null!=n&&(e=o.join(n,e)),r.setSourceContent(e,i))})),r;function p(e,t){if(null===e||void 0===e.source)r.add(t);else{var i=n?o.join(n,e.source):e.source;r.add(new s(e.originalLine,e.originalColumn,i,t,e.name))}}},s.prototype.add=function(e){if(Array.isArray(e))e.forEach((function(e){this.add(e)}),this);else{if(!e[a]&&"string"!==typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},s.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[a]&&"string"!==typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},s.prototype.walk=function(e){for(var t,n=0,r=this.children.length;n<r;n++)(t=this.children[n])[a]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},s.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},s.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[a]?n.replaceRight(e,t):"string"===typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this},s.prototype.setSourceContent=function(e,t){this.sourceContents[o.toSetString(e)]=t},s.prototype.walkSourceContents=function(e){for(var t=0,n=this.children.length;t<n;t++)this.children[t][a]&&this.children[t].walkSourceContents(e);var r=Object.keys(this.sourceContents);for(t=0,n=r.length;t<n;t++)e(o.fromSetString(r[t]),this.sourceContents[r[t]])},s.prototype.toString=function(){var e="";return this.walk((function(t){e+=t})),e},s.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},n=new r(e),o=!1,i=null,a=null,s=null,l=null;return this.walk((function(e,r){t.code+=e,null!==r.source&&null!==r.line&&null!==r.column?(i===r.source&&a===r.line&&s===r.column&&l===r.name||n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name}),i=r.source,a=r.line,s=r.column,l=r.name,o=!0):o&&(n.addMapping({generated:{line:t.line,column:t.column}}),i=null,o=!1);for(var u=0,c=e.length;u<c;u++)10===e.charCodeAt(u)?(t.line++,t.column=0,u+1===c?(i=null,o=!1):o&&n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name})):t.column++})),this.walkSourceContents((function(e,t){n.setSourceContent(e,t)})),{code:t.code,map:n}},t.SourceNode=s},5956:(e,t)=>{t.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')};var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,r=/^data:.+\,.+$/;function o(e){var t=e.match(n);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function i(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function a(e){var n=e,r=o(e);if(r){if(!r.path)return e;n=r.path}for(var a,s=t.isAbsolute(n),l=n.split(/\/+/),u=0,c=l.length-1;c>=0;c--)"."===(a=l[c])?l.splice(c,1):".."===a?u++:u>0&&(""===a?(l.splice(c+1,u),u=0):(l.splice(c,2),u--));return""===(n=l.join("/"))&&(n=s?"/":"."),r?(r.path=n,i(r)):n}t.urlParse=o,t.urlGenerate=i,t.normalize=a,t.join=function(e,t){""===e&&(e="."),""===t&&(t=".");var n=o(t),s=o(e);if(s&&(e=s.path||"/"),n&&!n.scheme)return s&&(n.scheme=s.scheme),i(n);if(n||t.match(r))return t;if(s&&!s.host&&!s.path)return s.host=t,i(s);var l="/"===t.charAt(0)?t:a(e.replace(/\/+$/,"")+"/"+t);return s?(s.path=l,i(s)):l},t.isAbsolute=function(e){return"/"===e.charAt(0)||!!e.match(n)},t.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var s=!("__proto__"in Object.create(null));function l(e){return e}function u(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function c(e,t){return e===t?0:e>t?1:-1}t.toSetString=s?l:function(e){return u(e)?"$"+e:e},t.fromSetString=s?l:function(e){return u(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,n){var r=e.source-t.source;return 0!==r||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||n||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:e.name-t.name},t.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r||0!==(r=e.generatedColumn-t.generatedColumn)||n||0!==(r=e.source-t.source)||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:e.name-t.name},t.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n||0!==(n=e.generatedColumn-t.generatedColumn)||0!==(n=c(e.source,t.source))||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)?n:c(e.name,t.name)}},4578:(e,t,n)=>{t.SourceMapGenerator=n(8150).SourceMapGenerator,t.SourceMapConsumer=n(6427).SourceMapConsumer,t.SourceNode=n(3250).SourceNode},2158:function(e,t,n){var r,o,i;!function(){"use strict";o=[n(4578),n(2052)],void 0===(i="function"===typeof(r=function(e,t){function n(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.open("get",e),r.onerror=n,r.onreadystatechange=function(){4===r.readyState&&(r.status>=200&&r.status<300||"file://"===e.substr(0,7)&&r.responseText?t(r.responseText):n(new Error("HTTP status: "+r.status+" retrieving "+e)))},r.send()}))}function r(e){if("undefined"!==typeof window&&window.atob)return window.atob(e);throw new Error("You must supply a polyfill for window.atob in this environment")}function o(e){if("undefined"!==typeof JSON&&JSON.parse)return JSON.parse(e);throw new Error("You must supply a polyfill for JSON.parse in this environment")}function i(e,t){for(var n=[/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*function\b/,/function\s+([^('"`]*?)\s*\(([^)]*)\)/,/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*(?:eval|new Function)\b/,/\b(?!(?:if|for|switch|while|with|catch)\b)(?:(?:static)\s+)?(\S+)\s*\(.*?\)\s*\{/,/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*\(.*?\)\s*=>/],r=e.split("\n"),o="",i=Math.min(t,20),a=0;a<i;++a){var s=r[t-a-1],l=s.indexOf("//");if(l>=0&&(s=s.substr(0,l)),s){o=s+o;for(var u=n.length,c=0;c<u;c++){var d=n[c].exec(o);if(d&&d[1])return d[1]}}}}function a(){if("function"!==typeof Object.defineProperty||"function"!==typeof Object.create)throw new Error("Unable to consume source maps in older browsers")}function s(e){if("object"!==typeof e)throw new TypeError("Given StackFrame is not an object");if("string"!==typeof e.fileName)throw new TypeError("Given file name is not a String");if("number"!==typeof e.lineNumber||e.lineNumber%1!==0||e.lineNumber<1)throw new TypeError("Given line number must be a positive integer");if("number"!==typeof e.columnNumber||e.columnNumber%1!==0||e.columnNumber<0)throw new TypeError("Given column number must be a non-negative integer");return!0}function l(e){for(var t,n,r=/\/\/[#@] ?sourceMappingURL=([^\s'"]+)\s*$/gm;n=r.exec(e);)t=n[1];if(t)return t;throw new Error("sourceMappingURL not found")}function u(e,n,r){return new Promise((function(o,i){var a=n.originalPositionFor({line:e.lineNumber,column:e.columnNumber});if(a.source){var s=n.sourceContentFor(a.source);s&&(r[a.source]=s),o(new t({functionName:a.name||e.functionName,args:e.args,fileName:a.source,lineNumber:a.line,columnNumber:a.column}))}else i(new Error("Could not get original source for given stackframe and source map"))}))}return function c(d){if(!(this instanceof c))return new c(d);d=d||{},this.sourceCache=d.sourceCache||{},this.sourceMapConsumerCache=d.sourceMapConsumerCache||{},this.ajax=d.ajax||n,this._atob=d.atob||r,this._get=function(e){return new Promise(function(t,n){var r="data:"===e.substr(0,5);if(this.sourceCache[e])t(this.sourceCache[e]);else if(d.offline&&!r)n(new Error("Cannot make network requests in offline mode"));else if(r){var o=/^data:application\/json;([\w=:"-]+;)*base64,/,i=e.match(o);if(i){var a=i[0].length,s=e.substr(a),l=this._atob(s);this.sourceCache[e]=l,t(l)}else n(new Error("The encoding of the inline sourcemap is not supported"))}else{var u=this.ajax(e,{method:"get"});this.sourceCache[e]=u,u.then(t,n)}}.bind(this))},this._getSourceMapConsumer=function(t,n){return new Promise(function(r){if(this.sourceMapConsumerCache[t])r(this.sourceMapConsumerCache[t]);else{var i=new Promise(function(r,i){return this._get(t).then((function(t){"string"===typeof t&&(t=o(t.replace(/^\)\]\}'/,""))),"undefined"===typeof t.sourceRoot&&(t.sourceRoot=n),r(new e.SourceMapConsumer(t))})).catch(i)}.bind(this));this.sourceMapConsumerCache[t]=i,r(i)}}.bind(this))},this.pinpoint=function(e){return new Promise(function(t,n){this.getMappedLocation(e).then(function(e){function n(){t(e)}this.findFunctionName(e).then(t,n).catch(n)}.bind(this),n)}.bind(this))},this.findFunctionName=function(e){return new Promise(function(n,r){s(e),this._get(e.fileName).then((function(r){var o=e.lineNumber,a=e.columnNumber,s=i(r,o,a);n(s?new t({functionName:s,args:e.args,fileName:e.fileName,lineNumber:o,columnNumber:a}):e)}),r).catch(r)}.bind(this))},this.getMappedLocation=function(e){return new Promise(function(t,n){a(),s(e);var r=this.sourceCache,o=e.fileName;this._get(o).then(function(n){var i=l(n),a="data:"===i.substr(0,5),s=o.substring(0,o.lastIndexOf("/")+1);return"/"===i[0]||a||/^https?:\/\/|^\/\//i.test(i)||(i=s+i),this._getSourceMapConsumer(i,s).then((function(n){return u(e,n,r).then(t).catch((function(){t(e)}))}))}.bind(this),n).catch(n)}.bind(this))}}})?r.apply(t,o):r)||(e.exports=i)}()},9822:function(e,t,n){var r,o,i;!function(){"use strict";o=[n(1616),n(2732),n(2158)],r=function(e,t,n){var r={filter:function(e){return-1===(e.functionName||"").indexOf("StackTrace$$")&&-1===(e.functionName||"").indexOf("ErrorStackParser$$")&&-1===(e.functionName||"").indexOf("StackTraceGPS$$")&&-1===(e.functionName||"").indexOf("StackGenerator$$")},sourceCache:{}},o=function(){try{throw new Error}catch(e){return e}};function i(e,t){var n={};return[e,t].forEach((function(e){for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n})),n}function a(e){return e.stack||e["opera#sourceloc"]}function s(e,t){return"function"===typeof t?e.filter(t):e}return{get:function(e){var t=o();return a(t)?this.fromError(t,e):this.generateArtificially(e)},getSync:function(n){n=i(r,n);var l=o();return s(a(l)?e.parse(l):t.backtrace(n),n.filter)},fromError:function(t,o){o=i(r,o);var a=new n(o);return new Promise(function(n){var r=s(e.parse(t),o.filter);n(Promise.all(r.map((function(e){return new Promise((function(t){function n(){t(e)}a.pinpoint(e).then(t,n).catch(n)}))}))))}.bind(this))},generateArtificially:function(e){e=i(r,e);var n=t.backtrace(e);return"function"===typeof e.filter&&(n=n.filter(e.filter)),Promise.resolve(n)},instrument:function(e,t,n,r){if("function"!==typeof e)throw new Error("Cannot instrument non-function object");if("function"===typeof e.__stacktraceOriginalFn)return e;var o=function(){try{return this.get().then(t,n).catch(n),e.apply(r||this,arguments)}catch(o){throw a(o)&&this.fromError(o).then(t,n).catch(n),o}}.bind(this);return o.__stacktraceOriginalFn=e,o},deinstrument:function(e){if("function"!==typeof e)throw new Error("Cannot de-instrument non-function object");return"function"===typeof e.__stacktraceOriginalFn?e.__stacktraceOriginalFn:e},report:function(e,t,n,r){return new Promise((function(o,i){var a=new XMLHttpRequest;if(a.onerror=i,a.onreadystatechange=function(){4===a.readyState&&(a.status>=200&&a.status<400?o(a.responseText):i(new Error("POST to "+t+" failed with status: "+a.status)))},a.open("post",t),a.setRequestHeader("Content-Type","application/json"),r&&"object"===typeof r.headers){var s=r.headers;for(var l in s)Object.prototype.hasOwnProperty.call(s,l)&&a.setRequestHeader(l,s[l])}var u={stack:e};void 0!==n&&null!==n&&(u.message=n),a.send(JSON.stringify(u))}))}}},void 0===(i="function"===typeof r?r.apply(t,o):r)||(e.exports=i)}()},7294:function(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(4222)),o=n(8146);function i(e,t){var n={};return e&&"string"===typeof e?((0,r.default)(e,(function(e,r){e&&r&&(n[(0,o.camelCase)(e,t)]=r)})),n):n}i.default=i,e.exports=i},8146:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9-]+$/,r=/-([a-z])/g,o=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,s=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||o.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(a,l):e.replace(i,l)).replace(r,s))}},4222:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(4403));t.default=function(e,t){var n=null;if(!e||"string"!==typeof e)return n;var r=(0,o.default)(e),i="function"===typeof t;return r.forEach((function(e){if("declaration"===e.type){var r=e.property,o=e.value;i?t(r,o,e):o&&((n=n||{})[r]=o)}})),n}},3440:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ServerStyleSheet:()=>We,StyleSheetConsumer:()=>oe,StyleSheetContext:()=>re,StyleSheetManager:()=>ce,ThemeConsumer:()=>Me,ThemeContext:()=>Le,ThemeProvider:()=>Ne,__PRIVATE__:()=>He,createGlobalStyle:()=>Ie,css:()=>be,default:()=>Ve,isStyledComponent:()=>b,keyframes:()=>Be,useTheme:()=>$e,version:()=>w,withTheme:()=>ze});var r=n(2086),o=n(5043),i=n(7324),a=n.n(i),s=n(9812),l=n(1324);var u=/^((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|download|draggable|encType|enterKeyHint|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|playsInline|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)-.*))$/;const c=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return u.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var d=n(219),p=n.n(d);function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var h=function(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n},m=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,r.typeOf)(e)},g=Object.freeze([]),v=Object.freeze({});function y(e){return"function"==typeof e}function x(e){return e.displayName||e.name||"Component"}function b(e){return e&&"string"==typeof e.styledComponentId}var k="undefined"!=typeof process&&({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_GIT_BRANCH:"main",REACT_APP_GIT_SHA:"c9b6a17"}.REACT_APP_SC_ATTR||{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_GIT_BRANCH:"main",REACT_APP_GIT_SHA:"c9b6a17"}.SC_ATTR)||"data-styled",w="5.3.6",E="undefined"!=typeof window&&"HTMLElement"in window,_=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_GIT_BRANCH:"main",REACT_APP_GIT_SHA:"c9b6a17"}.REACT_APP_SC_DISABLE_SPEEDY&&""!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_GIT_BRANCH:"main",REACT_APP_GIT_SHA:"c9b6a17"}.REACT_APP_SC_DISABLE_SPEEDY?"false"!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_GIT_BRANCH:"main",REACT_APP_GIT_SHA:"c9b6a17"}.REACT_APP_SC_DISABLE_SPEEDY&&{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_GIT_BRANCH:"main",REACT_APP_GIT_SHA:"c9b6a17"}.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_GIT_BRANCH:"main",REACT_APP_GIT_SHA:"c9b6a17"}.SC_DISABLE_SPEEDY&&""!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_GIT_BRANCH:"main",REACT_APP_GIT_SHA:"c9b6a17"}.SC_DISABLE_SPEEDY&&("false"!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_GIT_BRANCH:"main",REACT_APP_GIT_SHA:"c9b6a17"}.SC_DISABLE_SPEEDY&&{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_GIT_BRANCH:"main",REACT_APP_GIT_SHA:"c9b6a17"}.SC_DISABLE_SPEEDY)),C={};function S(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var D=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)(o<<=1)<0&&S(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=r;i<o;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),s=0,l=t.length;s<l;s++)this.tag.insertRule(a,t[s])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,i=r;i<o;i++)t+=this.tag.getRule(i)+"/*!sc*/\n";return t},e}(),j=new Map,A=new Map,P=1,L=function(e){if(j.has(e))return j.get(e);for(;A.has(P);)P++;var t=P++;return j.set(e,t),A.set(t,e),t},M=function(e){return A.get(e)},N=function(e,t){t>=P&&(P=t+1),j.set(e,t),A.set(t,e)},O="style["+k+'][data-styled-version="5.3.6"]',T=new RegExp("^"+k+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),F=function(e,t,n){for(var r,o=n.split(","),i=0,a=o.length;i<a;i++)(r=o[i])&&e.registerName(t,r)},R=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],o=0,i=n.length;o<i;o++){var a=n[o].trim();if(a){var s=a.match(T);if(s){var l=0|parseInt(s[1],10),u=s[2];0!==l&&(N(u,l),F(e,u,s[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},I=function(){return n.nc},B=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(k))return r}}(n),i=void 0!==o?o.nextSibling:null;r.setAttribute(k,"active"),r.setAttribute("data-styled-version","5.3.6");var a=I();return a&&r.setAttribute("nonce",a),n.insertBefore(r,i),r},W=function(){function e(e){var t=this.element=B(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}S(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),z=function(){function e(e){var t=this.element=B(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),$=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),H=E,V={isServer:!E,useCSSOMInjection:!_},U=function(){function e(e,t,n){void 0===e&&(e=v),void 0===t&&(t={}),this.options=f({},V,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&E&&H&&(H=!1,function(e){for(var t=document.querySelectorAll(O),n=0,r=t.length;n<r;n++){var o=t[n];o&&"active"!==o.getAttribute(k)&&(R(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return L(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(f({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,o=t.target,e=n?new $(o):r?new W(o):new z(o),new D(e)));var e,t,n,r,o},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(L(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(L(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(L(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=0;o<n;o++){var i=M(o);if(void 0!==i){var a=e.names.get(i),s=t.getGroup(o);if(a&&s&&a.size){var l=k+".g"+o+'[id="'+i+'"]',u="";void 0!==a&&a.forEach((function(e){e.length>0&&(u+=e+",")})),r+=""+s+l+'{content:"'+u+'"}/*!sc*/\n'}}}return r}(this)},e}(),q=/(a)(d)/gi,Y=function(e){return String.fromCharCode(e+(e>25?39:97))};function G(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=Y(t%52)+n;return(Y(t%52)+n).replace(q,"$1-$2")}var Z=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},K=function(e){return Z(5381,e)};function Q(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(y(n)&&!b(n))return!1}return!0}var X=K("5.3.6"),J=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Q(e),this.componentId=t,this.baseHash=Z(X,t),this.baseStyle=n,U.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))o.push(this.staticRulesId);else{var i=ye(this.rules,e,t,n).join(""),a=G(Z(this.baseHash,i)>>>0);if(!t.hasNameForId(r,a)){var s=n(i,"."+a,void 0,r);t.insertRules(r,a,s)}o.push(a),this.staticRulesId=a}else{for(var l=this.rules.length,u=Z(this.baseHash,n.hash),c="",d=0;d<l;d++){var p=this.rules[d];if("string"==typeof p)c+=p;else if(p){var f=ye(p,e,t,n),h=Array.isArray(f)?f.join(""):f;u=Z(u,h+d),c+=h}}if(c){var m=G(u>>>0);if(!t.hasNameForId(r,m)){var g=n(c,"."+m,void 0,r);t.insertRules(r,m,g)}o.push(m)}}return o.join(" ")},e}(),ee=/^\s*\/\/.*$/gm,te=[":","[",".","#"];function ne(e){var t,n,r,o,i=void 0===e?v:e,a=i.options,l=void 0===a?v:a,u=i.plugins,c=void 0===u?g:u,d=new s.A(l),p=[],f=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,o,i,a,s,l,u,c,d){switch(n){case 1:if(0===c&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===u)return r+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(o[0]+r),"";default:return r+(0===d?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}((function(e){p.push(e)})),h=function(e,r,i){return 0===r&&-1!==te.indexOf(i[n.length])||i.match(o)?e:"."+t};function m(e,i,a,s){void 0===s&&(s="&");var l=e.replace(ee,""),u=i&&a?a+" "+i+" { "+l+" }":l;return t=s,n=i,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),d(a||!i?"":i,u)}return d.use([].concat(c,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(n)>0&&(o[0]=o[0].replace(r,h))},f,function(e){if(-2===e){var t=p;return p=[],t}}])),m.hash=c.length?c.reduce((function(e,t){return t.name||S(15),Z(e,t.name)}),5381).toString():"",m}var re=o.createContext(),oe=re.Consumer,ie=o.createContext(),ae=(ie.Consumer,new U),se=ne();function le(){return(0,o.useContext)(re)||ae}function ue(){return(0,o.useContext)(ie)||se}function ce(e){var t=(0,o.useState)(e.stylisPlugins),n=t[0],r=t[1],i=le(),s=(0,o.useMemo)((function(){var t=i;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),l=(0,o.useMemo)((function(){return ne({options:{prefix:!e.disableVendorPrefixes},plugins:n})}),[e.disableVendorPrefixes,n]);return(0,o.useEffect)((function(){a()(n,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]),o.createElement(re.Provider,{value:s},o.createElement(ie.Provider,{value:l},e.children))}var de=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=se);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return S(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=se),this.name+e.hash},e}(),pe=/([A-Z])/,fe=/([A-Z])/g,he=/^ms-/,me=function(e){return"-"+e.toLowerCase()};function ge(e){return pe.test(e)?e.replace(fe,me).replace(he,"-ms-"):e}var ve=function(e){return null==e||!1===e||""===e};function ye(e,t,n,r){if(Array.isArray(e)){for(var o,i=[],a=0,s=e.length;a<s;a+=1)""!==(o=ye(e[a],t,n,r))&&(Array.isArray(o)?i.push.apply(i,o):i.push(o));return i}return ve(e)?"":b(e)?"."+e.styledComponentId:y(e)?"function"!=typeof(u=e)||u.prototype&&u.prototype.isReactComponent||!t?e:ye(e(t),t,n,r):e instanceof de?n?(e.inject(n,r),e.getName(r)):e:m(e)?function e(t,n){var r,o,i=[];for(var a in t)t.hasOwnProperty(a)&&!ve(t[a])&&(Array.isArray(t[a])&&t[a].isCss||y(t[a])?i.push(ge(a)+":",t[a],";"):m(t[a])?i.push.apply(i,e(t[a],a)):i.push(ge(a)+": "+(r=a,(null==(o=t[a])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||r in l.A?String(o).trim():o+"px")+";")));return n?[n+" {"].concat(i,["}"]):i}(e):e.toString();var u}var xe=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function be(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 y(e)||m(e)?xe(ye(h(g,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:xe(ye(h(e,n)))}new Set;var ke=function(e,t,n){return void 0===n&&(n=v),e.theme!==n.theme&&e.theme||t||n.theme},we=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Ee=/(^-|-$)/g;function _e(e){return e.replace(we,"-").replace(Ee,"")}var Ce=function(e){return G(K(e)>>>0)};function Se(e){return"string"==typeof e&&!0}var De=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},je=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Ae(e,t,n){var r=e[n];De(t)&&De(r)?Pe(r,t):e[n]=t}function Pe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var o=0,i=n;o<i.length;o++){var a=i[o];if(De(a))for(var s in a)je(s)&&Ae(e,a[s],s)}return e}var Le=o.createContext(),Me=Le.Consumer;function Ne(e){var t=(0,o.useContext)(Le),n=(0,o.useMemo)((function(){return function(e,t){return e?y(e)?e(t):Array.isArray(e)||"object"!=typeof e?S(8):t?f({},t,{},e):e:S(14)}(e.theme,t)}),[e.theme,t]);return e.children?o.createElement(Le.Provider,{value:n},e.children):null}var Oe={};function Te(e,t,n){var r=b(e),i=!Se(e),a=t.attrs,s=void 0===a?g:a,l=t.componentId,u=void 0===l?function(e,t){var n="string"!=typeof e?"sc":_e(e);Oe[n]=(Oe[n]||0)+1;var r=n+"-"+Ce("5.3.6"+n+Oe[n]);return t?t+"-"+r:r}(t.displayName,t.parentComponentId):l,d=t.displayName,h=void 0===d?function(e){return Se(e)?"styled."+e:"Styled("+x(e)+")"}(e):d,m=t.displayName&&t.componentId?_e(t.displayName)+"-"+t.componentId:t.componentId||u,k=r&&e.attrs?Array.prototype.concat(e.attrs,s).filter(Boolean):s,w=t.shouldForwardProp;r&&e.shouldForwardProp&&(w=t.shouldForwardProp?function(n,r,o){return e.shouldForwardProp(n,r,o)&&t.shouldForwardProp(n,r,o)}:e.shouldForwardProp);var E,_=new J(n,m,r?e.componentStyle:void 0),C=_.isStatic&&0===s.length,S=function(e,t){return function(e,t,n,r){var i=e.attrs,a=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,u=e.shouldForwardProp,d=e.styledComponentId,p=e.target,h=function(e,t,n){void 0===e&&(e=v);var r=f({},t,{theme:e}),o={};return n.forEach((function(e){var t,n,i,a=e;for(t in y(a)&&(a=a(r)),a)r[t]=o[t]="className"===t?(n=o[t],i=a[t],n&&i?n+" "+i:n||i):a[t]})),[r,o]}(ke(t,(0,o.useContext)(Le),s)||v,t,i),m=h[0],g=h[1],x=function(e,t,n){var r=le(),o=ue();return t?e.generateAndInjectStyles(v,r,o):e.generateAndInjectStyles(n,r,o)}(a,r,m),b=n,k=g.$as||t.$as||g.as||t.as||p,w=Se(k),E=g!==t?f({},t,{},g):t,_={};for(var C in E)"$"!==C[0]&&"as"!==C&&("forwardedAs"===C?_.as=E[C]:(u?u(C,c,k):!w||c(C))&&(_[C]=E[C]));return t.style&&g.style!==t.style&&(_.style=f({},t.style,{},g.style)),_.className=Array.prototype.concat(l,d,x!==d?x:null,t.className,g.className).filter(Boolean).join(" "),_.ref=b,(0,o.createElement)(k,_)}(E,e,t,C)};return S.displayName=h,(E=o.forwardRef(S)).attrs=k,E.componentStyle=_,E.displayName=h,E.shouldForwardProp=w,E.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):g,E.styledComponentId=m,E.target=r?e.target:e,E.withComponent=function(e){var r=t.componentId,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["componentId"]),i=r&&r+"-"+(Se(e)?e:_e(x(e)));return Te(e,f({},o,{attrs:k,componentId:i}),n)},Object.defineProperty(E,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=r?Pe({},e.defaultProps,t):t}}),E.toString=function(){return"."+E.styledComponentId},i&&p()(E,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),E}var Fe=function(e){return function e(t,n,o){if(void 0===o&&(o=v),!(0,r.isValidElementType)(n))return S(1,String(n));var i=function(){return t(n,o,be.apply(void 0,arguments))};return i.withConfig=function(r){return e(t,n,f({},o,{},r))},i.attrs=function(r){return e(t,n,f({},o,{attrs:Array.prototype.concat(o.attrs,r).filter(Boolean)}))},i}(Te,e)};["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","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){Fe[e]=Fe(e)}));var Re=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Q(e),U.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,n,r){var o=r(ye(this.rules,t,n,r).join(""),""),i=this.componentId+e;n.insertRules(i,i,o)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,r){e>2&&U.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();function Ie(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=be.apply(void 0,[e].concat(n)),a="sc-global-"+Ce(JSON.stringify(i)),s=new Re(i,a);function l(e){var t=le(),n=ue(),r=(0,o.useContext)(Le),i=(0,o.useRef)(t.allocateGSInstance(a)).current;return t.server&&u(i,e,t,r,n),(0,o.useLayoutEffect)((function(){if(!t.server)return u(i,e,t,r,n),function(){return s.removeStyles(i,t)}}),[i,e,t,r,n]),null}function u(e,t,n,r,o){if(s.isStatic)s.renderStyles(e,C,n,o);else{var i=f({},t,{theme:ke(t,r,l.defaultProps)});s.renderStyles(e,i,n,o)}}return o.memo(l)}function Be(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=be.apply(void 0,[e].concat(n)).join(""),i=Ce(o);return new de(i,o)}var We=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=I();return"<style "+[n&&'nonce="'+n+'"',k+'="true"','data-styled-version="5.3.6"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?S(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return S(2);var n=((t={})[k]="",t["data-styled-version"]="5.3.6",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=I();return r&&(n.nonce=r),[o.createElement("style",f({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new U({isServer:!0}),this.sealed=!1}var t=e.prototype;return t.collectStyles=function(e){return this.sealed?S(2):o.createElement(ce,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return S(3)},e}(),ze=function(e){var t=o.forwardRef((function(t,n){var r=(0,o.useContext)(Le),i=e.defaultProps,a=ke(t,r,i);return o.createElement(e,f({},t,{theme:a,ref:n}))}));return p()(t,e),t.displayName="WithTheme("+x(e)+")",t},$e=function(){return(0,o.useContext)(Le)},He={StyleSheet:U,masterSheet:ae};const Ve=Fe},2751:function(e,t,n){var r;!function(o,i){"use strict";var a="function",s="undefined",l="object",u="string",c="major",d="model",p="name",f="type",h="vendor",m="version",g="architecture",v="console",y="mobile",x="tablet",b="smarttv",k="wearable",w="embedded",E="Amazon",_="Apple",C="ASUS",S="BlackBerry",D="Browser",j="Chrome",A="Firefox",P="Google",L="Huawei",M="LG",N="Microsoft",O="Motorola",T="Opera",F="Samsung",R="Sharp",I="Sony",B="Xiaomi",W="Zebra",z="Facebook",$="Chromium OS",H="Mac OS",V=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},U=function(e,t){return typeof e===u&&-1!==q(t).indexOf(q(e))},q=function(e){return e.toLowerCase()},Y=function(e,t){if(typeof e===u)return e=e.replace(/^\s\s*/,""),typeof t===s?e:e.substring(0,500)},G=function(e,t){for(var n,r,o,s,u,c,d=0;d<t.length&&!u;){var p=t[d],f=t[d+1];for(n=r=0;n<p.length&&!u&&p[n];)if(u=p[n++].exec(e))for(o=0;o<f.length;o++)c=u[++r],typeof(s=f[o])===l&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,c):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=c?c.replace(s[1],s[2]):i:this[s[0]]=c?s[1].call(this,c,s[2]):i:4===s.length&&(this[s[0]]=c?s[3].call(this,c.replace(s[1],s[2])):i):this[s]=c||i;d+=2}},Z=function(e,t){for(var n in t)if(typeof t[n]===l&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(U(t[n][r],e))return"?"===n?i:n}else if(U(t[n],e))return"?"===n?i:n;return e},K={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Q={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[m,[p,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[m,[p,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[p,m],[/opios[\/ ]+([\w\.]+)/i],[m,[p,T+" Mini"]],[/\bopr\/([\w\.]+)/i],[m,[p,T]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[m,[p,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[p,m],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[m,[p,"UC"+D]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[m,[p,"WeChat"]],[/konqueror\/([\w\.]+)/i],[m,[p,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[m,[p,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[m,[p,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[m,[p,"Smart Lenovo "+D]],[/(avast|avg)\/([\w\.]+)/i],[[p,/(.+)/,"$1 Secure "+D],m],[/\bfocus\/([\w\.]+)/i],[m,[p,A+" Focus"]],[/\bopt\/([\w\.]+)/i],[m,[p,T+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[m,[p,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[m,[p,"Dolphin"]],[/coast\/([\w\.]+)/i],[m,[p,T+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[m,[p,"MIUI "+D]],[/fxios\/([-\w\.]+)/i],[m,[p,A]],[/\bqihu|(qi?ho?o?|360)browser/i],[[p,"360 "+D]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[p,/(.+)/,"$1 "+D],m],[/samsungbrowser\/([\w\.]+)/i],[m,[p,F+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[p,/_/g," "],m],[/metasr[\/ ]?([\d\.]+)/i],[m,[p,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[p,"Sogou Mobile"],m],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[p,m],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[p],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[p,z],m],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[p,m],[/\bgsa\/([\w\.]+) .*safari\//i],[m,[p,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[m,[p,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[m,[p,j+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[p,j+" WebView"],m],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[m,[p,"Android "+D]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[p,m],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[m,[p,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[m,p],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[p,[m,Z,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[p,m],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[p,"Netscape"],m],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[m,[p,A+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[p,m],[/(cobalt)\/([\w\.]+)/i],[p,[m,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[g,"amd64"]],[/(ia32(?=;))/i],[[g,q]],[/((?:i[346]|x)86)[;\)]/i],[[g,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[g,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[g,"armhf"]],[/windows (ce|mobile); ppc;/i],[[g,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[g,/ower/,"",q]],[/(sun4\w)[;\)]/i],[[g,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[g,q]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[h,F],[f,x]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[h,F],[f,y]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[h,_],[f,y]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[h,_],[f,x]],[/(macintosh);/i],[d,[h,_]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[h,R],[f,y]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[h,L],[f,x]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[h,L],[f,y]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[h,B],[f,y]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[h,B],[f,x]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[h,"OPPO"],[f,y]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[h,"Vivo"],[f,y]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[h,"Realme"],[f,y]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[h,O],[f,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[h,O],[f,x]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[h,M],[f,x]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[h,M],[f,y]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[h,"Lenovo"],[f,x]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[h,"Nokia"],[f,y]],[/(pixel c)\b/i],[d,[h,P],[f,x]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[h,P],[f,y]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[h,I],[f,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[h,I],[f,x]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[h,"OnePlus"],[f,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[h,E],[f,x]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[h,E],[f,y]],[/(playbook);[-\w\),; ]+(rim)/i],[d,h,[f,x]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[h,S],[f,y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[h,C],[f,x]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[h,C],[f,y]],[/(nexus 9)/i],[d,[h,"HTC"],[f,x]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[d,/_/g," "],[f,y]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[h,"Acer"],[f,x]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[h,"Meizu"],[f,y]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[h,"Ulefone"],[f,y]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[h,d,[f,y]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[h,d,[f,x]],[/(surface duo)/i],[d,[h,N],[f,x]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[h,"Fairphone"],[f,y]],[/(u304aa)/i],[d,[h,"AT&T"],[f,y]],[/\bsie-(\w*)/i],[d,[h,"Siemens"],[f,y]],[/\b(rct\w+) b/i],[d,[h,"RCA"],[f,x]],[/\b(venue[\d ]{2,7}) b/i],[d,[h,"Dell"],[f,x]],[/\b(q(?:mv|ta)\w+) b/i],[d,[h,"Verizon"],[f,x]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[h,"Barnes & Noble"],[f,x]],[/\b(tm\d{3}\w+) b/i],[d,[h,"NuVision"],[f,x]],[/\b(k88) b/i],[d,[h,"ZTE"],[f,x]],[/\b(nx\d{3}j) b/i],[d,[h,"ZTE"],[f,y]],[/\b(gen\d{3}) b.+49h/i],[d,[h,"Swiss"],[f,y]],[/\b(zur\d{3}) b/i],[d,[h,"Swiss"],[f,x]],[/\b((zeki)?tb.*\b) b/i],[d,[h,"Zeki"],[f,x]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],d,[f,x]],[/\b(ns-?\w{0,9}) b/i],[d,[h,"Insignia"],[f,x]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[h,"NextBook"],[f,x]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],d,[f,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],d,[f,y]],[/\b(ph-1) /i],[d,[h,"Essential"],[f,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[h,"Envizen"],[f,x]],[/\b(trio[-\w\. ]+) b/i],[d,[h,"MachSpeed"],[f,x]],[/\btu_(1491) b/i],[d,[h,"Rotor"],[f,x]],[/(shield[\w ]+) b/i],[d,[h,"Nvidia"],[f,x]],[/(sprint) (\w+)/i],[h,d,[f,y]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[h,N],[f,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[h,W],[f,x]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[h,W],[f,y]],[/smart-tv.+(samsung)/i],[h,[f,b]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[h,F],[f,b]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,M],[f,b]],[/(apple) ?tv/i],[h,[d,_+" TV"],[f,b]],[/crkey/i],[[d,j+"cast"],[h,P],[f,b]],[/droid.+aft(\w+)( bui|\))/i],[d,[h,E],[f,b]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[h,R],[f,b]],[/(bravia[\w ]+)( bui|\))/i],[d,[h,I],[f,b]],[/(mitv-\w{5}) bui/i],[d,[h,B],[f,b]],[/Hbbtv.*(technisat) (.*);/i],[h,d,[f,b]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,Y],[d,Y],[f,b]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[f,b]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,d,[f,v]],[/droid.+; (shield) bui/i],[d,[h,"Nvidia"],[f,v]],[/(playstation [345portablevi]+)/i],[d,[h,I],[f,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[h,N],[f,v]],[/((pebble))app/i],[h,d,[f,k]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[h,_],[f,k]],[/droid.+; (glass) \d/i],[d,[h,P],[f,k]],[/droid.+; (wt63?0{2,3})\)/i],[d,[h,W],[f,k]],[/(quest( 2| pro)?)/i],[d,[h,z],[f,k]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[f,w]],[/(aeobc)\b/i],[d,[h,E],[f,w]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[f,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[f,x]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[f,x]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[f,y]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[m,[p,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[m,[p,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[p,m],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[m,p]],os:[[/microsoft (windows) (vista|xp)/i],[p,m],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[p,[m,Z,K]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[m,Z,K],[p,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[m,/_/g,"."],[p,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[p,H],[m,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[m,p],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[p,m],[/\(bb(10);/i],[m,[p,S]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[m,[p,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[m,[p,A+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[m,[p,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[m,[p,"watchOS"]],[/crkey\/([\d\.]+)/i],[m,[p,j+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[p,$],m],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[p,m],[/(sunos) ?([\w\.\d]*)/i],[[p,"Solaris"],m],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[p,m]]},X=function(e,t){if(typeof e===l&&(t=e,e=i),!(this instanceof X))return new X(e,t).getResult();var n=typeof o!==s&&o.navigator?o.navigator:i,r=e||(n&&n.userAgent?n.userAgent:""),v=n&&n.userAgentData?n.userAgentData:i,b=t?function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2===0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(Q,t):Q,k=n&&n.userAgent==r;return this.getBrowser=function(){var e,t={};return t[p]=i,t[m]=i,G.call(t,r,b.browser),t[c]=typeof(e=t[m])===u?e.replace(/[^\d\.]/g,"").split(".")[0]:i,k&&n&&n.brave&&typeof n.brave.isBrave==a&&(t[p]="Brave"),t},this.getCPU=function(){var e={};return e[g]=i,G.call(e,r,b.cpu),e},this.getDevice=function(){var e={};return e[h]=i,e[d]=i,e[f]=i,G.call(e,r,b.device),k&&!e[f]&&v&&v.mobile&&(e[f]=y),k&&"Macintosh"==e[d]&&n&&typeof n.standalone!==s&&n.maxTouchPoints&&n.maxTouchPoints>2&&(e[d]="iPad",e[f]=x),e},this.getEngine=function(){var e={};return e[p]=i,e[m]=i,G.call(e,r,b.engine),e},this.getOS=function(){var e={};return e[p]=i,e[m]=i,G.call(e,r,b.os),k&&!e[p]&&v&&"Unknown"!=v.platform&&(e[p]=v.platform.replace(/chrome os/i,$).replace(/macos/i,H)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===u&&e.length>500?Y(e,500):e,this},this.setUA(r),this};X.VERSION="1.0.37",X.BROWSER=V([p,m,c]),X.CPU=V([g]),X.DEVICE=V([d,h,f,v,y,b,x,k,w]),X.ENGINE=X.OS=V([p,m]),typeof t!==s?(e.exports&&(t=e.exports=X),t.UAParser=X):n.amdO?(r=function(){return X}.call(t,n,t,e))===i||(e.exports=r):typeof o!==s&&(o.UAParser=X);var J=typeof o!==s&&(o.jQuery||o.Zepto);if(J&&!J.ua){var ee=new X;J.ua=ee.getResult(),J.ua.get=function(){return ee.getUA()},J.ua.set=function(e){ee.setUA(e);var t=ee.getResult();for(var n in t)J.ua[n]=t[n]}}}("object"===typeof window?window:this)},1234:()=>{},4994:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},6305:(e,t,n)=>{var r=n(3738).default;function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}e.exports=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=r(e)&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var i={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var l=a?Object.getOwnPropertyDescriptor(e,s):null;l&&(l.get||l.set)?Object.defineProperty(i,s,l):i[s]=e[s]}return i.default=e,n&&n.set(e,i),i},e.exports.__esModule=!0,e.exports.default=e.exports},3738:e=>{function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},5422:function(e){e.exports=function(){"use strict";function e(){return!0}function t(){return!1}function n(){}const r="Argument is not a typed-function.";function o(){function i(e){return"object"===typeof e&&null!==e&&e.constructor===Object}const a=[{name:"number",test:function(e){return"number"===typeof e}},{name:"string",test:function(e){return"string"===typeof e}},{name:"boolean",test:function(e){return"boolean"===typeof e}},{name:"Function",test:function(e){return"function"===typeof e}},{name:"Array",test:Array.isArray},{name:"Date",test:function(e){return e instanceof Date}},{name:"RegExp",test:function(e){return e instanceof RegExp}},{name:"Object",test:i},{name:"null",test:function(e){return null===e}},{name:"undefined",test:function(e){return void 0===e}}],s={name:"any",test:e,isAny:!0};let l,u,c=0,d={createCount:0};function p(e){const t=l.get(e);if(t)return t;let n='Unknown type "'+e+'"';const r=e.toLowerCase();let o;for(o of u)if(o.toLowerCase()===r){n+='. Did you mean "'+o+'" ?';break}throw new TypeError(n)}function f(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"any";const n=t?p(t).index:u.length,r=[];for(let i=0;i<e.length;++i){if(!e[i]||"string"!==typeof e[i].name||"function"!==typeof e[i].test)throw new TypeError("Object with properties {name: string, test: function} expected");const t=e[i].name;if(l.has(t))throw new TypeError('Duplicate type name "'+t+'"');r.push(t),l.set(t,{name:t,test:e[i].test,isAny:e[i].isAny,index:n+i,conversionsTo:[]})}const o=u.slice(n);u=u.slice(0,n).concat(r).concat(o);for(let i=n+r.length;i<u.length;++i)l.get(u[i]).index=i}function h(){l=new Map,u=[],c=0,f([s],!1)}function m(){let e;for(e of u)l.get(e).conversionsTo=[];c=0}function g(e){const t=u.filter((t=>{const n=l.get(t);return!n.isAny&&n.test(e)}));return t.length?t:["any"]}function v(e){return e&&"function"===typeof e&&"_typedFunctionData"in e}function y(e,t,n){if(!v(e))throw new TypeError(r);const o=n&&n.exact,i=C(Array.isArray(t)?t.join(","):t),a=k(i);if(!o||a in e.signatures){const t=e._typedFunctionData.signatureMap.get(a);if(t)return t}const s=i.length;let l,u;if(o){let t;for(t in l=[],e.signatures)l.push(e._typedFunctionData.signatureMap.get(t))}else l=e._typedFunctionData.signatures;for(let r=0;r<s;++r){const e=i[r],t=[];let n;for(n of l){const o=A(n.params,r);if(o&&(!e.restParam||o.restParam)){if(!o.hasAny){const t=_(o);if(e.types.some((e=>!t.has(e.name))))continue}t.push(n)}}if(l=t,0===l.length)break}for(u of l)if(u.params.length<=s)return u;throw new TypeError("Signature not found (signature: "+(e.name||"unnamed")+"("+k(i,", ")+"))")}function x(e,t,n){return y(e,t,n).implementation}function b(e,t){const n=p(t);if(n.test(e))return e;const r=n.conversionsTo;if(0===r.length)throw new Error("There are no conversions to "+t+" defined.");for(let o=0;o<r.length;o++)if(p(r[o].from).test(e))return r[o].convert(e);throw new Error("Cannot convert "+e+" to "+t)}function k(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:",";return e.map((e=>e.name)).join(t)}function w(e){const t=0===e.indexOf("..."),n=(t?e.length>3?e.slice(3):"any":e).split("|").map((e=>p(e.trim())));let r=!1,o=t?"...":"";return{types:n.map((function(e){return r=e.isAny||r,o+=e.name+"|",{name:e.name,typeIndex:e.index,test:e.test,isAny:e.isAny,conversion:null,conversionIndex:-1}})),name:o.slice(0,-1),hasAny:r,hasConversion:!1,restParam:t}}function E(e){const t=I(e.types.map((e=>e.name)));let n=e.hasAny,r=e.name;const o=t.map((function(e){const t=p(e.from);return n=t.isAny||n,r+="|"+e.from,{name:e.from,typeIndex:t.index,test:t.test,isAny:t.isAny,conversion:e,conversionIndex:e.index}}));return{types:e.types.concat(o),name:r,hasAny:n,hasConversion:o.length>0,restParam:e.restParam}}function _(e){return e.typeSet||(e.typeSet=new Set,e.types.forEach((t=>e.typeSet.add(t.name)))),e.typeSet}function C(e){const t=[];if("string"!==typeof e)throw new TypeError("Signatures must be strings");const n=e.trim();if(""===n)return t;const r=n.split(",");for(let o=0;o<r.length;++o){const e=w(r[o].trim());if(e.restParam&&o!==r.length-1)throw new SyntaxError('Unexpected rest parameter "'+r[o]+'": only allowed for the last parameter');if(0===e.types.length)return null;t.push(e)}return t}function S(e){const t=K(e);return!!t&&t.restParam}function D(t){if(t&&0!==t.types.length){if(1===t.types.length)return p(t.types[0].name).test;if(2===t.types.length){const e=p(t.types[0].name).test,n=p(t.types[1].name).test;return function(t){return e(t)||n(t)}}{const e=t.types.map((function(e){return p(e.name).test}));return function(t){for(let n=0;n<e.length;n++)if(e[n](t))return!0;return!1}}}return e}function j(e){let t,n,r;if(S(e)){t=Z(e).map(D);const n=t.length,r=D(K(e)),o=function(e){for(let t=n;t<e.length;t++)if(!r(e[t]))return!1;return!0};return function(e){for(let n=0;n<t.length;n++)if(!t[n](e[n]))return!1;return o(e)&&e.length>=n+1}}return 0===e.length?function(e){return 0===e.length}:1===e.length?(n=D(e[0]),function(e){return n(e[0])&&1===e.length}):2===e.length?(n=D(e[0]),r=D(e[1]),function(e){return n(e[0])&&r(e[1])&&2===e.length}):(t=e.map(D),function(e){for(let n=0;n<t.length;n++)if(!t[n](e[n]))return!1;return e.length===t.length})}function A(e,t){return t<e.length?e[t]:S(e)?K(e):null}function P(e,t){const n=A(e,t);return n?_(n):new Set}function L(e){return null===e.conversion||void 0===e.conversion}function M(e,t){const n=new Set;return e.forEach((e=>{const r=P(e.params,t);let o;for(o of r)n.add(o)})),n.has("any")?["any"]:Array.from(n)}function N(e,t,n){let r,o;const i=e||"unnamed";let a,s=n;for(a=0;a<t.length;a++){const e=[];if(s.forEach((n=>{const r=D(A(n.params,a));(a<n.params.length||S(n.params))&&r(t[a])&&e.push(n)})),0===e.length){if(o=M(s,a),o.length>0){const e=g(t[a]);return r=new TypeError("Unexpected type of argument in function "+i+" (expected: "+o.join(" or ")+", actual: "+e.join(" | ")+", index: "+a+")"),r.data={category:"wrongType",fn:i,index:a,actual:e,expected:o},r}}else s=e}const l=s.map((function(e){return S(e.params)?1/0:e.params.length}));if(t.length<Math.min.apply(null,l))return o=M(s,a),r=new TypeError("Too few arguments in function "+i+" (expected: "+o.join(" or ")+", index: "+t.length+")"),r.data={category:"tooFewArgs",fn:i,index:t.length,expected:o},r;const u=Math.max.apply(null,l);if(t.length>u)return r=new TypeError("Too many arguments in function "+i+" (expected: "+u+", actual: "+t.length+")"),r.data={category:"tooManyArgs",fn:i,index:t.length,expectedLength:u},r;const c=[];for(let d=0;d<t.length;++d)c.push(g(t[d]).join("|"));return r=new TypeError('Arguments of type "'+c.join(", ")+'" do not match any of the defined signatures of function '+i+"."),r.data={category:"mismatch",actual:c},r}function O(e){let t=u.length+1;for(let n=0;n<e.types.length;n++)L(e.types[n])&&(t=Math.min(t,e.types[n].typeIndex));return t}function T(e){let t=c+1;for(let n=0;n<e.types.length;n++)L(e.types[n])||(t=Math.min(t,e.types[n].conversionIndex));return t}function F(e,t){if(e.hasAny){if(!t.hasAny)return 1}else if(t.hasAny)return-1;if(e.restParam){if(!t.restParam)return 1}else if(t.restParam)return-1;if(e.hasConversion){if(!t.hasConversion)return 1}else if(t.hasConversion)return-1;const n=O(e)-O(t);if(n<0)return-1;if(n>0)return 1;const r=T(e)-T(t);return r<0?-1:r>0?1:0}function R(e,t){const n=e.params,r=t.params,o=K(n),i=K(r),a=S(n),s=S(r);if(a&&o.hasAny){if(!s||!i.hasAny)return 1}else if(s&&i.hasAny)return-1;let l,u=0,c=0;for(l of n)l.hasAny&&++u,l.hasConversion&&++c;let d=0,p=0;for(l of r)l.hasAny&&++d,l.hasConversion&&++p;if(u!==d)return u-d;if(a&&o.hasConversion){if(!s||!i.hasConversion)return 1}else if(s&&i.hasConversion)return-1;if(c!==p)return c-p;if(a){if(!s)return 1}else if(s)return-1;const f=(n.length-r.length)*(a?-1:1);if(0!==f)return f;const h=[];let m,g=0;for(let v=0;v<n.length;++v){const e=F(n[v],r[v]);h.push(e),g+=e}if(0!==g)return g;for(m of h)if(0!==m)return m;return 0}function I(e){if(0===e.length)return[];const t=e.map(p);e.length>1&&t.sort(((e,t)=>e.index-t.index));let n=t[0].conversionsTo;if(1===e.length)return n;n=n.concat([]);const r=new Set(e);for(let o=1;o<t.length;++o){let e;for(e of t[o].conversionsTo)r.has(e.from)||(n.push(e),r.add(e.from))}return n}function B(e,t){let n=t;if(e.some((e=>e.hasConversion))){const r=S(e),o=e.map(W);n=function(){const e=[],n=r?arguments.length-1:arguments.length;for(let t=0;t<n;t++)e[t]=o[t](arguments[t]);return r&&(e[n]=arguments[n].map(o[n])),t.apply(this,e)}}let r=n;if(S(e)){const t=e.length-1;r=function(){return n.apply(this,Q(arguments,0,t).concat([Q(arguments,t)]))}}return r}function W(e){let t,n,r,o;const i=[],a=[];switch(e.types.forEach((function(e){e.conversion&&(i.push(p(e.conversion.from).test),a.push(e.conversion.convert))})),a.length){case 0:return function(e){return e};case 1:return t=i[0],r=a[0],function(e){return t(e)?r(e):e};case 2:return t=i[0],n=i[1],r=a[0],o=a[1],function(e){return t(e)?r(e):n(e)?o(e):e};default:return function(e){for(let t=0;t<a.length;t++)if(i[t](e))return a[t](e);return e}}}function z(e){function t(e,n,r){if(n<e.length){const o=e[n];let i=[];if(o.restParam){const e=o.types.filter(L);e.length<o.types.length&&i.push({types:e,name:"..."+e.map((e=>e.name)).join("|"),hasAny:e.some((e=>e.isAny)),hasConversion:!1,restParam:!0}),i.push(o)}else i=o.types.map((function(e){return{types:[e],name:e.name,hasAny:e.isAny,hasConversion:e.conversion,restParam:!1}}));return J(i,(function(o){return t(e,n+1,r.concat([o]))}))}return[r]}return t(e,0,[])}function $(e,t){const n=Math.max(e.length,t.length);for(let s=0;s<n;s++){const n=P(e,s),r=P(t,s);let o,i=!1;for(o of r)if(n.has(o)){i=!0;break}if(!i)return!1}const r=e.length,o=t.length,i=S(e),a=S(t);return i?a?r===o:o>=r:a?r>=o:r===o}function H(e){return e.map((e=>oe(e)?ne(e.referToSelf.callback):re(e)?te(e.referTo.references,e.referTo.callback):e))}function V(e,t,n){const r=[];let o;for(o of e){let e=n[o];if("number"!==typeof e)throw new TypeError('No definition for referenced signature "'+o+'"');if(e=t[e],"function"!==typeof e)return!1;r.push(e)}return r}function U(e,t,n){const r=H(e),o=new Array(r.length).fill(!1);let i=!0;for(;i;){i=!1;let e=!0;for(let a=0;a<r.length;++a){if(o[a])continue;const s=r[a];if(oe(s))r[a]=s.referToSelf.callback(n),r[a].referToSelf=s.referToSelf,o[a]=!0,e=!1;else if(re(s)){const n=V(s.referTo.references,r,t);n?(r[a]=s.referTo.callback.apply(this,n),r[a].referTo=s.referTo,o[a]=!0,e=!1):i=!0}}if(e&&i)throw new SyntaxError("Circular reference detected in resolving typed.referTo")}return r}function q(e){const t=/\bthis(\(|\.signatures\b)/;Object.keys(e).forEach((n=>{const r=e[n];if(t.test(r.toString()))throw new SyntaxError("Using `this` to self-reference a function is deprecated since typed-function@3. Use typed.referTo and typed.referToSelf instead.")}))}function Y(e,r){if(d.createCount++,0===Object.keys(r).length)throw new SyntaxError("No signatures provided");d.warnAgainstDeprecatedThis&&q(r);const o=[],i=[],a={},s=[];let l;for(l in r){if(!Object.prototype.hasOwnProperty.call(r,l))continue;const e=C(l);if(!e)continue;o.forEach((function(t){if($(t,e))throw new TypeError('Conflicting signatures "'+k(t)+'" and "'+k(e)+'".')})),o.push(e);const t=i.length;i.push(r[l]);const n=e.map(E);let u;for(u of z(n)){const e=k(u);s.push({params:u,name:e,fn:t}),u.every((e=>!e.hasConversion))&&(a[e]=t)}}s.sort(R);const u=U(i,a,le);let c;for(c in a)Object.prototype.hasOwnProperty.call(a,c)&&(a[c]=u[a[c]]);const p=[],f=new Map;for(c of s)f.has(c.name)||(c.fn=u[c.fn],p.push(c),f.set(c.name,c));const h=p[0]&&p[0].params.length<=2&&!S(p[0].params),m=p[1]&&p[1].params.length<=2&&!S(p[1].params),g=p[2]&&p[2].params.length<=2&&!S(p[2].params),v=p[3]&&p[3].params.length<=2&&!S(p[3].params),y=p[4]&&p[4].params.length<=2&&!S(p[4].params),x=p[5]&&p[5].params.length<=2&&!S(p[5].params),b=h&&m&&g&&v&&y&&x;for(let t=0;t<p.length;++t)p[t].test=j(p[t].params);const w=h?D(p[0].params[0]):t,_=m?D(p[1].params[0]):t,A=g?D(p[2].params[0]):t,P=v?D(p[3].params[0]):t,L=y?D(p[4].params[0]):t,M=x?D(p[5].params[0]):t,N=h?D(p[0].params[1]):t,O=m?D(p[1].params[1]):t,T=g?D(p[2].params[1]):t,F=v?D(p[3].params[1]):t,I=y?D(p[4].params[1]):t,W=x?D(p[5].params[1]):t;for(let t=0;t<p.length;++t)p[t].implementation=B(p[t].params,p[t].fn);const H=h?p[0].implementation:n,V=m?p[1].implementation:n,Y=g?p[2].implementation:n,G=v?p[3].implementation:n,Z=y?p[4].implementation:n,K=x?p[5].implementation:n,Q=h?p[0].params.length:-1,X=m?p[1].params.length:-1,J=g?p[2].params.length:-1,ee=v?p[3].params.length:-1,te=y?p[4].params.length:-1,ne=x?p[5].params.length:-1,re=b?6:0,oe=p.length,ie=p.map((e=>e.test)),ae=p.map((e=>e.implementation)),se=function(){for(let e=re;e<oe;e++)if(ie[e](arguments))return ae[e].apply(this,arguments);return d.onMismatch(e,arguments,p)};function le(e,t){return arguments.length===Q&&w(e)&&N(t)?H.apply(this,arguments):arguments.length===X&&_(e)&&O(t)?V.apply(this,arguments):arguments.length===J&&A(e)&&T(t)?Y.apply(this,arguments):arguments.length===ee&&P(e)&&F(t)?G.apply(this,arguments):arguments.length===te&&L(e)&&I(t)?Z.apply(this,arguments):arguments.length===ne&&M(e)&&W(t)?K.apply(this,arguments):se.apply(this,arguments)}try{Object.defineProperty(le,"name",{value:e})}catch(ue){}return le.signatures=a,le._typedFunctionData={signatures:p,signatureMap:f},le}function G(e,t,n){throw N(e,t,n)}function Z(e){return Q(e,0,e.length-1)}function K(e){return e[e.length-1]}function Q(e,t,n){return Array.prototype.slice.call(e,t,n)}function X(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return e[n]}function J(e,t){return Array.prototype.concat.apply([],e.map(t))}function ee(){const e=Z(arguments).map((e=>k(C(e)))),t=K(arguments);if("function"!==typeof t)throw new TypeError("Callback function expected as last argument");return te(e,t)}function te(e,t){return{referTo:{references:e,callback:t}}}function ne(e){if("function"!==typeof e)throw new TypeError("Callback function expected as first argument");return{referToSelf:{callback:e}}}function re(e){return e&&"object"===typeof e.referTo&&Array.isArray(e.referTo.references)&&"function"===typeof e.referTo.callback}function oe(e){return e&&"object"===typeof e.referToSelf&&"function"===typeof e.referToSelf.callback}function ie(e,t){if(!e)return t;if(t&&t!==e){const n=new Error("Function names do not match (expected: "+e+", actual: "+t+")");throw n.data={actual:t,expected:e},n}return e}function ae(e){let t;for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(v(e[n])||"string"===typeof e[n].signature)&&(t=ie(t,e[n].name));return t}function se(e,t){let n;for(n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(n in e&&t[n]!==e[n]){const r=new Error('Signature "'+n+'" is defined twice');throw r.data={signature:n,sourceFunction:t[n],destFunction:e[n]},r}e[n]=t[n]}}h(),f(a);const le=d;function ue(e){if(!e||"string"!==typeof e.from||"string"!==typeof e.to||"function"!==typeof e.convert)throw new TypeError("Object with properties {from: string, to: string, convert: function} expected");if(e.to===e.from)throw new SyntaxError('Illegal to define conversion from "'+e.from+'" to itself.')}return d=function(e){const t="string"===typeof e;let n=t?e:"";const r={};for(let o=t?1:0;o<arguments.length;++o){const e=arguments[o];let a,s={};if("function"===typeof e?(a=e.name,"string"===typeof e.signature?s[e.signature]=e:v(e)&&(s=e.signatures)):i(e)&&(s=e,t||(a=ae(e))),0===Object.keys(s).length){const t=new TypeError("Argument to 'typed' at index "+o+" is not a (typed) function, nor an object with signatures as keys and functions as values.");throw t.data={index:o,argument:e},t}t||(n=ie(n,a)),se(r,s)}return Y(n||"",r)},d.create=o,d.createCount=le.createCount,d.onMismatch=G,d.throwMismatchError=G,d.createError=N,d.clear=h,d.clearConversions=m,d.addTypes=f,d._findType=p,d.referTo=ee,d.referToSelf=ne,d.convert=b,d.findSignature=y,d.find=x,d.isTypedFunction=v,d.warnAgainstDeprecatedThis=!0,d.addType=function(e,t){let n="any";!1!==t&&l.has("Object")&&(n="Object"),d.addTypes([e],n)},d.addConversion=function(e){ue(e);const t=p(e.to);if(!t.conversionsTo.every((function(t){return t.from!==e.from})))throw new Error('There is already a conversion from "'+e.from+'" to "'+t.name+'"');t.conversionsTo.push({from:e.from,convert:e.convert,index:c++})},d.addConversions=function(e){e.forEach(d.addConversion)},d.removeConversion=function(e){ue(e);const t=p(e.to),n=X(t.conversionsTo,(t=>t.from===e.from));if(!n)throw new Error("Attempt to remove nonexistent conversion from "+e.from+" to "+e.to);if(n.convert!==e.convert)throw new Error("Conversion to remove does not match existing conversion");const r=t.conversionsTo.indexOf(n);t.conversionsTo.splice(r,1)},d.resolve=function(e,t){if(!v(e))throw new TypeError(r);const n=e._typedFunctionData.signatures;for(let r=0;r<n.length;++r)if(n[r].test(t))return n[r];return null},d}return o()}()},3145:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{A:()=>r})},9417:(e,t,n)=>{"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{A:()=>r})},2901:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(816);function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(0,r.A)(o.key),o)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},4467:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(816);function o(e,t,n){return(t=(0,r.A)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},8168:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},5540:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{A:()=>o})},45:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(8587);function o(e,t){if(null==e)return{};var n,o,i=(0,r.A)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},8587:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{A:()=>r})},296:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(7800);function o(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,u=!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){u=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||(0,r.A)(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.")}()}},5458:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(3145);var o=n(7800);function i(e){return function(e){if(Array.isArray(e))return(0,r.A)(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,o.A)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},816:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2284);function o(e){var t=function(e,t){if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=(0,r.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.A)(t)?t:String(t)}},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})},7800:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(3145);function o(e,t){if(e){if("string"===typeof e)return(0,r.A)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.A)(e,t):void 0}}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.amdD=function(){throw new Error("define cannot be used indirect")},n.amdO={},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n.p="/",n.nc=void 0,(()=>{"use strict";var e={};n.r(e),n.d(e,{hasBrowserEnv:()=>Di,hasStandardBrowserEnv:()=>Ai,hasStandardBrowserWebWorkerEnv:()=>Pi,navigator:()=>ji,origin:()=>Li});var t=n(5043),r=n(7950),o=n(3024);const i=e=>"number"==typeof e&&!isNaN(e),a=e=>"string"==typeof e,s=e=>"function"==typeof e,l=e=>a(e)||s(e)?e:null,u=e=>(0,t.isValidElement)(e)||a(e)||s(e)||i(e);function c(e){let{enter:n,exit:r,appendPosition:o=!1,collapse:i=!0,collapseDuration:a=300}=e;return function(e){let{children:s,position:l,preventExitTransition:u,done:c,nodeRef:d,isIn:p}=e;const f=o?`${n}--${l}`:n,h=o?`${r}--${l}`:r,m=(0,t.useRef)(0);return(0,t.useLayoutEffect)((()=>{const e=d.current,t=f.split(" "),n=r=>{r.target===d.current&&(e.dispatchEvent(new Event("d")),e.removeEventListener("animationend",n),e.removeEventListener("animationcancel",n),0===m.current&&"animationcancel"!==r.type&&e.classList.remove(...t))};e.classList.add(...t),e.addEventListener("animationend",n),e.addEventListener("animationcancel",n)}),[]),(0,t.useEffect)((()=>{const e=d.current,t=()=>{e.removeEventListener("animationend",t),i?function(e,t,n){void 0===n&&(n=300);const{scrollHeight:r,style:o}=e;requestAnimationFrame((()=>{o.minHeight="initial",o.height=r+"px",o.transition=`all ${n}ms`,requestAnimationFrame((()=>{o.height="0",o.padding="0",o.margin="0",setTimeout(t,n)}))}))}(e,c,a):c()};p||(u?t():(m.current=1,e.className+=` ${h}`,e.addEventListener("animationend",t)))}),[p]),t.createElement(t.Fragment,null,s)}}function d(e,t){return null!=e?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}const p={list:new Map,emitQueue:new Map,on(e,t){return this.list.has(e)||this.list.set(e,[]),this.list.get(e).push(t),this},off(e,t){if(t){const n=this.list.get(e).filter((e=>e!==t));return this.list.set(e,n),this}return this.list.delete(e),this},cancelEmit(e){const t=this.emitQueue.get(e);return t&&(t.forEach(clearTimeout),this.emitQueue.delete(e)),this},emit(e){this.list.has(e)&&this.list.get(e).forEach((t=>{const n=setTimeout((()=>{t(...[].slice.call(arguments,1))}),0);this.emitQueue.has(e)||this.emitQueue.set(e,[]),this.emitQueue.get(e).push(n)}))}},f=e=>{let{theme:n,type:r,...o}=e;return t.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===n?"currentColor":`var(--toastify-icon-color-${r})`,...o})},h={info:function(e){return t.createElement(f,{...e},t.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return t.createElement(f,{...e},t.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return t.createElement(f,{...e},t.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return t.createElement(f,{...e},t.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return t.createElement("div",{className:"Toastify__spinner"})}};function m(e){const[,n]=(0,t.useReducer)((e=>e+1),0),[r,o]=(0,t.useState)([]),c=(0,t.useRef)(null),f=(0,t.useRef)(new Map).current,m=e=>-1!==r.indexOf(e),g=(0,t.useRef)({toastKey:1,displayedToast:0,count:0,queue:[],props:e,containerId:null,isToastActive:m,getToast:e=>f.get(e)}).current;function v(e){let{containerId:t}=e;const{limit:n}=g.props;!n||t&&g.containerId!==t||(g.count-=g.queue.length,g.queue=[])}function y(e){o((t=>null==e?[]:t.filter((t=>t!==e))))}function x(){const{toastContent:e,toastProps:t,staleId:n}=g.queue.shift();k(e,t,n)}function b(e,r){let{delay:o,staleId:m,...v}=r;if(!u(e)||function(e){return!c.current||g.props.enableMultiContainer&&e.containerId!==g.props.containerId||f.has(e.toastId)&&null==e.updateId}(v))return;const{toastId:b,updateId:w,data:E}=v,{props:_}=g,C=()=>y(b),S=null==w;S&&g.count++;const D={..._,style:_.toastStyle,key:g.toastKey++,...Object.fromEntries(Object.entries(v).filter((e=>{let[t,n]=e;return null!=n}))),toastId:b,updateId:w,data:E,closeToast:C,isIn:!1,className:l(v.className||_.toastClassName),bodyClassName:l(v.bodyClassName||_.bodyClassName),progressClassName:l(v.progressClassName||_.progressClassName),autoClose:!v.isLoading&&(j=v.autoClose,A=_.autoClose,!1===j||i(j)&&j>0?j:A),deleteToast(){const e=d(f.get(b),"removed");f.delete(b),p.emit(4,e);const t=g.queue.length;if(g.count=null==b?g.count-g.displayedToast:g.count-1,g.count<0&&(g.count=0),t>0){const e=null==b?g.props.limit:1;if(1===t||1===e)g.displayedToast++,x();else{const n=e>t?t:e;g.displayedToast=n;for(let e=0;e<n;e++)x()}}else n()}};var j,A;D.iconOut=function(e){let{theme:n,type:r,isLoading:o,icon:l}=e,u=null;const c={theme:n,type:r};return!1===l||(s(l)?u=l(c):(0,t.isValidElement)(l)?u=(0,t.cloneElement)(l,c):a(l)||i(l)?u=l:o?u=h.spinner():(e=>e in h)(r)&&(u=h[r](c))),u}(D),s(v.onOpen)&&(D.onOpen=v.onOpen),s(v.onClose)&&(D.onClose=v.onClose),D.closeButton=_.closeButton,!1===v.closeButton||u(v.closeButton)?D.closeButton=v.closeButton:!0===v.closeButton&&(D.closeButton=!u(_.closeButton)||_.closeButton);let P=e;(0,t.isValidElement)(e)&&!a(e.type)?P=(0,t.cloneElement)(e,{closeToast:C,toastProps:D,data:E}):s(e)&&(P=e({closeToast:C,toastProps:D,data:E})),_.limit&&_.limit>0&&g.count>_.limit&&S?g.queue.push({toastContent:P,toastProps:D,staleId:m}):i(o)?setTimeout((()=>{k(P,D,m)}),o):k(P,D,m)}function k(e,t,n){const{toastId:r}=t;n&&f.delete(n);const i={content:e,props:t};f.set(r,i),o((e=>[...e,r].filter((e=>e!==n)))),p.emit(4,d(i,null==i.props.updateId?"added":"updated"))}return(0,t.useEffect)((()=>(g.containerId=e.containerId,p.cancelEmit(3).on(0,b).on(1,(e=>c.current&&y(e))).on(5,v).emit(2,g),()=>{f.clear(),p.emit(3,g)})),[]),(0,t.useEffect)((()=>{g.props=e,g.isToastActive=m,g.displayedToast=r.length})),{getToastToRender:function(t){const n=new Map,r=Array.from(f.values());return e.newestOnTop&&r.reverse(),r.forEach((e=>{const{position:t}=e.props;n.has(t)||n.set(t,[]),n.get(t).push(e)})),Array.from(n,(e=>t(e[0],e[1])))},containerRef:c,isToastActive:m}}function g(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}function v(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientY:e.clientY}function y(e){const[n,r]=(0,t.useState)(!1),[o,i]=(0,t.useState)(!1),a=(0,t.useRef)(null),l=(0,t.useRef)({start:0,x:0,y:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,boundingRect:null,didMove:!1}).current,u=(0,t.useRef)(e),{autoClose:c,pauseOnHover:d,closeToast:p,onClick:f,closeOnClick:h}=e;function m(t){if(e.draggable){"touchstart"===t.nativeEvent.type&&t.nativeEvent.preventDefault(),l.didMove=!1,document.addEventListener("mousemove",k),document.addEventListener("mouseup",w),document.addEventListener("touchmove",k),document.addEventListener("touchend",w);const n=a.current;l.canCloseOnClick=!0,l.canDrag=!0,l.boundingRect=n.getBoundingClientRect(),n.style.transition="",l.x=g(t.nativeEvent),l.y=v(t.nativeEvent),"x"===e.draggableDirection?(l.start=l.x,l.removalDistance=n.offsetWidth*(e.draggablePercent/100)):(l.start=l.y,l.removalDistance=n.offsetHeight*(80===e.draggablePercent?1.5*e.draggablePercent:e.draggablePercent/100))}}function y(t){if(l.boundingRect){const{top:n,bottom:r,left:o,right:i}=l.boundingRect;"touchend"!==t.nativeEvent.type&&e.pauseOnHover&&l.x>=o&&l.x<=i&&l.y>=n&&l.y<=r?b():x()}}function x(){r(!0)}function b(){r(!1)}function k(t){const r=a.current;l.canDrag&&r&&(l.didMove=!0,n&&b(),l.x=g(t),l.y=v(t),l.delta="x"===e.draggableDirection?l.x-l.start:l.y-l.start,l.start!==l.x&&(l.canCloseOnClick=!1),r.style.transform=`translate${e.draggableDirection}(${l.delta}px)`,r.style.opacity=""+(1-Math.abs(l.delta/l.removalDistance)))}function w(){document.removeEventListener("mousemove",k),document.removeEventListener("mouseup",w),document.removeEventListener("touchmove",k),document.removeEventListener("touchend",w);const t=a.current;if(l.canDrag&&l.didMove&&t){if(l.canDrag=!1,Math.abs(l.delta)>l.removalDistance)return i(!0),void e.closeToast();t.style.transition="transform 0.2s, opacity 0.2s",t.style.transform=`translate${e.draggableDirection}(0)`,t.style.opacity="1"}}(0,t.useEffect)((()=>{u.current=e})),(0,t.useEffect)((()=>(a.current&&a.current.addEventListener("d",x,{once:!0}),s(e.onOpen)&&e.onOpen((0,t.isValidElement)(e.children)&&e.children.props),()=>{const e=u.current;s(e.onClose)&&e.onClose((0,t.isValidElement)(e.children)&&e.children.props)})),[]),(0,t.useEffect)((()=>(e.pauseOnFocusLoss&&(document.hasFocus()||b(),window.addEventListener("focus",x),window.addEventListener("blur",b)),()=>{e.pauseOnFocusLoss&&(window.removeEventListener("focus",x),window.removeEventListener("blur",b))})),[e.pauseOnFocusLoss]);const E={onMouseDown:m,onTouchStart:m,onMouseUp:y,onTouchEnd:y};return c&&d&&(E.onMouseEnter=b,E.onMouseLeave=x),h&&(E.onClick=e=>{f&&f(e),l.canCloseOnClick&&p()}),{playToast:x,pauseToast:b,isRunning:n,preventExitTransition:o,toastRef:a,eventHandlers:E}}function x(e){let{closeToast:n,theme:r,ariaLabel:o="close"}=e;return t.createElement("button",{className:`Toastify__close-button Toastify__close-button--${r}`,type:"button",onClick:e=>{e.stopPropagation(),n(e)},"aria-label":o},t.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},t.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function b(e){let{delay:n,isRunning:r,closeToast:i,type:a="default",hide:l,className:u,style:c,controlledProgress:d,progress:p,rtl:f,isIn:h,theme:m}=e;const g=l||d&&0===p,v={...c,animationDuration:`${n}ms`,animationPlayState:r?"running":"paused",opacity:g?0:1};d&&(v.transform=`scaleX(${p})`);const y=(0,o.A)("Toastify__progress-bar",d?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${m}`,`Toastify__progress-bar--${a}`,{"Toastify__progress-bar--rtl":f}),x=s(u)?u({rtl:f,type:a,defaultClassName:y}):(0,o.A)(y,u);return t.createElement("div",{role:"progressbar","aria-hidden":g?"true":"false","aria-label":"notification timer",className:x,style:v,[d&&p>=1?"onTransitionEnd":"onAnimationEnd"]:d&&p<1?null:()=>{h&&i()}})}const k=e=>{const{isRunning:n,preventExitTransition:r,toastRef:i,eventHandlers:a}=y(e),{closeButton:l,children:u,autoClose:c,onClick:d,type:p,hideProgressBar:f,closeToast:h,transition:m,position:g,className:v,style:k,bodyClassName:w,bodyStyle:E,progressClassName:_,progressStyle:C,updateId:S,role:D,progress:j,rtl:A,toastId:P,deleteToast:L,isIn:M,isLoading:N,iconOut:O,closeOnClick:T,theme:F}=e,R=(0,o.A)("Toastify__toast",`Toastify__toast-theme--${F}`,`Toastify__toast--${p}`,{"Toastify__toast--rtl":A},{"Toastify__toast--close-on-click":T}),I=s(v)?v({rtl:A,position:g,type:p,defaultClassName:R}):(0,o.A)(R,v),B=!!j||!c,W={closeToast:h,type:p,theme:F};let z=null;return!1===l||(z=s(l)?l(W):(0,t.isValidElement)(l)?(0,t.cloneElement)(l,W):x(W)),t.createElement(m,{isIn:M,done:L,position:g,preventExitTransition:r,nodeRef:i},t.createElement("div",{id:P,onClick:d,className:I,...a,style:k,ref:i},t.createElement("div",{...M&&{role:D},className:s(w)?w({type:p}):(0,o.A)("Toastify__toast-body",w),style:E},null!=O&&t.createElement("div",{className:(0,o.A)("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!N})},O),t.createElement("div",null,u)),z,t.createElement(b,{...S&&!B?{key:`pb-${S}`}:{},rtl:A,theme:F,delay:c,isRunning:n,isIn:M,closeToast:h,hide:f,type:p,style:C,className:_,controlledProgress:B,progress:j||0})))},w=function(e,t){return void 0===t&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},E=c(w("bounce",!0)),_=(c(w("slide",!0)),c(w("zoom")),c(w("flip")),(0,t.forwardRef)(((e,n)=>{const{getToastToRender:r,containerRef:i,isToastActive:a}=m(e),{className:u,style:c,rtl:d,containerId:p}=e;function f(e){const t=(0,o.A)("Toastify__toast-container",`Toastify__toast-container--${e}`,{"Toastify__toast-container--rtl":d});return s(u)?u({position:e,rtl:d,defaultClassName:t}):(0,o.A)(t,l(u))}return(0,t.useEffect)((()=>{n&&(n.current=i.current)}),[]),t.createElement("div",{ref:i,className:"Toastify",id:p},r(((e,n)=>{const r=n.length?{...c}:{...c,pointerEvents:"none"};return t.createElement("div",{className:f(e),style:r,key:`container-${e}`},n.map(((e,r)=>{let{content:o,props:i}=e;return t.createElement(k,{...i,isIn:a(i.toastId),style:{...i.style,"--nth":r+1,"--len":n.length},key:`toast-${i.key}`},o)})))})))})));_.displayName="ToastContainer",_.defaultProps={position:"top-right",transition:E,autoClose:5e3,closeButton:x,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,draggable:!0,draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};let C,S=new Map,D=[],j=1;function A(){return""+j++}function P(e){return e&&(a(e.toastId)||i(e.toastId))?e.toastId:A()}function L(e,t){return S.size>0?p.emit(0,e,t):D.push({content:e,options:t}),t.toastId}function M(e,t){return{...t,type:t&&t.type||e,toastId:P(t)}}function N(e){return(t,n)=>L(t,M(e,n))}function O(e,t){return L(e,M("default",t))}O.loading=(e,t)=>L(e,M("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),O.promise=function(e,t,n){let r,{pending:o,error:i,success:l}=t;o&&(r=a(o)?O.loading(o,n):O.loading(o.render,{...n,...o}));const u={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},c=(e,t,o)=>{if(null==t)return void O.dismiss(r);const i={type:e,...u,...n,data:o},s=a(t)?{render:t}:t;return r?O.update(r,{...i,...s}):O(s.render,{...i,...s}),o},d=s(e)?e():e;return d.then((e=>c("success",l,e))).catch((e=>c("error",i,e))),d},O.success=N("success"),O.info=N("info"),O.error=N("error"),O.warning=N("warning"),O.warn=O.warning,O.dark=(e,t)=>L(e,M("default",{theme:"dark",...t})),O.dismiss=e=>{S.size>0?p.emit(1,e):D=D.filter((t=>null!=e&&t.options.toastId!==e))},O.clearWaitingQueue=function(e){return void 0===e&&(e={}),p.emit(5,e)},O.isActive=e=>{let t=!1;return S.forEach((n=>{n.isToastActive&&n.isToastActive(e)&&(t=!0)})),t},O.update=function(e,t){void 0===t&&(t={}),setTimeout((()=>{const n=function(e,t){let{containerId:n}=t;const r=S.get(n||C);return r&&r.getToast(e)}(e,t);if(n){const{props:r,content:o}=n,i={delay:100,...r,...t,toastId:t.toastId||e,updateId:A()};i.toastId!==e&&(i.staleId=e);const a=i.render||o;delete i.render,L(a,i)}}),0)},O.done=e=>{O.update(e,{progress:1})},O.onChange=e=>(p.on(4,e),()=>{p.off(4,e)}),O.POSITION={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},O.TYPE={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},p.on(2,(e=>{C=e.containerId||e,S.set(C,e),D.forEach((e=>{p.emit(0,e.content,e.options)})),D=[]})).on(3,(e=>{S.delete(e.containerId||e),0===S.size&&p.off(0).off(1).off(5)}));var T=n(8174);const F=new(n.n(T)());var R=function(e,t){return R=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])},R(e,t)};function I(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}R(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var B=function(){return B=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},B.apply(this,arguments)};function W(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}Object.create;function z(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function $(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function H(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))}Object.create;var V="Blocked by CSP",U="The endpoint parameter is not a valid URL";function q(e){for(var t="",n=0;n<e.length;++n)if(n>0){var r=e[n].toLowerCase();r!==e[n]?t+=" ".concat(r):t+=e[n]}else t+=e[n].toUpperCase();return t}var Y=q("WrongRegion"),G=q("SubscriptionNotActive"),Z=q("UnsupportedVersion"),K=q("InstallationMethodRestricted"),Q="API key required",X="API key not found",J="API key expired",ee="Failed to load the JS script of the agent",te="9319";function ne(e,t){var n,r,o,i,a=[],s=(n=function(e){var t=H([],e,!0);return{current:function(){return t[0]},postpone:function(){var e=t.shift();void 0!==e&&t.push(e)},exclude:function(){t.shift()}}}(e),i=0,r=function(){return Math.random()*Math.min(3e3,100*Math.pow(2,i++))},o=new Set,[n.current(),function(e,t){var i,a=t instanceof Error?t.message:"";if(a===V||a===U)n.exclude(),i=0;else if(a===te)n.exclude();else if(a===ee){var s=Date.now()-e.getTime()<50,l=n.current();l&&s&&!o.has(l)&&(o.add(l),i=0),n.postpone()}else n.postpone();var u=n.current();return void 0===u?void 0:[u,null!=i?i:e.getTime()+r()-Date.now()]}]),l=s[0],u=s[1];if(void 0===l)return Promise.reject(new TypeError("The list of script URL patterns is empty"));var c=function(e){var n=new Date,r=function(t){return a.push({url:e,startedAt:n,finishedAt:new Date,error:t})},o=t(e);return o.then((function(){return r()}),r),o.catch((function(e){if(a.length>=5)throw e;var t=u(n,e);if(!t)throw e;var r,o=t[0],i=t[1];return(r=i,new Promise((function(e){return setTimeout(e,r)}))).then((function(){return c(o)}))}))};return c(l).then((function(e){return[e,a]}))}var re="https://fpnpmcdn.net/v<version>/<apiKey>/loader_v<loaderVersion>.js";function oe(e){return function(e,t,n,r){var o,i=document,a="securitypolicyviolation",s=function(t){var n=new URL(e,location.href),r=t.blockedURI;r!==n.href&&r!==n.protocol.slice(0,-1)&&r!==n.origin||(o=t,l())};i.addEventListener(a,s);var l=function(){return i.removeEventListener(a,s)};return null==r||r.then(l,l),Promise.resolve().then(t).then((function(e){return l(),e}),(function(e){return new Promise((function(e){var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(null)})).then((function(){if(l(),o)return n(o);throw e}))}))}(e,(function(){return function(e){return new Promise((function(t,n){if(function(e){if(URL.prototype)try{return new URL(e,location.href),!1}catch(t){if(t instanceof Error&&"TypeError"===t.name)return!0;throw t}}(e))throw new Error(U);var r=document.createElement("script"),o=function(){var e;return null===(e=r.parentNode)||void 0===e?void 0:e.removeChild(r)},i=document.head||document.getElementsByTagName("head")[0];r.onload=function(){o(),t()},r.onerror=function(){o(),n(new Error(ee))},r.async=!0,r.src=e,i.appendChild(r)}))}(e)}),(function(){throw new Error(V)})).then(ie)}function ie(){var e=window,t="__fpjs_p_l_b",n=e[t];if(function(e,t){var n,r=null===(n=Object.getOwnPropertyDescriptor)||void 0===n?void 0:n.call(Object,e,t);(null==r?void 0:r.configurable)?delete e[t]:r&&!r.writable||(e[t]=void 0)}(e,t),"function"!=typeof(null==n?void 0:n.load))throw new Error(te);return n}var ae={load:function(e){var t;e.scriptUrlPattern;var n=e.token,r=e.apiKey,o=void 0===r?n:r,i=W(e,["scriptUrlPattern","token","apiKey"]),a=null!==(t=function(e,t){return function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}(e,t)?e[t]:void 0}(e,"scriptUrlPattern"))&&void 0!==t?t:re,s=function(){var e=[],t=function(){e.push({time:new Date,state:document.visibilityState})},n=function(e,t,n,r){return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n,r)}}(document,"visibilitychange",t);return t(),[e,n]}(),l=s[0],u=s[1];return Promise.resolve().then((function(){if(!o||"string"!=typeof o)throw new Error(Q);var e=function(e,t){return(Array.isArray(e)?e:[e]).map((function(e){return function(e,t){var n=encodeURIComponent;return e.replace(/<[^<>]+>/g,(function(e){return"<version>"===e?"3":"<apiKey>"===e?n(t):"<loaderVersion>"===e?n("3.11.0"):e}))}(String(e),t)}))}(a,o);return ne(e,oe)})).catch((function(e){throw u(),function(e){return e instanceof Error&&e.message===te?new Error(ee):e}(e)})).then((function(e){var t=e[0],n=e[1];return u(),t.load(B(B({},i),{ldi:{attempts:n,visibilityStates:l}}))}))},defaultScriptUrlPattern:re,ERROR_SCRIPT_LOAD_FAIL:ee,ERROR_API_KEY_EXPIRED:J,ERROR_API_KEY_INVALID:X,ERROR_API_KEY_MISSING:Q,ERROR_BAD_REQUEST_FORMAT:"Request cannot be parsed",ERROR_BAD_RESPONSE_FORMAT:"Response cannot be parsed",ERROR_CLIENT_TIMEOUT:"Client timeout",ERROR_CSP_BLOCK:V,ERROR_FORBIDDEN_ENDPOINT:q("HostnameRestricted"),ERROR_FORBIDDEN_HEADER:"Not available with restricted header",ERROR_FORBIDDEN_ORIGIN:"Not available for this origin",ERROR_GENERAL_SERVER_FAILURE:"Request failed",ERROR_INSTALLATION_METHOD_RESTRICTED:K,ERROR_INTEGRATION_FAILURE:q("IntegrationFailed"),ERROR_INVALID_ENDPOINT:U,ERROR_NETWORK_ABORT:"Network request aborted",ERROR_NETWORK_CONNECTION:"Network connection error",ERROR_RATE_LIMIT:"Too many requests, rate limit exceeded",ERROR_SERVER_TIMEOUT:"Request failed to process",ERROR_SUBSCRIPTION_NOT_ACTIVE:G,ERROR_TOKEN_EXPIRED:J,ERROR_TOKEN_INVALID:X,ERROR_TOKEN_MISSING:Q,ERROR_UNSUPPORTED_VERSION:Z,ERROR_WRONG_REGION:Y,defaultEndpoint:{default:"endpoint"},defaultTlsEndpoint:{default:"tlsEndpoint"}};const se=ae.load({apiKey:"5fRe1luaAa7cM65Q1l4U",endpoint:["https://fp.britehr.app",ae.defaultEndpoint],scriptUrlPattern:["https://fp.britehr.app/web/v<version>/<apiKey>/loader_v<loaderVersion>.js",ae.defaultScriptUrlPattern]});let le;const ue=async function(){return le=await(await se).get(),le};function ce(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 de(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ce(Object(n),!0).forEach((function(t){ge(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ce(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pe(e){return pe="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},pe(e)}function fe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function he(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function me(e,t,n){return t&&he(e.prototype,t),n&&he(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function ge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ve(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&xe(e,t)}function ye(e){return ye=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ye(e)}function xe(e,t){return xe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},xe(e,t)}function be(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ye(e);if(t){var o=ye(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function ke(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=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||Ee(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 we(e){return function(e){if(Array.isArray(e))return _e(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ee(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ee(e,t){if(e){if("string"==typeof e)return _e(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_e(e,t):void 0}}function _e(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ce(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Ee(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}var Se={DEBUG:!1,LIB_VERSION:"1.103.1"},De=Array.isArray,je=Object.prototype,Ae=je.hasOwnProperty,Pe=je.toString,Le=De||function(e){return"[object Array]"===Pe.call(e)},Me=function(e){return"[object Uint8Array]"===Pe.call(e)},Ne=function(e){return"function"==typeof e},Oe=function(e){return e===Object(e)&&!Le(e)},Te=function(e){return void 0===e},Fe=function(e){return"[object String]"==Pe.call(e)},Re=function(e){return null===e},Ie=function(e){return"[object Number]"==Pe.call(e)},Be=function(e){return"[object Boolean]"===Pe.call(e)},We=Array.prototype,ze=We.forEach,$e=We.indexOf,He="undefined"!=typeof window?window:void 0,Ve=null==He?void 0:He.navigator,Ue=null==He?void 0:He.document,qe=null==Ve?void 0:Ve.userAgent,Ye=null!=He?He:{},Ge="[PostHog.js]",Ze={_log:function(e){if(He&&(Se.DEBUG||Ye.POSTHOG_DEBUG)&&!Te(He.console)&&He.console){for(var t=("__rrweb_original__"in He.console[e]?He.console[e].__rrweb_original__:He.console[e]),n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t.apply(void 0,[Ge].concat(r))}},info:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Ze._log.apply(Ze,["log"].concat(t))},warn:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Ze._log.apply(Ze,["warn"].concat(t))},error:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Ze._log.apply(Ze,["error"].concat(t))},critical:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=console).error.apply(e,[Ge].concat(n))},uninitializedWarning:function(e){Ze.error("You must initialize PostHog before calling ".concat(e))}},Ke={},Qe=function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};function Xe(e,t,n){if(Le(e))if(ze&&e.forEach===ze)e.forEach(t,n);else if("length"in e&&e.length===+e.length)for(var r=0,o=e.length;r<o;r++)if(r in e&&t.call(n,e[r],r)===Ke)return}function Je(e,t,n){if(!Re(e)&&!Te(e)){if(Le(e))return Xe(e,t,n);for(var r in e)if(Ae.call(e,r)&&t.call(n,e[r],r)===Ke)return}}var et=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 Xe(n,(function(t){for(var n in t)void 0!==t[n]&&(e[n]=t[n])})),e};function tt(e,t){return-1!==e.indexOf(t)}function nt(e){for(var t=Object.keys(e),n=t.length,r=new Array(n);n--;)r[n]=[t[n],e[t[n]]];return r}var rt=function(){return Date.now=Date.now||function(){return+new Date},Date.now()},ot=function(e){try{return e()}catch(e){return}},it=function(e){return function(){try{for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.apply(this,n)}catch(e){Ze.critical("Implementation error. Please turn on debug mode and open a ticket on https://app.posthog.com/home#panel=support%3Asupport%3A."),Ze.critical(e)}}},at=function(e){var t={};return Je(e,(function(e,n){Fe(e)&&e.length>0&&(t[n]=e)})),t},st=["$performance_raw"];function lt(e){var t,n,r,o,i,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s=0,l=0,u="",c=[];if(!e)return e;e=ut(e);do{t=(i=e.charCodeAt(s++)<<16|e.charCodeAt(s++)<<8|e.charCodeAt(s++))>>18&63,n=i>>12&63,r=i>>6&63,o=63&i,c[l++]=a.charAt(t)+a.charAt(n)+a.charAt(r)+a.charAt(o)}while(s<e.length);switch(u=c.join(""),e.length%3){case 1:u=u.slice(0,-2)+"==";break;case 2:u=u.slice(0,-1)+"="}return u}var ut=function(e){var t,n,r,o,i="";for(t=n=0,r=(e=(e+"").replace(/\r\n/g,"\n").replace(/\r/g,"\n")).length,o=0;o<r;o++){var a=e.charCodeAt(o),s=null;a<128?n++:s=a>127&&a<2048?String.fromCharCode(a>>6|192,63&a|128):String.fromCharCode(a>>12|224,a>>6&63|128,63&a|128),Re(s)||(n>t&&(i+=e.substring(t,n)),i+=s,t=n=o+1)}return n>t&&(i+=e.substring(t,e.length)),i},ct=function(){function e(t){return t&&(t.preventDefault=e.preventDefault,t.stopPropagation=e.stopPropagation),t}return e.preventDefault=function(){this.returnValue=!1},e.stopPropagation=function(){this.cancelBubble=!0},function(t,n,r,o,i){if(t)if(t.addEventListener&&!o)t.addEventListener(n,r,!!i);else{var a="on"+n,s=t[a];t[a]=function(t,n,r){return function(o){if(o=o||e(null==He?void 0:He.event)){var i,a=!0;Ne(r)&&(i=r(o));var s=n.call(t,o);return!1!==i&&!1!==s||(a=!1),a}}}(t,r,s)}else Ze.error("No valid element provided to register_event")}}();function dt(e,t){var n=function(){if(!Ue)return t("document not found");var n=Ue.createElement("script");n.type="text/javascript",n.src=e,n.onload=function(e){return t(void 0,e)},n.onerror=function(e){return t(e)};var r,o=Ue.querySelectorAll("body > script");o.length>0?null===(r=o[0].parentNode)||void 0===r||r.insertBefore(n,o[0]):Ue.body.appendChild(n)};null!=Ue&&Ue.body?n():null==Ue||Ue.addEventListener("DOMContentLoaded",n)}function pt(e){return e?Qe(e).split(/\s+/):[]}function ft(e){var t="";switch(pe(e.className)){case"string":t=e.className;break;case"object":t=("baseVal"in e.className?e.className.baseVal:null)||e.getAttribute("class")||"";break;default:t=""}return pt(t)}function ht(e){var t="";return bt(e)&&!kt(e)&&e.childNodes&&e.childNodes.length&&Je(e.childNodes,(function(e){vt(e)&&e.textContent&&(t+=Qe(e.textContent).split(/(\s+)/).filter(wt).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255))})),Qe(t)}function mt(e){return!!e&&1===e.nodeType}function gt(e,t){return!!e&&!!e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}function vt(e){return!!e&&3===e.nodeType}function yt(e){return!!e&&11===e.nodeType}var xt=["a","button","form","input","select","textarea","label"];function bt(e){for(var t=e;t.parentNode&&!gt(t,"body");t=t.parentNode){var n=ft(t);if(tt(n,"ph-sensitive")||tt(n,"ph-no-capture"))return!1}if(tt(ft(e),"ph-include"))return!0;var r=e.type||"";if(Fe(r))switch(r.toLowerCase()){case"hidden":case"password":return!1}var o=e.name||e.id||"";return!Fe(o)||!/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(o.replace(/[^a-zA-Z0-9]/g,""))}function kt(e){return!!(gt(e,"input")&&!["button","checkbox","submit","reset"].includes(e.type)||gt(e,"select")||gt(e,"textarea")||"true"===e.getAttribute("contenteditable"))}function wt(e){if(Re(e)||Te(e))return!1;if(Fe(e)){if(e=Qe(e),/^(?:(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11}))$/.test((e||"").replace(/[- ]/g,"")))return!1;if(/(^\d{3}-?\d{2}-?\d{4}$)/.test(e))return!1}return!0}function Et(e){var t=ht(e);return wt(t="".concat(t," ").concat(_t(e)).trim())?t:""}function _t(e){var t="";return e&&e.childNodes&&e.childNodes.length&&Je(e.childNodes,(function(e){var n;if(e&&"span"===(null===(n=e.tagName)||void 0===n?void 0:n.toLowerCase()))try{var r=ht(e);t="".concat(t," ").concat(r).trim(),e.childNodes&&e.childNodes.length&&(t="".concat(t," ").concat(_t(e)).trim())}catch(e){Ze.error(e)}})),t}function Ct(e){return function(e){var t=e.map((function(e){var t,n,r="";if(e.tag_name&&(r+=e.tag_name),e.attr_class){e.attr_class.sort();var o,i=Ce(e.attr_class);try{for(i.s();!(o=i.n()).done;){var a=o.value;r+=".".concat(a.replace(/"/g,""))}}catch(e){i.e(e)}finally{i.f()}}var s=de(de(de(de({},e.text?{text:e.text}:{}),{},{"nth-child":null!==(t=e.nth_child)&&void 0!==t?t:0,"nth-of-type":null!==(n=e.nth_of_type)&&void 0!==n?n:0},e.href?{href:e.href}:{}),e.attr_id?{attr_id:e.attr_id}:{}),e.attributes),l={};return nt(s).sort((function(e,t){var n=ke(e,1)[0],r=ke(t,1)[0];return n.localeCompare(r)})).forEach((function(e){var t=ke(e,2),n=t[0],r=t[1];return l[St(n.toString())]=St(r.toString())})),(r+=":")+nt(s).map((function(e){var t=ke(e,2),n=t[0],r=t[1];return"".concat(n,'="').concat(r,'"')})).join("")}));return t.join(";")}(function(e){return e.map((function(e){var t,n,r={text:null===(t=e.$el_text)||void 0===t?void 0:t.slice(0,400),tag_name:e.tag_name,href:null===(n=e.attr__href)||void 0===n?void 0:n.slice(0,2048),attr_class:Dt(e),attr_id:e.attr__id,nth_child:e.nth_child,nth_of_type:e.nth_of_type,attributes:{}};return nt(e).filter((function(e){return 0===ke(e,1)[0].indexOf("attr__")})).forEach((function(e){var t=ke(e,2),n=t[0],o=t[1];return r.attributes[n]=o})),r}))}(e))}function St(e){return e.replace(/"|\\"/g,'\\"')}function Dt(e){var t=e.attr__class;return t?Le(t)?t:pt(t):void 0}var jt=function(){function e(t){fe(this,e),this.clicks=[],this.enabled=t}return me(e,[{key:"isRageClick",value:function(e,t,n){if(!this.enabled)return!1;var r=this.clicks[this.clicks.length-1];if(r&&Math.abs(e-r.x)+Math.abs(t-r.y)<30&&n-r.timestamp<1e3){if(this.clicks.push({x:e,y:t,timestamp:n}),3===this.clicks.length)return!0}else this.clicks=[{x:e,y:t,timestamp:n}];return!1}}]),e}(),At="$people_distinct_id",Pt="__alias",Lt="__timers",Mt="$autocapture_disabled_server_side",Nt="$session_recording_enabled_server_side",Ot="$console_log_recording_enabled_server_side",Tt="$session_recording_recorder_version_server_side",Ft="$session_recording_network_payload_capture",Rt="$sesid",It="$session_is_sampled",Bt="$enabled_feature_flags",Wt="$early_access_features",zt="$stored_person_properties",$t="$stored_group_properties",Ht="$surveys",Vt="$flag_call_reported",Ut="$user_state",qt="$posthog_quota_limited",Yt="$client_session_props",Gt=[At,Pt,"__cmpns",Lt,Nt,Rt,Bt,Ut,qt,Wt,$t,zt,Ht,Vt,Yt];function Zt(e,t){return t.length>e?t.slice(0,e)+"...":t}var Kt={_initializedTokens:[],_isDisabledServerSide:null,_isAutocaptureEnabled:!1,_setIsAutocaptureEnabled:function(e){var t,n=Re(this._isDisabledServerSide)?!(null===(t=e.persistence)||void 0===t||!t.props[Mt]):this._isDisabledServerSide,r=!!e.config.autocapture;this._isAutocaptureEnabled=r&&!n},_previousElementSibling:function(e){if(e.previousElementSibling)return e.previousElementSibling;var t=e;do{t=t.previousSibling}while(t&&!mt(t));return t},_getAugmentPropertiesFromElement:function(e){if(!bt(e))return{};var t={};return Je(e.attributes,(function(e){if(0===e.name.indexOf("data-ph-capture-attribute")){var n=e.name.replace("data-ph-capture-attribute-",""),r=e.value;n&&r&&wt(r)&&(t[n]=r)}})),t},_getPropertiesFromElement:function(e,t,n){var r,o=e.tagName.toLowerCase(),i={tag_name:o};xt.indexOf(o)>-1&&!n&&("a"===o.toLowerCase()||"button"===o.toLowerCase()?i.$el_text=Zt(1024,Et(e)):i.$el_text=Zt(1024,ht(e)));var a=ft(e);a.length>0&&(i.classes=a.filter((function(e){return""!==e})));var s=null===(r=this.config)||void 0===r?void 0:r.element_attribute_ignorelist;Je(e.attributes,(function(n){var r;if((!kt(e)||-1!==["name","id","class"].indexOf(n.name))&&(null==s||!s.includes(n.name))&&!t&&wt(n.value)&&(r=n.name,!Fe(r)||"_ngcontent"!==r.substring(0,10)&&"_nghost"!==r.substring(0,7))){var o=n.value;"class"===n.name&&(o=pt(o).join(" ")),i["attr__"+n.name]=Zt(1024,o)}}));for(var l=1,u=1,c=e;c=this._previousElementSibling(c);)l++,c.tagName===e.tagName&&u++;return i.nth_child=l,i.nth_of_type=u,i},_getDefaultProperties:function(e){return{$event_type:e,$ce_version:1}},_extractCustomPropertyValue:function(e){var t=[];return Je(null==Ue?void 0:Ue.querySelectorAll(e.css_selector),(function(e){var n;["input","select"].indexOf(e.tagName.toLowerCase())>-1?n=e.value:e.textContent&&(n=e.textContent),wt(n)&&t.push(n)})),t.join(", ")},_getCustomProperties:function(e){var t=this,n={};return Je(this._customProperties,(function(r){Je(r.event_selectors,(function(o){Je(null==Ue?void 0:Ue.querySelectorAll(o),(function(o){tt(e,o)&&bt(o)&&(n[r.name]=t._extractCustomPropertyValue(r))}))}))})),n},_getEventTarget:function(e){return Te(e.target)?e.srcElement||null:null!==(t=e.target)&&void 0!==t&&t.shadowRoot?e.composedPath()[0]||null:e.target||null;var t},_captureEvent:function(e,t){var n,r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"$autocapture",i=this._getEventTarget(e);if(vt(i)&&(i=i.parentNode||null),"$autocapture"===o&&"click"===e.type&&e instanceof MouseEvent&&null!==(n=this.rageclicks)&&void 0!==n&&n.isRageClick(e.clientX,e.clientY,(new Date).getTime())&&this._captureEvent(e,t,"$rageclick"),i&&function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;if(!He||!e||gt(e,"html")||!mt(e))return!1;if(null!=n&&n.url_allowlist){var r=He.location.href,o=n.url_allowlist;if(o&&!o.some((function(e){return r.match(e)})))return!1}if(null!=n&&n.dom_event_allowlist){var i=n.dom_event_allowlist;if(i&&!i.some((function(e){return t.type===e})))return!1}if(null!=n&&n.element_allowlist){var a=n.element_allowlist;if(a&&!a.some((function(t){return e.tagName.toLowerCase()===t})))return!1}if(null!=n&&n.css_selector_allowlist){var s=n.css_selector_allowlist;if(s&&!s.some((function(t){return e.matches(t)})))return!1}for(var l=!1,u=[e],c=!0,d=e;d.parentNode&&!gt(d,"body");)if(yt(d.parentNode))u.push(d.parentNode.host),d=d.parentNode.host;else{if(!(c=d.parentNode||!1))break;if(xt.indexOf(c.tagName.toLowerCase())>-1)l=!0;else{var p=He.getComputedStyle(c);p&&"pointer"===p.getPropertyValue("cursor")&&(l=!0)}u.push(c),d=c}var f=He.getComputedStyle(e);if(f&&"pointer"===f.getPropertyValue("cursor")&&"click"===t.type)return!0;var h=e.tagName.toLowerCase();switch(h){case"html":return!1;case"form":return"submit"===t.type;case"input":case"select":case"textarea":return"change"===t.type||"click"===t.type;default:return l?"click"===t.type:"click"===t.type&&(xt.indexOf(h)>-1||"true"===e.getAttribute("contenteditable"))}}(i,e,this.config)){for(var a,s,l=[i],u=i;u.parentNode&&!gt(u,"body");)yt(u.parentNode)?(l.push(u.parentNode.host),u=u.parentNode.host):(l.push(u.parentNode),u=u.parentNode);var c,d=[],p={},f=!1;if(Je(l,(function(e){var n=bt(e);"a"===e.tagName.toLowerCase()&&(c=e.getAttribute("href"),c=n&&wt(c)&&c),tt(ft(e),"ph-no-capture")&&(f=!0),d.push(r._getPropertiesFromElement(e,t.config.mask_all_element_attributes,t.config.mask_all_text));var o=r._getAugmentPropertiesFromElement(e);et(p,o)})),t.config.mask_all_text||("a"===i.tagName.toLowerCase()||"button"===i.tagName.toLowerCase()?d[0].$el_text=Et(i):d[0].$el_text=ht(i)),c&&(d[0].attr__href=c),f)return!1;var h=et(this._getDefaultProperties(e.type),t.elementsChainAsString?{$elements_chain:Ct(d)}:{$elements:d},null!==(a=d[0])&&void 0!==a&&a.$el_text?{$el_text:null===(s=d[0])||void 0===s?void 0:s.$el_text}:{},this._getCustomProperties(l),p);return t.capture(o,h),!0}},_navigate:function(e){He&&(He.location.href=e)},_addDomEventHandlers:function(e){var t=this;if(He&&Ue){var n=function(n){n=n||(null==He?void 0:He.event),t._captureEvent(n,e)};ct(Ue,"submit",n,!1,!0),ct(Ue,"change",n,!1,!0),ct(Ue,"click",n,!1,!0)}},_customProperties:[],rageclicks:null,config:void 0,init:function(e){var t;Be(e.__autocapture)||(this.config=e.__autocapture),null!==(t=this.config)&&void 0!==t&&t.url_allowlist&&(this.config.url_allowlist=this.config.url_allowlist.map((function(e){return new RegExp(e)}))),this.rageclicks=new jt(e.config.rageclick)},afterDecideResponse:function(e,t){var n=t.config.token;this._initializedTokens.indexOf(n)>-1?Ze.info('autocapture already initialized for token "'+n+'"'):(t.persistence&&t.persistence.register(ge({},Mt,!!e.autocapture_opt_out)),this._isDisabledServerSide=!!e.autocapture_opt_out,this._setIsAutocaptureEnabled(t),this._initializedTokens.push(n),e&&e.config&&e.config.enable_collect_everything&&this._isAutocaptureEnabled?(e.custom_properties&&(this._customProperties=e.custom_properties),this._addDomEventHandlers(t)):t.__autocapture=!1)},enabledForProject:function(e,t,n){if(!e)return!0;t=Te(t)?10:t,n=Te(n)?10:n;for(var r=0,o=0;o<e.length;o++)r+=e.charCodeAt(o);return r%t<n},isBrowserSupported:function(){return Ne(null==Ue?void 0:Ue.querySelectorAll)}};!function(e){for(var t in e)Ne(e[t])&&(e[t]=e[t].bind(e))}(Kt),function(e){for(var t in e)Ne(e[t])&&(e[t]=it(e[t]))}(Kt);var Qt="$active_feature_flags",Xt="$override_feature_flags",Jt="$feature_flag_payloads",en=function(e){var t,n={},r=Ce(nt(e||{}));try{for(r.s();!(t=r.n()).done;){var o=ke(t.value,2),i=o[0],a=o[1];a&&(n[i]=a)}}catch(e){r.e(e)}finally{r.f()}return n},tn=function(){function e(t){fe(this,e),this.instance=t,this._override_warning=!1,this.featureFlagEventHandlers=[],this.reloadFeatureFlagsQueued=!1,this.reloadFeatureFlagsInAction=!1}return me(e,[{key:"getFlags",value:function(){return Object.keys(this.getFlagVariants())}},{key:"getFlagVariants",value:function(){var e=this.instance.get_property(Bt),t=this.instance.get_property(Xt);if(!t)return e||{};for(var n=et({},e),r=Object.keys(t),o=0;o<r.length;o++)!1===t[r[o]]?delete n[r[o]]:n[r[o]]=t[r[o]];return this._override_warning||(Ze.warn(" Overriding feature flags!",{enabledFlags:e,overriddenFlags:t,finalFlags:n}),this._override_warning=!0),n}},{key:"getFlagPayloads",value:function(){return this.instance.get_property(Jt)||{}}},{key:"reloadFeatureFlags",value:function(){this.reloadFeatureFlagsQueued||(this.reloadFeatureFlagsQueued=!0,this._startReloadTimer())}},{key:"setAnonymousDistinctId",value:function(e){this.$anon_distinct_id=e}},{key:"setReloadingPaused",value:function(e){this.reloadFeatureFlagsInAction=e}},{key:"resetRequestQueue",value:function(){this.reloadFeatureFlagsQueued=!1}},{key:"_startReloadTimer",value:function(){var e=this;this.reloadFeatureFlagsQueued&&!this.reloadFeatureFlagsInAction&&setTimeout((function(){!e.reloadFeatureFlagsInAction&&e.reloadFeatureFlagsQueued&&(e.reloadFeatureFlagsQueued=!1,e._reloadFeatureFlagsRequest())}),5)}},{key:"_reloadFeatureFlagsRequest",value:function(){var e=this;if(!this.instance.config.advanced_disable_feature_flags){this.setReloadingPaused(!0);var t=this.instance.config.token,n=this.instance.get_property(zt),r=this.instance.get_property($t),o=lt(JSON.stringify({token:t,distinct_id:this.instance.get_distinct_id(),groups:this.instance.getGroups(),$anon_distinct_id:this.$anon_distinct_id,person_properties:n,group_properties:r,disable_flags:this.instance.config.advanced_disable_feature_flags||void 0}));this.instance._send_request(this.instance.config.api_host+"/decide/?v=3",{data:o},{method:"POST"},this.instance._prepare_callback((function(t){e.$anon_distinct_id=void 0,e.receivedFeatureFlags(t),e.setReloadingPaused(!1),e._startReloadTimer()})))}}},{key:"getFeatureFlag",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.instance.decideEndpointWasHit||this.getFlags()&&this.getFlags().length>0){var n,r=this.getFlagVariants()[e],o="".concat(r),i=this.instance.get_property(Vt)||{};return!t.send_event&&"send_event"in t||e in i&&i[e].includes(o)||(Le(i[e])?i[e].push(o):i[e]=[o],null===(n=this.instance.persistence)||void 0===n||n.register(ge({},Vt,i)),this.instance.capture("$feature_flag_called",{$feature_flag:e,$feature_flag_response:r})),r}Ze.warn('getFeatureFlag for key "'+e+"\" failed. Feature flags didn't load in time.")}},{key:"getFeatureFlagPayload",value:function(e){return this.getFlagPayloads()[e]}},{key:"isFeatureEnabled",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.instance.decideEndpointWasHit||this.getFlags()&&this.getFlags().length>0)return!!this.getFeatureFlag(e,t);Ze.warn('isFeatureEnabled for key "'+e+"\" failed. Feature flags didn't load in time.")}},{key:"addFeatureFlagsHandler",value:function(e){this.featureFlagEventHandlers.push(e)}},{key:"removeFeatureFlagsHandler",value:function(e){this.featureFlagEventHandlers=this.featureFlagEventHandlers.filter((function(t){return t!==e}))}},{key:"receivedFeatureFlags",value:function(e){if(this.instance.persistence){this.instance.decideEndpointWasHit=!0;var t=this.getFlagVariants(),n=this.getFlagPayloads();!function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=e.featureFlags,i=e.featureFlagPayloads;if(o)if(Le(o)){var a,s={};if(o)for(var l=0;l<o.length;l++)s[o[l]]=!0;t&&t.register((ge(a={},Qt,o),ge(a,Bt,s),a))}else{var u,c=o,d=i;e.errorsWhileComputingFlags&&(c=de(de({},n),c),d=de(de({},r),d)),t&&t.register((ge(u={},Qt,Object.keys(en(c))),ge(u,Bt,c||{}),ge(u,Jt,d||{}),u))}}(e,this.instance.persistence,t,n),this._fireFeatureFlagsCallbacks()}}},{key:"override",value:function(e){if(!this.instance.__loaded||!this.instance.persistence)return Ze.uninitializedWarning("posthog.feature_flags.override");if(this._override_warning=!1,!1===e)this.instance.persistence.unregister(Xt);else if(Le(e)){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;this.instance.persistence.register(ge({},Xt,t))}else this.instance.persistence.register(ge({},Xt,e))}},{key:"onFeatureFlags",value:function(e){var t=this;if(this.addFeatureFlagsHandler(e),this.instance.decideEndpointWasHit){var n=this._prepareFeatureFlagsForCallbacks(),r=n.flags,o=n.flagVariants;e(r,o)}return function(){return t.removeFeatureFlagsHandler(e)}}},{key:"updateEarlyAccessFeatureEnrollment",value:function(e,t){var n,r,o=ge({},"$feature_enrollment/".concat(e),t);this.instance.capture("$feature_enrollment_update",{$feature_flag:e,$feature_enrollment:t,$set:o}),this.setPersonPropertiesForFlags(o,!1);var i=de(de({},this.getFlagVariants()),{},ge({},e,t));null===(n=this.instance.persistence)||void 0===n||n.register((ge(r={},Qt,Object.keys(en(i))),ge(r,Bt,i),r)),this._fireFeatureFlagsCallbacks()}},{key:"getEarlyAccessFeatures",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.instance.get_property(Wt);if(r&&!n)return e(r);this.instance._send_request("".concat(this.instance.config.api_host,"/api/early_access_features/?token=").concat(this.instance.config.token),{},{method:"GET"},(function(n){var r,o=n.earlyAccessFeatures;return null===(r=t.instance.persistence)||void 0===r||r.register(ge({},Wt,o)),e(o)}))}},{key:"_prepareFeatureFlagsForCallbacks",value:function(){var e=this.getFlags(),t=this.getFlagVariants();return{flags:e.filter((function(e){return t[e]})),flagVariants:Object.keys(t).filter((function(e){return t[e]})).reduce((function(e,n){return e[n]=t[n],e}),{})}}},{key:"_fireFeatureFlagsCallbacks",value:function(){var e=this._prepareFeatureFlagsForCallbacks(),t=e.flags,n=e.flagVariants;this.featureFlagEventHandlers.forEach((function(e){return e(t,n)}))}},{key:"setPersonPropertiesForFlags",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.instance.get_property(zt)||{};this.instance.register(ge({},zt,de(de({},n),e))),t&&this.instance.reloadFeatureFlags()}},{key:"resetPersonPropertiesForFlags",value:function(){this.instance.unregister(zt)}},{key:"setGroupPropertiesForFlags",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.instance.get_property($t)||{};0!==Object.keys(n).length&&Object.keys(n).forEach((function(t){n[t]=de(de({},n[t]),e[t]),delete e[t]})),this.instance.register(ge({},$t,de(de({},n),e))),t&&this.instance.reloadFeatureFlags()}},{key:"resetGroupPropertiesForFlags",value:function(e){if(e){var t=this.instance.get_property($t)||{};this.instance.register(ge({},$t,de(de({},t),{},ge({},e,{}))))}else this.instance.unregister($t)}}]),e}();Math.trunc||(Math.trunc=function(e){return e<0?Math.ceil(e):Math.floor(e)}),Number.isInteger||(Number.isInteger=function(e){return Ie(e)&&isFinite(e)&&Math.floor(e)===e});var nn="0123456789abcdef",rn=function(){function e(t){if(fe(this,e),this.bytes=t,16!==t.length)throw new TypeError("not 128-bit length")}return me(e,[{key:"toString",value:function(){for(var e="",t=0;t<this.bytes.length;t++)e=e+nn.charAt(this.bytes[t]>>>4)+nn.charAt(15&this.bytes[t]),3!==t&&5!==t&&7!==t&&9!==t||(e+="-");if(36!==e.length)throw new Error("Invalid UUIDv7 was generated");return e}},{key:"clone",value:function(){return new e(this.bytes.slice(0))}},{key:"equals",value:function(e){return 0===this.compareTo(e)}},{key:"compareTo",value:function(e){for(var t=0;t<16;t++){var n=this.bytes[t]-e.bytes[t];if(0!==n)return Math.sign(n)}return 0}}],[{key:"fromFieldsV7",value:function(t,n,r,o){if(!Number.isInteger(t)||!Number.isInteger(n)||!Number.isInteger(r)||!Number.isInteger(o)||t<0||n<0||r<0||o<0||t>0xffffffffffff||n>4095||r>1073741823||o>4294967295)throw new RangeError("invalid field value");var i=new Uint8Array(16);return i[0]=t/Math.pow(2,40),i[1]=t/Math.pow(2,32),i[2]=t/Math.pow(2,24),i[3]=t/Math.pow(2,16),i[4]=t/Math.pow(2,8),i[5]=t,i[6]=112|n>>>8,i[7]=n,i[8]=128|r>>>24,i[9]=r>>>16,i[10]=r>>>8,i[11]=r,i[12]=o>>>24,i[13]=o>>>16,i[14]=o>>>8,i[15]=o,new e(i)}}]),e}(),on=function(){function e(){fe(this,e),ge(this,"timestamp",0),ge(this,"counter",0),ge(this,"random",new ln)}return me(e,[{key:"generate",value:function(){var e=this.generateOrAbort();if(Te(e)){this.timestamp=0;var t=this.generateOrAbort();if(Te(t))throw new Error("Could not generate UUID after timestamp reset");return t}return e}},{key:"generateOrAbort",value:function(){var e=Date.now();if(e>this.timestamp)this.timestamp=e,this.resetCounter();else{if(!(e+1e4>this.timestamp))return;this.counter++,this.counter>4398046511103&&(this.timestamp++,this.resetCounter())}return rn.fromFieldsV7(this.timestamp,Math.trunc(this.counter/Math.pow(2,30)),this.counter&Math.pow(2,30)-1,this.random.nextUint32())}},{key:"resetCounter",value:function(){this.counter=1024*this.random.nextUint32()+(1023&this.random.nextUint32())}}]),e}(),an=function(e){if("undefined"!=typeof UUIDV7_DENY_WEAK_RNG&&UUIDV7_DENY_WEAK_RNG)throw new Error("no cryptographically strong RNG available");for(var t=0;t<e.length;t++)e[t]=65536*Math.trunc(65536*Math.random())+Math.trunc(65536*Math.random());return e};He&&!Te(He.crypto)&&crypto.getRandomValues&&(an=function(e){return crypto.getRandomValues(e)});var sn,ln=function(){function e(){fe(this,e),ge(this,"buffer",new Uint32Array(8)),ge(this,"cursor",1/0)}return me(e,[{key:"nextUint32",value:function(){return this.cursor>=this.buffer.length&&(an(this.buffer),this.cursor=0),this.buffer[this.cursor++]}}]),e}(),un=function(){return cn().toString()},cn=function(){return(sn||(sn=new on)).generate()},dn="",pn=/[a-z0-9][a-z0-9-]+\.[a-z]{2,}$/i;var fn={is_supported:function(){return!!Ue},error:function(e){Ze.error("cookieStore error: "+e)},get:function(e){if(Ue){try{for(var t=e+"=",n=Ue.cookie.split(";").filter((function(e){return e.length})),r=0;r<n.length;r++){for(var o=n[r];" "==o.charAt(0);)o=o.substring(1,o.length);if(0===o.indexOf(t))return decodeURIComponent(o.substring(t.length,o.length))}}catch(e){}return null}},parse:function(e){var t;try{t=JSON.parse(fn.get(e))||{}}catch(e){}return t},set:function(e,t,n,r,o){if(Ue)try{var i="",a="",s=function(e,t){if(t){var n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ue;if(dn)return dn;if(!t)return"";if(["localhost","127.0.0.1"].includes(e))return"";for(var n=e.split("."),r=Math.min(n.length,8),o="dmn_chk_"+un(),i=new RegExp("(^|;)\\s*"+o+"=1");!dn&&r--;){var a=n.slice(r).join("."),s=o+"=1;domain=."+a;t.cookie=s,i.test(t.cookie)&&(t.cookie=s+";expires=Thu, 01 Jan 1970 00:00:00 GMT",dn=a)}return dn}(e);if(!n){var r=function(e){var t=e.match(pn);return t?t[0]:""}(e);r!==n&&Ze.info("Warning: cookie subdomain discovery mismatch",r,n),n=r}return n?"; domain=."+n:""}return""}(Ue.location.hostname,r);if(n){var l=new Date;l.setTime(l.getTime()+24*n*60*60*1e3),i="; expires="+l.toUTCString()}o&&(a="; secure");var u=e+"="+encodeURIComponent(JSON.stringify(t))+i+"; SameSite=Lax; path=/"+s+a;return u.length>3686.4&&Ze.warn("cookieStore warning: large cookie, len="+u.length),Ue.cookie=u,u}catch(e){return}},remove:function(e,t){try{fn.set(e,"",-1,t)}catch(e){return}}},hn=null,mn={is_supported:function(){if(!Re(hn))return hn;var e=!0;if(Te(He))e=!1;else try{var t="__mplssupport__";mn.set(t,"xyz"),'"xyz"'!==mn.get(t)&&(e=!1),mn.remove(t)}catch(t){e=!1}return e||Ze.error("localStorage unsupported; falling back to cookie store"),hn=e,e},error:function(e){Ze.error("localStorage error: "+e)},get:function(e){try{return null==He?void 0:He.localStorage.getItem(e)}catch(e){mn.error(e)}return null},parse:function(e){try{return JSON.parse(mn.get(e))||{}}catch(e){}return null},set:function(e,t){try{null==He||He.localStorage.setItem(e,JSON.stringify(t))}catch(e){mn.error(e)}},remove:function(e){try{null==He||He.localStorage.removeItem(e)}catch(e){mn.error(e)}}},gn=["distinct_id",Rt,It],vn=de(de({},mn),{},{parse:function(e){try{var t={};try{t=fn.parse(e)||{}}catch(e){}var n=et(t,JSON.parse(mn.get(e)||"{}"));return mn.set(e,n),n}catch(e){}return null},set:function(e,t,n,r,o){try{mn.set(e,t);var i={};gn.forEach((function(e){t[e]&&(i[e]=t[e])})),Object.keys(i).length&&fn.set(e,i,n,r,o)}catch(e){mn.error(e)}},remove:function(e,t){try{null==He||He.localStorage.removeItem(e),fn.remove(e,t)}catch(e){mn.error(e)}}}),yn={},xn={is_supported:function(){return!0},error:function(e){Ze.error("memoryStorage error: "+e)},get:function(e){return yn[e]||null},parse:function(e){return yn[e]||null},set:function(e,t){yn[e]=t},remove:function(e){delete yn[e]}},bn=null,kn={is_supported:function(){if(!Re(bn))return bn;if(bn=!0,Te(He))bn=!1;else try{var e="__support__";kn.set(e,"xyz"),'"xyz"'!==kn.get(e)&&(bn=!1),kn.remove(e)}catch(e){bn=!1}return bn},error:function(e){Ze.error("sessionStorage error: ",e)},get:function(e){try{return null==He?void 0:He.sessionStorage.getItem(e)}catch(e){kn.error(e)}return null},parse:function(e){try{return JSON.parse(kn.get(e))||null}catch(e){}return null},set:function(e,t){try{null==He||He.sessionStorage.setItem(e,JSON.stringify(t))}catch(e){kn.error(e)}},remove:function(e){try{null==He||He.sessionStorage.removeItem(e)}catch(e){kn.error(e)}}},wn=["localhost","127.0.0.1"],En=function(e){var t=null==Ue?void 0:Ue.createElement("a");return Te(t)?null:(t.href=e,t)},_n=function(e,t){for(var n,r=((e.split("#")[0]||"").split("?")[1]||"").split("&"),o=0;o<r.length;o++){var i=r[o].split("=");if(i[0]===t){n=i;break}}if(!Le(n)||n.length<2)return"";var a=n[1];try{a=decodeURIComponent(a)}catch(e){Ze.error("Skipping decoding for malformed query param: "+a)}return a.replace(/\+/g," ")},Cn=function(e,t){var n=e.match(new RegExp(t+"=([^&]*)"));return n?n[1]:null},Sn={campaignParams:function(e){var t=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","gclid","gad_source","gbraid","wbraid","fbclid","msclkid"].concat(e||[]),n={};return Je(t,(function(e){var t=Ue?_n(Ue.URL,e):"";t.length&&(n[e]=t)})),n},searchEngine:function(){var e=null==Ue?void 0:Ue.referrer;return e?0===e.search("https?://(.*)google.([^/?]*)")?"google":0===e.search("https?://(.*)bing.com")?"bing":0===e.search("https?://(.*)yahoo.com")?"yahoo":0===e.search("https?://(.*)duckduckgo.com")?"duckduckgo":null:null},searchInfo:function(){var e=Sn.searchEngine(),t="yahoo"!=e?"q":"p",n={};if(!Re(e)){n.$search_engine=e;var r=Ue?_n(Ue.referrer,t):"";r.length&&(n.ph_keyword=r)}return n},browser:function(e,t,n){return t=t||"",n||tt(e," OPR/")?tt(e,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":tt(e,"IEMobile")||tt(e,"WPDesktop")?"Internet Explorer Mobile":tt(e,"SamsungBrowser/")?"Samsung Internet":tt(e,"Edge")||tt(e,"Edg/")?"Microsoft Edge":tt(e,"FBIOS")?"Facebook Mobile":tt(e,"Chrome")?"Chrome":tt(e,"CriOS")?"Chrome iOS":tt(e,"UCWEB")||tt(e,"UCBrowser")?"UC Browser":tt(e,"FxiOS")?"Firefox iOS":tt(t,"Apple")||function(e){return tt(e,"Safari")&&!tt(e,"Chrome")&&!tt(e,"Android")}(e)?tt(e,"Mobile")?"Mobile Safari":"Safari":tt(e,"Android")?"Android Mobile":tt(e,"Konqueror")||tt(e,"konqueror")?"Konqueror":tt(e,"Firefox")?"Firefox":tt(e,"MSIE")||tt(e,"Trident/")?"Internet Explorer":tt(e,"Gecko")?"Mozilla":""},browserVersion:function(e,t,n){var r={"Internet Explorer Mobile":[/rv:(\d+(\.\d+)?)/],"Microsoft Edge":[/Edge?\/(\d+(\.\d+)?)/],Chrome:[/Chrome\/(\d+(\.\d+)?)/],"Chrome iOS":[/CriOS\/(\d+(\.\d+)?)/],"UC Browser":[/(UCBrowser|UCWEB)\/(\d+(\.\d+)?)/],Safari:[/Version\/(\d+(\.\d+)?)/],"Mobile Safari":[/Version\/(\d+(\.\d+)?)/],Opera:[/(Opera|OPR)\/(\d+(\.\d+)?)/],Firefox:[/Firefox\/(\d+(\.\d+)?)/],"Firefox iOS":[/FxiOS\/(\d+(\.\d+)?)/],Konqueror:[/Konqueror[:/]?(\d+(\.\d+)?)/i],BlackBerry:[/BlackBerry (\d+(\.\d+)?)/,/Version\/(\d+(\.\d+)?)/],"Android Mobile":[/android\s(\d+(\.\d+)?)/],"Samsung Internet":[/SamsungBrowser\/(\d+(\.\d+)?)/],"Internet Explorer":[/(rv:|MSIE )(\d+(\.\d+)?)/],Mozilla:[/rv:(\d+(\.\d+)?)/]}[Sn.browser(e,t,n)];if(Te(r))return null;for(var o=0;o<r.length;o++){var i=r[o],a=e.match(i);if(a)return parseFloat(a[a.length-2])}return null},browserLanguage:function(){return navigator.language||navigator.userLanguage},os:function(e){if(/Windows/i.test(e)){if(/Phone/.test(e)||/WPDesktop/.test(e))return{os_name:"Windows Phone",os_version:""};var t=/Windows NT ([0-9.]+)/i.exec(e);return t&&t[1]?{os_name:"Windows",os_version:t[1]}:{os_name:"Windows",os_version:""}}if(/(iPhone|iPad|iPod)/.test(e)){var n=/OS (\d+)_(\d+)_?(\d+)?/i.exec(e);return n&&n[1]?{os_name:"iOS",os_version:[n[1],n[2],n[3]||"0"].join(".")}:{os_name:"iOS",os_version:""}}if(/Android/.test(e)){var r=/Android (\d+)\.(\d+)\.?(\d+)?/i.exec(e);return r&&r[1]?{os_name:"Android",os_version:[r[1],r[2],r[3]||"0"].join(".")}:{os_name:"Android",os_version:""}}if(/(BlackBerry|PlayBook|BB10)/i.test(e))return{os_name:"BlackBerry",os_version:""};if(/Mac/i.test(e)){var o=/Mac OS X (\d+)[_.](\d+)[_.]?(\d+)?/i.exec(e);return o&&o[1]?{os_name:"Mac OS X",os_version:[o[1],o[2],o[3]||"0"].join(".")}:{os_name:"Mac OS X",os_version:""}}return/Linux/.test(e)?{os_name:"Linux",os_version:""}:/CrOS/.test(e)?{os_name:"Chrome OS",os_version:""}:{os_name:"",os_version:""}},device:function(e){return/Windows Phone/i.test(e)||/WPDesktop/.test(e)?"Windows Phone":/iPad/.test(e)?"iPad":/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Android/.test(e)&&!/Mobile/.test(e)?"Android Tablet":/Android/.test(e)?"Android":""},deviceType:function(e){var t=this.device(e);return"iPad"===t||"Android Tablet"===t?"Tablet":t?"Mobile":"Desktop"},referrer:function(){return(null==Ue?void 0:Ue.referrer)||"$direct"},referringDomain:function(){var e;return null!=Ue&&Ue.referrer&&(null===(e=En(Ue.referrer))||void 0===e?void 0:e.host)||"$direct"},properties:function(){if(!qe)return{};var e=Sn.os(qe),t=e.os_name,n=e.os_version;return et(at({$os:t,$os_version:n,$browser:Sn.browser(qe,navigator.vendor,Ye.opera),$device:Sn.device(qe),$device_type:Sn.deviceType(qe)}),{$current_url:null==He?void 0:He.location.href,$host:null==He?void 0:He.location.host,$pathname:null==He?void 0:He.location.pathname,$raw_user_agent:qe.length>1e3?qe.substring(0,997)+"...":qe,$browser_version:Sn.browserVersion(qe,navigator.vendor,Ye.opera),$browser_language:Sn.browserLanguage(),$screen_height:null==He?void 0:He.screen.height,$screen_width:null==He?void 0:He.screen.width,$viewport_height:null==He?void 0:He.innerHeight,$viewport_width:null==He?void 0:He.innerWidth,$lib:"web",$lib_version:Se.LIB_VERSION,$insert_id:Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10),$time:rt()/1e3})},people_properties:function(){if(!qe)return{};var e=Sn.os(qe),t=e.os_name,n=e.os_version;return et(at({$os:t,$os_version:n,$browser:Sn.browser(qe,navigator.vendor,Ye.opera)}),{$browser_version:Sn.browserVersion(qe,navigator.vendor,Ye.opera)})}},Dn=["cookie","localstorage","localstorage+cookie","sessionstorage","memory"],jn=function(){function e(t){fe(this,e);var n="";t.token&&(n=t.token.replace(/\+/g,"PL").replace(/\//g,"SL").replace(/=/g,"EQ")),this.props={},this.campaign_params_saved=!1,this.custom_campaign_params=t.custom_campaign_params||[],t.persistence_name?this.name="ph_"+t.persistence_name:this.name="ph_"+n+"_posthog",-1===Dn.indexOf(t.persistence.toLowerCase())&&(Ze.critical("Unknown persistence type "+t.persistence+"; falling back to localStorage+cookie"),t.persistence="localStorage+cookie");var r=t.persistence.toLowerCase();"localstorage"===r&&mn.is_supported()?this.storage=mn:"localstorage+cookie"===r&&vn.is_supported()?this.storage=vn:"sessionstorage"===r&&kn.is_supported()?this.storage=kn:"memory"===r?this.storage=xn:"cookie"===r?this.storage=fn:vn.is_supported()?this.storage=vn:this.storage=fn,this.load(),this.update_config(t),this.save()}return me(e,[{key:"properties",value:function(){var e={};return Je(this.props,(function(t,n){if(n===Bt&&Oe(t))for(var r=Object.keys(t),o=0;o<r.length;o++)e["$feature/".concat(r[o])]=t[r[o]];else a=n,s=!1,(Re(i=Gt)?s:$e&&i.indexOf===$e?-1!=i.indexOf(a):(Je(i,(function(e){if(s||(s=e===a))return Ke})),s))||(e[n]=t);var i,a,s})),e}},{key:"load",value:function(){if(!this.disabled){var e=this.storage.parse(this.name);e&&(this.props=et({},e))}}},{key:"save",value:function(){this.disabled||this.storage.set(this.name,this.props,this.expire_days,this.cross_subdomain,this.secure)}},{key:"remove",value:function(){this.storage.remove(this.name,!1),this.storage.remove(this.name,!0)}},{key:"clear",value:function(){this.remove(),this.props={}}},{key:"register_once",value:function(e,t,n){var r=this;if(Oe(e)){Te(t)&&(t="None"),this.expire_days=Te(n)?this.default_expiry:n;var o=!1;if(Je(e,(function(e,n){r.props.hasOwnProperty(n)&&r.props[n]!==t||(r.props[n]=e,o=!0)})),o)return this.save(),!0}return!1}},{key:"register",value:function(e,t){var n=this;if(Oe(e)){this.expire_days=Te(t)?this.default_expiry:t;var r=!1;if(Je(e,(function(t,o){e.hasOwnProperty(o)&&n.props[o]!==t&&(n.props[o]=t,r=!0)})),r)return this.save(),!0}return!1}},{key:"unregister",value:function(e){e in this.props&&(delete this.props[e],this.save())}},{key:"update_campaign_params",value:function(){this.campaign_params_saved||(this.register(Sn.campaignParams(this.custom_campaign_params)),this.campaign_params_saved=!0)}},{key:"update_search_keyword",value:function(){this.register(Sn.searchInfo())}},{key:"update_referrer_info",value:function(){this.register({$referrer:this.props.$referrer||Sn.referrer(),$referring_domain:this.props.$referring_domain||Sn.referringDomain()})}},{key:"get_referrer_info",value:function(){return at({$referrer:this.props.$referrer,$referring_domain:this.props.$referring_domain})}},{key:"safe_merge",value:function(e){return Je(this.props,(function(t,n){n in e||(e[n]=t)})),e}},{key:"update_config",value:function(e){this.default_expiry=this.expire_days=e.cookie_expiration,this.set_disabled(e.disable_persistence),this.set_cross_subdomain(e.cross_subdomain_cookie),this.set_secure(e.secure_cookie)}},{key:"set_disabled",value:function(e){this.disabled=e,this.disabled?this.remove():this.save()}},{key:"set_cross_subdomain",value:function(e){e!==this.cross_subdomain&&(this.cross_subdomain=e,this.remove(),this.save())}},{key:"get_cross_subdomain",value:function(){return!!this.cross_subdomain}},{key:"set_secure",value:function(e){e!==this.secure&&(this.secure=e,this.remove(),this.save())}},{key:"set_event_timer",value:function(e,t){var n=this.props[Lt]||{};n[e]=t,this.props[Lt]=n,this.save()}},{key:"remove_event_timer",value:function(e){var t=(this.props[Lt]||{})[e];return Te(t)||(delete this.props[Lt][e],this.save()),t}},{key:"get_user_state",value:function(){return this.props[Ut]||"anonymous"}},{key:"set_user_state",value:function(e){this.props[Ut]=e,this.save()}},{key:"get_quota_limits",value:function(){return this.props[qt]||{}}},{key:"set_quota_limits",value:function(e){this.props[qt]=e,this.save()}}]),e}(),An=2,Pn=4,Ln=me((function e(t){var n,r,o=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};fe(this,e),ge(this,"bucketSize",100),ge(this,"refillRate",10),ge(this,"mutationBuckets",{}),ge(this,"loggedTracker",{}),ge(this,"refillBuckets",(function(){Object.keys(o.mutationBuckets).forEach((function(e){o.mutationBuckets[e]=o.mutationBuckets[e]+o.refillRate,o.mutationBuckets[e]>=o.bucketSize&&delete o.mutationBuckets[e]}))})),ge(this,"getNodeOrRelevantParent",(function(e){var t=o.rrweb.mirror.getNode(e);if("svg"!==(null==t?void 0:t.nodeName)&&t instanceof Element){var n=t.closest("svg");if(n)return[o.rrweb.mirror.getId(n),n]}return[e,t]})),ge(this,"numberOfChanges",(function(e){var t,n,r,o,i,a,s,l;return(null!==(t=null===(n=e.removes)||void 0===n?void 0:n.length)&&void 0!==t?t:0)+(null!==(r=null===(o=e.attributes)||void 0===o?void 0:o.length)&&void 0!==r?r:0)+(null!==(i=null===(a=e.texts)||void 0===a?void 0:a.length)&&void 0!==i?i:0)+(null!==(s=null===(l=e.adds)||void 0===l?void 0:l.length)&&void 0!==s?s:0)})),ge(this,"throttleMutations",(function(e){if(3!==e.type||0!==e.data.source)return e;var t=e.data,n=o.numberOfChanges(t);t.attributes&&(t.attributes=t.attributes.filter((function(e){var t,n,r,i=ke(o.getNodeOrRelevantParent(e.id),2),a=i[0],s=i[1];return 0!==o.mutationBuckets[a]&&(o.mutationBuckets[a]=null!==(t=o.mutationBuckets[a])&&void 0!==t?t:o.bucketSize,o.mutationBuckets[a]=Math.max(o.mutationBuckets[a]-1,0),0===o.mutationBuckets[a]&&(o.loggedTracker[a]||(o.loggedTracker[a]=!0,null===(n=(r=o.options).onBlockedNode)||void 0===n||n.call(r,a,s))),e)})));var r=o.numberOfChanges(t);return 0!==r||n===r?e:void 0})),this.rrweb=t,this.options=i,this.refillRate=null!==(n=this.options.refillRate)&&void 0!==n?n:this.refillRate,this.bucketSize=null!==(r=this.options.bucketSize)&&void 0!==r?r:this.bucketSize,setInterval((function(){o.refillBuckets()}),1e3)})),Mn=function(e){return e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e}(Mn||{}),Nn={initiatorTypes:["audio","beacon","body","css","early-hint","embed","fetch","frame","iframe","icon","image","img","input","link","navigation","object","ping","script","track","video","xmlhttprequest"],maskRequestFn:function(e){return e},recordHeaders:!1,recordBody:!1,recordInitialRequests:!1,recordPerformance:!1,performanceEntryTypeToObserve:["first-input","navigation","paint","resource"],payloadSizeLimitBytes:1e6},On=["authorization","x-forwarded-for","authorization","cookie","set-cookie","x-api-key","x-real-ip","remote-addr","forwarded","proxy-authorization","x-csrf-token","x-csrftoken","x-xsrf-token"],Tn=["/s/","/e/","/i/vo/e/"];function Fn(e,t,n,r){var o=null==t?void 0:t["content-length"];return o&&parseInt(o)>n?"".concat(r," body too large to record"):e}var Rn="__ph_opt_in_out_";function In(e,t){qn(!0,e,t)}function Bn(e,t){qn(!1,e,t)}function Wn(e,t){return"1"===Un(e,t)}function zn(e,t){return!!function(e){if(e&&e.respectDnt){var t=e&&e.window||He,n=null==t?void 0:t.navigator,r=!1;return Je([null==n?void 0:n.doNotTrack,n.msDoNotTrack,t.doNotTrack],(function(e){tt([!0,1,"1","yes"],e)&&(r=!0)})),r}return!1}(t)||"0"===Un(e,t)}function $n(e,t){Hn(t=t||{}).remove(Vn(e,t),!!t.crossSubdomainCookie)}function Hn(e){return"localStorage"===(e=e||{}).persistenceType?mn:"localStorage+cookie"===e.persistenceType?vn:fn}function Vn(e,t){return((t=t||{}).persistencePrefix||Rn)+e}function Un(e,t){return Hn(t).get(Vn(e,t))}function qn(e,t,n){Fe(t)&&t.length?(Hn(n=n||{}).set(Vn(t,n),e?1:0,Ie(n.cookieExpiration)?n.cookieExpiration:null,n.crossSubdomainCookie,n.secureCookie),n.capture&&e&&n.capture(n.captureEventName||"$opt_in",n.captureProperties||{},{send_instantly:!0})):Ze.error("gdpr."+(e?"optIn":"optOut")+" called with an invalid token")}function Yn(e){var t=!1;try{var n=e.config.token,r=e.config.respect_dnt,o=e.config.opt_out_capturing_persistence_type,i=e.config.opt_out_capturing_cookie_prefix||void 0,a=e.config.window;n&&(t=zn(n,{respectDnt:r,persistenceType:o,persistencePrefix:i,window:a}))}catch(e){Ze.error("Unexpected error when checking capturing opt-out status: "+e)}return t}var Gn,Zn=3e5,Kn=Zn;!function(e){e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet"}(Gn||(Gn={}));var Qn=[Gn.MouseMove,Gn.MouseInteraction,Gn.Scroll,Gn.ViewportResize,Gn.Input,Gn.TouchMove,Gn.MediaInteraction,Gn.Drag],Xn=function(e){return{rrwebMethod:e,enqueuedAt:Date.now(),attempt:1}},Jn=function(){function e(t){var n=this;if(fe(this,e),ge(this,"queuedRRWebEvents",[]),ge(this,"isIdle",!1),ge(this,"_linkedFlagSeen",!1),ge(this,"_lastActivityTimestamp",Date.now()),ge(this,"windowId",null),ge(this,"sessionId",null),ge(this,"_linkedFlag",null),ge(this,"_sampleRate",null),ge(this,"_minimumDuration",null),ge(this,"_recordCanvas",!1),ge(this,"_canvasFps",null),ge(this,"_canvasQuality",null),ge(this,"_forceAllowLocalhostNetworkCapture",!1),this.instance=t,this._captureStarted=!1,this._endpoint="/s/",this.stopRrweb=void 0,this.receivedDecide=!1,null==He||He.addEventListener("beforeunload",(function(){n._flushBuffer()})),null==He||He.addEventListener("offline",(function(){n._tryAddCustomEvent("browser offline",{})})),null==He||He.addEventListener("online",(function(){n._tryAddCustomEvent("browser online",{})})),!this.instance.sessionManager)throw Ze.error("Session recording started without valid sessionManager"),new Error("Session recording started without valid sessionManager. This is a bug.");this.buffer=this.clearBuffer()}return me(e,[{key:"started",get:function(){return this._captureStarted}},{key:"sessionManager",get:function(){if(!this.instance.sessionManager)throw Ze.error("Session recording started without valid sessionManager"),new Error("Session recording started without valid sessionManager. This is a bug.");return this.instance.sessionManager}},{key:"isSampled",get:function(){return Ie(this._sampleRate)?this.instance.get_property(It):null}},{key:"sessionDuration",get:function(){var e,t,n=null===(e=this.buffer)||void 0===e?void 0:e.data[(null===(t=this.buffer)||void 0===t?void 0:t.data.length)-1],r=this.sessionManager.checkAndGetSessionAndWindowId(!0).sessionStartTimestamp;return n?n.timestamp-r:null}},{key:"isRecordingEnabled",get:function(){var e=!!this.instance.get_property(Nt),t=!this.instance.config.disable_session_recording;return He&&e&&t}},{key:"isConsoleLogCaptureEnabled",get:function(){var e=!!this.instance.get_property(Ot),t=this.instance.config.enable_recording_console_log;return null!=t?t:e}},{key:"recordingVersion",get:function(){var e,t=this.instance.get_property(Tt);return(null===(e=this.instance.config.session_recording)||void 0===e?void 0:e.recorderVersion)||t||"v1"}},{key:"networkPayloadCapture",get:function(){var e,t,n=this.instance.get_property(Ft),r={recordHeaders:null===(e=this.instance.config.session_recording)||void 0===e?void 0:e.recordHeaders,recordBody:null===(t=this.instance.config.session_recording)||void 0===t?void 0:t.recordBody},o=(null==r?void 0:r.recordHeaders)||(null==n?void 0:n.recordHeaders),i=(null==r?void 0:r.recordBody)||(null==n?void 0:n.recordBody),a=this.instance.config.capture_performance||(null==n?void 0:n.capturePerformance);return o||i||a?{recordHeaders:o,recordBody:i,recordPerformance:a}:void 0}},{key:"status",get:function(){return this.receivedDecide?this.isRecordingEnabled?Fe(this._linkedFlag)&&!this._linkedFlagSeen?"buffering":Be(this.isSampled)?this.isSampled?"sampled":"disabled":"active":"disabled":"buffering"}},{key:"startRecordingIfEnabled",value:function(){this.isRecordingEnabled?(this.startCaptureAndTrySendingQueuedSnapshots(),Ze.info("[SessionRecording] started")):(this.stopRecording(),this.clearBuffer())}},{key:"stopRecording",value:function(){this._captureStarted&&this.stopRrweb&&(this.stopRrweb(),this.stopRrweb=void 0,this._captureStarted=!1,Ze.info("[SessionRecording] stopped"))}},{key:"makeSamplingDecision",value:function(e){var t,n=this.sessionId!==e;if(Ie(this._sampleRate)){var r,o=this.isSampled;(r=n||!Be(o)?Math.random()<this._sampleRate:o)||Ze.warn("[SessionSampling] Sample rate (".concat(this._sampleRate,") has determined that this sessionId (").concat(e,") will not be sent to the server.")),null===(t=this.instance.persistence)||void 0===t||t.register(ge({},It,r))}else{var i;null===(i=this.instance.persistence)||void 0===i||i.register(ge({},It,null))}}},{key:"afterDecideResponse",value:function(e){var t,n,r,o,i,a,s,l,u,c,d,p=this;this.instance.persistence&&this.instance.persistence.register((ge(d={},Nt,!!e.sessionRecording),ge(d,Ot,null===(l=e.sessionRecording)||void 0===l?void 0:l.consoleLogRecordingEnabled),ge(d,Tt,null===(u=e.sessionRecording)||void 0===u?void 0:u.recorderVersion),ge(d,Ft,de({capturePerformance:e.capturePerformance},null===(c=e.sessionRecording)||void 0===c?void 0:c.networkPayloadCapture)),d));var f=null===(t=e.sessionRecording)||void 0===t?void 0:t.sampleRate;this._sampleRate=Te(f)||Re(f)?null:parseFloat(f);var h=null===(n=e.sessionRecording)||void 0===n?void 0:n.minimumDurationMilliseconds;this._minimumDuration=Te(h)?null:h;var m=null===(r=e.sessionRecording)||void 0===r?void 0:r.recordCanvas;this._recordCanvas=!Te(m)&&!Re(m)&&m;var g=null===(o=e.sessionRecording)||void 0===o?void 0:o.canvasFps;this._canvasFps=Te(g)?null:g;var v,y=null===(i=e.sessionRecording)||void 0===i?void 0:i.canvasQuality;if(this._canvasQuality=Te(y)||Re(y)?null:parseFloat(y),this._linkedFlag=(null===(a=e.sessionRecording)||void 0===a?void 0:a.linkedFlag)||null,null!==(s=e.sessionRecording)&&void 0!==s&&s.endpoint&&(this._endpoint=null===(v=e.sessionRecording)||void 0===v?void 0:v.endpoint),Ie(this._sampleRate)&&this.sessionManager.onSessionId((function(e){p.makeSamplingDecision(e)})),Fe(this._linkedFlag)){var x=this._linkedFlag;this.instance.onFeatureFlags((function(e){p._linkedFlagSeen=e.includes(x)}))}this.receivedDecide=!0,this.startRecordingIfEnabled()}},{key:"log",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"log";null===(t=this.instance.sessionRecording)||void 0===t||t.onRRwebEmit({type:6,data:{plugin:"rrweb/console@1",payload:{level:n,trace:[],payload:[JSON.stringify(e)]}},timestamp:rt()})}},{key:"startCaptureAndTrySendingQueuedSnapshots",value:function(){this._startCapture()}},{key:"_startCapture",value:function(){var e=this;if(!Te(Object.assign)&&!(this._captureStarted||this.instance.config.disable_session_recording||Yn(this.instance))){this._captureStarted=!0,this.sessionManager.checkAndGetSessionAndWindowId();var t="v2"===this.recordingVersion?"recorder-v2.js":"recorder.js";this.instance.__loaded_recorder_version!==this.recordingVersion?dt(this.instance.config.api_host+"/static/".concat(t,"?v=").concat(Se.LIB_VERSION),(function(n){if(n)return Ze.error("Could not load ".concat(t),n);e._onScriptLoaded()})):this._onScriptLoaded()}}},{key:"_isInteractiveEvent",value:function(e){var t;return 3===e.type&&-1!==Qn.indexOf(null===(t=e.data)||void 0===t?void 0:t.source)}},{key:"_updateWindowAndSessionIds",value:function(e){var t=this._isInteractiveEvent(e);t||this.isIdle||e.timestamp-this._lastActivityTimestamp>Kn&&(this.isIdle=!0,this._tryAddCustomEvent("sessionIdle",{reason:"user inactivity",timeSinceLastActive:e.timestamp-this._lastActivityTimestamp,threshold:Kn}));var n=!1;if(t&&(this._lastActivityTimestamp=e.timestamp,this.isIdle&&(this.isIdle=!1,this._tryAddCustomEvent("sessionNoLongerIdle",{reason:"user activity",type:e.type}),n=!0)),!this.isIdle){var r=this.sessionManager.checkAndGetSessionAndWindowId(!t,e.timestamp),o=r.windowId,i=r.sessionId,a=this.sessionId!==i,s=this.windowId!==o;this.windowId=o,this.sessionId=i,(n||-1===[An,Pn].indexOf(e.type)&&(s||a))&&this._tryTakeFullSnapshot()}}},{key:"_tryRRWebMethod",value:function(e){try{return e.rrwebMethod(),!0}catch(de){return Ze.warn("[Session-Recording] could not emit queued rrweb event.",de),this.queuedRRWebEvents.length<10&&this.queuedRRWebEvents.push({enqueuedAt:e.enqueuedAt||Date.now(),attempt:e.attempt++,rrwebMethod:e.rrwebMethod}),!1}}},{key:"_tryAddCustomEvent",value:function(e,t){var n=this;return this._tryRRWebMethod(Xn((function(){return n.rrwebRecord.addCustomEvent(e,t)})))}},{key:"_tryTakeFullSnapshot",value:function(){var e=this;return this._tryRRWebMethod(Xn((function(){return e.rrwebRecord.takeFullSnapshot()})))}},{key:"_onScriptLoaded",value:function(){var e,t=this,n={blockClass:"ph-no-capture",blockSelector:void 0,ignoreClass:"ph-ignore-input",maskTextClass:"ph-mask",maskTextSelector:void 0,maskTextFn:void 0,maskAllInputs:!0,maskInputOptions:{},maskInputFn:void 0,slimDOMOptions:{},collectFonts:!1,inlineStylesheet:!0,recordCrossOriginIframes:!1};this.rrwebRecord=He.rrweb?He.rrweb.record:He.rrwebRecord;for(var r=this.instance.config.session_recording,o=0,i=Object.entries(r||{});o<i.length;o++){var a=ke(i[o],2),s=a[0],l=a[1];s in n&&(n[s]=l)}if(!this._recordCanvas||Re(this._canvasFps)||Re(this._canvasQuality)||(n.recordCanvas=!0,n.sampling={canvas:this._canvasFps},n.dataURLOptions={type:"image/webp",quality:this._canvasQuality}),this.rrwebRecord){this.mutationRateLimiter=null!==(e=this.mutationRateLimiter)&&void 0!==e?e:new Ln(this.rrwebRecord,{onBlockedNode:function(e,n){var r="Too many mutations on node '".concat(e,"'. Rate limiting. This could be due to SVG animations or something similar");Ze.info(r,{node:n}),t.log("[PostHog Recorder] "+r,"warn")}}),this._scheduleFullSnapshot();var u=this._gatherRRWebPlugins();this.stopRrweb=this.rrwebRecord(de({emit:function(e){t.onRRwebEmit(e)},plugins:u},n)),this.instance._addCaptureHook((function(e){try{if("$pageview"===e){var n=He?t._maskUrl(He.location.href):"";if(!n)return;t._tryAddCustomEvent("$pageview",{href:n})}}catch(e){Ze.error("Could not add $pageview to rrweb session",e)}})),this._lastActivityTimestamp=Date.now(),this.isIdle=!1,this._tryAddCustomEvent("$session_options",{sessionRecordingOptions:n,activePlugins:u.map((function(e){return null==e?void 0:e.name}))})}else Ze.error("onScriptLoaded was called but rrwebRecord is not available. This indicates something has gone wrong.")}},{key:"_scheduleFullSnapshot",value:function(){var e=this;this._fullSnapshotTimer&&clearInterval(this._fullSnapshotTimer),this._fullSnapshotTimer=setInterval((function(){e._tryTakeFullSnapshot()}),Zn)}},{key:"_gatherRRWebPlugins",value:function(){var e=[];return Ye.rrwebConsoleRecord&&this.isConsoleLogCaptureEnabled&&e.push(Ye.rrwebConsoleRecord.getRecordConsolePlugin()),this.networkPayloadCapture&&Ne(Ye.getRecordNetworkPlugin)&&(!wn.includes(location.hostname)||this._forceAllowLocalhostNetworkCapture?e.push(Ye.getRecordNetworkPlugin(function(e,t){var n,r,o,i=e.session_recording,a=!1!==i.recordHeaders&&t.recordHeaders,s=!1!==i.recordBody&&t.recordBody,l=!1!==i.recordPerformance&&t.recordPerformance,u=(n=i,o=Math.min(1e6,null!==(r=n.payloadSizeLimitBytes)&&void 0!==r?r:1e6),function(e){return null!=e&&e.requestBody&&(e.requestBody=Fn(e.requestBody,e.requestHeaders,o,"Request")),null!=e&&e.responseBody&&(e.responseBody=Fn(e.responseBody,e.responseHeaders,o,"Response")),e}),c=function(e){return u(function(e){var t=En(e.name);if(!(t&&t.pathname&&Tn.includes(t.pathname)))return e}((t=e,Object.keys(null!==(n=t.requestHeaders)&&void 0!==n?n:{}).forEach((function(e){var n;On.includes(e.toLowerCase())&&(null===(n=t.requestHeaders)||void 0===n||delete n[e])})),t)));var t,n},d=Ne(e.session_recording.maskNetworkRequestFn);return d&&Ne(e.session_recording.maskCapturedNetworkRequestFn)&&Ze.warn("Both `maskNetworkRequestFn` and `maskCapturedNetworkRequestFn` are defined. `maskNetworkRequestFn` will be ignored."),d&&(e.session_recording.maskCapturedNetworkRequestFn=function(t){var n=e.session_recording.maskNetworkRequestFn({url:t.name});return de(de({},t),{},{name:null==n?void 0:n.url})}),i.maskRequestFn=Ne(e.session_recording.maskCapturedNetworkRequestFn)?function(t){var n,r,o,i=c(t);return i&&null!==(n=null===(r=(o=e.session_recording).maskCapturedNetworkRequestFn)||void 0===r?void 0:r.call(o,i))&&void 0!==n?n:void 0}:void 0,i.maskRequestFn||(i.maskRequestFn=c),de(de(de({},Nn),i),{},{recordHeaders:a,recordBody:s,recordPerformance:l,recordInitialRequests:l})}(this.instance.config,this.networkPayloadCapture))):Ze.info("[SessionReplay-NetworkCapture] not started because we are on localhost.")),e}},{key:"onRRwebEmit",value:function(e){if(this._processQueuedEvents(),e&&Oe(e)){if(e.type===Mn.Meta){var t=this._maskUrl(e.data.href);if(!t)return;e.data.href=t}e.type===Mn.FullSnapshot&&this._scheduleFullSnapshot();var n=this.mutationRateLimiter?this.mutationRateLimiter.throttleMutations(e):e;if(n){var r=function(e){var t=e;if(t&&Oe(t)&&6===t.type&&Oe(t.data)&&"rrweb/console@1"===t.data.plugin){t.data.payload.payload.length>10&&(t.data.payload.payload=t.data.payload.payload.slice(0,10),t.data.payload.payload.push("...[truncated]"));for(var n=[],r=0;r<t.data.payload.payload.length;r++)t.data.payload.payload[r]&&t.data.payload.payload[r].length>2e3?n.push(t.data.payload.payload[r].slice(0,2e3)+"...[truncated]"):n.push(t.data.payload.payload[r]);return t.data.payload.payload=n,e}return e}(n),o=JSON.stringify(r).length;if(this._updateWindowAndSessionIds(r),!this.isIdle){var i={$snapshot_bytes:o,$snapshot_data:r,$session_id:this.sessionId,$window_id:this.windowId};"disabled"!==this.status?this._captureSnapshotBuffered(i):this.clearBuffer()}}}}},{key:"_processQueuedEvents",value:function(){var e=this;if(this.queuedRRWebEvents.length){var t=we(this.queuedRRWebEvents);this.queuedRRWebEvents=[],t.forEach((function(n){Date.now()-n.enqueuedAt>2e3?e._tryAddCustomEvent("rrwebQueueTimeout",{enqueuedAt:n.enqueuedAt,attempt:n.attempt,queueLength:t.length}):e._tryRRWebMethod(n)&&e._tryAddCustomEvent("rrwebQueueSuccess",{enqueuedAt:n.enqueuedAt,attempt:n.attempt,queueLength:t.length})}))}}},{key:"_maskUrl",value:function(e){var t=this.instance.config.session_recording;if(t.maskNetworkRequestFn){var n,r={url:e};return null===(n=r=t.maskNetworkRequestFn(r))||void 0===n?void 0:n.url}return e}},{key:"clearBuffer",value:function(){return this.buffer=void 0,{size:0,data:[],sessionId:this.sessionId,windowId:this.windowId}}},{key:"_flushBuffer",value:function(){var e=this;this.flushBufferTimer&&(clearTimeout(this.flushBufferTimer),this.flushBufferTimer=void 0);var t=this._minimumDuration,n=this.sessionDuration,r=Ie(n)&&n>=0,o=Ie(t)&&r&&n<t;return"buffering"===this.status||o?(this.flushBufferTimer=setTimeout((function(){e._flushBuffer()}),2e3),this.buffer||this.clearBuffer()):this.buffer&&0!==this.buffer.data.length?(this._captureSnapshot({$snapshot_bytes:this.buffer.size,$snapshot_data:this.buffer.data,$session_id:this.buffer.sessionId,$window_id:this.buffer.windowId}),this.clearBuffer()):this.buffer||this.clearBuffer()}},{key:"_captureSnapshotBuffered",value:function(e){var t,n=this,r=2+((null===(t=this.buffer)||void 0===t?void 0:t.data.length)||0);(!this.buffer||this.buffer.size+e.$snapshot_bytes+r>943718.4||this.buffer.sessionId&&this.buffer.sessionId!==this.sessionId)&&(this.buffer=this._flushBuffer()),Re(this.buffer.sessionId)&&!Re(this.sessionId)&&(this.buffer.sessionId=this.sessionId,this.buffer.windowId=this.windowId),this.buffer.size+=e.$snapshot_bytes,this.buffer.data.push(e.$snapshot_data),this.flushBufferTimer||(this.flushBufferTimer=setTimeout((function(){n._flushBuffer()}),2e3))}},{key:"_captureSnapshot",value:function(e){this.instance.capture("$snapshot",e,{transport:"XHR",method:"POST",endpoint:this._endpoint,_noTruncate:!0,_batchKey:"recordings",_metrics:{rrweb_full_snapshot:e.$snapshot_data.type===An}})}}]),e}(),er=function(){function e(t){fe(this,e),this.instance=t,this.instance.decideEndpointWasHit=this.instance._hasBootstrappedFeatureFlags()}return me(e,[{key:"call",value:function(){var e=this,t=lt(JSON.stringify({token:this.instance.config.token,distinct_id:this.instance.get_distinct_id(),groups:this.instance.getGroups(),person_properties:this.instance.get_property(zt),group_properties:this.instance.get_property($t),disable_flags:this.instance.config.advanced_disable_feature_flags||this.instance.config.advanced_disable_feature_flags_on_first_load||void 0}));this.instance._send_request("".concat(this.instance.config.api_host,"/decide/?v=3"),{data:t,verbose:!0},{method:"POST"},(function(t){return e.parseDecideResponse(t)}))}},{key:"parseDecideResponse",value:function(e){var t,n=this;if(this.instance.featureFlags.setReloadingPaused(!1),this.instance.featureFlags._startReloadTimer(),0!==(null==e?void 0:e.status)){if(!Ue||!Ue.body)return Ze.info("document not ready yet, trying again in 500 milliseconds..."),void setTimeout((function(){n.parseDecideResponse(e)}),500);this.instance.toolbar.afterDecideResponse(e),null===(t=this.instance.sessionRecording)||void 0===t||t.afterDecideResponse(e),Kt.afterDecideResponse(e,this.instance),this.instance._afterDecideResponse(e),this.instance.config.advanced_disable_feature_flags_on_first_load||this.instance.config.advanced_disable_feature_flags||this.instance.featureFlags.receivedFeatureFlags(e);var r=null==He?void 0:He.extendPostHogWithSurveys;e.surveys&&!r&&dt(this.instance.config.api_host+"/static/surveys.js",(function(e){if(e)return Ze.error("Could not load surveys script",e);He.extendPostHogWithSurveys(n.instance)}));var o=null==He?void 0:He.extendPostHogWithExceptionAutoCapture;if(e.autocaptureExceptions&&e.autocaptureExceptions&&Te(o)&&dt(this.instance.config.api_host+"/static/exception-autocapture.js",(function(t){if(t)return Ze.error("Could not load exception autocapture script",t);He.extendPostHogWithExceptionAutocapture(n.instance,e)})),e.siteApps)if(this.instance.config.opt_in_site_apps){var i,a=this.instance.config.api_host,s=Ce(e.siteApps);try{var l=function(){var e=i.value,t=e.id,r=e.url,o=[a,"/"===a[a.length-1]&&"/"===r[0]?r.substring(1):r].join("");Ye["__$$ph_site_app_".concat(t)]=n.instance,dt(o,(function(e){e&&Ze.error("Error while initializing PostHog app with config id ".concat(t),e)}))};for(s.s();!(i=s.n()).done;)l()}catch(e){s.e(e)}finally{s.f()}}else e.siteApps.length>0&&Ze.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.')}else Ze.error("Failed to fetch feature flags from PostHog.")}}]),e}(),tr=["https://app.posthog.com","https://eu.posthog.com"],nr=["source"],rr=null!=He&&He.location?Cn(He.location.hash,"__posthog")||Cn(location.hash,"state"):null,or=function(){function e(t){fe(this,e),this.instance=t}return me(e,[{key:"afterDecideResponse",value:function(e){var t=e.toolbarParams||e.editorParams||(e.toolbarVersion?{toolbarVersion:e.toolbarVersion}:{});e.isAuthenticated&&t.toolbarVersion&&0===t.toolbarVersion.indexOf("toolbar")&&this.loadToolbar(de({},t))}},{key:"maybeLoadToolbar",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;if(!He||!Ue)return!1;n=null!==(e=n)&&void 0!==e?e:He.location,o=null!==(t=o)&&void 0!==t?t:He.history;try{if(!r){try{He.localStorage.setItem("test","test"),He.localStorage.removeItem("test")}catch(e){return!1}r=null==He?void 0:He.localStorage}var i,a=rr||Cn(n.hash,"__posthog")||Cn(n.hash,"state"),s=a?ot((function(){return JSON.parse(atob(decodeURIComponent(a)))}))||ot((function(){return JSON.parse(decodeURIComponent(a))})):null;return s&&"ph_authorize"===s.action?((i=s).source="url",i&&Object.keys(i).length>0&&(s.desiredHash?n.hash=s.desiredHash:o?o.replaceState("",Ue.title,n.pathname+n.search):n.hash="")):((i=JSON.parse(r.getItem("_postHogToolbarParams")||"{}")).source="localstorage",delete i.userIntent),!(!i.token||this.instance.config.token!==i.token)&&(this.loadToolbar(i),!0)}catch(e){return!1}}},{key:"loadToolbar",value:function(e){var t=this;if(!He||Ye._postHogToolbarLoaded)return!1;Ye._postHogToolbarLoaded=!0;var n=this.instance.config.api_host,r=3e5,o=Math.floor(Date.now()/r)*r,i="".concat(n).concat(n.endsWith("/")?"":"/","static/toolbar.js?t=").concat(o),a=!tr.includes(this.instance.config.api_host)&&this.instance.config.advanced_disable_toolbar_metrics,s=de(de({token:this.instance.config.token},e),{},{apiURL:n},a?{instrument:!1}:{});s.source;var l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(s,nr);return He.localStorage.setItem("_postHogToolbarParams",JSON.stringify(l)),dt(i,(function(e){e?Ze.error("Failed to load toolbar",e):(Ye.ph_load_toolbar||Ye.ph_load_editor)(s,t.instance)})),ct(He,"turbolinks:load",(function(){Ye._postHogToolbarLoaded=!1,t.loadToolbar(s)})),!0}},{key:"_loadEditor",value:function(e){return this.loadToolbar(e)}},{key:"maybeLoadEditor",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return this.maybeLoadToolbar(e,t,n)}}]),e}(),ir=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e3;fe(this,e),this.isPolling=!0,this._event_queue=[],this._empty_queue_count=0,this._poller=void 0,this._pollInterval=t}return me(e,[{key:"setPollInterval",value:function(e){this._pollInterval=e,this.isPolling&&this.poll()}},{key:"poll",value:function(){}},{key:"unload",value:function(){}},{key:"getTime",value:function(){return(new Date).getTime()}}]),e}(),ar=function(){ve(t,ir);var e=be(t);function t(n){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e3;return fe(this,t),(r=e.call(this,o)).handlePollRequest=n,r}return me(t,[{key:"enqueue",value:function(e,t,n){this._event_queue.push({url:e,data:t,options:n}),this.isPolling||(this.isPolling=!0,this.poll())}},{key:"poll",value:function(){var e=this;clearTimeout(this._poller),this._poller=setTimeout((function(){if(e._event_queue.length>0){var t=e.formatQueue(),n=function(n){var r=t[n],o=r.url,i=r.data,a=r.options;Je(i,(function(t,n){i[n].offset=Math.abs(i[n].timestamp-e.getTime()),delete i[n].timestamp})),e.handlePollRequest(o,i,a)};for(var r in t)n(r);e._event_queue.length=0,e._empty_queue_count=0}else e._empty_queue_count++;e._empty_queue_count>4&&(e.isPolling=!1,e._empty_queue_count=0),e.isPolling&&e.poll()}),this._pollInterval)}},{key:"unload",value:function(){var e=this;clearTimeout(this._poller);var t=this._event_queue.length>0?this.formatQueue():{};this._event_queue.length=0;var n=Object.values(t);[].concat(we(n.filter((function(e){return 0===e.url.indexOf("/e")}))),we(n.filter((function(e){return 0!==e.url.indexOf("/e")})))).map((function(t){var n=t.url,r=t.data,o=t.options;e.handlePollRequest(n,r,de(de({},o),{},{transport:"sendBeacon"}))}))}},{key:"formatQueue",value:function(){var e={};return Je(this._event_queue,(function(t){var n=t.url,r=t.data,o=t.options,i=(o?o._batchKey:null)||n;Te(e[i])&&(e[i]={data:[],url:n,options:o}),o&&e[i].options&&e[i].options._metrics&&!e[i].options._metrics.rrweb_full_snapshot&&(e[i].options._metrics.rrweb_full_snapshot=o._metrics.rrweb_full_snapshot),e[i].data.push(r)})),e}}]),t}(),sr=Uint8Array,lr=Uint16Array,ur=Uint32Array,cr=new sr([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]),dr=new sr([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]),pr=new sr([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),fr=function(e,t){for(var n=new lr(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];var o=new ur(n[30]);for(r=1;r<30;++r)for(var i=n[r];i<n[r+1];++i)o[i]=i-n[r]<<5|r;return[n,o]},hr=fr(cr,2),mr=hr[0],gr=hr[1];mr[28]=258,gr[258]=28;for(var vr=fr(dr,0)[1],yr=new lr(32768),xr=0;xr<32768;++xr){var br=(43690&xr)>>>1|(21845&xr)<<1;br=(61680&(br=(52428&br)>>>2|(13107&br)<<2))>>>4|(3855&br)<<4,yr[xr]=((65280&br)>>>8|(255&br)<<8)>>>1}var kr=function(e,t,n){for(var r=e.length,o=0,i=new lr(t);o<r;++o)++i[e[o]-1];var a,s=new lr(t);for(o=0;o<t;++o)s[o]=s[o-1]+i[o-1]<<1;if(n){a=new lr(1<<t);var l=15-t;for(o=0;o<r;++o)if(e[o])for(var u=o<<4|e[o],c=t-e[o],d=s[e[o]-1]++<<c,p=d|(1<<c)-1;d<=p;++d)a[yr[d]>>>l]=u}else for(a=new lr(r),o=0;o<r;++o)a[o]=yr[s[e[o]-1]++]>>>15-e[o];return a},wr=new sr(288);for(xr=0;xr<144;++xr)wr[xr]=8;for(xr=144;xr<256;++xr)wr[xr]=9;for(xr=256;xr<280;++xr)wr[xr]=7;for(xr=280;xr<288;++xr)wr[xr]=8;var Er=new sr(32);for(xr=0;xr<32;++xr)Er[xr]=5;var _r,Cr=kr(wr,9,0),Sr=kr(Er,5,0),Dr=function(e){return(e/8|0)+(7&e&&1)},jr=function(e,t,n){(null==t||t<0)&&(t=0),(null==n||n>e.length)&&(n=e.length);var r=new(e instanceof lr?lr:e instanceof ur?ur:sr)(n-t);return r.set(e.subarray(t,n)),r},Ar=function(e,t,n){n<<=7&t;var r=t/8|0;e[r]|=n,e[r+1]|=n>>>8},Pr=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},Lr=function(e,t){for(var n=[],r=0;r<e.length;++r)e[r]&&n.push({s:r,f:e[r]});var o=n.length,i=n.slice();if(!o)return[new sr(0),0];if(1==o){var a=new sr(n[0].s+1);return a[n[0].s]=1,[a,1]}n.sort((function(e,t){return e.f-t.f})),n.push({s:-1,f:25001});var s=n[0],l=n[1],u=0,c=1,d=2;for(n[0]={s:-1,f:s.f+l.f,l:s,r:l};c!=o-1;)s=n[n[u].f<n[d].f?u++:d++],l=n[u!=c&&n[u].f<n[d].f?u++:d++],n[c++]={s:-1,f:s.f+l.f,l:s,r:l};var p=i[0].s;for(r=1;r<o;++r)i[r].s>p&&(p=i[r].s);var f=new lr(p+1),h=Mr(n[c-1],f,0);if(h>t){r=0;var m=0,g=h-t,v=1<<g;for(i.sort((function(e,t){return f[t.s]-f[e.s]||e.f-t.f}));r<o;++r){var y=i[r].s;if(!(f[y]>t))break;m+=v-(1<<h-f[y]),f[y]=t}for(m>>>=g;m>0;){var x=i[r].s;f[x]<t?m-=1<<t-f[x]++-1:++r}for(;r>=0&&m;--r){var b=i[r].s;f[b]==t&&(--f[b],++m)}h=t}return[new sr(f),h]},Mr=function e(t,n,r){return-1==t.s?Math.max(e(t.l,n,r+1),e(t.r,n,r+1)):n[t.s]=r},Nr=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new lr(++t),r=0,o=e[0],i=1,a=function(e){n[r++]=e},s=1;s<=t;++s)if(e[s]==o&&s!=t)++i;else{if(!o&&i>2){for(;i>138;i-=138)a(32754);i>2&&(a(i>10?i-11<<5|28690:i-3<<5|12305),i=0)}else if(i>3){for(a(o),--i;i>6;i-=6)a(8304);i>2&&(a(i-3<<5|8208),i=0)}for(;i--;)a(o);i=1,o=e[s]}return[n.subarray(0,r),t]},Or=function(e,t){for(var n=0,r=0;r<t.length;++r)n+=e[r]*t[r];return n},Tr=function(e,t,n){var r=n.length,o=Dr(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)},Fr=function(e,t,n,r,o,i,a,s,l,u,c){Ar(t,c++,n),++o[256];for(var d=Lr(o,15),p=d[0],f=d[1],h=Lr(i,15),m=h[0],g=h[1],v=Nr(p),y=v[0],x=v[1],b=Nr(m),k=b[0],w=b[1],E=new lr(19),_=0;_<y.length;++_)E[31&y[_]]++;for(_=0;_<k.length;++_)E[31&k[_]]++;for(var C=Lr(E,7),S=C[0],D=C[1],j=19;j>4&&!S[pr[j-1]];--j);var A,P,L,M,N=u+5<<3,O=Or(o,wr)+Or(i,Er)+a,T=Or(o,p)+Or(i,m)+a+14+3*j+Or(E,S)+(2*E[16]+3*E[17]+7*E[18]);if(N<=O&&N<=T)return Tr(t,c,e.subarray(l,l+u));if(Ar(t,c,1+(T<O)),c+=2,T<O){A=kr(p,f,0),P=p,L=kr(m,g,0),M=m;var F=kr(S,D,0);for(Ar(t,c,x-257),Ar(t,c+5,w-1),Ar(t,c+10,j-4),c+=14,_=0;_<j;++_)Ar(t,c+3*_,S[pr[_]]);c+=3*j;for(var R=[y,k],I=0;I<2;++I){var B=R[I];for(_=0;_<B.length;++_){var W=31&B[_];Ar(t,c,F[W]),c+=S[W],W>15&&(Ar(t,c,B[_]>>>5&127),c+=B[_]>>>12)}}}else A=Cr,P=wr,L=Sr,M=Er;for(_=0;_<s;++_)if(r[_]>255){W=r[_]>>>18&31,Pr(t,c,A[W+257]),c+=P[W+257],W>7&&(Ar(t,c,r[_]>>>23&31),c+=cr[W]);var z=31&r[_];Pr(t,c,L[z]),c+=M[z],z>3&&(Pr(t,c,r[_]>>>5&8191),c+=dr[z])}else Pr(t,c,A[r[_]]),c+=P[r[_]];return Pr(t,c,A[256]),c+P[256]},Rr=new ur([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Ir=new sr(0),Br=function(){for(var e=new ur(256),t=0;t<256;++t){for(var n=t,r=9;--r;)n=(1&n&&3988292384)^n>>>1;e[t]=n}return e}(),Wr=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8};function zr(e,t){void 0===t&&(t={});var n=function(){var e=4294967295;return{p:function(t){for(var n=e,r=0;r<t.length;++r)n=Br[255&n^t[r]]^n>>>8;e=n},d:function(){return 4294967295^e}}}(),r=e.length;n.p(e);var o=function(e,t,n,r,o){return function(e,t,n,r,o,i){var a=e.length,s=new sr(r+a+5*(1+Math.floor(a/7e3))+o),l=s.subarray(r,s.length-o),u=0;if(!t||a<8)for(var c=0;c<=a;c+=65535){var d=c+65535;d<a?u=Tr(l,u,e.subarray(c,d)):(l[c]=i,u=Tr(l,u,e.subarray(c,a)))}else{for(var p=Rr[t-1],f=p>>>13,h=8191&p,m=(1<<n)-1,g=new lr(32768),v=new lr(m+1),y=Math.ceil(n/3),x=2*y,b=function(t){return(e[t]^e[t+1]<<y^e[t+2]<<x)&m},k=new ur(25e3),w=new lr(288),E=new lr(32),_=0,C=0,S=(c=0,0),D=0,j=0;c<a;++c){var A=b(c),P=32767&c,L=v[A];if(g[P]=L,v[A]=P,D<=c){var M=a-c;if((_>7e3||S>24576)&&M>423){u=Fr(e,l,0,k,w,E,C,S,j,c-j,u),S=_=C=0,j=c;for(var N=0;N<286;++N)w[N]=0;for(N=0;N<30;++N)E[N]=0}var O=2,T=0,F=h,R=P-L&32767;if(M>2&&A==b(c-R))for(var I=Math.min(f,M)-1,B=Math.min(32767,c),W=Math.min(258,M);R<=B&&--F&&P!=L;){if(e[c+O]==e[c+O-R]){for(var z=0;z<W&&e[c+z]==e[c+z-R];++z);if(z>O){if(O=z,T=R,z>I)break;var $=Math.min(R,z-2),H=0;for(N=0;N<$;++N){var V=c-R+N+32768&32767,U=V-g[V]+32768&32767;U>H&&(H=U,L=V)}}}R+=(P=L)-(L=g[P])+32768&32767}if(T){k[S++]=268435456|gr[O]<<18|vr[T];var q=31&gr[O],Y=31&vr[T];C+=cr[q]+dr[Y],++w[257+q],++E[Y],D=c+O,++_}else k[S++]=e[c],++w[e[c]]}}u=Fr(e,l,i,k,w,E,C,S,j,c-j,u),i||(u=Tr(l,u,Ir))}return jr(s,0,r+Dr(u)+o)}(e,null==t.level?6:t.level,null==t.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):12+t.mem,n,r,!o)}(e,t,function(e){return 10+(e.filename&&e.filename.length+1||0)}(t),8),i=o.length;return function(e,t){var n=t.filename;if(e[0]=31,e[1]=139,e[2]=8,e[8]=t.level<2?4:9==t.level?2:0,e[9]=3,0!=t.mtime&&Wr(e,4,Math.floor(new Date(t.mtime||Date.now())/1e3)),n){e[3]=8;for(var r=0;r<=n.length;++r)e[r+10]=n.charCodeAt(r)}}(o,t),Wr(o,i-8,n.d()),Wr(o,i-4,r),o}function $r(e,t){var n=e.length;if(!t&&"undefined"!=typeof TextEncoder)return(new TextEncoder).encode(e);for(var r=new sr(e.length+(e.length>>>1)),o=0,i=function(e){r[o++]=e},a=0;a<n;++a){if(o+5>r.length){var s=new sr(o+8+(n-a<<1));s.set(r),r=s}var l=e.charCodeAt(a);l<128||t?i(l):l<2048?(i(192|l>>>6),i(128|63&l)):l>55295&&l<57344?(i(240|(l=65536+(1047552&l)|1023&e.charCodeAt(++a))>>>18),i(128|l>>>12&63),i(128|l>>>6&63),i(128|63&l)):(i(224|l>>>12),i(128|l>>>6&63),i(128|63&l))}return jr(r,0,o)}!function(e){e.GZipJS="gzip-js",e.Base64="base64"}(_r||(_r={}));var Hr=function(e,t,n){var r=t||{};r.ip=n.ip?1:0,r._=(new Date).getTime().toString(),r.ver=Se.LIB_VERSION;var o=e.split("?");if(o.length>1){var i,a=Ce(o[1].split("&"));try{for(a.s();!(i=a.n()).done;){var s=i.value.split("=")[0];Te(r[s])||delete r[s]}}catch(e){a.e(e)}finally{a.f()}}var l=e.indexOf("?")>-1?"&":"?";return e+l+function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"&",o=[];return Je(e,(function(e,r){Te(e)||Te(r)||"undefined"===r||(t=encodeURIComponent(e.toString()),n=encodeURIComponent(r),o[o.length]=n+"="+t)})),o.join(r)}(r)},Vr=function e(t,n){if(n.blob&&t.buffer)return new Blob([Me(t)?t:t.buffer],{type:"text/plain"});if(n.sendBeacon||n.blob){var r=e(t,{method:"POST"});return new Blob([r],{type:"application/x-www-form-urlencoded"})}return"POST"!==n.method?null:(o=Le(t)||Me(t)?"data="+encodeURIComponent(t):"data="+encodeURIComponent(t.data),"compression"in t&&t.compression&&(o+="&compression="+t.compression),o);var o},Ur=function(e){var t=e.url,n=e.data,r=e.headers,o=e.options,i=e.callback,a=e.retriesPerformedSoFar,s=e.retryQueue,l=e.onXHRError,u=e.timeout,c=void 0===u?6e4:u,d=e.onResponse;Ie(a)&&a>0&&(t=Hr(t,{retry_count:a},{}));var p=new XMLHttpRequest;p.open(o.method||"GET",t,!0);var f=Vr(n,o);Je(r,(function(e,t){p.setRequestHeader(t,e)})),"POST"!==o.method||o.blob||p.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),p.timeout=c,p.withCredentials=!0,p.onreadystatechange=function(){if(4===p.readyState)if(null==d||d(p),200===p.status){if(i){var e;try{e=JSON.parse(p.responseText)}catch(e){return void Ze.error(e)}i(e)}}else Ne(l)&&l(p),(p.status<400||p.status>500)&&s.enqueue({url:t,data:n,options:o,headers:r,retriesPerformedSoFar:(a||0)+1,callback:i}),null==i||i({status:0})},p.send(f)},qr=function(){ve(t,ir);var e=be(t);function t(n,r){var o;return fe(this,t),(o=e.call(this)).isPolling=!1,o.queue=[],o.areWeOnline=!0,o.onXHRError=n,o.rateLimiter=r,!Te(He)&&"onLine"in He.navigator&&(o.areWeOnline=He.navigator.onLine,He.addEventListener("online",(function(){o._handleWeAreNowOnline()})),He.addEventListener("offline",(function(){o.areWeOnline=!1}))),o}return me(t,[{key:"enqueue",value:function(e){var t=e.retriesPerformedSoFar||0;if(!(t>=10)){var n=function(e){var t=3e3*Math.pow(2,e),n=t/2,r=Math.min(18e5,t),o=(Math.random()-.5)*(r-n);return Math.ceil(r+o)}(t),r=new Date(Date.now()+n);this.queue.push({retryAt:r,requestData:e});var o="Enqueued failed request for retry in ".concat(n);navigator.onLine||(o+=" (Browser is offline)"),Ze.warn(o),this.isPolling||(this.isPolling=!0,this.poll())}}},{key:"poll",value:function(){var e=this;this._poller&&clearTimeout(this._poller),this._poller=setTimeout((function(){e.areWeOnline&&e.queue.length>0&&e.flush(),e.poll()}),this._pollInterval)}},{key:"flush",value:function(){var e=new Date(Date.now()),t=this.queue.filter((function(t){return t.retryAt<e}));if(t.length>0){this.queue=this.queue.filter((function(t){return t.retryAt>=e}));var n,r=Ce(t);try{for(r.s();!(n=r.n()).done;){var o=n.value.requestData;this._executeXhrRequest(o)}}catch(e){r.e(e)}finally{r.f()}}}},{key:"unload",value:function(){this._poller&&(clearTimeout(this._poller),this._poller=void 0);var e,t=Ce(this.queue);try{for(t.s();!(e=t.n()).done;){var n=e.value.requestData,r=n.url,o=n.data,i=n.options;if(this.rateLimiter.isRateLimited(i._batchKey))Ze.warn("[RetryQueue] is quota limited. Dropping request.");else try{null==He||He.navigator.sendBeacon(r,Vr(o,de(de({},i),{},{sendBeacon:!0})))}catch(e){Ze.error(e)}}}catch(e){t.e(e)}finally{t.f()}this.queue=[]}},{key:"_executeXhrRequest",value:function(e){var t=e.url,n=e.data,r=e.options,o=e.headers,i=e.callback,a=e.retriesPerformedSoFar;this.rateLimiter.isRateLimited(r._batchKey)||Ur({url:t,data:n||{},options:r||{},headers:o||{},retriesPerformedSoFar:a||0,callback:i,retryQueue:this,onXHRError:this.onXHRError,onResponse:this.rateLimiter.checkForLimiting})}},{key:"_handleWeAreNowOnline",value:function(){this.areWeOnline=!0,this.flush()}}]),t}(),Yr=1800,Gr=function(){function e(t,n,r,o){fe(this,e),ge(this,"_sessionIdChangedHandlers",[]),this.config=t,this.persistence=n,this._windowId=void 0,this._sessionId=void 0,this._sessionStartTimestamp=null,this._sessionActivityTimestamp=null,this._sessionIdGenerator=r||un,this._windowIdGenerator=o||un;var i=t.persistence_name||t.token,a=t.session_idle_timeout_seconds||Yr;if(Ie(a)?a>Yr?Ze.warn("session_idle_timeout_seconds cannot be  greater than 30 minutes. Using 30 minutes instead."):a<60&&Ze.warn("session_idle_timeout_seconds cannot be less than 60 seconds. Using 60 seconds instead."):(Ze.warn("session_idle_timeout_seconds must be a number. Defaulting to 30 minutes."),a=Yr),this._sessionTimeoutMs=1e3*Math.min(Math.max(a,60),Yr),this._window_id_storage_key="ph_"+i+"_window_id",this._primary_window_exists_storage_key="ph_"+i+"_primary_window_exists",this._canUseSessionStorage()){var s=kn.parse(this._window_id_storage_key),l=kn.parse(this._primary_window_exists_storage_key);s&&!l?this._windowId=s:kn.remove(this._window_id_storage_key),kn.set(this._primary_window_exists_storage_key,!0)}this._listenToReloadWindow()}return me(e,[{key:"onSessionId",value:function(e){var t=this;return Te(this._sessionIdChangedHandlers)&&(this._sessionIdChangedHandlers=[]),this._sessionIdChangedHandlers.push(e),this._sessionId&&e(this._sessionId,this._windowId),function(){t._sessionIdChangedHandlers=t._sessionIdChangedHandlers.filter((function(t){return t!==e}))}}},{key:"_canUseSessionStorage",value:function(){return"memory"!==this.config.persistence&&!this.persistence.disabled&&kn.is_supported()}},{key:"_setWindowId",value:function(e){e!==this._windowId&&(this._windowId=e,this._canUseSessionStorage()&&kn.set(this._window_id_storage_key,e))}},{key:"_getWindowId",value:function(){return this._windowId?this._windowId:this._canUseSessionStorage()?kn.parse(this._window_id_storage_key):null}},{key:"_setSessionId",value:function(e,t,n){e===this._sessionId&&t===this._sessionActivityTimestamp&&n===this._sessionStartTimestamp||(this._sessionStartTimestamp=n,this._sessionActivityTimestamp=t,this._sessionId=e,this.persistence.register(ge({},Rt,[t,e,n])))}},{key:"_getSessionId",value:function(){if(this._sessionId&&this._sessionActivityTimestamp&&this._sessionStartTimestamp)return[this._sessionActivityTimestamp,this._sessionId,this._sessionStartTimestamp];var e=this.persistence.props[Rt];return Le(e)&&2===e.length&&e.push(e[0]),e||[0,null,0]}},{key:"resetSessionId",value:function(){this._setSessionId(null,null,null)}},{key:"_listenToReloadWindow",value:function(){var e=this;null==He||He.addEventListener("beforeunload",(function(){e._canUseSessionStorage()&&kn.remove(e._primary_window_exists_storage_key)}))}},{key:"checkAndGetSessionAndWindowId",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:null)||(new Date).getTime(),n=ke(this._getSessionId(),3),r=n[0],o=n[1],i=n[2],a=this._getWindowId(),s=i&&i>0&&Math.abs(t-i)>864e5,l=!1,u=!o,c=!e&&Math.abs(t-r)>this._sessionTimeoutMs;u||c||s?(o=this._sessionIdGenerator(),a=this._windowIdGenerator(),Ze.info("[SessionId] new session ID generated",{sessionId:o,windowId:a,changeReason:{noSessionId:u,activityTimeout:c,sessionPastMaximumLength:s}}),i=t,l=!0):a||(a=this._windowIdGenerator(),l=!0);var d=0===r||!e||s?t:r,p=0===i?(new Date).getTime():i;return this._setWindowId(a),this._setSessionId(o,d,p),l&&this._sessionIdChangedHandlers.forEach((function(e){return e(o,a)})),{sessionId:o,windowId:a,sessionStartTimestamp:p}}}]),e}(),Zr=me((function e(t,n,r,o){fe(this,e),this.name="posthog-js",this.setupOnce=function(e){e((function(e){var i,a,s,l,u;if("error"!==e.level||!t.__loaded)return e;e.tags||(e.tags={});var c=t.config.ui_host||t.config.api_host;e.tags["PostHog Person URL"]=c+"/person/"+t.get_distinct_id(),t.sessionRecordingStarted()&&(e.tags["PostHog Recording URL"]=t.get_session_replay_url({withTimestamp:!0}));var d=(null===(i=e.exception)||void 0===i?void 0:i.values)||[],p={$exception_message:null===(a=d[0])||void 0===a?void 0:a.value,$exception_type:null===(s=d[0])||void 0===s?void 0:s.type,$exception_personURL:c+"/person/"+t.get_distinct_id(),$sentry_event_id:e.event_id,$sentry_exception:e.exception,$sentry_exception_message:null===(l=d[0])||void 0===l?void 0:l.value,$sentry_exception_type:null===(u=d[0])||void 0===u?void 0:u.type,$sentry_tags:e.tags};return n&&r&&(p.$sentry_url=(o||"https://sentry.io/organizations/")+n+"/issues/?project="+r+"&query="+e.event_id),t.capture("$exception",p),e}))}})),Kr=function(){function e(t){var n=this;fe(this,e),ge(this,"_hasSeenPageView",!1),ge(this,"_updateScrollData",(function(){var e,t,r,o;n._pageViewData||(n._pageViewData=n._createPageViewData());var i=n._pageViewData,a=n._scrollY(),s=n._scrollHeight(),l=n._contentY(),u=n._contentHeight();i.lastScrollY=a,i.maxScrollY=Math.max(a,null!==(e=i.maxScrollY)&&void 0!==e?e:0),i.maxScrollHeight=Math.max(s,null!==(t=i.maxScrollHeight)&&void 0!==t?t:0),i.lastContentY=l,i.maxContentY=Math.max(l,null!==(r=i.maxContentY)&&void 0!==r?r:0),i.maxContentHeight=Math.max(u,null!==(o=i.maxContentHeight)&&void 0!==o?o:0)})),this._instance=t}return me(e,[{key:"_createPageViewData",value:function(){var e;return{pathname:null!==(e=null==He?void 0:He.location.pathname)&&void 0!==e?e:""}}},{key:"doPageView",value:function(){var e,t;return this._hasSeenPageView?(t=this._pageViewData,this._pageViewData=this._createPageViewData()):(this._hasSeenPageView=!0,t=void 0,this._pageViewData||(this._pageViewData=this._createPageViewData())),setTimeout(this._updateScrollData,0),de({$prev_pageview_pathname:null===(e=t)||void 0===e?void 0:e.pathname},this._calculatePrevPageScrollProperties(t))}},{key:"doPageLeave",value:function(){var e=this._pageViewData;return de({$prev_pageview_pathname:null==e?void 0:e.pathname},this._calculatePrevPageScrollProperties(e))}},{key:"_calculatePrevPageScrollProperties",value:function(e){if(!e||null==e.maxScrollHeight||null==e.lastScrollY||null==e.maxScrollY||null==e.maxContentHeight||null==e.lastContentY||null==e.maxContentY)return{};var t=e.maxScrollHeight,n=e.lastScrollY,r=e.maxScrollY,o=e.maxContentHeight,i=e.lastContentY,a=e.maxContentY;return t=Math.ceil(t),n=Math.ceil(n),r=Math.ceil(r),o=Math.ceil(o),i=Math.ceil(i),a=Math.ceil(a),{$prev_pageview_last_scroll:n,$prev_pageview_last_scroll_percentage:t<=1?1:Qr(n/t,0,1),$prev_pageview_max_scroll:r,$prev_pageview_max_scroll_percentage:t<=1?1:Qr(r/t,0,1),$prev_pageview_last_content:i,$prev_pageview_last_content_percentage:o<=1?1:Qr(i/o,0,1),$prev_pageview_max_content:a,$prev_pageview_max_content_percentage:o<=1?1:Qr(a/o,0,1)}}},{key:"startMeasuringScrollPosition",value:function(){null==He||He.addEventListener("scroll",this._updateScrollData,!0),null==He||He.addEventListener("scrollend",this._updateScrollData,!0),null==He||He.addEventListener("resize",this._updateScrollData)}},{key:"stopMeasuringScrollPosition",value:function(){null==He||He.removeEventListener("scroll",this._updateScrollData),null==He||He.removeEventListener("scrollend",this._updateScrollData),null==He||He.removeEventListener("resize",this._updateScrollData)}},{key:"_scrollElement",value:function(){if(!this._instance.config.scroll_root_selector)return null==He?void 0:He.document.documentElement;var e,t=Ce(Le(this._instance.config.scroll_root_selector)?this._instance.config.scroll_root_selector:[this._instance.config.scroll_root_selector]);try{for(t.s();!(e=t.n()).done;){var n=e.value,r=null==He?void 0:He.document.querySelector(n);if(r)return r}}catch(e){t.e(e)}finally{t.f()}}},{key:"_scrollHeight",value:function(){var e=this._scrollElement();return e?Math.max(0,e.scrollHeight-e.clientHeight):0}},{key:"_scrollY",value:function(){if(this._instance.config.scroll_root_selector){var e=this._scrollElement();return e&&e.scrollTop||0}return He&&(He.scrollY||He.pageYOffset||He.document.documentElement.scrollTop)||0}},{key:"_contentHeight",value:function(){var e=this._scrollElement();return(null==e?void 0:e.scrollHeight)||0}},{key:"_contentY",value:function(){var e=this._scrollElement(),t=(null==e?void 0:e.clientHeight)||0;return this._scrollY()+t}}]),e}();function Qr(e,t,n){return Math.max(t,Math.min(e,n))}var Xr,Jr,eo,to={icontains:function(e){return!!He&&He.location.href.toLowerCase().indexOf(e.toLowerCase())>-1},regex:function(e){return!!He&&function(e,t){return!!function(e){try{new RegExp(e)}catch(e){return!1}return!0}(t)&&new RegExp(t).test(e)}(He.location.href,e)},exact:function(e){return(null==He?void 0:He.location.href)===e}},no=function(){function e(t){fe(this,e),this.instance=t}return me(e,[{key:"getSurveys",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.instance.get_property(Ht);if(r&&!n)return e(r);this.instance._send_request("".concat(this.instance.config.api_host,"/api/surveys/?token=").concat(this.instance.config.token),{},{method:"GET"},(function(n){var r,o=n.surveys||[];return null===(r=t.instance.persistence)||void 0===r||r.register(ge({},Ht,o)),e(o)}))}},{key:"getActiveMatchingSurveys",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.getSurveys((function(n){var r=n.filter((function(e){return!(!e.start_date||e.end_date)})).filter((function(e){var t,n,r,o;if(!e.conditions)return!0;var i=null===(t=e.conditions)||void 0===t||!t.url||to[null!==(n=null===(r=e.conditions)||void 0===r?void 0:r.urlMatchType)&&void 0!==n?n:"icontains"](e.conditions.url),a=null===(o=e.conditions)||void 0===o||!o.selector||(null==Ue?void 0:Ue.querySelector(e.conditions.selector));return i&&a})).filter((function(e){if(!e.linked_flag_key&&!e.targeting_flag_key)return!0;var n=!e.linked_flag_key||t.instance.featureFlags.isFeatureEnabled(e.linked_flag_key),r=!e.targeting_flag_key||t.instance.featureFlags.isFeatureEnabled(e.targeting_flag_key);return n&&r}));return e(r)}),n)}}]),e}(),ro=function(){function e(){var t=this;fe(this,e),ge(this,"limits",{}),ge(this,"checkForLimiting",(function(e){try{var n=e.responseText;if(!n||!n.length)return;(JSON.parse(n).quota_limited||[]).forEach((function(e){Ze.info("[RateLimiter] ".concat(e||"events"," is quota limited.")),t.limits[e]=(new Date).getTime()+6e4}))}catch(e){return void Ze.error(e)}}))}return me(e,[{key:"isRateLimited",value:function(e){var t=this.limits[e||"events"]||!1;return!1!==t&&(new Date).getTime()<t}}]),e}(),oo=function(){return de({initialPathName:(null==He?void 0:He.location.pathname)||"",referringDomain:Sn.referringDomain()},Sn.campaignParams())},io=function(){function e(t,n,r){var o=this;fe(this,e),ge(this,"_onSessionIdCallback",(function(e){var t=o._getStoredProps();if(!t||t.sessionId!==e){var n={sessionId:e,props:o._sessionSourceParamGenerator()};o._persistence.register(ge({},Yt,n))}})),this._sessionIdManager=t,this._persistence=n,this._sessionSourceParamGenerator=r||oo,this._sessionIdManager.onSessionId(this._onSessionIdCallback)}return me(e,[{key:"_getStoredProps",value:function(){return this._persistence.props[Yt]}},{key:"getSessionProps",value:function(){var e,t=null===(e=this._getStoredProps())||void 0===e?void 0:e.props;return t?{$client_session_initial_referring_host:t.referringDomain,$client_session_initial_pathname:t.initialPathName,$client_session_initial_utm_source:t.utm_source,$client_session_initial_utm_campaign:t.utm_campaign,$client_session_initial_utm_medium:t.utm_medium,$client_session_initial_utm_content:t.utm_content,$client_session_initial_utm_term:t.utm_term}:{}}}]),e}(),ao=["ahrefsbot","ahrefssiteaudit","applebot","baiduspider","bingbot","bingpreview","bot.htm","bot.php","crawler","duckduckbot","facebookexternal","facebookcatalog","gptbot","http://yandex.com/bots","hubspot","ia_archiver","linkedinbot","mj12bot","msnbot","nessus","petalbot","pinterest","prerender","rogerbot","screaming frog","semrushbot","sitebulb","slurp","turnitin","twitterbot","vercelbot","yahoo! slurp","yandexbot","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleweblight","mediapartners-google","storebot-google"],so=function(e,t){if(!e)return!1;var n=e.toLowerCase();return ao.concat(t||[]).some((function(e){var t=e.toLowerCase();return n.includes?n.includes(t):-1!==n.indexOf(t)}))};!function(e){e[e.INIT_MODULE=0]="INIT_MODULE",e[e.INIT_SNIPPET=1]="INIT_SNIPPET"}(Xr||(Xr={}));var lo=function(){},uo={},co="posthog",po=(null==He?void 0:He.XMLHttpRequest)&&"withCredentials"in new XMLHttpRequest,fo=!po&&-1===(null==qe?void 0:qe.indexOf("MSIE"))&&-1===(null==qe?void 0:qe.indexOf("Mozilla")),ho=function(){var e,t,n;return{api_host:"https://app.posthog.com",api_method:"POST",api_transport:"XHR",ui_host:null,token:"",autocapture:!0,rageclick:!0,cross_subdomain_cookie:(t=null==Ue?void 0:Ue.location,n=null==t?void 0:t.hostname,!!Fe(n)&&"herokuapp.com"!==n.split(".").slice(-2).join(".")),persistence:"localStorage+cookie",persistence_name:"",cookie_name:"",loaded:lo,store_google:!0,custom_campaign_params:[],custom_blocked_useragents:[],save_referrer:!0,capture_pageview:!0,capture_pageleave:!0,debug:!1,verbose:!1,cookie_expiration:365,upgrade:!1,disable_session_recording:!1,disable_persistence:!1,disable_cookie:!1,enable_recording_console_log:void 0,secure_cookie:"https:"===(null==He||null===(e=He.location)||void 0===e?void 0:e.protocol),ip:!0,opt_out_capturing_by_default:!1,opt_out_persistence_by_default:!1,opt_out_useragent_filter:!1,opt_out_capturing_persistence_type:"localStorage",opt_out_capturing_cookie_prefix:null,opt_in_site_apps:!1,property_blacklist:[],respect_dnt:!1,sanitize_properties:null,xhr_headers:{},inapp_protocol:"//",inapp_link_new_window:!1,request_batching:!0,properties_string_max_length:65535,session_recording:{},mask_all_element_attributes:!1,mask_all_text:!1,advanced_disable_decide:!1,advanced_disable_feature_flags:!1,advanced_disable_feature_flags_on_first_load:!1,advanced_disable_toolbar_metrics:!1,on_xhr_error:function(e){var t="Bad HTTP status: "+e.status+" "+e.statusText;Ze.error(t)},get_device_id:function(e){return e},_onCapture:lo,capture_performance:void 0,name:"posthog",callback_fn:"posthog._jsc",bootstrap:{},disable_compression:!1,session_idle_timeout_seconds:1800}},mo=function(e,t,n,r){var o,i=n!==co&&eo?n?eo[n]:void 0:eo,a={initComplete:!1,syncCode:!1},s=function(e){return function(t){a[e]||(a[e]=!0,a.initComplete&&a.syncCode&&(null==r||r(t)))}};if(i&&Jr===Xr.INIT_MODULE)o=i;else{if(i&&!Le(i))return void Ze.error("You have already initialized "+n);o=new vo}return o._init(e,t,n,s("initComplete")),o.toolbar.maybeLoadToolbar(),o.sessionRecording=new Jn(o),o.sessionRecording.startRecordingIfEnabled(),o.config.disable_scroll_properties||o.pageViewManager.startMeasuringScrollPosition(),o.__autocapture=o.config.autocapture,Kt._setIsAutocaptureEnabled(o),Kt._isAutocaptureEnabled&&(o.__autocapture=o.config.autocapture,Kt.enabledForProject(o.config.token,100,100)?Kt.isBrowserSupported()?Kt.init(o):(o.__autocapture=!1,Ze.info("Disabling Automatic Event Collection because this browser is not supported")):(o.__autocapture=!1,Ze.info("Not in active bucket: disabling Automatic Event Collection."))),Se.DEBUG=Se.DEBUG||o.config.debug,!Te(i)&&Le(i)&&(o._execute_array.call(o.people,i.people),o._execute_array(i)),s("syncCode")(o),o},go=function(){function e(){fe(this,e),ge(this,"__forceAllowLocalhost",!1)}return me(e,[{key:"_forceAllowLocalhost",get:function(){return this.__forceAllowLocalhost},set:function(e){Ze.error("WebPerformanceObserver is deprecated and has no impact on network capture. Use `_forceAllowLocalhostNetworkCapture` on `posthog.sessionRecording`"),this.__forceAllowLocalhost=e}}]),e}(),vo=function(){function e(){var t=this;fe(this,e),ge(this,"webPerformance",new go),this.config=ho(),this.compression={},this.decideEndpointWasHit=!1,this.SentryIntegration=Zr,this.segmentIntegration=function(){return function(e){Promise&&Promise.resolve||Ze.warn("This browser does not have Promise support, and can not use the segment integration");var t=function(t,n){t.event.userId||t.event.anonymousId===e.get_distinct_id()||e.reset(),t.event.userId&&t.event.userId!==e.get_distinct_id()&&(e.register({distinct_id:t.event.userId}),e.reloadFeatureFlags());var r=e._calculate_event_properties(n,t.event.properties);return t.event.properties=Object.assign({},r,t.event.properties),t};return{name:"PostHog JS",type:"enrichment",version:"1.0.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},track:function(e){return t(e,e.event.event)},page:function(e){return t(e,"$pageview")},identify:function(e){return t(e,"$identify")},screen:function(e){return t(e,"$screen")}}}(t)},this.__captureHooks=[],this.__request_queue=[],this.__loaded=!1,this.__loaded_recorder_version=void 0,this.__autocapture=void 0,this._jsc=function(){},this.analyticsDefaultEndpoint="/e/",this.elementsChainAsString=!1,this.featureFlags=new tn(this),this.toolbar=new or(this),this.pageViewManager=new Kr(this),this.surveys=new no(this),this.rateLimiter=new ro,this.people={set:function(e,n,r){var o=Fe(e)?ge({},e,n):e;t.setPersonProperties(o),null==r||r({})},set_once:function(e,n,r){var o=Fe(e)?ge({},e,n):e;t.setPersonProperties(void 0,o),null==r||r({})}}}return me(e,[{key:"init",value:function(e,t,n){if(Te(n))Ze.critical("You must name your new library: init(token, config, name)");else{if(n!==co){var r=mo(e,t,n,(function(e){eo[n]=e,e._loaded()}));return eo[n]=r,r}Ze.critical("You must initialize the main posthog object right after you include the PostHog js snippet")}}},{key:"_init",value:function(e){var t,n,r,o=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0,s=arguments.length>3?arguments[3]:void 0;this.__loaded=!0,this.config={},this._triggered_notifs=[];var l,u={segmentRegister:!1,syncCode:!1},c=function(e){return function(){u[e]||(u[e]=!0,u.segmentRegister&&u.syncCode&&(null==s||s(o)))}};if(this.set_config(et({},ho(),i,{name:a,token:e,callback_fn:(a===co?a:co+"."+a)+"._jsc"})),this._jsc=function(){},(null!=He&&null!==(t=He.rrweb)&&void 0!==t&&t.record||null!=He&&He.rrwebRecord)&&(this.__loaded_recorder_version=null==He||null===(l=He.rrweb)||void 0===l?void 0:l.version),this.persistence=new jn(this.config),this._requestQueue=new ar(this._handle_queued_event.bind(this)),this._retryQueue=new qr(this.config.on_xhr_error,this.rateLimiter),this.__captureHooks=[],this.__request_queue=[],this.sessionManager=new Gr(this.config,this.persistence),this.sessionPropsManager=new io(this.sessionManager,this.persistence),this.sessionPersistence="sessionStorage"===this.config.persistence?this.persistence:new jn(de(de({},this.config),{},{persistence:"sessionStorage"})),this._gdpr_init(),i.segment?(this.config.get_device_id=function(){return i.segment.user().anonymousId()},i.segment.user().id()&&(this.register({distinct_id:i.segment.user().id()}),this.persistence.set_user_state("identified")),i.segment.register(this.segmentIntegration()).then(c("segmentRegister"))):c("segmentRegister")(),void 0!==(null===(n=i.bootstrap)||void 0===n?void 0:n.distinctID)){var d,p,f=this.config.get_device_id(un()),h=null!==(d=i.bootstrap)&&void 0!==d&&d.isIdentifiedID?f:i.bootstrap.distinctID;this.persistence.set_user_state(null!==(p=i.bootstrap)&&void 0!==p&&p.isIdentifiedID?"identified":"anonymous"),this.register({distinct_id:i.bootstrap.distinctID,$device_id:h})}if(this._hasBootstrappedFeatureFlags()){var m,g,v=Object.keys((null===(m=i.bootstrap)||void 0===m?void 0:m.featureFlags)||{}).filter((function(e){var t,n;return!(null===(t=i.bootstrap)||void 0===t||null===(n=t.featureFlags)||void 0===n||!n[e])})).reduce((function(e,t){var n,r;return e[t]=(null===(n=i.bootstrap)||void 0===n||null===(r=n.featureFlags)||void 0===r?void 0:r[t])||!1,e}),{}),y=Object.keys((null===(g=i.bootstrap)||void 0===g?void 0:g.featureFlagPayloads)||{}).filter((function(e){return v[e]})).reduce((function(e,t){var n,r,o,a;return null!==(n=i.bootstrap)&&void 0!==n&&null!==(r=n.featureFlagPayloads)&&void 0!==r&&r[t]&&(e[t]=null===(o=i.bootstrap)||void 0===o||null===(a=o.featureFlagPayloads)||void 0===a?void 0:a[t]),e}),{});this.featureFlags.receivedFeatureFlags({featureFlags:v,featureFlagPayloads:y})}if(!this.get_distinct_id()){var x=this.config.get_device_id(un());this.register_once({distinct_id:x,$device_id:x},""),this.persistence.set_user_state("anonymous")}null==He||null===(r=He.addEventListener)||void 0===r||r.call(He,"onpagehide"in self?"pagehide":"unload",this._handle_unload.bind(this)),c("syncCode")()}},{key:"_afterDecideResponse",value:function(e){var t;if(this.compression={},e.supportedCompression&&!this.config.disable_compression){var n,r={},o=Ce(e.supportedCompression);try{for(o.s();!(n=o.n()).done;)r[n.value]=!0}catch(e){o.e(e)}finally{o.f()}this.compression=r}null!==(t=e.analytics)&&void 0!==t&&t.endpoint&&(this.analyticsDefaultEndpoint=e.analytics.endpoint),e.elementsChainAsString&&(this.elementsChainAsString=e.elementsChainAsString)}},{key:"_loaded",value:function(){var e=this.config.advanced_disable_decide;e||this.featureFlags.setReloadingPaused(!0);try{this.config.loaded(this)}catch(e){Ze.critical("`loaded` function failed",e)}this._start_queue_if_opted_in(),this.config.capture_pageview&&Ue&&this.capture("$pageview",{title:Ue.title},{send_instantly:!0}),e||(new er(this).call(),this.featureFlags.resetRequestQueue())}},{key:"_start_queue_if_opted_in",value:function(){var e;this.has_opted_out_capturing()||this.config.request_batching&&(null===(e=this._requestQueue)||void 0===e||e.poll())}},{key:"_dom_loaded",value:function(){var e=this;this.has_opted_out_capturing()||Xe(this.__request_queue,(function(t){e._send_request.apply(e,we(t))})),this.__request_queue=[],this._start_queue_if_opted_in()}},{key:"_prepare_callback",value:function(e,t){if(Te(e))return null;if(po)return function(n){e(n,t)};var n=this._jsc,r=""+Math.floor(1e8*Math.random()),o=this.config.callback_fn+"["+r+"]";return n[r]=function(o){delete n[r],e(o,t)},o}},{key:"_handle_unload",value:function(){var e,t;this.config.request_batching?(this.config.capture_pageview&&this.config.capture_pageleave&&this.capture("$pageleave"),null===(e=this._requestQueue)||void 0===e||e.unload(),null===(t=this._retryQueue)||void 0===t||t.unload()):this.config.capture_pageview&&this.config.capture_pageleave&&this.capture("$pageleave",null,{transport:"sendBeacon"})}},{key:"_handle_queued_event",value:function(e,t,n){var r=JSON.stringify(t);this.__compress_and_send_json_request(e,r,n||uo,lo)}},{key:"__compress_and_send_json_request",value:function(e,t,n,r){var o=function(e,t,n){return e===_r.GZipJS?[zr($r(t),{mtime:0}),de(de({},n),{},{blob:!0,urlQueryArgs:{compression:_r.GZipJS}})]:[{data:lt(t)},n]}(this.compression[_r.GZipJS]?_r.GZipJS:_r.Base64,t,n),i=ke(o,2),a=i[0],s=i[1];this._send_request(e,a,s,r)}},{key:"_send_request",value:function(e,t,n,r){if(this.__loaded&&this._retryQueue&&!this.rateLimiter.isRateLimited(n._batchKey))if(fo)this.__request_queue.push([e,t,n,r]);else{var o={method:this.config.api_method,transport:this.config.api_transport,verbose:this.config.verbose};n=et(o,n||{}),po||(n.method="GET");var i=He&&"sendBeacon"in He.navigator&&"sendBeacon"===n.transport;if(e=Hr(e,n.urlQueryArgs||{},{ip:this.config.ip}),i)try{null==He||He.navigator.sendBeacon(e,Vr(t,de(de({},n),{},{sendBeacon:!0})))}catch(e){}else if(po||!Ue)try{Ur({url:e,data:t,headers:this.config.xhr_headers,options:n,callback:r,retriesPerformedSoFar:0,retryQueue:this._retryQueue,onXHRError:this.config.on_xhr_error,onResponse:this.rateLimiter.checkForLimiting})}catch(e){Ze.error(e)}else{var a,s=Ue.createElement("script");s.type="text/javascript",s.async=!0,s.defer=!0,s.src=e;var l=Ue.getElementsByTagName("script")[0];null===(a=l.parentNode)||void 0===a||a.insertBefore(s,l)}}}},{key:"_execute_array",value:function(e){var t,n=this,r=[],o=[],i=[];Xe(e,(function(e){e&&(t=e[0],Le(t)?i.push(e):Ne(e)?e.call(n):Le(e)&&"alias"===t?r.push(e):Le(e)&&-1!==t.indexOf("capture")&&Ne(n[t])?i.push(e):o.push(e))}));var a=function(e,t){Xe(e,(function(e){if(Le(e[0])){var n=t;Je(e,(function(e){n=n[e[0]].apply(n,e.slice(1))}))}else this[e[0]].apply(this,e.slice(1))}),t)};a(r,this),a(o,this),a(i,this)}},{key:"_hasBootstrappedFeatureFlags",value:function(){var e,t;return(null===(e=this.config.bootstrap)||void 0===e?void 0:e.featureFlags)&&Object.keys(null===(t=this.config.bootstrap)||void 0===t?void 0:t.featureFlags).length>0||!1}},{key:"push",value:function(e){this._execute_array([e])}},{key:"capture",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:uo;if(!this.__loaded||!this.sessionPersistence||!this._requestQueue)return Ze.uninitializedWarning("posthog.capture");if(!Yn(this)){var r=(n=n||uo).transport;if(r&&(n.transport=r),!Te(e)&&Fe(e)){if(!qe||this.config.opt_out_useragent_filter||!so(qe,this.config.custom_blocked_useragents)){this.sessionPersistence.update_search_keyword(),this.config.store_google&&this.sessionPersistence.update_campaign_params(),this.config.save_referrer&&this.sessionPersistence.update_referrer_info();var o={uuid:un(),event:e,properties:this._calculate_event_properties(e,t||{})};"$identify"===e&&(o.$set=n.$set,o.$set_once=n.$set_once),(o=function(e,t){return n=e,r=function(e,n){return n&&st.indexOf(n)>-1?e:Fe(e)&&!Re(t)?e.slice(0,t):e},o=new Set,function e(t,n){return t!==Object(t)?r?r(t,n):t:o.has(t)?void 0:(o.add(t),Le(t)?(i=[],Xe(t,(function(t){i.push(e(t))}))):(i={},Je(t,(function(t,n){o.has(t)||(i[n]=e(t,n))}))),i);var i}(n);var n,r,o}(o,n._noTruncate?null:this.config.properties_string_max_length)).timestamp=n.timestamp||new Date;var i=de(de({},o.properties.$set),o.$set);(function(e){if(Oe(e)){for(var t in e)if(Ae.call(e,t))return!1;return!0}return!1})(i)||this.setPersonPropertiesForFlags(i),Ze.info("send",o);var a=JSON.stringify(o),s=this.config.api_host+(n.endpoint||this.analyticsDefaultEndpoint),l=n!==uo;return!this.config.request_batching||l&&!n._batchKey||n.send_instantly?this.__compress_and_send_json_request(s,a,n):this._requestQueue.enqueue(s,o,n),this._invokeCaptureHooks(e,o),o}}else Ze.error("No event name provided to posthog.capture")}}},{key:"_addCaptureHook",value:function(e){this.__captureHooks.push(e)}},{key:"_invokeCaptureHooks",value:function(e,t){this.config._onCapture(e,t),Je(this.__captureHooks,(function(t){return t(e)}))}},{key:"_calculate_event_properties",value:function(e,t){if(!this.persistence||!this.sessionPersistence)return t;var n=this.persistence.remove_event_timer(e),r=de({},t);if(r.token=this.config.token,"$snapshot"===e){var o=de(de({},this.persistence.properties()),this.sessionPersistence.properties());return r.distinct_id=o.distinct_id,r}var i=Sn.properties();if(this.sessionManager){var a=this.sessionManager.checkAndGetSessionAndWindowId(),s=a.sessionId,l=a.windowId;r.$session_id=s,r.$window_id=l}if(this.sessionPropsManager&&this.config.__preview_send_client_session_params&&("$pageview"===e||"$pageleave"===e||"$autocapture"===e)){var u=this.sessionPropsManager.getSessionProps();r=et(r,u)}if(!this.config.disable_scroll_properties){var c={};"$pageview"===e?c=this.pageViewManager.doPageView():"$pageleave"===e&&(c=this.pageViewManager.doPageLeave()),r=et(r,c)}if("$pageview"===e&&Ue&&(r.title=Ue.title),"$performance_event"===e){var d=this.persistence.properties();return r.distinct_id=d.distinct_id,r.$current_url=i.$current_url,r}if(!Te(n)){var p=(new Date).getTime()-n;r.$duration=parseFloat((p/1e3).toFixed(3))}qe&&this.config.opt_out_useragent_filter&&(r.$browser_type=so(qe,this.config.custom_blocked_useragents)?"bot":"browser"),r=et({},Sn.properties(),this.persistence.properties(),this.sessionPersistence.properties(),r);var f=this.config.property_blacklist;Le(f)?Je(f,(function(e){delete r[e]})):Ze.error("Invalid value for property_blacklist config: "+f);var h=this.config.sanitize_properties;return h&&(r=h(r,e)),r}},{key:"register",value:function(e,t){var n;null===(n=this.persistence)||void 0===n||n.register(e,t)}},{key:"register_once",value:function(e,t,n){var r;null===(r=this.persistence)||void 0===r||r.register_once(e,t,n)}},{key:"register_for_session",value:function(e){var t;null===(t=this.sessionPersistence)||void 0===t||t.register(e)}},{key:"unregister",value:function(e){var t;null===(t=this.persistence)||void 0===t||t.unregister(e)}},{key:"unregister_for_session",value:function(e){var t;null===(t=this.sessionPersistence)||void 0===t||t.unregister(e)}},{key:"_register_single",value:function(e,t){this.register(ge({},e,t))}},{key:"getFeatureFlag",value:function(e,t){return this.featureFlags.getFeatureFlag(e,t)}},{key:"getFeatureFlagPayload",value:function(e){var t=this.featureFlags.getFeatureFlagPayload(e);try{return JSON.parse(t)}catch(e){return t}}},{key:"isFeatureEnabled",value:function(e,t){return this.featureFlags.isFeatureEnabled(e,t)}},{key:"reloadFeatureFlags",value:function(){this.featureFlags.reloadFeatureFlags()}},{key:"updateEarlyAccessFeatureEnrollment",value:function(e,t){this.featureFlags.updateEarlyAccessFeatureEnrollment(e,t)}},{key:"getEarlyAccessFeatures",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.featureFlags.getEarlyAccessFeatures(e,t)}},{key:"onFeatureFlags",value:function(e){return this.featureFlags.onFeatureFlags(e)}},{key:"onSessionId",value:function(e){var t,n;return null!==(t=null===(n=this.sessionManager)||void 0===n?void 0:n.onSessionId(e))&&void 0!==t?t:function(){}}},{key:"getSurveys",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.surveys.getSurveys(e,t)}},{key:"getActiveMatchingSurveys",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.surveys.getActiveMatchingSurveys(e,t)}},{key:"identify",value:function(e,t,n){if(!this.__loaded||!this.persistence)return Ze.uninitializedWarning("posthog.identify");if(e)if(["distinct_id","distinctid"].includes(e.toLowerCase()))Ze.critical('The string "'.concat(e,'" was set in posthog.identify which indicates an error. This ID should be unique to the user and not a hardcoded string.'));else{var r=this.get_distinct_id();if(this.register({$user_id:e}),!this.get_property("$device_id")){var o=r;this.register_once({$had_persisted_distinct_id:!0,$device_id:o},"")}e!==r&&e!==this.get_property(Pt)&&(this.unregister(Pt),this.register({distinct_id:e}));var i="anonymous"===this.persistence.get_user_state();e!==r&&i?(this.persistence.set_user_state("identified"),this.setPersonPropertiesForFlags(t||{},!1),this.capture("$identify",{distinct_id:e,$anon_distinct_id:r},{$set:t||{},$set_once:n||{}}),this.featureFlags.setAnonymousDistinctId(r)):(t||n)&&this.setPersonProperties(t,n),e!==r&&(this.reloadFeatureFlags(),this.unregister(Vt))}else Ze.error("Unique user id has not been set in posthog.identify")}},{key:"setPersonProperties",value:function(e,t){(e||t)&&(this.setPersonPropertiesForFlags(e||{}),this.capture("$set",{$set:e||{},$set_once:t||{}}))}},{key:"group",value:function(e,t,n){if(e&&t){var r=this.getGroups();r[e]!==t&&this.resetGroupPropertiesForFlags(e),this.register({$groups:de(de({},r),{},ge({},e,t))}),n&&(this.capture("$groupidentify",{$group_type:e,$group_key:t,$group_set:n}),this.setGroupPropertiesForFlags(ge({},e,n))),r[e]===t||n||this.reloadFeatureFlags()}else Ze.error("posthog.group requires a group type and group key")}},{key:"resetGroups",value:function(){this.register({$groups:{}}),this.resetGroupPropertiesForFlags(),this.reloadFeatureFlags()}},{key:"setPersonPropertiesForFlags",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.featureFlags.setPersonPropertiesForFlags(e,t)}},{key:"resetPersonPropertiesForFlags",value:function(){this.featureFlags.resetPersonPropertiesForFlags()}},{key:"setGroupPropertiesForFlags",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.featureFlags.setGroupPropertiesForFlags(e,t)}},{key:"resetGroupPropertiesForFlags",value:function(e){this.featureFlags.resetGroupPropertiesForFlags(e)}},{key:"reset",value:function(e){var t,n,r,o;if(!this.__loaded)return Ze.uninitializedWarning("posthog.reset");var i=this.get_property("$device_id");null===(t=this.persistence)||void 0===t||t.clear(),null===(n=this.sessionPersistence)||void 0===n||n.clear(),null===(r=this.persistence)||void 0===r||r.set_user_state("anonymous"),null===(o=this.sessionManager)||void 0===o||o.resetSessionId();var a=this.config.get_device_id(un());this.register_once({distinct_id:a,$device_id:e?a:i},"")}},{key:"get_distinct_id",value:function(){return this.get_property("distinct_id")}},{key:"getGroups",value:function(){return this.get_property("$groups")||{}}},{key:"get_session_id",value:function(){var e,t;return null!==(e=null===(t=this.sessionManager)||void 0===t?void 0:t.checkAndGetSessionAndWindowId(!0).sessionId)&&void 0!==e?e:""}},{key:"get_session_replay_url",value:function(e){if(!this.sessionManager)return"";var t=this.config.ui_host||this.config.api_host,n=this.sessionManager.checkAndGetSessionAndWindowId(!0),r=n.sessionId,o=n.sessionStartTimestamp,i=t+"/replay/"+r;if(null!=e&&e.withTimestamp&&o){var a,s=null!==(a=e.timestampLookBack)&&void 0!==a?a:10;if(!o)return i;var l=Math.max(Math.floor(((new Date).getTime()-o)/1e3)-s,0);i+="?t=".concat(l)}return i}},{key:"alias",value:function(e,t){return e===this.get_property(At)?(Ze.critical("Attempting to create alias for existing People user - aborting."),-2):(Te(t)&&(t=this.get_distinct_id()),e!==t?(this._register_single(Pt,e),this.capture("$create_alias",{alias:e,distinct_id:t})):(Ze.warn("alias matches current distinct_id - skipping api call."),this.identify(e),-1))}},{key:"set_config",value:function(e){var t,n,r=de({},this.config);if(Oe(e)&&(et(this.config,e),this.config.persistence_name||(this.config.persistence_name=this.config.cookie_name),this.config.disable_persistence||(this.config.disable_persistence=this.config.disable_cookie),this.config.api_host=this.config.api_host.replace(/\/$/,""),"https://us.posthog.com"===this.config.api_host&&(this.config.api_host="https://app.posthog.com"),null===(t=this.persistence)||void 0===t||t.update_config(this.config),null===(n=this.sessionPersistence)||void 0===n||n.update_config(this.config),mn.is_supported()&&"true"===mn.get("ph_debug")&&(this.config.debug=!0),this.config.debug&&(Se.DEBUG=!0),this.sessionRecording&&!Te(e.disable_session_recording))){var o=r.disable_session_recording!==e.disable_session_recording,i=!Yn(this)&&!e.disable_session_recording&&!this.sessionRecording.started;(o||i)&&(e.disable_session_recording?this.sessionRecording.stopRecording():this.sessionRecording.startRecordingIfEnabled())}}},{key:"startSessionRecording",value:function(){this.set_config({disable_session_recording:!1})}},{key:"stopSessionRecording",value:function(){this.set_config({disable_session_recording:!0})}},{key:"sessionRecordingStarted",value:function(){var e;return!(null===(e=this.sessionRecording)||void 0===e||!e.started)}},{key:"loadToolbar",value:function(e){return this.toolbar.loadToolbar(e)}},{key:"get_property",value:function(e){var t;return null===(t=this.persistence)||void 0===t?void 0:t.props[e]}},{key:"getSessionProperty",value:function(e){var t;return null===(t=this.sessionPersistence)||void 0===t?void 0:t.props[e]}},{key:"toString",value:function(){var e,t=null!==(e=this.config.name)&&void 0!==e?e:co;return t!==co&&(t=co+"."+t),t}},{key:"_gdpr_init",value:function(){"localStorage"===this.config.opt_out_capturing_persistence_type&&mn.is_supported()&&(!this.has_opted_in_capturing()&&this.has_opted_in_capturing({persistence_type:"cookie"})&&this.opt_in_capturing({enable_persistence:!1}),!this.has_opted_out_capturing()&&this.has_opted_out_capturing({persistence_type:"cookie"})&&this.opt_out_capturing({clear_persistence:!1}),this.clear_opt_in_out_capturing({persistence_type:"cookie",enable_persistence:!1})),this.has_opted_out_capturing()?this._gdpr_update_persistence({clear_persistence:!0}):this.has_opted_in_capturing()||!this.config.opt_out_capturing_by_default&&!fn.get("ph_optout")||(fn.remove("ph_optout"),this.opt_out_capturing({clear_persistence:this.config.opt_out_persistence_by_default}))}},{key:"_gdpr_update_persistence",value:function(e){var t,n,r,o,i;if(e&&e.clear_persistence)r=!0;else{if(!e||!e.enable_persistence)return;r=!1}this.config.disable_persistence||(null===(t=this.persistence)||void 0===t?void 0:t.disabled)===r||null===(o=this.persistence)||void 0===o||o.set_disabled(r),this.config.disable_persistence||(null===(n=this.sessionPersistence)||void 0===n?void 0:n.disabled)===r||null===(i=this.sessionPersistence)||void 0===i||i.set_disabled(r)}},{key:"_gdpr_call_func",value:function(e,t){return t=et({capture:this.capture.bind(this),persistence_type:this.config.opt_out_capturing_persistence_type,cookie_prefix:this.config.opt_out_capturing_cookie_prefix,cookie_expiration:this.config.cookie_expiration,cross_subdomain_cookie:this.config.cross_subdomain_cookie,secure_cookie:this.config.secure_cookie},t||{}),mn.is_supported()||"localStorage"!==t.persistence_type||(t.persistence_type="cookie"),e(this.config.token,{capture:t.capture,captureEventName:t.capture_event_name,captureProperties:t.capture_properties,persistenceType:t.persistence_type,persistencePrefix:t.cookie_prefix,cookieExpiration:t.cookie_expiration,crossSubdomainCookie:t.cross_subdomain_cookie,secureCookie:t.secure_cookie})}},{key:"opt_in_capturing",value:function(e){e=et({enable_persistence:!0},e||{}),this._gdpr_call_func(In,e),this._gdpr_update_persistence(e)}},{key:"opt_out_capturing",value:function(e){var t=et({clear_persistence:!0},e||{});this._gdpr_call_func(Bn,t),this._gdpr_update_persistence(t)}},{key:"has_opted_in_capturing",value:function(e){return this._gdpr_call_func(Wn,e)}},{key:"has_opted_out_capturing",value:function(e){return this._gdpr_call_func(zn,e)}},{key:"clear_opt_in_out_capturing",value:function(e){var t=et({enable_persistence:!0},null!=e?e:{});this._gdpr_call_func($n,t),this._gdpr_update_persistence(t)}},{key:"debug",value:function(e){!1===e?(null==He||He.console.log("You've disabled debug mode."),localStorage&&localStorage.removeItem("ph_debug"),this.set_config({debug:!1})):(null==He||He.console.log("You're now in debug mode. All calls to PostHog will be logged in your console.\nYou can disable this with `posthog.debug(false)`."),localStorage&&localStorage.setItem("ph_debug","true"),this.set_config({debug:!0}))}}]),e}();!function(e,t){for(var n=0;n<t.length;n++)e.prototype[t[n]]=it(e.prototype[t[n]])}(vo,["identify"]);var yo,xo,bo={};!function(e){e.Popover="popover",e.API="api",e.Widget="widget"}(yo||(yo={})),function(e){e.Open="open",e.MultipleChoice="multiple_choice",e.SingleChoice="single_choice",e.Rating="rating",e.Link="link"}(xo||(xo={}));var ko=(Jr=Xr.INIT_MODULE,(eo=new vo).init=function(e,t,n){if(n)return eo[n]||(eo[n]=bo[n]=mo(e||"",t||{},n,(function(e){eo[n]=bo[n]=e,e._loaded()}))),eo[n];var r=eo;return bo[co]?r=bo[co]:e&&(r=mo(e,t||{},co,(function(e){bo[co]=e,e._loaded()})),bo[co]=r),eo=r,Jr===Xr.INIT_SNIPPET&&(Ye[co]=eo),Je(bo,(function(e,t){t!==co&&(eo[t]=e)})),r},eo.init(),function(){function e(){e.done||(e.done=!0,fo=!1,Je(bo,(function(e){e._dom_loaded()})))}null!=Ue&&Ue.addEventListener&&("complete"===Ue.readyState?e():Ue.addEventListener("DOMContentLoaded",e,!1)),He&&ct(He,"load",e,!0)}(),eo);const wo=ko;function Eo(e,t){return function(){return e.apply(t,arguments)}}const{toString:_o}=Object.prototype,{getPrototypeOf:Co}=Object,So=(e=>t=>{const n=_o.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Do=e=>(e=e.toLowerCase(),t=>So(t)===e),jo=e=>t=>typeof t===e,{isArray:Ao}=Array,Po=jo("undefined");const Lo=Do("ArrayBuffer");const Mo=jo("string"),No=jo("function"),Oo=jo("number"),To=e=>null!==e&&"object"===typeof e,Fo=e=>{if("object"!==So(e))return!1;const t=Co(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Ro=Do("Date"),Io=Do("File"),Bo=Do("Blob"),Wo=Do("FileList"),zo=Do("URLSearchParams"),[$o,Ho,Vo,Uo]=["ReadableStream","Request","Response","Headers"].map(Do);function qo(e,t){let n,r,{allOwnKeys:o=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),Ao(e))for(n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else{const r=o?Object.getOwnPropertyNames(e):Object.keys(e),i=r.length;let a;for(n=0;n<i;n++)a=r[n],t.call(null,e[a],a,e)}}function Yo(e,t){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 Go="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global,Zo=e=>!Po(e)&&e!==Go;const Ko=(Qo="undefined"!==typeof Uint8Array&&Co(Uint8Array),e=>Qo&&e instanceof Qo);var Qo;const Xo=Do("HTMLFormElement"),Jo=(e=>{let{hasOwnProperty:t}=e;return(e,n)=>t.call(e,n)})(Object.prototype),ei=Do("RegExp"),ti=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};qo(n,((n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)},ni="abcdefghijklmnopqrstuvwxyz",ri="0123456789",oi={DIGIT:ri,ALPHA:ni,ALPHA_DIGIT:ni+ni.toUpperCase()+ri};const ii=Do("AsyncFunction"),ai=((e,t)=>{return e?setImmediate:t?(n=`axios@${Math.random()}`,r=[],Go.addEventListener("message",(e=>{let{source:t,data:o}=e;t===Go&&o===n&&r.length&&r.shift()()}),!1),e=>{r.push(e),Go.postMessage(n,"*")}):e=>setTimeout(e);var n,r})("function"===typeof setImmediate,No(Go.postMessage)),si="undefined"!==typeof queueMicrotask?queueMicrotask.bind(Go):"undefined"!==typeof process&&process.nextTick||ai,li={isArray:Ao,isArrayBuffer:Lo,isBuffer:function(e){return null!==e&&!Po(e)&&null!==e.constructor&&!Po(e.constructor)&&No(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"===typeof FormData&&e instanceof FormData||No(e.append)&&("formdata"===(t=So(e))||"object"===t&&No(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Lo(e.buffer),t},isString:Mo,isNumber:Oo,isBoolean:e=>!0===e||!1===e,isObject:To,isPlainObject:Fo,isReadableStream:$o,isRequest:Ho,isResponse:Vo,isHeaders:Uo,isUndefined:Po,isDate:Ro,isFile:Io,isBlob:Bo,isRegExp:ei,isFunction:No,isStream:e=>To(e)&&No(e.pipe),isURLSearchParams:zo,isTypedArray:Ko,isFileList:Wo,forEach:qo,merge:function e(){const{caseless:t}=Zo(this)&&this||{},n={},r=(r,o)=>{const i=t&&Yo(n,o)||o;Fo(n[i])&&Fo(r)?n[i]=e(n[i],r):Fo(r)?n[i]=e({},r):Ao(r)?n[i]=r.slice():n[i]=r};for(let o=0,i=arguments.length;o<i;o++)arguments[o]&&qo(arguments[o],r);return n},extend:function(e,t,n){let{allOwnKeys:r}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return qo(t,((t,r)=>{n&&No(t)?e[r]=Eo(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&&Co(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:So,kindOfTest:Do,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(Ao(e))return e;let t=e.length;if(!Oo(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).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:Xo,hasOwnProperty:Jo,hasOwnProp:Jo,reduceDescriptors:ti,freezeMethods:e=>{ti(e,((t,n)=>{if(No(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];No(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 Ao(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:Yo,global:Go,isContextDefined:Zo,ALPHABET:oi,generateString:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:oi.ALPHA_DIGIT,n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&No(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(To(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=Ao(e)?[]:{};return qo(e,((e,t)=>{const i=n(e,r+1);!Po(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:ii,isThenable:e=>e&&(To(e)||No(e))&&No(e.then)&&No(e.catch),setImmediate:ai,asap:si};function ui(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)}li.inherits(ui,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:li.toJSONObject(this.config),code:this.code,status:this.status}}});const ci=ui.prototype,di={};["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=>{di[e]={value:e}})),Object.defineProperties(ui,di),Object.defineProperty(ci,"isAxiosError",{value:!0}),ui.from=(e,t,n,r,o,i)=>{const a=Object.create(ci);return li.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),ui.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const pi=ui;function fi(e){return li.isPlainObject(e)||li.isArray(e)}function hi(e){return li.endsWith(e,"[]")?e.slice(0,-2):e}function mi(e,t,n){return e?e.concat(t).map((function(e,t){return e=hi(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const gi=li.toFlatObject(li,{},null,(function(e){return/^is[A-Z]/.test(e)}));const vi=function(e,t,n){if(!li.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=li.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!li.isUndefined(t[e])}))).metaTokens,o=n.visitor||u,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!==typeof Blob&&Blob)&&li.isSpecCompliantForm(t);if(!li.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(li.isDate(e))return e.toISOString();if(!s&&li.isBlob(e))throw new pi("Blob is not supported. Use a Buffer instead.");return li.isArrayBuffer(e)||li.isTypedArray(e)?s&&"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,o){let s=e;if(e&&!o&&"object"===typeof e)if(li.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(li.isArray(e)&&function(e){return li.isArray(e)&&!e.some(fi)}(e)||(li.isFileList(e)||li.endsWith(n,"[]"))&&(s=li.toArray(e)))return n=hi(n),s.forEach((function(e,r){!li.isUndefined(e)&&null!==e&&t.append(!0===a?mi([n],r,i):null===a?n:n+"[]",l(e))})),!1;return!!fi(e)||(t.append(mi(o,n,i),l(e)),!1)}const c=[],d=Object.assign(gi,{defaultVisitor:u,convertValue:l,isVisitable:fi});if(!li.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!li.isUndefined(n)){if(-1!==c.indexOf(n))throw Error("Circular reference detected in "+r.join("."));c.push(n),li.forEach(n,(function(n,i){!0===(!(li.isUndefined(n)||null===n)&&o.call(t,n,li.isString(i)?i.trim():i,r,d))&&e(n,r?r.concat(i):[i])})),c.pop()}}(e),t};function yi(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function xi(e,t){this._pairs=[],e&&vi(e,this,t)}const bi=xi.prototype;bi.append=function(e,t){this._pairs.push([e,t])},bi.toString=function(e){const t=e?function(t){return e.call(this,t,yi)}:yi;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const ki=xi;function wi(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ei(e,t,n){if(!t)return e;const r=n&&n.encode||wi,o=n&&n.serialize;let i;if(i=o?o(t,n):li.isURLSearchParams(t)?t.toString():new ki(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}const _i=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){li.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},Ci={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Si={isBrowser:!0,classes:{URLSearchParams:"undefined"!==typeof URLSearchParams?URLSearchParams:ki,FormData:"undefined"!==typeof FormData?FormData:null,Blob:"undefined"!==typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},Di="undefined"!==typeof window&&"undefined"!==typeof document,ji="object"===typeof navigator&&navigator||void 0,Ai=Di&&(!ji||["ReactNative","NativeScript","NS"].indexOf(ji.product)<0),Pi="undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts,Li=Di&&window.location.href||"http://localhost",Mi={...e,...Si};const Ni=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;if(i=!i&&li.isArray(r)?r.length:i,s)return li.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a;r[i]&&li.isObject(r[i])||(r[i]=[]);return t(e,n,r[i],o)&&li.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(li.isFormData(e)&&li.isFunction(e.entries)){const n={};return li.forEachEntry(e,((e,r)=>{t(function(e){return li.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null};const Oi={transitional:Ci,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=li.isObject(e);o&&li.isHTMLForm(e)&&(e=new FormData(e));if(li.isFormData(e))return r?JSON.stringify(Ni(e)):e;if(li.isArrayBuffer(e)||li.isBuffer(e)||li.isStream(e)||li.isFile(e)||li.isBlob(e)||li.isReadableStream(e))return e;if(li.isArrayBufferView(e))return e.buffer;if(li.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 vi(e,new Mi.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return Mi.isNode&&li.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=li.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return vi(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(li.isString(e))try{return(t||JSON.parse)(e),li.trim(e)}catch(ce){if("SyntaxError"!==ce.name)throw ce}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Oi.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(li.isResponse(e)||li.isReadableStream(e))return e;if(e&&li.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(ce){if(n){if("SyntaxError"===ce.name)throw pi.from(ce,pi.ERR_BAD_RESPONSE,this,null,this.response);throw ce}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Mi.classes.FormData,Blob:Mi.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};li.forEach(["delete","get","head","post","put","patch"],(e=>{Oi.headers[e]={}}));const Ti=Oi,Fi=li.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"]),Ri=Symbol("internals");function Ii(e){return e&&String(e).trim().toLowerCase()}function Bi(e){return!1===e||null==e?e:li.isArray(e)?e.map(Bi):String(e)}function Wi(e,t,n,r,o){return li.isFunction(r)?r.call(this,t,n):(o&&(t=n),li.isString(t)?li.isString(r)?-1!==t.indexOf(r):li.isRegExp(r)?r.test(t):void 0:void 0)}class zi{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=Ii(t);if(!o)throw new Error("header name must be a non-empty string");const i=li.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=Bi(e))}const i=(e,t)=>li.forEach(e,((e,n)=>o(e,n,t)));if(li.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(li.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]&&Fi[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(li.isHeaders(e))for(const[a,s]of e.entries())o(s,a,n);else null!=e&&o(t,e,n);return this}get(e,t){if(e=Ii(e)){const n=li.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(li.isFunction(t))return t.call(this,e,n);if(li.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Ii(e)){const n=li.findKey(this,e);return!(!n||void 0===this[n]||t&&!Wi(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=Ii(e)){const o=li.findKey(n,e);!o||t&&!Wi(0,n[o],o,t)||(delete n[o],r=!0)}}return li.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&&!Wi(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return li.forEach(this,((r,o)=>{const i=li.findKey(n,o);if(i)return t[i]=Bi(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]=Bi(r),n[a]=!0})),this}concat(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.constructor.concat(this,...t)}toJSON(e){const t=Object.create(null);return li.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&li.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((e=>{let[t,n]=e;return t+": "+n})).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e){const t=new this(e);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.forEach((e=>t.set(e))),t}static accessor(e){const t=(this[Ri]=this[Ri]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=Ii(e);t[r]||(!function(e,t){const n=li.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 li.isArray(e)?e.forEach(r):r(e),this}}zi.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),li.reduceDescriptors(zi.prototype,((e,t)=>{let{value:n}=e,r=t[0].toUpperCase()+t.slice(1);return{get:()=>n,set(e){this[r]=e}}})),li.freezeMethods(zi);const $i=zi;function Hi(e,t){const n=this||Ti,r=t||n,o=$i.from(r.headers);let i=r.data;return li.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function Vi(e){return!(!e||!e.__CANCEL__)}function Ui(e,t,n){pi.call(this,null==e?"canceled":e,pi.ERR_CANCELED,t,n),this.name="CanceledError"}li.inherits(Ui,pi,{__CANCEL__:!0});const qi=Ui;function Yi(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new pi("Request failed with status code "+n.status,[pi.ERR_BAD_REQUEST,pi.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}const Gi=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(),u=r[a];o||(o=l),n[i]=s,r[i]=l;let c=a,d=0;for(;c!==i;)d+=n[c++],c%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),l-o<t)return;const p=u&&l-u;return p?Math.round(1e3*d/p):void 0}};const Zi=function(e,t){let n,r,o=0,i=1e3/t;const a=function(t){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();o=i,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[function(){const e=Date.now(),t=e-o;for(var s=arguments.length,l=new Array(s),u=0;u<s;u++)l[u]=arguments[u];t>=i?a(l,e):(n=l,r||(r=setTimeout((()=>{r=null,a(n)}),i-t)))},()=>n&&a(n)]},Ki=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,r=0;const o=Gi(50,250);return Zi((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)},Qi=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Xi=e=>function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return li.asap((()=>e(...n)))},Ji=Mi.hasStandardBrowserEnv?function(){const e=Mi.navigator&&/(msie|trident)/i.test(Mi.navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=li.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0},ea=Mi.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const a=[e+"="+encodeURIComponent(t)];li.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),li.isString(r)&&a.push("path="+r),li.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 ta(e,t){return e&&!function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const na=e=>e instanceof $i?{...e}:e;function ra(e,t){t=t||{};const n={};function r(e,t,n){return li.isPlainObject(e)&&li.isPlainObject(t)?li.merge.call({caseless:n},e,t):li.isPlainObject(t)?li.merge({},t):li.isArray(t)?t.slice():t}function o(e,t,n){return li.isUndefined(t)?li.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!li.isUndefined(t))return r(void 0,t)}function a(e,t){return li.isUndefined(t)?li.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)=>o(na(e),na(t),!0)};return li.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=l[r]||o,a=i(e[r],t[r],r);li.isUndefined(a)&&i!==s||(n[r]=a)})),n}const oa=e=>{const t=ra({},e);let n,{data:r,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:a,headers:s,auth:l}=t;if(t.headers=s=$i.from(s),t.url=Ei(ta(t.baseURL,t.url),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),li.isFormData(r))if(Mi.hasStandardBrowserEnv||Mi.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(n=s.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}if(Mi.hasStandardBrowserEnv&&(o&&li.isFunction(o)&&(o=o(t)),o||!1!==o&&Ji(t.url))){const e=i&&a&&ea.read(a);e&&s.set(i,e)}return t},ia="undefined"!==typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=oa(e);let o=r.data;const i=$i.from(r.headers).normalize();let a,s,l,u,c,{responseType:d,onUploadProgress:p,onDownloadProgress:f}=r;function h(){u&&u(),c&&c(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let m=new XMLHttpRequest;function g(){if(!m)return;const r=$i.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());Yi((function(e){t(e),h()}),(function(e){n(e),h()}),{data:d&&"text"!==d&&"json"!==d?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m}),m=null}m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout,"onloadend"in m?m.onloadend=g:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(g)},m.onabort=function(){m&&(n(new pi("Request aborted",pi.ECONNABORTED,e,m)),m=null)},m.onerror=function(){n(new pi("Network Error",pi.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||Ci;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new pi(t,o.clarifyTimeoutError?pi.ETIMEDOUT:pi.ECONNABORTED,e,m)),m=null},void 0===o&&i.setContentType(null),"setRequestHeader"in m&&li.forEach(i.toJSON(),(function(e,t){m.setRequestHeader(t,e)})),li.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),d&&"json"!==d&&(m.responseType=r.responseType),f&&([l,c]=Ki(f,!0),m.addEventListener("progress",l)),p&&m.upload&&([s,u]=Ki(p),m.upload.addEventListener("progress",s),m.upload.addEventListener("loadend",u)),(r.cancelToken||r.signal)&&(a=t=>{m&&(n(!t||t.type?new qi(null,e,m):t),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const v=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);v&&-1===Mi.protocols.indexOf(v)?n(new pi("Unsupported protocol "+v+":",pi.ERR_BAD_REQUEST,e)):m.send(o||null)}))},aa=(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 pi?t:new qi(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{i=null,o(new pi(`timeout ${t} of ms exceeded`,pi.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=()=>li.asap(a),s}},sa=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},la=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()}},ua=(e,t,n,r)=>{const o=async function*(e,t){for await(const n of la(e))yield*sa(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(t){throw s(t),t}},cancel:e=>(s(e),o.return())},{highWaterMark:2})},ca="function"===typeof fetch&&"function"===typeof Request&&"function"===typeof Response,da=ca&&"function"===typeof ReadableStream,pa=ca&&("function"===typeof TextEncoder?(fa=new TextEncoder,e=>fa.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var fa;const ha=function(e){try{for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return!!e(...n)}catch(ce){return!1}},ma=da&&ha((()=>{let e=!1;const t=new Request(Mi.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),ga=da&&ha((()=>li.isReadableStream(new Response("").body))),va={stream:ga&&(e=>e.body)};var ya;ca&&(ya=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!va[e]&&(va[e]=li.isFunction(ya[e])?t=>t[e]():(t,n)=>{throw new pi(`Response type '${e}' is not supported`,pi.ERR_NOT_SUPPORT,n)})})));const xa=async(e,t)=>{const n=li.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(li.isBlob(e))return e.size;if(li.isSpecCompliantForm(e)){const t=new Request(Mi.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return li.isArrayBufferView(e)||li.isArrayBuffer(e)?e.byteLength:(li.isURLSearchParams(e)&&(e+=""),li.isString(e)?(await pa(e)).byteLength:void 0)})(t):n},ba=ca&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:a,onDownloadProgress:s,onUploadProgress:l,responseType:u,headers:c,withCredentials:d="same-origin",fetchOptions:p}=oa(e);u=u?(u+"").toLowerCase():"text";let f,h=aa([o,i&&i.toAbortSignal()],a);const m=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let g;try{if(l&&ma&&"get"!==n&&"head"!==n&&0!==(g=await xa(c,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(li.isFormData(r)&&(e=n.headers.get("content-type"))&&c.setContentType(e),n.body){const[e,t]=Qi(g,Ki(Xi(l)));r=ua(n.body,65536,e,t)}}li.isString(d)||(d=d?"include":"omit");const o="credentials"in Request.prototype;f=new Request(t,{...p,signal:h,method:n.toUpperCase(),headers:c.normalize().toJSON(),body:r,duplex:"half",credentials:o?d:void 0});let i=await fetch(f);const a=ga&&("stream"===u||"response"===u);if(ga&&(s||a&&m)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=i[t]}));const t=li.toFiniteNumber(i.headers.get("content-length")),[n,r]=s&&Qi(t,Ki(Xi(s),!0))||[];i=new Response(ua(i.body,65536,n,(()=>{r&&r(),m&&m()})),e)}u=u||"text";let v=await va[li.findKey(va,u)||"text"](i,e);return!a&&m&&m(),await new Promise(((t,n)=>{Yi(t,n,{data:v,headers:$i.from(i.headers),status:i.status,statusText:i.statusText,config:e,request:f})}))}catch(v){if(m&&m(),v&&"TypeError"===v.name&&/fetch/i.test(v.message))throw Object.assign(new pi("Network Error",pi.ERR_NETWORK,e,f),{cause:v.cause||v});throw pi.from(v,v&&v.code,e,f)}}),ka={http:null,xhr:ia,fetch:ba};li.forEach(ka,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(ce){}Object.defineProperty(e,"adapterName",{value:t})}}));const wa=e=>`- ${e}`,Ea=e=>li.isFunction(e)||null===e||!1===e,_a=e=>{e=li.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i<t;i++){let t;if(n=e[i],r=n,!Ea(n)&&(r=ka[(t=String(n)).toLowerCase()],void 0===r))throw new pi(`Unknown adapter '${t}'`);if(r)break;o[t||"#"+i]=r}if(!r){const e=Object.entries(o).map((e=>{let[t,n]=e;return`adapter ${t} `+(!1===n?"is not supported by the environment":"is not available in the build")}));let n=t?e.length>1?"since :\n"+e.map(wa).join("\n"):" "+wa(e[0]):"as no adapter specified";throw new pi("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function Ca(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new qi(null,e)}function Sa(e){Ca(e),e.headers=$i.from(e.headers),e.data=Hi.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return _a(e.adapter||Ti.adapter)(e).then((function(t){return Ca(e),t.data=Hi.call(e,e.transformResponse,t),t.headers=$i.from(t.headers),t}),(function(t){return Vi(t)||(Ca(e),t&&t.response&&(t.response.data=Hi.call(e,e.transformResponse,t.response),t.response.headers=$i.from(t.response.headers))),Promise.reject(t)}))}const Da="1.7.7",ja={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{ja[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Aa={};ja.transitional=function(e,t,n){function r(e,t){return"[Axios v1.7.7] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new pi(r(o," has been removed"+(t?" in "+t:"")),pi.ERR_DEPRECATED);return t&&!Aa[o]&&(Aa[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)}};const Pa={assertOptions:function(e,t,n){if("object"!==typeof e)throw new pi("options must be an object",pi.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 pi("option "+i+" must be "+n,pi.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new pi("Unknown option "+i,pi.ERR_BAD_OPTION)}},validators:ja},La=Pa.validators;class Ma{constructor(e){this.defaults=e,this.interceptors={request:new _i,response:new _i}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{n.stack?t&&!String(n.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+t):n.stack=t}catch(ce){}}throw n}}_request(e,t){"string"===typeof e?(t=t||{}).url=e:t=e||{},t=ra(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&Pa.assertOptions(n,{silentJSONParsing:La.transitional(La.boolean),forcedJSONParsing:La.transitional(La.boolean),clarifyTimeoutError:La.transitional(La.boolean)},!1),null!=r&&(li.isFunction(r)?t.paramsSerializer={serialize:r}:Pa.assertOptions(r,{encode:La.function,serialize:La.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&li.merge(o.common,o[t.method]);o&&li.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=$i.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 u;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let c,d=0;if(!s){const e=[Sa.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,l),c=e.length,u=Promise.resolve(t);d<c;)u=u.then(e[d++],e[d++]);return u}c=a.length;let p=t;for(d=0;d<c;){const e=a[d++],t=a[d++];try{p=e(p)}catch(f){t.call(this,f);break}}try{u=Sa.call(this,p)}catch(f){return Promise.reject(f)}for(d=0,c=l.length;d<c;)u=u.then(l[d++],l[d++]);return u}getUri(e){return Ei(ta((e=ra(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}li.forEach(["delete","get","head","options"],(function(e){Ma.prototype[e]=function(t,n){return this.request(ra(n||{},{method:e,url:t,data:(n||{}).data}))}})),li.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(ra(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Ma.prototype[e]=t(),Ma.prototype[e+"Form"]=t(!0)}));const Na=Ma;class Oa{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 qi(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;const t=new Oa((function(t){e=t}));return{token:t,cancel:e}}}const Ta=Oa;const Fa={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent: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(Fa).forEach((e=>{let[t,n]=e;Fa[n]=t}));const Ra=Fa;const Ia=function e(t){const n=new Na(t),r=Eo(Na.prototype.request,n);return li.extend(r,Na.prototype,n,{allOwnKeys:!0}),li.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(ra(t,n))},r}(Ti);Ia.Axios=Na,Ia.CanceledError=qi,Ia.CancelToken=Ta,Ia.isCancel=Vi,Ia.VERSION=Da,Ia.toFormData=vi,Ia.AxiosError=pi,Ia.Cancel=Ia.CanceledError,Ia.all=function(e){return Promise.all(e)},Ia.spread=function(e){return function(t){return e.apply(null,t)}},Ia.isAxiosError=function(e){return li.isObject(e)&&!0===e.isAxiosError},Ia.mergeConfig=ra,Ia.AxiosHeaders=$i,Ia.formToJSON=e=>Ni(li.isHTMLForm(e)?new FormData(e):e),Ia.getAdapter=_a,Ia.HttpStatusCode=Ra,Ia.default=Ia;const Ba=Ia;var Wa;const za=(null===(Wa=window._env_)||void 0===Wa?void 0:Wa.API_URL)+"/",$a=Ba.create({baseURL:za});class Ha{}Ha.setHeader=(e,t)=>{$a.defaults.headers.common[e]=t},Ha.getHeaders=()=>$a.defaults.headers,Ha.deleteHeader=e=>{delete $a.defaults.headers.common[e]},Ha.baseURL=()=>$a.defaults.baseURL,Ha.request=e=>$a.request(e),Ha.get=(e,t)=>$a.get(e,t),Ha.delete=(e,t)=>$a.delete(e,t),Ha.head=(e,t)=>$a.head(e,t),Ha.post=(e,t,n)=>$a.post(e,t,n),Ha.put=(e,t,n)=>$a.put(e,t,n),Ha.patch=(e,t,n)=>$a.patch(e,t,n);var Va=(0,t.createContext)({color:"currentColor",size:"1em",weight:"regular",mirrored:!1}),Ua=function(e,t,n){var r=n.get(e);return r?r(t):(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),null)};var qa=function(){function e(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.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)===0){var t,n=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}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var o=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]}(r);try{var i=105===e.charCodeAt(1)&&64===e.charCodeAt(0);o.insertRule(e,i?0:o.cssRules.length)}catch(ce){0}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),Ya=n(9812),Ga="/*|*/",Za=Ga+"}";function Ka(e){e&&Qa.current.insert(e+"}")}var Qa={current:null},Xa=function(e,t,n,r,o,i,a,s,l,u){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return Qa.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===s)return t+Ga;break;case 3:switch(s){case 102:case 112:return Qa.current.insert(n[0]+t),"";default:return t+(0===u?Ga:"")}case-2:t.split(Za).forEach(Ka)}};const Ja=function(e){void 0===e&&(e={});var t,n=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var r=new Ya.A(t);var o,i={};o=e.container||document.head;var a,s=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(s,(function(e){e.getAttribute("data-emotion-"+n).split(" ").forEach((function(e){i[e]=!0})),e.parentNode!==o&&o.appendChild(e)})),r.use(e.stylisPlugins)(Xa),a=function(e,t,n,o){var i=t.name;Qa.current=n,r(e,t.styles),o&&(l.inserted[i]=!0)};var l={key:n,sheet:new qa({key:n,container:o,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:i,registered:{},insert:a};return l};const es=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)};var ts=n(1324);const ns=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}};var rs=/[A-Z]|^ms/g,os=/_EMO_([^_]+?)_([^]*?)_EMO_/g,is=function(e){return 45===e.charCodeAt(1)},as=function(e){return null!=e&&"boolean"!==typeof e},ss=ns((function(e){return is(e)?e:e.replace(rs,"-$&").toLowerCase()})),ls=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(os,(function(e,t,n){return cs={name:t,styles:n,next:cs},t}))}return 1===ts.A[e]||is(e)||"number"!==typeof t||0===t?t:t+"px"};function us(e,t,n,r){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return cs={name:n.name,styles:n.styles,next:cs},n.name;if(void 0!==n.styles){var o=n.next;if(void 0!==o)for(;void 0!==o;)cs={name:o.name,styles:o.styles,next:cs},o=o.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=us(e,t,n[o],!1);else for(var i in n){var a=n[i];if("object"!==typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":as(a)&&(r+=ss(i)+":"+ls(i,a)+";");else if(!Array.isArray(a)||"string"!==typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=us(e,t,a,!1);switch(i){case"animation":case"animationName":r+=ss(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var l=0;l<a.length;l++)as(a[l])&&(r+=ss(i)+":"+ls(i,a[l])+";")}return r}(e,t,n);case"function":if(void 0!==e){var i=cs,a=n(e);return cs=i,us(e,t,a,r)}}if(null==t)return n;var s=t[n];return void 0===s||r?n:s}var cs,ds=/label:\s*([^\s;\n{]+)\s*;/g;var ps=function(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="";cs=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=us(n,t,i,!1)):o+=i[0];for(var a=1;a<e.length;a++)o+=us(n,t,e[a],46===o.charCodeAt(o.length-1)),r&&(o+=i[a]);ds.lastIndex=0;for(var s,l="";null!==(s=ds.exec(o));)l+="-"+s[1];return{name:es(o)+l,styles:o,next:cs}};function fs(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]):r+=n+" "})),r}function hs(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function ms(e,t,n){var r=[],o=fs(e,r,n);return r.length<2?n:o+t(r)}var gs=function e(t){for(var n="",r=0;r<t.length;r++){var o=t[r];if(null!=o){var i=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))i=e(o);else for(var a in i="",o)o[a]&&a&&(i&&(i+=" "),i+=a);break;default:i=o}i&&(n&&(n+=" "),n+=i)}}return n};const vs=function(e){var t=Ja(e);t.sheet.speedy=function(e){this.isSpeedy=e},t.compat=!0;var n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=ps(n,t.registered,void 0);return function(e,t,n){var r=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles),void 0===e.inserted[t.name]){var o=t;do{e.insert("."+r,o,e.sheet,!0),o=o.next}while(void 0!==o)}}(t,o,!1),t.key+"-"+o.name};return{css:n,cx:function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return ms(t.registered,n,gs(r))},injectGlobal:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=ps(n,t.registered);hs(t,o)},keyframes:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=ps(n,t.registered),i="animation-"+o.name;return hs(t,{name:o.name,styles:"@keyframes "+i+"{"+o.styles+"}"}),i},hydrate:function(e){e.forEach((function(e){t.inserted[e]=!0}))},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:fs.bind(null,t.registered),merge:ms.bind(null,t.registered,n)}};var ys=vs(),xs=(ys.flush,ys.hydrate,ys.cx),bs=(ys.merge,ys.getRegisteredStyles,ys.injectGlobal,ys.keyframes,ys.css);ys.sheet,ys.cache;const ks={black:"#25282D",evPurple:"#1C3EFB",purple:"#6D44FB",lightPurple:"#B8ADE2",lighterPurple:"#E0D8FE",red:{100:"#EB4E3D"},orange:{100:"#F8A74C"},yellow:{100:"#FCD75C"},green:{100:"#47EB75"},gray:{600:"#36414C",500:"#66737F",400:"#9AA7B5",300:"#D1DAE3",200:"#E8EDF3",100:"#F5F7FA"}},ws=(e,t)=>t.split(" ").reduce(((t,n)=>n in e?t+e[n]:n in Es?t+Es[n]:t),""),Es={"hide-sm":"","hide-lg":"",log:"border: 2px solid red;",clickable:`\n    cursor: pointer;\n    :hover { background-color: ${ks.gray[200]}; }`,pointer:"cursor: pointer;","hide-scroll":"::-webkit-scrollbar { display: none; }","full-height":"height: 100%;","full-width":"width: 100%;",oa:"overflow: auto;",ov:"overflow: visible;",fg:"flex-grow: 1;","pos:a":"position: absolute;","pos:f":"position: fixed;","pos:s":"position: sticky;","pos:r":"position: relative;","margin-xs":"margin: 4px;",mb:"margin-bottom: 16px;",mt:"margin-top: 16px;",ml:"margin-left: 16px;",mr:"margin-right: 16px;",mh:"\n        margin-right: 16px;\n        margin-left: 16px;",mha:"\n        margin-right: auto;\n        margin-left: auto;",mv:"\n        margin-top: 16px;\n        margin-bottom: 16px;",mva:"\n        margin-top: 16px;\n        margin-bottom: 16px;",margin:"margin: 16px;",ma:"margin: auto;","mb-sm":"margin-bottom: 8px;","mt-sm":"margin-top: 8px;","ml-sm":"margin-left: 8px;","mr-sm":"margin-right: 8px;","mh-sm":"\n        margin-right: 8px;\n        margin-left: 8px;","mv-sm":"\n        margin-top: 8px;\n        margin-bottom: 8px;","margin-sm":"margin: 8px;","mb-lg":"margin-bottom: 24px;","mt-lg":"margin-top: 24px;","ml-lg":"margin-left: 24px;","mr-lg":"margin-right: 24px;","mh-lg":"\n        margin-right: 24px;\n        margin-left: 24px;","mv-lg":"\n        margin-top: 24px;\n        margin-bottom: 24px;","margin-lg":"margin: 24px;","mb-xl":"margin-bottom: 32px;","mt-xl":"margin-top: 32px;","ml-xl":"margin-left: 32px;","mr-xl":"margin-right: 32px;","mh-xl":"\n        margin-right: 32px;\n        margin-left: 32px;","mv-xl":"\n        margin-top: 32px;\n        margin-bottom: 32px;","margin-xl":"margin: 32px;",mn:"margin: 0;","pad-xs":"padding: 4px;","pad-sm":"padding: 8px;",pad:"padding: 16px;","pad-lg":"padding: 24px;","pad-xl":"padding: 32px;",padn:"padding: 0;",padb:"padding-bottom: 16px;",padt:"padding-top: 16px;",padl:"padding-left: 16px;",padr:"padding-right: 16px;",padh:"\n        padding-right: 16px;\n        padding-left: 16px;",padv:"\n        padding-top: 16px;\n        padding-bottom: 16px;","padb-sm":"padding-bottom: 8px;","padt-sm":"padding-top: 8px;","padl-sm":"padding-left: 8px;","padr-sm":"padding-right: 8px;","padh-sm":"\n        padding-right: 8px;\n        padding-left: 8px;","padv-sm":"\n        padding-top: 8px;\n        padding-bottom: 8px;","padh-xs":"\n        padding-right: 4px;\n        padding-left: 4px;","padv-xs":"\n        padding-top: 4px;\n        padding-bottom: 4px;","padb-lg":"padding-bottom: 24px;","padt-lg":"padding-top: 24px;","padl-lg":"padding-left: 24px;","padr-lg":"padding-right: 24px;","padh-lg":"\n        padding-right: 24px;\n        padding-left: 24px;","padv-lg":"\n        padding-top: 24px;\n        padding-bottom: 24px;","padb-xl":"padding-bottom: 32px;","padt-xl":"padding-top: 32px;","padl-xl":"padding-left: 32px;","padr-xl":"padding-right: 32px;","padh-xl":"\n        padding-right: 32px;\n        padding-left: 32px;","padv-xl":"\n        padding-top: 32px;\n        padding-bottom: 32px;",flex:"display: flex;",wrap:"flex-wrap: wrap;","fd:c":"flex-direction: column;","jc:sb":"\n          display: flex;\n          justify-content: space-between;","jc:sa":"\n          display: flex;\n          justify-content: space-around;","jc:c":"\n          display: flex;\n          justify-content: center;","jc:r":"\n          display: flex;\n          justify-content: right;","jc:l":"\n          display: flex;\n          justify-content: left;","ai:c":"\n          display: flex;\n          align-items: center;","ai:s":"\n          display: flex;\n          align-items: start;","ai:e":"\n          display: flex;\n          align-items: end;",radius:"border-radius: 8px;","max-image-size":"\n          max-width: 150px;\n          max-height: 40px;",border:"\n          border: 1px solid #9aa7b5;\n          border-radius: 8px;\n        ","alt-list":"\n    border-bottom: 1px solid #d1dae3;\n    > div {\n      padding: 16px 8px;\n      :nth-child(odd) {\n        background-color: #f5f7fa;\n      }\n    }\n  ",center:"text-align: center;",right:"text-align: right;",left:"text-align: left;",bold:"font-weight: bold;"},_s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=e.split(" ").reduce(((e,t)=>t in Es?e+Es[t]:e),"");return bs`
    ${n} ${t}
  `};var Cs=n(579);const Ss={benefitsPackage:[],pages:[],selectedBenefits:[]},Ds=(e,t)=>{switch(t.type){case"RESET":return Ss;case"UPDATE":return{...e,[t.key]:{...t.key in e&&e[t.key]||{},...t.payload}};case"SET":return{...e,[t.key]:t.payload};default:return e}},js=t.createContext(),As=e=>{const[n,r]=(0,t.useReducer)(Ds,Ss);return(0,Cs.jsx)(js.Provider,{value:{store:n,dispatchStore:r},children:e.children})},Ps="\n  font-family: 'Roboto';\n  font-style: normal;\n  font-weight: 700;\n",Ls=`\n  ${Ps}\n  font-weight: 400;\n  line-height: 24px;\n  letter-spacing: 0.15px;\n`,Ms={h1:`\n    ${Ps}\n    font-size: 34px;\n    line-height: 48px;\n    letter-spacing: 0.25px;\n    color: #25282D; \n  `,h2:`\n    ${Ps}\n    font-size: 24px;\n    line-height: 32px;\n    color: #25282D;\n  `,h3:`\n    ${Ps}\n    font-weight: 400;\n    font-size: 24px;\n    line-height: 32px;\n    color: #25282D;\n  `,h4:`\n    ${Ps}\n    font-size: 18px;\n    line-height: 24px;\n    letter-spacing: 0.15px;\n    color: #25282D;\n  `,label:`\n    ${Ls}\n    font-size: 16px;\n    color: #25282D;\n  `,subtitle:"",body:`      \n    ${Ls}\n    font-size: 16px;\n    color: #66737F;\n  `,caption:`\n    ${Ls}\n    font-size: 14px;\n    font-weight: bold;\n  `,link:`\n    ${Ls}\n    color: #6D44FB;\n    cursor: pointer;\n  `,textWrap:"\n    white-space: wrap;\n  ",bold:"font-weight: bold;",normal:"font-weight: normal;",uppercase:"text-transform: uppercase;",underline:"text-decoration: underline;",capitalize:"text-transform: capitalize",ellipsis:"\n    text-overflow: ellipsis;\n    overflow: hidden;\n    white-space: nowrap;\n  "},Ns=["body","label","caption","h1","h2","h3","h4"],Os=Object.keys(Ms),Ts=(0,t.forwardRef)(((e,n)=>{let{styles:r="",className:o="",css:i="",as:a="p",children:s,color:l,bgColor:u,...c}=e;const d=Object.entries(c||{}),{restProps:p,styleProps:f}=(0,t.useMemo)((()=>{const e=d.reduce(((e,t)=>{const[n,r]=t,o=Os.includes(n)&&r?"styleProps":"restProps";return{...e,[o]:[...null===e||void 0===e?void 0:e[o],t]}}),{restProps:[],styleProps:[]});return{restProps:Object.fromEntries(e.restProps),styleProps:e.styleProps}})),h=(0,t.useMemo)((()=>{const e=f.map((e=>{let[t]=e;return t})),t=(e=>Ns.filter((t=>e.includes(t))).length?e:`body ${e}`)(r+" "+e.join(" "));return xs(bs`
          margin: 0;
          ${ws(Ms,t)}
          ${l?`color: ${l};`:""}
      ${u?`background-color: ${u};`:""}
        `,bs`
          ${i}
        `,o)}),[r,o,i,l,u,f]),m={className:h,ref:n,...p};return"p"===a?(0,Cs.jsx)("p",{...m,children:s}):"span"===a?(0,Cs.jsx)("span",{...m,children:s}):"h1"===a?(0,Cs.jsx)("h1",{...m,children:s}):void 0}));var Fs=n(8168),Rs=n(296),Is=n(45),Bs=n(4467),Ws=n(3806),zs=n(2454),$s=n(7573),Hs=n(4822),Vs=n(8587),Us=n(5540);const qs=!1,Ys=t.createContext(null);var Gs="unmounted",Zs="exited",Ks="entering",Qs="entered",Xs="exiting",Js=function(e){function n(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=Zs,r.appearStatus=Ks):o=Qs:o=t.unmountOnExit||t.mountOnEnter?Gs:Zs,r.state={status:o},r.nextCallback=null,r}(0,Us.A)(n,e),n.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Gs?{status:Zs}:null};var o=n.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Ks&&n!==Qs&&(t=Ks):n!==Ks&&n!==Qs||(t=Xs)}this.updateStatus(!1,t)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.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}},o.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Ks){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:r.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Zs&&this.setState({status:Gs})},o.performEnter=function(e){var t=this,n=this.props.enter,o=this.context?this.context.isMounting:e,i=this.props.nodeRef?[o]:[r.findDOMNode(this),o],a=i[0],s=i[1],l=this.getTimeouts(),u=o?l.appear:l.enter;!e&&!n||qs?this.safeSetState({status:Qs},(function(){t.props.onEntered(a)})):(this.props.onEnter(a,s),this.safeSetState({status:Ks},(function(){t.props.onEntering(a,s),t.onTransitionEnd(u,(function(){t.safeSetState({status:Qs},(function(){t.props.onEntered(a,s)}))}))})))},o.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),o=this.props.nodeRef?void 0:r.findDOMNode(this);t&&!qs?(this.props.onExit(o),this.safeSetState({status:Xs},(function(){e.props.onExiting(o),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Zs},(function(){e.props.onExited(o)}))}))}))):this.safeSetState({status:Zs},(function(){e.props.onExited(o)}))},o.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},o.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},o.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:r.findDOMNode(this),o=null==e&&!this.props.addEndListener;if(n&&!o){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=i[0],s=i[1];this.props.addEndListener(a,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},o.render=function(){var e=this.state.status;if(e===Gs)return null;var n=this.props,r=n.children,o=(n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef,(0,Vs.A)(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return t.createElement(Ys.Provider,{value:null},"function"===typeof r?r(e,o):t.cloneElement(t.Children.only(r),o))},n}(t.Component);function el(){}Js.contextType=Ys,Js.propTypes={},Js.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:el,onEntering:el,onEntered:el,onExit:el,onExiting:el,onExited:el},Js.UNMOUNTED=Gs,Js.EXITED=Zs,Js.ENTERING=Ks,Js.ENTERED=Qs,Js.EXITING=Xs;const tl=Js;var nl=n(3052),rl=n(5921);function ol(){return(0,nl.A)()||rl.A}var il=function(e){return e.scrollTop};function al(e,t){var n=e.timeout,r=e.style,o=void 0===r?{}:r;return{duration:o.transitionDuration||"number"===typeof n?n:n[t.mode]||0,delay:o.transitionDelay}}var sl=n(768);function ll(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var ul={entering:{opacity:1,transform:ll(1)},entered:{opacity:1,transform:"none"}},cl=t.forwardRef((function(e,n){var r=e.children,o=e.disableStrictModeCompat,i=void 0!==o&&o,a=e.in,s=e.onEnter,l=e.onEntered,u=e.onEntering,c=e.onExit,d=e.onExited,p=e.onExiting,f=e.style,h=e.timeout,m=void 0===h?"auto":h,g=e.TransitionComponent,v=void 0===g?tl:g,y=(0,Is.A)(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),x=t.useRef(),b=t.useRef(),k=ol(),w=k.unstable_strictMode&&!i,E=t.useRef(null),_=(0,sl.A)(r.ref,n),C=(0,sl.A)(w?E:void 0,_),S=function(e){return function(t,n){if(e){var r=w?[E.current,t]:[t,n],o=(0,Rs.A)(r,2),i=o[0],a=o[1];void 0===a?e(i):e(i,a)}}},D=S(u),j=S((function(e,t){il(e);var n,r=al({style:f,timeout:m},{mode:"enter"}),o=r.duration,i=r.delay;"auto"===m?(n=k.transitions.getAutoHeightDuration(e.clientHeight),b.current=n):n=o,e.style.transition=[k.transitions.create("opacity",{duration:n,delay:i}),k.transitions.create("transform",{duration:.666*n,delay:i})].join(","),s&&s(e,t)})),A=S(l),P=S(p),L=S((function(e){var t,n=al({style:f,timeout:m},{mode:"exit"}),r=n.duration,o=n.delay;"auto"===m?(t=k.transitions.getAutoHeightDuration(e.clientHeight),b.current=t):t=r,e.style.transition=[k.transitions.create("opacity",{duration:t,delay:o}),k.transitions.create("transform",{duration:.666*t,delay:o||.333*t})].join(","),e.style.opacity="0",e.style.transform=ll(.75),c&&c(e)})),M=S(d);return t.useEffect((function(){return function(){clearTimeout(x.current)}}),[]),t.createElement(v,(0,Fs.A)({appear:!0,in:a,nodeRef:w?E:void 0,onEnter:j,onEntered:A,onEntering:D,onExit:L,onExited:M,onExiting:P,addEndListener:function(e,t){var n=w?e:t;"auto"===m&&(x.current=setTimeout(n,b.current||0))},timeout:"auto"===m?null:m},y),(function(e,n){return t.cloneElement(r,(0,Fs.A)({style:(0,Fs.A)({opacity:0,transform:ll(.75),visibility:"exited"!==e||a?void 0:"hidden"},ul[e],f,r.props.style),ref:C},n))}))}));cl.muiSupportAuto=!0;const dl=cl;var pl="undefined"!==typeof window&&"undefined"!==typeof document&&"undefined"!==typeof navigator,fl=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(pl&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var hl=pl&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),fl))}};function ml(e){return e&&"[object Function]"==={}.toString.call(e)}function gl(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function vl(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function yl(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=gl(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:yl(vl(e))}function xl(e){return e&&e.referenceNode?e.referenceNode:e}var bl=pl&&!(!window.MSInputMethodContext||!document.documentMode),kl=pl&&/MSIE 10/.test(navigator.userAgent);function wl(e){return 11===e?bl:10===e?kl:bl||kl}function El(e){if(!e)return document.documentElement;for(var t=wl(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===gl(n,"position")?El(n):n:e?e.ownerDocument.documentElement:document.documentElement}function _l(e){return null!==e.parentNode?_l(e.parentNode):e}function Cl(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a=i.commonAncestorContainer;if(e!==a&&t!==a||r.contains(o))return function(e){var t=e.nodeName;return"BODY"!==t&&("HTML"===t||El(e.firstElementChild)===e)}(a)?a:El(a);var s=_l(e);return s.host?Cl(s.host,t):Cl(e,_l(t).host)}function Sl(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var r=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||r)[t]}return e[t]}function Dl(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function jl(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],wl(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function Al(e){var t=e.body,n=e.documentElement,r=wl(10)&&getComputedStyle(n);return{height:jl("Height",t,n,r),width:jl("Width",t,n,r)}}var Pl=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Ll=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},Ml=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function Nl(e){return Ml({},e,{right:e.left+e.width,bottom:e.top+e.height})}function Ol(e){var t={};try{if(wl(10)){t=e.getBoundingClientRect();var n=Sl(e,"top"),r=Sl(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(ce){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?Al(e.ownerDocument):{},a=i.width||e.clientWidth||o.width,s=i.height||e.clientHeight||o.height,l=e.offsetWidth-a,u=e.offsetHeight-s;if(l||u){var c=gl(e);l-=Dl(c,"x"),u-=Dl(c,"y"),o.width-=l,o.height-=u}return Nl(o)}function Tl(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=wl(10),o="HTML"===t.nodeName,i=Ol(e),a=Ol(t),s=yl(e),l=gl(t),u=parseFloat(l.borderTopWidth),c=parseFloat(l.borderLeftWidth);n&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var d=Nl({top:i.top-a.top-u,left:i.left-a.left-c,width:i.width,height:i.height});if(d.marginTop=0,d.marginLeft=0,!r&&o){var p=parseFloat(l.marginTop),f=parseFloat(l.marginLeft);d.top-=u-p,d.bottom-=u-p,d.left-=c-f,d.right-=c-f,d.marginTop=p,d.marginLeft=f}return(r&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(d=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=Sl(t,"top"),o=Sl(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}(d,t)),d}function Fl(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===gl(e,"position"))return!0;var n=vl(e);return!!n&&Fl(n)}function Rl(e){if(!e||!e.parentElement||wl())return document.documentElement;for(var t=e.parentElement;t&&"none"===gl(t,"transform");)t=t.parentElement;return t||document.documentElement}function Il(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?Rl(e):Cl(e,xl(t));if("viewport"===r)i=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=Tl(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:Sl(n),s=t?0:Sl(n,"left");return Nl({top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i})}(a,o);else{var s=void 0;"scrollParent"===r?"BODY"===(s=yl(vl(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===r?e.ownerDocument.documentElement:r;var l=Tl(s,a,o);if("HTML"!==s.nodeName||Fl(a))i=l;else{var u=Al(e.ownerDocument),c=u.height,d=u.width;i.top+=l.top-l.marginTop,i.bottom=c+l.top,i.left+=l.left-l.marginLeft,i.right=d+l.left}}var p="number"===typeof(n=n||0);return i.left+=p?n:n.left||0,i.top+=p?n:n.top||0,i.right-=p?n:n.right||0,i.bottom-=p?n:n.bottom||0,i}function Bl(e){return e.width*e.height}function Wl(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=Il(n,r,i,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map((function(e){return Ml({key:e},s[e],{area:Bl(s[e])})})).sort((function(e,t){return t.area-e.area})),u=l.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),c=u.length>0?u[0].key:l[0].key,d=e.split("-")[1];return c+(d?"-"+d:"")}function zl(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return Tl(n,r?Rl(t):Cl(t,xl(n)),r)}function $l(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function Hl(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function Vl(e,t,n){n=n.split("-")[0];var r=$l(e),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",l=i?"height":"width",u=i?"width":"height";return o[a]=t[a]+t[l]/2-r[l]/2,o[s]=n===s?t[s]-r[u]:t[Hl(s)],o}function Ul(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function ql(e,t,n){var r=void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=Ul(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n));return r.forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&ml(n)&&(t.offsets.popper=Nl(t.offsets.popper),t.offsets.reference=Nl(t.offsets.reference),t=n(t,e))})),t}function Yl(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=zl(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=Wl(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=Vl(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=ql(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function Gl(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function Zl(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var o=t[r],i=o?""+o+n:e;if("undefined"!==typeof document.body.style[i])return i}return null}function Kl(){return this.state.isDestroyed=!0,Gl(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[Zl("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function Ql(e){var t=e.ownerDocument;return t?t.defaultView:window}function Xl(e,t,n,r){var o="BODY"===e.nodeName,i=o?e.ownerDocument.defaultView:e;i.addEventListener(t,n,{passive:!0}),o||Xl(yl(i.parentNode),t,n,r),r.push(i)}function Jl(e,t,n,r){n.updateBound=r,Ql(e).addEventListener("resize",n.updateBound,{passive:!0});var o=yl(e);return Xl(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function eu(){this.state.eventsEnabled||(this.state=Jl(this.reference,this.options,this.state,this.scheduleUpdate))}function tu(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=function(e,t){return Ql(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}(this.reference,this.state))}function nu(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function ru(e,t){Object.keys(t).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&nu(t[n])&&(r="px"),e.style[n]=t[n]+r}))}var ou=pl&&/Firefox/i.test(navigator.userAgent);function iu(e,t,n){var r=Ul(e,(function(e){return e.name===t})),o=!!r&&e.some((function(e){return e.name===n&&e.enabled&&e.order<r.order}));if(!o){var i="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var au=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],su=au.slice(3);function lu(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=su.indexOf(e),r=su.slice(n+1).concat(su.slice(0,n));return t?r.reverse():r}var uu="flip",cu="clockwise",du="counterclockwise";function pu(e,t,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(Ul(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return u=u.map((function(e,r){var o=(1===r?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(0===a.indexOf("%")){return Nl("%p"===a?n:r)[t]/100*i}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(e,o,t,n)}))})),u.forEach((function(e,t){e.forEach((function(n,r){nu(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))}))})),o}var fu={shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",u=s?"width":"height",c={start:Ll({},l,i[l]),end:Ll({},l,i[l]+i[u]-a[u])};e.offsets.popper=Ml({},a,c[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,o=e.offsets,i=o.popper,a=o.reference,s=r.split("-")[0],l=void 0;return l=nu(+n)?[+n,0]:pu(n,i,a,s),"left"===s?(i.top+=l[0],i.left-=l[1]):"right"===s?(i.top+=l[0],i.left+=l[1]):"top"===s?(i.left+=l[0],i.top-=l[1]):"bottom"===s&&(i.left+=l[0],i.top+=l[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||El(e.instance.popper);e.instance.reference===n&&(n=El(n));var r=Zl("transform"),o=e.instance.popper.style,i=o.top,a=o.left,s=o[r];o.top="",o.left="",o[r]="";var l=Il(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=i,o.left=a,o[r]=s,t.boundaries=l;var u=t.priority,c=e.offsets.popper,d={primary:function(e){var n=c[e];return c[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(c[e],l[e])),Ll({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=c[n];return c[e]>l[e]&&!t.escapeWithReference&&(r=Math.min(c[n],l[e]-("right"===e?c.width:c.height))),Ll({},n,r)}};return u.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";c=Ml({},c,d[t](e))})),e.offsets.popper=c,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",u=a?"width":"height";return n[s]<i(r[l])&&(e.offsets.popper[l]=i(r[l])-n[u]),n[l]>i(r[s])&&(e.offsets.popper[l]=i(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!iu(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"===typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,a=i.popper,s=i.reference,l=-1!==["left","right"].indexOf(o),u=l?"height":"width",c=l?"Top":"Left",d=c.toLowerCase(),p=l?"left":"top",f=l?"bottom":"right",h=$l(r)[u];s[f]-h<a[d]&&(e.offsets.popper[d]-=a[d]-(s[f]-h)),s[d]+h>a[f]&&(e.offsets.popper[d]+=s[d]+h-a[f]),e.offsets.popper=Nl(e.offsets.popper);var m=s[d]+s[u]/2-h/2,g=gl(e.instance.popper),v=parseFloat(g["margin"+c]),y=parseFloat(g["border"+c+"Width"]),x=m-e.offsets.popper[d]-v-y;return x=Math.max(Math.min(a[u]-h,x),0),e.arrowElement=r,e.offsets.arrow=(Ll(n={},d,Math.round(x)),Ll(n,p,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(Gl(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=Il(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=Hl(r),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case uu:a=[r,o];break;case cu:a=lu(r);break;case du:a=lu(r,!0);break;default:a=t.behavior}return a.forEach((function(s,l){if(r!==s||a.length===l+1)return e;r=e.placement.split("-")[0],o=Hl(r);var u=e.offsets.popper,c=e.offsets.reference,d=Math.floor,p="left"===r&&d(u.right)>d(c.left)||"right"===r&&d(u.left)<d(c.right)||"top"===r&&d(u.bottom)>d(c.top)||"bottom"===r&&d(u.top)<d(c.bottom),f=d(u.left)<d(n.left),h=d(u.right)>d(n.right),m=d(u.top)<d(n.top),g=d(u.bottom)>d(n.bottom),v="left"===r&&f||"right"===r&&h||"top"===r&&m||"bottom"===r&&g,y=-1!==["top","bottom"].indexOf(r),x=!!t.flipVariations&&(y&&"start"===i&&f||y&&"end"===i&&h||!y&&"start"===i&&m||!y&&"end"===i&&g),b=!!t.flipVariationsByContent&&(y&&"start"===i&&h||y&&"end"===i&&f||!y&&"start"===i&&g||!y&&"end"===i&&m),k=x||b;(p||v||k)&&(e.flipped=!0,(p||v)&&(r=a[l+1]),k&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=Ml({},e.offsets.popper,Vl(e.instance.popper,e.offsets.reference,e.placement)),e=ql(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(s?o[a?"width":"height"]:0),e.placement=Hl(t),e.offsets.popper=Nl(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!iu(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=Ul(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,o=e.offsets.popper,i=Ul(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:t.gpuAcceleration,s=El(e.instance.popper),l=Ol(s),u={position:o.position},c=function(e,t){var n=e.offsets,r=n.popper,o=n.reference,i=Math.round,a=Math.floor,s=function(e){return e},l=i(o.width),u=i(r.width),c=-1!==["left","right"].indexOf(e.placement),d=-1!==e.placement.indexOf("-"),p=t?c||d||l%2===u%2?i:a:s,f=t?i:s;return{left:p(l%2===1&&u%2===1&&!d&&t?r.left-1:r.left),top:f(r.top),bottom:f(r.bottom),right:p(r.right)}}(e,window.devicePixelRatio<2||!ou),d="bottom"===n?"top":"bottom",p="right"===r?"left":"right",f=Zl("transform"),h=void 0,m=void 0;if(m="bottom"===d?"HTML"===s.nodeName?-s.clientHeight+c.bottom:-l.height+c.bottom:c.top,h="right"===p?"HTML"===s.nodeName?-s.clientWidth+c.right:-l.width+c.right:c.left,a&&f)u[f]="translate3d("+h+"px, "+m+"px, 0)",u[d]=0,u[p]=0,u.willChange="transform";else{var g="bottom"===d?-1:1,v="right"===p?-1:1;u[d]=m*g,u[p]=h*v,u.willChange=d+", "+p}var y={"x-placement":e.placement};return e.attributes=Ml({},y,e.attributes),e.styles=Ml({},u,e.styles),e.arrowStyles=Ml({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return ru(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&ru(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var i=zl(o,t,e,n.positionFixed),a=Wl(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),ru(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}},hu={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:fu},mu=function(){function e(t,n){var r=this,o=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.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=hl(this.update.bind(this)),this.options=Ml({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(Ml({},e.Defaults.modifiers,o.modifiers)).forEach((function(t){r.options.modifiers[t]=Ml({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return Ml({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&ml(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return Pl(e,[{key:"update",value:function(){return Yl.call(this)}},{key:"destroy",value:function(){return Kl.call(this)}},{key:"enableEventListeners",value:function(){return eu.call(this)}},{key:"disableEventListeners",value:function(){return tu.call(this)}}]),e}();mu.Utils=("undefined"!==typeof window?window:n.g).PopperUtils,mu.placements=au,mu.Defaults=hu;const gu=mu;var vu=n(9189);var yu="undefined"!==typeof window?t.useLayoutEffect:t.useEffect,xu=t.forwardRef((function(e,n){var o=e.children,i=e.container,a=e.disablePortal,s=void 0!==a&&a,l=e.onRendered,u=t.useState(null),c=u[0],d=u[1],p=(0,sl.A)(t.isValidElement(o)?o.ref:null,n);return yu((function(){s||d(function(e){return e="function"===typeof e?e():e,r.findDOMNode(e)}(i)||document.body)}),[i,s]),yu((function(){if(c&&!s)return(0,vu.A)(n,c),function(){(0,vu.A)(n,null)}}),[n,c,s]),yu((function(){l&&(c||s)&&l()}),[l,c,s]),s?t.isValidElement(o)?t.cloneElement(o,{ref:p}):o:c?r.createPortal(o,c):c}));const bu=xu;var ku=n(146);function wu(e){return"function"===typeof e?e():e}var Eu="undefined"!==typeof window?t.useLayoutEffect:t.useEffect,_u={},Cu=t.forwardRef((function(e,n){var r=e.anchorEl,o=e.children,i=e.container,a=e.disablePortal,s=void 0!==a&&a,l=e.keepMounted,u=void 0!==l&&l,c=e.modifiers,d=e.open,p=e.placement,f=void 0===p?"bottom":p,h=e.popperOptions,m=void 0===h?_u:h,g=e.popperRef,v=e.style,y=e.transition,x=void 0!==y&&y,b=(0,Is.A)(e,["anchorEl","children","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"]),k=t.useRef(null),w=(0,sl.A)(k,n),E=t.useRef(null),_=(0,sl.A)(E,g),C=t.useRef(_);Eu((function(){C.current=_}),[_]),t.useImperativeHandle(g,(function(){return E.current}),[]);var S=t.useState(!0),D=S[0],j=S[1],A=function(e,t){if("ltr"===(t&&t.direction||"ltr"))return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(f,(0,nl.A)()),P=t.useState(A),L=P[0],M=P[1];t.useEffect((function(){E.current&&E.current.update()}));var N=t.useCallback((function(){if(k.current&&r&&d){E.current&&(E.current.destroy(),C.current(null));var e=function(e){M(e.placement)},t=(wu(r),new gu(wu(r),k.current,(0,Fs.A)({placement:A},m,{modifiers:(0,Fs.A)({},s?{}:{preventOverflow:{boundariesElement:"window"}},c,m.modifiers),onCreate:(0,ku.A)(e,m.onCreate),onUpdate:(0,ku.A)(e,m.onUpdate)})));C.current(t)}}),[r,s,c,d,A,m]),O=t.useCallback((function(e){(0,vu.A)(w,e),N()}),[w,N]),T=function(){E.current&&(E.current.destroy(),C.current(null))};if(t.useEffect((function(){return function(){T()}}),[]),t.useEffect((function(){d||x||T()}),[d,x]),!u&&!d&&(!x||D))return null;var F={placement:L};return x&&(F.TransitionProps={in:d,onEnter:function(){j(!1)},onExited:function(){j(!0),T()}}),t.createElement(bu,{disablePortal:s,container:i},t.createElement("div",(0,Fs.A)({ref:O,role:"tooltip"},b,{style:(0,Fs.A)({position:"fixed",top:0,left:0,display:d||!u||x?null:"none"},v)}),"function"===typeof o?o(F):o))}));const Su=Cu;var Du=n(2237),ju=n(4455),Au=n(1051);function Pu(e){return Math.round(1e5*e)/1e5}var Lu=!1,Mu=null;var Nu=t.forwardRef((function(e,n){var i=e.arrow,a=void 0!==i&&i,s=e.children,l=e.classes,u=e.disableFocusListener,c=void 0!==u&&u,d=e.disableHoverListener,p=void 0!==d&&d,f=e.disableTouchListener,h=void 0!==f&&f,m=e.enterDelay,g=void 0===m?100:m,v=e.enterNextDelay,y=void 0===v?0:v,x=e.enterTouchDelay,b=void 0===x?700:x,k=e.id,w=e.interactive,E=void 0!==w&&w,_=e.leaveDelay,C=void 0===_?0:_,S=e.leaveTouchDelay,D=void 0===S?1500:S,j=e.onClose,A=e.onOpen,P=e.open,L=e.placement,M=void 0===L?"bottom":L,N=e.PopperComponent,O=void 0===N?Su:N,T=e.PopperProps,F=e.title,R=e.TransitionComponent,I=void 0===R?dl:R,B=e.TransitionProps,W=(0,Is.A)(e,["arrow","children","classes","disableFocusListener","disableHoverListener","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","id","interactive","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","title","TransitionComponent","TransitionProps"]),z=ol(),$=t.useState(),H=$[0],V=$[1],U=t.useState(null),q=U[0],Y=U[1],G=t.useRef(!1),Z=t.useRef(),K=t.useRef(),Q=t.useRef(),X=t.useRef(),J=(0,Au.A)({controlled:P,default:!1,name:"Tooltip",state:"open"}),ee=(0,Rs.A)(J,2),te=ee[0],ne=ee[1],re=te,oe=(0,Du.A)(k);t.useEffect((function(){return function(){clearTimeout(Z.current),clearTimeout(K.current),clearTimeout(Q.current),clearTimeout(X.current)}}),[]);var ie=function(e){clearTimeout(Mu),Lu=!0,ne(!0),A&&A(e)},ae=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){var n=s.props;"mouseover"===t.type&&n.onMouseOver&&e&&n.onMouseOver(t),G.current&&"touchstart"!==t.type||(H&&H.removeAttribute("title"),clearTimeout(K.current),clearTimeout(Q.current),g||Lu&&y?(t.persist(),K.current=setTimeout((function(){ie(t)}),Lu?y:g)):ie(t))}},se=(0,ju.A)(),le=se.isFocusVisible,ue=se.onBlurVisible,ce=se.ref,de=t.useState(!1),pe=de[0],fe=de[1],he=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){H||V(t.currentTarget),le(t)&&(fe(!0),ae()(t));var n=s.props;n.onFocus&&e&&n.onFocus(t)}},me=function(e){clearTimeout(Mu),Mu=setTimeout((function(){Lu=!1}),800+C),ne(!1),j&&j(e),clearTimeout(Z.current),Z.current=setTimeout((function(){G.current=!1}),z.transitions.duration.shortest)},ge=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){var n=s.props;"blur"===t.type&&(n.onBlur&&e&&n.onBlur(t),pe&&(fe(!1),ue())),"mouseleave"===t.type&&n.onMouseLeave&&t.currentTarget===H&&n.onMouseLeave(t),clearTimeout(K.current),clearTimeout(Q.current),t.persist(),Q.current=setTimeout((function(){me(t)}),C)}},ve=function(e){G.current=!0;var t=s.props;t.onTouchStart&&t.onTouchStart(e)},ye=(0,sl.A)(V,n),xe=(0,sl.A)(ce,ye),be=t.useCallback((function(e){(0,vu.A)(xe,r.findDOMNode(e))}),[xe]),ke=(0,sl.A)(s.ref,be);""===F&&(re=!1);var we=!re&&!p,Ee=(0,Fs.A)({"aria-describedby":re?oe:null,title:we&&"string"===typeof F?F:null},W,s.props,{className:(0,o.A)(W.className,s.props.className),onTouchStart:ve,ref:ke}),_e={};h||(Ee.onTouchStart=function(e){ve(e),clearTimeout(Q.current),clearTimeout(Z.current),clearTimeout(X.current),e.persist(),X.current=setTimeout((function(){ae()(e)}),b)},Ee.onTouchEnd=function(e){s.props.onTouchEnd&&s.props.onTouchEnd(e),clearTimeout(X.current),clearTimeout(Q.current),e.persist(),Q.current=setTimeout((function(){me(e)}),D)}),p||(Ee.onMouseOver=ae(),Ee.onMouseLeave=ge(),E&&(_e.onMouseOver=ae(!1),_e.onMouseLeave=ge(!1))),c||(Ee.onFocus=he(),Ee.onBlur=ge(),E&&(_e.onFocus=he(!1),_e.onBlur=ge(!1)));var Ce=t.useMemo((function(){return(0,Ws.A)({popperOptions:{modifiers:{arrow:{enabled:Boolean(q),element:q}}}},T)}),[q,T]);return t.createElement(t.Fragment,null,t.cloneElement(s,Ee),t.createElement(O,(0,Fs.A)({className:(0,o.A)(l.popper,E&&l.popperInteractive,a&&l.popperArrow),placement:M,anchorEl:H,open:!!H&&re,id:Ee["aria-describedby"],transition:!0},_e,Ce),(function(e){var n=e.placement,r=e.TransitionProps;return t.createElement(I,(0,Fs.A)({timeout:z.transitions.duration.shorter},r,B),t.createElement("div",{className:(0,o.A)(l.tooltip,l["tooltipPlacement".concat((0,Hs.A)(n.split("-")[0]))],G.current&&l.touch,a&&l.tooltipArrow)},F,a?t.createElement("span",{className:l.arrow,ref:Y}):null))})))}));const Ou=(0,$s.A)((function(e){return{popper:{zIndex:e.zIndex.tooltip,pointerEvents:"none"},popperInteractive:{pointerEvents:"auto"},popperArrow:{'&[x-placement*="bottom"] $arrow':{top:0,left:0,marginTop:"-0.71em",marginLeft:4,marginRight:4,"&::before":{transformOrigin:"0 100%"}},'&[x-placement*="top"] $arrow':{bottom:0,left:0,marginBottom:"-0.71em",marginLeft:4,marginRight:4,"&::before":{transformOrigin:"100% 0"}},'&[x-placement*="right"] $arrow':{left:0,marginLeft:"-0.71em",height:"1em",width:"0.71em",marginTop:4,marginBottom:4,"&::before":{transformOrigin:"100% 100%"}},'&[x-placement*="left"] $arrow':{right:0,marginRight:"-0.71em",height:"1em",width:"0.71em",marginTop:4,marginBottom:4,"&::before":{transformOrigin:"0 0"}}},tooltip:{backgroundColor:(0,zs.X4)(e.palette.grey[700],.9),borderRadius:e.shape.borderRadius,color:e.palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(10),lineHeight:"".concat(Pu(1.4),"em"),maxWidth:300,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},tooltipArrow:{position:"relative",margin:"0"},arrow:{overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:(0,zs.X4)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}},touch:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:"".concat(Pu(16/14),"em"),fontWeight:e.typography.fontWeightRegular},tooltipPlacementLeft:(0,Bs.A)({transformOrigin:"right center",margin:"0 24px "},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementRight:(0,Bs.A)({transformOrigin:"left center",margin:"0 24px"},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementTop:(0,Bs.A)({transformOrigin:"center bottom",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"}),tooltipPlacementBottom:(0,Bs.A)({transformOrigin:"center top",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"})}}),{name:"MuiTooltip",flip:!1})(Nu),Tu=e=>((null===e||void 0===e?void 0:e.split(" "))||[]).reduce(((e,t)=>e+" "+(null===Fu||void 0===Fu?void 0:Fu[t])||""),"display: flex;"),Fu={jcsb:"justify-content: space-between;",jcsa:"justify-content: space-around;",jcse:"justify-content: space-evenly;",jcc:"justify-content: center;",jcl:"justify-content: left;",jcr:"justify-content: right;",aic:"align-items: center;",ais:"align-items: start;",aie:"align-items: end;",aistretch:"align-items: stretch;","space-between":"justify-content: space-between; align-items: center;","space-around":"justify-content: space-around; align-items: center;","space-evenly":"justify-content: space-evenly; align-items: center;",center:"justify-content: center; align-items: center;",left:"justify-content: left; align-items: center;",right:"justify-content: right; align-items: center;","ai-center":"align-items: center;",start:"align-items: start;",end:"align-items: end;",stretch:"align-items: stretch;",column:"flex-direction: column;",grow:"flex-grow: 1;",wrap:"flex-wrap: wrap;"},Ru={hide:"::-webkit-scrollbar { display: none; }",style:`\n    scroll-behavior: smooth;\n    ::-webkit-scrollbar {\n      width: 6px;\n    }\n\n    ::-webkit-scrollbar-track {\n      background: white;\n    }\n\n    ::-webkit-scrollbar-thumb {\n      background: ${ks.black};\n      border-radius: 16px;\n      visibility: visible;\n    }\n  `},Iu="filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, .2));",Bu={fadein:"@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }",blurin:"@keyframes blurin { from { backdrop-filter: blur(2px); } to { backdrop-filter: none; } }"},Wu=(e,t)=>`\n    ${Bu[e]}\n    animation: ${e} ${t};\n  `,zu={box:"\n    padding: 8px 16px;\n    border-radius: 8px;\n    background-color: white;\n    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, .2));\n  ",header:"\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    margin-bottom: 16px;\n    h1 {\n      font-weight: bold;\n      font-size: 34px;\n      line-height: 42px;\n      color: #25282d;\n      margin: 0;\n      padding: 0;\n      margin-right: 12px;\n      margin-left: 8px;\n    }\n  ",alternatingList:"\n    border-bottom: 1px solid #d1dae3;\n    > div {\n      padding: 16px 8px;\n      :nth-child(odd) {\n        background-color: #f5f7fa;\n      }\n    }\n  ",list:`\n    .alt-item {\n      :nth-of-type(odd) { background-color: ${ks.gray[100]}; }\n      padding: 8px;\n      border-radius: 8px;\n    }\n  `,hover:`\n    cursor: pointer;\n    :hover { background-color: ${ks.gray[100]}; }\n    transition: background-color .2s ease;\n  `},$u="\n  background: #D1DAE3;\n  border-radius: 8px;\n  border-color: transparent;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  gap: 8px;\n  color: #9AA7B5;\n  cursor: default;\n",Hu=`\n  ${Tu("center")}\n  span {\n    ${Tu("center")}\n  }\n  padding: 8px 22px;\n  gap: 8px;\n  border-radius: 8px;\n  font-family: 'Roboto';\n  font-style: normal;\n  font-weight: 700;\n  font-size: 15px;\n  line-height: 26px;\n  letter-spacing: 0.46px;\n  text-transform: uppercase;\n  box-sizing: border-box;\n  cursor: pointer;\n  outline: none;\n  min-width: max-content;\n`,Vu=`\n  ${Tu("center")}\n  span { ${Tu("center")} }\n  outline: none;\n  border-radius: 50%;\n  width: 48px;\n  height: 48px;\n  font-size: 32px;\n  border: none;\n  background: none;\n  :hover { background-color: ${ks.gray[200]}; }\n  :disabled { background: none; cursor: default; opacity: 30%; }\n  cursor: pointer;\n`,Uu={primary:`\n    ${Hu}\n    background: #25282D;\n    border: none;\n    color: #FFFFFF;\n    :disabled { ${$u} }\n  `,secondary:`\n    ${Hu}\n    border: 1px solid ${ks.gray[300]};\n    background: white;\n    color: #25282D;\n    ${zu.hover}\n    :disabled { ${$u} }\n  `,text:`\n    ${Hu}\n    border-radius: 8px;\n    color: #25282D;\n    background: none;\n    border: none;\n    cursor: pointer;\n    :hover { background-color: ${ks.gray[200]}; }\n    :disabled { ${$u} }\n  `,"tab-active":`\n    ${Hu}\n    flex-grow: 1;\n    border-radius: 0;\n    color: #25282D;\n    background: none;\n    border: none;\n    border-top-radius: 8px;\n    border-bottom: 3px solid ${ks.black};\n    cursor: pointer;\n    border-radius: 8px;\n    border-bottom-left-radius: 0;\n    border-bottom-right-radius: 0;\n    :hover { background-color: #F5F7FA; }\n    :disabled { ${$u} }\n  `,"tab-inactive":`\n    ${Hu}\n    flex-grow: 1;\n    border-radius: 0;\n    color: ${ks.gray[400]};\n    background: none;\n    border: none;\n    border-bottom: 3px solid transparent;\n    cursor: pointer;\n    border-radius: 8px;\n    border-bottom-left-radius: 0;\n    border-bottom-right-radius: 0;\n    :hover { background-color: #F5F7FA; }\n    :disabled { ${$u} }\n  `,icon:Vu,"icon-active":`\n    ${Vu}\n    background-color: ${ks.gray[100]};\n    border: 1px solid ${ks.gray[200]};\n    :hover { background: ${ks.gray[300]}; }\n  `,sm:"\n    width: 32px;\n    height: 32px;\n    font-size: 24px;\n    padding: 0;\n    margin: 0;\n    svg { padding: 0; margin: 0; } \n  ","icon-dark":`\n    outline: none;\n    border-radius: 50%;\n    width: 16px;\n    height: 16px;\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    font-size: 16px;\n    border: none;\n    background: ${ks.gray[500]};\n    :hover { background-color: ${ks.black}; }\n    :disabled { background: none; cursor: default; }\n    cursor: pointer;\n  `,link:`\n    ${Hu}\n    color: ${ks.purple};\n    background: none;\n    text-align: left;\n    border: none;\n    :hover {\n      background: none;\n      text-decoration: underline;\n    }\n  `,"pill-active":`\n    padding: 4px 16px;\n    color: ${ks.black};\n    background-color: ${ks.gray[100]};\n    border-radius: 8px;\n    text-transform: none;\n    font-weight: normal;\n  `,"pill-inactive":`\n    padding: 4px 16px;\n    color: ${ks.black};\n    background-color: transparent;\n    border-radius: 8px;\n    text-transform: none;\n    font-weight: normal;\n    :hover { background-color: ${ks.gray[100]}; }\n  `,naked:`\n    span { ${Tu("center")} }\n    color: #25282D;\n    border: none;\n    background: none;\n    outline: none;\n    font-size: 1em;\n    text-align: center;\n    cursor: pointer;\n\n    :disabled { background: none; cursor: default; }\n  `},qu=Object.keys(Uu),Yu=qu,Gu=(0,t.forwardRef)((function(){let{styles:e="primary",className:n="",css:r="",children:o,color:i,bgColor:a,hoverLabel:s="",hoverPlacement:l="top",conditionalStyle:u=[],...c}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},d=arguments.length>1?arguments[1]:void 0;const p=Object.entries(c||{}),{restProps:f,styleProps:h}=(0,t.useMemo)((()=>{const e=p.reduce(((e,t)=>{const[n,r]=t,o=qu.includes(n)&&r?"styleProps":"restProps";return{...e,[o]:[...null===e||void 0===e?void 0:e[o],t]}}),{restProps:[],styleProps:[]});return{restProps:Object.fromEntries(e.restProps),styleProps:e.styleProps}})),m=(0,t.useMemo)((()=>{const t=h.map((e=>{let[t]=e;return t}));let o=e+" "+t.join(" ");if(u.length){const[e,t,n]=u;o+=` ${n}`+(e===t?"-active":"-inactive")}const s=(e=>Yu.filter((t=>e.includes(t))).length?e:`primary ${e}`)(o);return xs(bs`
          ${ws(Uu,s)}
          ${i?`color: ${i}`:""}
      ${a?`background-color: ${a}`:""}
        `,bs`
          ${r}
        `,n)}),[e,r,h,n,i,a,u.toString()]),g={type:"button",className:m,...f,ref:d};return s?(0,Cs.jsx)("button",{...g,children:(0,Cs.jsx)(Ou,{title:s,placement:l,children:o})}):(0,Cs.jsx)("button",{...g,children:o})})),Zu={box:"\n    padding: 8px 16px;\n    border-radius: 8px;\n    background-color: white;\n    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, .2));",header:"\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    margin-bottom: 16px;\n    h1 {\n      font-weight: bold;\n      font-size: 34px;\n      line-height: 42px;\n      color: #25282d;\n      margin: 0;\n      padding: 0;\n      margin-right: 12px;\n      margin-left: 8px;\n    }",alternatingList:`\n    .alternating-item {\n      :nth-child(even) {\n        background-color: ${ks.gray[100]};\n      }\n    }\n  `,alternatingListOdd:`\n    .alternating-item {\n      :nth-child(odd) {\n        background-color: ${ks.gray[100]};\n      }\n    }\n  `},Ku=(0,t.forwardRef)(((e,t)=>{let{children:n,styles:r="",className:o="",css:i,...a}=e;const s={className:xs(bs`
      ${ws(Zu,r)}
    `,i,o),...a,ref:t};return(0,Cs.jsx)("div",{...s,children:n})}));ks.gray[400];n(2086);var Qu=n(7355),Xu=n(9892),Ju=n(7249),ec=n(1978),tc=n(9777),nc=n(5321);var rc=n(2901),oc=n(5458);function ic(){var e=document.createElement("div");e.style.width="99px",e.style.height="99px",e.style.position="absolute",e.style.top="-9999px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}function ac(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function sc(e){return parseInt(window.getComputedStyle(e)["padding-right"],10)||0}function lc(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4?arguments[4]:void 0,i=[t,n].concat((0,oc.A)(r)),a=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(function(e){1===e.nodeType&&-1===i.indexOf(e)&&-1===a.indexOf(e.tagName)&&ac(e,o)}))}function uc(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}function cc(e,t){var n,r=[],o=[],i=e.container;if(!t.disableScrollLock){if(function(e){var t=(0,Xu.A)(e);return t.body===e?(0,Ju.A)(t).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(i)){var a=ic();r.push({value:i.style.paddingRight,key:"padding-right",el:i}),i.style["padding-right"]="".concat(sc(i)+a,"px"),n=(0,Xu.A)(i).querySelectorAll(".mui-fixed"),[].forEach.call(n,(function(e){o.push(e.style.paddingRight),e.style.paddingRight="".concat(sc(e)+a,"px")}))}var s=i.parentElement,l="HTML"===s.nodeName&&"scroll"===window.getComputedStyle(s)["overflow-y"]?s:i;r.push({value:l.style.overflow,key:"overflow",el:l}),l.style.overflow="hidden"}return function(){n&&[].forEach.call(n,(function(e,t){o[t]?e.style.paddingRight=o[t]:e.style.removeProperty("padding-right")})),r.forEach((function(e){var t=e.value,n=e.el,r=e.key;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}var dc=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.modals=[],this.containers=[]}return(0,rc.A)(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&ac(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,(function(e){e.getAttribute&&"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);lc(t,e.mountNode,e.modalRef,r,!0);var o=uc(this.containers,(function(e){return e.container===t}));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblingNodes:r}),n)}},{key:"mount",value:function(e,t){var n=uc(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=cc(r,t))}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(-1===t)return t;var n=uc(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&ac(e.modalRef,!0),lc(r.container,e.mountNode,e.modalRef,r.hiddenSiblingNodes,!1),this.containers.splice(n,1);else{var o=r.modals[r.modals.length-1];o.modalRef&&ac(o.modalRef,!1)}return t}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}();const pc=function(e){var n=e.children,o=e.disableAutoFocus,i=void 0!==o&&o,a=e.disableEnforceFocus,s=void 0!==a&&a,l=e.disableRestoreFocus,u=void 0!==l&&l,c=e.getDoc,d=e.isEnabled,p=e.open,f=t.useRef(),h=t.useRef(null),m=t.useRef(null),g=t.useRef(),v=t.useRef(null),y=t.useCallback((function(e){v.current=r.findDOMNode(e)}),[]),x=(0,sl.A)(n.ref,y),b=t.useRef();return t.useEffect((function(){b.current=p}),[p]),!b.current&&p&&"undefined"!==typeof window&&(g.current=c().activeElement),t.useEffect((function(){if(p){var e=(0,Xu.A)(v.current);i||!v.current||v.current.contains(e.activeElement)||(v.current.hasAttribute("tabIndex")||v.current.setAttribute("tabIndex",-1),v.current.focus());var t=function(){null!==v.current&&(e.hasFocus()&&!s&&d()&&!f.current?v.current&&!v.current.contains(e.activeElement)&&v.current.focus():f.current=!1)},n=function(t){!s&&d()&&9===t.keyCode&&e.activeElement===v.current&&(f.current=!0,t.shiftKey?m.current.focus():h.current.focus())};e.addEventListener("focus",t,!0),e.addEventListener("keydown",n,!0);var r=setInterval((function(){t()}),50);return function(){clearInterval(r),e.removeEventListener("focus",t,!0),e.removeEventListener("keydown",n,!0),u||(g.current&&g.current.focus&&g.current.focus(),g.current=null)}}}),[i,s,u,d,p]),t.createElement(t.Fragment,null,t.createElement("div",{tabIndex:0,ref:h,"data-test":"sentinelStart"}),t.cloneElement(n,{ref:x}),t.createElement("div",{tabIndex:0,ref:m,"data-test":"sentinelEnd"}))};var fc={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}};const hc=t.forwardRef((function(e,n){var r=e.invisible,o=void 0!==r&&r,i=e.open,a=(0,Is.A)(e,["invisible","open"]);return i?t.createElement("div",(0,Fs.A)({"aria-hidden":!0,ref:n},a,{style:(0,Fs.A)({},fc.root,o?fc.invisible:{},a.style)})):null}));var mc=new dc,gc=t.forwardRef((function(e,n){var o=(0,nl.A)(),i=(0,ec.A)({name:"MuiModal",props:(0,Fs.A)({},e),theme:o}),a=i.BackdropComponent,s=void 0===a?hc:a,l=i.BackdropProps,u=i.children,c=i.closeAfterTransition,d=void 0!==c&&c,p=i.container,f=i.disableAutoFocus,h=void 0!==f&&f,m=i.disableBackdropClick,g=void 0!==m&&m,v=i.disableEnforceFocus,y=void 0!==v&&v,x=i.disableEscapeKeyDown,b=void 0!==x&&x,k=i.disablePortal,w=void 0!==k&&k,E=i.disableRestoreFocus,_=void 0!==E&&E,C=i.disableScrollLock,S=void 0!==C&&C,D=i.hideBackdrop,j=void 0!==D&&D,A=i.keepMounted,P=void 0!==A&&A,L=i.manager,M=void 0===L?mc:L,N=i.onBackdropClick,O=i.onClose,T=i.onEscapeKeyDown,F=i.onRendered,R=i.open,I=(0,Is.A)(i,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),B=t.useState(!0),W=B[0],z=B[1],$=t.useRef({}),H=t.useRef(null),V=t.useRef(null),U=(0,sl.A)(V,n),q=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(i),Y=function(){return(0,Xu.A)(H.current)},G=function(){return $.current.modalRef=V.current,$.current.mountNode=H.current,$.current},Z=function(){M.mount(G(),{disableScrollLock:S}),V.current.scrollTop=0},K=(0,tc.A)((function(){var e=function(e){return e="function"===typeof e?e():e,r.findDOMNode(e)}(p)||Y().body;M.add(G(),e),V.current&&Z()})),Q=t.useCallback((function(){return M.isTopModal(G())}),[M]),X=(0,tc.A)((function(e){H.current=e,e&&(F&&F(),R&&Q()?Z():ac(V.current,!0))})),J=t.useCallback((function(){M.remove(G())}),[M]);if(t.useEffect((function(){return function(){J()}}),[J]),t.useEffect((function(){R?K():q&&d||J()}),[R,J,q,d,K]),!P&&!R&&(!q||W))return null;var ee=function(e){return{root:{position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(o||{zIndex:nc.A}),te={};return void 0===u.props.tabIndex&&(te.tabIndex=u.props.tabIndex||"-1"),q&&(te.onEnter=(0,ku.A)((function(){z(!1)}),u.props.onEnter),te.onExited=(0,ku.A)((function(){z(!0),d&&J()}),u.props.onExited)),t.createElement(bu,{ref:X,container:p,disablePortal:w},t.createElement("div",(0,Fs.A)({ref:U,onKeyDown:function(e){"Escape"===e.key&&Q()&&(T&&T(e),b||(e.stopPropagation(),O&&O(e,"escapeKeyDown")))},role:"presentation"},I,{style:(0,Fs.A)({},ee.root,!R&&W?ee.hidden:{},I.style)}),j?null:t.createElement(s,(0,Fs.A)({open:R,onClick:function(e){e.target===e.currentTarget&&(N&&N(e),!g&&O&&O(e,"backdropClick"))}},l)),t.createElement(pc,{disableEnforceFocus:y,disableAutoFocus:h,disableRestoreFocus:_,getDoc:Y,isEnabled:Q,open:R},t.cloneElement(u,te))))}));const vc=gc;var yc=t.forwardRef((function(e,n){var r=e.classes,i=e.className,a=e.component,s=void 0===a?"div":a,l=e.square,u=void 0!==l&&l,c=e.elevation,d=void 0===c?1:c,p=e.variant,f=void 0===p?"elevation":p,h=(0,Is.A)(e,["classes","className","component","square","elevation","variant"]);return t.createElement(s,(0,Fs.A)({className:(0,o.A)(r.root,i,"outlined"===f?r.outlined:r["elevation".concat(d)],!u&&r.rounded),ref:n},h))}));const xc=(0,$s.A)((function(e){var t={};return e.shadows.forEach((function(e,n){t["elevation".concat(n)]={boxShadow:e}})),(0,Fs.A)({root:{backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},rounded:{borderRadius:e.shape.borderRadius},outlined:{border:"1px solid ".concat(e.palette.divider)}},t)}),{name:"MuiPaper"})(yc);function bc(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function kc(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function wc(e){return[e.horizontal,e.vertical].map((function(e){return"number"===typeof e?"".concat(e,"px"):e})).join(" ")}function Ec(e){return"function"===typeof e?e():e}var _c=t.forwardRef((function(e,n){var i=e.action,a=e.anchorEl,s=e.anchorOrigin,l=void 0===s?{vertical:"top",horizontal:"left"}:s,u=e.anchorPosition,c=e.anchorReference,d=void 0===c?"anchorEl":c,p=e.children,f=e.classes,h=e.className,m=e.container,g=e.elevation,v=void 0===g?8:g,y=e.getContentAnchorEl,x=e.marginThreshold,b=void 0===x?16:x,k=e.onEnter,w=e.onEntered,E=e.onEntering,_=e.onExit,C=e.onExited,S=e.onExiting,D=e.open,j=e.PaperProps,A=void 0===j?{}:j,P=e.transformOrigin,L=void 0===P?{vertical:"top",horizontal:"left"}:P,M=e.TransitionComponent,N=void 0===M?dl:M,O=e.transitionDuration,T=void 0===O?"auto":O,F=e.TransitionProps,R=void 0===F?{}:F,I=(0,Is.A)(e,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","classes","className","container","elevation","getContentAnchorEl","marginThreshold","onEnter","onEntered","onEntering","onExit","onExited","onExiting","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"]),B=t.useRef(),W=t.useCallback((function(e){if("anchorPosition"===d)return u;var t=Ec(a),n=(t&&1===t.nodeType?t:(0,Xu.A)(B.current).body).getBoundingClientRect(),r=0===e?l.vertical:"center";return{top:n.top+bc(n,r),left:n.left+kc(n,l.horizontal)}}),[a,l.horizontal,l.vertical,u,d]),z=t.useCallback((function(e){var t=0;if(y&&"anchorEl"===d){var n=y(e);if(n&&e.contains(n)){var r=function(e,t){for(var n=t,r=0;n&&n!==e;)r+=(n=n.parentElement).scrollTop;return r}(e,n);t=n.offsetTop+n.clientHeight/2-r||0}0}return t}),[l.vertical,d,y]),$=t.useCallback((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:bc(e,L.vertical)+t,horizontal:kc(e,L.horizontal)}}),[L.horizontal,L.vertical]),H=t.useCallback((function(e){var t=z(e),n={width:e.offsetWidth,height:e.offsetHeight},r=$(n,t);if("none"===d)return{top:null,left:null,transformOrigin:wc(r)};var o=W(t),i=o.top-r.vertical,s=o.left-r.horizontal,l=i+n.height,u=s+n.width,c=(0,Ju.A)(Ec(a)),p=c.innerHeight-b,f=c.innerWidth-b;if(i<b){var h=i-b;i-=h,r.vertical+=h}else if(l>p){var m=l-p;i-=m,r.vertical+=m}if(s<b){var g=s-b;s-=g,r.horizontal+=g}else if(u>f){var v=u-f;s-=v,r.horizontal+=v}return{top:"".concat(Math.round(i),"px"),left:"".concat(Math.round(s),"px"),transformOrigin:wc(r)}}),[a,d,W,z,$,b]),V=t.useCallback((function(){var e=B.current;if(e){var t=H(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}}),[H]),U=t.useCallback((function(e){B.current=r.findDOMNode(e)}),[]);t.useEffect((function(){D&&V()})),t.useImperativeHandle(i,(function(){return D?{updatePosition:function(){V()}}:null}),[D,V]),t.useEffect((function(){if(D){var e=(0,Qu.A)((function(){V()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[D,V]);var q=T;"auto"!==T||N.muiSupportAuto||(q=void 0);var Y=m||(a?(0,Xu.A)(Ec(a)).body:void 0);return t.createElement(vc,(0,Fs.A)({container:Y,open:D,ref:n,BackdropProps:{invisible:!0},className:(0,o.A)(f.root,h)},I),t.createElement(N,(0,Fs.A)({appear:!0,in:D,onEnter:k,onEntered:w,onExit:_,onExited:C,onExiting:S,timeout:q},R,{onEntering:(0,ku.A)((function(e,t){E&&E(e,t),V()}),R.onEntering)}),t.createElement(xc,(0,Fs.A)({elevation:v,ref:U},A,{className:(0,o.A)(f.paper,A.className)}),p)))}));const Cc=(0,$s.A)({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"MuiPopover"})(_c);const Sc=t.createContext({});var Dc=t.forwardRef((function(e,n){var r=e.children,i=e.classes,a=e.className,s=e.component,l=void 0===s?"ul":s,u=e.dense,c=void 0!==u&&u,d=e.disablePadding,p=void 0!==d&&d,f=e.subheader,h=(0,Is.A)(e,["children","classes","className","component","dense","disablePadding","subheader"]),m=t.useMemo((function(){return{dense:c}}),[c]);return t.createElement(Sc.Provider,{value:m},t.createElement(l,(0,Fs.A)({className:(0,o.A)(i.root,a,c&&i.dense,!p&&i.padding,f&&i.subheader),ref:n},h),f,r))}));const jc=(0,$s.A)({root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:"MuiList"})(Dc);function Ac(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Pc(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Lc(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function Mc(e,t,n,r,o,i){for(var a=!1,s=o(e,t,!!t&&n);s;){if(s===e.firstChild){if(a)return;a=!0}var l=!r&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&Lc(s,i)&&!l)return void s.focus();s=o(e,s,n)}}var Nc="undefined"===typeof window?t.useEffect:t.useLayoutEffect,Oc=t.forwardRef((function(e,n){var o=e.actions,i=e.autoFocus,a=void 0!==i&&i,s=e.autoFocusItem,l=void 0!==s&&s,u=e.children,c=e.className,d=e.disabledItemsFocusable,p=void 0!==d&&d,f=e.disableListWrap,h=void 0!==f&&f,m=e.onKeyDown,g=e.variant,v=void 0===g?"selectedMenu":g,y=(0,Is.A)(e,["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"]),x=t.useRef(null),b=t.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Nc((function(){a&&x.current.focus()}),[a]),t.useImperativeHandle(o,(function(){return{adjustStyleForScrollbar:function(e,t){var n=!x.current.style.width;if(e.clientHeight<x.current.clientHeight&&n){var r="".concat(ic(),"px");x.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=r,x.current.style.width="calc(100% + ".concat(r,")")}return x.current}}}),[]);var k=t.useCallback((function(e){x.current=r.findDOMNode(e)}),[]),w=(0,sl.A)(k,n),E=-1;t.Children.forEach(u,(function(e,n){t.isValidElement(e)&&(e.props.disabled||("selectedMenu"===v&&e.props.selected||-1===E)&&(E=n))}));var _=t.Children.map(u,(function(e,n){if(n===E){var r={};return l&&(r.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===v&&(r.tabIndex=0),t.cloneElement(e,r)}return e}));return t.createElement(jc,(0,Fs.A)({role:"menu",ref:w,className:c,onKeyDown:function(e){var t=x.current,n=e.key,r=(0,Xu.A)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),Mc(t,r,h,p,Ac);else if("ArrowUp"===n)e.preventDefault(),Mc(t,r,h,p,Pc);else if("Home"===n)e.preventDefault(),Mc(t,null,h,p,Ac);else if("End"===n)e.preventDefault(),Mc(t,null,h,p,Pc);else if(1===n.length){var o=b.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);var s=r&&!o.repeating&&Lc(r,o);o.previousKeyMatched&&(s||Mc(t,r,!1,p,Ac,o))?e.preventDefault():o.previousKeyMatched=!1}m&&m(e)},tabIndex:a?0:-1},y),_)}));const Tc=Oc;var Fc={vertical:"top",horizontal:"right"},Rc={vertical:"top",horizontal:"left"},Ic=t.forwardRef((function(e,n){var i=e.autoFocus,a=void 0===i||i,s=e.children,l=e.classes,u=e.disableAutoFocusItem,c=void 0!==u&&u,d=e.MenuListProps,p=void 0===d?{}:d,f=e.onClose,h=e.onEntering,m=e.open,g=e.PaperProps,v=void 0===g?{}:g,y=e.PopoverClasses,x=e.transitionDuration,b=void 0===x?"auto":x,k=e.TransitionProps,w=(k=void 0===k?{}:k).onEntering,E=(0,Is.A)(k,["onEntering"]),_=e.variant,C=void 0===_?"selectedMenu":_,S=(0,Is.A)(e,["autoFocus","children","classes","disableAutoFocusItem","MenuListProps","onClose","onEntering","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"]),D=ol(),j=a&&!c&&m,A=t.useRef(null),P=t.useRef(null),L=-1;t.Children.map(s,(function(e,n){t.isValidElement(e)&&(e.props.disabled||("menu"!==C&&e.props.selected||-1===L)&&(L=n))}));var M=t.Children.map(s,(function(e,n){return n===L?t.cloneElement(e,{ref:function(t){P.current=r.findDOMNode(t),(0,vu.A)(e.ref,t)}}):e}));return t.createElement(Cc,(0,Fs.A)({getContentAnchorEl:function(){return P.current},classes:y,onClose:f,TransitionProps:(0,Fs.A)({onEntering:function(e,t){A.current&&A.current.adjustStyleForScrollbar(e,D),h&&h(e,t),w&&w(e,t)}},E),anchorOrigin:"rtl"===D.direction?Fc:Rc,transformOrigin:"rtl"===D.direction?Fc:Rc,PaperProps:(0,Fs.A)({},v,{classes:(0,Fs.A)({},v.classes,{root:l.paper})}),open:m,ref:n,transitionDuration:b},S),t.createElement(Tc,(0,Fs.A)({onKeyDown:function(e){"Tab"===e.key&&(e.preventDefault(),f&&f(e,"tabKeyDown"))},actions:A,autoFocus:a&&(-1===L||c),autoFocusItem:j,variant:C},p,{className:(0,o.A)(l.list,p.className)}),M))}));const Bc=(0,$s.A)({paper:{maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"},list:{outline:0}},{name:"MuiMenu"})(Ic);var Wc=n(3536);const zc=bs`
  border: none;
  background: none;
  outline: none;
  appearance: none;
`,$c=e=>{let{title:n,button:r,children:o,listDirection:i="row",className:a="drop-menu-styles",listClassName:s="",onClick:l=Wc.noop,onClose:u=Wc.noop,...c}=e;const d=(0,t.useRef)(null),[p,f]=(0,t.useState)(!1),h=e=>{e.stopPropagation(),f(!0),l(e)},m=e=>{e.stopPropagation(),f(!1),u()},g="row"===i?{}:{MenuListProps:{style:{display:"flex"}}};return(0,Cs.jsxs)("div",{className:a,ref:d,children:[n?(0,Cs.jsx)(Ou,{title:n,placement:"top",children:(0,Cs.jsx)("div",{className:zc,onClick:h,children:r})}):(0,Cs.jsx)("div",{className:zc,onClick:h,children:r}),(0,Cs.jsx)(Bc,{id:"more-menu",anchorEl:d.current,getContentAnchorEl:null,keepMounted:!0,open:p,onClose:m,...g,...c,children:(0,Cs.jsx)("div",{onClick:m,className:s,children:o})})]})};bs`
  width: 20vw;
  min-width: 500px;
  height: 220px;
  padding: 24px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
`;var Hc=n(3440),Vc=n(5173),Uc=n.n(Vc);function qc(){return qc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qc.apply(this,arguments)}var Yc=function(e){return e&&"object"===typeof e&&!Array.isArray(e)},Gc=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];if(!r.length)return t;var i=qc({},t);return r.forEach((function(t){Yc(t)&&Object.keys(t).forEach((function(n){Yc(t[n])?i[n]?i[n]=e(i[n],t[n]):i[n]=qc({},t[n]):i[n]=t[n]}))})),i};var Zc={};Hc.ThemeContext.Extend=function(e){var n=e.children,r=e.value;return t.createElement(Hc.ThemeContext.Consumer,null,(function(e){return t.createElement(Hc.ThemeContext.Provider,{value:Gc(e,r)},n)}))},Hc.ThemeContext.Extend.propTypes={children:Uc().node.isRequired,value:Uc().shape({}).isRequired},Hc.ThemeContext.propTypes=Zc;var Kc={},Qc=t.createContext(void 0);Qc.propTypes=Kc;var Xc=t.createContext("object"===typeof document?document.body:void 0),Jc=function(e,t){return t.global.deviceBreakpoints[e]},ed=function(e,t){var n=t&&e.global.breakpoints[t]||{};return n.edgeSize||(n.edgeSize=e.global.edgeSize),n.borderSize||(n.borderSize=e.global.borderSize),n.size||(n.size=e.global.size),n},td=function e(t,n,r){var o=n.global&&void 0!==n.global.colors[t]?n.global.colors[t]:t,i=o;return o&&((!0===r||void 0===r&&n.dark)&&void 0!==o.dark?i=o.dark:!1!==r&&n.dark||void 0===o.light||(i=o.light)),i&&n.global&&void 0!==n.global.colors[i]&&(i=e(i,n,r)),i},nd=/^#[A-Za-z0-9]{3,4}$|^#[A-Za-z0-9]{6,8}$/,rd=/^rgba?\(\s?([0-9]*)\s?,\s?([0-9]*)\s?,\s?([0-9]*)\s?\)/,od=/^rgba?\(\s?([0-9]*)\s?,\s?([0-9]*)\s?,\s?([0-9]*)\s?,\s?([.0-9]*)\s?\)/,id=/^hsla?\(\s?([0-9]*)\s?,\s?([0-9]*)%?\s?,\s?([0-9]*)%?\s?.*?\)/,ad=function(e){return nd.test(e)||rd.test(e)||od.test(e)||id.test(e)},sd=function(e){if(nd.test(e)){var t=function(e){return e.length<7?e.match(/[A-Za-z0-9]{1}/g).map((function(e){return parseInt(""+e+e,16)})):e.match(/[A-Za-z0-9]{2}/g).map((function(e){return parseInt(e,16)}))}(e),n=t[0],r=t[1],o=t[2],i=t[3];return[n,r,o,void 0!==i?i/255:void 0]}var a=e.match(rd);if(a)return a.splice(1).map((function(e){return parseInt(e,10)}));if(a=e.match(od))return a.splice(1).map((function(e){return parseFloat(e,10)}));if(a=e.match(id)){var s=a.splice(1).map((function(e){return parseInt(e,10)}));return function(e,t,n){var r,o,i;if(0===t||"0"===t)r=n,o=n,i=n;else{var a=function(e,t,n){var r=n;return r<0&&(r+=1),r>1&&(r-=1),r<.16666667?e+6*(t-e)*r:r<.5?t:r<.66666667?e+(t-e)*(.66666667-r)*6:e},s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;r=a(l,s,e+.33333333),o=a(l,s,e),i=a(l,s,e-.33333333)}return[Math.round(255*r),Math.round(255*o),Math.round(255*i)]}(s[0]/360,s[1]/100,s[2]/100)}return e},ld=function(e){if(e&&ad(e)){var t=sd(e),n=t[0],r=t[1],o=t[2];if(t[3]<.5)return;return(299*n+587*r+114*o)/1e3<125}},ud=function(e,t){var n,r=(null==(n=t.global.backgrounds)?void 0:n[e])||e,o=r;return r&&(t.dark&&r.dark&&"boolean"!==typeof r.dark?o=r.dark:!t.dark&&r.light&&"boolean"!==typeof r.light&&(o=r.light),o=function(e,t){return e&&Array.isArray(e)&&"function"===typeof e[0]?e[0]({theme:t}):e}(o,t)),o},cd=function(e,t){var n,r=e.color||e;return td((null==(n=t.global.backgrounds)?void 0:n[r])||r,t,e.dark)},dd=function e(t,n){var r;if(t.image){var o,i,a;r=ud(t.dark?null==(o=n.global.backgrounds)||null==(i=o[t.image])?void 0:i.dark:null==(a=n.global.backgrounds)?void 0:a[t.image],n)||t.image}else{var s,l=ud(null==(s=n.global.backgrounds)?void 0:s[t],n);r="object"===typeof l?e(l,n):l}return r},pd=function(e,t){var n,r=ud(e,t);if(r)if("object"===typeof r){var o=r.color,i=r.dark,a=r.opacity;if("boolean"===typeof i)n=i;else if(o&&(!a||"weak"!==a)){var s=td(r.color,t);s&&(n=ld(s))}}else{var l=td(r,t);l&&(n=ld(l))}return n},fd=function(e){var t=ld(e);if(void 0!==t)return t?"dark":"light"},hd=function(e,t,n){if(!e)return[void 0,t];var r,o,i=n.global,a=ud(e,n),s=t||i.colors.text;if("object"===typeof a){if(!1===a.dark?o=s.light||s:a.dark&&(o=s.dark||s),a.color){var l=cd(a,n),u=!0===a.opacity?i.opacity.medium:i.opacity[a.opacity]||a.opacity;if(r=function(e,t){if(e&&ad(e)){var n=sd(e),r=n[0],o=n[1],i=n[2],a=n[3];return"rgba("+r+", "+o+", "+i+", "+(void 0!==t?t:void 0!==a?a:1)+")"}}(l,u)||l,!o&&(void 0===u||u>.3)){var c=fd(r);o=td(c&&s[c]||s,n)}}}else{r=cd(a,n);var d=fd(r);d?o=td(s[d]||s,n,"dark"===d):("transparent"!==r&&(r=void 0),s&&(o=td(s,n)))}return!1===t&&(o=void 0),[r,o]},md=function(e,t,n){if(void 0!==e){var r=ud(e,t),o=hd(r,n,t),i=o[0],a=o[1],s=r.rotate?function(e,t){var n=dd(e,t),r=n;0===n.lastIndexOf("linear-gradient",0)?r=n.lastIndexOf("deg,")>=0?n.replace(/\d{1,}deg\b,/gm,e.rotate+"deg,"):n.replace("linear-gradient(","linear-gradient("+e.rotate+"deg, "):console.warn("'background.rotate' property only supports 'background.image' containing a linear-gradient string.");return r}(r,t):dd(r,t),l="";if(r.clip&&(l="text"===r.clip?"-webkit-text-fill-color: transparent; \n           -webkit-background-clip: text; \n           background-clip: text;":"background-clip: "+r.clip+";"),"string"===typeof r&&0===r.lastIndexOf("url",0))return(0,Hc.css)(["background:"," no-repeat center center;background-size:cover;"],r);if(s){var u="\n      "+(i?"background-color: "+i+";":"")+"\n      background-image: "+s+";\n      background-repeat: "+("object"===typeof r&&r.repeat||"no-repeat")+";\n      background-position: "+(r.position||"center center")+";\n      background-size: "+(r.size||"cover")+";\n      "+l+"\n    ";return(0,Hc.css)([""," ",""],a?"color: "+a+";":"",r.opacity?"position: relative;\n        z-index: 0;\n        &:before {\n          content: '';\n          position: absolute;\n          top: 0;\n          right: 0;\n          left: 0;\n          bottom: 0;\n          z-index: -1;\n          border-radius: inherit;\n          "+u+"\n          opacity: "+(!0===r.opacity?t.global.opacity.medium:t.global.opacity[r.opacity]||r.opacity)+";\n        }":u)}return i?(0,Hc.css)(["background-color:",";",""],i,a?"color: "+a+";":""):"string"===typeof r?(0,Hc.css)(["background:",";"],td(r,t)):void 0}},gd=((0,Hc.css)(["",""],(function(e){return md(td(e.theme.global.active.background,e.theme),e.theme,e.theme.global.active.color)})),(0,Hc.css)(["",""],(function(e){return md(td(e.theme.global.selected.background,e.theme),e.theme,e.theme.global.selected.color)})),function(e,t){var n,r;return!0===e||"background"===e?n=t.global.hover.background:"object"===typeof e&&(e.elevation||e.background)?(r=e.elevation,n=e.background):n=e,(0,Hc.css)([""," ",""],md(n,t,t.global.hover.color),r&&"box-shadow: "+t.global.elevation[t.dark?"dark":"light"][r]+";")}),vd=function(e){var n=(0,t.useRef)(null);return(0,t.useImperativeHandle)(e,(function(){return n.current})),n},yd=n(9876),xd=n(6123),bd=n(4105),kd=n(2297),wd=n(971),Ed=n(4841),_d=n(3533),Cd=n(6484),Sd=n(6708),Dd=n(1300),jd=n(9710),Ad=n(1065),Pd=n(5161),Ld=n(5842),Md=n(4858),Nd=n(6125),Od=n(5105),Td=n(4050),Fd=n(8008),Rd=n(2647),Id=n(1545),Bd=n(1403),Wd=n(632),zd=function(e){return"number"===typeof e?e:(e.match(/\s/),parseFloat(e.match(/\d+(\.\d+)?/),10))},$d=function(e,t){return(0,Hc.css)(["@media only screen ","{",";}"],e.value&&"and (max-width: "+e.value+"px)",t)};function Hd(){return Hd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Hd.apply(this,arguments)}var Vd=["#6FFFB0","#FD6FFF","#81FCED","#FFCA58"],Ud={critical:"#FF4040",error:"#FF4040",warning:"#FFAA15",ok:"#00C781",unknown:"#CCCCCC",disabled:"#CCCCCC"},qd={active:"rgba(221, 221, 221, 0.5)","background-back":{dark:"#33333308",light:"#EDEDED"},"background-front":{dark:"#444444",light:"#FFFFFF"},"background-contrast":{light:"#33333310",dark:"#FFFFFF18"},"active-background":"background-contrast","active-text":"text-strong",black:"#000000",border:{dark:"rgba(255, 255, 255, 0.33)",light:"rgba(0, 0, 0, 0.33)"},brand:"#7D4CDB",control:{dark:"accent-1",light:"brand"},focus:Vd[0],"graph-0":"accent-1","graph-1":"neutral-1","graph-2":"neutral-2","graph-3":"neutral-3","graph-4":"neutral-4",placeholder:"#AAAAAA",selected:"brand",text:{dark:"#f8f8f8",light:"#444444"},"text-strong":{dark:"#FFFFFF",light:"#000000"},"text-weak":{dark:"#CCCCCC",light:"#555555"},"text-xweak":{dark:"#BBBBBB",light:"#666666"},icon:{dark:"#f8f8f8",light:"#666666"},"selected-background":"brand","selected-text":"text-strong",white:"#FFFFFF"},Yd=function(e,t){return e.forEach((function(e,n){qd[t+"-"+(n+1)]=e}))};Yd(Vd,"accent"),Yd(["#333333","#555555","#777777","#999999","#999999","#999999"],"dark"),Yd(["#F8F8F8","#F2F2F2","#EDEDED","#DADADA","#DADADA","#DADADA"],"light"),Yd(["#00873D","#3D138D","#00739D","#A2423D"],"neutral"),Object.keys(Ud).forEach((function(e){qd["status-"+e]=Ud[e]}));var Gd=function(e,t){void 0===e&&(e=24),void 0===t&&(t=6);var n,r=.75*e,o=e/t,i=function(t){return{size:r+t*o+"px",height:e+t*o+"px",maxWidth:e*(r+t*o)+"px"}},a=Gc(Wd.base,{global:{active:{background:{color:"active",opacity:"medium"},color:{dark:"white",light:"black"}},animation:{duration:"1s",jiggle:{duration:"0.1s"}},borderSize:{xsmall:"1px",small:"2px",medium:e/6+"px",large:e/2+"px",xlarge:e+"px"},breakpoints:{small:{value:32*e,borderSize:{xsmall:"1px",small:"2px",medium:e/6+"px",large:e/4+"px",xlarge:e/2+"px"},edgeSize:{none:"0px",hair:"1px",xxsmall:"2px",xsmall:e/8+"px",small:e/4+"px",medium:e/2+"px",large:e+"px",xlarge:2*e+"px"},size:{xxsmall:e+"px",xsmall:2*e+"px",small:4*e+"px",medium:8*e+"px",large:16*e+"px",xlarge:32*e+"px",full:"100%"}},medium:{value:64*e},large:{}},deviceBreakpoints:{phone:"small",tablet:"medium",computer:"large"},colors:qd,control:{border:{width:"1px",radius:"4px",color:"border"},disabled:{opacity:.3}},debounceDelay:500,drop:{background:{dark:"black",light:"white"},border:{radius:"0px"},shadowSize:"small",zIndex:"20"},edgeSize:{none:"0px",hair:"1px",xxsmall:e/8+"px",xsmall:e/4+"px",small:e/2+"px",medium:e+"px",large:2*e+"px",xlarge:4*e+"px",responsiveBreakpoint:"small"},elevation:{light:{none:"none",xsmall:"0px 1px 2px rgba(0, 0, 0, 0.20)",small:"0px 2px 4px rgba(0, 0, 0, 0.20)",medium:"0px 4px 8px rgba(0, 0, 0, 0.20)",large:"0px 8px 16px rgba(0, 0, 0, 0.20)",xlarge:"0px 12px 24px rgba(0, 0, 0, 0.20)"},dark:{none:"none",xsmall:"0px 2px 2px rgba(255, 255, 255, 0.40)",small:"0px 4px 4px rgba(255, 255, 255, 0.40)",medium:"0px 6px 8px rgba(255, 255, 255, 0.40)",large:"0px 8px 16px rgba(255, 255, 255, 0.40)",xlarge:"0px 12px 24px rgba(255, 255, 255, 0.40)"}},focus:{border:{color:"focus"},shadow:{color:"focus",size:"2px"}},font:Hd({},i(0)),hover:{background:{color:"active",opacity:"medium"},color:{dark:"white",light:"black"}},input:{padding:{horizontal:zd(e/2+"px")-zd("1px")+"px",vertical:zd(e/2+"px")-zd("1px")+"px"},font:{weight:600}},opacity:{strong:.8,medium:.4,weak:.1},selected:{background:"selected",color:"white"},spacing:e+"px",size:{xxsmall:2*e+"px",xsmall:4*e+"px",small:8*e+"px",medium:16*e+"px",large:32*e+"px",xlarge:48*e+"px",xxlarge:64*e+"px",full:"100%"}},accordion:{panel:{},border:{side:"bottom",color:"border"},heading:{level:"4"},hover:{color:{dark:"light-4",light:"dark-3"},heading:{color:{dark:"light-4",light:"dark-3"}}},icons:{collapse:Dd.I,expand:_d.t}},anchor:{textDecoration:"none",fontWeight:600,color:{dark:"accent-1",light:"brand"},gap:"small",hover:{textDecoration:"underline"}},avatar:{size:{xsmall:.75*e+"px",small:e+"px",medium:2*e+"px",large:3*e+"px",xlarge:4*e+"px","2xl":5*e+"px","3xl":6*e+"px","4xl":7*e+"px","5xl":8*e+"px"},text:{size:{xsmall:"small",small:"medium",medium:"large",large:"xlarge",xlarge:"xxlarge","2xl":"3xl","3xl":"4xl","4xl":"5xl","5xl":"6xl"}}},box:{responsiveBreakpoint:"small"},button:{badge:{container:{background:"brand"},size:{medium:e+"px"},text:{size:{medium:"small"}}},gap:"small",size:{small:{border:{radius:.75*e+"px"},pad:{vertical:e/4-2+"px",horizontal:e-4+"px"}},medium:{border:{radius:.75*e+"px"},pad:{vertical:e/4-2+"px",horizontal:e-2+"px"}},large:{border:{radius:e+"px"},pad:{vertical:e/4+2+"px",horizontal:e+8+"px"}}},border:{width:"2px",radius:.75*e+"px"},active:{background:"active-background",color:"active-text"},disabled:{opacity:.3},padding:{vertical:e/4-2+"px",horizontal:e-2+"px"},transition:{timing:"ease-in-out",duration:.1,properties:["color","background-color","border-color","box-shadow"]},skeleton:{width:{min:"100px"}}},calendar:{small:{fontSize:r-o+"px",lineHeight:1.375,daySize:8*e/7+"px",slideDuration:"0.2s"},medium:{fontSize:r+"px",lineHeight:1.45,daySize:16*e/7+"px",slideDuration:"0.5s"},large:{fontSize:r+3*o+"px",lineHeight:1.11,daySize:32*e/7+"px",slideDuration:"0.8s"},icons:{previous:Md.s,next:jd.k,small:{previous:Sd.Q,next:Cd.O}},heading:{level:"4"}},card:{container:{round:"small",elevation:"small"},header:{},body:{},footer:{}},cards:{container:{gap:"xsmall"}},carousel:{icons:{current:Rd.N,next:jd.k,previous:Md.s},animation:{duration:1e3},disabled:{icons:{}}},chart:{color:"graph-0"},checkBox:{border:{color:{dark:"rgba(255, 255, 255, 0.5)",light:"rgba(0, 0, 0, 0.15)"},width:"2px"},check:{radius:"4px",thickness:"4px"},label:{align:"center"},hover:{border:{color:{dark:"white",light:"black"}}},icon:{},icons:{},size:e+"px",toggle:{color:{dark:"#d9d9d9",light:"#d9d9d9"},knob:{},radius:e+"px",size:2*e+"px"}},checkBoxGroup:{},clock:{analog:{hour:{color:{dark:"light-2",light:"dark-3"},width:e/3+"px",size:e+"px",shape:"round"},minute:{color:{dark:"light-4",light:"dark-3"},width:e/6+"px",size:Math.round(e/2)+"px",shape:"round"},second:{color:{dark:"accent-1",light:"accent-1"},width:e/8+"px",size:Math.round(e/2.666)+"px",shape:"round"},size:{xsmall:2*e+"px",small:3*e+"px",medium:4*e+"px",large:6*e+"px",xlarge:9*e+"px",xxlarge:12*e+"px",huge:12*e+"px"}},digital:{text:{xsmall:{size:r-2*o+"px",height:1.5},small:{size:r-o+"px",height:1.43},medium:{size:r+"px",height:1.375},large:{size:r+o+"px",height:1.167},xlarge:{size:r+2*o+"px",height:1.1875},xxlarge:{size:r+4*o+"px",height:1.125}}}},collapsible:{minSpeed:200,baseline:500},dateInput:{container:{round:"xxsmall"}},dataTable:{pinned:{header:{background:{opacity:"strong"}},footer:{background:{opacity:"strong"}}},container:{gap:"xsmall"},groupHeader:{background:{dark:"dark-2",light:"light-2"},border:{side:"bottom",size:"xsmall"},pad:{horizontal:"small",vertical:"xsmall"}},groupEnd:{border:{side:"bottom",size:"xsmall"}},header:{gap:"small",units:{color:"text-xweak",margin:{left:"xsmall"},alignSelf:"end"}},icons:{ascending:_d.t,contract:Dd.I,descending:Dd.I,expand:_d.t},primary:{weight:"bold"},resize:{border:{color:"border",side:"end"}}},diagram:{line:{color:"graph-0"}},fileInput:{border:{side:"all",size:"small",style:"dashed"},dragOver:{border:{color:"control"}},hover:{border:{color:"brand"}},icons:{remove:Ed.b},label:{margin:"small"},message:{margin:"small"}},formField:{border:{color:"border",error:{color:{dark:"white",light:"status-critical"}},position:"inner",side:"bottom"},content:{pad:"small"},disabled:{background:{color:"status-disabled",opacity:"medium"}},error:{color:"status-critical",margin:{vertical:"xsmall",horizontal:"small"}},help:{color:"dark-3",margin:{start:"small"}},info:{color:"text-xweak",margin:{vertical:"xsmall",horizontal:"small"}},label:{margin:{vertical:"xsmall",horizontal:"small"}},margin:{bottom:"small"},survey:{label:{margin:{bottom:"xsmall"},size:"medium",weight:400}}},grommet:{},header:{sticky:{zIndex:"20"}},heading:{font:{},level:{1:{font:{},small:Hd({},i(4)),medium:Hd({},i(8)),large:Hd({},i(16)),xlarge:Hd({},i(24))},2:{font:{},small:Hd({},i(2)),medium:Hd({},i(4)),large:Hd({},i(8)),xlarge:Hd({},i(12))},3:{font:{},small:Hd({},i(1)),medium:Hd({},i(2)),large:Hd({},i(4)),xlarge:Hd({},i(6))},4:{font:{},small:Hd({},i(0)),medium:Hd({},i(0)),large:Hd({},i(0)),xlarge:Hd({},i(0))},5:{font:{},small:Hd({},i(-.5)),medium:Hd({},i(-.5)),large:Hd({},i(-.5)),xlarge:Hd({},i(-.5))},6:{font:{},small:Hd({},i(-1)),medium:Hd({},i(-1)),large:Hd({},i(-1)),xlarge:Hd({},i(-1))}},responsiveBreakpoint:"small",weight:600,skeleton:{width:{min:"200px"}}},layer:{background:{dark:"black",light:"white"},border:{radius:"4px"},container:{zIndex:"20"},overlay:{background:"rgba(0, 0, 0, 0.5)"},responsiveBreakpoint:"small",zIndex:"20"},list:{container:{gap:"xsmall"},item:{border:"horizontal",disabled:{color:"status-disabled",cursor:"default"},pinned:{background:"background-contrast",icon:{size:"medium",pad:"small"}},pad:{horizontal:"medium",vertical:"small"}},icons:{down:_d.t,up:Dd.I,pin:Ld.G}},maskedInput:{},menu:{drop:{align:{top:"top",left:"left"}},group:{container:{pad:{vertical:"xsmall"}},separator:{color:"border",size:"xsmall",pad:{horizontal:"small"}}},icons:{down:_d.t}},meter:{color:"graph-0"},nameValueList:{gap:{column:"large",row:"small"},pair:{column:{gap:{column:"large",row:"medium"}}},name:{width:"small"},value:{width:"medium"}},nameValuePair:{column:{gap:"xxsmall"},name:{color:"text",weight:"bold"},value:{color:"text"}},notification:{actions:{},direction:"column",container:{round:"xsmall",pad:{horizontal:"small",vertical:"xsmall"},background:{color:"background-front"}},global:{direction:"row",container:{round:"none",pad:{horizontal:"large",vertical:"xsmall"}}},toast:{container:{elevation:"medium",width:"medium"},layer:{position:"top",margin:"medium"},time:8e3},iconContainer:{pad:{right:"small"},flex:!1},textContainer:{gap:"medium"},title:{weight:"bold"},message:{margin:"none"},close:{icon:Ed.b},critical:{icon:Nd.H,background:{color:"status-critical",opacity:"weak"},color:"status-critical",toast:{background:"background-front"}},warning:{icon:Td.A,background:{color:"status-warning",opacity:"weak"},color:"status-warning",toast:{background:"background-front"}},normal:{icon:Od.Z,background:{color:"status-ok",opacity:"weak"},color:"status-ok",toast:{background:"background-front"}},info:{icon:bd.x,background:"background-contrast",color:"text-strong",toast:{background:"background-front"}},unknown:{icon:Fd.S,background:{color:"status-unknown",opacity:"weak"},color:"status-unknown",toast:{background:"background-front"}},undefined:{icon:Fd.S,color:"status-unknown"}},page:{wide:{alignSelf:"center",width:{min:"medium",max:"xxlarge"},small:{pad:{horizontal:"large"}},medium:{pad:{horizontal:"medium"}},large:{pad:{horizontal:"large"}}},narrow:{alignSelf:"center",width:{min:"medium",max:"large"},small:{pad:{horizontal:"large"}},medium:{pad:{horizontal:"medium"}},large:{pad:{horizontal:"large"}}},full:{alignSelf:"start",width:{min:"medium",max:"100%"},small:{pad:{horizontal:"large"}},medium:{pad:{horizontal:"medium"}},large:{pad:{horizontal:"large"}}}},pageHeader:{actions:{align:"end"},pad:{top:"large",bottom:"medium"},parent:{align:"start"},responsive:{actions:{align:"start",pad:{top:"small"}},areas:[["parent"],["title"],["subtitle"],["actions"]],breakpoints:["small"],columns:["auto"],rows:["auto"]},subtitle:{margin:"none"},title:{margin:"none",fill:!0},size:{small:{pad:{top:"medium",bottom:"small"},subtitle:{size:"small"},title:{size:"small"}},large:{pad:{top:"xlarge",bottom:"large"},subtitle:{size:"large"},title:{size:"large"}}},small:{areas:[["parent","parent"],["title","actions"],["subtitle","actions"]],columns:[["small","flex"],"auto"],rows:["auto","auto","auto"],gap:{row:"xsmall",column:"large"}},medium:{areas:[["parent","parent"],["title","actions"],["subtitle","actions"]],columns:[["medium","flex"],"auto"],rows:["auto","auto","auto"],gap:{row:"xsmall",column:"medium"}},large:{areas:[["parent","parent"],["title","actions"],["subtitle","actions"]],columns:[["medium","flex"],"auto"],rows:["auto","auto","auto"],gap:{row:"xsmall",column:"large"}}},pagination:{button:{active:{background:{color:"active-background"}},color:"text-strong",hover:{background:{color:"background-contrast"},color:void 0},size:{small:{border:{radius:e/8+"px",width:"2px"},pad:{vertical:"4px",horizontal:"4px"},font:Hd({},i(-1)),height:1.25*e+"px",width:1.25*e+"px"},medium:{border:{radius:e/6+"px",width:"2px"},pad:{vertical:"4px",horizontal:"4px"},font:Hd({},i(0)),height:1.5*e+"px",width:1.5*e+"px"},large:{border:{radius:e/4+"px",width:"2px"},pad:{vertical:"4px",horizontal:"4px"},font:Hd({},i(1)),height:2*e+"px",width:2*e+"px"}}},controls:{align:"center",direction:"row",gap:"xxsmall",margin:"none",pad:"none"},icons:{next:jd.k,previous:Md.s}},paragraph:{font:{},small:Hd({},i(-1)),medium:Hd({},i(0)),large:Hd({},i(1)),xlarge:Hd({},i(2)),xxlarge:Hd({},i(4))},thumbsRating:{},spinner:{container:{animation:"rotateRight",color:"brand",pad:"small",round:"full",size:"small"},size:{xsmall:.75*e+"px",small:e+"px",medium:2*e+"px",large:3*e+"px",xlarge:4*e+"px"}},radioButton:{border:{color:{dark:"rgba(255, 255, 255, 0.5)",light:"rgba(0, 0, 0, 0.15)"},width:"2px"},check:{radius:"100%"},hover:{border:{color:{dark:"white",light:"black"}}},icon:{},icons:{},gap:"small",size:e+"px",font:{},container:{}},radioButtonGroup:{},rangeInput:{disabled:{opacity:.3},track:{height:"4px",color:"border"},thumb:{}},rangeSelector:{background:{invert:{color:"light-4"}}},select:{clear:{container:{pad:"small",background:"background-contrast"},text:{color:"text-weak"}},container:{},control:{},icons:{margin:{horizontal:"small"},down:_d.t},options:{container:{align:"start",pad:"small"},text:{margin:"none"}},step:20},selectMultiple:{maxInline:5},skeleton:{border:!1,colors:{dark:["background","background-front"],light:["background","background-back"]}},skipLinks:{position:"top",container:{elevation:"large",round:"small",pad:"medium"},label:{margin:{bottom:"medium"},size:"medium"}},starRating:{},tab:{active:{color:"text"},border:{side:"bottom",size:"small",color:{dark:"accent-1",light:"brand"},active:{color:{dark:"white",light:"black"}},disabled:{},hover:{color:{dark:"white",light:"black"}}},color:"control",hover:{color:{dark:"white",light:"black"}},margin:{vertical:"xxsmall",horizontal:"small"},pad:{bottom:"xsmall"}},tabs:{header:{},panel:{},step:{small:1,medium:3,large:3}},table:{header:{align:"start",pad:{horizontal:"small",vertical:"xsmall"},border:"bottom"},body:{align:"start",pad:{horizontal:"small",vertical:"xsmall"}},footer:{align:"start",pad:{horizontal:"small",vertical:"xsmall"},border:"top"}},tag:{border:!0,round:"large",pad:{horizontal:"small",vertical:"xsmall"},remove:{margin:{right:"xsmall"}},separator:" : ",size:{xsmall:{pad:{horizontal:e/3+"px",vertical:"xxsmall"},icon:{size:.75*e+"px"}},small:{pad:{horizontal:.4*e+"px",vertical:"xxsmall"},icon:{size:.75*e+"px"}},large:{pad:{horizontal:e/3*2+"px",vertical:"xsmall"},icon:{size:1.25*e+"px"}},xlarge:{pad:{horizontal:.75*e+"px",vertical:"xsmall"},icon:{size:1.5*e+"px"}}},value:{weight:600}},text:{font:{},xsmall:Hd({},i(-1.5)),small:Hd({},i(-1)),medium:Hd({},i(0)),large:Hd({},i(1)),xlarge:Hd({},i(2)),xxlarge:Hd({},i(4)),"2xl":Hd({},i(4)),"3xl":Hd({},i(6)),"4xl":Hd({},i(9)),"5xl":Hd({},i(13)),"6xl":Hd({},i(18)),skeleton:{width:{width:"100px",min:"100px"},margin:{vertical:"xsmall"},colors:{dark:["border","border"],light:["background-front","background-back"]}}},textArea:{},textInput:{},tip:{content:{background:"background-contrast",elevation:"small",margin:"xsmall",pad:{vertical:"xsmall",horizontal:"small"},round:"small"},drop:{align:{top:"bottom"},background:"none",elevation:"none",margin:"none"}},video:{captions:{background:"rgba(0, 0, 0, 0.7)"},icons:{closedCaption:kd.N,configure:yd.E,fullScreen:wd.J,pause:Ad.v,play:Pd.j,reduceVolume:Bd.Z,volume:Id.f,description:xd.t},scrubber:{color:"light-4",interval:10}},worldMap:{color:"light-3",continent:{active:"8px",base:"6px"},hover:{color:"light-4"},place:{active:"20px",base:"8px"}}});return n=a,Object.keys(n).forEach((function(e){return e&&Yc(n[e])&&Object.freeze(n[e])})),Object.freeze(n)}(24),Zd=(0,Hc.css)(["font-family:",";font-size:",";line-height:",";font-weight:",";"," "," box-sizing:border-box;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;"],(function(e){return e.theme.global.font.family}),(function(e){return e.theme.global.font.size}),(function(e){return e.theme.global.font.height}),(function(e){return e.theme.global.font.weight}),(function(e){return e.theme.global.font.variant&&"\n    font-variant:"+e.theme.global.font.variant+";\n  "}),(function(e){return!e.plain&&md(e.theme.baseBackground,e.theme)})),Kd=(0,Hc.css)(["border:"," solid ",";border-radius:",";"],(function(e){return e.theme.global.control.border.width}),(function(e){return td(e.theme.global.control.border.color||"border",e.theme)}),(function(e){return e.theme.global.control.border.radius})),Qd=function(e,t,n,r,o){var i=r&&o.global.breakpoints[r];if("string"===typeof t)return(0,Hc.css)(["",":",";",";"],e,o.global.edgeSize[t]||t,n&&i?$d(i,"\n        "+e+": "+(i.edgeSize[t]||t)+";\n      "):"");var a=[],s=t.horizontal,l=t.vertical,u=t.top,c=t.bottom,d=t.left,p=t.right,f=s&&l&&s===l;if(f||u&&c&&d&&p&&u===c===d===p){var h=f?s:u;return(0,Hc.css)(["",":",";",";"],e,o.global.edgeSize[h]||h,n&&i?$d(i,"\n        "+e+": "+(i.edgeSize[h]||h)+";\n      "):"")}return s&&a.push((0,Hc.css)(["","-left:",";","-right:",";",";"],e,o.global.edgeSize[s]||s,e,o.global.edgeSize[s]||s,n&&i?$d(i,"\n          "+e+"-left: "+(i.edgeSize[s]||s)+";\n          "+e+"-right: "+(i.edgeSize[s]||s)+";\n        "):"")),l&&a.push((0,Hc.css)(["","-top:",";","-bottom:",";",";"],e,o.global.edgeSize[l]||l,e,o.global.edgeSize[l]||l,n&&i?$d(i,"\n          "+e+"-top: "+(i.edgeSize[l]||l)+";\n          "+e+"-bottom: "+(i.edgeSize[l]||l)+";\n        "):"")),u&&a.push((0,Hc.css)(["","-top:",";",";"],e,o.global.edgeSize[u]||u,n&&i?$d(i,"\n          "+e+"-top: "+(i.edgeSize[u]||u)+";\n        "):"")),c&&a.push((0,Hc.css)(["","-bottom:",";",";"],e,o.global.edgeSize[c]||c,n&&i?$d(i,"\n          "+e+"-bottom: "+(i.edgeSize[c]||c)+";\n        "):"")),d&&a.push((0,Hc.css)(["","-left:",";",";"],e,o.global.edgeSize[d]||d,n&&i?$d(i,"\n          "+e+"-left: "+(i.edgeSize[d]||d)+";\n        "):"")),p&&a.push((0,Hc.css)(["","-right:",";",";"],e,o.global.edgeSize[p]||p,n&&i?$d(i,"\n          "+e+"-right: "+(i.edgeSize[p]||p)+";\n        "):"")),t.start&&a.push((0,Hc.css)(["","-inline-start:",";",";"],e,o.global.edgeSize[t.start]||t.start,n&&i?$d(i,"\n          "+e+"-inline-start: "+(i.edgeSize[t.start]||t.start)+";\n        "):"")),t.end&&a.push((0,Hc.css)(["","-inline-end:",";",";"],e,o.global.edgeSize[t.end]||t.end,n&&i?$d(i,"\n          "+e+"-inline-end: "+(i.edgeSize[t.end]||t.end)+";\n        "):"")),a},Xd=function(e,t){var n=void 0===t?{}:t,r=n.forceOutline,o=n.justBorder,i=e.theme.global.focus;if(!i||r&&!i.outline){var a=td("focus",e.theme);return a?"outline: 2px solid "+a+";":""}if(i.outline&&(!i.border||!o)){if("object"===typeof i.outline){var s=td(i.outline.color||"focus",e.theme);return"\n        outline-offset: 0px;\n        outline: "+(i.outline.size||"2px")+" solid "+s+";\n      "}return"outline: "+i.outline+";"}if(i.shadow&&(!i.border||!o)){if("object"===typeof i.shadow){var l=td(i.border&&i.border.color||i.shadow.color||"focus",e.theme),u=i.shadow.size||"2px";return"\n        outline: none;\n        box-shadow: 0 0 "+u+" "+u+" "+l+";\n      "}return"\n      outline: none;\n      box-shadow: "+i.shadow+";\n    "}return i.border?"\n      outline: none;\n      border-color: "+td(i.border.color||"focus",e.theme)+";\n    ":""},Jd=function(e){var t=void 0===e?{}:e,n=t.forceOutline,r=t.justBorder,o=t.skipSvgChildren;return(0,Hc.css)([""," "," ",""],(function(e){return!o&&"\n  > circle,\n  > ellipse,\n  > line,\n  > path,\n  > polygon,\n  > polyline,\n  > rect {\n    "+Xd(e)+"\n  }"}),(function(e){return Xd(e,{forceOutline:n,justBorder:r})}),!n&&"\n  ::-moz-focus-inner {\n    border: 0;\n  }\n  ")},ep=(0,Hc.css)(["color:",";"],(function(e){return td(e.theme.global.colors.placeholder,e.theme)})),tp=(0,Hc.css)(["&::-webkit-input-placeholder{",";}&::-moz-placeholder{",";}&:-ms-input-placeholder{",";}"],ep,ep,ep),np=((0,Hc.css)(["box-sizing:border-box;"," font-family:inherit;border:none;-webkit-appearance:none;background:transparent;color:inherit;width:100%;"," "," "," margin:0;"," &:focus{",";}"," ","::-webkit-search-decoration{-webkit-appearance:none;}&::-moz-focus-inner{border:none;outline:none;}&:-moz-placeholder,&::-moz-placeholder{opacity:1;}",""],(function(e){var t;return"font-size: "+(e.theme.global.input.font.size?(null==(t=e.theme.text[e.theme.global.input.font.size])?void 0:t.size)||e.theme.global.input.font.size:"inherit")+";"}),(function(e){return e.theme.global.input.font.height&&"line-height: "+e.theme.global.input.font.height+";"}),(function(e){return e.theme.global.input.padding&&"object"!==typeof e.theme.global.input.padding?"padding: "+(zd(e.theme.global.edgeSize[e.theme.global.input.padding]||e.theme.global.input.padding)-zd(e.theme.global.control.border.width))+"px;":Qd("padding",e.theme.global.input.padding,e.responsive,e.theme.box.responsiveBreakpoint,e.theme)}),(function(e){return(e.theme.global.input.weight||e.theme.global.input.font.weight)&&(0,Hc.css)(["font-weight:",";"],e.theme.global.input.weight||e.theme.global.input.font.weight)}),(function(e){return e.size&&function(e){var t=e.theme.text[e.size];return t?(0,Hc.css)(["font-size:",";line-height:",";"],t.size,t.height):(0,Hc.css)(["font-size:",";"],e.size)}(e)}),(function(e){return(!e.plain||e.focusIndicator)&&Jd()}),Kd,tp,(function(e){return e.theme.global.input.extend})),{center:"center",end:"flex-end",start:"flex-start",stretch:"stretch",baseline:"baseline"}),rp=(0,Hc.css)([""," "," ",""],(function(e){return e.alignSelf&&"align-self: "+np[e.alignSelf]+";"}),(function(e){return e.gridArea&&"grid-area: "+e.gridArea+";"}),(function(e){return e.margin&&e.theme.global&&Qd("margin",e.margin,e.responsive,e.theme.global.edgeSize.responsiveBreakpoint,e.theme)})),op=((0,Hc.css)(["outline:none;border:none;"]),{full:"100%"}),ip=function(e,t,n){var r=ed(n,n.box.responsiveBreakpoint),o=[];if("object"===typeof e){var i=op[e.size]||n.global.edgeSize[e.size||"medium"]||e.size,a=t&&r&&r.edgeSize[e.size]&&(r.edgeSize[e.size]||e.size);"top"===e.corner?(o.push((0,Hc.css)(["border-top-left-radius:",";border-top-right-radius:",";"],i,i)),a&&o.push($d(r,"\n          border-top-left-radius: "+a+";\n          border-top-right-radius: "+a+";\n        "))):"bottom"===e.corner?(o.push((0,Hc.css)(["border-bottom-left-radius:",";border-bottom-right-radius:",";"],i,i)),a&&o.push($d(r,"\n          border-bottom-left-radius: "+a+";\n          border-bottom-right-radius: "+a+";\n        "))):"left"===e.corner?(o.push((0,Hc.css)(["border-top-left-radius:",";border-bottom-left-radius:",";"],i,i)),a&&o.push($d(r,"\n          border-top-left-radius: "+a+";\n          border-bottom-left-radius: "+a+";\n        "))):"right"===e.corner?(o.push((0,Hc.css)(["border-top-right-radius:",";border-bottom-right-radius:",";"],i,i)),a&&o.push($d(r,"\n          border-top-right-radius: "+a+";\n          border-bottom-right-radius: "+a+";\n        "))):e.corner?(o.push((0,Hc.css)(["border-","-radius:",";"],e.corner,i)),a&&o.push($d(r,"\n          border-"+e.corner+"-radius: "+a+";\n        "))):(o.push((0,Hc.css)(["border-radius:",";"],i)),a&&o.push($d(r,"\n          border-radius: "+a+";\n        ")))}else{var s=!0===e?"medium":e;o.push((0,Hc.css)(["border-radius:",";"],op[s]||n.global.edgeSize[s]||s));var l=r&&r.edgeSize[s];l&&o.push($d(r,"\n        border-radius: "+l+";\n      "))}return o},ap={center:"center",end:"right",justify:"justify",start:"left"},sp=(0,Hc.css)(["text-align:",";"],(function(e){return ap[e.textAlign]})),lp={baseline:"baseline",center:"center",end:"flex-end",start:"flex-start",stretch:"stretch"},up=(0,Hc.css)(["align-items:",";"],(function(e){var t;return null!=(t=lp[e.align])?t:e.align})),cp={around:"space-around",baseline:"baseline",between:"space-between",center:"center",evenly:"space-evenly",end:"flex-end",start:"flex-start",stretch:"stretch"},dp=(0,Hc.css)(["align-content:",";"],(function(e){var t;return null!=(t=cp[e.alignContent])?t:e.alignContent})),pp=function(e,t){return e.global.size[t]||t},fp=function(e,t){return"object"===typeof e?function(e,t){var n=[];return e.max&&n.push((0,Hc.css)(["max-width:",";"],pp(t,e.max))),e.min&&n.push((0,Hc.css)(["min-width:",";"],pp(t,e.min))),e.width&&n.push((0,Hc.css)(["width:",";"],pp(t,e.width))),n}(e,t):function(e,t){return(0,Hc.css)(["width:",";"],pp(t,e))}(e,t)},hp=function(e,t){return"object"===typeof e?function(e,t){var n=[];return e.max&&n.push((0,Hc.css)(["max-height:",";"],pp(t,e.max))),e.min&&n.push((0,Hc.css)(["min-height:",";"],pp(t,e.min))),e.width&&n.push((0,Hc.css)(["height:",";"],pp(t,e.height))),e.height&&n.push((0,Hc.css)(["height:",";"],pp(t,e.height))),n}(e,t):function(e,t){return(0,Hc.css)(["height:",";"],pp(t,e))}(e,t)},mp={theme:Gd},gp=Hc.default.div.withConfig({displayName:"StyledGrommet",componentId:"sc-19lkkz7-0"})([""," "," "," "," ",""],(function(e){return!e.plain&&Zd}),(function(e){return e.full&&("min"===e.full?(0,Hc.css)(["min-height:100vh;"]):(0,Hc.css)(["width:100vw;height:100vh;overflow:auto;"]))}),(function(e){return e.theme.global.font.face}),(function(e){return e.theme.grommet.extend}),(function(e){return e.cssVars&&Object.keys(e.theme.global.colors).filter((function(t){return"string"===typeof e.theme.global.colors[t]})).map((function(t){return"--"+t+": "+e.theme.global.colors[t]+";"})).join("\n")}));gp.defaultProps={},Object.setPrototypeOf(gp.defaultProps,mp);var vp=t.createContext([]),yp=t.createContext({});const xp=JSON.parse('{"calendar":{"previousMove":"Moved to {date}","previous":"Go to {date}","nextMove":"Moved to {date}","next":"Go to {date}"},"carousel":{"previous":"Go to slide {slide}","next":"Go to slide {slide}","jump":"Jump to slide {slide}"},"dateInput":{"openCalendar":"Press space to open calendar","enterCalendar":"Calendar is open, use arrow keys and enter to select a date.","exitCalendar":"Exited calendar dialog"},"dataFilters":{"clear":"Clear filters","heading":"Filters","open":"Open filters"},"dataForm":{"reset":"Undo changes","submit":"Apply filters"},"dataSearch":{"label":"Search data"},"dataSort":{"ascending":"Ascending","by":"Sort by","descending":"Descending","direction":"Sort direction"},"dataSummary":{"filtered":"{filtered} results of {total} items","filteredSingle":"{filtered} result of {total} items","total":"{total} items"},"fileInput":{"browse":"browse","dropPrompt":"Drop file here or","dropPromptMultiple":"Drop files here or","files":"files","maxSizeSingle":"The file is too large. Select a file no larger than {maxSize}.","maxSizeMultiple":{"singular":"One file is too large. Select files which are no larger than {maxSize}.","plural":"{numOfFiles} files are too large. Select files which are no larger than {maxSize}."},"remove":"remove","removeAll":"remove all","maxFile":"Attach a maximum of {max} files only."},"form":{"invalid":"invalid","required":"required"},"menu":{"openMenu":"Open Menu","closeMenu":"Close Menu"},"rangeSelector":{"lower":"Lower Bounds","upper":"Upper Bounds"},"select":{"multiple":"multiple","selected":"; Selected: {currentSelectedValue}"},"skipLinks":{"skipTo":"Skip To:"},"tabs":{"tabContents":"Tab Contents"},"textInput":{"enterSelect":"(Press Enter to Select)","suggestionsCount":"suggestions available","suggestionsExist":"This input has suggestions use arrow keys to navigate","suggestionIsOpen":"Suggestions drop is open, continue to use arrow keys to navigate"},"video":{"captions":"closed captions","closeMenu":"close menu","audioDescriptions":"video audio description","fullScreen":"full screen","progressMeter":"video progress","scrubber":"scrubber","openMenu":"open menu","pauseButton":"pause","playButton":"play","volumeDown":"volume down","volumeUp":"volume up","description":"video audio description"}}');var bp=function(e,t){var n,r=(null==(n=e.id)?void 0:n.split("."))||[],o=r[(null==r?void 0:r.length)-1],i=t;r.forEach((function(e){"object"===typeof i&&(i=i[e])}));var a=(e.messages?e.messages[o]:void 0)||i||e.defaultMessage,s=e.values,l=a,u=null==a?void 0:a.match(/\{(.+?)\}/g);return null==u||u.forEach((function(e){var t=e.substr(1,e.length-2),n=s[t];l=l.replace(e,n)})),s?l:a},kp={messages:xp,format:function(e){return bp(e,xp)}},wp=t.createContext(kp);var Ep={},_p=t.createContext((function(){})),Cp=function(e){var n=e.onAnalytics,r=e.children,o=(0,t.useRef)(),i=(0,t.useCallback)((function(e){return n&&n(e)}),[n]);return(0,t.useEffect)((function(){var e;return n&&(e=new window.MutationObserver((function(){var e,t,n=null==(e=window)||null==(t=e.location)?void 0:t.href,r=o.current;n!==r&&(o.current=n,i({type:"pageView",url:n,previousUrl:r}))})),e.observe(document,{subtree:!0,childList:!0})),function(){var t;return null==(t=e)?void 0:t.disconnect()}}),[i,n]),t.createElement(_p.Provider,{value:i},r)},Sp=["children","full","containerTarget","theme","options","messages","onAnalytics"];function Dp(){return Dp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Dp.apply(this,arguments)}var jp=(0,Hc.createGlobalStyle)(["body{margin:0;}"]),Ap={},Pp=(0,t.forwardRef)((function(e,n){var r=e.children,o=e.full,i=e.containerTarget,a=void 0===i?"object"===typeof document?document.body:void 0:i,s=e.theme,l=e.options,u=void 0===l?Ap:l,c=e.messages,d=e.onAnalytics,p=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,Sp),f=e.background,h=e.dir,m=e.themeMode,g=e.userAgent,v=(0,t.useState)(),y=v[0],x=v[1],b=(0,t.useState)([]),k=b[0],w=b[1],E=(0,t.useMemo)((function(){var e=Gc(Gd,s||{});s&&s.menu&&s.menu.drop&&s.menu.drop.align&&(delete e.menu.drop.align,e.menu.drop.align=s.menu.drop.align);var t=e.global.colors.background;e.dark="dark"===(m||e.defaultMode),"auto"===m&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches&&(e.dark=!0);var n=td(f||t,e);return e.dark=pd(n,e),e.baseBackground=f||t,e.background=e.baseBackground,h&&(e.dir=h),e}),[f,h,m,s]),_=(0,t.useMemo)((function(){var e=Gc(xp,(null==c?void 0:c.messages)||{});return{messages:e,format:function(t){var n=(null==c?void 0:c.format)&&c.format(t);return"undefined"!==typeof n?n:bp(t,e)}}}),[c]);(0,t.useEffect)((function(){var e=function(){x(function(e,t){var n=Object.keys(t.global.breakpoints).sort((function(e,n){var r=t.global.breakpoints[e],o=t.global.breakpoints[n];return r?o?r.value?o.value?r.value-o.value:-1:1:-1:1})),r=n[n.length-1];return n.find((function(n){var r=t.global.breakpoints[n];return(!r.value||r.value>=e)&&n}))||r}(document.body.clientWidth,E))};return window.addEventListener("resize",e),e(),function(){window.removeEventListener("resize",e)}}),[E]);var C=y||function(e,t){if(e)return/(tablet|ipad|playbook|silk)|(android(?!.*mobile))/i.test(e)?Jc("tablet",t):/Mobile|iPhone|Android/.test(e)?Jc("phone",t):Jc("computer",t)}(g,E)||E.global.deviceBreakpoints.tablet,S=vd(n);return(0,t.useEffect)((function(){S.current&&w([S.current])}),[S]),t.createElement(Hc.ThemeContext.Provider,{value:E},t.createElement(Qc.Provider,{value:C},t.createElement(vp.Provider,{value:k},t.createElement(Xc.Provider,{value:a},t.createElement(yp.Provider,{value:u},t.createElement(wp.Provider,{value:_},t.createElement(Cp,{onAnalytics:d},t.createElement(gp,Dp({full:o},p,{ref:S}),r),o&&t.createElement(jp,null))))))))}));Pp.displayName="Grommet",Pp.propTypes=Ep;var Lp="undefined"!==typeof window?t.useLayoutEffect:t.useEffect;var Mp=["html","body"],Np=function(e,t){void 0===e&&(e=document.body);var n=document.createElement("div");return"first"===t?e.prepend(n):e.appendChild(n),n},Op=function(e){var t=window.scrollX,n=window.scrollY;e.focus(),window.scrollTo(t,n)},Tp="tabindex",Fp="data-g-tabindex",Rp=/(a|area|input|select|textarea|button|iframe)$/,Ip=function(e){if(!e.hasAttribute("aria-live")){e.setAttribute("aria-hidden",!0);var t=e.getElementsByTagName("*");Array.prototype.filter.call(t||[],(function(e){return null!==e.getAttribute(Tp)})).forEach((function(e){e.setAttribute(Fp,e.getAttribute(Tp)),e.setAttribute(Tp,-1)})),Array.prototype.filter.call(t||[],(function(e){return e.tagName.toLowerCase().match(Rp)&&e.focus&&null===e.getAttribute(Fp)})).forEach((function(e){e.setAttribute(Fp,"none"),e.setAttribute(Tp,-1)}))}},Bp=function e(t){if(t)return t.offsetParent?t:e(t.parentElement)||t},Wp=["hidden","restrictScroll","children","trapFocus"];function zp(){return zp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zp.apply(this,arguments)}var $p=function(e){var n=e.hidden,r=void 0!==n&&n,o=e.restrictScroll,i=void 0!==o&&o,a=e.children,s=e.trapFocus,l=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,Wp),u=(0,t.useState)(""),c=u[0],d=u[1],p=(0,t.useRef)(null),f=(0,t.useContext)(vp),h=(0,t.useState)(f),m=h[0],g=h[1];return(0,t.useEffect)((function(){p.current&&g([].concat(f,[p.current]))}),[f]),(0,t.useEffect)((function(){return"hidden"!==c&&!r&&i&&s&&(d(document.body.style.overflow),document.body.style.overflow="hidden"),function(){"hidden"!==c&&!r&&i&&s&&(document.body.style.overflow=c)}}),[c,r,s,i]),(0,t.useEffect)((function(){var e=setTimeout((function(){!r&&s&&f&&f[0]&&f.forEach(Ip)}),0);return function(){f&&f[0]&&function(e){if(!e.hasAttribute("aria-live")){e.removeAttribute("aria-hidden");var t=e.getElementsByTagName("*");Array.prototype.filter.call(t||[],(function(e){return e.hasAttribute(Fp)})).forEach((function(e){var t=e.getAttribute(Fp);t>=0?e.setAttribute(Tp,e.getAttribute(Fp)):"none"===t&&e.removeAttribute(Tp),e.removeAttribute(Fp)}))}}(f[f.length-1]),clearTimeout(e)}}),[r,f,s]),t.createElement(vp.Provider,{value:m},t.createElement("div",zp({ref:p,"aria-hidden":r},l),a))};var Hp=["capture","target","children","onKeyDown"];var Vp={8:"onBackspace",9:"onTab",13:"onEnter",27:"onEsc",32:"onSpace",37:"onLeft",38:"onUp",39:"onRight",40:"onDown",188:"onComma",16:"onShift"},Up=function(e){var n=e.capture,r=e.target,o=e.children,i=e.onKeyDown,a=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,Hp),s=(0,t.useCallback)((function(e){for(var t=e.keyCode?e.keyCode:e.which,n=Vp[t],r=arguments.length,o=new Array(r>1?r-1:0),s=1;s<r;s++)o[s-1]=arguments[s];n&&a[n]&&a[n].apply(a,[e].concat(o)),i&&i.apply(void 0,[e].concat(o))}),[i,a]);return(0,t.useEffect)((function(){return"document"===r&&document.addEventListener("keydown",s,n),function(){"document"===r&&document.removeEventListener("keydown",s,n)}}),[n,s,r]),"document"===r?o:(0,t.cloneElement)(t.Children.only(o),{onKeyDown:s})};Up.propTypes={};var qp=t.createContext(void 0),Yp=(0,Hc.css)(["left:-100%;right:100%;z-index:-1;position:fixed;"]),Gp=Hc.default.div.withConfig({displayName:"StyledLayer",componentId:"sc-rmtehz-0"})([""," background:transparent;position:relative;z-index:",";pointer-events:none;outline:none;"," ",";"],Zd,(function(e){return e.theme.layer.zIndex}),(function(e){if("hidden"===e.position)return Yp;var t=[];if(t.push("\n  position: fixed;\n  top: 0px;\n  left: 0px;\n  right: 0px;\n  bottom: 0px;\n"),e.responsive&&e.theme.layer.responsiveBreakpoint&&!e.layerTarget){var n=e.theme.global.breakpoints[e.theme.layer.responsiveBreakpoint];t.push($d(n,"\n  position: fixed;\n  width: 100%;\n  height: 100%;\n  min-height: 100vh;\n"))}return t}),(function(e){return e.theme.layer&&e.theme.layer.extend}));Gp.defaultProps={},Object.setPrototypeOf(Gp.defaultProps,mp);var Zp=Hc.default.div.withConfig({displayName:"StyledLayer__StyledOverlay",componentId:"sc-rmtehz-1"})(["position:absolute;"," top:0px;left:0px;right:0px;bottom:0px;"," pointer-events:all;will-change:transform;"],(function(e){if(e.responsive&&e.theme.layer.responsiveBreakpoint){var t=e.theme.global.breakpoints[e.theme.layer.responsiveBreakpoint];return $d(t,"position: relative;")}return""}),(function(e){return!e.plain&&e.theme.layer.overlay.background&&md(e.theme.layer.overlay.background,e.theme)})),Kp=function(e,t,n){var r=-1!==n.indexOf("top")||-1!==n.indexOf("bottom")?"vertical":"horizontal",o=e[n]||e[r]||e,i=t.global.edgeSize[o]||o;return!!t.global.edgeSize[o]||"string"===typeof o?zd(i):0},Qp=function(e,t,n,r){return void 0===r&&(r=void 0),r?e[r]+Kp(t,n,r):{bottom:e.bottom+Kp(t,n,"bottom"),end:e.right+Kp(t,n,"end"),left:e.left+Kp(t,n,"left"),right:e.right+Kp(t,n,"right"),start:e.left+Kp(t,n,"start"),top:e.top+Kp(t,n,"top")}},Xp={center:{vertical:(0,Hc.keyframes)(["0%{transform:translateX(-50%) scale(0.8);}100%{transform:translateX(-50%) scale(1);}"]),horizontal:(0,Hc.keyframes)(["0%{transform:translateY(-50%) scale(0.8);}100%{transform:translateY(-50) scale(1);}"]),true:(0,Hc.keyframes)(["0%{transform:scale(0.8);}100%{transform:scale(1);}"]),false:(0,Hc.keyframes)(["0%{transform:translate(-50%,-50%) scale(0.8);}100%{transform:translate(-50%,-50%) scale(1);}"])},top:{vertical:(0,Hc.keyframes)(["0%{transform:translate(-50%,-100%);}100%{transform:translate(-50%,0);}"]),horizontal:(0,Hc.keyframes)(["0%{transform:translateY(-100%);}100%{transform:translateY(0);}"]),true:(0,Hc.keyframes)(["0%{transform:translateY(-100%);}100%{transform:translateY(0);}"]),false:(0,Hc.keyframes)(["0%{transform:translate(-50%,-100%);}100%{transform:translate(-50%,0);}"])},bottom:{vertical:(0,Hc.keyframes)(["0%{transform:translate(-50%,100%);}100%{transform:translate(-50%,0);}"]),horizontal:(0,Hc.keyframes)(["0%{transform:translateY(100%);}100%{transform:translateY(0);}"]),true:(0,Hc.keyframes)(["0%{transform:translateY(100%);}100%{transform:translateY(0);}"]),false:(0,Hc.keyframes)(["0%{transform:translate(-50%,100%);}100%{transform:translate(-50%,0);}"])},left:{vertical:(0,Hc.keyframes)(["0%{transform:translateX(-100%);}100%{transform:translateX(0);}"]),horizontal:(0,Hc.keyframes)(["0%{transform:translate(-100%,-50%);}100%{transform:translate(0,-50%);}"]),true:(0,Hc.keyframes)(["0%{transform:translateX(-100%);}100%{transform:translateX(0);}"]),false:(0,Hc.keyframes)(["0%{transform:translate(-100%,-50%);}100%{transform:translate(0,-50%);}"])},right:{vertical:(0,Hc.keyframes)(["0%{transform:translateX(100%);}100%{transform:translateX(0);}"]),horizontal:(0,Hc.keyframes)(["0%{transform:translate(100%,-50%);}100%{transform:translate(0,-50%);}"]),true:(0,Hc.keyframes)(["0%{transform:translateX(100%);}100%{transform:translateX(0);}"]),false:(0,Hc.keyframes)(["0%{transform:translate(100%,-50%);}100%{transform:translate(0,-50%);}"])},start:{vertical:(0,Hc.keyframes)(["0%{transform:translateX(-100%);}100%{transform:translateX(0);}"]),horizontal:(0,Hc.keyframes)(["0%{transform:translate(-100%,-50%);}100%{transform:translate(0,-50%);}"]),true:(0,Hc.keyframes)(["0%{transform:translateX(-100%);}100%{transform:translateX(0);}"]),false:(0,Hc.keyframes)(["0%{transform:translate(-100%,-50%);}100%{transform:translate(0,-50%);}"])},end:{vertical:(0,Hc.keyframes)(["0%{transform:translateX(100%);}100%{transform:translateX(0);}"]),horizontal:(0,Hc.keyframes)(["0%{transform:translate(100%,-50%);}100%{transform:translate(0,-50%);}"]),true:(0,Hc.keyframes)(["0%{transform:translateX(100%);}100%{transform:translateX(0);}"]),false:(0,Hc.keyframes)(["0%{transform:translate(100%,-50%);}100%{transform:translate(0,-50%);}"])}},Jp=function(e,t,n){var r,o=void 0!==e.animation?e.animation:e.animate;return void 0===o&&(o="slide"),"slide"===o||!0===o?r=Xp[t][n]:"fadeIn"===o&&(r=(0,Hc.keyframes)(["0%{opacity:0}100%{opacity:1}"])),r?(0,Hc.css)(["animation:"," ","s ease-in-out forwards;"],r,.2):""},ef={center:{vertical:function(e){return(0,Hc.css)(["top:","px;bottom:","px;left:50%;transform:translateX(-50%);",""],e.top,e.bottom,(function(e){return Jp(e,"center","vertical")}))},horizontal:function(e){return(0,Hc.css)(["left:","px;right:","px;top:50%;transform:translateY(-50%);",""],e.left,e.right,(function(e){return Jp(e,"center","horizontal")}))},true:function(e){return(0,Hc.css)(["top:","px;bottom:","px;left:","px;right:","px;",""],e.top,e.bottom,e.left,e.right,(function(e){return Jp(e,"center","true")}))},false:function(){return(0,Hc.css)(["top:50%;left:50%;transform:translate(-50%,-50%);",""],(function(e){return Jp(e,"center","false")}))}},top:{vertical:function(e){return(0,Hc.css)(["top:","px;bottom:","px;left:50%;transform:translate(-50%,0%);",""],e.top,e.bottom,(function(e){return Jp(e,"top","vertical")}))},horizontal:function(e){return(0,Hc.css)(["left:","px;right:","px;top:","px;transform:translateY(0);",""],e.left,e.right,e.top,(function(e){return Jp(e,"top","horizontal")}))},true:function(e){return(0,Hc.css)(["top:","px;bottom:","px;left:","px;right:","px;transform:translateY(0);",""],e.top,e.bottom,e.left,e.right,(function(e){return Jp(e,"top","true")}))},false:function(e){return(0,Hc.css)(["top:","px;left:50%;transform:translate(-50%,0);",""],e.top,(function(e){return Jp(e,"top","false")}))}},bottom:{vertical:function(e){return(0,Hc.css)(["top:","px;bottom:","px;left:50%;transform:translate(-50%,0);",""],e.top,e.bottom,(function(e){return Jp(e,"bottom","vertical")}))},horizontal:function(e){return(0,Hc.css)(["left:","px;right:","px;bottom:","px;transform:translateY(0);",""],e.left,e.top,e.bottom,(function(e){return Jp(e,"bottom","horizontal")}))},true:function(e){return(0,Hc.css)(["top:","px;bottom:","px;left:","px;right:","px;transform:translateY(0);",""],e.top,e.bottom,e.left,e.right,(function(e){return Jp(e,"bottom","true")}))},false:function(e){return(0,Hc.css)(["bottom:","px;left:50%;transform:translate(-50%,0);",""],e.bottom,(function(e){return Jp(e,"bottom","false")}))}},left:{vertical:function(e){return(0,Hc.css)(["top:","px;bottom:","px;left:","px;transform:translateX(0);",""],e.top,e.bottom,e.left,(function(e){return Jp(e,"left","vertical")}))},horizontal:function(e){return(0,Hc.css)(["left:","px;right:","px;top:50%;transform:translate(0,-50%);",""],e.left,e.right,(function(e){return Jp(e,"left","horizontal")}))},true:function(e){return(0,Hc.css)(["top:","px;bottom:","px;left:","px;right:","px;transform:translateX(0);",""],e.top,e.bottom,e.left,e.right,(function(e){return Jp(e,"left","true")}))},false:function(e){return(0,Hc.css)(["left:","px;top:50%;transform:translate(0,-50%);",""],e.left,(function(e){return Jp(e,"left","false")}))}},right:{vertical:function(e){return(0,Hc.css)(["top:","px;bottom:","px;right:","px;transform:translateX(0);",""],e.top,e.bottom,e.right,(function(e){return Jp(e,"right","vertical")}))},horizontal:function(e){return(0,Hc.css)(["left:","px;right:","px;top:50%;transform:translate(0,-50%);",""],e.left,e.right,(function(e){return Jp(e,"right","horizontal")}))},true:function(e){return(0,Hc.css)(["top:","px;bottom:","px;left:","px;right:","px;transform:translateX(0);",""],e.top,e.bottom,e.left,e.right,(function(e){return Jp(e,"right","true")}))},false:function(e){return(0,Hc.css)(["right:","px;top:50%;transform:translate(0,-50%);",""],e.right,(function(e){return Jp(e,"right","false")}))}},start:{vertical:function(e){return(0,Hc.css)(["top:","px;bottom:","px;inset-inline-start:","px;transform:translateX(0);",""],e.top,e.bottom,e.start,(function(e){return Jp(e,"start","vertical")}))},horizontal:function(e){return(0,Hc.css)(["inset-inline-start:","px;inset-inline-end:","px;top:50%;transform:translate(0,-50%);",""],e.start,e.end,(function(e){return Jp(e,"start","horizontal")}))},true:function(e){return(0,Hc.css)(["top:","px;bottom:","px;inset-inline-start:","px;inset-inline-end:","px;transform:translateX(0);",""],e.top,e.bottom,e.start,e.end,(function(e){return Jp(e,"start","true")}))},false:function(e){return(0,Hc.css)(["inset-inline-start:","px;top:50%;transform:translate(0,-50%);",""],e.start,(function(e){return Jp(e,"start","false")}))}},end:{vertical:function(e){return(0,Hc.css)(["top:","px;bottom:","px;inset-inline-end:","px;transform:translateX(0);",""],e.top,e.bottom,e.end,(function(e){return Jp(e,"end","vertical")}))},horizontal:function(e){return(0,Hc.css)(["inset-inline-start:","px;inset-inline-end:","px;top:50%;transform:translate(0,-50%);",""],e.start,e.end,(function(e){return Jp(e,"end","horizontal")}))},true:function(e){return(0,Hc.css)(["top:","px;bottom:","px;inset-inline-start:","px;inset-inline-end:","px;transform:translateX(0);",""],e.top,e.bottom,e.start,e.end,(function(e){return Jp(e,"end","true")}))},false:function(e){return(0,Hc.css)(["inset-inline-end:","px;top:50%;transform:translate(0,-50%);",""],e.end,(function(e){return Jp(e,"end","false")}))}},"top-right":{vertical:function(e){return(0,Hc.css)(["top:","px;bottom:","px;right:","px;transform:translateX(0);",";"],e.top,e.bottom,e.right,(function(e){return Jp(e,"top","true")}))},horizontal:function(e){return(0,Hc.css)(["left:","px;right:","px;top:0;transform:translateX(0);",";"],e.left,e.right,(function(e){return Jp(e,"top","true")}))},true:function(e){return(0,Hc.css)(["top:","px;bottom:","px;left:","px;right:","px;transform:translateX(0);",";"],e.top,e.bottom,e.left,e.right,(function(e){return Jp(e,"top","true")}))},false:function(e){return(0,Hc.css)(["top:","px;right:","px;transform:translateY(0);",";"],e.top,e.right,(function(e){return Jp(e,"top","true")}))}},"top-left":{vertical:function(e){return(0,Hc.css)(["top:","px;bottom:","px;left:","px;transform:translateX(0);",""],e.top,e.bottom,e.left,(function(e){return Jp(e,"top","true")}))},horizontal:function(e){return(0,Hc.css)(["left:","px;right:","px;top:0;transform:translateX(0);",""],e.left,e.right,(function(e){return Jp(e,"top","true")}))},true:function(e){return(0,Hc.css)(["top:","px;bottom:","px;left:","px;right:","px;transform:translateX(0);",""],e.top,e.bottom,e.left,e.right,(function(e){return Jp(e,"top","true")}))},false:function(e){return(0,Hc.css)(["top:","px;left:","px;transform:translateY(0);",""],e.top,e.left,(function(e){return Jp(e,"top","true")}))}},"bottom-right":{vertical:function(e){return(0,Hc.css)(["top:","px;bottom:","px;right:","px;transform:translateX(0);",""],e.top,e.bottom,e.right,(function(e){return Jp(e,"bottom","true")}))},horizontal:function(e){return(0,Hc.css)(["left:","px;right:","px;bottom:","px;transform:translateY(0);",""],e.left,e.right,e.bottom,(function(e){return Jp(e,"bottom","true")}))},true:function(e){return(0,Hc.css)(["top:","px;bottom:","px;left:","px;right:","px;transform:translateX(0);",""],e.top,e.bottom,e.left,e.right,(function(e){return Jp(e,"bottom","true")}))},false:function(e){return(0,Hc.css)(["bottom:","px;right:","px;transform:translateY(0);",""],e.bottom,e.right,(function(e){return Jp(e,"bottom","true")}))}},"bottom-left":{vertical:function(e){return(0,Hc.css)(["top:","px;bottom:","px;left:","px;transform:translateX(0);",""],e.top,e.bottom,e.left,(function(e){return Jp(e,"bottom","true")}))},horizontal:function(e){return(0,Hc.css)(["left:","px;right:","px;bottom:","px;transform:translateY(0);",""],e.left,e.right,e.bottom,(function(e){return Jp(e,"bottom","true")}))},true:function(e){return(0,Hc.css)(["top:","px;bottom:","px;left:","px;right:","px;transform:translateX(0);",""],e.top,e.bottom,e.left,e.right,(function(e){return Jp(e,"bottom","true")}))},false:function(e){return(0,Hc.css)(["bottom:","px;left:","px;transform:translateY(0);",""],e.bottom,e.left,(function(e){return Jp(e,"bottom","true")}))}}},tf={left:0,right:0,top:0,bottom:0},nf=(0,Hc.css)([""," max-height:",";max-width:",";",";",";"],(function(e){return e.modal||"hidden"!==e.position?(0,Hc.css)(["position:",";"],e.modal||e.layerTarget?"absolute":"fixed"):Yp}),(function(e){return"calc(100% - "+Qp(tf,e.margin,e.theme,"top")+"px - "+Qp(tf,e.margin,e.theme,"bottom")+"px)"}),(function(e){return"calc(100% - "+Qp(tf,e.margin,e.theme,"left")+"px - "+Qp(tf,e.margin,e.theme,"right")+"px)"}),(function(e){return e.plain||e.full&&"none"===e.margin?"border-radius: 0;":function(e,t,n,r){var o=[],i=!0===e?"medium":e,a=t.global.edgeSize[i]||i,s=a.split(" ").length>1;return"none"!==r||s||!0!==t.layer.border.intelligentRounding?o.push((0,Hc.css)(["border-radius:",";"],a)):"bottom"===n?o.push((0,Hc.css)(["border-radius:"," "," 0 0;"],a,a)):"bottom-left"===n?o.push((0,Hc.css)(["border-radius:0 "," 0 0;"],a)):"bottom-right"===n?o.push((0,Hc.css)(["border-radius:"," 0 0 0;"],a)):"end"===n?o.push((0,Hc.css)(["border-start-start-radius:",";border-end-start-radius:",";"],a,a)):"left"===n?o.push((0,Hc.css)(["border-radius:0 "," "," 0;"],a,a)):"right"===n?o.push((0,Hc.css)(["border-radius:"," 0 0 ",";"],a,a)):"start"===n?o.push((0,Hc.css)(["border-end-end-radius:",";border-start-end-radius:",";"],a,a)):"top"===n?o.push((0,Hc.css)(["border-radius:0 0 "," ",";"],a,a)):"top-left"===n?o.push((0,Hc.css)(["border-radius:0 0 "," 0;"],a)):"top-right"===n?o.push((0,Hc.css)(["border-radius:0 0 0 ",";"],a)):o.push((0,Hc.css)(["border-radius:",";"],a)),o}(e.theme.layer.border.radius,e.theme,e.position,e.margin)}),(function(e){return"hidden"!==e.position&&ef[e.position][e.full](Qp(tf,e.margin,e.theme),tf)||""})),rf=function(e){return(0,Hc.css)(["position:relative;max-height:none;max-width:none;border-radius:0;height:",";width:",";"],e.layerTarget?"100%":"100vh",e.layerTarget?"100%":"100vw")},of=(0,Hc.css)(["box-shadow:",";"],(function(e){return e.theme.global.elevation[e.theme.dark?"dark":"light"][e.theme.layer.container.elevation]})),af=Hc.default.div.withConfig({shouldForwardProp:function(e,t){return!["elevation"].includes(e)&&t(e)}}).withConfig({displayName:"StyledLayer__StyledContainer",componentId:"sc-rmtehz-2"})([""," display:flex;flex-direction:column;min-height:",";"," outline:none;pointer-events:all;z-index:",";"," "," ",";",";"],(function(e){return e.modal?"":Zd}),(function(e){return e.theme.global.size.xxsmall}),(function(e){return!e.plain&&(e.background||e.theme.layer.background)&&md(e.background||e.theme.layer.background,e.theme)}),(function(e){return e.theme.layer.container.zIndex}),(function(e){return!e.plain&&e.theme.layer.container.elevation&&of}),nf,(function(e){if(e.responsive&&e.theme.layer.responsiveBreakpoint){var t=e.theme.global.breakpoints[e.theme.layer.responsiveBreakpoint];if(t)return $d(t,rf)}return""}),(function(e){return e.theme.layer.container&&e.theme.layer.container.extend}));af.defaultProps={},Object.setPrototypeOf(af.defaultProps,mp);var sf=["background","children","full","id","margin","modal","onClickOutside","onEsc","plain","position","responsive","target"];function lf(){return lf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lf.apply(this,arguments)}var uf=Hc.default.a.withConfig({displayName:"LayerContainer__HiddenAnchor",componentId:"sc-1srj14c-0"})(["width:0;height:0;overflow:hidden;position:absolute;"]),cf=[],df=(0,t.forwardRef)((function(e,n){var r=e.background,o=e.children,i=e.full,a=void 0!==i&&i,s=e.id,l=e.margin,u=void 0===l?"none":l,c=e.modal,d=void 0===c||c,p=e.onClickOutside,f=e.onEsc,h=e.plain,m=e.position,g=void 0===m?"center":m,v=e.responsive,y=void 0===v||v,x=e.target,b=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,sf),k=(0,t.useContext)(Xc),w=(0,t.useContext)(Hc.ThemeContext)||mp.theme,E=(0,t.useContext)(Qc),_=(0,t.useContext)(yp).layer,C=(0,t.useRef)(),S=(0,t.useRef)(),D=(0,t.useRef)(),j=(0,t.useContext)(qp)||cf,A=(0,t.useMemo)((function(){return j.length}),[j]),P=(0,t.useMemo)((function(){return[].concat(j,[A])}),[j,A]),L=(0,t.useContext)(_p);(0,t.useEffect)((function(){var e=new Date,t=D.current,n="hidden"===g;return n||L({type:"layerOpen",element:t}),function(){n||L({type:"layerClose",element:t,elapsed:(new Date).getTime()-e.getTime()})}}),[L,D,g]),(0,t.useEffect)((function(){if("hidden"!==g){var e=D.current||S.current||n.current;e&&e.scrollIntoView&&e.scrollIntoView();for(var t=document.activeElement;t&&t!==S.current;)t=t.parentElement;d&&!t&&C.current&&C.current.focus()}}),[d,g,n]),(0,t.useEffect)((function(){if("hidden"!==g){var e=D.current||S.current||n.current;e&&e.scrollIntoView&&e.scrollIntoView()}}),[g,n]),(0,t.useEffect)((function(){var e=function(e){for(var t=null,n=k===document.body?e.target:null==e?void 0:e.composedPath()[0];null===t&&n!==document&&null!==n;){var r=n.getAttribute("data-g-portal-id");null!==r&&""!==r?t=parseInt(r,10):n=n.parentNode}null!==t&&-1===j.indexOf(t)||null===n||p(e)};if(p&&document.addEventListener("mousedown",e),x){var t=function(){var e=window.innerWidth,t=window.innerHeight,n=Bp(x),r=D.current;if(r&&n){r.style.left="",r.style.top="",r.style.bottom="",r.style.width="";var o=n.getBoundingClientRect(),i=r.getBoundingClientRect();r.style.left=o.left+"px",r.style.right=e-o.right+"px",r.style.top=o.top+"px",r.style.bottom=t-o.bottom+"px",r.style.maxHeight=o.height,r.style.maxWidth=Math.min(i.width,e)}};return t(),window.addEventListener("resize",t),window.addEventListener("scroll",t,!0),function(){window.removeEventListener("resize",t),window.removeEventListener("scroll",t,!0),p&&document.removeEventListener("mousedown",e)}}return function(){p&&document.removeEventListener("mousedown",e)}}),[k,x,p,j,A]);var M=t.createElement(af,lf({ref:n||S,background:r,elevation:w.layer.container.elevation,id:_&&_.singleId?s+"__container":s,full:a,margin:u,modal:d},b,{position:g,plain:h,responsive:y,layerTarget:x,dir:w.dir,"data-g-portal-id":A}),t.createElement(uf,{ref:C,tabIndex:"-1","aria-hidden":"true"}),o);M=t.createElement(Gp,{ref:D,id:s,plain:h,position:g,responsive:y,layerTarget:x,tabIndex:"-1",dir:w.dir},d&&t.createElement(Zp,{plain:h,responsive:y,onMouseDown:p}),M),f&&(M=t.createElement(Up,{onEsc:f?function(e){e.stopPropagation(),f(e)}:void 0,target:!1===d?"document":void 0},M));var N=(0,t.useMemo)((function(){var e=pd(w.layer.background,w);return lf({},w,{dark:e})}),[w]);if(w.layer.background){var O=N.dark;void 0!==O&&O!==w.dark&&(M=t.createElement(Hc.ThemeContext.Provider,{value:N},M))}M=t.createElement(qp.Provider,{value:P},M);var T=y&&E===w.layer.responsiveBreakpoint;return(d||T)&&(M=t.createElement($p,{hidden:"hidden"===g,restrictScroll:!(x&&!T)||void 0,trapFocus:!0},M)),M}));var pf={};function ff(){return ff=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ff.apply(this,arguments)}var hf=(0,t.forwardRef)((function(e,n){var o=e.animate,i=e.animation,a=e.targetChildPosition,s=(0,t.useState)(),l=s[0],u=s[1];(0,t.useEffect)((function(){return u(document.activeElement)}),[]);var c=(0,t.useState)(),d=c[0],p=c[1],f=(0,t.useContext)(Xc);return(0,t.useEffect)((function(){return p(Np(f,a))}),[f,a]),Lp((function(){return function(){if(l&&(l.focus?setTimeout((function(){return l.focus()}),0):l.parentNode&&l.parentNode.focus&&l.parentNode.focus()),d)if(!1!==(void 0!==i?i:o)){var e=d.cloneNode(!0);e.id="layerClone",f.appendChild(e);var t=e.querySelector('[class*="StyledLayer__StyledContainer"]');t&&t.style&&(t.style.animationDirection="reverse"),setTimeout((function(){var e=f===document.body?document.getElementById("layerClone"):f.getElementById("layerClone");e&&(f.removeChild(e),d.remove())}),200)}else f.removeChild(d)}}),[o,i,f,d,l]),d?(0,r.createPortal)(t.createElement(df,ff({ref:n},e)),d):null}));hf.displayName="Layer",hf.propTypes=pf;const mf={layer:{container:{zIndex:2e3},zIndex:2e3}},gf=(0,t.forwardRef)(((e,t)=>{let{display:n,onClose:r,children:o,...i}=e;return n?(0,Cs.jsx)(Pp,{theme:mf,onClick:e=>{r()},children:(0,Cs.jsx)(hf,{ref:t,onEsc:r,modal:!0,...i,className:bs`
          ${bs`
            ${(null===i||void 0===i?void 0:i.className)||""}
          `}
          border-radius: 16px !important;
          ${Tu("center start")}
        `,onClick:e=>e.stopPropagation(),children:o})}):null}));var vf=44,yf=t.forwardRef((function(e,n){var r=e.classes,i=e.className,a=e.color,s=void 0===a?"primary":a,l=e.disableShrink,u=void 0!==l&&l,c=e.size,d=void 0===c?40:c,p=e.style,f=e.thickness,h=void 0===f?3.6:f,m=e.value,g=void 0===m?0:m,v=e.variant,y=void 0===v?"indeterminate":v,x=(0,Is.A)(e,["classes","className","color","disableShrink","size","style","thickness","value","variant"]),b={},k={},w={};if("determinate"===y||"static"===y){var E=2*Math.PI*((vf-h)/2);b.strokeDasharray=E.toFixed(3),w["aria-valuenow"]=Math.round(g),b.strokeDashoffset="".concat(((100-g)/100*E).toFixed(3),"px"),k.transform="rotate(-90deg)"}return t.createElement("div",(0,Fs.A)({className:(0,o.A)(r.root,i,"inherit"!==s&&r["color".concat((0,Hs.A)(s))],{determinate:r.determinate,indeterminate:r.indeterminate,static:r.static}[y]),style:(0,Fs.A)({width:d,height:d},k,p),ref:n,role:"progressbar"},w,x),t.createElement("svg",{className:r.svg,viewBox:"".concat(22," ").concat(22," ").concat(vf," ").concat(vf)},t.createElement("circle",{className:(0,o.A)(r.circle,u&&r.circleDisableShrink,{determinate:r.circleDeterminate,indeterminate:r.circleIndeterminate,static:r.circleStatic}[y]),style:b,cx:vf,cy:vf,r:(vf-h)/2,fill:"none",strokeWidth:h})))}));const xf=(0,$s.A)((function(e){return{root:{display:"inline-block"},static:{transition:e.transitions.create("transform")},indeterminate:{animation:"$circular-rotate 1.4s linear infinite"},determinate:{transition:e.transitions.create("transform")},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},svg:{display:"block"},circle:{stroke:"currentColor"},circleStatic:{transition:e.transitions.create("stroke-dashoffset")},circleIndeterminate:{animation:"$circular-dash 1.4s ease-in-out infinite",strokeDasharray:"80px, 200px",strokeDashoffset:"0px"},circleDeterminate:{transition:e.transitions.create("stroke-dashoffset")},"@keyframes circular-rotate":{"0%":{transformOrigin:"50% 50%"},"100%":{transform:"rotate(360deg)"}},"@keyframes circular-dash":{"0%":{strokeDasharray:"1px, 200px",strokeDashoffset:"0px"},"50%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-15px"},"100%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-125px"}},circleDisableShrink:{animation:"none"}}}),{name:"MuiCircularProgress",flip:!1})(yf),bf=()=>(0,Cs.jsx)(Ku,{styles:"jc:c ai:c",className:bs`
        width: 100%;
        height: 100%;
        padding: 8px;
      `,children:(0,Cs.jsx)(xf,{})}),kf=e=>{let{children:t,portal:n="portal-root"}=e;const o=document.getElementById(n);return(0,r.createPortal)(t,o)};var wf=n(2652),Ef=n(2284),_f=n(8565);function Cf(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function Sf(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(Cf(e.value)&&""!==e.value||t&&Cf(e.defaultValue)&&""!==e.defaultValue)}function Df(e,t){return"object"===(0,Ef.A)(t)&&null!==t?e===t:String(e)===String(t)}var jf=t.forwardRef((function(e,n){var r=e["aria-label"],i=e.autoFocus,a=e.autoWidth,s=e.children,l=e.classes,u=e.className,c=e.defaultValue,d=e.disabled,p=e.displayEmpty,f=e.IconComponent,h=e.inputRef,m=e.labelId,g=e.MenuProps,v=void 0===g?{}:g,y=e.multiple,x=e.name,b=e.onBlur,k=e.onChange,w=e.onClose,E=e.onFocus,_=e.onOpen,C=e.open,S=e.readOnly,D=e.renderValue,j=e.SelectDisplayProps,A=void 0===j?{}:j,P=e.tabIndex,L=(e.type,e.value),M=e.variant,N=void 0===M?"standard":M,O=(0,Is.A)(e,["aria-label","autoFocus","autoWidth","children","classes","className","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"]),T=(0,Au.A)({controlled:L,default:c,name:"Select"}),F=(0,Rs.A)(T,2),R=F[0],I=F[1],B=t.useRef(null),W=t.useState(null),z=W[0],$=W[1],H=t.useRef(null!=C).current,V=t.useState(),U=V[0],q=V[1],Y=t.useState(!1),G=Y[0],Z=Y[1],K=(0,sl.A)(n,h);t.useImperativeHandle(K,(function(){return{focus:function(){z.focus()},node:B.current,value:R}}),[z,R]),t.useEffect((function(){i&&z&&z.focus()}),[i,z]),t.useEffect((function(){if(z){var e=(0,Xu.A)(z).getElementById(m);if(e){var t=function(){getSelection().isCollapsed&&z.focus()};return e.addEventListener("click",t),function(){e.removeEventListener("click",t)}}}}),[m,z]);var Q,X,J=function(e,t){e?_&&_(t):w&&w(t),H||(q(a?null:z.clientWidth),Z(e))},ee=t.Children.toArray(s),te=function(e){return function(t){var n;if(y||J(!1,t),y){n=Array.isArray(R)?R.slice():[];var r=R.indexOf(e.props.value);-1===r?n.push(e.props.value):n.splice(r,1)}else n=e.props.value;e.props.onClick&&e.props.onClick(t),R!==n&&(I(n),k&&(t.persist(),Object.defineProperty(t,"target",{writable:!0,value:{value:n,name:x}}),k(t,e)))}},ne=null!==z&&(H?C:G);delete O["aria-invalid"];var re=[],oe=!1;(Sf({value:R})||p)&&(D?Q=D(R):oe=!0);var ie=ee.map((function(e){if(!t.isValidElement(e))return null;var n;if(y){if(!Array.isArray(R))throw new Error((0,_f.A)(2));n=R.some((function(t){return Df(t,e.props.value)})),n&&oe&&re.push(e.props.children)}else(n=Df(R,e.props.value))&&oe&&(X=e.props.children);return n&&!0,t.cloneElement(e,{"aria-selected":n?"true":void 0,onClick:te(e),onKeyUp:function(t){" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:n,value:void 0,"data-value":e.props.value})}));oe&&(Q=y?re.join(", "):X);var ae,se=U;!a&&H&&z&&(se=z.clientWidth),ae="undefined"!==typeof P?P:d?null:0;var le=A.id||(x?"mui-component-select-".concat(x):void 0);return t.createElement(t.Fragment,null,t.createElement("div",(0,Fs.A)({className:(0,o.A)(l.root,l.select,l.selectMenu,l[N],u,d&&l.disabled),ref:$,tabIndex:ae,role:"button","aria-disabled":d?"true":void 0,"aria-expanded":ne?"true":void 0,"aria-haspopup":"listbox","aria-label":r,"aria-labelledby":[m,le].filter(Boolean).join(" ")||void 0,onKeyDown:function(e){if(!S){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),J(!0,e))}},onMouseDown:d||S?null:function(e){0===e.button&&(e.preventDefault(),z.focus(),J(!0,e))},onBlur:function(e){!ne&&b&&(e.persist(),Object.defineProperty(e,"target",{writable:!0,value:{value:R,name:x}}),b(e))},onFocus:E},A,{id:le}),function(e){return null==e||"string"===typeof e&&!e.trim()}(Q)?t.createElement("span",{dangerouslySetInnerHTML:{__html:"&#8203;"}}):Q),t.createElement("input",(0,Fs.A)({value:Array.isArray(R)?R.join(","):R,name:x,ref:B,"aria-hidden":!0,onChange:function(e){var t=ee.map((function(e){return e.props.value})).indexOf(e.target.value);if(-1!==t){var n=ee[t];I(n.props.value),k&&k(e,n)}},tabIndex:-1,className:l.nativeInput,autoFocus:i},O)),t.createElement(f,{className:(0,o.A)(l.icon,l["icon".concat((0,Hs.A)(N))],ne&&l.iconOpen,d&&l.disabled)}),t.createElement(Bc,(0,Fs.A)({id:"menu-".concat(x||""),anchorEl:z,open:ne,onClose:function(e){J(!1,e)}},v,{MenuListProps:(0,Fs.A)({"aria-labelledby":m,role:"listbox",disableListWrap:!0},v.MenuListProps),PaperProps:(0,Fs.A)({},v.PaperProps,{style:(0,Fs.A)({minWidth:se},null!=v.PaperProps?v.PaperProps.style:null)})}),ie))}));const Af=jf;function Pf(e){var t=e.props,n=e.states,r=e.muiFormControl;return n.reduce((function(e,n){return e[n]=t[n],r&&"undefined"===typeof t[n]&&(e[n]=r[n]),e}),{})}var Lf=t.createContext();const Mf=Lf;function Nf(){return t.useContext(Mf)}var Of=n(4794);const Tf=(0,Of.A)(t.createElement("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function Ff(e,t){return parseInt(e[t],10)||0}var Rf="undefined"!==typeof window?t.useLayoutEffect:t.useEffect,If={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};const Bf=t.forwardRef((function(e,n){var r=e.onChange,o=e.rows,i=e.rowsMax,a=e.rowsMin,s=e.maxRows,l=e.minRows,u=void 0===l?1:l,c=e.style,d=e.value,p=(0,Is.A)(e,["onChange","rows","rowsMax","rowsMin","maxRows","minRows","style","value"]),f=s||i,h=o||a||u,m=t.useRef(null!=d).current,g=t.useRef(null),v=(0,sl.A)(n,g),y=t.useRef(null),x=t.useRef(0),b=t.useState({}),k=b[0],w=b[1],E=t.useCallback((function(){var t=g.current,n=window.getComputedStyle(t),r=y.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");var o=n["box-sizing"],i=Ff(n,"padding-bottom")+Ff(n,"padding-top"),a=Ff(n,"border-bottom-width")+Ff(n,"border-top-width"),s=r.scrollHeight-i;r.value="x";var l=r.scrollHeight-i,u=s;h&&(u=Math.max(Number(h)*l,u)),f&&(u=Math.min(Number(f)*l,u));var c=(u=Math.max(u,l))+("border-box"===o?i+a:0),d=Math.abs(u-s)<=1;w((function(e){return x.current<20&&(c>0&&Math.abs((e.outerHeightStyle||0)-c)>1||e.overflow!==d)?(x.current+=1,{overflow:d,outerHeightStyle:c}):e}))}),[f,h,e.placeholder]);t.useEffect((function(){var e=(0,Qu.A)((function(){x.current=0,E()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}),[E]),Rf((function(){E()})),t.useEffect((function(){x.current=0}),[d]);return t.createElement(t.Fragment,null,t.createElement("textarea",(0,Fs.A)({value:d,onChange:function(e){x.current=0,m||E(),r&&r(e)},ref:v,rows:h,style:(0,Fs.A)({height:k.outerHeightStyle,overflow:k.overflow?"hidden":null},c)},p)),t.createElement("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:y,tabIndex:-1,style:(0,Fs.A)({},If,c)}))}));var Wf="undefined"===typeof window?t.useEffect:t.useLayoutEffect,zf=t.forwardRef((function(e,n){var r=e["aria-describedby"],i=e.autoComplete,a=e.autoFocus,s=e.classes,l=e.className,u=(e.color,e.defaultValue),c=e.disabled,d=e.endAdornment,p=(e.error,e.fullWidth),f=void 0!==p&&p,h=e.id,m=e.inputComponent,g=void 0===m?"input":m,v=e.inputProps,y=void 0===v?{}:v,x=e.inputRef,b=(e.margin,e.multiline),k=void 0!==b&&b,w=e.name,E=e.onBlur,_=e.onChange,C=e.onClick,S=e.onFocus,D=e.onKeyDown,j=e.onKeyUp,A=e.placeholder,P=e.readOnly,L=e.renderSuffix,M=e.rows,N=e.rowsMax,O=e.rowsMin,T=e.maxRows,F=e.minRows,R=e.startAdornment,I=e.type,B=void 0===I?"text":I,W=e.value,z=(0,Is.A)(e,["aria-describedby","autoComplete","autoFocus","classes","className","color","defaultValue","disabled","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","rowsMax","rowsMin","maxRows","minRows","startAdornment","type","value"]),$=null!=y.value?y.value:W,H=t.useRef(null!=$).current,V=t.useRef(),U=t.useCallback((function(e){0}),[]),q=(0,sl.A)(y.ref,U),Y=(0,sl.A)(x,q),G=(0,sl.A)(V,Y),Z=t.useState(!1),K=Z[0],Q=Z[1],X=t.useContext(Lf);var J=Pf({props:e,muiFormControl:X,states:["color","disabled","error","hiddenLabel","margin","required","filled"]});J.focused=X?X.focused:K,t.useEffect((function(){!X&&c&&K&&(Q(!1),E&&E())}),[X,c,K,E]);var ee=X&&X.onFilled,te=X&&X.onEmpty,ne=t.useCallback((function(e){Sf(e)?ee&&ee():te&&te()}),[ee,te]);Wf((function(){H&&ne({value:$})}),[$,ne,H]);t.useEffect((function(){ne(V.current)}),[]);var re=g,oe=(0,Fs.A)({},y,{ref:G});"string"!==typeof re?oe=(0,Fs.A)({inputRef:G,type:B},oe,{ref:null}):k?!M||T||F||N||O?(oe=(0,Fs.A)({minRows:M||F,rowsMax:N,maxRows:T},oe),re=Bf):re="textarea":oe=(0,Fs.A)({type:B},oe);return t.useEffect((function(){X&&X.setAdornedStart(Boolean(R))}),[X,R]),t.createElement("div",(0,Fs.A)({className:(0,o.A)(s.root,s["color".concat((0,Hs.A)(J.color||"primary"))],l,J.disabled&&s.disabled,J.error&&s.error,f&&s.fullWidth,J.focused&&s.focused,X&&s.formControl,k&&s.multiline,R&&s.adornedStart,d&&s.adornedEnd,"dense"===J.margin&&s.marginDense),onClick:function(e){V.current&&e.currentTarget===e.target&&V.current.focus(),C&&C(e)},ref:n},z),R,t.createElement(Mf.Provider,{value:null},t.createElement(re,(0,Fs.A)({"aria-invalid":J.error,"aria-describedby":r,autoComplete:i,autoFocus:a,defaultValue:u,disabled:J.disabled,id:h,onAnimationStart:function(e){ne("mui-auto-fill-cancel"===e.animationName?V.current:{value:"x"})},name:w,placeholder:A,readOnly:P,required:J.required,rows:M,value:$,onKeyDown:D,onKeyUp:j},oe,{className:(0,o.A)(s.input,y.className,J.disabled&&s.disabled,k&&s.inputMultiline,J.hiddenLabel&&s.inputHiddenLabel,R&&s.inputAdornedStart,d&&s.inputAdornedEnd,"search"===B&&s.inputTypeSearch,"dense"===J.margin&&s.inputMarginDense),onBlur:function(e){E&&E(e),y.onBlur&&y.onBlur(e),X&&X.onBlur?X.onBlur(e):Q(!1)},onChange:function(e){if(!H){var t=e.target||V.current;if(null==t)throw new Error((0,_f.A)(1));ne({value:t.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];y.onChange&&y.onChange.apply(y,[e].concat(r)),_&&_.apply(void 0,[e].concat(r))},onFocus:function(e){J.disabled?e.stopPropagation():(S&&S(e),y.onFocus&&y.onFocus(e),X&&X.onFocus?X.onFocus(e):Q(!0))}}))),d,L?L((0,Fs.A)({},J,{startAdornment:R})):null)}));const $f=(0,$s.A)((function(e){var t="light"===e.palette.type,n={color:"currentColor",opacity:t?.42:.5,transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},o={opacity:t?.42:.5};return{"@global":{"@keyframes mui-auto-fill":{},"@keyframes mui-auto-fill-cancel":{}},root:(0,Fs.A)({},e.typography.body1,{color:e.palette.text.primary,lineHeight:"1.1876em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center","&$disabled":{color:e.palette.text.disabled,cursor:"default"}}),formControl:{},focused:{},disabled:{},adornedStart:{},adornedEnd:{},error:{},marginDense:{},multiline:{padding:"".concat(6,"px 0 ").concat(7,"px"),"&$marginDense":{paddingTop:3}},colorSecondary:{},fullWidth:{width:"100%"},input:{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"".concat(6,"px 0 ").concat(7,"px"),border:0,boxSizing:"content-box",background:"none",height:"1.1876em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{"-webkit-appearance":"none"},"label[data-shrink=false] + $formControl &":{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus:-ms-input-placeholder":o,"&:focus::-ms-input-placeholder":o},"&$disabled":{opacity:1},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},inputMarginDense:{paddingTop:3},inputMultiline:{height:"auto",resize:"none",padding:0},inputTypeSearch:{"-moz-appearance":"textfield","-webkit-appearance":"textfield"},inputAdornedStart:{},inputAdornedEnd:{},inputHiddenLabel:{}}}),{name:"MuiInputBase"})(zf);var Hf=t.forwardRef((function(e,n){var r=e.disableUnderline,i=e.classes,a=e.fullWidth,s=void 0!==a&&a,l=e.inputComponent,u=void 0===l?"input":l,c=e.multiline,d=void 0!==c&&c,p=e.type,f=void 0===p?"text":p,h=(0,Is.A)(e,["disableUnderline","classes","fullWidth","inputComponent","multiline","type"]);return t.createElement($f,(0,Fs.A)({classes:(0,Fs.A)({},i,{root:(0,o.A)(i.root,!r&&i.underline),underline:null}),fullWidth:s,inputComponent:u,multiline:d,ref:n,type:f},h))}));Hf.muiName="Input";const Vf=(0,$s.A)((function(e){var t="light"===e.palette.type?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return{root:{position:"relative"},formControl:{"label + &":{marginTop:16}},focused:{},disabled:{},colorSecondary:{"&$underline:after":{borderBottomColor:e.palette.secondary.main}},underline:{"&:after":{borderBottom:"2px solid ".concat(e.palette.primary.main),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"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(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($disabled):before":{borderBottom:"2px solid ".concat(e.palette.text.primary),"@media (hover: none)":{borderBottom:"1px solid ".concat(t)}},"&$disabled:before":{borderBottomStyle:"dotted"}},error:{},marginDense:{},multiline:{},fullWidth:{},input:{},inputMarginDense:{},inputMultiline:{},inputTypeSearch:{}}}),{name:"MuiInput"})(Hf);var Uf=t.forwardRef((function(e,n){var r=e.classes,i=e.className,a=e.disabled,s=e.IconComponent,l=e.inputRef,u=e.variant,c=void 0===u?"standard":u,d=(0,Is.A)(e,["classes","className","disabled","IconComponent","inputRef","variant"]);return t.createElement(t.Fragment,null,t.createElement("select",(0,Fs.A)({className:(0,o.A)(r.root,r.select,r[c],i,a&&r.disabled),disabled:a,ref:l||n},d)),e.multiple?null:t.createElement(s,{className:(0,o.A)(r.icon,r["icon".concat((0,Hs.A)(c))],a&&r.disabled)}))}));const qf=Uf;var Yf=function(e){return{root:{},select:{"-moz-appearance":"none","-webkit-appearance":"none",userSelect:"none",borderRadius:0,minWidth:16,cursor:"pointer","&:focus":{backgroundColor:"light"===e.palette.type?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"},"&$disabled":{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:e.palette.background.paper},"&&":{paddingRight:24}},filled:{"&&":{paddingRight:32}},outlined:{borderRadius:e.shape.borderRadius,"&&":{paddingRight:32}},selectMenu:{height:"auto",minHeight:"1.1876em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},disabled:{},icon:{position:"absolute",right:0,top:"calc(50% - 12px)",pointerEvents:"none",color:e.palette.action.active,"&$disabled":{color:e.palette.action.disabled}},iconOpen:{transform:"rotate(180deg)"},iconFilled:{right:7},iconOutlined:{right:7},nativeInput:{bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%"}}},Gf=t.createElement(Vf,null),Zf=t.forwardRef((function(e,n){var r=e.children,o=e.classes,i=e.IconComponent,a=void 0===i?Tf:i,s=e.input,l=void 0===s?Gf:s,u=e.inputProps,c=(e.variant,(0,Is.A)(e,["children","classes","IconComponent","input","inputProps","variant"])),d=Pf({props:e,muiFormControl:Nf(),states:["variant"]});return t.cloneElement(l,(0,Fs.A)({inputComponent:qf,inputProps:(0,Fs.A)({children:r,classes:o,IconComponent:a,variant:d.variant,type:void 0},u,l?l.props.inputProps:{}),ref:n},c))}));Zf.muiName="Select";(0,$s.A)(Yf,{name:"MuiNativeSelect"})(Zf);var Kf=t.forwardRef((function(e,n){var r=e.disableUnderline,i=e.classes,a=e.fullWidth,s=void 0!==a&&a,l=e.inputComponent,u=void 0===l?"input":l,c=e.multiline,d=void 0!==c&&c,p=e.type,f=void 0===p?"text":p,h=(0,Is.A)(e,["disableUnderline","classes","fullWidth","inputComponent","multiline","type"]);return t.createElement($f,(0,Fs.A)({classes:(0,Fs.A)({},i,{root:(0,o.A)(i.root,!r&&i.underline),underline:null}),fullWidth:s,inputComponent:u,multiline:d,ref:n,type:f},h))}));Kf.muiName="Input";const Qf=(0,$s.A)((function(e){var t="light"===e.palette.type,n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.09)";return{root:{position:"relative",backgroundColor:r,borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:t?"rgba(0, 0, 0, 0.13)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:r}},"&$focused":{backgroundColor:t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.09)"},"&$disabled":{backgroundColor:t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"}},colorSecondary:{"&$underline:after":{borderBottomColor:e.palette.secondary.main}},underline:{"&:after":{borderBottom:"2px solid ".concat(e.palette.primary.main),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"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(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:before":{borderBottom:"1px solid ".concat(e.palette.text.primary)},"&$disabled:before":{borderBottomStyle:"dotted"}},focused:{},disabled:{},adornedStart:{paddingLeft:12},adornedEnd:{paddingRight:12},error:{},marginDense:{},multiline:{padding:"27px 12px 10px","&$marginDense":{paddingTop:23,paddingBottom:6}},input:{padding:"27px 12px 10px","&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.type?null:"#fff",caretColor:"light"===e.palette.type?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},inputMarginDense:{paddingTop:23,paddingBottom:6},inputHiddenLabel:{paddingTop:18,paddingBottom:19,"&$inputMarginDense":{paddingTop:10,paddingBottom:11}},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiFilledInput"})(Kf);var Xf=t.forwardRef((function(e,n){e.children;var r=e.classes,i=e.className,a=e.label,s=e.labelWidth,l=e.notched,u=e.style,c=(0,Is.A)(e,["children","classes","className","label","labelWidth","notched","style"]),d="rtl"===ol().direction?"right":"left";if(void 0!==a)return t.createElement("fieldset",(0,Fs.A)({"aria-hidden":!0,className:(0,o.A)(r.root,i),ref:n,style:u},c),t.createElement("legend",{className:(0,o.A)(r.legendLabelled,l&&r.legendNotched)},a?t.createElement("span",null,a):t.createElement("span",{dangerouslySetInnerHTML:{__html:"&#8203;"}})));var p=s>0?.75*s+8:.01;return t.createElement("fieldset",(0,Fs.A)({"aria-hidden":!0,style:(0,Fs.A)((0,Bs.A)({},"padding".concat((0,Hs.A)(d)),8),u),className:(0,o.A)(r.root,i),ref:n},c),t.createElement("legend",{className:r.legend,style:{width:l?p:.01}},t.createElement("span",{dangerouslySetInnerHTML:{__html:"&#8203;"}})))}));const Jf=(0,$s.A)((function(e){return{root:{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"},legend:{textAlign:"left",padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})},legendLabelled:{display:"block",width:"auto",textAlign:"left",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),"& > span":{paddingLeft:5,paddingRight:5,display:"inline-block"}},legendNotched:{maxWidth:1e3,transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}}),{name:"PrivateNotchedOutline"})(Xf);var eh=t.forwardRef((function(e,n){var r=e.classes,i=e.fullWidth,a=void 0!==i&&i,s=e.inputComponent,l=void 0===s?"input":s,u=e.label,c=e.labelWidth,d=void 0===c?0:c,p=e.multiline,f=void 0!==p&&p,h=e.notched,m=e.type,g=void 0===m?"text":m,v=(0,Is.A)(e,["classes","fullWidth","inputComponent","label","labelWidth","multiline","notched","type"]);return t.createElement($f,(0,Fs.A)({renderSuffix:function(e){return t.createElement(Jf,{className:r.notchedOutline,label:u,labelWidth:d,notched:"undefined"!==typeof h?h:Boolean(e.startAdornment||e.filled||e.focused)})},classes:(0,Fs.A)({},r,{root:(0,o.A)(r.root,r.underline),notchedOutline:null}),fullWidth:a,inputComponent:l,multiline:f,ref:n,type:g},v))}));eh.muiName="Input";const th=(0,$s.A)((function(e){var t="light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{root:{position:"relative",borderRadius:e.shape.borderRadius,"&:hover $notchedOutline":{borderColor:e.palette.text.primary},"@media (hover: none)":{"&:hover $notchedOutline":{borderColor:t}},"&$focused $notchedOutline":{borderColor:e.palette.primary.main,borderWidth:2},"&$error $notchedOutline":{borderColor:e.palette.error.main},"&$disabled $notchedOutline":{borderColor:e.palette.action.disabled}},colorSecondary:{"&$focused $notchedOutline":{borderColor:e.palette.secondary.main}},focused:{},disabled:{},adornedStart:{paddingLeft:14},adornedEnd:{paddingRight:14},error:{},marginDense:{},multiline:{padding:"18.5px 14px","&$marginDense":{paddingTop:10.5,paddingBottom:10.5}},notchedOutline:{borderColor:t},input:{padding:"18.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.type?null:"#fff",caretColor:"light"===e.palette.type?null:"#fff",borderRadius:"inherit"}},inputMarginDense:{paddingTop:10.5,paddingBottom:10.5},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiOutlinedInput"})(eh);var nh=Yf,rh=t.createElement(Vf,null),oh=t.createElement(Qf,null),ih=t.forwardRef((function e(n,r){var o=n.autoWidth,i=void 0!==o&&o,a=n.children,s=n.classes,l=n.displayEmpty,u=void 0!==l&&l,c=n.IconComponent,d=void 0===c?Tf:c,p=n.id,f=n.input,h=n.inputProps,m=n.label,g=n.labelId,v=n.labelWidth,y=void 0===v?0:v,x=n.MenuProps,b=n.multiple,k=void 0!==b&&b,w=n.native,E=void 0!==w&&w,_=n.onClose,C=n.onOpen,S=n.open,D=n.renderValue,j=n.SelectDisplayProps,A=n.variant,P=void 0===A?"standard":A,L=(0,Is.A)(n,["autoWidth","children","classes","displayEmpty","IconComponent","id","input","inputProps","label","labelId","labelWidth","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"]),M=E?qf:Af,N=Pf({props:n,muiFormControl:Nf(),states:["variant"]}).variant||P,O=f||{standard:rh,outlined:t.createElement(th,{label:m,labelWidth:y}),filled:oh}[N];return t.cloneElement(O,(0,Fs.A)({inputComponent:M,inputProps:(0,Fs.A)({children:a,IconComponent:d,variant:N,type:void 0,multiple:k},E?{id:p}:{autoWidth:i,displayEmpty:u,labelId:g,MenuProps:x,onClose:_,onOpen:C,open:S,renderValue:D,SelectDisplayProps:(0,Fs.A)({id:p},j)},h,{classes:h?(0,wf.A)({baseClasses:s,newClasses:h.classes,Component:e}):s},f?f.props.inputProps:{}),ref:r},L))}));ih.muiName="Select";const ah=(0,$s.A)(nh,{name:"MuiSelect"})(ih),sh=e=>{let{className:n="",css:r="",children:o,...i}=e;const a=(0,t.useRef)();return(0,Cs.jsxs)(Ku,{ref:a,className:xs(bs`
          position: relative;
          .MuiSelect-root {
            :focus {
              background: none;
            }
            width: 100%;
            outline: none;
            border: none;
            max-height: 100px;
          }
          .MuiOutlinedInput-notchedOutline {
            border-color: ${ks.gray[300]};
          }
          .brite-select {
            border-radius: 8px;
            outline: none;
            border: none;
          }
          background-color: white;
          border-radius: 8px;
          li {
            ${Ms.body}
          }
        `,bs`
          ${r}
        `,n),children:[!(null!==i&&void 0!==i&&i.value)&&(null===i||void 0===i?void 0:i.placeholder)&&(0,Cs.jsx)(Ts,{label:!0,css:`\n            position: absolute;\n            top: 0;\n            bottom: 0;\n            left: 0;\n            right: 0;\n            margin-left: 8px;\n            ${Tu("left")}\n          `,ellipsis:!0,children:i.placeholder}),(0,Cs.jsx)(ah,{className:"brite-select",variant:"outlined",style:{width:"100%",height:"44px",...(null===i||void 0===i?void 0:i.style)||{}},keepMounted:!0,MenuProps:{anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},style:{maxHeight:"500px",zIndex:"100000000"},getContentAnchorEl:null},...i,children:o})]})};var lh=n(2899),uh=t.forwardRef((function(e,n){var r=e.children,i=e.classes,a=e.className,s=e.collapsedHeight,l=e.collapsedSize,u=void 0===l?"0px":l,c=e.component,d=void 0===c?"div":c,p=e.disableStrictModeCompat,f=void 0!==p&&p,h=e.in,m=e.onEnter,g=e.onEntered,v=e.onEntering,y=e.onExit,x=e.onExited,b=e.onExiting,k=e.style,w=e.timeout,E=void 0===w?lh.p0.standard:w,_=e.TransitionComponent,C=void 0===_?tl:_,S=(0,Is.A)(e,["children","classes","className","collapsedHeight","collapsedSize","component","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),D=ol(),j=t.useRef(),A=t.useRef(null),P=t.useRef(),L="number"===typeof(s||u)?"".concat(s||u,"px"):s||u;t.useEffect((function(){return function(){clearTimeout(j.current)}}),[]);var M=D.unstable_strictMode&&!f,N=t.useRef(null),O=(0,sl.A)(n,M?N:void 0),T=function(e){return function(t,n){if(e){var r=M?[N.current,t]:[t,n],o=(0,Rs.A)(r,2),i=o[0],a=o[1];void 0===a?e(i):e(i,a)}}},F=T((function(e,t){e.style.height=L,m&&m(e,t)})),R=T((function(e,t){var n=A.current?A.current.clientHeight:0,r=al({style:k,timeout:E},{mode:"enter"}).duration;if("auto"===E){var o=D.transitions.getAutoHeightDuration(n);e.style.transitionDuration="".concat(o,"ms"),P.current=o}else e.style.transitionDuration="string"===typeof r?r:"".concat(r,"ms");e.style.height="".concat(n,"px"),v&&v(e,t)})),I=T((function(e,t){e.style.height="auto",g&&g(e,t)})),B=T((function(e){var t=A.current?A.current.clientHeight:0;e.style.height="".concat(t,"px"),y&&y(e)})),W=T(x),z=T((function(e){var t=A.current?A.current.clientHeight:0,n=al({style:k,timeout:E},{mode:"exit"}).duration;if("auto"===E){var r=D.transitions.getAutoHeightDuration(t);e.style.transitionDuration="".concat(r,"ms"),P.current=r}else e.style.transitionDuration="string"===typeof n?n:"".concat(n,"ms");e.style.height=L,b&&b(e)}));return t.createElement(C,(0,Fs.A)({in:h,onEnter:F,onEntered:I,onEntering:R,onExit:B,onExited:W,onExiting:z,addEndListener:function(e,t){var n=M?e:t;"auto"===E&&(j.current=setTimeout(n,P.current||0))},nodeRef:M?N:void 0,timeout:"auto"===E?null:E},S),(function(e,n){return t.createElement(d,(0,Fs.A)({className:(0,o.A)(i.root,i.container,a,{entered:i.entered,exited:!h&&"0px"===L&&i.hidden}[e]),style:(0,Fs.A)({minHeight:L},k),ref:O},n),t.createElement("div",{className:i.wrapper,ref:A},t.createElement("div",{className:i.wrapperInner},r)))}))}));uh.muiSupportAuto=!0;const ch=(0,$s.A)((function(e){return{root:{height:0,overflow:"hidden",transition:e.transitions.create("height")},entered:{height:"auto",overflow:"visible"},hidden:{visibility:"hidden"},wrapper:{display:"flex"},wrapperInner:{width:"100%"}}}),{name:"MuiCollapse"})(uh);function dh(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var ph=(0,t.forwardRef)((function(e,n){var r=e.alt,o=e.color,i=e.size,a=e.weight,s=e.mirrored,l=e.children,u=e.renderPath,c=dh(e,["alt","color","size","weight","mirrored","children","renderPath"]),d=(0,t.useContext)(Va),p=d.color,f=void 0===p?"currentColor":p,h=d.size,m=d.weight,g=void 0===m?"regular":m,v=d.mirrored,y=void 0!==v&&v,x=dh(d,["color","size","weight","mirrored"]);return t.createElement("svg",Object.assign({ref:n,xmlns:"http://www.w3.org/2000/svg",width:null!=i?i:h,height:null!=i?i:h,fill:null!=o?o:f,viewBox:"0 0 256 256",transform:s||y?"scale(-1, 1)":void 0},x,c),!!r&&t.createElement("title",null,r),l,t.createElement("rect",{width:"256",height:"256",fill:"none"}),u(null!=a?a:g,null!=o?o:f))}));ph.displayName="IconBase";const fh=ph;var hh=new Map;hh.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"216 72 104 184 48 128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),hh.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"216 72 104 184 48 128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),hh.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M104,192a8.5,8.5,0,0,1-5.7-2.3l-56-56a8.1,8.1,0,0,1,11.4-11.4L104,172.7,210.3,66.3a8.1,8.1,0,0,1,11.4,11.4l-112,112A8.5,8.5,0,0,1,104,192Z"}))})),hh.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"216 72 104 184 48 128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),hh.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"216 72 104 184 48 128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),hh.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"216 72 104 184 48 128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var mh=function(e,t){return Ua(e,t,hh)},gh=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:mh}))}));gh.displayName="Check";const vh=gh;var yh=new Map;yh.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"200",y1:"56",x2:"56",y2:"200",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"200",y1:"200",x2:"56",y2:"56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),yh.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"200",y1:"56",x2:"56",y2:"200",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"200",y1:"200",x2:"56",y2:"56",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),yh.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M139.3,128l66.4-66.3a8.1,8.1,0,0,0-11.4-11.4L128,116.7,61.7,50.3A8.1,8.1,0,0,0,50.3,61.7L116.7,128,50.3,194.3a8.1,8.1,0,0,0,0,11.4,8.2,8.2,0,0,0,11.4,0L128,139.3l66.3,66.4a8.2,8.2,0,0,0,11.4,0,8.1,8.1,0,0,0,0-11.4Z"}))})),yh.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"200",y1:"56",x2:"56",y2:"200",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"200",y1:"200",x2:"56",y2:"56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),yh.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"200",y1:"56",x2:"56",y2:"200",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"200",y1:"200",x2:"56",y2:"56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),yh.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"200",y1:"56",x2:"56",y2:"200",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"200",y1:"200",x2:"56",y2:"56",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var xh=function(e,t){return Ua(e,t,yh)},bh=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:xh}))}));bh.displayName="X";const kh=bh,wh=e=>{let{className:t="",css:n="",planCarrierName:r,carrierID:o,maxWidth:i="100%",maxHeight:a="80px",position:s="top right"}=e;const l=o&&"00000000-0000-0000-0000-000000000000"!==o,u=!l&&r,c=o||"00000000-0000-0000-0000-000000000000";return(0,Cs.jsx)(Cs.Fragment,{children:l||r?(0,Cs.jsx)(Ku,{className:xs(bs`
              ${Wu("fadeIn",".5s ease")}
              max-width: ${i};
              height: ${a};
              box-sizing: border-box;
              padding: 8px;
              ${u?`\n            ${Tu("center")}\n            height: 64px;\n            border-radius: 8px;\n            border: 1px solid ${ks.gray[300]};\n            width: 100%;\n          `:""}
              img {
                object-fit: contain;
                object-position: ${s};
                width: 100%;
                height: 100%;
              }
            `,bs`
              ${n}
            `,t),children:u?(0,Cs.jsx)(Ts,{styles:"h2",children:r}):(0,Cs.jsx)("img",{src:`${Ha.baseURL()}public/v1/business/${c}/logo`,alt:"Carrier"})}):null})},Eh={hideEditLayout:!1,disabled:!1,needsAttention:!1,productTrigger:null,storeValueAs:"string",roundUp:!0,hideField:!1,components:[],aboveTheFold:!1},_h=(e,t)=>{var n;let{product:r,fieldsObject:o}=t;const i="defaultConfig"in e?e.defaultConfig:null,a=i?i({product:r,fieldsObject:o}):{},s=(null===r||void 0===r?void 0:r.Type)in e?e[null===r||void 0===r?void 0:r.Type]:null,l=s?s({product:r,fieldsObject:o}):{};return null===(n=Object.entries({...a,...l}))||void 0===n?void 0:n.reduce(((e,t)=>{let[n,r]=t;return{...e,[n]:{...Eh,...r}}}),{})},Ch={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"}};function Sh(e){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const Dh={date:Sh({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:Sh({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:Sh({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},jh={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function Ah(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 Ph={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:Ah({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Ah({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:Ah({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:Ah({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","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:Ah({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 Lh(e){return function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};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;return}(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;return}(s,(e=>e.test(a)));let u;u=e.valueCallback?e.valueCallback(l):l,u=n.valueCallback?n.valueCallback(u):u;return{value:u,rest:t.slice(a.length)}}}const Mh={ordinalNumber:(Nh={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=e.match(Nh.matchPattern);if(!n)return null;const r=n[0],o=e.match(Nh.parsePattern);if(!o)return null;let i=Nh.valueCallback?Nh.valueCallback(o[0]):o[0];return i=t.valueCallback?t.valueCallback(i):i,{value:i,rest:e.slice(r.length)}}),era:Lh({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:Lh({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:Lh({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:Lh({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:Lh({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"})};var Nh;const Oh={code:"en-US",formatDistance:(e,t,n)=>{let r;const o=Ch[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},formatLong:Dh,formatRelative:(e,t,n,r)=>jh[e],localize:Ph,match:Mh,options:{weekStartsOn:0,firstWeekContainsDate:1}};let Th={};function Fh(){return Th}Math.pow(10,8);const Rh=6048e5,Ih=864e5;function Bh(e){const t=Object.prototype.toString.call(e);return e instanceof Date||"object"===typeof e&&"[object Date]"===t?new e.constructor(+e):"number"===typeof e||"[object Number]"===t||"string"===typeof e||"[object String]"===t?new Date(e):new Date(NaN)}function Wh(e){const t=Bh(e);return t.setHours(0,0,0,0),t}function zh(e){const t=Bh(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}function $h(e,t){const n=Wh(e),r=Wh(t),o=+n-zh(n),i=+r-zh(r);return Math.round((o-i)/Ih)}function Hh(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function Vh(e){const t=Bh(e),n=Hh(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Uh(e){const t=Bh(e);return $h(t,Vh(t))+1}function qh(e,t){const n=Fh(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=Bh(e),i=o.getDay(),a=(i<r?7:0)+i-r;return o.setDate(o.getDate()-a),o.setHours(0,0,0,0),o}function Yh(e){return qh(e,{weekStartsOn:1})}function Gh(e){const t=Bh(e),n=t.getFullYear(),r=Hh(e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const o=Yh(r),i=Hh(e,0);i.setFullYear(n,0,4),i.setHours(0,0,0,0);const a=Yh(i);return t.getTime()>=o.getTime()?n+1:t.getTime()>=a.getTime()?n:n-1}function Zh(e){const t=Gh(e),n=Hh(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),Yh(n)}function Kh(e){const t=Bh(e),n=+Yh(t)-+Zh(t);return Math.round(n/Rh)+1}function Qh(e,t){const n=Bh(e),r=n.getFullYear(),o=Fh(),i=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,a=Hh(e,0);a.setFullYear(r+1,0,i),a.setHours(0,0,0,0);const s=qh(a,t),l=Hh(e,0);l.setFullYear(r,0,i),l.setHours(0,0,0,0);const u=qh(l,t);return n.getTime()>=s.getTime()?r+1:n.getTime()>=u.getTime()?r:r-1}function Xh(e,t){const n=Fh(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,o=Qh(e,t),i=Hh(e,0);i.setFullYear(o,0,r),i.setHours(0,0,0,0);return qh(i,t)}function Jh(e,t){const n=Bh(e),r=+qh(n,t)-+Xh(n,t);return Math.round(r/Rh)+1}function em(e,t){return(e<0?"-":"")+Math.abs(e).toString().padStart(t,"0")}const tm={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return em("yy"===t?r%100:r,t.length)},M(e,t){const n=e.getMonth();return"M"===t?String(n+1):em(n+1,2)},d:(e,t)=>em(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)=>em(e.getHours()%12||12,t.length),H:(e,t)=>em(e.getHours(),t.length),m:(e,t)=>em(e.getMinutes(),t.length),s:(e,t)=>em(e.getSeconds(),t.length),S(e,t){const n=t.length,r=e.getMilliseconds();return em(Math.trunc(r*Math.pow(10,n-3)),t.length)}},nm="midnight",rm="noon",om="morning",im="afternoon",am="evening",sm="night",lm={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 tm.y(e,t)},Y:function(e,t,n,r){const o=Qh(e,r),i=o>0?o:1-o;if("YY"===t){return em(i%100,2)}return"Yo"===t?n.ordinalNumber(i,{unit:"year"}):em(i,t.length)},R:function(e,t){return em(Gh(e),t.length)},u:function(e,t){return em(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 em(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 em(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 tm.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 em(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=Jh(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):em(o,t.length)},I:function(e,t,n){const r=Kh(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):em(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):tm.d(e,t)},D:function(e,t,n){const r=Uh(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):em(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 em(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 em(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 em(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?rm:0===r?nm:r/12>=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?am:r>=12?im:r>=4?om:sm,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 tm.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):tm.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):em(r,t.length)},k:function(e,t,n){let r=e.getHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):em(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):tm.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):tm.s(e,t)},S:function(e,t){return tm.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return cm(r);case"XXXX":case"XX":return dm(r);default:return dm(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return cm(r);case"xxxx":case"xx":return dm(r);default:return dm(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+um(r,":");default:return"GMT"+dm(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+um(r,":");default:return"GMT"+dm(r,":")}},t:function(e,t,n){return em(Math.trunc(e.getTime()/1e3),t.length)},T:function(e,t,n){return em(e.getTime(),t.length)}};function um(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";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+em(i,2)}function cm(e,t){if(e%60===0){return(e>0?"-":"+")+em(Math.abs(e)/60,2)}return dm(e,t)}function dm(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=e>0?"-":"+",r=Math.abs(e);return n+em(Math.trunc(r/60),2)+t+em(r%60,2)}const pm=(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"})}},fm=(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"})}},hm={p:fm,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return pm(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}}",pm(r,t)).replace("{{time}}",fm(o,t))}},mm=/^D+$/,gm=/^Y+$/,vm=["D","DD","YY","YYYY"];function ym(e){return e instanceof Date||"object"===typeof e&&"[object Date]"===Object.prototype.toString.call(e)}function xm(e){if(!ym(e)&&"number"!==typeof e)return!1;const t=Bh(e);return!isNaN(Number(t))}const bm=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,km=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,wm=/^'([^]*?)'?$/,Em=/''/g,_m=/[a-zA-Z]/;function Cm(e,t,n){const r=Fh(),o=n?.locale??r.locale??Oh,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=Bh(e);if(!xm(s))throw new RangeError("Invalid time value");let l=t.match(km).map((e=>{const t=e[0];if("p"===t||"P"===t){return(0,hm[t])(e,o.formatLong)}return e})).join("").match(bm).map((e=>{if("''"===e)return{isToken:!1,value:"'"};const t=e[0];if("'"===t)return{isToken:!1,value:Sm(e)};if(lm[t])return{isToken:!0,value:e};if(t.match(_m))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 u={firstWeekContainsDate:i,weekStartsOn:a,locale:o};return l.map((r=>{if(!r.isToken)return r.value;const i=r.value;(!n?.useAdditionalWeekYearTokens&&function(e){return gm.test(e)}(i)||!n?.useAdditionalDayOfYearTokens&&function(e){return mm.test(e)}(i))&&function(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),vm.includes(e))throw new RangeError(r)}(i,t,String(e));return(0,lm[i[0]])(s,i,o.localize,u)})).join("")}function Sm(e){const t=e.match(wm);return t?t[1].replace(Em,"'"):e}var Dm={epsilon:1e-12,matrix:"Matrix",number:"number",precision:64,predictable:!1,randomSeed:null},jm=["Matrix","Array"],Am=["number","BigNumber","Fraction"];var Pm=function(e){if(e)throw new Error("The global config is readonly. \nPlease create a mathjs instance if you want to change the default configuration. \nExample:\n\n  import { create, all } from 'mathjs';\n  const mathjs = create(all);\n  mathjs.config({ number: 'BigNumber' });\n");return Object.freeze(Dm)};(0,Fs.A)(Pm,Dm,{MATRIX_OPTIONS:jm,NUMBER_OPTIONS:Am});var Lm,Mm,Nm=9e15,Om=1e9,Tm="0123456789abcdef",Fm="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",Rm="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",Im={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-Nm,maxE:Nm,crypto:!1},Bm=!0,Wm="[DecimalError] ",zm=Wm+"Invalid argument: ",$m=Wm+"Precision limit exceeded",Hm=Wm+"crypto unavailable",Vm="[object Decimal]",Um=Math.floor,qm=Math.pow,Ym=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,Gm=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,Zm=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,Km=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Qm=1e7,Xm=7,Jm=Fm.length-1,eg=Rm.length-1,tg={toStringTag:Vm};function ng(e){var t,n,r,o=e.length-1,i="",a=e[0];if(o>0){for(i+=a,t=1;t<o;t++)r=e[t]+"",(n=Xm-r.length)&&(i+=fg(n)),i+=r;a=e[t],(n=Xm-(r=a+"").length)&&(i+=fg(n))}else if(0===a)return"0";for(;a%10===0;)a/=10;return i+a}function rg(e,t,n){if(e!==~~e||e<t||e>n)throw Error(zm+e)}function og(e,t,n,r){var o,i,a,s;for(i=e[0];i>=10;i/=10)--t;return--t<0?(t+=Xm,o=0):(o=Math.ceil((t+1)/Xm),t%=Xm),i=qm(10,Xm-t),s=e[o]%i|0,null==r?t<3?(0==t?s=s/100|0:1==t&&(s=s/10|0),a=n<4&&99999==s||n>3&&49999==s||5e4==s||0==s):a=(n<4&&s+1==i||n>3&&s+1==i/2)&&(e[o+1]/i/100|0)==qm(10,t-2)-1||(s==i/2||0==s)&&0==(e[o+1]/i/100|0):t<4?(0==t?s=s/1e3|0:1==t?s=s/100|0:2==t&&(s=s/10|0),a=(r||n<4)&&9999==s||!r&&n>3&&4999==s):a=((r||n<4)&&s+1==i||!r&&n>3&&s+1==i/2)&&(e[o+1]/i/1e3|0)==qm(10,t-3)-1,a}function ig(e,t,n){for(var r,o,i=[0],a=0,s=e.length;a<s;){for(o=i.length;o--;)i[o]*=t;for(i[0]+=Tm.indexOf(e.charAt(a++)),r=0;r<i.length;r++)i[r]>n-1&&(void 0===i[r+1]&&(i[r+1]=0),i[r+1]+=i[r]/n|0,i[r]%=n)}return i.reverse()}tg.absoluteValue=tg.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),sg(e)},tg.ceil=function(){return sg(new this.constructor(this),this.e+1,2)},tg.clampedTo=tg.clamp=function(e,t){var n=this,r=n.constructor;if(e=new r(e),t=new r(t),!e.s||!t.s)return new r(NaN);if(e.gt(t))throw Error(zm+t);return n.cmp(e)<0?e:n.cmp(t)>0?t:new r(n)},tg.comparedTo=tg.cmp=function(e){var t,n,r,o,i=this,a=i.d,s=(e=new i.constructor(e)).d,l=i.s,u=e.s;if(!a||!s)return l&&u?l!==u?l:a===s?0:!a^l<0?1:-1:NaN;if(!a[0]||!s[0])return a[0]?l:s[0]?-u:0;if(l!==u)return l;if(i.e!==e.e)return i.e>e.e^l<0?1:-1;for(t=0,n=(r=a.length)<(o=s.length)?r:o;t<n;++t)if(a[t]!==s[t])return a[t]>s[t]^l<0?1:-1;return r===o?0:r>o^l<0?1:-1},tg.cosine=tg.cos=function(){var e,t,n=this,r=n.constructor;return n.d?n.d[0]?(e=r.precision,t=r.rounding,r.precision=e+Math.max(n.e,n.sd())+Xm,r.rounding=1,n=function(e,t){var n,r,o;if(t.isZero())return t;r=t.d.length,r<32?o=(1/Eg(4,n=Math.ceil(r/3))).toString():(n=16,o="2.3283064365386962890625e-10");e.precision+=n,t=wg(e,1,t.times(o),new e(1));for(var i=n;i--;){var a=t.times(t);t=a.times(a).minus(a).times(8).plus(1)}return e.precision-=n,t}(r,_g(r,n)),r.precision=e,r.rounding=t,sg(2==Mm||3==Mm?n.neg():n,e,t,!0)):new r(1):new r(NaN)},tg.cubeRoot=tg.cbrt=function(){var e,t,n,r,o,i,a,s,l,u,c=this,d=c.constructor;if(!c.isFinite()||c.isZero())return new d(c);for(Bm=!1,(i=c.s*qm(c.s*c,1/3))&&Math.abs(i)!=1/0?r=new d(i.toString()):(n=ng(c.d),(i=((e=c.e)-n.length+1)%3)&&(n+=1==i||-2==i?"0":"00"),i=qm(n,1/3),e=Um((e+1)/3)-(e%3==(e<0?-1:2)),(r=new d(n=i==1/0?"5e"+e:(n=i.toExponential()).slice(0,n.indexOf("e")+1)+e)).s=c.s),a=(e=d.precision)+3;;)if(u=(l=(s=r).times(s).times(s)).plus(c),r=ag(u.plus(c).times(s),u.plus(l),a+2,1),ng(s.d).slice(0,a)===(n=ng(r.d)).slice(0,a)){if("9999"!=(n=n.slice(a-3,a+1))&&(o||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(sg(r,e+1,1),t=!r.times(r).times(r).eq(c));break}if(!o&&(sg(s,e+1,0),s.times(s).times(s).eq(c))){r=s;break}a+=4,o=1}return Bm=!0,sg(r,e,d.rounding,t)},tg.decimalPlaces=tg.dp=function(){var e,t=this.d,n=NaN;if(t){if(n=((e=t.length-1)-Um(this.e/Xm))*Xm,e=t[e])for(;e%10==0;e/=10)n--;n<0&&(n=0)}return n},tg.dividedBy=tg.div=function(e){return ag(this,new this.constructor(e))},tg.dividedToIntegerBy=tg.divToInt=function(e){var t=this.constructor;return sg(ag(this,new t(e),0,1,1),t.precision,t.rounding)},tg.equals=tg.eq=function(e){return 0===this.cmp(e)},tg.floor=function(){return sg(new this.constructor(this),this.e+1,3)},tg.greaterThan=tg.gt=function(e){return this.cmp(e)>0},tg.greaterThanOrEqualTo=tg.gte=function(e){var t=this.cmp(e);return 1==t||0===t},tg.hyperbolicCosine=tg.cosh=function(){var e,t,n,r,o,i=this,a=i.constructor,s=new a(1);if(!i.isFinite())return new a(i.s?1/0:NaN);if(i.isZero())return s;n=a.precision,r=a.rounding,a.precision=n+Math.max(i.e,i.sd())+4,a.rounding=1,(o=i.d.length)<32?t=(1/Eg(4,e=Math.ceil(o/3))).toString():(e=16,t="2.3283064365386962890625e-10"),i=wg(a,1,i.times(t),new a(1),!0);for(var l,u=e,c=new a(8);u--;)l=i.times(i),i=s.minus(l.times(c.minus(l.times(c))));return sg(i,a.precision=n,a.rounding=r,!0)},tg.hyperbolicSine=tg.sinh=function(){var e,t,n,r,o=this,i=o.constructor;if(!o.isFinite()||o.isZero())return new i(o);if(t=i.precision,n=i.rounding,i.precision=t+Math.max(o.e,o.sd())+4,i.rounding=1,(r=o.d.length)<3)o=wg(i,2,o,o,!0);else{e=(e=1.4*Math.sqrt(r))>16?16:0|e,o=wg(i,2,o=o.times(1/Eg(5,e)),o,!0);for(var a,s=new i(5),l=new i(16),u=new i(20);e--;)a=o.times(o),o=o.times(s.plus(a.times(l.times(a).plus(u))))}return i.precision=t,i.rounding=n,sg(o,t,n,!0)},tg.hyperbolicTangent=tg.tanh=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+7,r.rounding=1,ag(n.sinh(),n.cosh(),r.precision=e,r.rounding=t)):new r(n.s)},tg.inverseCosine=tg.acos=function(){var e,t=this,n=t.constructor,r=t.abs().cmp(1),o=n.precision,i=n.rounding;return-1!==r?0===r?t.isNeg()?dg(n,o,i):new n(0):new n(NaN):t.isZero()?dg(n,o+4,i).times(.5):(n.precision=o+6,n.rounding=1,t=t.asin(),e=dg(n,o+4,i).times(.5),n.precision=o,n.rounding=i,e.minus(t))},tg.inverseHyperbolicCosine=tg.acosh=function(){var e,t,n=this,r=n.constructor;return n.lte(1)?new r(n.eq(1)?0:NaN):n.isFinite()?(e=r.precision,t=r.rounding,r.precision=e+Math.max(Math.abs(n.e),n.sd())+4,r.rounding=1,Bm=!1,n=n.times(n).minus(1).sqrt().plus(n),Bm=!0,r.precision=e,r.rounding=t,n.ln()):new r(n)},tg.inverseHyperbolicSine=tg.asinh=function(){var e,t,n=this,r=n.constructor;return!n.isFinite()||n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+2*Math.max(Math.abs(n.e),n.sd())+6,r.rounding=1,Bm=!1,n=n.times(n).plus(1).sqrt().plus(n),Bm=!0,r.precision=e,r.rounding=t,n.ln())},tg.inverseHyperbolicTangent=tg.atanh=function(){var e,t,n,r,o=this,i=o.constructor;return o.isFinite()?o.e>=0?new i(o.abs().eq(1)?o.s/0:o.isZero()?o:NaN):(e=i.precision,t=i.rounding,r=o.sd(),Math.max(r,e)<2*-o.e-1?sg(new i(o),e,t,!0):(i.precision=n=r-o.e,o=ag(o.plus(1),new i(1).minus(o),n+e,1),i.precision=e+4,i.rounding=1,o=o.ln(),i.precision=e,i.rounding=t,o.times(.5))):new i(NaN)},tg.inverseSine=tg.asin=function(){var e,t,n,r,o=this,i=o.constructor;return o.isZero()?new i(o):(t=o.abs().cmp(1),n=i.precision,r=i.rounding,-1!==t?0===t?((e=dg(i,n+4,r).times(.5)).s=o.s,e):new i(NaN):(i.precision=n+6,i.rounding=1,o=o.div(new i(1).minus(o.times(o)).sqrt().plus(1)).atan(),i.precision=n,i.rounding=r,o.times(2)))},tg.inverseTangent=tg.atan=function(){var e,t,n,r,o,i,a,s,l,u=this,c=u.constructor,d=c.precision,p=c.rounding;if(u.isFinite()){if(u.isZero())return new c(u);if(u.abs().eq(1)&&d+4<=eg)return(a=dg(c,d+4,p).times(.25)).s=u.s,a}else{if(!u.s)return new c(NaN);if(d+4<=eg)return(a=dg(c,d+4,p).times(.5)).s=u.s,a}for(c.precision=s=d+10,c.rounding=1,e=n=Math.min(28,s/Xm+2|0);e;--e)u=u.div(u.times(u).plus(1).sqrt().plus(1));for(Bm=!1,t=Math.ceil(s/Xm),r=1,l=u.times(u),a=new c(u),o=u;-1!==e;)if(o=o.times(l),i=a.minus(o.div(r+=2)),o=o.times(l),void 0!==(a=i.plus(o.div(r+=2))).d[t])for(e=t;a.d[e]===i.d[e]&&e--;);return n&&(a=a.times(2<<n-1)),Bm=!0,sg(a,c.precision=d,c.rounding=p,!0)},tg.isFinite=function(){return!!this.d},tg.isInteger=tg.isInt=function(){return!!this.d&&Um(this.e/Xm)>this.d.length-2},tg.isNaN=function(){return!this.s},tg.isNegative=tg.isNeg=function(){return this.s<0},tg.isPositive=tg.isPos=function(){return this.s>0},tg.isZero=function(){return!!this.d&&0===this.d[0]},tg.lessThan=tg.lt=function(e){return this.cmp(e)<0},tg.lessThanOrEqualTo=tg.lte=function(e){return this.cmp(e)<1},tg.logarithm=tg.log=function(e){var t,n,r,o,i,a,s,l,u=this,c=u.constructor,d=c.precision,p=c.rounding;if(null==e)e=new c(10),t=!0;else{if(n=(e=new c(e)).d,e.s<0||!n||!n[0]||e.eq(1))return new c(NaN);t=e.eq(10)}if(n=u.d,u.s<0||!n||!n[0]||u.eq(1))return new c(n&&!n[0]?-1/0:1!=u.s?NaN:n?0:1/0);if(t)if(n.length>1)i=!0;else{for(o=n[0];o%10===0;)o/=10;i=1!==o}if(Bm=!1,a=yg(u,s=d+5),r=t?cg(c,s+10):yg(e,s),og((l=ag(a,r,s,1)).d,o=d,p))do{if(a=yg(u,s+=10),r=t?cg(c,s+10):yg(e,s),l=ag(a,r,s,1),!i){+ng(l.d).slice(o+1,o+15)+1==1e14&&(l=sg(l,d+1,0));break}}while(og(l.d,o+=10,p));return Bm=!0,sg(l,d,p)},tg.minus=tg.sub=function(e){var t,n,r,o,i,a,s,l,u,c,d,p,f=this,h=f.constructor;if(e=new h(e),!f.d||!e.d)return f.s&&e.s?f.d?e.s=-e.s:e=new h(e.d||f.s!==e.s?f:NaN):e=new h(NaN),e;if(f.s!=e.s)return e.s=-e.s,f.plus(e);if(u=f.d,p=e.d,s=h.precision,l=h.rounding,!u[0]||!p[0]){if(p[0])e.s=-e.s;else{if(!u[0])return new h(3===l?-0:0);e=new h(f)}return Bm?sg(e,s,l):e}if(n=Um(e.e/Xm),c=Um(f.e/Xm),u=u.slice(),i=c-n){for((d=i<0)?(t=u,i=-i,a=p.length):(t=p,n=c,a=u.length),i>(r=Math.max(Math.ceil(s/Xm),a)+2)&&(i=r,t.length=1),t.reverse(),r=i;r--;)t.push(0);t.reverse()}else{for((d=(r=u.length)<(a=p.length))&&(a=r),r=0;r<a;r++)if(u[r]!=p[r]){d=u[r]<p[r];break}i=0}for(d&&(t=u,u=p,p=t,e.s=-e.s),a=u.length,r=p.length-a;r>0;--r)u[a++]=0;for(r=p.length;r>i;){if(u[--r]<p[r]){for(o=r;o&&0===u[--o];)u[o]=Qm-1;--u[o],u[r]+=Qm}u[r]-=p[r]}for(;0===u[--a];)u.pop();for(;0===u[0];u.shift())--n;return u[0]?(e.d=u,e.e=ug(u,n),Bm?sg(e,s,l):e):new h(3===l?-0:0)},tg.modulo=tg.mod=function(e){var t,n=this,r=n.constructor;return e=new r(e),!n.d||!e.s||e.d&&!e.d[0]?new r(NaN):!e.d||n.d&&!n.d[0]?sg(new r(n),r.precision,r.rounding):(Bm=!1,9==r.modulo?(t=ag(n,e.abs(),0,3,1)).s*=e.s:t=ag(n,e,0,r.modulo,1),t=t.times(e),Bm=!0,n.minus(t))},tg.naturalExponential=tg.exp=function(){return vg(this)},tg.naturalLogarithm=tg.ln=function(){return yg(this)},tg.negated=tg.neg=function(){var e=new this.constructor(this);return e.s=-e.s,sg(e)},tg.plus=tg.add=function(e){var t,n,r,o,i,a,s,l,u,c,d=this,p=d.constructor;if(e=new p(e),!d.d||!e.d)return d.s&&e.s?d.d||(e=new p(e.d||d.s===e.s?d:NaN)):e=new p(NaN),e;if(d.s!=e.s)return e.s=-e.s,d.minus(e);if(u=d.d,c=e.d,s=p.precision,l=p.rounding,!u[0]||!c[0])return c[0]||(e=new p(d)),Bm?sg(e,s,l):e;if(i=Um(d.e/Xm),r=Um(e.e/Xm),u=u.slice(),o=i-r){for(o<0?(n=u,o=-o,a=c.length):(n=c,r=i,a=u.length),o>(a=(i=Math.ceil(s/Xm))>a?i+1:a+1)&&(o=a,n.length=1),n.reverse();o--;)n.push(0);n.reverse()}for((a=u.length)-(o=c.length)<0&&(o=a,n=c,c=u,u=n),t=0;o;)t=(u[--o]=u[o]+c[o]+t)/Qm|0,u[o]%=Qm;for(t&&(u.unshift(t),++r),a=u.length;0==u[--a];)u.pop();return e.d=u,e.e=ug(u,r),Bm?sg(e,s,l):e},tg.precision=tg.sd=function(e){var t,n=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(zm+e);return n.d?(t=pg(n.d),e&&n.e+1>t&&(t=n.e+1)):t=NaN,t},tg.round=function(){var e=this,t=e.constructor;return sg(new t(e),e.e+1,t.rounding)},tg.sine=tg.sin=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+Math.max(n.e,n.sd())+Xm,r.rounding=1,n=function(e,t){var n,r=t.d.length;if(r<3)return t.isZero()?t:wg(e,2,t,t);n=1.4*Math.sqrt(r),n=n>16?16:0|n,t=t.times(1/Eg(5,n)),t=wg(e,2,t,t);for(var o,i=new e(5),a=new e(16),s=new e(20);n--;)o=t.times(t),t=t.times(i.plus(o.times(a.times(o).minus(s))));return t}(r,_g(r,n)),r.precision=e,r.rounding=t,sg(Mm>2?n.neg():n,e,t,!0)):new r(NaN)},tg.squareRoot=tg.sqrt=function(){var e,t,n,r,o,i,a=this,s=a.d,l=a.e,u=a.s,c=a.constructor;if(1!==u||!s||!s[0])return new c(!u||u<0&&(!s||s[0])?NaN:s?a:1/0);for(Bm=!1,0==(u=Math.sqrt(+a))||u==1/0?(((t=ng(s)).length+l)%2==0&&(t+="0"),u=Math.sqrt(t),l=Um((l+1)/2)-(l<0||l%2),r=new c(t=u==1/0?"5e"+l:(t=u.toExponential()).slice(0,t.indexOf("e")+1)+l)):r=new c(u.toString()),n=(l=c.precision)+3;;)if(r=(i=r).plus(ag(a,i,n+2,1)).times(.5),ng(i.d).slice(0,n)===(t=ng(r.d)).slice(0,n)){if("9999"!=(t=t.slice(n-3,n+1))&&(o||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(sg(r,l+1,1),e=!r.times(r).eq(a));break}if(!o&&(sg(i,l+1,0),i.times(i).eq(a))){r=i;break}n+=4,o=1}return Bm=!0,sg(r,l,c.rounding,e)},tg.tangent=tg.tan=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+10,r.rounding=1,(n=n.sin()).s=1,n=ag(n,new r(1).minus(n.times(n)).sqrt(),e+10,0),r.precision=e,r.rounding=t,sg(2==Mm||4==Mm?n.neg():n,e,t,!0)):new r(NaN)},tg.times=tg.mul=function(e){var t,n,r,o,i,a,s,l,u,c=this,d=c.constructor,p=c.d,f=(e=new d(e)).d;if(e.s*=c.s,!p||!p[0]||!f||!f[0])return new d(!e.s||p&&!p[0]&&!f||f&&!f[0]&&!p?NaN:p&&f?0*e.s:e.s/0);for(n=Um(c.e/Xm)+Um(e.e/Xm),(l=p.length)<(u=f.length)&&(i=p,p=f,f=i,a=l,l=u,u=a),i=[],r=a=l+u;r--;)i.push(0);for(r=u;--r>=0;){for(t=0,o=l+r;o>r;)s=i[o]+f[r]*p[o-r-1]+t,i[o--]=s%Qm|0,t=s/Qm|0;i[o]=(i[o]+t)%Qm|0}for(;!i[--a];)i.pop();return t?++n:i.shift(),e.d=i,e.e=ug(i,n),Bm?sg(e,d.precision,d.rounding):e},tg.toBinary=function(e,t){return Cg(this,2,e,t)},tg.toDecimalPlaces=tg.toDP=function(e,t){var n=this,r=n.constructor;return n=new r(n),void 0===e?n:(rg(e,0,Om),void 0===t?t=r.rounding:rg(t,0,8),sg(n,e+n.e+1,t))},tg.toExponential=function(e,t){var n,r=this,o=r.constructor;return void 0===e?n=lg(r,!0):(rg(e,0,Om),void 0===t?t=o.rounding:rg(t,0,8),n=lg(r=sg(new o(r),e+1,t),!0,e+1)),r.isNeg()&&!r.isZero()?"-"+n:n},tg.toFixed=function(e,t){var n,r,o=this,i=o.constructor;return void 0===e?n=lg(o):(rg(e,0,Om),void 0===t?t=i.rounding:rg(t,0,8),n=lg(r=sg(new i(o),e+o.e+1,t),!1,e+r.e+1)),o.isNeg()&&!o.isZero()?"-"+n:n},tg.toFraction=function(e){var t,n,r,o,i,a,s,l,u,c,d,p,f=this,h=f.d,m=f.constructor;if(!h)return new m(f);if(u=n=new m(1),r=l=new m(0),a=(i=(t=new m(r)).e=pg(h)-f.e-1)%Xm,t.d[0]=qm(10,a<0?Xm+a:a),null==e)e=i>0?t:u;else{if(!(s=new m(e)).isInt()||s.lt(u))throw Error(zm+s);e=s.gt(t)?i>0?t:u:s}for(Bm=!1,s=new m(ng(h)),c=m.precision,m.precision=i=h.length*Xm*2;d=ag(s,t,0,1,1),1!=(o=n.plus(d.times(r))).cmp(e);)n=r,r=o,o=u,u=l.plus(d.times(o)),l=o,o=t,t=s.minus(d.times(o)),s=o;return o=ag(e.minus(n),r,0,1,1),l=l.plus(o.times(u)),n=n.plus(o.times(r)),l.s=u.s=f.s,p=ag(u,r,i,1).minus(f).abs().cmp(ag(l,n,i,1).minus(f).abs())<1?[u,r]:[l,n],m.precision=c,Bm=!0,p},tg.toHexadecimal=tg.toHex=function(e,t){return Cg(this,16,e,t)},tg.toNearest=function(e,t){var n=this,r=n.constructor;if(n=new r(n),null==e){if(!n.d)return n;e=new r(1),t=r.rounding}else{if(e=new r(e),void 0===t?t=r.rounding:rg(t,0,8),!n.d)return e.s?n:e;if(!e.d)return e.s&&(e.s=n.s),e}return e.d[0]?(Bm=!1,n=ag(n,e,0,t,1).times(e),Bm=!0,sg(n)):(e.s=n.s,n=e),n},tg.toNumber=function(){return+this},tg.toOctal=function(e,t){return Cg(this,8,e,t)},tg.toPower=tg.pow=function(e){var t,n,r,o,i,a,s=this,l=s.constructor,u=+(e=new l(e));if(!s.d||!e.d||!s.d[0]||!e.d[0])return new l(qm(+s,u));if((s=new l(s)).eq(1))return s;if(r=l.precision,i=l.rounding,e.eq(1))return sg(s,r,i);if((t=Um(e.e/Xm))>=e.d.length-1&&(n=u<0?-u:u)<=9007199254740991)return o=hg(l,s,n,r),e.s<0?new l(1).div(o):sg(o,r,i);if((a=s.s)<0){if(t<e.d.length-1)return new l(NaN);if(0==(1&e.d[t])&&(a=1),0==s.e&&1==s.d[0]&&1==s.d.length)return s.s=a,s}return(t=0!=(n=qm(+s,u))&&isFinite(n)?new l(n+"").e:Um(u*(Math.log("0."+ng(s.d))/Math.LN10+s.e+1)))>l.maxE+1||t<l.minE-1?new l(t>0?a/0:0):(Bm=!1,l.rounding=s.s=1,n=Math.min(12,(t+"").length),(o=vg(e.times(yg(s,r+n)),r)).d&&og((o=sg(o,r+5,1)).d,r,i)&&(t=r+10,+ng((o=sg(vg(e.times(yg(s,t+n)),t),t+5,1)).d).slice(r+1,r+15)+1==1e14&&(o=sg(o,r+1,0))),o.s=a,Bm=!0,l.rounding=i,sg(o,r,i))},tg.toPrecision=function(e,t){var n,r=this,o=r.constructor;return void 0===e?n=lg(r,r.e<=o.toExpNeg||r.e>=o.toExpPos):(rg(e,1,Om),void 0===t?t=o.rounding:rg(t,0,8),n=lg(r=sg(new o(r),e,t),e<=r.e||r.e<=o.toExpNeg,e)),r.isNeg()&&!r.isZero()?"-"+n:n},tg.toSignificantDigits=tg.toSD=function(e,t){var n=this.constructor;return void 0===e?(e=n.precision,t=n.rounding):(rg(e,1,Om),void 0===t?t=n.rounding:rg(t,0,8)),sg(new n(this),e,t)},tg.toString=function(){var e=this,t=e.constructor,n=lg(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()&&!e.isZero()?"-"+n:n},tg.truncated=tg.trunc=function(){return sg(new this.constructor(this),this.e+1,1)},tg.valueOf=tg.toJSON=function(){var e=this,t=e.constructor,n=lg(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()?"-"+n:n};var ag=function(){function e(e,t,n){var r,o=0,i=e.length;for(e=e.slice();i--;)r=e[i]*t+o,e[i]=r%n|0,o=r/n|0;return o&&e.unshift(o),e}function t(e,t,n,r){var o,i;if(n!=r)i=n>r?1:-1;else for(o=i=0;o<n;o++)if(e[o]!=t[o]){i=e[o]>t[o]?1:-1;break}return i}function n(e,t,n,r){for(var o=0;n--;)e[n]-=o,o=e[n]<t[n]?1:0,e[n]=o*r+e[n]-t[n];for(;!e[0]&&e.length>1;)e.shift()}return function(r,o,i,a,s,l){var u,c,d,p,f,h,m,g,v,y,x,b,k,w,E,_,C,S,D,j,A=r.constructor,P=r.s==o.s?1:-1,L=r.d,M=o.d;if(!L||!L[0]||!M||!M[0])return new A(r.s&&o.s&&(L?!M||L[0]!=M[0]:M)?L&&0==L[0]||!M?0*P:P/0:NaN);for(l?(f=1,c=r.e-o.e):(l=Qm,f=Xm,c=Um(r.e/f)-Um(o.e/f)),D=M.length,C=L.length,y=(v=new A(P)).d=[],d=0;M[d]==(L[d]||0);d++);if(M[d]>(L[d]||0)&&c--,null==i?(w=i=A.precision,a=A.rounding):w=s?i+(r.e-o.e)+1:i,w<0)y.push(1),h=!0;else{if(w=w/f+2|0,d=0,1==D){for(p=0,M=M[0],w++;(d<C||p)&&w--;d++)E=p*l+(L[d]||0),y[d]=E/M|0,p=E%M|0;h=p||d<C}else{for((p=l/(M[0]+1)|0)>1&&(M=e(M,p,l),L=e(L,p,l),D=M.length,C=L.length),_=D,b=(x=L.slice(0,D)).length;b<D;)x[b++]=0;(j=M.slice()).unshift(0),S=M[0],M[1]>=l/2&&++S;do{p=0,(u=t(M,x,D,b))<0?(k=x[0],D!=b&&(k=k*l+(x[1]||0)),(p=k/S|0)>1?(p>=l&&(p=l-1),1==(u=t(m=e(M,p,l),x,g=m.length,b=x.length))&&(p--,n(m,D<g?j:M,g,l))):(0==p&&(u=p=1),m=M.slice()),(g=m.length)<b&&m.unshift(0),n(x,m,b,l),-1==u&&(u=t(M,x,D,b=x.length))<1&&(p++,n(x,D<b?j:M,b,l)),b=x.length):0===u&&(p++,x=[0]),y[d++]=p,u&&x[0]?x[b++]=L[_]||0:(x=[L[_]],b=1)}while((_++<C||void 0!==x[0])&&w--);h=void 0!==x[0]}y[0]||y.shift()}if(1==f)v.e=c,Lm=h;else{for(d=1,p=y[0];p>=10;p/=10)d++;v.e=d+c*f-1,sg(v,s?i+v.e+1:i,a,h)}return v}}();function sg(e,t,n,r){var o,i,a,s,l,u,c,d,p,f=e.constructor;e:if(null!=t){if(!(d=e.d))return e;for(o=1,s=d[0];s>=10;s/=10)o++;if((i=t-o)<0)i+=Xm,a=t,l=(c=d[p=0])/qm(10,o-a-1)%10|0;else if((p=Math.ceil((i+1)/Xm))>=(s=d.length)){if(!r)break e;for(;s++<=p;)d.push(0);c=l=0,o=1,a=(i%=Xm)-Xm+1}else{for(c=s=d[p],o=1;s>=10;s/=10)o++;l=(a=(i%=Xm)-Xm+o)<0?0:c/qm(10,o-a-1)%10|0}if(r=r||t<0||void 0!==d[p+1]||(a<0?c:c%qm(10,o-a-1)),u=n<4?(l||r)&&(0==n||n==(e.s<0?3:2)):l>5||5==l&&(4==n||r||6==n&&(i>0?a>0?c/qm(10,o-a):0:d[p-1])%10&1||n==(e.s<0?8:7)),t<1||!d[0])return d.length=0,u?(t-=e.e+1,d[0]=qm(10,(Xm-t%Xm)%Xm),e.e=-t||0):d[0]=e.e=0,e;if(0==i?(d.length=p,s=1,p--):(d.length=p+1,s=qm(10,Xm-i),d[p]=a>0?(c/qm(10,o-a)%qm(10,a)|0)*s:0),u)for(;;){if(0==p){for(i=1,a=d[0];a>=10;a/=10)i++;for(a=d[0]+=s,s=1;a>=10;a/=10)s++;i!=s&&(e.e++,d[0]==Qm&&(d[0]=1));break}if(d[p]+=s,d[p]!=Qm)break;d[p--]=0,s=1}for(i=d.length;0===d[--i];)d.pop()}return Bm&&(e.e>f.maxE?(e.d=null,e.e=NaN):e.e<f.minE&&(e.e=0,e.d=[0])),e}function lg(e,t,n){if(!e.isFinite())return xg(e);var r,o=e.e,i=ng(e.d),a=i.length;return t?(n&&(r=n-a)>0?i=i.charAt(0)+"."+i.slice(1)+fg(r):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(e.e<0?"e":"e+")+e.e):o<0?(i="0."+fg(-o-1)+i,n&&(r=n-a)>0&&(i+=fg(r))):o>=a?(i+=fg(o+1-a),n&&(r=n-o-1)>0&&(i=i+"."+fg(r))):((r=o+1)<a&&(i=i.slice(0,r)+"."+i.slice(r)),n&&(r=n-a)>0&&(o+1===a&&(i+="."),i+=fg(r))),i}function ug(e,t){var n=e[0];for(t*=Xm;n>=10;n/=10)t++;return t}function cg(e,t,n){if(t>Jm)throw Bm=!0,n&&(e.precision=n),Error($m);return sg(new e(Fm),t,1,!0)}function dg(e,t,n){if(t>eg)throw Error($m);return sg(new e(Rm),t,n,!0)}function pg(e){var t=e.length-1,n=t*Xm+1;if(t=e[t]){for(;t%10==0;t/=10)n--;for(t=e[0];t>=10;t/=10)n++}return n}function fg(e){for(var t="";e--;)t+="0";return t}function hg(e,t,n,r){var o,i=new e(1),a=Math.ceil(r/Xm+4);for(Bm=!1;;){if(n%2&&Sg((i=i.times(t)).d,a)&&(o=!0),0===(n=Um(n/2))){n=i.d.length-1,o&&0===i.d[n]&&++i.d[n];break}Sg((t=t.times(t)).d,a)}return Bm=!0,i}function mg(e){return 1&e.d[e.d.length-1]}function gg(e,t,n){for(var r,o=new e(t[0]),i=0;++i<t.length;){if(!(r=new e(t[i])).s){o=r;break}o[n](r)&&(o=r)}return o}function vg(e,t){var n,r,o,i,a,s,l,u=0,c=0,d=0,p=e.constructor,f=p.rounding,h=p.precision;if(!e.d||!e.d[0]||e.e>17)return new p(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);for(null==t?(Bm=!1,l=h):l=t,s=new p(.03125);e.e>-2;)e=e.times(s),d+=5;for(l+=r=Math.log(qm(2,d))/Math.LN10*2+5|0,n=i=a=new p(1),p.precision=l;;){if(i=sg(i.times(e),l,1),n=n.times(++c),ng((s=a.plus(ag(i,n,l,1))).d).slice(0,l)===ng(a.d).slice(0,l)){for(o=d;o--;)a=sg(a.times(a),l,1);if(null!=t)return p.precision=h,a;if(!(u<3&&og(a.d,l-r,f,u)))return sg(a,p.precision=h,f,Bm=!0);p.precision=l+=10,n=i=s=new p(1),c=0,u++}a=s}}function yg(e,t){var n,r,o,i,a,s,l,u,c,d,p,f=1,h=e,m=h.d,g=h.constructor,v=g.rounding,y=g.precision;if(h.s<0||!m||!m[0]||!h.e&&1==m[0]&&1==m.length)return new g(m&&!m[0]?-1/0:1!=h.s?NaN:m?0:h);if(null==t?(Bm=!1,c=y):c=t,g.precision=c+=10,r=(n=ng(m)).charAt(0),!(Math.abs(i=h.e)<15e14))return u=cg(g,c+2,y).times(i+""),h=yg(new g(r+"."+n.slice(1)),c-10).plus(u),g.precision=y,null==t?sg(h,y,v,Bm=!0):h;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=ng((h=h.times(e)).d)).charAt(0),f++;for(i=h.e,r>1?(h=new g("0."+n),i++):h=new g(r+"."+n.slice(1)),d=h,l=a=h=ag(h.minus(1),h.plus(1),c,1),p=sg(h.times(h),c,1),o=3;;){if(a=sg(a.times(p),c,1),ng((u=l.plus(ag(a,new g(o),c,1))).d).slice(0,c)===ng(l.d).slice(0,c)){if(l=l.times(2),0!==i&&(l=l.plus(cg(g,c+2,y).times(i+""))),l=ag(l,new g(f),c,1),null!=t)return g.precision=y,l;if(!og(l.d,c-10,v,s))return sg(l,g.precision=y,v,Bm=!0);g.precision=c+=10,u=a=h=ag(d.minus(1),d.plus(1),c,1),p=sg(h.times(h),c,1),o=s=1}l=u,o+=2}}function xg(e){return String(e.s*e.s/0)}function bg(e,t){var n,r,o;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);r++);for(o=t.length;48===t.charCodeAt(o-1);--o);if(t=t.slice(r,o)){if(o-=r,e.e=n=n-r-1,e.d=[],r=(n+1)%Xm,n<0&&(r+=Xm),r<o){for(r&&e.d.push(+t.slice(0,r)),o-=Xm;r<o;)e.d.push(+t.slice(r,r+=Xm));t=t.slice(r),r=Xm-t.length}else r-=o;for(;r--;)t+="0";e.d.push(+t),Bm&&(e.e>e.constructor.maxE?(e.d=null,e.e=NaN):e.e<e.constructor.minE&&(e.e=0,e.d=[0]))}else e.e=0,e.d=[0];return e}function kg(e,t){var n,r,o,i,a,s,l,u,c;if(t.indexOf("_")>-1){if(t=t.replace(/(\d)_(?=\d)/g,"$1"),Km.test(t))return bg(e,t)}else if("Infinity"===t||"NaN"===t)return+t||(e.s=NaN),e.e=NaN,e.d=null,e;if(Gm.test(t))n=16,t=t.toLowerCase();else if(Ym.test(t))n=2;else{if(!Zm.test(t))throw Error(zm+t);n=8}for((i=t.search(/p/i))>0?(l=+t.slice(i+1),t=t.substring(2,i)):t=t.slice(2),a=(i=t.indexOf("."))>=0,r=e.constructor,a&&(i=(s=(t=t.replace(".","")).length)-i,o=hg(r,new r(n),i,2*i)),i=c=(u=ig(t,n,Qm)).length-1;0===u[i];--i)u.pop();return i<0?new r(0*e.s):(e.e=ug(u,c),e.d=u,Bm=!1,a&&(e=ag(e,o,4*s)),l&&(e=e.times(Math.abs(l)<54?qm(2,l):fv.pow(2,l))),Bm=!0,e)}function wg(e,t,n,r,o){var i,a,s,l,u=e.precision,c=Math.ceil(u/Xm);for(Bm=!1,l=n.times(n),s=new e(r);;){if(a=ag(s.times(l),new e(t++*t++),u,1),s=o?r.plus(a):r.minus(a),r=ag(a.times(l),new e(t++*t++),u,1),void 0!==(a=s.plus(r)).d[c]){for(i=c;a.d[i]===s.d[i]&&i--;);if(-1==i)break}i=s,s=r,r=a,a=i}return Bm=!0,a.d.length=c+1,a}function Eg(e,t){for(var n=e;--t;)n*=e;return n}function _g(e,t){var n,r=t.s<0,o=dg(e,e.precision,1),i=o.times(.5);if((t=t.abs()).lte(i))return Mm=r?4:1,t;if((n=t.divToInt(o)).isZero())Mm=r?3:2;else{if((t=t.minus(n.times(o))).lte(i))return Mm=mg(n)?r?2:3:r?4:1,t;Mm=mg(n)?r?1:4:r?3:2}return t.minus(o).abs()}function Cg(e,t,n,r){var o,i,a,s,l,u,c,d,p,f=e.constructor,h=void 0!==n;if(h?(rg(n,1,Om),void 0===r?r=f.rounding:rg(r,0,8)):(n=f.precision,r=f.rounding),e.isFinite()){for(h?(o=2,16==t?n=4*n-3:8==t&&(n=3*n-2)):o=t,(a=(c=lg(e)).indexOf("."))>=0&&(c=c.replace(".",""),(p=new f(1)).e=c.length-a,p.d=ig(lg(p),10,o),p.e=p.d.length),i=l=(d=ig(c,10,o)).length;0==d[--l];)d.pop();if(d[0]){if(a<0?i--:((e=new f(e)).d=d,e.e=i,d=(e=ag(e,p,n,r,0,o)).d,i=e.e,u=Lm),a=d[n],s=o/2,u=u||void 0!==d[n+1],u=r<4?(void 0!==a||u)&&(0===r||r===(e.s<0?3:2)):a>s||a===s&&(4===r||u||6===r&&1&d[n-1]||r===(e.s<0?8:7)),d.length=n,u)for(;++d[--n]>o-1;)d[n]=0,n||(++i,d.unshift(1));for(l=d.length;!d[l-1];--l);for(a=0,c="";a<l;a++)c+=Tm.charAt(d[a]);if(h){if(l>1)if(16==t||8==t){for(a=16==t?4:3,--l;l%a;l++)c+="0";for(l=(d=ig(c,o,t)).length;!d[l-1];--l);for(a=1,c="1.";a<l;a++)c+=Tm.charAt(d[a])}else c=c.charAt(0)+"."+c.slice(1);c=c+(i<0?"p":"p+")+i}else if(i<0){for(;++i;)c="0"+c;c="0."+c}else if(++i>l)for(i-=l;i--;)c+="0";else i<l&&(c=c.slice(0,i)+"."+c.slice(i))}else c=h?"0p+0":"0";c=(16==t?"0x":2==t?"0b":8==t?"0o":"")+c}else c=xg(e);return e.s<0?"-"+c:c}function Sg(e,t){if(e.length>t)return e.length=t,!0}function Dg(e){return new this(e).abs()}function jg(e){return new this(e).acos()}function Ag(e){return new this(e).acosh()}function Pg(e,t){return new this(e).plus(t)}function Lg(e){return new this(e).asin()}function Mg(e){return new this(e).asinh()}function Ng(e){return new this(e).atan()}function Og(e){return new this(e).atanh()}function Tg(e,t){e=new this(e),t=new this(t);var n,r=this.precision,o=this.rounding,i=r+4;return e.s&&t.s?e.d||t.d?!t.d||e.isZero()?(n=t.s<0?dg(this,r,o):new this(0)).s=e.s:!e.d||t.isZero()?(n=dg(this,i,1).times(.5)).s=e.s:t.s<0?(this.precision=i,this.rounding=1,n=this.atan(ag(e,t,i,1)),t=dg(this,i,1),this.precision=r,this.rounding=o,n=e.s<0?n.minus(t):n.plus(t)):n=this.atan(ag(e,t,i,1)):(n=dg(this,i,1).times(t.s>0?.25:.75)).s=e.s:n=new this(NaN),n}function Fg(e){return new this(e).cbrt()}function Rg(e){return sg(e=new this(e),e.e+1,2)}function Ig(e,t,n){return new this(e).clamp(t,n)}function Bg(e){if(!e||"object"!==typeof e)throw Error(Wm+"Object expected");var t,n,r,o=!0===e.defaults,i=["precision",1,Om,"rounding",0,8,"toExpNeg",-Nm,0,"toExpPos",0,Nm,"maxE",0,Nm,"minE",-Nm,0,"modulo",0,9];for(t=0;t<i.length;t+=3)if(n=i[t],o&&(this[n]=Im[n]),void 0!==(r=e[n])){if(!(Um(r)===r&&r>=i[t+1]&&r<=i[t+2]))throw Error(zm+n+": "+r);this[n]=r}if(n="crypto",o&&(this[n]=Im[n]),void 0!==(r=e[n])){if(!0!==r&&!1!==r&&0!==r&&1!==r)throw Error(zm+n+": "+r);if(r){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw Error(Hm);this[n]=!0}else this[n]=!1}return this}function Wg(e){return new this(e).cos()}function zg(e){return new this(e).cosh()}function $g(e,t){return new this(e).div(t)}function Hg(e){return new this(e).exp()}function Vg(e){return sg(e=new this(e),e.e+1,3)}function Ug(){var e,t,n=new this(0);for(Bm=!1,e=0;e<arguments.length;)if((t=new this(arguments[e++])).d)n.d&&(n=n.plus(t.times(t)));else{if(t.s)return Bm=!0,new this(1/0);n=t}return Bm=!0,n.sqrt()}function qg(e){return e instanceof fv||e&&e.toStringTag===Vm||!1}function Yg(e){return new this(e).ln()}function Gg(e,t){return new this(e).log(t)}function Zg(e){return new this(e).log(2)}function Kg(e){return new this(e).log(10)}function Qg(){return gg(this,arguments,"lt")}function Xg(){return gg(this,arguments,"gt")}function Jg(e,t){return new this(e).mod(t)}function ev(e,t){return new this(e).mul(t)}function tv(e,t){return new this(e).pow(t)}function nv(e){var t,n,r,o,i=0,a=new this(1),s=[];if(void 0===e?e=this.precision:rg(e,1,Om),r=Math.ceil(e/Xm),this.crypto)if(crypto.getRandomValues)for(t=crypto.getRandomValues(new Uint32Array(r));i<r;)(o=t[i])>=429e7?t[i]=crypto.getRandomValues(new Uint32Array(1))[0]:s[i++]=o%1e7;else{if(!crypto.randomBytes)throw Error(Hm);for(t=crypto.randomBytes(r*=4);i<r;)(o=t[i]+(t[i+1]<<8)+(t[i+2]<<16)+((127&t[i+3])<<24))>=214e7?crypto.randomBytes(4).copy(t,i):(s.push(o%1e7),i+=4);i=r/4}else for(;i<r;)s[i++]=1e7*Math.random()|0;for(r=s[--i],e%=Xm,r&&e&&(o=qm(10,Xm-e),s[i]=(r/o|0)*o);0===s[i];i--)s.pop();if(i<0)n=0,s=[0];else{for(n=-1;0===s[0];n-=Xm)s.shift();for(r=1,o=s[0];o>=10;o/=10)r++;r<Xm&&(n-=Xm-r)}return a.e=n,a.d=s,a}function rv(e){return sg(e=new this(e),e.e+1,this.rounding)}function ov(e){return(e=new this(e)).d?e.d[0]?e.s:0*e.s:e.s||NaN}function iv(e){return new this(e).sin()}function av(e){return new this(e).sinh()}function sv(e){return new this(e).sqrt()}function lv(e,t){return new this(e).sub(t)}function uv(){var e=0,t=arguments,n=new this(t[e]);for(Bm=!1;n.s&&++e<t.length;)n=n.plus(t[e]);return Bm=!0,sg(n,this.precision,this.rounding)}function cv(e){return new this(e).tan()}function dv(e){return new this(e).tanh()}function pv(e){return sg(e=new this(e),e.e+1,1)}tg[Symbol.for("nodejs.util.inspect.custom")]=tg.toString,tg[Symbol.toStringTag]="Decimal";var fv=tg.constructor=function e(t){var n,r,o;function i(e){var t,n,r,o=this;if(!(o instanceof i))return new i(e);if(o.constructor=i,qg(e))return o.s=e.s,void(Bm?!e.d||e.e>i.maxE?(o.e=NaN,o.d=null):e.e<i.minE?(o.e=0,o.d=[0]):(o.e=e.e,o.d=e.d.slice()):(o.e=e.e,o.d=e.d?e.d.slice():e.d));if("number"===(r=typeof e)){if(0===e)return o.s=1/e<0?-1:1,o.e=0,void(o.d=[0]);if(e<0?(e=-e,o.s=-1):o.s=1,e===~~e&&e<1e7){for(t=0,n=e;n>=10;n/=10)t++;return void(Bm?t>i.maxE?(o.e=NaN,o.d=null):t<i.minE?(o.e=0,o.d=[0]):(o.e=t,o.d=[e]):(o.e=t,o.d=[e]))}return 0*e!==0?(e||(o.s=NaN),o.e=NaN,void(o.d=null)):bg(o,e.toString())}if("string"!==r)throw Error(zm+e);return 45===(n=e.charCodeAt(0))?(e=e.slice(1),o.s=-1):(43===n&&(e=e.slice(1)),o.s=1),Km.test(e)?bg(o,e):kg(o,e)}if(i.prototype=tg,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.EUCLID=9,i.config=i.set=Bg,i.clone=e,i.isDecimal=qg,i.abs=Dg,i.acos=jg,i.acosh=Ag,i.add=Pg,i.asin=Lg,i.asinh=Mg,i.atan=Ng,i.atanh=Og,i.atan2=Tg,i.cbrt=Fg,i.ceil=Rg,i.clamp=Ig,i.cos=Wg,i.cosh=zg,i.div=$g,i.exp=Hg,i.floor=Vg,i.hypot=Ug,i.ln=Yg,i.log=Gg,i.log10=Kg,i.log2=Zg,i.max=Qg,i.min=Xg,i.mod=Jg,i.mul=ev,i.pow=tv,i.random=nv,i.round=rv,i.sign=ov,i.sin=iv,i.sinh=av,i.sqrt=sv,i.sub=lv,i.sum=uv,i.tan=cv,i.tanh=dv,i.trunc=pv,void 0===t&&(t={}),t&&!0!==t.defaults)for(o=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],n=0;n<o.length;)t.hasOwnProperty(r=o[n++])||(t[r]=this[r]);return i.config(t),i}(Im);Fm=new fv(Fm),Rm=new fv(Rm);const hv=fv;function mv(e){return"number"===typeof e}function gv(e){return!(!e||"object"!==typeof e||"function"!==typeof e.constructor)&&(!0===e.isBigNumber&&"object"===typeof e.constructor.prototype&&!0===e.constructor.prototype.isBigNumber||"function"===typeof e.constructor.isDecimal&&!0===e.constructor.isDecimal(e))}function vv(e){return e&&"object"===typeof e&&!0===Object.getPrototypeOf(e).isComplex||!1}function yv(e){return e&&"object"===typeof e&&!0===Object.getPrototypeOf(e).isFraction||!1}function xv(e){return e&&!0===e.constructor.prototype.isUnit||!1}function bv(e){return"string"===typeof e}var kv=Array.isArray;function wv(e){return e&&!0===e.constructor.prototype.isMatrix||!1}function Ev(e){return Array.isArray(e)||wv(e)}function _v(e){return e&&e.isDenseMatrix&&!0===e.constructor.prototype.isMatrix||!1}function Cv(e){return e&&e.isSparseMatrix&&!0===e.constructor.prototype.isMatrix||!1}function Sv(e){return e&&!0===e.constructor.prototype.isRange||!1}function Dv(e){return e&&!0===e.constructor.prototype.isIndex||!1}function jv(e){return"boolean"===typeof e}function Av(e){return e&&!0===e.constructor.prototype.isResultSet||!1}function Pv(e){return e&&!0===e.constructor.prototype.isHelp||!1}function Lv(e){return"function"===typeof e}function Mv(e){return e instanceof Date}function Nv(e){return e instanceof RegExp}function Ov(e){return!(!e||"object"!==typeof e||e.constructor!==Object||vv(e)||yv(e))}function Tv(e){return null===e}function Fv(e){return void 0===e}function Rv(e){return e&&!0===e.isAccessorNode&&!0===e.constructor.prototype.isNode||!1}function Iv(e){return e&&!0===e.isArrayNode&&!0===e.constructor.prototype.isNode||!1}function Bv(e){return e&&!0===e.isAssignmentNode&&!0===e.constructor.prototype.isNode||!1}function Wv(e){return e&&!0===e.isBlockNode&&!0===e.constructor.prototype.isNode||!1}function zv(e){return e&&!0===e.isConditionalNode&&!0===e.constructor.prototype.isNode||!1}function $v(e){return e&&!0===e.isConstantNode&&!0===e.constructor.prototype.isNode||!1}function Hv(e){return e&&!0===e.isFunctionAssignmentNode&&!0===e.constructor.prototype.isNode||!1}function Vv(e){return e&&!0===e.isFunctionNode&&!0===e.constructor.prototype.isNode||!1}function Uv(e){return e&&!0===e.isIndexNode&&!0===e.constructor.prototype.isNode||!1}function qv(e){return e&&!0===e.isNode&&!0===e.constructor.prototype.isNode||!1}function Yv(e){return e&&!0===e.isObjectNode&&!0===e.constructor.prototype.isNode||!1}function Gv(e){return e&&!0===e.isOperatorNode&&!0===e.constructor.prototype.isNode||!1}function Zv(e){return e&&!0===e.isParenthesisNode&&!0===e.constructor.prototype.isNode||!1}function Kv(e){return e&&!0===e.isRangeNode&&!0===e.constructor.prototype.isNode||!1}function Qv(e){return e&&!0===e.isRelationalNode&&!0===e.constructor.prototype.isNode||!1}function Xv(e){return e&&!0===e.isSymbolNode&&!0===e.constructor.prototype.isNode||!1}function Jv(e){return e&&!0===e.constructor.prototype.isChain||!1}function ey(e){var t=typeof e;return"object"===t?null===e?"null":gv(e)?"BigNumber":e.constructor&&e.constructor.name?e.constructor.name:"Object":t}function ty(e){var t=typeof e;if("number"===t||"string"===t||"boolean"===t||null===e||void 0===e)return e;if("function"===typeof e.clone)return e.clone();if(Array.isArray(e))return e.map((function(e){return ty(e)}));if(e instanceof Date)return new Date(e.valueOf());if(gv(e))return e;if(Ov(e))return function(e,t){var n={};for(var r in e)oy(e,r)&&(n[r]=t(e[r]));return n}(e,ty);throw new TypeError("Cannot clone: unknown type of value (value: ".concat(e,")"))}function ny(e,t){for(var n in t)oy(t,n)&&(e[n]=t[n]);return e}function ry(e,t){var n,r,o;if(Array.isArray(e)){if(!Array.isArray(t))return!1;if(e.length!==t.length)return!1;for(r=0,o=e.length;r<o;r++)if(!ry(e[r],t[r]))return!1;return!0}if("function"===typeof e)return e===t;if(e instanceof Object){if(Array.isArray(t)||!(t instanceof Object))return!1;for(n in e)if(!(n in t)||!ry(e[n],t[n]))return!1;for(n in t)if(!(n in e))return!1;return!0}return e===t}function oy(e,t){return e&&Object.hasOwnProperty.call(e,t)}function iy(e,t,n,r){function o(r){var o=function(e,t){for(var n={},r=0;r<t.length;r++){var o=t[r],i=e[o];void 0!==i&&(n[o]=i)}return n}(r,t.map(ay));return function(e,t,n){var r=t.filter((e=>!function(e){return e&&"?"===e[0]}(e))).every((e=>void 0!==n[e]));if(!r){var o=t.filter((e=>void 0===n[e]));throw new Error('Cannot create function "'.concat(e,'", ')+"some dependencies are missing: ".concat(o.map((e=>'"'.concat(e,'"'))).join(", "),"."))}}(e,t,r),n(o)}return o.isFactory=!0,o.fn=e,o.dependencies=t.slice().sort(),r&&(o.meta=r),o}function ay(e){return e&&"?"===e[0]?e.slice(1):e}var sy=iy("BigNumber",["?on","config"],(e=>{var{on:t,config:n}=e,r=hv.clone({precision:n.precision,modulo:hv.EUCLID});return r.prototype=Object.create(r.prototype),r.prototype.type="BigNumber",r.prototype.isBigNumber=!0,r.prototype.toJSON=function(){return{mathjs:"BigNumber",value:this.toString()}},r.fromJSON=function(e){return new r(e.value)},t&&t("config",(function(e,t){e.precision!==t.precision&&r.config({precision:e.precision})})),r}),{isClass:!0}),ly=n(4497);function uy(e){return"boolean"===typeof e||!!isFinite(e)&&e===Math.round(e)}var cy=Math.sign||function(e){return e>0?1:e<0?-1:0},dy=Math.log2||function(e){return Math.log(e)/Math.LN2},py=Math.log10||function(e){return Math.log(e)/Math.LN10},fy=(Math.log1p,Math.cbrt||function(e){if(0===e)return e;var t,n=e<0;return n&&(e=-e),t=isFinite(e)?(e/((t=Math.exp(Math.log(e)/3))*t)+2*t)/3:e,n?-t:t}),hy=Math.expm1||function(e){return e>=2e-4||e<=-2e-4?Math.exp(e)-1:e+e*e/2+e*e*e/6};function my(e,t,n){var r={2:"0b",8:"0o",16:"0x"}[t],o="";if(n){if(n<1)throw new Error("size must be in greater than 0");if(!uy(n))throw new Error("size must be an integer");if(e>2**(n-1)-1||e<-(2**(n-1)))throw new Error("Value must be in range [-2^".concat(n-1,", 2^").concat(n-1,"-1]"));if(!uy(e))throw new Error("Value must be an integer");e<0&&(e+=2**n),o="i".concat(n)}var i="";return e<0&&(e=-e,i="-"),"".concat(i).concat(r).concat(e.toString(t)).concat(o)}function gy(e,t){if("function"===typeof t)return t(e);if(e===1/0)return"Infinity";if(e===-1/0)return"-Infinity";if(isNaN(e))return"NaN";var{notation:n,precision:r,wordSize:o}=vy(t);switch(n){case"fixed":return xy(e,r);case"exponential":return by(e,r);case"engineering":return function(e,t){if(isNaN(e)||!isFinite(e))return String(e);var n=yy(e),r=ky(n,t),o=r.exponent,i=r.coefficients,a=o%3===0?o:o<0?o-3-o%3:o-o%3;if(mv(t))for(;t>i.length||o-a+1>i.length;)i.push(0);else for(var s=Math.abs(o-a)-(i.length-1),l=0;l<s;l++)i.push(0);var u=Math.abs(o-a),c=1;for(;u>0;)c++,u--;var d=i.slice(c).join(""),p=mv(t)&&d.length||d.match(/[1-9]/)?"."+d:"",f=i.slice(0,c).join("")+p+"e"+(o>=0?"+":"")+a.toString();return r.sign+f}(e,r);case"bin":return my(e,2,o);case"oct":return my(e,8,o);case"hex":return my(e,16,o);case"auto":return function(e,t,n){if(isNaN(e)||!isFinite(e))return String(e);var r=Py(null===n||void 0===n?void 0:n.lowerExp,-3),o=Py(null===n||void 0===n?void 0:n.upperExp,5),i=yy(e),a=t?ky(i,t):i;if(a.exponent<r||a.exponent>=o)return by(e,t);var s=a.coefficients,l=a.exponent;s.length<t&&(s=s.concat(wy(t-s.length))),s=s.concat(wy(l-s.length+1+(s.length<t?t-s.length:0)));var u=l>0?l:0;return u<(s=wy(-l).concat(s)).length-1&&s.splice(u+1,0,"."),a.sign+s.join("")}(e,r,t).replace(/((\.\d*?)(0+))($|e)/,(function(){var e=arguments[2],t=arguments[4];return"."!==e?e+t:t}));default:throw new Error('Unknown notation "'+n+'". Choose "auto", "exponential", "fixed", "bin", "oct", or "hex.')}}function vy(e){var t,n,r="auto";if(void 0!==e)if(mv(e))t=e;else if(gv(e))t=e.toNumber();else{if(!Ov(e))throw new Error("Unsupported type of options, number, BigNumber, or object expected");void 0!==e.precision&&(t=Ay(e.precision,(()=>{throw new Error('Option "precision" must be a number or BigNumber')}))),void 0!==e.wordSize&&(n=Ay(e.wordSize,(()=>{throw new Error('Option "wordSize" must be a number or BigNumber')}))),e.notation&&(r=e.notation)}return{notation:r,precision:t,wordSize:n}}function yy(e){var t=String(e).toLowerCase().match(/^(-?)(\d+\.?\d*)(e([+-]?\d+))?$/);if(!t)throw new SyntaxError("Invalid number "+e);var n=t[1],r=t[2],o=parseFloat(t[4]||"0"),i=r.indexOf(".");o+=-1!==i?i-1:r.length-1;var a=r.replace(".","").replace(/^0*/,(function(e){return o-=e.length,""})).replace(/0*$/,"").split("").map((function(e){return parseInt(e)}));return 0===a.length&&(a.push(0),o++),{sign:n,coefficients:a,exponent:o}}function xy(e,t){if(isNaN(e)||!isFinite(e))return String(e);var n=yy(e),r="number"===typeof t?ky(n,n.exponent+1+t):n,o=r.coefficients,i=r.exponent+1,a=i+(t||0);return o.length<a&&(o=o.concat(wy(a-o.length))),i<0&&(o=wy(1-i).concat(o),i=1),i<o.length&&o.splice(i,0,0===i?"0.":"."),r.sign+o.join("")}function by(e,t){if(isNaN(e)||!isFinite(e))return String(e);var n=yy(e),r=t?ky(n,t):n,o=r.coefficients,i=r.exponent;o.length<t&&(o=o.concat(wy(t-o.length)));var a=o.shift();return r.sign+a+(o.length>0?"."+o.join(""):"")+"e"+(i>=0?"+":"")+i}function ky(e,t){for(var n={sign:e.sign,coefficients:e.coefficients,exponent:e.exponent},r=n.coefficients;t<=0;)r.unshift(0),n.exponent++,t++;if(r.length>t&&r.splice(t,r.length-t)[0]>=5){var o=t-1;for(r[o]++;10===r[o];)r.pop(),0===o&&(r.unshift(0),n.exponent++,o++),r[--o]++}return n}function wy(e){for(var t=[],n=0;n<e;n++)t.push(0);return t}var Ey=Number.EPSILON||2220446049250313e-31;function _y(e,t,n){if(null===n||void 0===n)return e===t;if(e===t)return!0;if(isNaN(e)||isNaN(t))return!1;if(isFinite(e)&&isFinite(t)){var r=Math.abs(e-t);return r<=Ey||r<=Math.max(Math.abs(e),Math.abs(t))*n}return!1}var Cy=Math.acosh||function(e){return Math.log(Math.sqrt(e*e-1)+e)},Sy=Math.asinh||function(e){return Math.log(Math.sqrt(e*e+1)+e)},Dy=Math.atanh||function(e){return Math.log((1+e)/(1-e))/2},jy=(Math.cosh,Math.sinh||function(e){return(Math.exp(e)-Math.exp(-e))/2});Math.tanh;function Ay(e,t){return mv(e)?e:gv(e)?e.toNumber():void t()}function Py(e,t){return mv(e)?e:gv(e)?e.toNumber():t}var Ly=iy("Complex",[],(()=>(Object.defineProperty(ly,"name",{value:"Complex"}),ly.prototype.constructor=ly,ly.prototype.type="Complex",ly.prototype.isComplex=!0,ly.prototype.toJSON=function(){return{mathjs:"Complex",re:this.re,im:this.im}},ly.prototype.toPolar=function(){return{r:this.abs(),phi:this.arg()}},ly.prototype.format=function(e){var t=this.im,n=this.re,r=gy(this.re,e),o=gy(this.im,e),i=mv(e)?e:e?e.precision:null;if(null!==i){var a=Math.pow(10,-i);Math.abs(n/t)<a&&(n=0),Math.abs(t/n)<a&&(t=0)}return 0===t?r:0===n?1===t?"i":-1===t?"-i":o+"i":t<0?-1===t?r+" - i":r+" - "+o.substring(1)+"i":1===t?r+" + i":r+" + "+o+"i"},ly.fromPolar=function(e){switch(arguments.length){case 1:var t=arguments[0];if("object"===typeof t)return ly(t);throw new TypeError("Input has to be an object with r and phi keys.");case 2:var n=arguments[0],r=arguments[1];if(mv(n)){if(xv(r)&&r.hasBase("ANGLE")&&(r=r.toNumber("rad")),mv(r))return new ly({r:n,phi:r});throw new TypeError("Phi is not a number nor an angle unit.")}throw new TypeError("Radius r is not a number.");default:throw new SyntaxError("Wrong number of arguments in function fromPolar")}},ly.prototype.valueOf=ly.prototype.toString,ly.fromJSON=function(e){return new ly(e)},ly.compare=function(e,t){return e.re>t.re?1:e.re<t.re?-1:e.im>t.im?1:e.im<t.im?-1:0},ly)),{isClass:!0});function My(e){var t=0,n=1,r=Object.create(null),o=Object.create(null),i=0,a=function(e){var a=o[e];if(a&&(delete r[a],delete o[e],--t,n===a)){if(!t)return i=0,void(n=1);for(;!Object.prototype.hasOwnProperty.call(r,++n););}};return e=Math.abs(e),{hit:function(s){var l=o[s],u=++i;if(r[u]=s,o[s]=u,!l){if(++t<=e)return;return s=r[n],a(s),s}if(delete r[l],n===l)for(;!Object.prototype.hasOwnProperty.call(r,++n););},delete:a,clear:function(){t=i=0,n=1,r=Object.create(null),o=Object.create(null)}}}function Ny(e){var{hasher:t,limit:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n=null==n?Number.POSITIVE_INFINITY:n,t=null==t?JSON.stringify:t,function r(){"object"!==typeof r.cache&&(r.cache={values:new Map,lru:My(n||Number.POSITIVE_INFINITY)});for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var a=t(o);if(r.cache.values.has(a))return r.cache.lru.hit(a),r.cache.values.get(a);var s=e.apply(e,o);return r.cache.values.set(a,s),r.cache.values.delete(r.cache.lru.hit(a)),s}}function Oy(e){return Object.keys(e.signatures||{}).reduce((function(e,t){var n=(t.match(/,/g)||[]).length+1;return Math.max(e,n)}),-1)}Ny((function(e){return new e(1).exp()}),{hasher:Fy}),Ny((function(e){return new e(1).plus(new e(5).sqrt()).div(2)}),{hasher:Fy});var Ty=Ny((function(e){return e.acos(-1)}),{hasher:Fy});Ny((function(e){return Ty(e).times(2)}),{hasher:Fy});function Fy(e){return e[0].precision}Math.PI,Math.PI,Math.E;Ry("fineStructure",.0072973525693),Ry("weakMixingAngle",.2229),Ry("efimovFactor",22.7),Ry("sackurTetrode",-1.16487052358);function Ry(e,t){return iy(e,["config","BigNumber"],(e=>{var{config:n,BigNumber:r}=e;return"BigNumber"===n.number?new r(t):t}))}var Iy=n(8172),By=iy("Fraction",[],(()=>(Object.defineProperty(Iy,"name",{value:"Fraction"}),Iy.prototype.constructor=Iy,Iy.prototype.type="Fraction",Iy.prototype.isFraction=!0,Iy.prototype.toJSON=function(){return{mathjs:"Fraction",n:this.s*this.n,d:this.d}},Iy.fromJSON=function(e){return new Iy(e)},Iy)),{isClass:!0}),Wy=iy("Matrix",[],(()=>{function e(){if(!(this instanceof e))throw new SyntaxError("Constructor must be called with the new operator")}return e.prototype.type="Matrix",e.prototype.isMatrix=!0,e.prototype.storage=function(){throw new Error("Cannot invoke storage on a Matrix interface")},e.prototype.datatype=function(){throw new Error("Cannot invoke datatype on a Matrix interface")},e.prototype.create=function(e,t){throw new Error("Cannot invoke create on a Matrix interface")},e.prototype.subset=function(e,t,n){throw new Error("Cannot invoke subset on a Matrix interface")},e.prototype.get=function(e){throw new Error("Cannot invoke get on a Matrix interface")},e.prototype.set=function(e,t,n){throw new Error("Cannot invoke set on a Matrix interface")},e.prototype.resize=function(e,t){throw new Error("Cannot invoke resize on a Matrix interface")},e.prototype.reshape=function(e,t){throw new Error("Cannot invoke reshape on a Matrix interface")},e.prototype.clone=function(){throw new Error("Cannot invoke clone on a Matrix interface")},e.prototype.size=function(){throw new Error("Cannot invoke size on a Matrix interface")},e.prototype.map=function(e,t){throw new Error("Cannot invoke map on a Matrix interface")},e.prototype.forEach=function(e){throw new Error("Cannot invoke forEach on a Matrix interface")},e.prototype[Symbol.iterator]=function(){throw new Error("Cannot iterate a Matrix interface")},e.prototype.toArray=function(){throw new Error("Cannot invoke toArray on a Matrix interface")},e.prototype.valueOf=function(){throw new Error("Cannot invoke valueOf on a Matrix interface")},e.prototype.format=function(e){throw new Error("Cannot invoke format on a Matrix interface")},e.prototype.toString=function(){throw new Error("Cannot invoke toString on a Matrix interface")},e}),{isClass:!0});function zy(e,t,n){var r=new(0,e.constructor)(2),o="";if(n){if(n<1)throw new Error("size must be in greater than 0");if(!uy(n))throw new Error("size must be an integer");if(e.greaterThan(r.pow(n-1).sub(1))||e.lessThan(r.pow(n-1).mul(-1)))throw new Error("Value must be in range [-2^".concat(n-1,", 2^").concat(n-1,"-1]"));if(!e.isInteger())throw new Error("Value must be an integer");e.lessThan(0)&&(e=e.add(r.pow(n))),o="i".concat(n)}switch(t){case 2:return"".concat(e.toBinary()).concat(o);case 8:return"".concat(e.toOctal()).concat(o);case 16:return"".concat(e.toHexadecimal()).concat(o);default:throw new Error("Base ".concat(t," not supported "))}}function $y(e,t){if("function"===typeof t)return t(e);if(!e.isFinite())return e.isNaN()?"NaN":e.gt(0)?"Infinity":"-Infinity";var{notation:n,precision:r,wordSize:o}=vy(t);switch(n){case"fixed":return function(e,t){return e.toFixed(t)}(e,r);case"exponential":return Hy(e,r);case"engineering":return function(e,t){var n=e.e,r=n%3===0?n:n<0?n-3-n%3:n-n%3,o=e.mul(Math.pow(10,-r)),i=o.toPrecision(t);if(-1!==i.indexOf("e")){i=new(0,e.constructor)(i).toFixed()}return i+"e"+(n>=0?"+":"")+r.toString()}(e,r);case"bin":return zy(e,2,o);case"oct":return zy(e,8,o);case"hex":return zy(e,16,o);case"auto":var i=Vy(null===t||void 0===t?void 0:t.lowerExp,-3),a=Vy(null===t||void 0===t?void 0:t.upperExp,5);if(e.isZero())return"0";var s=e.toSignificantDigits(r),l=s.e;return(l>=i&&l<a?s.toFixed():Hy(e,r)).replace(/((\.\d*?)(0+))($|e)/,(function(){var e=arguments[2],t=arguments[4];return"."!==e?e+t:t}));default:throw new Error('Unknown notation "'+n+'". Choose "auto", "exponential", "fixed", "bin", "oct", or "hex.')}}function Hy(e,t){return void 0!==t?e.toExponential(t-1):e.toExponential()}function Vy(e,t){return mv(e)?e:gv(e)?e.toNumber():t}function Uy(e,t){var n=function(e,t){if("number"===typeof e)return gy(e,t);if(gv(e))return $y(e,t);if(function(e){return e&&"object"===typeof e&&"number"===typeof e.s&&"number"===typeof e.n&&"number"===typeof e.d||!1}(e))return t&&"decimal"===t.fraction?e.toString():e.s*e.n+"/"+e.d;if(Array.isArray(e))return Gy(e,t);if(bv(e))return qy(e);if("function"===typeof e)return e.syntax?String(e.syntax):"function";if(e&&"object"===typeof e){return"function"===typeof e.format?e.format(t):e&&e.toString(t)!=={}.toString()?e.toString(t):"{"+Object.keys(e).map((n=>qy(n)+": "+Uy(e[n],t))).join(", ")+"}"}return String(e)}(e,t);return t&&"object"===typeof t&&"truncate"in t&&n.length>t.truncate?n.substring(0,t.truncate-3)+"...":n}function qy(e){for(var t=String(e),n="",r=0;r<t.length;){var o=t.charAt(r);n+=o in Yy?Yy[o]:o,r++}return'"'+n+'"'}var Yy={'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"};function Gy(e,t){if(Array.isArray(e)){for(var n="[",r=e.length,o=0;o<r;o++)0!==o&&(n+=", "),n+=Gy(e[o],t);return n+="]"}return Uy(e,t)}function Zy(e,t){if(!bv(e))throw new TypeError("Unexpected type of argument in function compareText (expected: string or Array or Matrix, actual: "+ey(e)+", index: 0)");if(!bv(t))throw new TypeError("Unexpected type of argument in function compareText (expected: string or Array or Matrix, actual: "+ey(t)+", index: 1)");return e===t?0:e>t?1:-1}function Ky(e,t,n){if(!(this instanceof Ky))throw new SyntaxError("Constructor must be called with the new operator");this.actual=e,this.expected=t,this.relation=n,this.message="Dimension mismatch ("+(Array.isArray(e)?"["+e.join(", ")+"]":e)+" "+(this.relation||"!=")+" "+(Array.isArray(t)?"["+t.join(", ")+"]":t)+")",this.stack=(new Error).stack}function Qy(e,t,n){if(!(this instanceof Qy))throw new SyntaxError("Constructor must be called with the new operator");this.index=e,arguments.length<3?(this.min=0,this.max=t):(this.min=t,this.max=n),void 0!==this.min&&this.index<this.min?this.message="Index out of range ("+this.index+" < "+this.min+")":void 0!==this.max&&this.index>=this.max?this.message="Index out of range ("+this.index+" > "+(this.max-1)+")":this.message="Index out of range ("+this.index+")",this.stack=(new Error).stack}function Xy(e){for(var t=[];Array.isArray(e);)t.push(e.length),e=e[0];return t}function Jy(e,t,n){var r,o=e.length;if(o!==t[n])throw new Ky(o,t[n]);if(n<t.length-1){var i=n+1;for(r=0;r<o;r++){var a=e[r];if(!Array.isArray(a))throw new Ky(t.length-1,t.length,"<");Jy(e[r],t,i)}}else for(r=0;r<o;r++)if(Array.isArray(e[r]))throw new Ky(t.length+1,t.length,">")}function ex(e,t){if(0===t.length){if(Array.isArray(e))throw new Ky(e.length,0)}else Jy(e,t,0)}function tx(e,t){if(void 0!==e){if(!mv(e)||!uy(e))throw new TypeError("Index must be an integer (value: "+e+")");if(e<0||"number"===typeof t&&e>=t)throw new Qy(e,t)}}function nx(e,t,n){if(!Array.isArray(t))throw new TypeError("Array expected");if(0===t.length)throw new Error("Resizing to scalar is not supported");return t.forEach((function(e){if(!mv(e)||!uy(e)||e<0)throw new TypeError("Invalid size, must contain positive integers (size: "+Uy(t)+")")})),(mv(e)||gv(e))&&(e=[e]),rx(e,t,0,void 0!==n?n:0),e}function rx(e,t,n,r){var o,i,a=e.length,s=t[n],l=Math.min(a,s);if(e.length=s,n<t.length-1){var u=n+1;for(o=0;o<l;o++)i=e[o],Array.isArray(i)||(i=[i],e[o]=i),rx(i,t,u,r);for(o=l;o<s;o++)i=[],e[o]=i,rx(i,t,u,r)}else{for(o=0;o<l;o++)for(;Array.isArray(e[o]);)e[o]=e[o][0];for(o=l;o<s;o++)e[o]=r}}function ox(e,t){var n=ux(e),r=n.length;if(!Array.isArray(e)||!Array.isArray(t))throw new TypeError("Array expected");if(0===t.length)throw new Ky(0,r,"!=");var o=ax(t=ix(t,r));if(r!==o)throw new Ky(o,r,"!=");try{return function(e,t){for(var n,r=e,o=t.length-1;o>0;o--){var i=t[o];n=[];for(var a=r.length/i,s=0;s<a;s++)n.push(r.slice(s*i,(s+1)*i));r=n}return r}(n,t)}catch(ce){if(ce instanceof Ky)throw new Ky(o,r,"!=");throw ce}}function ix(e,t){var n=ax(e),r=e.slice(),o=e.indexOf(-1);if(e.indexOf(-1,o+1)>=0)throw new Error("More than one wildcard in sizes");if(o>=0){if(!(t%n===0))throw new Error("Could not replace wildcard, since "+t+" is no multiple of "+-n);r[o]=-t/n}return r}function ax(e){return e.reduce(((e,t)=>e*t),1)}function sx(e,t,n,r){var o=r||Xy(e);if(n)for(var i=0;i<n;i++)e=[e],o.unshift(1);for(e=lx(e,t,0);o.length<t;)o.push(1);return e}function lx(e,t,n){var r,o;if(Array.isArray(e)){var i=n+1;for(r=0,o=e.length;r<o;r++)e[r]=lx(e[r],t,i)}else for(var a=n;a<t;a++)e=[e];return e}function ux(e){if(!Array.isArray(e))return e;var t=[];return e.forEach((function e(n){Array.isArray(n)?n.forEach(e):t.push(n)})),t}function cx(e,t){for(var n,r=0,o=0;o<e.length;o++){var i=e[o],a=Array.isArray(i);if(0===o&&a&&(r=i.length),a&&i.length!==r)return;var s=a?cx(i,t):t(i);if(void 0===n)n=s;else if(n!==s)return"mixed"}return n}function dx(e,t,n,r){if(r<n){if(e.length!==t.length)throw new Ky(e.length,t.length);for(var o=[],i=0;i<e.length;i++)o[i]=dx(e[i],t[i],n,r+1);return o}return e.concat(t)}function px(){var e=Array.prototype.slice.call(arguments,0,-1),t=Array.prototype.slice.call(arguments,-1);if(1===e.length)return e[0];if(e.length>1)return e.slice(1).reduce((function(e,n){return dx(e,n,t,0)}),e[0]);throw new Error("Wrong number of arguments in function concat")}function fx(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r=t.map((e=>e.length)),o=Math.max(...r),i=new Array(o).fill(null),a=0;a<t.length;a++)for(var s=t[a],l=r[a],u=0;u<l;u++){var c=o-l+u;s[u]>i[c]&&(i[c]=s[u])}for(var d=0;d<t.length;d++)hx(t[d],i);return i}function hx(e,t){for(var n=t.length,r=e.length,o=0;o<r;o++){var i=n-r+o;if(e[o]<t[i]&&e[o]>1||e[o]>t[i])throw new Error("shape missmatch: missmatch is found in arg with shape (".concat(e,") not possible to broadcast dimension ").concat(r," with size ").concat(e[o]," to size ").concat(t[i]))}}function mx(e,t){var n=Xy(e);if(ry(n,t))return e;hx(n,t);var r,o,i,a=fx(n,t),s=a.length,l=[...Array(s-n.length).fill(1),...n],u=function(e){return(0,Fs.A)([],e)}(e);n.length<s&&(n=Xy(u=ox(u,l)));for(var c=0;c<s;c++)n[c]<a[c]&&(r=u,o=a[c],i=c,n=Xy(u=px(...Array(o).fill(r),i)));return u}Ky.prototype=new RangeError,Ky.prototype.constructor=RangeError,Ky.prototype.name="DimensionError",Ky.prototype.isDimensionError=!0,Qy.prototype=new RangeError,Qy.prototype.constructor=RangeError,Qy.prototype.name="IndexError",Qy.prototype.isIndexError=!0;var gx=iy("DenseMatrix",["Matrix"],(e=>{var{Matrix:t}=e;function n(e,t){if(!(this instanceof n))throw new SyntaxError("Constructor must be called with the new operator");if(t&&!bv(t))throw new Error("Invalid datatype: "+t);if(wv(e))"DenseMatrix"===e.type?(this._data=ty(e._data),this._size=ty(e._size),this._datatype=t||e._datatype):(this._data=e.toArray(),this._size=e.size(),this._datatype=t||e._datatype);else if(e&&kv(e.data)&&kv(e.size))this._data=e.data,this._size=e.size,ex(this._data,this._size),this._datatype=t||e.datatype;else if(kv(e))this._data=s(e),this._size=Xy(this._data),ex(this._data,this._size),this._datatype=t;else{if(e)throw new TypeError("Unsupported type of data ("+ey(e)+")");this._data=[],this._size=[0],this._datatype=t}}function r(e,t,n,o){var i=o===n-1,a=t.dimension(o);return i?a.map((function(t){return tx(t,e.length),e[t]})).valueOf():a.map((function(i){return tx(i,e.length),r(e[i],t,n,o+1)})).valueOf()}function o(e,t,n,r,i){var a=i===r-1,s=t.dimension(i);a?s.forEach((function(t,r){tx(t),e[t]=n[r[0]]})):s.forEach((function(a,s){tx(a),o(e[a],t,n[s[0]],r,i+1)}))}function i(e,t,n){if(0===t.length){for(var r=e._data;kv(r);)r=r[0];return r}return e._size=t.slice(0),e._data=nx(e._data,e._size,n),e}function a(e,t,n){for(var r=e._size.slice(0),o=!1;r.length<t.length;)r.push(0),o=!0;for(var a=0,s=t.length;a<s;a++)t[a]>r[a]&&(r[a]=t[a],o=!0);o&&i(e,r,n)}function s(e){return wv(e)?s(e.valueOf()):kv(e)?e.map(s):e}return n.prototype=new t,n.prototype.createDenseMatrix=function(e,t){return new n(e,t)},Object.defineProperty(n,"name",{value:"DenseMatrix"}),n.prototype.constructor=n,n.prototype.type="DenseMatrix",n.prototype.isDenseMatrix=!0,n.prototype.getDataType=function(){return cx(this._data,ey)},n.prototype.storage=function(){return"dense"},n.prototype.datatype=function(){return this._datatype},n.prototype.create=function(e,t){return new n(e,t)},n.prototype.subset=function(e,t,i){switch(arguments.length){case 1:return function(e,t){if(!Dv(t))throw new TypeError("Invalid index");var o=t.isScalar();if(o)return e.get(t.min());var i=t.size();if(i.length!==e._size.length)throw new Ky(i.length,e._size.length);for(var a=t.min(),s=t.max(),l=0,u=e._size.length;l<u;l++)tx(a[l],e._size[l]),tx(s[l],e._size[l]);return new n(r(e._data,t,i.length,0),e._datatype)}(this,e);case 2:case 3:return function(e,t,n,r){if(!t||!0!==t.isIndex)throw new TypeError("Invalid index");var i,s=t.size(),l=t.isScalar();wv(n)?(i=n.size(),n=n.valueOf()):i=Xy(n);if(l){if(0!==i.length)throw new TypeError("Scalar expected");e.set(t.min(),n,r)}else{if(!ry(i,s))try{i=Xy(n=0===i.length?mx([n],s):mx(n,s))}catch(h){}if(s.length<e._size.length)throw new Ky(s.length,e._size.length,"<");if(i.length<s.length){for(var u=0,c=0;1===s[u]&&1===i[u];)u++;for(;1===s[u];)c++,u++;n=sx(n,s.length,c,i)}if(!ry(s,i))throw new Ky(s,i,">");var d=t.max().map((function(e){return e+1}));a(e,d,r);var p=s.length,f=0;o(e._data,t,n,p,f)}return e}(this,e,t,i);default:throw new SyntaxError("Wrong number of arguments")}},n.prototype.get=function(e){if(!kv(e))throw new TypeError("Array expected");if(e.length!==this._size.length)throw new Ky(e.length,this._size.length);for(var t=0;t<e.length;t++)tx(e[t],this._size[t]);for(var n=this._data,r=0,o=e.length;r<o;r++){var i=e[r];tx(i,n.length),n=n[i]}return n},n.prototype.set=function(e,t,n){if(!kv(e))throw new TypeError("Array expected");if(e.length<this._size.length)throw new Ky(e.length,this._size.length,"<");var r,o,i,s=e.map((function(e){return e+1}));a(this,s,n);var l=this._data;for(r=0,o=e.length-1;r<o;r++)tx(i=e[r],l.length),l=l[i];return tx(i=e[e.length-1],l.length),l[i]=t,this},n.prototype.resize=function(e,t,n){if(!Ev(e))throw new TypeError("Array or Matrix expected");var r=e.valueOf().map((e=>Array.isArray(e)&&1===e.length?e[0]:e));return i(n?this.clone():this,r,t)},n.prototype.reshape=function(e,t){var n=t?this.clone():this;n._data=ox(n._data,e);var r=n._size.reduce(((e,t)=>e*t));return n._size=ix(e,r),n},n.prototype.clone=function(){return new n({data:ty(this._data),size:ty(this._size),datatype:this._datatype})},n.prototype.size=function(){return this._size.slice(0)},n.prototype.map=function(e){var t=this,r=Oy(e),o=function n(o,i){return kv(o)?o.map((function(e,t){return n(e,i.concat(t))})):1===r?e(o):2===r?e(o,i):e(o,i,t)}(this._data,[]);return new n(o,void 0!==this._datatype?cx(o,ey):void 0)},n.prototype.forEach=function(e){var t=this;!function n(r,o){kv(r)?r.forEach((function(e,t){n(e,o.concat(t))})):e(r,o,t)}(this._data,[])},n.prototype[Symbol.iterator]=function*(){yield*function*e(t,n){if(kv(t))for(var r=0;r<t.length;r++)yield*e(t[r],n.concat(r));else yield{value:t,index:n}}(this._data,[])},n.prototype.rows=function(){var e=[];if(2!==this.size().length)throw new TypeError("Rows can only be returned for a 2D matrix.");var t=this._data;for(var r of t)e.push(new n([r],this._datatype));return e},n.prototype.columns=function(){var e=this,t=[],r=this.size();if(2!==r.length)throw new TypeError("Rows can only be returned for a 2D matrix.");for(var o=this._data,i=function(r){var i=o.map((e=>[e[r]]));t.push(new n(i,e._datatype))},a=0;a<r[1];a++)i(a);return t},n.prototype.toArray=function(){return ty(this._data)},n.prototype.valueOf=function(){return this._data},n.prototype.format=function(e){return Uy(this._data,e)},n.prototype.toString=function(){return Uy(this._data)},n.prototype.toJSON=function(){return{mathjs:"DenseMatrix",data:this._data,size:this._size,datatype:this._datatype}},n.prototype.diagonal=function(e){if(e){if(gv(e)&&(e=e.toNumber()),!mv(e)||!uy(e))throw new TypeError("The parameter k must be an integer number")}else e=0;for(var t=e>0?e:0,r=e<0?-e:0,o=this._size[0],i=this._size[1],a=Math.min(o-r,i-t),s=[],l=0;l<a;l++)s[l]=this._data[l+r][l+t];return new n({data:s,size:[a],datatype:this._datatype})},n.diagonal=function(e,t,r,o){if(!kv(e))throw new TypeError("Array expected, size parameter");if(2!==e.length)throw new Error("Only two dimensions matrix are supported");if(e=e.map((function(e){if(gv(e)&&(e=e.toNumber()),!mv(e)||!uy(e)||e<1)throw new Error("Size values must be positive integers");return e})),r){if(gv(r)&&(r=r.toNumber()),!mv(r)||!uy(r))throw new TypeError("The parameter k must be an integer number")}else r=0;var i,a=r>0?r:0,s=r<0?-r:0,l=e[0],u=e[1],c=Math.min(l-s,u-a);if(kv(t)){if(t.length!==c)throw new Error("Invalid value array length");i=function(e){return t[e]}}else if(wv(t)){var d=t.size();if(1!==d.length||d[0]!==c)throw new Error("Invalid matrix length");i=function(e){return t.get([e])}}else i=function(){return t};o||(o=gv(i(0))?i(0).mul(0):0);var p=[];if(e.length>0){p=nx(p,e,o);for(var f=0;f<c;f++)p[f+s][f+a]=i(f)}return new n({data:p,size:[l,u]})},n.fromJSON=function(e){return new n(e)},n.prototype.swapRows=function(e,t){if(!mv(e)||!uy(e)||!mv(t)||!uy(t))throw new Error("Row index must be positive integers");if(2!==this._size.length)throw new Error("Only two dimensional matrix is supported");return tx(e,this._size[0]),tx(t,this._size[0]),n._swapRows(e,t,this._data),this},n._swapRows=function(e,t,n){var r=n[e];n[e]=n[t],n[t]=r},n}),{isClass:!0}),vx=n(5422);function yx(e,t){if(wx(e)&&bx(e,t))return e[t];if("function"===typeof e[t]&&kx(e,t))throw new Error('Cannot access method "'+t+'" as a property');throw new Error('No access to property "'+t+'"')}function xx(e,t,n){if(wx(e)&&bx(e,t))return e[t]=n,n;throw new Error('No access to property "'+t+'"')}function bx(e,t){return!(!e||"object"!==typeof e)&&(!!oy(Ex,t)||!(t in Object.prototype)&&!(t in Function.prototype))}function kx(e,t){return null!==e&&void 0!==e&&"function"===typeof e[t]&&(!(oy(e,t)&&Object.getPrototypeOf&&t in Object.getPrototypeOf(e))&&(!!oy(_x,t)||!(t in Object.prototype)&&!(t in Function.prototype)))}function wx(e){return"object"===typeof e&&e&&e.constructor===Object}var Ex={length:!0,name:!0},_x={toString:!0,valueOf:!0,toLocaleString:!0};class Cx{constructor(e){this.wrappedObject=e,this[Symbol.iterator]=this.entries}keys(){return Object.keys(this.wrappedObject).values()}get(e){return yx(this.wrappedObject,e)}set(e,t){return xx(this.wrappedObject,e,t),this}has(e){return t=this.wrappedObject,e in t;var t}entries(){return Sx(this.keys(),(e=>[e,this.get(e)]))}forEach(e){for(var t of this.keys())e(this.get(t),t,this)}delete(e){delete this.wrappedObject[e]}clear(){for(var e of this.keys())this.delete(e)}get size(){return Object.keys(this.wrappedObject).length}}function Sx(e,t){return{next:()=>{var n=e.next();return n.done?n:{value:t(n.value),done:!1}}}}function Dx(e){return!!e&&(e instanceof Map||e instanceof Cx||"function"===typeof e.set&&"function"===typeof e.get&&"function"===typeof e.keys&&"function"===typeof e.has)}var jx=function(){return jx=vx.create,vx},Ax=iy("typed",["?BigNumber","?Complex","?DenseMatrix","?Fraction"],(function(e){var{BigNumber:t,Complex:n,DenseMatrix:r,Fraction:o}=e,i=jx();return i.clear(),i.addTypes([{name:"number",test:mv},{name:"Complex",test:vv},{name:"BigNumber",test:gv},{name:"Fraction",test:yv},{name:"Unit",test:xv},{name:"identifier",test:e=>bv&&/^(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDCD0-\uDCEB\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDCD0-\uDCEB\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])*$/.test(e)},{name:"string",test:bv},{name:"Chain",test:Jv},{name:"Array",test:kv},{name:"Matrix",test:wv},{name:"DenseMatrix",test:_v},{name:"SparseMatrix",test:Cv},{name:"Range",test:Sv},{name:"Index",test:Dv},{name:"boolean",test:jv},{name:"ResultSet",test:Av},{name:"Help",test:Pv},{name:"function",test:Lv},{name:"Date",test:Mv},{name:"RegExp",test:Nv},{name:"null",test:Tv},{name:"undefined",test:Fv},{name:"AccessorNode",test:Rv},{name:"ArrayNode",test:Iv},{name:"AssignmentNode",test:Bv},{name:"BlockNode",test:Wv},{name:"ConditionalNode",test:zv},{name:"ConstantNode",test:$v},{name:"FunctionNode",test:Vv},{name:"FunctionAssignmentNode",test:Hv},{name:"IndexNode",test:Uv},{name:"Node",test:qv},{name:"ObjectNode",test:Yv},{name:"OperatorNode",test:Gv},{name:"ParenthesisNode",test:Zv},{name:"RangeNode",test:Kv},{name:"RelationalNode",test:Qv},{name:"SymbolNode",test:Xv},{name:"Map",test:Dx},{name:"Object",test:Ov}]),i.addConversions([{from:"number",to:"BigNumber",convert:function(e){if(t||Px(e),e.toExponential().replace(/e.*$/,"").replace(/^0\.?0*|\./,"").length>15)throw new TypeError("Cannot implicitly convert a number with >15 significant digits to BigNumber (value: "+e+"). Use function bignumber(x) to convert to BigNumber.");return new t(e)}},{from:"number",to:"Complex",convert:function(e){return n||Lx(e),new n(e,0)}},{from:"BigNumber",to:"Complex",convert:function(e){return n||Lx(e),new n(e.toNumber(),0)}},{from:"Fraction",to:"BigNumber",convert:function(e){throw new TypeError("Cannot implicitly convert a Fraction to BigNumber or vice versa. Use function bignumber(x) to convert to BigNumber or fraction(x) to convert to Fraction.")}},{from:"Fraction",to:"Complex",convert:function(e){return n||Lx(e),new n(e.valueOf(),0)}},{from:"number",to:"Fraction",convert:function(e){o||Mx(e);var t=new o(e);if(t.valueOf()!==e)throw new TypeError("Cannot implicitly convert a number to a Fraction when there will be a loss of precision (value: "+e+"). Use function fraction(x) to convert to Fraction.");return t}},{from:"string",to:"number",convert:function(e){var t=Number(e);if(isNaN(t))throw new Error('Cannot convert "'+e+'" to a number');return t}},{from:"string",to:"BigNumber",convert:function(e){t||Px(e);try{return new t(e)}catch(n){throw new Error('Cannot convert "'+e+'" to BigNumber')}}},{from:"string",to:"Fraction",convert:function(e){o||Mx(e);try{return new o(e)}catch(t){throw new Error('Cannot convert "'+e+'" to Fraction')}}},{from:"string",to:"Complex",convert:function(e){n||Lx(e);try{return new n(e)}catch(t){throw new Error('Cannot convert "'+e+'" to Complex')}}},{from:"boolean",to:"number",convert:function(e){return+e}},{from:"boolean",to:"BigNumber",convert:function(e){return t||Px(e),new t(+e)}},{from:"boolean",to:"Fraction",convert:function(e){return o||Mx(e),new o(+e)}},{from:"boolean",to:"string",convert:function(e){return String(e)}},{from:"Array",to:"Matrix",convert:function(e){return r||function(){throw new Error("Cannot convert array into a Matrix: no class 'DenseMatrix' provided")}(),new r(e)}},{from:"Matrix",to:"Array",convert:function(e){return e.valueOf()}}]),i.onMismatch=(e,t,n)=>{var r=i.createError(e,t,n);if(["wrongType","mismatch"].includes(r.data.category)&&1===t.length&&Ev(t[0])&&n.some((e=>!e.params.includes(",")))){var o=new TypeError("Function '".concat(e,"' doesn't apply to matrices. To call it ")+"elementwise on a matrix 'M', try 'map(M, ".concat(e,")'."));throw o.data=r.data,o}throw r},i.onMismatch=(e,t,n)=>{var r=i.createError(e,t,n);if(["wrongType","mismatch"].includes(r.data.category)&&1===t.length&&Ev(t[0])&&n.some((e=>!e.params.includes(",")))){var o=new TypeError("Function '".concat(e,"' doesn't apply to matrices. To call it ")+"elementwise on a matrix 'M', try 'map(M, ".concat(e,")'."));throw o.data=r.data,o}throw r},i}));function Px(e){throw new Error("Cannot convert value ".concat(e," into a BigNumber: no class 'BigNumber' provided"))}function Lx(e){throw new Error("Cannot convert value ".concat(e," into a Complex number: no class 'Complex' provided"))}function Mx(e){throw new Error("Cannot convert value ".concat(e," into a Fraction, no class 'Fraction' provided."))}function Nx(e,t,n){return e&&"function"===typeof e.map?e.map((function(e){return Nx(e,t,n)})):t(e)}var Ox="number",Tx="number, number";function Fx(e){return Math.abs(e)}function Rx(e,t){return e+t}function Ix(e,t){return e-t}function Bx(e,t){return e*t}function Wx(e){return-e}function zx(e){return e}function $x(e){return fy(e)}function Hx(e){return e*e*e}function Vx(e){return Math.exp(e)}function Ux(e){return hy(e)}function qx(e,t){if(!uy(e)||!uy(t))throw new Error("Parameters in function lcm must be integer numbers");if(0===e||0===t)return 0;for(var n,r=e*t;0!==t;)t=e%(n=t),e=n;return Math.abs(r/e)}function Yx(e){return py(e)}function Gx(e){return dy(e)}function Zx(e){return cy(e)}function Kx(e){return e*e}function Qx(e,t){var n,r,o,i=0,a=1,s=1,l=0;if(!uy(e)||!uy(t))throw new Error("Parameters in function xgcd must be integer numbers");for(;t;)o=e-(r=Math.floor(e/t))*t,n=i,i=a-r*i,a=n,n=s,s=l-r*s,l=n,e=t,t=o;return e<0?[-e,-a,-l]:[e,e?a:0,l]}function Xx(e,t){return e*e<1&&t===1/0||e*e>1&&t===-1/0?0:Math.pow(e,t)}Fx.signature=Ox,Rx.signature=Tx,Ix.signature=Tx,Bx.signature=Tx,Wx.signature=Ox,zx.signature=Ox,$x.signature=Ox,Hx.signature=Ox,Vx.signature=Ox,Ux.signature=Ox,qx.signature=Tx,Yx.signature=Ox,Gx.signature=Ox,Zx.signature=Ox,Kx.signature=Ox,Qx.signature=Tx,Xx.signature=Tx;var Jx=iy("abs",["typed"],(e=>{var{typed:t}=e;return t("abs",{number:Fx,"Complex | BigNumber | Fraction | Unit":e=>e.abs(),"Array | Matrix":t.referToSelf((e=>t=>Nx(t,e,!0)))})})),eb="number";function tb(e){return Cy(e)}function nb(e){return Math.atan(1/e)}function rb(e){return isFinite(e)?(Math.log((e+1)/e)+Math.log(e/(e-1)))/2:0}function ob(e){return Math.asin(1/e)}function ib(e){var t=1/e;return Math.log(t+Math.sqrt(t*t+1))}function ab(e){return Math.acos(1/e)}function sb(e){var t=1/e,n=Math.sqrt(t*t-1);return Math.log(n+t)}function lb(e){return Sy(e)}function ub(e){return Dy(e)}function cb(e){return 1/Math.tan(e)}function db(e){var t=Math.exp(2*e);return(t+1)/(t-1)}function pb(e){return 1/Math.sin(e)}function fb(e){return 0===e?Number.POSITIVE_INFINITY:Math.abs(2/(Math.exp(e)-Math.exp(-e)))*cy(e)}function hb(e){return 1/Math.cos(e)}function mb(e){return 2/(Math.exp(e)+Math.exp(-e))}function gb(e){return jy(e)}tb.signature=eb,nb.signature=eb,rb.signature=eb,ob.signature=eb,ib.signature=eb,ab.signature=eb,sb.signature=eb,lb.signature=eb,ub.signature=eb,cb.signature=eb,db.signature=eb,pb.signature=eb,fb.signature=eb,hb.signature=eb,mb.signature=eb,gb.signature=eb;var vb="addScalar",yb=iy(vb,["typed"],(e=>{var{typed:t}=e;return t(vb,{"number, number":Rx,"Complex, Complex":function(e,t){return e.add(t)},"BigNumber, BigNumber":function(e,t){return e.plus(t)},"Fraction, Fraction":function(e,t){return e.add(t)},"Unit, Unit":t.referToSelf((e=>(n,r)=>{if(null===n.value||void 0===n.value)throw new Error("Parameter x contains a unit with undefined value");if(null===r.value||void 0===r.value)throw new Error("Parameter y contains a unit with undefined value");if(!n.equalBase(r))throw new Error("Units do not match");var o=n.clone();return o.value=t.find(e,[o.valueType(),r.valueType()])(o.value,r.value),o.fixPrefix=!1,o}))})})),xb=iy("bignumber",["typed","BigNumber"],(e=>{var{typed:t,BigNumber:n}=e;return t("bignumber",{"":function(){return new n(0)},number:function(e){return new n(e+"")},string:function(e){var t=e.match(/(0[box][0-9a-fA-F]*)i([0-9]*)/);if(t){var r=t[2],o=n(t[1]),i=new n(2).pow(Number(r));if(o.gt(i.sub(1)))throw new SyntaxError('String "'.concat(e,'" is out of range'));var a=new n(2).pow(Number(r)-1);return o.gte(a)?o.sub(i):o}return new n(e)},BigNumber:function(e){return e},Unit:t.referToSelf((e=>t=>{var n=t.clone();return n.value=e(t.value),n})),Fraction:function(e){return new n(e.n).div(e.d).times(e.s)},null:function(e){return new n(0)},"Array | Matrix":t.referToSelf((e=>t=>Nx(t,e)))})}));var bb="number, number";function kb(e,t){if(!uy(e)||!uy(t))throw new Error("Integers expected in function bitAnd");return e&t}function wb(e){if(!uy(e))throw new Error("Integer expected in function bitNot");return~e}function Eb(e,t){if(!uy(e)||!uy(t))throw new Error("Integers expected in function bitOr");return e|t}function _b(e,t){if(!uy(e)||!uy(t))throw new Error("Integers expected in function bitXor");return e^t}function Cb(e,t){if(!uy(e)||!uy(t))throw new Error("Integers expected in function leftShift");return e<<t}function Sb(e,t){if(!uy(e)||!uy(t))throw new Error("Integers expected in function rightArithShift");return e>>t}function Db(e,t){if(!uy(e)||!uy(t))throw new Error("Integers expected in function rightLogShift");return e>>>t}kb.signature=bb,wb.signature="number",Eb.signature=bb,_b.signature=bb,Cb.signature=bb,Sb.signature=bb,Db.signature=bb;function jb(e,t){if(t<e)return 1;if(t===e)return t;var n=t+e>>1;return jb(e,n)*jb(n+1,t)}function Ab(e,t){if(!uy(e)||e<0)throw new TypeError("Positive integer value expected in function combinations");if(!uy(t)||t<0)throw new TypeError("Positive integer value expected in function combinations");if(t>e)throw new TypeError("k must be less than or equal to n");for(var n=e-t,r=1,o=2,i=t<n?t:n,a=t<n?n+1:t+1;a<=e;++a)for(r*=a;o<=i&&r%o===0;)r/=o,++o;return o<=i&&(r/=jb(o,i)),r}Ab.signature="number, number";var Pb="conj",Lb=iy(Pb,["typed"],(e=>{var{typed:t}=e;return t(Pb,{"number | BigNumber | Fraction":e=>e,Complex:e=>e.conjugate(),"Array | Matrix":t.referToSelf((e=>t=>Nx(t,e)))})}));function Mb(e,t,n){if(null===n||void 0===n)return e.eq(t);if(e.eq(t))return!0;if(e.isNaN()||t.isNaN())return!1;if(e.isFinite()&&t.isFinite()){var r=e.minus(t).abs();if(r.isZero())return!0;var o=e.constructor.max(e.abs(),t.abs());return r.lte(o.times(n))}return!1}var Nb=iy("compareUnits",["typed"],(e=>{var{typed:t}=e;return{"Unit, Unit":t.referToSelf((e=>(n,r)=>{if(!n.equalBase(r))throw new Error("Cannot compare units with different base");return t.find(e,[n.valueType(),r.valueType()])(n.value,r.value)}))}})),Ob="equalScalar",Tb=iy(Ob,["typed","config"],(e=>{var{typed:t,config:n}=e,r=Nb({typed:t});return t(Ob,{"boolean, boolean":function(e,t){return e===t},"number, number":function(e,t){return _y(e,t,n.epsilon)},"BigNumber, BigNumber":function(e,t){return e.eq(t)||Mb(e,t,n.epsilon)},"Fraction, Fraction":function(e,t){return e.equals(t)},"Complex, Complex":function(e,t){return function(e,t,n){return _y(e.re,t.re,n)&&_y(e.im,t.im,n)}(e,t,n.epsilon)}},r)}));iy(Ob,["typed","config"],(e=>{var{typed:t,config:n}=e;return t(Ob,{"number, number":function(e,t){return _y(e,t,n.epsilon)}})})),Math.pow(2,53);var Fb="format",Rb=iy(Fb,["typed"],(e=>{var{typed:t}=e;return t(Fb,{any:Uy,"any, Object | function | number | BigNumber":Uy})})),Ib=(iy("hex",["typed","format"],(e=>{var{typed:t,format:n}=e;return t("hex",{"number | BigNumber":function(e){return n(e,{notation:"hex"})},"number | BigNumber, number | BigNumber":function(e,t){return n(e,{notation:"hex",wordSize:t})}})})),"isInteger"),Bb=iy(Ib,["typed"],(e=>{var{typed:t}=e;return t(Ib,{number:uy,BigNumber:function(e){return e.isInt()},Fraction:function(e){return 1===e.d&&isFinite(e.n)},"Array | Matrix":t.referToSelf((e=>t=>Nx(t,e)))})})),Wb="number";function zb(e){return e<0}function $b(e){return e>0}function Hb(e){return 0===e}function Vb(e){return Number.isNaN(e)}zb.signature=Wb,$b.signature=Wb,Hb.signature=Wb,Vb.signature=Wb;var Ub="isZero",qb=iy(Ub,["typed"],(e=>{var{typed:t}=e;return t(Ub,{number:Hb,BigNumber:function(e){return e.isZero()},Complex:function(e){return 0===e.re&&0===e.im},Fraction:function(e){return 1===e.d&&0===e.n},Unit:t.referToSelf((e=>n=>t.find(e,n.valueType())(n.value))),"Array | Matrix":t.referToSelf((e=>t=>Nx(t,e)))})}));function Yb(e){var t;if(uy(e))return e<=0?isFinite(e)?1/0:NaN:e>171?1/0:jb(1,e-1);if(e<.5)return Math.PI/(Math.sin(Math.PI*e)*Yb(1-e));if(e>=171.35)return 1/0;if(e>85){var n=e*e,r=n*e,o=r*e,i=o*e;return Math.sqrt(2*Math.PI/e)*Math.pow(e/Math.E,e)*(1+1/(12*e)+1/(288*n)-139/(51840*r)-571/(2488320*o)+163879/(209018880*i)+5246819/(75246796800*i*e))}--e,t=Zb[0];for(var a=1;a<Zb.length;++a)t+=Zb[a]/(e+a);var s=e+Gb+.5;return Math.sqrt(2*Math.PI)*Math.pow(s,e+.5)*Math.exp(-s)*t}Yb.signature="number";var Gb=4.7421875,Zb=[.9999999999999971,57.15623566586292,-59.59796035547549,14.136097974741746,-.4919138160976202,3399464998481189e-20,4652362892704858e-20,-9837447530487956e-20,.0001580887032249125,-.00021026444172410488,.00021743961811521265,-.0001643181065367639,8441822398385275e-20,-26190838401581408e-21,36899182659531625e-22],Kb=.9189385332046728,Qb=[1.000000000190015,76.18009172947146,-86.50532032941678,24.01409824083091,-1.231739572450155,.001208650973866179,-5395239384953e-18];function Xb(e){if(e<0)return NaN;if(0===e)return 1/0;if(!isFinite(e))return e;if(e<.5)return Math.log(Math.PI/Math.sin(Math.PI*e))-Xb(1-e);for(var t=(e-=1)+5+.5,n=Qb[0],r=6;r>=1;r--)n+=Qb[r]/(e+r);return Kb+(e+.5)*Math.log(t)-t+Math.log(n)}Xb.signature="number";var Jb=iy("multiplyScalar",["typed"],(e=>{var{typed:t}=e;return t("multiplyScalar",{"number, number":Bx,"Complex, Complex":function(e,t){return e.mul(t)},"BigNumber, BigNumber":function(e,t){return e.times(t)},"Fraction, Fraction":function(e,t){return e.mul(t)},"number | Fraction | BigNumber | Complex, Unit":(e,t)=>t.multiply(e),"Unit, number | Fraction | BigNumber | Complex | Unit":(e,t)=>e.multiply(t)})})),ek="number, number";function tk(e){return!e}function nk(e,t){return!(!e&&!t)}function rk(e,t){return!!e!==!!t}function ok(e,t){return!(!e||!t)}tk.signature="number",nk.signature=ek,rk.signature=ek,ok.signature=ek;var ik=iy("number",["typed"],(e=>{var{typed:t}=e,n=t("number",{"":function(){return 0},number:function(e){return e},string:function(e){if("NaN"===e)return NaN;var t=function(e){var t=e.match(/(0[box])([0-9a-fA-F]*)\.([0-9a-fA-F]*)/);return t?{input:e,radix:{"0b":2,"0o":8,"0x":16}[t[1]],integerPart:t[2],fractionalPart:t[3]}:null}(e);if(t)return function(e){for(var t=parseInt(e.integerPart,e.radix),n=0,r=0;r<e.fractionalPart.length;r++)n+=parseInt(e.fractionalPart[r],e.radix)/Math.pow(e.radix,r+1);var o=t+n;if(isNaN(o))throw new SyntaxError('String "'+e.input+'" is not a valid number');return o}(t);var n=0,r=e.match(/(0[box][0-9a-fA-F]*)i([0-9]*)/);r&&(n=Number(r[2]),e=r[1]);var o=Number(e);if(isNaN(o))throw new SyntaxError('String "'+e+'" is not a valid number');if(r){if(o>2**n-1)throw new SyntaxError('String "'.concat(e,'" is out of range'));o>=2**(n-1)&&(o-=2**n)}return o},BigNumber:function(e){return e.toNumber()},Fraction:function(e){return e.valueOf()},Unit:t.referToSelf((e=>t=>{var n=t.clone();return n.value=e(t.value),n})),null:function(e){return 0},"Unit, string | Unit":function(e,t){return e.toNumber(t)},"Array | Matrix":t.referToSelf((e=>t=>Nx(t,e)))});return n.fromJSON=function(e){return parseFloat(e.value)},n})),ak=(iy("oct",["typed","format"],(e=>{var{typed:t,format:n}=e;return t("oct",{"number | BigNumber":function(e){return n(e,{notation:"oct"})},"number | BigNumber, number | BigNumber":function(e,t){return n(e,{notation:"oct",wordSize:t})}})})),n(4334));Date.now();var sk=iy("SparseMatrix",["typed","equalScalar","Matrix"],(e=>{var{typed:t,equalScalar:n,Matrix:r}=e;function o(e,t){if(!(this instanceof o))throw new SyntaxError("Constructor must be called with the new operator");if(t&&!bv(t))throw new Error("Invalid datatype: "+t);if(wv(e))!function(e,t,n){"SparseMatrix"===t.type?(e._values=t._values?ty(t._values):void 0,e._index=ty(t._index),e._ptr=ty(t._ptr),e._size=ty(t._size),e._datatype=n||t._datatype):i(e,t.valueOf(),n||t._datatype)}(this,e,t);else if(e&&kv(e.index)&&kv(e.ptr)&&kv(e.size))this._values=e.values,this._index=e.index,this._ptr=e.ptr,this._size=e.size,this._datatype=t||e.datatype;else if(kv(e))i(this,e,t);else{if(e)throw new TypeError("Unsupported type of data ("+ey(e)+")");this._values=[],this._index=[],this._ptr=[0],this._size=[0,0],this._datatype=t}}function i(e,r,o){e._values=[],e._index=[],e._ptr=[],e._datatype=o;var i=r.length,a=0,s=n,l=0;if(bv(o)&&(s=t.find(n,[o,o])||n,l=t.convert(0,o)),i>0){var u=0;do{e._ptr.push(e._index.length);for(var c=0;c<i;c++){var d=r[c];if(kv(d)){if(0===u&&a<d.length&&(a=d.length),u<d.length){var p=d[u];s(p,l)||(e._values.push(p),e._index.push(c))}}else 0===u&&a<1&&(a=1),s(d,l)||(e._values.push(d),e._index.push(c))}u++}while(u<a)}e._ptr.push(e._index.length),e._size=[i,a]}function a(e,t,n,r){if(n-t===0)return n;for(var o=t;o<n;o++)if(r[o]===e)return o;return t}function s(e,t,n,r,o,i,a){o.splice(e,0,r),i.splice(e,0,t);for(var s=n+1;s<a.length;s++)a[s]++}function l(e,r,o,i){var a=i||0,s=n,l=0;bv(e._datatype)&&(s=t.find(n,[e._datatype,e._datatype])||n,l=t.convert(0,e._datatype),a=t.convert(a,e._datatype));var u,c,d,p=!s(a,l),f=e._size[0],h=e._size[1];if(o>h){for(c=h;c<o;c++)if(e._ptr[c]=e._values.length,p)for(u=0;u<f;u++)e._values.push(a),e._index.push(u);e._ptr[o]=e._values.length}else o<h&&(e._ptr.splice(o+1,h-o),e._values.splice(e._ptr[o],e._values.length),e._index.splice(e._ptr[o],e._index.length));if(h=o,r>f){if(p){var m=0;for(c=0;c<h;c++){e._ptr[c]=e._ptr[c]+m,d=e._ptr[c+1]+m;var g=0;for(u=f;u<r;u++,g++)e._values.splice(d+g,0,a),e._index.splice(d+g,0,u),m++}e._ptr[h]=e._values.length}}else if(r<f){var v=0;for(c=0;c<h;c++){e._ptr[c]=e._ptr[c]-v;var y=e._ptr[c],x=e._ptr[c+1]-v;for(d=y;d<x;d++)(u=e._index[d])>r-1&&(e._values.splice(d,1),e._index.splice(d,1),v++)}e._ptr[c]=e._values.length}return e._size[0]=r,e._size[1]=o,e}function u(e,t,n,r,o){var i,a,s=r[0],l=r[1],u=[];for(i=0;i<s;i++)for(u[i]=[],a=0;a<l;a++)u[i][a]=0;for(a=0;a<l;a++)for(var c=n[a],d=n[a+1],p=c;p<d;p++)u[i=t[p]][a]=e?o?ty(e[p]):e[p]:1;return u}return o.prototype=new r,o.prototype.createSparseMatrix=function(e,t){return new o(e,t)},Object.defineProperty(o,"name",{value:"SparseMatrix"}),o.prototype.constructor=o,o.prototype.type="SparseMatrix",o.prototype.isSparseMatrix=!0,o.prototype.getDataType=function(){return cx(this._values,ey)},o.prototype.storage=function(){return"sparse"},o.prototype.datatype=function(){return this._datatype},o.prototype.create=function(e,t){return new o(e,t)},o.prototype.density=function(){var e=this._size[0],t=this._size[1];return 0!==e&&0!==t?this._index.length/(e*t):0},o.prototype.subset=function(e,t,n){if(!this._values)throw new Error("Cannot invoke subset on a Pattern only matrix");switch(arguments.length){case 1:return function(e,t){if(!Dv(t))throw new TypeError("Invalid index");if(t.isScalar())return e.get(t.min());var n,r,i,a,s=t.size();if(s.length!==e._size.length)throw new Ky(s.length,e._size.length);var l=t.min(),u=t.max();for(n=0,r=e._size.length;n<r;n++)tx(l[n],e._size[n]),tx(u[n],e._size[n]);var c=e._values,d=e._index,p=e._ptr,f=t.dimension(0),h=t.dimension(1),m=[],g=[];f.forEach((function(e,t){g[e]=t[0],m[e]=!0}));var v=c?[]:void 0,y=[],x=[];return h.forEach((function(e){for(x.push(y.length),i=p[e],a=p[e+1];i<a;i++)n=d[i],!0===m[n]&&(y.push(g[n]),v&&v.push(c[i]))})),x.push(y.length),new o({values:v,index:y,ptr:x,size:s,datatype:e._datatype})}(this,e);case 2:case 3:return function(e,t,n,r){if(!t||!0!==t.isIndex)throw new TypeError("Invalid index");var o,i=t.size(),a=t.isScalar();wv(n)?(o=n.size(),n=n.toArray()):o=Xy(n);if(a){if(0!==o.length)throw new TypeError("Scalar expected");e.set(t.min(),n,r)}else{if(1!==i.length&&2!==i.length)throw new Ky(i.length,e._size.length,"<");if(o.length<i.length){for(var s=0,l=0;1===i[s]&&1===o[s];)s++;for(;1===i[s];)l++,s++;n=sx(n,i.length,l,o)}if(!ry(i,o))throw new Ky(i,o,">");if(1===i.length){t.dimension(0).forEach((function(t,o){tx(t),e.set([t,0],n[o[0]],r)}))}else{var u=t.dimension(0),c=t.dimension(1);u.forEach((function(t,o){tx(t),c.forEach((function(i,a){tx(i),e.set([t,i],n[o[0]][a[0]],r)}))}))}}return e}(this,e,t,n);default:throw new SyntaxError("Wrong number of arguments")}},o.prototype.get=function(e){if(!kv(e))throw new TypeError("Array expected");if(e.length!==this._size.length)throw new Ky(e.length,this._size.length);if(!this._values)throw new Error("Cannot invoke get on a Pattern only matrix");var t=e[0],n=e[1];tx(t,this._size[0]),tx(n,this._size[1]);var r=a(t,this._ptr[n],this._ptr[n+1],this._index);return r<this._ptr[n+1]&&this._index[r]===t?this._values[r]:0},o.prototype.set=function(e,r,o){if(!kv(e))throw new TypeError("Array expected");if(e.length!==this._size.length)throw new Ky(e.length,this._size.length);if(!this._values)throw new Error("Cannot invoke set on a Pattern only matrix");var i=e[0],u=e[1],c=this._size[0],d=this._size[1],p=n,f=0;bv(this._datatype)&&(p=t.find(n,[this._datatype,this._datatype])||n,f=t.convert(0,this._datatype)),(i>c-1||u>d-1)&&(l(this,Math.max(i+1,c),Math.max(u+1,d),o),c=this._size[0],d=this._size[1]),tx(i,c),tx(u,d);var h=a(i,this._ptr[u],this._ptr[u+1],this._index);return h<this._ptr[u+1]&&this._index[h]===i?p(r,f)?function(e,t,n,r,o){n.splice(e,1),r.splice(e,1);for(var i=t+1;i<o.length;i++)o[i]--}(h,u,this._values,this._index,this._ptr):this._values[h]=r:p(r,f)||s(h,i,u,r,this._values,this._index,this._ptr),this},o.prototype.resize=function(e,t,n){if(!Ev(e))throw new TypeError("Array or Matrix expected");var r=e.valueOf().map((e=>Array.isArray(e)&&1===e.length?e[0]:e));if(2!==r.length)throw new Error("Only two dimensions matrix are supported");return r.forEach((function(e){if(!mv(e)||!uy(e)||e<0)throw new TypeError("Invalid size, must contain positive integers (size: "+Uy(r)+")")})),l(n?this.clone():this,r[0],r[1],t)},o.prototype.reshape=function(e,t){if(!kv(e))throw new TypeError("Array expected");if(2!==e.length)throw new Error("Sparse matrices can only be reshaped in two dimensions");e.forEach((function(t){if(!mv(t)||!uy(t)||t<=-2||0===t)throw new TypeError("Invalid size, must contain positive integers or -1 (size: "+Uy(e)+")")}));var n=this._size[0]*this._size[1];if(n!==(e=ix(e,n))[0]*e[1])throw new Error("Reshaping sparse matrix will result in the wrong number of elements");var r=t?this.clone():this;if(this._size[0]===e[0]&&this._size[1]===e[1])return r;for(var o=[],i=0;i<r._ptr.length;i++)for(var l=0;l<r._ptr[i+1]-r._ptr[i];l++)o.push(i);for(var u=r._values.slice(),c=r._index.slice(),d=0;d<r._index.length;d++){var p=c[d],f=o[d],h=p*r._size[1]+f;o[d]=h%e[1],c[d]=Math.floor(h/e[1])}r._values.length=0,r._index.length=0,r._ptr.length=e[1]+1,r._size=e.slice();for(var m=0;m<r._ptr.length;m++)r._ptr[m]=0;for(var g=0;g<u.length;g++){var v=c[g],y=o[g],x=u[g];s(a(v,r._ptr[y],r._ptr[y+1],r._index),v,y,x,r._values,r._index,r._ptr)}return r},o.prototype.clone=function(){return new o({values:this._values?ty(this._values):void 0,index:ty(this._index),ptr:ty(this._ptr),size:ty(this._size),datatype:this._datatype})},o.prototype.size=function(){return this._size.slice(0)},o.prototype.map=function(e,r){if(!this._values)throw new Error("Cannot invoke map on a Pattern only matrix");var i=this,a=this._size[0],s=this._size[1],l=Oy(e);return function(e,r,i,a,s,l,u){var c=[],d=[],p=[],f=n,h=0;bv(e._datatype)&&(f=t.find(n,[e._datatype,e._datatype])||n,h=t.convert(0,e._datatype));for(var m=function(e,t,n){e=l(e,t,n),f(e,h)||(c.push(e),d.push(t))},g=a;g<=s;g++){p.push(c.length);var v=e._ptr[g],y=e._ptr[g+1];if(u)for(var x=v;x<y;x++){var b=e._index[x];b>=r&&b<=i&&m(e._values[x],b-r,g-a)}else{for(var k={},w=v;w<y;w++){k[e._index[w]]=e._values[w]}for(var E=r;E<=i;E++){m(E in k?k[E]:0,E-r,g-a)}}}return p.push(c.length),new o({values:c,index:d,ptr:p,size:[i-r+1,s-a+1]})}(this,0,a-1,0,s-1,(function(t,n,r){return 1===l?e(t):2===l?e(t,[n,r]):e(t,[n,r],i)}),r)},o.prototype.forEach=function(e,t){if(!this._values)throw new Error("Cannot invoke forEach on a Pattern only matrix");for(var n=this._size[0],r=this._size[1],o=0;o<r;o++){var i=this._ptr[o],a=this._ptr[o+1];if(t)for(var s=i;s<a;s++){var l=this._index[s];e(this._values[s],[l,o],this)}else{for(var u={},c=i;c<a;c++){u[this._index[c]]=this._values[c]}for(var d=0;d<n;d++){e(d in u?u[d]:0,[d,o],this)}}}},o.prototype[Symbol.iterator]=function*(){if(!this._values)throw new Error("Cannot iterate a Pattern only matrix");for(var e=this._size[1],t=0;t<e;t++)for(var n=this._ptr[t],r=this._ptr[t+1],o=n;o<r;o++){var i=this._index[o];yield{value:this._values[o],index:[i,t]}}},o.prototype.toArray=function(){return u(this._values,this._index,this._ptr,this._size,!0)},o.prototype.valueOf=function(){return u(this._values,this._index,this._ptr,this._size,!1)},o.prototype.format=function(e){for(var t=this._size[0],n=this._size[1],r=this.density(),o="Sparse Matrix ["+Uy(t,e)+" x "+Uy(n,e)+"] density: "+Uy(r,e)+"\n",i=0;i<n;i++)for(var a=this._ptr[i],s=this._ptr[i+1],l=a;l<s;l++){o+="\n    ("+Uy(this._index[l],e)+", "+Uy(i,e)+") ==> "+(this._values?Uy(this._values[l],e):"X")}return o},o.prototype.toString=function(){return Uy(this.toArray())},o.prototype.toJSON=function(){return{mathjs:"SparseMatrix",values:this._values,index:this._index,ptr:this._ptr,size:this._size,datatype:this._datatype}},o.prototype.diagonal=function(e){if(e){if(gv(e)&&(e=e.toNumber()),!mv(e)||!uy(e))throw new TypeError("The parameter k must be an integer number")}else e=0;var t=e>0?e:0,n=e<0?-e:0,r=this._size[0],i=this._size[1],a=Math.min(r-n,i-t),s=[],l=[],u=[];u[0]=0;for(var c=t;c<i&&s.length<a;c++)for(var d=this._ptr[c],p=this._ptr[c+1],f=d;f<p;f++){var h=this._index[f];if(h===c-t+n){s.push(this._values[f]),l[s.length-1]=h-n;break}}return u.push(s.length),new o({values:s,index:l,ptr:u,size:[a,1]})},o.fromJSON=function(e){return new o(e)},o.diagonal=function(e,r,i,a,s){if(!kv(e))throw new TypeError("Array expected, size parameter");if(2!==e.length)throw new Error("Only two dimensions matrix are supported");if(e=e.map((function(e){if(gv(e)&&(e=e.toNumber()),!mv(e)||!uy(e)||e<1)throw new Error("Size values must be positive integers");return e})),i){if(gv(i)&&(i=i.toNumber()),!mv(i)||!uy(i))throw new TypeError("The parameter k must be an integer number")}else i=0;var l=n,u=0;bv(s)&&(l=t.find(n,[s,s])||n,u=t.convert(0,s));var c,d=i>0?i:0,p=i<0?-i:0,f=e[0],h=e[1],m=Math.min(f-p,h-d);if(kv(r)){if(r.length!==m)throw new Error("Invalid value array length");c=function(e){return r[e]}}else if(wv(r)){var g=r.size();if(1!==g.length||g[0]!==m)throw new Error("Invalid matrix length");c=function(e){return r.get([e])}}else c=function(){return r};for(var v=[],y=[],x=[],b=0;b<h;b++){x.push(v.length);var k=b-d;if(k>=0&&k<m){var w=c(k);l(w,u)||(y.push(k+p),v.push(w))}}return x.push(v.length),new o({values:v,index:y,ptr:x,size:[f,h]})},o.prototype.swapRows=function(e,t){if(!mv(e)||!uy(e)||!mv(t)||!uy(t))throw new Error("Row index must be positive integers");if(2!==this._size.length)throw new Error("Only two dimensional matrix is supported");return tx(e,this._size[0]),tx(t,this._size[0]),o._swapRows(e,t,this._size[1],this._values,this._index,this._ptr),this},o._forEachRow=function(e,t,n,r,o){for(var i=r[e],a=r[e+1],s=i;s<a;s++)o(n[s],t[s])},o._swapRows=function(e,t,n,r,o,i){for(var s=0;s<n;s++){var l=i[s],u=i[s+1],c=a(e,l,u,o),d=a(t,l,u,o);if(c<u&&d<u&&o[c]===e&&o[d]===t){if(r){var p=r[c];r[c]=r[d],r[d]=p}}else if(c<u&&o[c]===e&&(d>=u||o[d]!==t)){var f=r?r[c]:void 0;o.splice(d,0,t),r&&r.splice(d,0,f),o.splice(d<=c?c+1:c,1),r&&r.splice(d<=c?c+1:c,1)}else if(d<u&&o[d]===t&&(c>=u||o[c]!==e)){var h=r?r[d]:void 0;o.splice(c,0,e),r&&r.splice(c,0,h),o.splice(c<=d?d+1:d,1),r&&r.splice(c<=d?d+1:d,1)}}},o}),{isClass:!0}),lk="subtractScalar",uk=iy(lk,["typed"],(e=>{var{typed:t}=e;return t(lk,{"number, number":Ix,"Complex, Complex":function(e,t){return e.sub(t)},"BigNumber, BigNumber":function(e,t){return e.minus(t)},"Fraction, Fraction":function(e,t){return e.sub(t)},"Unit, Unit":t.referToSelf((e=>(n,r)=>{if(null===n.value||void 0===n.value)throw new Error("Parameter x contains a unit with undefined value");if(null===r.value||void 0===r.value)throw new Error("Parameter y contains a unit with undefined value");if(!n.equalBase(r))throw new Error("Units do not match");var o=n.clone();return o.value=t.find(e,[o.valueType(),r.valueType()])(o.value,r.value),o.fixPrefix=!1,o}))})}));iy("bin",["typed","format"],(e=>{var{typed:t,format:n}=e;return t("bin",{"number | BigNumber":function(e){return n(e,{notation:"bin"})},"number | BigNumber, number | BigNumber":function(e,t){return n(e,{notation:"bin",wordSize:t})}})}));var ck="unaryMinus",dk=iy(ck,["typed"],(e=>{var{typed:t}=e;return t(ck,{number:Wx,"Complex | BigNumber | Fraction":e=>e.neg(),Unit:t.referToSelf((e=>n=>{var r=n.clone();return r.value=t.find(e,r.valueType())(n.value),r})),"Array | Matrix":t.referToSelf((e=>t=>Nx(t,e,!0)))})})),pk=iy("fraction",["typed","Fraction"],(e=>{var{typed:t,Fraction:n}=e;return t("fraction",{number:function(e){if(!isFinite(e)||isNaN(e))throw new Error(e+" cannot be represented as a fraction");return new n(e)},string:function(e){return new n(e)},"number, number":function(e,t){return new n(e,t)},null:function(e){return new n(0)},BigNumber:function(e){return new n(e.toString())},Fraction:function(e){return e},Unit:t.referToSelf((e=>t=>{var n=t.clone();return n.value=e(t.value),n})),Object:function(e){return new n(e)},"Array | Matrix":t.referToSelf((e=>t=>Nx(t,e)))})})),fk="matrix",hk=iy(fk,["typed","Matrix","DenseMatrix","SparseMatrix"],(e=>{var{typed:t,Matrix:n,DenseMatrix:r,SparseMatrix:o}=e;return t(fk,{"":function(){return i([])},string:function(e){return i([],e)},"string, string":function(e,t){return i([],e,t)},Array:function(e){return i(e)},Matrix:function(e){return i(e,e.storage())},"Array | Matrix, string":i,"Array | Matrix, string, string":i});function i(e,t,n){if("dense"===t||"default"===t||void 0===t)return new r(e,n);if("sparse"===t)return new o(e,n);throw new TypeError("Unknown matrix type "+JSON.stringify(t)+".")}}));function mk(){throw new Error('No "bignumber" implementation available')}function gk(){throw new Error('No "fraction" implementation available')}function vk(){throw new Error('No "matrix" implementation available')}var yk=iy("numeric",["number","?bignumber","?fraction"],(e=>{var{number:t,bignumber:n,fraction:r}=e,o={string:!0,number:!0,BigNumber:!0,Fraction:!0},i={number:e=>t(e),BigNumber:n?e=>n(e):mk,Fraction:r?e=>r(e):gk};return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"number";if(void 0!==(arguments.length>2?arguments[2]:void 0))throw new SyntaxError("numeric() takes one or two arguments");var n=ey(e);if(!(n in o))throw new TypeError("Cannot convert "+e+' of type "'+n+'"; valid input types are '+Object.keys(o).join(", "));if(!(t in i))throw new TypeError("Cannot convert "+e+' to type "'+t+'"; valid output types are '+Object.keys(i).join(", "));return t===n?e:i[t](e)}}));var xk="size",bk=iy(xk,["typed","config","?matrix"],(e=>{var{typed:t,config:n,matrix:r}=e;return t(xk,{Matrix:function(e){return e.create(e.size())},Array:Xy,string:function(e){return"Array"===n.matrix?[e.length]:r([e.length])},"number | Complex | BigNumber | Unit | boolean | null":function(e){return"Array"===n.matrix?[]:r?r([]):vk()}})})),kk="concat",wk=iy(kk,["typed","matrix","isInteger"],(e=>{var{typed:t,matrix:n,isInteger:r}=e;return t(kk,{"...Array | Matrix | number | BigNumber":function(e){var t,o,i=e.length,a=-1,s=!1,l=[];for(t=0;t<i;t++){var u=e[t];if(wv(u)&&(s=!0),mv(u)||gv(u)){if(t!==i-1)throw new Error("Dimension must be specified as last argument");if(o=a,a=u.valueOf(),!r(a))throw new TypeError("Integer number expected for dimension");if(a<0||t>0&&a>o)throw new Qy(a,o+1)}else{var c=ty(u).valueOf(),d=Xy(c);if(l[t]=c,o=a,a=d.length-1,t>0&&a!==o)throw new Ky(o+1,a+1)}}if(0===l.length)throw new SyntaxError("At least one matrix expected");for(var p=l.shift();l.length;)p=px(p,l.shift(),a);return s?n(p):p},"...string":function(e){return e.join("")}})})),Ek="divideScalar",_k=iy(Ek,["typed","numeric"],(e=>{var{typed:t,numeric:n}=e;return t(Ek,{"number, number":function(e,t){return e/t},"Complex, Complex":function(e,t){return e.div(t)},"BigNumber, BigNumber":function(e,t){return e.div(t)},"Fraction, Fraction":function(e,t){return e.div(t)},"Unit, number | Complex | Fraction | BigNumber | Unit":(e,t)=>e.divide(t),"number | Fraction | Complex | BigNumber, Unit":(e,t)=>t.divideInto(e)})})),Ck=iy("matAlgo03xDSf",["typed"],(e=>{var{typed:t}=e;return function(e,n,r,o){var i=e._data,a=e._size,s=e._datatype||e.getDataType(),l=n._values,u=n._index,c=n._ptr,d=n._size,p=n._datatype||void 0===n._data?n._datatype:n.getDataType();if(a.length!==d.length)throw new Ky(a.length,d.length);if(a[0]!==d[0]||a[1]!==d[1])throw new RangeError("Dimension mismatch. Matrix A ("+a+") must match Matrix B ("+d+")");if(!l)throw new Error("Cannot perform operation on Dense Matrix and Pattern Sparse Matrix");var f,h=a[0],m=a[1],g=0,v=r;"string"===typeof s&&s===p&&"mixed"!==s&&(f=s,g=t.convert(0,f),v=t.find(r,[f,f]));for(var y=[],x=0;x<h;x++)y[x]=[];for(var b=[],k=[],w=0;w<m;w++){for(var E=w+1,_=c[w],C=c[w+1],S=_;S<C;S++){var D=u[S];b[D]=o?v(l[S],i[D][w]):v(i[D][w],l[S]),k[D]=E}for(var j=0;j<h;j++)k[j]===E?y[j][w]=b[j]:y[j][w]=o?v(g,i[j][w]):v(i[j][w],g)}return e.createDenseMatrix({data:y,size:[h,m],datatype:s===e._datatype&&p===n._datatype?f:void 0})}})),Sk=iy("matAlgo11xS0s",["typed","equalScalar"],(e=>{var{typed:t,equalScalar:n}=e;return function(e,r,o,i){var a=e._values,s=e._index,l=e._ptr,u=e._size,c=e._datatype;if(!a)throw new Error("Cannot perform operation on Pattern Sparse Matrix and Scalar value");var d,p=u[0],f=u[1],h=n,m=0,g=o;"string"===typeof c&&(d=c,h=t.find(n,[d,d]),m=t.convert(0,d),r=t.convert(r,d),g=t.find(o,[d,d]));for(var v=[],y=[],x=[],b=0;b<f;b++){x[b]=y.length;for(var k=l[b],w=l[b+1],E=k;E<w;E++){var _=s[E],C=i?g(r,a[E]):g(a[E],r);h(C,m)||(y.push(_),v.push(C))}}return x[f]=y.length,e.createSparseMatrix({values:v,index:y,ptr:x,size:[p,f],datatype:d})}})),Dk=iy("matAlgo12xSfs",["typed","DenseMatrix"],(e=>{var{typed:t,DenseMatrix:n}=e;return function(e,r,o,i){var a=e._values,s=e._index,l=e._ptr,u=e._size,c=e._datatype;if(!a)throw new Error("Cannot perform operation on Pattern Sparse Matrix and Scalar value");var d,p=u[0],f=u[1],h=o;"string"===typeof c&&(d=c,r=t.convert(r,d),h=t.find(o,[d,d]));for(var m=[],g=[],v=[],y=0;y<f;y++){for(var x=y+1,b=l[y],k=l[y+1],w=b;w<k;w++){var E=s[w];g[E]=a[w],v[E]=x}for(var _=0;_<p;_++)0===y&&(m[_]=[]),v[_]===x?m[_][y]=i?h(r,g[_]):h(g[_],r):m[_][y]=i?h(r,0):h(0,r)}return new n({data:m,size:[p,f],datatype:d})}})),jk=iy("matAlgo13xDD",["typed"],(e=>{var{typed:t}=e;return function(e,r,o){var i,a=e._data,s=e._size,l=e._datatype,u=r._data,c=r._size,d=r._datatype,p=[];if(s.length!==c.length)throw new Ky(s.length,c.length);for(var f=0;f<s.length;f++){if(s[f]!==c[f])throw new RangeError("Dimension mismatch. Matrix A ("+s+") must match Matrix B ("+c+")");p[f]=s[f]}var h=o;"string"===typeof l&&l===d&&(i=l,h=t.find(o,[i,i]));var m=p.length>0?n(h,0,p,p[0],a,u):[];return e.createDenseMatrix({data:m,size:p,datatype:i})};function n(e,t,r,o,i,a){var s=[];if(t===r.length-1)for(var l=0;l<o;l++)s[l]=e(i[l],a[l]);else for(var u=0;u<o;u++)s[u]=n(e,t+1,r,r[t+1],i[u],a[u]);return s}})),Ak=iy("matAlgo14xDs",["typed"],(e=>{var{typed:t}=e;return function(e,r,o,i){var a,s=e._data,l=e._size,u=e._datatype,c=o;"string"===typeof u&&(a=u,r=t.convert(r,a),c=t.find(o,[a,a]));var d=l.length>0?n(c,0,l,l[0],s,r,i):[];return e.createDenseMatrix({data:d,size:ty(l),datatype:a})};function n(e,t,r,o,i,a,s){var l=[];if(t===r.length-1)for(var u=0;u<o;u++)l[u]=s?e(a,i[u]):e(i[u],a);else for(var c=0;c<o;c++)l[c]=n(e,t+1,r,r[t+1],i[c],a,s);return l}})),Pk=iy("broadcast",["concat"],(e=>{var{concat:t}=e;return function(e,t){var o=Math.max(e._size.length,t._size.length);if(e._size.length===t._size.length&&e._size.every(((e,n)=>e===t._size[n])))return[e,t];for(var i=n(e._size,o,0),a=n(t._size,o,0),s=[],l=0;l<o;l++)s[l]=Math.max(i[l],a[l]);hx(i,s),hx(a,s);var u=e.clone(),c=t.clone();u._size.length<o?u.reshape(n(u._size,o,1)):c._size.length<o&&c.reshape(n(c._size,o,1));for(var d=0;d<o;d++)u._size[d]<s[d]&&(u=r(u,s[d],d)),c._size[d]<s[d]&&(c=r(c,s[d],d));return[u,c]};function n(e,t,n){return[...Array(t-e.length).fill(n),...e]}function r(e,n,r){return t(...Array(n).fill(e),r)}})),Lk=iy("matrixAlgorithmSuite",["typed","matrix","concat"],(e=>{var{typed:t,matrix:n,concat:r}=e,o=jk({typed:t}),i=Ak({typed:t}),a=Pk({concat:r});return function(e){var r,s=e.elop,l=e.SD||e.DS;s?(r={"DenseMatrix, DenseMatrix":(e,t)=>o(...a(e,t),s),"Array, Array":(e,t)=>o(...a(n(e),n(t)),s).valueOf(),"Array, DenseMatrix":(e,t)=>o(...a(n(e),t),s),"DenseMatrix, Array":(e,t)=>o(...a(e,n(t)),s)},e.SS&&(r["SparseMatrix, SparseMatrix"]=(t,n)=>e.SS(...a(t,n),s,!1)),e.DS&&(r["DenseMatrix, SparseMatrix"]=(t,n)=>e.DS(...a(t,n),s,!1),r["Array, SparseMatrix"]=(t,r)=>e.DS(...a(n(t),r),s,!1)),l&&(r["SparseMatrix, DenseMatrix"]=(e,t)=>l(...a(t,e),s,!0),r["SparseMatrix, Array"]=(e,t)=>l(...a(n(t),e),s,!0))):(r={"DenseMatrix, DenseMatrix":t.referToSelf((e=>(t,n)=>o(...a(t,n),e))),"Array, Array":t.referToSelf((e=>(t,r)=>o(...a(n(t),n(r)),e).valueOf())),"Array, DenseMatrix":t.referToSelf((e=>(t,r)=>o(...a(n(t),r),e))),"DenseMatrix, Array":t.referToSelf((e=>(t,r)=>o(...a(t,n(r)),e)))},e.SS&&(r["SparseMatrix, SparseMatrix"]=t.referToSelf((t=>(n,r)=>e.SS(...a(n,r),t,!1)))),e.DS&&(r["DenseMatrix, SparseMatrix"]=t.referToSelf((t=>(n,r)=>e.DS(...a(n,r),t,!1))),r["Array, SparseMatrix"]=t.referToSelf((t=>(r,o)=>e.DS(...a(n(r),o),t,!1)))),l&&(r["SparseMatrix, DenseMatrix"]=t.referToSelf((e=>(t,n)=>l(...a(n,t),e,!0))),r["SparseMatrix, Array"]=t.referToSelf((e=>(t,r)=>l(...a(n(r),t),e,!0)))));var u=e.scalar||"any";(e.Ds||e.Ss)&&(s?(r["DenseMatrix,"+u]=(e,t)=>i(e,t,s,!1),r[u+", DenseMatrix"]=(e,t)=>i(t,e,s,!0),r["Array,"+u]=(e,t)=>i(n(e),t,s,!1).valueOf(),r[u+", Array"]=(e,t)=>i(n(t),e,s,!0).valueOf()):(r["DenseMatrix,"+u]=t.referToSelf((e=>(t,n)=>i(t,n,e,!1))),r[u+", DenseMatrix"]=t.referToSelf((e=>(t,n)=>i(n,t,e,!0))),r["Array,"+u]=t.referToSelf((e=>(t,r)=>i(n(t),r,e,!1).valueOf())),r[u+", Array"]=t.referToSelf((e=>(t,r)=>i(n(r),t,e,!0).valueOf()))));var c=void 0!==e.sS?e.sS:e.Ss;return s?(e.Ss&&(r["SparseMatrix,"+u]=(t,n)=>e.Ss(t,n,s,!1)),c&&(r[u+", SparseMatrix"]=(e,t)=>c(t,e,s,!0))):(e.Ss&&(r["SparseMatrix,"+u]=t.referToSelf((t=>(n,r)=>e.Ss(n,r,t,!1)))),c&&(r[u+", SparseMatrix"]=t.referToSelf((e=>(t,n)=>c(n,t,e,!0))))),s&&s.signatures&&ny(r,s.signatures),r}})),Mk="equal",Nk=(iy(Mk,["typed","equalScalar"],(e=>{var{typed:t,equalScalar:n}=e;return t(Mk,{"any, any":function(e,t){return null===e?null===t:null===t?null===e:void 0===e?void 0===t:void 0===t?void 0===e:n(e,t)}})})),"identity"),Ok=iy(Nk,["typed","config","matrix","BigNumber","DenseMatrix","SparseMatrix"],(e=>{var{typed:t,config:n,matrix:r,BigNumber:o,DenseMatrix:i,SparseMatrix:a}=e;return t(Nk,{"":function(){return"Matrix"===n.matrix?r([]):[]},string:function(e){return r(e)},"number | BigNumber":function(e){return l(e,e,"Matrix"===n.matrix?"dense":void 0)},"number | BigNumber, string":function(e,t){return l(e,e,t)},"number | BigNumber, number | BigNumber":function(e,t){return l(e,t,"Matrix"===n.matrix?"dense":void 0)},"number | BigNumber, number | BigNumber, string":function(e,t,n){return l(e,t,n)},Array:function(e){return s(e)},"Array, string":function(e,t){return s(e,t)},Matrix:function(e){return s(e.valueOf(),e.storage())},"Matrix, string":function(e,t){return s(e.valueOf(),t)}});function s(e,t){switch(e.length){case 0:return t?r(t):[];case 1:return l(e[0],e[0],t);case 2:return l(e[0],e[1],t);default:throw new Error("Vector containing two values expected")}}function l(e,t,n){var r=gv(e)||gv(t)?o:null;if(gv(e)&&(e=e.toNumber()),gv(t)&&(t=t.toNumber()),!uy(e)||e<1)throw new Error("Parameters in function identity must be positive integers");if(!uy(t)||t<1)throw new Error("Parameters in function identity must be positive integers");var s=r?new o(1):1,l=r?new r(0):0,u=[e,t];if(n){if("sparse"===n)return a.diagonal(u,s,0,l);if("dense"===n)return i.diagonal(u,s,0,l);throw new TypeError('Unknown matrix type "'.concat(n,'"'))}for(var c=nx([],u,l),d=e<t?e:t,p=0;p<d;p++)c[p][p]=s;return c}})),Tk=iy("matAlgo01xDSid",["typed"],(e=>{var{typed:t}=e;return function(e,n,r,o){var i=e._data,a=e._size,s=e._datatype||e.getDataType(),l=n._values,u=n._index,c=n._ptr,d=n._size,p=n._datatype||void 0===n._data?n._datatype:n.getDataType();if(a.length!==d.length)throw new Ky(a.length,d.length);if(a[0]!==d[0]||a[1]!==d[1])throw new RangeError("Dimension mismatch. Matrix A ("+a+") must match Matrix B ("+d+")");if(!l)throw new Error("Cannot perform operation on Dense Matrix and Pattern Sparse Matrix");var f,h,m=a[0],g=a[1],v="string"===typeof s&&"mixed"!==s&&s===p?s:void 0,y=v?t.find(r,[v,v]):r,x=[];for(f=0;f<m;f++)x[f]=[];var b=[],k=[];for(h=0;h<g;h++){for(var w=h+1,E=c[h],_=c[h+1],C=E;C<_;C++)b[f=u[C]]=o?y(l[C],i[f][h]):y(i[f][h],l[C]),k[f]=w;for(f=0;f<m;f++)k[f]===w?x[f][h]=b[f]:x[f][h]=i[f][h]}return e.createDenseMatrix({data:x,size:[m,g],datatype:s===e._datatype&&p===n._datatype?v:void 0})}})),Fk=iy("matAlgo10xSids",["typed","DenseMatrix"],(e=>{var{typed:t,DenseMatrix:n}=e;return function(e,r,o,i){var a=e._values,s=e._index,l=e._ptr,u=e._size,c=e._datatype;if(!a)throw new Error("Cannot perform operation on Pattern Sparse Matrix and Scalar value");var d,p=u[0],f=u[1],h=o;"string"===typeof c&&(d=c,r=t.convert(r,d),h=t.find(o,[d,d]));for(var m=[],g=[],v=[],y=0;y<f;y++){for(var x=y+1,b=l[y],k=l[y+1],w=b;w<k;w++){var E=s[w];g[E]=a[w],v[E]=x}for(var _=0;_<p;_++)0===y&&(m[_]=[]),v[_]===x?m[_][y]=i?h(r,g[_]):h(g[_],r):m[_][y]=r}return new n({data:m,size:[p,f],datatype:d})}}));function Rk(e,t,n,r){if(!(this instanceof Rk))throw new SyntaxError("Constructor must be called with the new operator");this.fn=e,this.count=t,this.min=n,this.max=r,this.message="Wrong number of arguments in function "+e+" ("+t+" provided, "+n+(void 0!==r&&null!==r?"-"+r:"")+" expected)",this.stack=(new Error).stack}Rk.prototype=new Error,Rk.prototype.constructor=Error,Rk.prototype.name="ArgumentsError",Rk.prototype.isArgumentsError=!0;var Ik=iy("matAlgo05xSfSf",["typed","equalScalar"],(e=>{var{typed:t,equalScalar:n}=e;return function(e,r,o){var i=e._values,a=e._index,s=e._ptr,l=e._size,u=e._datatype||void 0===e._data?e._datatype:e.getDataType(),c=r._values,d=r._index,p=r._ptr,f=r._size,h=r._datatype||void 0===r._data?r._datatype:r.getDataType();if(l.length!==f.length)throw new Ky(l.length,f.length);if(l[0]!==f[0]||l[1]!==f[1])throw new RangeError("Dimension mismatch. Matrix A ("+l+") must match Matrix B ("+f+")");var m,g=l[0],v=l[1],y=n,x=0,b=o;"string"===typeof u&&u===h&&"mixed"!==u&&(m=u,y=t.find(n,[m,m]),x=t.convert(0,m),b=t.find(o,[m,m]));var k,w,E,_,C=i&&c?[]:void 0,S=[],D=[],j=C?[]:void 0,A=C?[]:void 0,P=[],L=[];for(w=0;w<v;w++){D[w]=S.length;var M=w+1;for(E=s[w],_=s[w+1];E<_;E++)k=a[E],S.push(k),P[k]=M,j&&(j[k]=i[E]);for(E=p[w],_=p[w+1];E<_;E++)P[k=d[E]]!==M&&S.push(k),L[k]=M,A&&(A[k]=c[E]);if(C)for(E=D[w];E<S.length;){var N=P[k=S[E]],O=L[k];if(N===M||O===M){var T=b(N===M?j[k]:x,O===M?A[k]:x);y(T,x)?S.splice(E,1):(C.push(T),E++)}}}return D[v]=S.length,e.createSparseMatrix({values:C,index:S,ptr:D,size:[g,v],datatype:u===e._datatype&&h===r._datatype?m:void 0})}})),Bk="subtract",Wk=iy(Bk,["typed","matrix","equalScalar","subtractScalar","unaryMinus","DenseMatrix","concat"],(e=>{var{typed:t,matrix:n,equalScalar:r,subtractScalar:o,unaryMinus:i,DenseMatrix:a,concat:s}=e,l=Tk({typed:t}),u=Ck({typed:t}),c=Ik({typed:t,equalScalar:r}),d=Fk({typed:t,DenseMatrix:a}),p=Dk({typed:t,DenseMatrix:a}),f=Lk({typed:t,matrix:n,concat:s});return t(Bk,{"any, any":o},f({elop:o,SS:c,DS:l,SD:u,Ss:p,sS:d}))})),zk="unequal";iy(zk,["typed","equalScalar"],(e=>{var{typed:t,equalScalar:n}=e;return t(zk,{"any, any":function(e,t){return null===e?null!==t:null===t?null!==e:void 0===e?void 0!==t:void 0===t?void 0!==e:!n(e,t)}})}));Zy.signature="any, any";var $k=iy("dot",["typed","addScalar","multiplyScalar","conj","size"],(e=>{var{typed:t,addScalar:n,multiplyScalar:r,conj:o,size:i}=e;return t("dot",{"Array | DenseMatrix, Array | DenseMatrix":function(e,i){var l=a(e,i),u=wv(e)?e._data:e,c=wv(e)?e._datatype||e.getDataType():void 0,d=wv(i)?i._data:i,p=wv(i)?i._datatype||i.getDataType():void 0,f=2===s(e).length,h=2===s(i).length,m=n,g=r;if(c&&p&&c===p&&"string"===typeof c&&"mixed"!==c){var v=c;m=t.find(n,[v,v]),g=t.find(r,[v,v])}if(!f&&!h){for(var y=g(o(u[0]),d[0]),x=1;x<l;x++)y=m(y,g(o(u[x]),d[x]));return y}if(!f&&h){for(var b=g(o(u[0]),d[0][0]),k=1;k<l;k++)b=m(b,g(o(u[k]),d[k][0]));return b}if(f&&!h){for(var w=g(o(u[0][0]),d[0]),E=1;E<l;E++)w=m(w,g(o(u[E][0]),d[E]));return w}if(f&&h){for(var _=g(o(u[0][0]),d[0][0]),C=1;C<l;C++)_=m(_,g(o(u[C][0]),d[C][0]));return _}},"SparseMatrix, SparseMatrix":function(e,t){a(e,t);var o=e._index,i=e._values,s=t._index,l=t._values,u=0,c=n,d=r,p=0,f=0;for(;p<o.length&&f<s.length;){var h=o[p],m=s[f];h<m?p++:h>m?f++:h===m&&(u=c(u,d(i[p],l[f])),p++,f++)}return u}});function a(e,t){var n,r,o=s(e),i=s(t);if(1===o.length)n=o[0];else{if(2!==o.length||1!==o[1])throw new RangeError("Expected a column vector, instead got a matrix of size ("+o.join(", ")+")");n=o[0]}if(1===i.length)r=i[0];else{if(2!==i.length||1!==i[1])throw new RangeError("Expected a column vector, instead got a matrix of size ("+i.join(", ")+")");r=i[0]}if(n!==r)throw new RangeError("Vectors must have equal length ("+n+" != "+r+")");if(0===n)throw new RangeError("Cannot calculate the dot product of empty vectors");return n}function s(e){return wv(e)?e.size():i(e)}})),Hk="number | BigNumber | Fraction | Matrix | Array";"".concat(Hk,", ").concat(Hk,", ...").concat(Hk);var Vk="multiply",Uk=iy(Vk,["typed","matrix","addScalar","multiplyScalar","equalScalar","dot"],(e=>{var{typed:t,matrix:n,addScalar:r,multiplyScalar:o,equalScalar:i,dot:a}=e,s=Sk({typed:t,equalScalar:i}),l=Ak({typed:t});function u(e,t){switch(e.length){case 1:switch(t.length){case 1:if(e[0]!==t[0])throw new RangeError("Dimension mismatch in multiplication. Vectors must have the same length");break;case 2:if(e[0]!==t[0])throw new RangeError("Dimension mismatch in multiplication. Vector length ("+e[0]+") must match Matrix rows ("+t[0]+")");break;default:throw new Error("Can only multiply a 1 or 2 dimensional matrix (Matrix B has "+t.length+" dimensions)")}break;case 2:switch(t.length){case 1:if(e[1]!==t[0])throw new RangeError("Dimension mismatch in multiplication. Matrix columns ("+e[1]+") must match Vector length ("+t[0]+")");break;case 2:if(e[1]!==t[0])throw new RangeError("Dimension mismatch in multiplication. Matrix A columns ("+e[1]+") must match Matrix B rows ("+t[0]+")");break;default:throw new Error("Can only multiply a 1 or 2 dimensional matrix (Matrix B has "+t.length+" dimensions)")}break;default:throw new Error("Can only multiply a 1 or 2 dimensional matrix (Matrix A has "+e.length+" dimensions)")}}function c(e,n){if("dense"!==n.storage())throw new Error("Support for SparseMatrix not implemented");return function(e,n){var i,a=e._data,s=e._size,l=e._datatype||e.getDataType(),u=n._data,c=n._size,d=n._datatype||n.getDataType(),p=s[0],f=c[1],h=r,m=o;l&&d&&l===d&&"string"===typeof l&&"mixed"!==l&&(i=l,h=t.find(r,[i,i]),m=t.find(o,[i,i]));for(var g=[],v=0;v<f;v++){for(var y=m(a[0],u[0][v]),x=1;x<p;x++)y=h(y,m(a[x],u[x][v]));g[v]=y}return e.createDenseMatrix({data:g,size:[f],datatype:l===e._datatype&&d===n._datatype?i:void 0})}(e,n)}var d=t("_multiplyMatrixVector",{"DenseMatrix, any":function(e,n){var i,a=e._data,s=e._size,l=e._datatype||e.getDataType(),u=n._data,c=n._datatype||n.getDataType(),d=s[0],p=s[1],f=r,h=o;l&&c&&l===c&&"string"===typeof l&&"mixed"!==l&&(i=l,f=t.find(r,[i,i]),h=t.find(o,[i,i]));for(var m=[],g=0;g<d;g++){for(var v=a[g],y=h(v[0],u[0]),x=1;x<p;x++)y=f(y,h(v[x],u[x]));m[g]=y}return e.createDenseMatrix({data:m,size:[d],datatype:l===e._datatype&&c===n._datatype?i:void 0})},"SparseMatrix, any":function(e,n){var a=e._values,s=e._index,l=e._ptr,u=e._datatype||void 0===e._data?e._datatype:e.getDataType();if(!a)throw new Error("Cannot multiply Pattern only Matrix times Dense Matrix");var c,d=n._data,p=n._datatype||n.getDataType(),f=e._size[0],h=n._size[0],m=[],g=[],v=[],y=r,x=o,b=i,k=0;u&&p&&u===p&&"string"===typeof u&&"mixed"!==u&&(c=u,y=t.find(r,[c,c]),x=t.find(o,[c,c]),b=t.find(i,[c,c]),k=t.convert(0,c));var w=[],E=[];v[0]=0;for(var _=0;_<h;_++){var C=d[_];if(!b(C,k))for(var S=l[_],D=l[_+1],j=S;j<D;j++){var A=s[j];E[A]?w[A]=y(w[A],x(C,a[j])):(E[A]=!0,g.push(A),w[A]=x(C,a[j]))}}for(var P=g.length,L=0;L<P;L++){var M=g[L];m[L]=w[M]}return v[1]=g.length,e.createSparseMatrix({values:m,index:g,ptr:v,size:[f,1],datatype:u===e._datatype&&p===n._datatype?c:void 0})}}),p=t("_multiplyMatrixMatrix",{"DenseMatrix, DenseMatrix":function(e,n){var i,a=e._data,s=e._size,l=e._datatype||e.getDataType(),u=n._data,c=n._size,d=n._datatype||n.getDataType(),p=s[0],f=s[1],h=c[1],m=r,g=o;l&&d&&l===d&&"string"===typeof l&&"mixed"!==l&&"mixed"!==l&&(i=l,m=t.find(r,[i,i]),g=t.find(o,[i,i]));for(var v=[],y=0;y<p;y++){var x=a[y];v[y]=[];for(var b=0;b<h;b++){for(var k=g(x[0],u[0][b]),w=1;w<f;w++)k=m(k,g(x[w],u[w][b]));v[y][b]=k}}return e.createDenseMatrix({data:v,size:[p,h],datatype:l===e._datatype&&d===n._datatype?i:void 0})},"DenseMatrix, SparseMatrix":function(e,n){var a=e._data,s=e._size,l=e._datatype||e.getDataType(),u=n._values,c=n._index,d=n._ptr,p=n._size,f=n._datatype||void 0===n._data?n._datatype:n.getDataType();if(!u)throw new Error("Cannot multiply Dense Matrix times Pattern only Matrix");var h,m=s[0],g=p[1],v=r,y=o,x=i,b=0;l&&f&&l===f&&"string"===typeof l&&"mixed"!==l&&(h=l,v=t.find(r,[h,h]),y=t.find(o,[h,h]),x=t.find(i,[h,h]),b=t.convert(0,h));for(var k=[],w=[],E=[],_=n.createSparseMatrix({values:k,index:w,ptr:E,size:[m,g],datatype:l===e._datatype&&f===n._datatype?h:void 0}),C=0;C<g;C++){E[C]=w.length;var S=d[C],D=d[C+1];if(D>S)for(var j=0,A=0;A<m;A++){for(var P=A+1,L=void 0,M=S;M<D;M++){var N=c[M];j!==P?(L=y(a[A][N],u[M]),j=P):L=v(L,y(a[A][N],u[M]))}j!==P||x(L,b)||(w.push(A),k.push(L))}}return E[g]=w.length,_},"SparseMatrix, DenseMatrix":function(e,n){var a=e._values,s=e._index,l=e._ptr,u=e._datatype||void 0===e._data?e._datatype:e.getDataType();if(!a)throw new Error("Cannot multiply Pattern only Matrix times Dense Matrix");var c,d=n._data,p=n._datatype||n.getDataType(),f=e._size[0],h=n._size[0],m=n._size[1],g=r,v=o,y=i,x=0;u&&p&&u===p&&"string"===typeof u&&"mixed"!==u&&(c=u,g=t.find(r,[c,c]),v=t.find(o,[c,c]),y=t.find(i,[c,c]),x=t.convert(0,c));for(var b=[],k=[],w=[],E=e.createSparseMatrix({values:b,index:k,ptr:w,size:[f,m],datatype:u===e._datatype&&p===n._datatype?c:void 0}),_=[],C=[],S=0;S<m;S++){w[S]=k.length;for(var D=S+1,j=0;j<h;j++){var A=d[j][S];if(!y(A,x))for(var P=l[j],L=l[j+1],M=P;M<L;M++){var N=s[M];C[N]!==D?(C[N]=D,k.push(N),_[N]=v(A,a[M])):_[N]=g(_[N],v(A,a[M]))}}for(var O=w[S],T=k.length,F=O;F<T;F++){var R=k[F];b[F]=_[R]}}return w[m]=k.length,E},"SparseMatrix, SparseMatrix":function(e,n){var i,a=e._values,s=e._index,l=e._ptr,u=e._datatype||void 0===e._data?e._datatype:e.getDataType(),c=n._values,d=n._index,p=n._ptr,f=n._datatype||void 0===n._data?n._datatype:n.getDataType(),h=e._size[0],m=n._size[1],g=a&&c,v=r,y=o;u&&f&&u===f&&"string"===typeof u&&"mixed"!==u&&(i=u,v=t.find(r,[i,i]),y=t.find(o,[i,i]));for(var x,b,k,w,E,_,C,S,D=g?[]:void 0,j=[],A=[],P=e.createSparseMatrix({values:D,index:j,ptr:A,size:[h,m],datatype:u===e._datatype&&f===n._datatype?i:void 0}),L=g?[]:void 0,M=[],N=0;N<m;N++){A[N]=j.length;var O=N+1;for(E=p[N],_=p[N+1],w=E;w<_;w++)if(S=d[w],g)for(b=l[S],k=l[S+1],x=b;x<k;x++)M[C=s[x]]!==O?(M[C]=O,j.push(C),L[C]=y(c[w],a[x])):L[C]=v(L[C],y(c[w],a[x]));else for(b=l[S],k=l[S+1],x=b;x<k;x++)M[C=s[x]]!==O&&(M[C]=O,j.push(C));if(g)for(var T=A[N],F=j.length,R=T;R<F;R++){var I=j[R];D[R]=L[I]}}return A[m]=j.length,P}});return t(Vk,o,{"Array, Array":t.referTo("Matrix, Matrix",(e=>(t,r)=>{u(Xy(t),Xy(r));var o=e(n(t),n(r));return wv(o)?o.valueOf():o})),"Matrix, Matrix":function(e,t){var n=e.size(),r=t.size();return u(n,r),1===n.length?1===r.length?function(e,t,n){if(0===n)throw new Error("Cannot multiply two empty vectors");return a(e,t)}(e,t,n[0]):c(e,t):1===r.length?d(e,t):p(e,t)},"Matrix, Array":t.referTo("Matrix,Matrix",(e=>(t,r)=>e(t,n(r)))),"Array, Matrix":t.referToSelf((e=>(t,r)=>e(n(t,r.storage()),r))),"SparseMatrix, any":function(e,t){return s(e,t,o,!1)},"DenseMatrix, any":function(e,t){return l(e,t,o,!1)},"any, SparseMatrix":function(e,t){return s(t,e,o,!0)},"any, DenseMatrix":function(e,t){return l(t,e,o,!0)},"Array, any":function(e,t){return l(n(e),t,o,!1).valueOf()},"any, Array":function(e,t){return l(n(t),e,o,!0).valueOf()},"any, any":o,"any, any, ...any":t.referToSelf((e=>(t,n,r)=>{for(var o=e(t,n),i=0;i<r.length;i++)o=e(o,r[i]);return o}))})}));n(5939);var qk=iy("det",["typed","matrix","subtractScalar","multiply","divideScalar","isZero","unaryMinus"],(e=>{var{typed:t,matrix:n,subtractScalar:r,multiply:o,divideScalar:i,isZero:a,unaryMinus:s}=e;return t("det",{any:function(e){return ty(e)},"Array | Matrix":function(e){var t;switch((t=wv(e)?e.size():Array.isArray(e)?(e=n(e)).size():[]).length){case 0:return ty(e);case 1:if(1===t[0])return ty(e.valueOf()[0]);if(0===t[0])return 1;throw new RangeError("Matrix must be square (size: "+Uy(t)+")");case 2:var l=t[0],u=t[1];if(l===u)return function(e,t){if(1===t)return ty(e[0][0]);if(2===t)return r(o(e[0][0],e[1][1]),o(e[1][0],e[0][1]));for(var n=!1,l=new Array(t).fill(0).map(((e,t)=>t)),u=0;u<t;u++){var c=l[u];if(a(e[c][u])){var d=void 0;for(d=u+1;d<t;d++)if(!a(e[l[d]][u])){c=l[d],l[d]=l[u],l[u]=c,n=!n;break}if(d===t)return e[c][u]}for(var p=e[c][u],f=0===u?1:e[l[u-1]][u-1],h=u+1;h<t;h++)for(var m=l[h],g=u+1;g<t;g++)e[m][g]=i(r(o(e[m][g],p),o(e[m][u],e[c][g])),f)}var v=e[l[t-1]][t-1];return n?s(v):v}(e.clone().valueOf(),l);if(0===u)return 1;throw new RangeError("Matrix must be square (size: "+Uy(t)+")");default:throw new RangeError("Matrix must be two dimensional (size: "+Uy(t)+")")}}})})),Yk=iy("inv",["typed","matrix","divideScalar","addScalar","multiply","unaryMinus","det","identity","abs"],(e=>{var{typed:t,matrix:n,divideScalar:r,addScalar:o,multiply:i,unaryMinus:a,det:s,identity:l,abs:u}=e;return t("inv",{"Array | Matrix":function(e){var t=wv(e)?e.size():Xy(e);switch(t.length){case 1:if(1===t[0])return wv(e)?n([r(1,e.valueOf()[0])]):[r(1,e[0])];throw new RangeError("Matrix must be square (size: "+Uy(t)+")");case 2:var o=t[0],i=t[1];if(o===i)return wv(e)?n(c(e.valueOf(),o,i),e.storage()):c(e,o,i);throw new RangeError("Matrix must be square (size: "+Uy(t)+")");default:throw new RangeError("Matrix must be two dimensional (size: "+Uy(t)+")")}},any:function(e){return r(1,e)}});function c(e,t,n){var c,d,p,f,h;if(1===t){if(0===(f=e[0][0]))throw Error("Cannot calculate inverse, determinant is zero");return[[r(1,f)]]}if(2===t){var m=s(e);if(0===m)throw Error("Cannot calculate inverse, determinant is zero");return[[r(e[1][1],m),r(a(e[0][1]),m)],[r(a(e[1][0]),m),r(e[0][0],m)]]}var g=e.concat();for(c=0;c<t;c++)g[c]=g[c].concat();for(var v=l(t).valueOf(),y=0;y<n;y++){var x=u(g[y][y]),b=y;for(c=y+1;c<t;)u(g[c][y])>x&&(x=u(g[c][y]),b=c),c++;if(0===x)throw Error("Cannot calculate inverse, determinant is zero");(c=b)!==y&&(h=g[y],g[y]=g[c],g[c]=h,h=v[y],v[y]=v[c],v[c]=h);var k=g[y],w=v[y];for(c=0;c<t;c++){var E=g[c],_=v[c];if(c!==y){if(0!==E[y]){for(p=r(a(E[y]),k[y]),d=y;d<n;d++)E[d]=o(E[d],i(p,k[d]));for(d=0;d<n;d++)_[d]=o(_[d],i(p,w[d]))}}else{for(p=k[y],d=y;d<n;d++)E[d]=r(E[d],p);for(d=0;d<n;d++)_[d]=r(_[d],p)}}}return v}}));var Gk=iy("divide",["typed","matrix","multiply","equalScalar","divideScalar","inv"],(e=>{var{typed:t,matrix:n,multiply:r,equalScalar:o,divideScalar:i,inv:a}=e,s=Sk({typed:t,equalScalar:o}),l=Ak({typed:t});return t("divide",ny({"Array | Matrix, Array | Matrix":function(e,t){return r(e,a(t))},"DenseMatrix, any":function(e,t){return l(e,t,i,!1)},"SparseMatrix, any":function(e,t){return s(e,t,i,!1)},"Array, any":function(e,t){return l(n(e),t,i,!1).valueOf()},"any, Array | Matrix":function(e,t){return r(e,a(t))}},i.signatures))}));var Zk=sy({config:Pm}),Kk=Ly({}),Qk=By({}),Xk=Wy({}),Jk=gx({Matrix:Xk}),ew=Ax({BigNumber:Zk,Complex:Kk,DenseMatrix:Jk,Fraction:Qk}),tw=Jx({typed:ew}),nw=yb({typed:ew}),rw=xb({BigNumber:Zk,typed:ew}),ow=Lb({typed:ew}),iw=Tb({config:Pm,typed:ew}),aw=Rb({typed:ew}),sw=Bb({typed:ew}),lw=qb({typed:ew}),uw=Jb({typed:ew}),cw=ik({typed:ew}),dw=sk({Matrix:Xk,equalScalar:iw,typed:ew}),pw=uk({typed:ew}),fw=dk({typed:ew}),hw=pk({Fraction:Qk,typed:ew}),mw=hk({DenseMatrix:Jk,Matrix:Xk,SparseMatrix:dw,typed:ew}),gw=yk({bignumber:rw,fraction:hw,number:cw}),vw=bk({matrix:mw,config:Pm,typed:ew}),yw=wk({isInteger:sw,matrix:mw,typed:ew}),xw=_k({numeric:gw,typed:ew}),bw=Ok({BigNumber:Zk,DenseMatrix:Jk,SparseMatrix:dw,config:Pm,matrix:mw,typed:ew}),kw=Wk({DenseMatrix:Jk,concat:yw,equalScalar:iw,matrix:mw,subtractScalar:pw,typed:ew,unaryMinus:fw}),ww=$k({addScalar:nw,conj:ow,multiplyScalar:uw,size:vw,typed:ew}),Ew=Uk({addScalar:nw,dot:ww,equalScalar:iw,matrix:mw,multiplyScalar:uw,typed:ew}),_w=qk({divideScalar:xw,isZero:lw,matrix:mw,multiply:Ew,subtractScalar:pw,typed:ew,unaryMinus:fw}),Cw=Yk({abs:tw,addScalar:nw,det:_w,divideScalar:xw,identity:bw,matrix:mw,multiply:Ew,typed:ew,unaryMinus:fw}),Sw=Gk({divideScalar:xw,equalScalar:iw,inv:Cw,matrix:mw,multiply:Ew,typed:ew});const Dw=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;try{const n=e.toLocaleString("en-US",{style:"decimal",maximumFractionDigits:2,minimumFractionDigits:t});return"NaN"===n?"0":n}catch{return"0"}},jw=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{decimals:n,round:r}=t;let o;try{o="string"===typeof e?e.replace(/[^0-9.]/g,""):e}catch{o=2===n?"0.00":"0"}let i=parseFloat(o||"0");return r?(i=i<10?Math.round(i):i<100?10*Math.round(i/10):i<1e3?50*Math.round(i/50):100*Math.round(i/100),Dw(i,0)):Dw(i,n)},Aw={date:e=>{try{const[t]=e.split("T"),n=t.replace(/-/g,"/");return Cm(new Date(n),"yyyy-MM-dd")}catch(t){return console.warn(t),""}},dollar:jw,percent:jw,advancedInputField:jw},Pw=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:2}),Lw=e=>{var t,n,r,o;let{cost:i,key:a,interval:s=12}=e;const l=null===i||void 0===i||null===(t=i.TotalMonthlyPremiums)||void 0===t?void 0:t[a],u=null===i||void 0===i||null===(n=i.Contributions)||void 0===n||null===(r=n.MonthlyContributions)||void 0===r?void 0:r[a],c=null===i||void 0===i||null===(o=i.Contributions)||void 0===o?void 0:o.ContributionType,d=rw(Number(l||0));let p=Ew(d,rw(12));const f=rw(Number(u)||0),h=c||"$";let m=f;"%"===h?(m=Sw(f,rw(100)),m=Ew(m,p)):"$"===h&&(m=Ew(m,rw(12)));let g=Sw(m,rw(s));return Pw.format(aw(g,{precision:13}))},Mw=e=>{var t,n,r,o;let{cost:i,key:a,interval:s=12}=e;const l=null===i||void 0===i||null===(t=i.TotalMonthlyPremiums)||void 0===t?void 0:t[a],u=null===i||void 0===i||null===(n=i.Contributions)||void 0===n||null===(r=n.MonthlyContributions)||void 0===r?void 0:r[a],c=null===i||void 0===i||null===(o=i.Contributions)||void 0===o?void 0:o.ContributionType,d=rw(Number(l||0));let p=Ew(d,rw(12));const f=rw(Number(u)||0),h=c||"$";let m=f;"%"===h?(m=Sw(f,rw(100)),m=Ew(m,p)):"$"===h&&(m=Ew(m,rw(12))),p=kw(p,m);let g=Sw(p,rw(s));return Pw.format(aw(g,{precision:13}))},Nw=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=null;if(r=(0,Wc.get)(e,t.PropertyChain,n),"visionFrequency"===t.Type&&t.frequency){let o=(0,Wc.get)(e,t.frequency.PropertyChain,n);o||(o="12 months"),r={frequencyValue:o,inputValue:r}}return"Details.InNetworkPlanDesign.Coinsurance"===t.PropertyChain&&(r*=100),r},Ow=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;try{let r="percent"===t.Type||"dollar"===t.Type?e||0:e;const o=null===n?t.Type:n;return o in Aw&&(r=Aw[o](e,{decimals:0})),"dollar"===o?r="$"+r:"percent"===o||"percentOfEmployeeElectedAmount"===o?r+="%":"object"===typeof e&&"inputValue"in e&&(r=r.inputValue),r}catch(r){return console.warn(r),null}},Tw=e=>{let{product:t,field:n,comparisonView:r=!1,fullWidth:o=!1}=e;const i=Nw(t,n),a=r&&"hide"===(null===n||void 0===n?void 0:n.State),s=!i&&0!==i||"object"===typeof i&&"inputValue"in(i||{})&&!(null!==i&&void 0!==i&&i.inputValue);if((a||s)&&"label"!==(null===n||void 0===n?void 0:n.Type))return r?(0,Cs.jsx)(Ts,{h4:!0,css:`\n          color: ${ks.gray[300]};\n        `,children:"No Details"}):(0,Cs.jsx)(Ts,{children:Ow(i,n)});const l=e=>{let{children:t,...n}=e;return(0,Cs.jsx)(Ts,{...n,h4:r,children:t})},u="$"===i.PercentOrDollar?"dollar":"percent";return(0,Cs.jsxs)(Ku,{css:bs`
        flex-grow: 1;
        ${n.RecDisplayValue||n.DisplayValue?"min-width: 50%;":"width: 100%;"}
        ${r?`\n          ${Tu("left wrap")}\n        `:""}
      `,children:[n.Pre&&(0,Cs.jsx)(Ts,{className:bs`
            text-align: right;
            flex-grow: 1;
            ${r?"\n              max-width: max-content;\n            ":""}
          `,children:n.Pre}),(0,Cs.jsx)(Ku,{css:bs`
          ${r?`\n              ${Tu("left")}\n              ${n.Pre?"padding-left: 8px":"padding-left: 0px"};\n            `:`\n            ${Tu("right")}\n            ${n.Pre?"padding-left: 0px":"padding-left: 8px"};\n          `}
        `,children:"dollar"===n.Type||"percent"===n.Type||"percentOfEmployeeElectedAmount"===n.Type?(0,Cs.jsx)(l,{styles:"label bold",children:Ow(i,n)}):"text-input"===n.Type||"number"===n.Type?(0,Cs.jsx)(l,{styles:"label bold",className:bs`
              text-align: ${r?"left":"right"};
            `,children:i}):"multipleOfSalary"===n.Type?(0,Cs.jsxs)(l,{styles:"label bold",children:[Ow(i,n),"X Salary"]}):"text-area"===n.Type?(0,Cs.jsx)(l,{className:bs`
              text-align: ${r?"left":"right"};
              width: 100%;
            `,label:!0,bold:!0,children:i}):"visionFrequency"===n.Type?(0,Cs.jsx)(l,{styles:"label bold",children:i.inputValue}):"advancedInputField"===n.Type?(0,Cs.jsxs)(Ku,{css:bs`
              ${Tu("right")}
            `,children:["COPAY + %"===i.ADOrCopay&&(0,Cs.jsxs)(l,{styles:"label bold",className:bs`
                  margin-right: 4px;
                `,children:[Ow((null===i||void 0===i?void 0:i.SpecialCopay)||"",n,"dollar")," Copay plus"]}),"Not Covered"!=i.ADOrCopay&&"100% Covered"!=i.ADOrCopay&&(0,Cs.jsx)(l,{styles:"label bold",className:bs`
                  margin-right: 4px;
                  min-width: max-content;
                `,children:Ow(i.Value,n,u)}),"COPAY"===(null===i||void 0===i?void 0:i.ADOrCopay)&&null!==(null===i||void 0===i?void 0:i.MaxValue)?(0,Cs.jsxs)(l,{styles:"label bold",className:bs`
                  margin-right: 4px;
                  min-width: max-content;
                `,children:["- ",Ow(i.MaxValue,n,u)]}):null,(0,Cs.jsx)(l,{styles:"label bold",children:"COPAY"===i.ADOrCopay?"$"===(null===i||void 0===i?void 0:i.PercentOrDollar)?null!==(null===i||void 0===i?void 0:i.MaxValue)?"Copay Range":"Copay":"Coinsurance":"COPAY + %"===i.ADOrCopay||"AD"===i.ADOrCopay?"AD":"100% Covered"===i.ADOrCopay?"100% Covered":"Not Covered"===i.ADOrCopay?"Not Covered":""})]}):"surestInputField"===n.Type?(0,Cs.jsxs)(Ku,{css:bs`
              ${Tu("right")}
            `,children:[i.lower>0&&(0,Cs.jsxs)(l,{styles:"label bold",className:bs`
                  margin-right: 8px;
                `,children:[Ow((null===i||void 0===i?void 0:i.lower)||"",n)," -"]}),(0,Cs.jsx)(l,{styles:"label bold",className:bs`
                margin-right: 8px;
              `,children:Ow((null===i||void 0===i?void 0:i.upper)||"",n)}),(0,Cs.jsx)(l,{styles:"label bold",children:i.upper>0?"Copay Range":"Copay"})]}):"prescriptionDrugDeductible"===n.Type?(0,Cs.jsx)(l,{label:!0,bold:!0,children:-1===(null===i||void 0===i?void 0:i.Value)?"Medical Deductible Applies":-2===(null===i||void 0===i?void 0:i.Value)?"None":(null===i||void 0===i?void 0:i.Value)>=0?Ow((null===i||void 0===i?void 0:i.Value)||"",n,"dollar"):null}):null}),n.Post&&(0,Cs.jsx)(Ts,{className:bs`
            ${r?"\n              width: 100%;\n              text-align: left;\n            ":"\n              text-align: right;\n            "}
            flex-grow: 1;
          `,children:n.Post})]})},Fw={defaultConfig:e=>{let{product:t}=e},custom:()=>({Description:{hideField:!0}}),insurance_plan:e=>{let{product:t}=e;return{"Label.InNetworkPlanDetails":{aboveTheFold:!0},"Details.InNetworkPlanDesign.SingleDeductible":{aboveTheFold:!0},"Details.InNetworkPlanDesign.Deductible":{aboveTheFold:!0},"Details.InNetworkPlanDesign.SingleOOPM":{aboveTheFold:!0},"Details.InNetworkPlanDesign.OOPM":{aboveTheFold:!0},"Details.InNetworkPlanDesign.Coinsurance":{aboveTheFold:!0},"Details.InNetworkPlanDesign.SingleEmbeddedDeductibleOOPM":{hideField:!0},"Details.InNetworkPrescriptionDrugs.PrescriptionDrugTier":{hideField:!0},Type:{hideField:!0}}},vision_buyup:e=>{let{product:t}=e;return{"Details.EyeExams":{components:[e=>{let{field:n}=e;return(0,Cs.jsx)(Bw,{field:n,product:t})}]},"Details.LensesBenefit":{components:[e=>{let{field:n}=e;return(0,Cs.jsx)(Bw,{field:n,product:t})}]},"Details.ContactLenses":{components:[e=>{let{field:n}=e;return(0,Cs.jsx)(Bw,{field:n,product:t})}]},"Details.Frames":{components:[e=>{let{field:n}=e;return(0,Cs.jsx)(Bw,{field:n,product:t})}]}}},basic_life_v2:()=>({"Details.ADDIncluded":{hideField:!0},"Details.SpouseDependantCoverage":{hideField:!0}}),supplemental_life_v2:()=>({"Details.ADDIncluded":{hideField:!0},"Details.SpouseDependantCoverage":{hideField:!0}}),dental_buyup:()=>({"Details.IncludesOrtho":{hideField:!0}}),hospital_indemnity:()=>({"Label.DailyHospitalConfinement":{hideField:!0},"Label.DailyIntensiveCareBenefit":{hideField:!0}}),supplimental_life:e=>{let{product:t}=e;return{"Details.EmployerPaidCoverage":{hideField:!0},"Details.EmployerPaidCoverageAmount":{components:[()=>(0,Cs.jsxs)(Ku,{className:"rec",css:bs`
                border: 1px solid ${ks.gray[300]};
                border-radius: 8px;
                background-color: white;
                padding: 16px;
                margin: 0 -8px;
              `,children:[(0,Cs.jsx)(Ts,{label:!0,bold:!0,children:"Group Life Insurance"}),(0,Cs.jsx)(Ts,{children:"Your employer covers life insurance at no cost to you."})]}),e=>{let{field:n}=e;return(0,Cs.jsx)(Rw,{product:t,field:n})}]},"Details.SupplementalLifeCoverageAvailable":{components:[()=>(0,Cs.jsx)(Iw,{})]},"Details.SpouseDependantCoverage":{hideField:!0}}}},Rw=e=>{let{product:t,field:n}=e;return(0,Cs.jsxs)(Ku,{css:bs`
        ${Tu("space-between start")}
      `,children:[(0,Cs.jsx)(Ts,{label:!0,children:null===n||void 0===n?void 0:n.RecDisplayValue}),(0,Cs.jsx)(Tw,{field:n,product:t})]})},Iw=()=>(0,Cs.jsxs)(Ku,{className:"rec",css:bs`
        border: 1px solid ${ks.gray[300]};
        border-radius: 8px;
        padding: 16px;
        margin: 0 -8px;
        background-color: white;
      `,children:[(0,Cs.jsx)(Ts,{label:!0,bold:!0,children:"Supplemental Life Insurance"}),(0,Cs.jsx)(Ts,{children:"There is additional life insurance you should consider purchasing."})]}),Bw=e=>{let{product:t,field:n}=e;const r=Nw(t,n);return(0,Cs.jsxs)(Ku,{css:bs`
        ${Tu("space-between start")}
      `,children:[(0,Cs.jsxs)(Ku,{children:[(0,Cs.jsx)(Ts,{label:!0,children:(null===n||void 0===n?void 0:n.RecDisplayValue)||(null===n||void 0===n?void 0:n.DisplayValue)}),(0,Cs.jsxs)(Ts,{css:"\n            font-size: 0.9em;\n          ",children:["Every ",r.frequencyValue?r.frequencyValue:"12 months"]})]}),(0,Cs.jsx)(Tw,{field:n,product:t})]})},Ww=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const n=(0,t.useContext)(js),{store:r,dispatchStore:o}=n;return{data:null===e?r:e(r),updateStore:(e,t)=>o({type:"UPDATE",payload:t,key:e}),setStore:(e,t)=>o({type:"SET",payload:t,key:e}),resetStore:()=>{o({type:"RESET"})}}};var zw=(0,t.createContext)({client:ko});var $w=function(){return(0,t.useContext)(zw).client};function Hw(e){var n=$w(),r=(0,t.useState)(),o=r[0],i=r[1];return(0,t.useEffect)((function(){return n.onFeatureFlags((function(){i(n.getFeatureFlagPayload(e))}))}),[n,e]),o}const Vw={employee:"Employee",spouse:"Spouse",child:"Child",children:"Children",family:"Family"},Uw={2:["EmployeeOnly","Family"],3:["EmployeeOnly","EmployeeSpouse","Family"],4:["EmployeeOnly","EmployeeSpouse","EmployeeChildren","Family"],5:["EmployeeOnly","EmployeeSpouse","EmployeeChild","EmployeeChildren","Family"],12:["EmployeeOnly","EmployeeChild","Employee2Children","Employee3Children","Employee4Children","EmployeeChildren","EmployeeSpouse","FamilyChild","Family2Children","Family3Children","Family4Children","Family"]},qw=(e,n,r)=>{const o=(e,t)=>e||Vw[t],i=(e,t)=>{const n=(null===e||void 0===e?void 0:e[0])||{},i=o(null===n||void 0===n?void 0:n.custom_label_employee,"employee");n.custom_label_employee=i;const a=o(null===n||void 0===n?void 0:n.custom_label_employee_children,"children");n.custom_label_employee_children=a;const s=o(null===n||void 0===n?void 0:n.custom_label_employee_spouse,"spouse");n.custom_label_employee_spouse=s;const l=o(null===n||void 0===n?void 0:n.custom_label_child,"child");n.custom_label_child=l;const u=o(null===n||void 0===n?void 0:n.custom_label_family,"family");n.custom_label_family=u;const c={...n,employee:i,children:a,spouse:s,family:u,child:l},d=(null===t||void 0===t?void 0:t.PremiumIntervalsPerYear)||(null===n||void 0===n?void 0:n.premium_intervals_per_year)||12,p={...c,premiumInterval:d,deprecated_4TierLabelStructure:[null===c||void 0===c?void 0:c.employee,null===c||void 0===c?void 0:c.spouse,null===c||void 0===c?void 0:c.children,null===c||void 0===c?void 0:c.family],customLabelStructures:{2:[null===c||void 0===c?void 0:c.employee,`${null===c||void 0===c?void 0:c.employee} + 1 or more`],3:[null===c||void 0===c?void 0:c.employee,`${null===c||void 0===c?void 0:c.employee} + 1`,`${null===c||void 0===c?void 0:c.employee} + 2 or more`],4:[null===c||void 0===c?void 0:c.employee,`${null===c||void 0===c?void 0:c.employee} + ${null===c||void 0===c?void 0:c.spouse}`,`${null===c||void 0===c?void 0:c.employee} + ${null===c||void 0===c?void 0:c.children}`,null===c||void 0===c?void 0:c.family],5:[null===c||void 0===c?void 0:c.employee,`${null===c||void 0===c?void 0:c.employee} + ${null===c||void 0===c?void 0:c.spouse}`,`${null===c||void 0===c?void 0:c.employee} + ${null===c||void 0===c?void 0:c.child}`,`${null===c||void 0===c?void 0:c.employee} + ${null===c||void 0===c?void 0:c.children}`,null===c||void 0===c?void 0:c.family],12:[null===c||void 0===c?void 0:c.employee,`${null===c||void 0===c?void 0:c.employee} + ${null===c||void 0===c?void 0:c.child}`,`${null===c||void 0===c?void 0:c.employee} + 2 ${null===c||void 0===c?void 0:c.children}`,`${null===c||void 0===c?void 0:c.employee} + 3 ${null===c||void 0===c?void 0:c.children}`,`${null===c||void 0===c?void 0:c.employee} + 4 ${null===c||void 0===c?void 0:c.children}`,`${null===c||void 0===c?void 0:c.employee} + 5  or more ${null===c||void 0===c?void 0:c.children}`,`${null===c||void 0===c?void 0:c.employee} + ${null===c||void 0===c?void 0:c.spouse}`,`${null===c||void 0===c?void 0:c.employee} + ${null===c||void 0===c?void 0:c.spouse} + ${null===c||void 0===c?void 0:c.child}`,`${null===c||void 0===c?void 0:c.employee} + ${null===c||void 0===c?void 0:c.spouse} + 2 ${null===c||void 0===c?void 0:c.children}`,`${null===c||void 0===c?void 0:c.employee} + ${null===c||void 0===c?void 0:c.spouse} + 3 ${null===c||void 0===c?void 0:c.children}`,`${null===c||void 0===c?void 0:c.employee} + ${null===c||void 0===c?void 0:c.spouse} + 4 ${null===c||void 0===c?void 0:c.children}`,`${null===c||void 0===c?void 0:c.employee} + ${null===c||void 0===c?void 0:c.spouse} + 5 or more ${null===c||void 0===c?void 0:c.children}`]}};r&&r(p)};(0,t.useEffect)((()=>{e&&(async()=>{try{const{data:t}=await Ha.get(`/public/v1/bp/display_settings?id=eq.${e}`,{headers:{"Accept-Profile":"brite_public"}});let r={};if(n){const{data:t}=await Ha.get(`/public/v1/business/${e}/benefitspackage/${n}`,{headers:{"Accept-Profile":"brite_public"}});r=t}i(t,r)}catch(t){console.warn(t),i([],{})}})()}),[e])},Yw=e=>{var t,n;let{cost:r,displaySettings:o}=e;const i=(null===r||void 0===r||null===(t=r.TotalMonthlyPremiums)||void 0===t?void 0:t.Tiers)||Uw[4],a=null===o||void 0===o||null===(n=o.customLabelStructures)||void 0===n?void 0:n[null===i||void 0===i?void 0:i.length],s=i.findIndex((e=>e===(null===r||void 0===r?void 0:r.RelevantTier))),l=s>0?[a[s],...a.filter(((e,t)=>t!==s))]:a,u=null!==r&&void 0!==r&&r.RelevantTier?[null===r||void 0===r?void 0:r.RelevantTier,...i.filter((e=>e!==(null===r||void 0===r?void 0:r.RelevantTier)))]:i;return{tiers:i,tierLabels:a,sortedTiers:u,sortedTierLabels:l}};var Gw=new Map;Gw.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M94,61.4a20,20,0,0,1,34.6-20l30,51.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M67.4,95.2l-16-27.7A20,20,0,0,1,86,47.5l34,58.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M154,165.3a39.9,39.9,0,0,1,14.6-54.6l-10-17.4a20,20,0,0,1,34.7-20l20,34.7A80,80,0,0,1,74.7,188l-42-72.8a20,20,0,0,1,34.7-20l22,38.1",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M176,23a60.1,60.1,0,0,1,52,30",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M66.9,240a121.1,121.1,0,0,1-26.8-32",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),Gw.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M158.6,93.3a20,20,0,0,1,34.7-20l20,34.7A80,80,0,0,1,74.7,188l-42-72.8a20,20,0,0,1,34.7-20l-16-27.7A20,20,0,0,1,86,47.5l8,13.9a20,20,0,0,1,34.6-20Z",opacity:"0.2"}),t.createElement("path",{d:"M94,61.4a20,20,0,0,1,34.6-20l30,51.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M67.4,95.2l-16-27.7A20,20,0,0,1,86,47.5l34,58.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M154,165.3a39.9,39.9,0,0,1,14.6-54.6l-10-17.4a20,20,0,0,1,34.7-20l20,34.7A80,80,0,0,1,74.7,188l-42-72.8a20,20,0,0,1,34.7-20l22,38.1",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M81.1,240A110.3,110.3,0,0,1,48,204",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M176,31a51.7,51.7,0,0,1,45,26",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),Gw.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M220.2,104l-20-34.7a28.1,28.1,0,0,0-47.3-1.9l-17.3-30A28.1,28.1,0,0,0,97.3,27.1a29.4,29.4,0,0,0-9.9,9.6,27.9,27.9,0,0,0-11.5-6.2,27.1,27.1,0,0,0-21.2,2.8A27.9,27.9,0,0,0,44.4,71.5l3.4,5.8A28.5,28.5,0,0,0,36,81a28.1,28.1,0,0,0-10.2,38.2l42,72.8a88,88,0,1,0,152.4-88Zm-6.7,62.6A71.2,71.2,0,0,1,180,210.3,72.1,72.1,0,0,1,81.6,184l-42-72.8a12,12,0,0,1,20.8-12l22,38.1a8,8,0,1,0,13.9-8l-22-38.1h0l-16-27.7a12,12,0,0,1-1.2-9.1,11.8,11.8,0,0,1,5.6-7.3,12,12,0,0,1,9.1-1.2,12.5,12.5,0,0,1,7.3,5.6L87,65.4h.1l26,45a7.7,7.7,0,0,0,6.9,4,7.3,7.3,0,0,0,4-1.1,8,8,0,0,0,2.9-10.9l-26-45h0a12,12,0,1,1,20.8-12l30,51.9h0l6.3,11a48.1,48.1,0,0,0-10.9,61,8,8,0,0,0,13.8-8,32,32,0,0,1,11.7-43.7,8.1,8.1,0,0,0,3.8-4.9,8.4,8.4,0,0,0-.8-6l-10-17.4a12,12,0,0,1,13.5-17.5,11.8,11.8,0,0,1,7.2,5.5l20,34.7A70.9,70.9,0,0,1,213.5,166.6Zm-125.8,78a8.2,8.2,0,0,1-6.6,3.4,8.6,8.6,0,0,1-4.6-1.4A117.9,117.9,0,0,1,41.1,208a8,8,0,1,1,13.8-8,102.6,102.6,0,0,0,30.8,33.4A8.1,8.1,0,0,1,87.7,244.6ZM168,31a8,8,0,0,1,8-8h0a60.2,60.2,0,0,1,52,30,7.9,7.9,0,0,1-3,10.9,7.1,7.1,0,0,1-4,1.1,8,8,0,0,1-6.9-4A44,44,0,0,0,176,39,8,8,0,0,1,168,31Z"}))})),Gw.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M94,61.4a20,20,0,0,1,34.6-20l30,51.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M67.4,95.2l-16-27.7A20,20,0,0,1,86,47.5l34,58.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M154,165.3a39.9,39.9,0,0,1,14.6-54.6l-10-17.4a20,20,0,0,1,34.7-20l20,34.7A80,80,0,0,1,74.7,188l-42-72.8a20,20,0,0,1,34.7-20l22,38.1",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M81.1,240A110.3,110.3,0,0,1,48,204",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M176,31a51.7,51.7,0,0,1,45,26",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),Gw.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M94,61.4a20,20,0,0,1,34.6-20l30,51.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M67.4,95.2l-16-27.7A20,20,0,0,1,86,47.5l34,58.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M154,165.3a39.9,39.9,0,0,1,14.6-54.6l-10-17.4a20,20,0,0,1,34.7-20l20,34.7A80,80,0,0,1,74.7,188l-42-72.8a20,20,0,0,1,34.7-20l22,38.1",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M81.1,240A110.3,110.3,0,0,1,48,204",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M176,31a51.7,51.7,0,0,1,45,26",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),Gw.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M94,61.4a20,20,0,0,1,34.6-20l30,51.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M67.4,95.2l-16-27.7A20,20,0,0,1,86,47.5l34,58.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M154,165.3a39.9,39.9,0,0,1,14.6-54.6l-10-17.4a20,20,0,0,1,34.7-20l20,34.7A80,80,0,0,1,74.7,188l-42-72.8a20,20,0,0,1,34.7-20l22,38.1",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M81.1,240A110.3,110.3,0,0,1,48,204",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M176,31a51.7,51.7,0,0,1,45,26",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var Zw=function(e,t){return Ua(e,t,Gw)},Kw=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:Zw}))}));Kw.displayName="HandWaving";const Qw=Kw,Xw=e=>{let{productId:n}=e;const{data:{acaCostData:r={}}}=Ww(),[o,i]=(0,t.useState)(!1),[a,s]=(0,t.useState)({});return(0,t.useEffect)((()=>{var e;null!==r&&void 0!==r&&null!==(e=r.members)&&void 0!==e&&e.length&&(async()=>{try{i(!0);const{data:e}=await Ha.post(`public/v1/product/${n}/cost`,{State:r.livingState,ACAZipCode:r.zipCode,ACAEnrollees:r.members});s(e)}catch(e){console.warn(e)}finally{i(!1)}})()}),[null===r||void 0===r?void 0:r.members]),{isLoading:o,value:a}},Jw=e=>{const{product:t}=null===e||void 0===e?void 0:e.data,{data:{decisionTool:n=""},setStore:r}=Ww(),o=()=>r("decisionTool",n?"":"aca"),{value:i,isLoading:a}=Xw({productId:null===t||void 0===t?void 0:t.ID});if(null===i||void 0===i||!i.RelevantTier)return(0,Cs.jsx)(Ku,{css:bs`
          background-color: ${ks.gray[100]};
          width: calc(100% - 64px);
          box-sizing: border-box;
          border-radius: 8px;
          margin: 32px;
          padding: 32px 64px;
          ${Tu("center column")}
        `,children:a?(0,Cs.jsx)(bf,{isLoading:a}):(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsx)(Qw,{}),(0,Cs.jsx)(Ts,{h2:!0,center:!0,css:"\n                margin: 16px 0;\n              ",children:"Missing Information"}),(0,Cs.jsx)(Ts,{label:!0,center:!0,css:"\n                margin: 8px 0;\n              ",children:"Please provide us with some additional details about your situation so that we can show you the plan rates."}),(0,Cs.jsx)(Gu,{className:bs`
                margin: 16px 32px;
                margin-bottom: 32px;
                max-width: 300px;
                padding: 16px 24px;
              `,style:{...(null===_s||void 0===_s?void 0:_s.button)||{},backgroundColor:`var(--button-background-color, ${ks.purple})`},onClick:o,children:"Add Information"})]})});const{Summary:s}=e,l={...null===e||void 0===e?void 0:e.props,data:{...e.data,product:{...e.data.product,Cost:i}}};return(0,Cs.jsx)(s,{...l,premiumsSetExternally:!1})},eE=e=>{const{data:t,markHidden:n=!1,comparisonView:r=!1,premiumsSetExternally:o=!1}=e,{data:{displaySettings:i}}=Ww(),{product:a}=t,s=null===a||void 0===a?void 0:a.Cost,{tiers:l,tierLabels:u}=Yw({cost:s,displaySettings:i});return o?(0,Cs.jsx)(Jw,{data:null===e||void 0===e?void 0:e.data,props:e,Summary:eE}):(0,Cs.jsxs)(Ku,{css:bs`
        width: 100%;
      `,children:[(0,Cs.jsxs)(Ts,{h4:!0,className:bs`
          padding: 16px 32px;
          ${r?"color: var(--text-h4); font-size: 22px;":""}
        `,children:["Cost ",12===(null===i||void 0===i?void 0:i.premiumInterval)?"per month":"per pay period"]}),null===l||void 0===l?void 0:l.map(((e,t)=>(0,Cs.jsxs)(Ku,{className:"alternating-item",css:bs`
            ${r?"":Tu("space-between")}
            width: calc(100% - 64px);
            padding: 16px 32px;
          `,children:[(0,Cs.jsx)(Ts,{label:!0,children:null===u||void 0===u?void 0:u[t]}),(0,Cs.jsx)(Ts,{label:!0,bold:!0,h4:r,children:n?"-":Mw({cost:s,key:e,interval:null===i||void 0===i?void 0:i.premiumInterval})})]})))]})};var tE=n(9417);function nE(e,n){var r=Object.create(null);return e&&t.Children.map(e,(function(e){return e})).forEach((function(e){r[e.key]=function(e){return n&&(0,t.isValidElement)(e)?n(e):e}(e)})),r}function rE(e,t,n){return null!=n[t]?n[t]:e.props[t]}function oE(e,n,r){var o=nE(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 u=o[l][r];s[o[l][r]]=n(u)}s[l]=n(l)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}(n,o);return Object.keys(i).forEach((function(a){var s=i[a];if((0,t.isValidElement)(s)){var l=a in n,u=a in o,c=n[a],d=(0,t.isValidElement)(c)&&!c.props.in;!u||l&&!d?u||!l||d?u&&l&&(0,t.isValidElement)(c)&&(i[a]=(0,t.cloneElement)(s,{onExited:r.bind(null,s),in:c.props.in,exit:rE(s,"exit",e),enter:rE(s,"enter",e)})):i[a]=(0,t.cloneElement)(s,{in:!1}):i[a]=(0,t.cloneElement)(s,{onExited:r.bind(null,s),in:!0,exit:rE(s,"exit",e),enter:rE(s,"enter",e)})}})),i}var iE=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},aE=function(e){function n(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind((0,tE.A)(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}(0,Us.A)(n,e);var r=n.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},n.getDerivedStateFromProps=function(e,n){var r,o,i=n.children,a=n.handleExited;return{children:n.firstRender?(r=e,o=a,nE(r.children,(function(e){return(0,t.cloneElement)(e,{onExited:o.bind(null,e),in:!0,appear:rE(e,"appear",r),enter:rE(e,"enter",r),exit:rE(e,"exit",r)})}))):oE(e,i,a),firstRender:!1}},r.handleExited=function(e,t){var n=nE(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,Fs.A)({},t.children);return delete n[e.key],{children:n}})))},r.render=function(){var e=this.props,n=e.component,r=e.childFactory,o=(0,Vs.A)(e,["component","childFactory"]),i=this.state.contextValue,a=iE(this.state.children).map(r);return delete o.appear,delete o.enter,delete o.exit,null===n?t.createElement(Ys.Provider,{value:i},a):t.createElement(Ys.Provider,{value:i},t.createElement(n,o,a))},n}(t.Component);aE.propTypes={},aE.defaultProps={component:"div",childFactory:function(e){return e}};const sE=aE;var lE="undefined"===typeof window?t.useEffect:t.useLayoutEffect;const uE=function(e){var n=e.classes,r=e.pulsate,i=void 0!==r&&r,a=e.rippleX,s=e.rippleY,l=e.rippleSize,u=e.in,c=e.onExited,d=void 0===c?function(){}:c,p=e.timeout,f=t.useState(!1),h=f[0],m=f[1],g=(0,o.A)(n.ripple,n.rippleVisible,i&&n.ripplePulsate),v={width:l,height:l,top:-l/2+s,left:-l/2+a},y=(0,o.A)(n.child,h&&n.childLeaving,i&&n.childPulsate),x=(0,tc.A)(d);return lE((function(){if(!u){m(!0);var e=setTimeout(x,p);return function(){clearTimeout(e)}}}),[x,u,p]),t.createElement("span",{className:g,style:v},t.createElement("span",{className:y}))};var cE=t.forwardRef((function(e,n){var r=e.center,i=void 0!==r&&r,a=e.classes,s=e.className,l=(0,Is.A)(e,["center","classes","className"]),u=t.useState([]),c=u[0],d=u[1],p=t.useRef(0),f=t.useRef(null);t.useEffect((function(){f.current&&(f.current(),f.current=null)}),[c]);var h=t.useRef(!1),m=t.useRef(null),g=t.useRef(null),v=t.useRef(null);t.useEffect((function(){return function(){clearTimeout(m.current)}}),[]);var y=t.useCallback((function(e){var n=e.pulsate,r=e.rippleX,o=e.rippleY,i=e.rippleSize,s=e.cb;d((function(e){return[].concat((0,oc.A)(e),[t.createElement(uE,{key:p.current,classes:a,timeout:550,pulsate:n,rippleX:r,rippleY:o,rippleSize:i})])})),p.current+=1,f.current=s}),[a]),x=t.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t.pulsate,o=void 0!==r&&r,a=t.center,s=void 0===a?i||t.pulsate:a,l=t.fakeElement,u=void 0!==l&&l;if("mousedown"===e.type&&h.current)h.current=!1;else{"touchstart"===e.type&&(h.current=!0);var c,d,p,f=u?null:v.current,x=f?f.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(s||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(x.width/2),d=Math.round(x.height/2);else{var b=e.touches?e.touches[0]:e,k=b.clientX,w=b.clientY;c=Math.round(k-x.left),d=Math.round(w-x.top)}if(s)(p=Math.sqrt((2*Math.pow(x.width,2)+Math.pow(x.height,2))/3))%2===0&&(p+=1);else{var E=2*Math.max(Math.abs((f?f.clientWidth:0)-c),c)+2,_=2*Math.max(Math.abs((f?f.clientHeight:0)-d),d)+2;p=Math.sqrt(Math.pow(E,2)+Math.pow(_,2))}e.touches?null===g.current&&(g.current=function(){y({pulsate:o,rippleX:c,rippleY:d,rippleSize:p,cb:n})},m.current=setTimeout((function(){g.current&&(g.current(),g.current=null)}),80)):y({pulsate:o,rippleX:c,rippleY:d,rippleSize:p,cb:n})}}),[i,y]),b=t.useCallback((function(){x({},{pulsate:!0})}),[x]),k=t.useCallback((function(e,t){if(clearTimeout(m.current),"touchend"===e.type&&g.current)return e.persist(),g.current(),g.current=null,void(m.current=setTimeout((function(){k(e,t)})));g.current=null,d((function(e){return e.length>0?e.slice(1):e})),f.current=t}),[]);return t.useImperativeHandle(n,(function(){return{pulsate:b,start:x,stop:k}}),[b,x,k]),t.createElement("span",(0,Fs.A)({className:(0,o.A)(a.root,s),ref:v},l),t.createElement(sE,{component:null,exit:!0},c))}));const dE=(0,$s.A)((function(e){return{root:{overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"},ripple:{opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"$enter ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(e.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"$exit ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"$pulsate 2500ms ".concat(e.transitions.easing.easeInOut," 200ms infinite")},"@keyframes enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}}),{flip:!1,name:"MuiTouchRipple"})(t.memo(cE));var pE=t.forwardRef((function(e,n){var i=e.action,a=e.buttonRef,s=e.centerRipple,l=void 0!==s&&s,u=e.children,c=e.classes,d=e.className,p=e.component,f=void 0===p?"button":p,h=e.disabled,m=void 0!==h&&h,g=e.disableRipple,v=void 0!==g&&g,y=e.disableTouchRipple,x=void 0!==y&&y,b=e.focusRipple,k=void 0!==b&&b,w=e.focusVisibleClassName,E=e.onBlur,_=e.onClick,C=e.onFocus,S=e.onFocusVisible,D=e.onKeyDown,j=e.onKeyUp,A=e.onMouseDown,P=e.onMouseLeave,L=e.onMouseUp,M=e.onTouchEnd,N=e.onTouchMove,O=e.onTouchStart,T=e.onDragLeave,F=e.tabIndex,R=void 0===F?0:F,I=e.TouchRippleProps,B=e.type,W=void 0===B?"button":B,z=(0,Is.A)(e,["action","buttonRef","centerRipple","children","classes","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","onBlur","onClick","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","onDragLeave","tabIndex","TouchRippleProps","type"]),$=t.useRef(null);var H=t.useRef(null),V=t.useState(!1),U=V[0],q=V[1];m&&U&&q(!1);var Y=(0,ju.A)(),G=Y.isFocusVisible,Z=Y.onBlurVisible,K=Y.ref;function Q(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:x;return(0,tc.A)((function(r){return t&&t(r),!n&&H.current&&H.current[e](r),!0}))}t.useImperativeHandle(i,(function(){return{focusVisible:function(){q(!0),$.current.focus()}}}),[]),t.useEffect((function(){U&&k&&!v&&H.current.pulsate()}),[v,k,U]);var X=Q("start",A),J=Q("stop",T),ee=Q("stop",L),te=Q("stop",(function(e){U&&e.preventDefault(),P&&P(e)})),ne=Q("start",O),re=Q("stop",M),oe=Q("stop",N),ie=Q("stop",(function(e){U&&(Z(e),q(!1)),E&&E(e)}),!1),ae=(0,tc.A)((function(e){$.current||($.current=e.currentTarget),G(e)&&(q(!0),S&&S(e)),C&&C(e)})),se=function(){var e=r.findDOMNode($.current);return f&&"button"!==f&&!("A"===e.tagName&&e.href)},le=t.useRef(!1),ue=(0,tc.A)((function(e){k&&!le.current&&U&&H.current&&" "===e.key&&(le.current=!0,e.persist(),H.current.stop(e,(function(){H.current.start(e)}))),e.target===e.currentTarget&&se()&&" "===e.key&&e.preventDefault(),D&&D(e),e.target===e.currentTarget&&se()&&"Enter"===e.key&&!m&&(e.preventDefault(),_&&_(e))})),ce=(0,tc.A)((function(e){k&&" "===e.key&&H.current&&U&&!e.defaultPrevented&&(le.current=!1,e.persist(),H.current.stop(e,(function(){H.current.pulsate(e)}))),j&&j(e),_&&e.target===e.currentTarget&&se()&&" "===e.key&&!e.defaultPrevented&&_(e)})),de=f;"button"===de&&z.href&&(de="a");var pe={};"button"===de?(pe.type=W,pe.disabled=m):("a"===de&&z.href||(pe.role="button"),pe["aria-disabled"]=m);var fe=(0,sl.A)(a,n),he=(0,sl.A)(K,$),me=(0,sl.A)(fe,he),ge=t.useState(!1),ve=ge[0],ye=ge[1];t.useEffect((function(){ye(!0)}),[]);var xe=ve&&!v&&!m;return t.createElement(de,(0,Fs.A)({className:(0,o.A)(c.root,d,U&&[c.focusVisible,w],m&&c.disabled),onBlur:ie,onClick:_,onFocus:ae,onKeyDown:ue,onKeyUp:ce,onMouseDown:X,onMouseLeave:te,onMouseUp:ee,onDragLeave:J,onTouchEnd:re,onTouchMove:oe,onTouchStart:ne,ref:me,tabIndex:m?-1:R},pe,z),u,xe?t.createElement(dE,(0,Fs.A)({ref:H,center:l},I)):null)}));const fE=(0,$s.A)({root:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},"&$disabled":{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}},disabled:{},focusVisible:{}},{name:"MuiButtonBase"})(pE);var hE=n(4867),mE="undefined"===typeof window?t.useEffect:t.useLayoutEffect,gE=t.forwardRef((function(e,n){var i=e.alignItems,a=void 0===i?"center":i,s=e.autoFocus,l=void 0!==s&&s,u=e.button,c=void 0!==u&&u,d=e.children,p=e.classes,f=e.className,h=e.component,m=e.ContainerComponent,g=void 0===m?"li":m,v=e.ContainerProps,y=(v=void 0===v?{}:v).className,x=(0,Is.A)(v,["className"]),b=e.dense,k=void 0!==b&&b,w=e.disabled,E=void 0!==w&&w,_=e.disableGutters,C=void 0!==_&&_,S=e.divider,D=void 0!==S&&S,j=e.focusVisibleClassName,A=e.selected,P=void 0!==A&&A,L=(0,Is.A)(e,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),M=t.useContext(Sc),N={dense:k||M.dense||!1,alignItems:a},O=t.useRef(null);mE((function(){l&&O.current&&O.current.focus()}),[l]);var T=t.Children.toArray(d),F=T.length&&(0,hE.A)(T[T.length-1],["ListItemSecondaryAction"]),R=t.useCallback((function(e){O.current=r.findDOMNode(e)}),[]),I=(0,sl.A)(R,n),B=(0,Fs.A)({className:(0,o.A)(p.root,f,N.dense&&p.dense,!C&&p.gutters,D&&p.divider,E&&p.disabled,c&&p.button,"center"!==a&&p.alignItemsFlexStart,F&&p.secondaryAction,P&&p.selected),disabled:E},L),W=h||"li";return c&&(B.component=h||"div",B.focusVisibleClassName=(0,o.A)(p.focusVisible,j),W=fE),F?(W=B.component||h?W:"div","li"===g&&("li"===W?W="div":"li"===B.component&&(B.component="div")),t.createElement(Sc.Provider,{value:N},t.createElement(g,(0,Fs.A)({className:(0,o.A)(p.container,y),ref:I},x),t.createElement(W,B,T),T.pop()))):t.createElement(Sc.Provider,{value:N},t.createElement(W,(0,Fs.A)({ref:I},B),T))}));const vE=(0,$s.A)((function(e){return{root:{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,"&$focusVisible":{backgroundColor:e.palette.action.selected},"&$selected, &$selected:hover":{backgroundColor:e.palette.action.selected},"&$disabled":{opacity:.5}},container:{position:"relative"},focusVisible:{},dense:{paddingTop:4,paddingBottom:4},alignItemsFlexStart:{alignItems:"flex-start"},disabled:{},divider:{borderBottom:"1px solid ".concat(e.palette.divider),backgroundClip:"padding-box"},gutters:{paddingLeft:16,paddingRight:16},button:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},secondaryAction:{paddingRight:48},selected:{}}}),{name:"MuiListItem"})(gE);var yE=t.forwardRef((function(e,n){var r,i=e.classes,a=e.className,s=e.component,l=void 0===s?"li":s,u=e.disableGutters,c=void 0!==u&&u,d=e.ListItemClasses,p=e.role,f=void 0===p?"menuitem":p,h=e.selected,m=e.tabIndex,g=(0,Is.A)(e,["classes","className","component","disableGutters","ListItemClasses","role","selected","tabIndex"]);return e.disabled||(r=void 0!==m?m:-1),t.createElement(vE,(0,Fs.A)({button:!0,role:f,tabIndex:r,component:l,selected:h,disableGutters:c,classes:(0,Fs.A)({dense:i.dense},d),className:(0,o.A)(i.root,a,h&&i.selected,!c&&i.gutters),ref:n},g))}));const xE=(0,$s.A)((function(e){return{root:(0,Fs.A)({},e.typography.body1,(0,Bs.A)({minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",width:"auto",overflow:"hidden",whiteSpace:"nowrap"},e.breakpoints.up("sm"),{minHeight:"auto"})),gutters:{},selected:{},dense:(0,Fs.A)({},e.typography.body2,{minHeight:"auto"})}}),{name:"MuiMenuItem"})(yE);var bE=new Map;bE.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"128",y1:"24",x2:"128",y2:"48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"128",y1:"208",x2:"128",y2:"232",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M184,88a40,40,0,0,0-40-40H108a40,40,0,0,0,0,80h44a40,40,0,0,1,0,80H104a40,40,0,0,1-40-40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),bE.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"128",y1:"24",x2:"128",y2:"48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"128",y1:"208",x2:"128",y2:"232",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M184,88a40,40,0,0,0-40-40H108a40,40,0,0,0,0,80h44a40,40,0,0,1,0,80H104a40,40,0,0,1-40-40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),bE.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M200,168a48,48,0,0,1-48,48H136v16a8,8,0,0,1-16,0V216H104a48,48,0,0,1-48-48,8,8,0,0,1,16,0,32.1,32.1,0,0,0,32,32h48a32,32,0,0,0,0-64H108a48,48,0,0,1,0-96h12V24a8,8,0,0,1,16,0V40h8a48,48,0,0,1,48,48,8,8,0,0,1-16,0,32.1,32.1,0,0,0-32-32H108a32,32,0,0,0,0,64h44A48,48,0,0,1,200,168Z"}))})),bE.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"128",y1:"24",x2:"128",y2:"48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"128",y1:"208",x2:"128",y2:"232",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M184,88a40,40,0,0,0-40-40H108a40,40,0,0,0,0,80h44a40,40,0,0,1,0,80H104a40,40,0,0,1-40-40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),bE.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"128",y1:"24",x2:"128",y2:"48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"128",y1:"208",x2:"128",y2:"232",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M184,88a40,40,0,0,0-40-40H108a40,40,0,0,0,0,80h44a40,40,0,0,1,0,80H104a40,40,0,0,1-40-40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),bE.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"128",y1:"24",x2:"128",y2:"48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"128",y1:"208",x2:"128",y2:"232",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M184,88a40,40,0,0,0-40-40H108a40,40,0,0,0,0,80h44a40,40,0,0,1,0,80H104a40,40,0,0,1-40-40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var kE=function(e,t){return Ua(e,t,bE)},wE=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:kE}))}));wE.displayName="CurrencyDollarSimple";var EE=new Map;EE.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"104",r:"32",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M208,104c0,72-80,128-80,128S48,176,48,104a80,80,0,0,1,160,0Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),EE.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M128,24a80,80,0,0,0-80,80c0,72,80,128,80,128s80-56,80-128A80,80,0,0,0,128,24Zm0,112a32,32,0,1,1,32-32A32,32,0,0,1,128,136Z",opacity:"0.2"}),t.createElement("circle",{cx:"128",cy:"104",r:"32",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M208,104c0,72-80,128-80,128S48,176,48,104a80,80,0,0,1,160,0Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),EE.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M128,16a88.1,88.1,0,0,0-88,88c0,75.3,80,132.2,83.4,134.6a8.3,8.3,0,0,0,9.2,0C136,236.2,216,179.3,216,104A88.1,88.1,0,0,0,128,16Zm0,56a32,32,0,1,1-32,32A32,32,0,0,1,128,72Z"}))})),EE.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"104",r:"32",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M208,104c0,72-80,128-80,128S48,176,48,104a80,80,0,0,1,160,0Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),EE.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"104",r:"32",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M208,104c0,72-80,128-80,128S48,176,48,104a80,80,0,0,1,160,0Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),EE.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"104",r:"32",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M208,104c0,72-80,128-80,128S48,176,48,104a80,80,0,0,1,160,0Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var _E=function(e,t){return Ua(e,t,EE)},CE=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:_E}))}));CE.displayName="MapPin";const SE=CE;var DE=new Map;DE.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"128",y1:"40",x2:"128",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"51.8",y1:"84",x2:"204.2",y2:"172",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"51.8",y1:"172",x2:"204.2",y2:"84",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),DE.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"128",y1:"40",x2:"128",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"51.8",y1:"84",x2:"204.2",y2:"172",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"51.8",y1:"172",x2:"204.2",y2:"84",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),DE.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M208.2,165.1,144,128l64.2-37.1a8,8,0,1,0-8-13.8l-64.2,37V40a8,8,0,0,0-16,0v74.1l-64.2-37a8,8,0,0,0-8,13.8L112,128,47.8,165.1A8,8,0,0,0,44.9,176a7.7,7.7,0,0,0,6.9,4,7.3,7.3,0,0,0,4-1.1l64.2-37V216a8,8,0,0,0,16,0V141.9l64.2,37a7.3,7.3,0,0,0,4,1.1,7.7,7.7,0,0,0,6.9-4A8,8,0,0,0,208.2,165.1Z"}))})),DE.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"128",y1:"40",x2:"128",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"51.8",y1:"84",x2:"204.2",y2:"172",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"51.8",y1:"172",x2:"204.2",y2:"84",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),DE.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"128",y1:"40",x2:"128",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"51.8",y1:"84",x2:"204.2",y2:"172",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"51.8",y1:"172",x2:"204.2",y2:"84",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),DE.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"128",y1:"40",x2:"128",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"51.8",y1:"84",x2:"204.2",y2:"172",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"51.8",y1:"172",x2:"204.2",y2:"84",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var jE=function(e,t){return Ua(e,t,DE)},AE=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:jE}))}));AE.displayName="Asterisk";var PE=new Map;PE.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"16",y1:"216",x2:"240",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M144,216V40a8,8,0,0,0-8-8H40a8,8,0,0,0-8,8V216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M224,216V104a8,8,0,0,0-8-8H144",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"68",y1:"72",x2:"96",y2:"72",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"80",y1:"136",x2:"108",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"68",y1:"176",x2:"96",y2:"176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"180",y1:"176",x2:"188",y2:"176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"180",y1:"136",x2:"188",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),PE.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M144,216V40a8,8,0,0,0-8-8H40a8,8,0,0,0-8,8V216",opacity:"0.2"}),t.createElement("line",{x1:"16",y1:"216",x2:"240",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M144,216V40a8,8,0,0,0-8-8H40a8,8,0,0,0-8,8V216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M224,216V104a8,8,0,0,0-8-8H144",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"64",y1:"72",x2:"96",y2:"72",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"80",y1:"136",x2:"112",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"64",y1:"176",x2:"96",y2:"176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"176",y1:"176",x2:"192",y2:"176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"176",y1:"136",x2:"192",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),PE.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M240,208h-8V104a16,16,0,0,0-16-16H152V40a16,16,0,0,0-16-16H40A16,16,0,0,0,24,40V208H16a8,8,0,0,0,0,16H240a8,8,0,0,0,0-16ZM120,136a8,8,0,0,1-8,8H80a8,8,0,0,1,0-16h32A8,8,0,0,1,120,136ZM64,64H96a8,8,0,0,1,0,16H64a8,8,0,0,1,0-16Zm0,104H96a8,8,0,0,1,0,16H64a8,8,0,0,1,0-16Zm88-64h64V208H152Z"}),t.createElement("path",{d:"M192,168H176a8,8,0,0,0,0,16h16a8,8,0,0,0,0-16Z"}),t.createElement("path",{d:"M176,144h16a8,8,0,0,0,0-16H176a8,8,0,0,0,0,16Z"}))})),PE.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"16",y1:"216",x2:"240",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M144,216V40a8,8,0,0,0-8-8H40a8,8,0,0,0-8,8V216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M224,216V104a8,8,0,0,0-8-8H144",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"64",y1:"72",x2:"96",y2:"72",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"80",y1:"136",x2:"112",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"64",y1:"176",x2:"96",y2:"176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"176",y1:"176",x2:"192",y2:"176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"176",y1:"136",x2:"192",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),PE.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"16",y1:"216",x2:"240",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M144,216V40a8,8,0,0,0-8-8H40a8,8,0,0,0-8,8V216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M224,216V104a8,8,0,0,0-8-8H144",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"64",y1:"72",x2:"96",y2:"72",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"80",y1:"136",x2:"112",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"64",y1:"176",x2:"96",y2:"176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"176",y1:"176",x2:"192",y2:"176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"176",y1:"136",x2:"192",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),PE.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"16",y1:"216",x2:"240",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M144,216V40a8,8,0,0,0-8-8H40a8,8,0,0,0-8,8V216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M224,216V104a8,8,0,0,0-8-8H144",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"64",y1:"72",x2:"96",y2:"72",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"80",y1:"136",x2:"112",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"64",y1:"176",x2:"96",y2:"176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"176",y1:"176",x2:"192",y2:"176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"176",y1:"136",x2:"192",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var LE=function(e,t){return Ua(e,t,PE)},ME=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:LE}))}));ME.displayName="Buildings";const NE=["Details.InNetworkProfessionalServices.PrimaryCarePhysician","Details.InNetworkProfessionalServices.Specialist","Details.InNetworkProfessionalServices.TeleMedicine","Details.InNetworkProfessionalServices.InPatientHospital","Details.InNetworkProfessionalServices.OutPatientSurgery","Details.InNetworkProfessionalServices.MentalHealthOutpatient","Details.InNetworkProfessionalServices.UrgentCare","Details.InNetworkProfessionalServices.EmergencyRoom"],OE={sections:["Medical Plan Details","Network Information"],fields:e=>["ProviderID","ProviderName","ProductName","Details.EffectiveDate","Details.DeductibleReset","Details.NetworkName","Details.NetworkProviderSearchUrl","Details.NetworkDescription","Details.InNetworkPlanDesign.SingleEmbeddedDeductibleOOPM","Details.InNetworkPrescriptionDrugs.PrescriptionDrugTier","Details.PlanType","ApplicableStates","Details.IncludesOrtho","Details.EmployeeCost","Details.EmployerPaidCoverage","Details.SpouseDependantCoverage","Details.ADDIncluded"]},TE=(Object.fromEntries(NE.map((e=>[e,"Label.InNetworkProfessionalServices"]))),(e,t)=>Object.fromEntries(e.map((e=>[e,t])))),FE={ProviderName:e=>{const{ProviderID:t}=e;return t&&"00000000-0000-0000-0000-000000000000"!==t?"disabled":"enabled"},"Details.EmployerPaidCoverageAmount":e=>{let{Details:t}=e;return null!==t&&void 0!==t&&t.EmployerPaidCoverage?"show":"hide"},"Details.InNetworkPrescriptionDrugs.Tier4":e=>{var t,n,r;let{Details:o}=e;return"4 Tier Structure"===(null===o||void 0===o||null===(t=o.InNetworkPrescriptionDrugs)||void 0===t?void 0:t.PrescriptionDrugTier)||"5 Tier Structure"===(null===o||void 0===o||null===(n=o.InNetworkPrescriptionDrugs)||void 0===n?void 0:n.PrescriptionDrugTier)||"6 Tier Structure"===(null===o||void 0===o||null===(r=o.InNetworkPrescriptionDrugs)||void 0===r?void 0:r.PrescriptionDrugTier)?"show":"hide"},"Details.InNetworkPrescriptionDrugs.Tier5":e=>{var t,n;let{Details:r}=e;return"5 Tier Structure"===(null===r||void 0===r||null===(t=r.InNetworkPrescriptionDrugs)||void 0===t?void 0:t.PrescriptionDrugTier)||"6 Tier Structure"===(null===r||void 0===r||null===(n=r.InNetworkPrescriptionDrugs)||void 0===n?void 0:n.PrescriptionDrugTier)?"show":"hide"},"Details.InNetworkPrescriptionDrugs.Tier6":e=>{var t;let{Details:n}=e;return"6 Tier Structure"===(null===n||void 0===n||null===(t=n.InNetworkPrescriptionDrugs)||void 0===t?void 0:t.PrescriptionDrugTier)?"show":"hide"},...TE(["Details.OrthodonticsLifetimeMax","Details.Children","Details.Adult"],(e=>{let{Details:t}=e;return null!==t&&void 0!==t&&t.IncludesOrtho?"show":"hide"})),...TE(["Details.TotalLifeInsuranceBenefitString","Details.ADDIncluded","Details.GuaranteeIssueAmount","Details.SpouseDependantCoverage","Details.SpouseCoverage","Details.DependentCoverage"],(e=>{let{Details:t}=e;return t.SupplementalLifeCoverageAvailable?"show":"hide"})),...TE(["Details.SpouseCoverage","Details.DependentCoverage"],(e=>{let{Details:t}=e;return t.SupplementalLifeCoverageAvailable&&null!==t&&void 0!==t&&t.SpouseDependantCoverage?"show":"hide"})),"Details.PlanType":()=>"hide",ApplicableStates:()=>"hide",Cost:()=>"hide",ProductName:()=>"hide"},RE={insurance_plan:{"Label.InNetworkPlanDetails":["Details.InNetworkPlanDesign.SingleDeductible","Details.InNetworkPlanDesign.Deductible","Details.InNetworkPlanDesign.SingleOOPM","Details.InNetworkPlanDesign.OOPM","Details.InNetworkPlanDesign.Coinsurance"],"Label.PrescriptionDrugs":["Details.InNetworkPrescriptionDrugs.MedicalDeductibleApplies","Details.InNetworkPrescriptionDrugs.Tier1","Details.InNetworkPrescriptionDrugs.Tier2","Details.InNetworkPrescriptionDrugs.Tier3","Details.InNetworkPrescriptionDrugs.Tier4","Details.InNetworkPrescriptionDrugs.Tier5","Details.InNetworkPrescriptionDrugs.Tier6","Details.InNetworkPrescriptionDrugs.MailOrder"]}},IE=(e,t)=>{const{Sections:n=[]}=t||{},r=((e,t)=>{const n=t.reduce(((e,t)=>{var n;return null===t||void 0===t||null===(n=t.Fields)||void 0===n?void 0:n.reduce(((e,t)=>({...e,[null===t||void 0===t?void 0:t.PropertyChain]:t})),e)}),{});let r=null===RE||void 0===RE?void 0:RE[null===e||void 0===e?void 0:e.Type];return"insurance_plan"===(null===e||void 0===e?void 0:e.Type)&&(r={...r,"Label.InNetworkProfessionalServices":NE}),Object.entries(r||{}).reduce(((e,t)=>{let[r,o]=t;const i=(null===o||void 0===o?void 0:o.every((e=>{var t;return"hide"===(null===(t=n[e])||void 0===t?void 0:t.State)})))?"hide":"show";return{...e,[r]:i}}),{})})(e,n),o=(e,t)=>{const n=(null===r||void 0===r?void 0:r[null===e||void 0===e?void 0:e.PropertyChain])||(null===e||void 0===e?void 0:e.State);return{...e,State:n,sectionIdx:t,itemType:"field"}};return null===n||void 0===n?void 0:n.reduce(((e,t,n)=>{let{DisplayValue:r,Fields:i}=t;if(!OE.sections.includes(r)&&"Premiums & Contributions"!==r){let t=[];return 0===n&&t.push({sectionTitle:"Plan Details",itemType:"section"}),[...e,...t,...i.map(o)]}return e}),[])},BE=e=>{var t;let{product:n,field:r,config:o,comparisonView:i=!1}=e;if(!r||!i&&"hide"===r.State||null!==o&&void 0!==o&&o.hideField)return null;const a="sectionTitle"in r,s=e=>{let{children:t,hideAlternating:n}=e;return(0,Cs.jsx)(Ku,{onClick:()=>console.log(r),className:n?"":"alternating-item",css:bs`
          overflow: hidden;
          ${i&&"hide"===(null===r||void 0===r?void 0:r.State)}
          padding: 16px 32px;
          ${"highlight"===(null===r||void 0===r?void 0:r.State)?`\n            border-left: 4px solid var(--button-background-color, ${ks.purple});\n            p {\n              font-size: 1.3em;\n              font-weight: bold;\n            }\n          `:""}
        `,children:t})};return null!==o&&void 0!==o&&o.hideField?null:null!==o&&void 0!==o&&null!==(t=o.components)&&void 0!==t&&t.length?(0,Cs.jsx)(Cs.Fragment,{children:null===o||void 0===o||null===(l=o.components)||void 0===l?void 0:l.map((e=>(0,Cs.jsx)(s,{children:(0,Cs.jsx)(e,{field:r,Wrapper:s})})))}):a?(0,Cs.jsx)(Ts,{h4:!0,className:bs`
          width: 100%;
          padding: 8px 32px;
          padding-top: 16px;
        `,children:r.sectionTitle}):(0,Cs.jsx)(s,{hideAlternating:"label"===(null===r||void 0===r?void 0:r.Type),children:a?null:(0,Cs.jsxs)(Ku,{css:bs`
            ${r.RecDisplayValue||null!==r&&void 0!==r&&r.DisplayValue?i?"":Tu("space-between start"):""} flex-grow: 1;
          `,children:["label"===r.Type?(0,Cs.jsx)(Ts,{label:!0,bold:"insurance_plan"===(null===n||void 0===n?void 0:n.Type),className:bs`
                width: 100%;
                color: var(--text-body);
              `,children:r.RecDisplayValue||r.DisplayValue}):(0,Cs.jsx)(Ts,{label:!0,children:r.RecDisplayValue||r.DisplayValue}),"label"!==r.Type&&(0,Cs.jsx)(Tw,{field:r,product:n,comparisonView:i})]})});var l},WE="@media only screen and (max-width: 600px)",zE="@media only screen and (min-width: 600px)",$E=(bs`
  padding-top: 8px;
  border-top: 1px solid #d1dae3;
`,bs`
  margin: 24px 0;
  border-bottom: 1px solid #d1dae3;
  > div:nth-child(odd) {
    background-color: #f5f7fa;
  }
`),HE=bs`
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  white-space: normal;
  > p {
    flex-grow: 1;
    text-align: right;
    :first-child {
      text-align: left;
    }
    :last-child {
      margin-left: 16px;
    }
  }
  ${"@media only screen and (max-width: 380px)"} {
    flex-direction: column;
    p {
      text-align: center !important;
    }
  }
`,VE=(bs`
  flex-grow: 1;
  text-align: right;
  margin-left: 16px;
`,bs`
  font-size: 20px;
  font-weight: bold;
  margin: 16px 0;
  margin-top: 0;
  flex-grow: 1;
  text-align: left;

  ${WE} {
    font-size: 16px;
    margin: 8px 0;
    padding: 0;
  }
`),UE=bs`
  margin-top: 32px;
  border-radius: 16px;
  padding: 16px 24px;

  .title {
    ${VE}
  }
  .section-title {
    font-size: 24px;
    font-weight: bold;
    padding-bottom: 16px;
    ${WE} {
      text-align: center;
      margin: 0 16px;
      font-size: 18px;
    }
  }
  .view-button {
    margin-top: 8px;
  }
  ${WE} {
    text-align: center;
    padding: 8px 0;
  }
`,qE=bs``,YE=bs`
  border-radius: 16px;

  background: #fff;
  padding: 32px;
  margin-bottom: 16px;
  ${WE} {
    padding: 12px 12px;
    margin-left: 16px;
    margin-right: 16px;
    margin-top: 0;
    margin-bottom: 16px;
  }
`,GE=bs`
  display: flex;
  justify-content: end;
  align-items: start;
  margin-bottom: -24px;
  flex-grow: 1;
  width: 100px;
  height: 80px;
  img {
    flex-grow: 1;
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    object-position: right bottom;
  }
  ${WE} {
    flex-grow: 1;
    justify-content: center;
    width: 100%;
    padding: 8px 0;
    margin-bottom: 0px;
  }
`,ZE=bs`
  display: flex;
  align-items: start;
  ${WE} {
    display: none;
  }
  .question {
    margin: 0;
    padding: 0;
    flex-grow: 1;
    text-align: left;
    white-space: normal;
    overflow-wrap: break-word;
  }
`,KE={core:"a",buyup:"b",narrow:"c"},QE={insurance_plan:"Medical",dental_buyup:"Dental Insurance",vision_buyup:"Vision",dental_ortho_buyup:"Dental + Orthodontics",long_term_disability:"Long Term Disability",short_term_disability:"Short Term Disability",supplimental_life:"Supplemental Life",accident_plan:"Accident Insurance",hospital_indemnity:"Hospital Indemnity",cancer_buyup:"Cancer Insurance",critical_illness:"Critical Illness Insurance",hsa_buyup:"Health Savings Account",fsa_buyup:"Flexible Spending Account",supplemental_life_v2:"Supplemental Life",basic_life_v2:"Basic Life",HSA:"Health Savings Account",HRA:"Health Reimbursement Arrangement"},XE={core:"Core Medical",buyup:"Buy Up Network",narrow:"Narrow Network"},JE={core:"Core",buyup:"Buy Up"},e_=e=>{var n,r;let{productId:o="",productType:i,allowList:a,...s}=e;const{data:{products:l,selectedBenefits:u}}=Ww(),[c,d]=(0,t.useState)([]);(0,t.useEffect)((()=>{const e=null===l||void 0===l?void 0:l.filter((e=>{let{ID:t,Type:n}=e;return i===n&&(!a||a.indexOf(t)>=0)})),t=null===e||void 0===e?void 0:e.sort(((e,t)=>{var n,r;return(null===e||void 0===e||null===(n=e.MultiNetworkID)||void 0===n?void 0:n.localeCompare(null===t||void 0===t?void 0:t.MultiNetworkID))||(null===(r=KE[null===e||void 0===e?void 0:e.MultiNetworkCategory])||void 0===r?void 0:r.localeCompare(KE[null===t||void 0===t?void 0:t.MultiNetworkCategory]))}));d(t)}),[l,a]);const[p,f]=(0,t.useState)([]);(0,t.useEffect)((()=>{var e;const t=o||(null===c||void 0===c||null===(e=c[0])||void 0===e?void 0:e.ID),n=null===c||void 0===c?void 0:c.find((e=>{let{ID:n}=e;return n===t})),r=null===c||void 0===c?void 0:c.find((e=>{let{ID:n}=e;return n!==t}));n&&r&&f([n,r])}),[c]);const h=(0,t.useMemo)((()=>p.reduce(((e,t)=>{var n;const r=null===t||void 0===t||null===(n=t.sections)||void 0===n?void 0:n.findIndex((e=>{let{DisplayValue:t}=e;return"Premiums & Contributions"===t}));if(r>-1){var o,i;const n=null===t||void 0===t||null===(o=t.sections)||void 0===o?void 0:o[r],a=null===n||void 0===n||null===(i=n.Fields)||void 0===i?void 0:i.find((e=>{let{PropertyChain:t}=e;return"Cost"===t}));return[...e,"hide"!==(null===a||void 0===a?void 0:a.State)]}return e}),[]))),m=e=>null===e||void 0===e?void 0:e.reduce(((e,t)=>[...e,...null===t||void 0===t?void 0:t.Fields]),[]),g=null===p||void 0===p?void 0:p.map((e=>{let{ID:t}=e;return t})),v=null===c||void 0===c?void 0:c.filter((e=>{let{ID:t}=e;return!g.includes(t)})),y=(0,t.useRef)(),x=e=>{let{children:t,css:n="",sectionIdx:r,fieldIdx:o}=e;return(0,Cs.jsx)("div",{className:bs`
          ${Tu("left start")}
          margin-left: -32px;
          margin-right: -32px;
          min-width: 300px;
          width: 100%;
          ${n}
        `,children:p.map(((e,n)=>{var i,a,s,l,u;return(0,Cs.jsx)("div",{className:bs`
                width: 50%;
                max-width: 400px;
                position: relative;
              `,children:t({comp:e,idx:n,propertyChain:null===p||void 0===p||null===(i=p[0])||void 0===i||null===(a=i.sections)||void 0===a||null===(s=a[r])||void 0===s||null===(l=s.Fields)||void 0===l||null===(u=l[o])||void 0===u?void 0:u.PropertyChain})})}))})},b=null===p||void 0===p||null===(n=p[0])||void 0===n?void 0:n.sections,k=null===p||void 0===p?void 0:p.findIndex((e=>{let{ID:t}=e;return null===u||void 0===u?void 0:u.includes(t)})),w=null===y||void 0===y||null===(r=y.current)||void 0===r?void 0:r.clientHeight,E=(e,t)=>{if(!e)return null;for(let r=0;r<e.length;r++){var n;const o=null===e||void 0===e||null===(n=e[r].Fields)||void 0===n?void 0:n.find((e=>{let{PropertyChain:n}=e;return n===t}));if(o)return o}return null};return(0,Cs.jsx)(gf,{...s,full:!0,onClick:e=>e.stopPropagation(),animate:!1,children:(0,Cs.jsxs)(Ku,{css:bs`
          width: calc(100vw - 64px);
          height: calc(100vh - 64px);
          overflow-y: auto;
          padding: 32px;
          ${WE} {
            padding: 32px 8px;
            width: 100vw;
          }
        `,children:[(0,Cs.jsxs)(Ku,{css:bs`
            ${Tu("space-between")} box-sizing: border-box;
          `,children:[(0,Cs.jsx)(Ts,{h1:!0,children:"Compare Plans"}),(0,Cs.jsx)(Gu,{styles:"secondary",onClick:s.onClose,children:"Close"})]}),(0,Cs.jsxs)("div",{className:bs`
            ${Tu("left")}
          `,children:[(0,Cs.jsxs)("div",{className:bs`
              position: relative;
              margin-top: 32px;
              padding: 16px 0;
              flex-grow: 1;
            `,ref:y,children:[(0,Cs.jsx)(x,{children:e=>{let{idx:t}=e;return t===k?(0,Cs.jsx)("div",{className:bs`
                      position: absolute;
                      top: 0;
                      right: calc(${32*k}px + 16px);
                      left: ${-32*k}px;
                      // Just hiding the border for now until we can fix it, see https://linear.app/bebrite/issue/BRI-3085/accident-plan-recommendation-spacing-issue-in-compare-plans
                      // border: 4px solid var(--text-body);
                      border-radius: 16px;
                      height: ${w}px;
                    `,children:(0,Cs.jsx)("div",{className:bs`
                        position: absolute;
                        top: -16px;
                        left: calc(50% - 48px);
                        padding: 4px 16px;
                        background-color: var(--text-body);
                        border-radius: 30px;
                      `,children:(0,Cs.jsx)(Ts,{bold:!0,css:"\n                          color: white;\n                        ",children:"Selected"})})}):null}}),(0,Cs.jsx)(x,{css:"\n                margin: 32px 0;\n              ",children:e=>{var t,n,r;let{comp:o}=e;return(0,Cs.jsx)("div",{className:bs`
                    border: 1px solid ${ks.gray[300]};
                    border-radius: 8px;
                    ${Tu("center")}
                    width: calc(100% - 64px);
                    min-width: 150px;
                  `,children:null!==o&&void 0!==o&&null!==(t=o.Details)&&void 0!==t&&t.IsMultiCarrier?(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsx)(wh,{carrierID:(null===o||void 0===o?void 0:o.ProviderID)||"00000000-0000-0000-0000-000000000000",planCarrierName:(null===o||void 0===o?void 0:o.ProviderName)||"",maxWidth:"150px",maxHeight:"100px",position:"center"}),(0,Cs.jsx)("div",{className:bs`
                          border-left: 1px solid #26282d;
                          height: 50px;
                        `}),(0,Cs.jsx)(wh,{carrierID:(null===o||void 0===o||null===(n=o.Details)||void 0===n?void 0:n.MultiCarrierID)||"00000000-0000-0000-0000-000000000000",planCarrierName:(null===o||void 0===o||null===(r=o.Details)||void 0===r?void 0:r.MultiCarrierName)||"",maxWidth:"150px",maxHeight:"100px",position:"center"})]}):(0,Cs.jsx)(wh,{maxWidth:"250px",maxHeight:"100px",position:"center",carrierID:o.ProviderID,planCarrierName:o.ProviderName})})}}),(0,Cs.jsx)(x,{css:"\n                margin: 0;\n              ",children:e=>{let{comp:t,idx:n}=e;return null!==v&&void 0!==v&&v.length?(0,Cs.jsx)(sh,{placeholder:(null===t||void 0===t?void 0:t.ProductName)||QE[null===t||void 0===t?void 0:t.Type],defaultValue:null===t||void 0===t?void 0:t.ID,onChange:e=>((e,t)=>{let n=[...p];const r=null===c||void 0===c?void 0:c.find((t=>{let{ID:n}=t;return n===e.target.value}));n.splice(t,1,r),f(n)})(e,n),css:"\n                      margin-bottom: 32px;\n                      width: calc(100% - 64px);\n                      min-width: 150px;\n                    ",children:null===v||void 0===v?void 0:v.map((e=>{return(0,Cs.jsx)(xE,{value:null===e||void 0===e?void 0:e.ID,children:(0,Cs.jsxs)(Ku,{css:bs`
                            ${Tu("space-between")} width: 100%;
                          `,children:[(0,Cs.jsx)(Ts,{label:!0,children:(null===e||void 0===e?void 0:e.ProductName)||QE[null===e||void 0===e?void 0:e.Type]}),(0,Cs.jsx)(Ts,{className:bs`
                              flex-grow: 1;
                              text-align: right;
                            `,children:(t=null===e||void 0===e?void 0:e.Type,"insurance_plan"===t?XE:JE)[null===e||void 0===e?void 0:e.MultiNetworkCategory]})]})},"product-list"+(null===e||void 0===e?void 0:e.ID));var t}))}):(0,Cs.jsx)(Ts,{h2:!0,css:"\n                      margin-bottom: 32px;\n                      width: calc(100% - 64px);\n                    ",children:(null===t||void 0===t?void 0:t.ProductName)||QE[null===t||void 0===t?void 0:t.Type]})}}),(0,Cs.jsx)(x,{children:e=>{var t,n;let{comp:r,idx:o}=e;return h.some((e=>e))&&(0,Cs.jsx)(eE,{comparisonView:!0,markHidden:!h[o],data:{product:r},premiumsSetExternally:null===r||void 0===r||null===(t=r.Details)||void 0===t||null===(n=t.PlanType)||void 0===n?void 0:n.startsWith("aca")})}}),null===b||void 0===b?void 0:b.map(((e,t)=>{var n;return(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsx)(x,{children:e=>{var n;let{comp:r,idx:o}=e;const i=null===r||void 0===r||null===(n=r.sections)||void 0===n?void 0:n[t];return null!==OE&&void 0!==OE&&OE.sections.includes(null===i||void 0===i?void 0:i.DisplayValue)||"Premiums & Contributions"===(null===i||void 0===i?void 0:i.DisplayValue)?null:(0,Cs.jsx)("div",{children:(0,Cs.jsx)(Ts,{h4:!0,className:bs`
                            margin: 32px;
                            margin-bottom: 0;
                            color: var(--text-h4);
                            font-size: 22px;
                          `,children:null===i||void 0===i?void 0:i.DisplayValue})})}}),null===e||void 0===e||null===(n=e.Fields)||void 0===n?void 0:n.map(((e,n)=>(0,Cs.jsx)(x,{sectionIdx:t,fieldIdx:n,children:e=>{var t,n;let{comp:r,propertyChain:o}=e;const i=E(null===r||void 0===r?void 0:r.sections,o);return((e,t)=>{if(null!==e&&void 0!==e&&e.hideField||!t)return!1;const n=p.some((e=>{var n;const r=E(null===e||void 0===e?void 0:e.sections,t);if(!r)return!1;const o=(null===FE||void 0===FE||null===(n=FE[t])||void 0===n?void 0:n.call(FE,e))||"show";return r&&"hide"!==r.State&&"hide"!==o}));return n})(null===Fw||void 0===Fw||null===(t=Fw[null===r||void 0===r?void 0:r.Type])||void 0===t||null===(n=t.call(Fw,{product:r}))||void 0===n?void 0:n[null===i||void 0===i?void 0:i.PropertyChain],null===i||void 0===i?void 0:i.PropertyChain)?(0,Cs.jsx)(BE,{product:r,field:i,markHidden:!0,comparisonView:!0,allFields:m(r.sections)}):null}})))]})})),(0,Cs.jsx)(x,{children:e=>{var t,n;let{comp:r}=e;const o=m(r.sections);return(0,Cs.jsxs)(Cs.Fragment,{children:["insurance_plan"===(null===r||void 0===r?void 0:r.Type)&&(null===r||void 0===r?void 0:r.TitleDescriptions)&&(null===r||void 0===r?void 0:r.TitleDescriptions.length)>0&&(0,Cs.jsx)(Ts,{h4:!0,className:bs`
                          width: 100%;
                          padding: 16px 32px;
                          padding-top: 32px;
                        `,children:"Other Details"}),null===r||void 0===r||null===(t=r.TitleDescriptions)||void 0===t||null===(n=t.filter((e=>{let{Autogenerated:t=!1}=e;return!t})))||void 0===n?void 0:n.map(((e,t)=>{let{Title:n}=e;return(0,Cs.jsx)(BE,{product:r,markHidden:!0,comparisonView:!0,allFields:o,field:{DisplayValue:n,State:"show",Type:"text-input",PropertyChain:`TitleDescriptions[${t}].Description`}})}))]})}})]}),(0,Cs.jsx)("div",{className:bs`
              flex-grow: 1;
              height: 100%;
              width: 100%;
              max-width: calc(100vw - ${432*p.length}px);
            `})]})]})})};var t_=n(1001);const n_=t_.default||t_,r_={types:{CONTENT:"content",NAVIGATION:"navigation",RECOMMENDATIONS:"recommendations"},actions:{BACK_TO_GUIDE:"back-to-guide",CALL_TO_ACTION:"call-to-action",ENROLL:"enroll",GET_RECOMMENDATIONS:"get-recommendations",NEXT_PAGE:"navigate-to-next-page",PAGES_MENU:"pages-drawer",PREV_PAGE:"navigate-to-previous-page",SEARCH:"search",LANGUAGE:"language",SEARCH_NETWORK:"search-network",SEE_RESULTS:"see-results",SELECT_MEDICAL:"select-medical-plan",SHARE:"share",SHOW_COMPARISONS:"show-comparisons",SUREST_TOGGLE:"surest-flexible-toggle",VIEW_MORE:"view-more",VIEW_RECOMMENDATIONS:"view-recommendations"}},o_=["hsa_buyup"],i_={telemedicine:"Telemedicine",wellness_differential:"Wellness Differential",disease_management_program:"Disease Management",specialty_pharmacy_program:"Specialty Pharmacy",health_reimbursement_arrangement:"Health Reimbursement Arrangement",health_savings_account:"Health Savings Account",flexible_spending_account:"Flexible Spending Account",custom:"Custom"},a_=Object.entries(i_),s_=e=>{var n,r,o,i,a,s,l,u,c,d,p,f,h,m,g,v,y,x,b,k,w,E;let{data:_}=e;const{product:C,layout:S,includedPrograms:D,meta:{networks:j,productTypeCount:A,fieldsObject:P,isLoading:L}}=_,[M,N]=(0,t.useState)(!1),[O,T]=(0,t.useState)(!1),[F,R]=(0,t.useState)(""),[I,B]=(0,t.useState)(!0),W="custom"===(null===C||void 0===C?void 0:C.Type),z=_h(Fw,{product:C,fieldsObject:P}),{aboveFold:$=[],expandable:H=[]}=(0,t.useMemo)((()=>{var e,t;if(null===S||void 0===S||!S.Sections)return{};const n=IE(C,S),r=null===n||void 0===n?void 0:n.reduce(((e,t)=>{if("hide"===t.State)return e;const n=(null===z||void 0===z?void 0:z[null===t||void 0===t?void 0:t.PropertyChain])||{};return null!==n&&void 0!==n&&n.aboveTheFold?{...e,aboveFold:[...e.aboveFold,t]}:{...e,expandable:[...e.expandable,t]}}),{aboveFold:[],expandable:[]});return{allFields:n,aboveFold:null!==r&&void 0!==r&&null!==(e=r.aboveFold)&&void 0!==e&&e.length?null===r||void 0===r?void 0:r.aboveFold:null===r||void 0===r?void 0:r.expandable,expandable:null!==r&&void 0!==r&&null!==(t=r.aboveFold)&&void 0!==t&&t.length?null===r||void 0===r?void 0:r.expandable:[]}})),V=(0,t.useMemo)((()=>{var e;const t=null===S||void 0===S||null===(e=S.Sections)||void 0===e?void 0:e.findIndex((e=>{let{DisplayValue:t}=e;return"Premiums & Contributions"===t}));if(t>-1){var n,r;const e=null===S||void 0===S||null===(n=S.Sections)||void 0===n?void 0:n[t],o=null===e||void 0===e||null===(r=e.Fields)||void 0===r?void 0:r.find((e=>{let{PropertyChain:t}=e;return"Cost"===t}));return"hide"!==(null===o||void 0===o?void 0:o.State)}return!1})),U="insurance_plan"===(null===C||void 0===C?void 0:C.Type)?j.core:C,q="custom"===(null===C||void 0===C?void 0:C.Type)&&(null===C||void 0===C?void 0:C.CallToActionText)&&(null===C||void 0===C?void 0:C.CallToActionUrl),Y=!(null===C||void 0===C||!C.Disclaimer),G=o_.includes(C.Type)||W,Z=null===C||void 0===C||null===(n=C.TitleDescriptions)||void 0===n?void 0:n.filter((e=>{let{Autogenerated:t}=e;return!t})),K=G?null===Z||void 0===Z?void 0:Z.slice(0,5):[],Q=G?null===Z||void 0===Z?void 0:Z.slice(5):Z,X=!(null===(r=Object.entries(D||{}))||void 0===r||!r.length)&&"hsa_buyup"!==(null===C||void 0===C?void 0:C.Type),J=null===C||void 0===C||null===(o=C.Details)||void 0===o||null===(i=o.ConditionPercentages)||void 0===i?void 0:i.filter((e=>e.Name&&e.Percentage)),ee="critical_illness"===C.Type&&(null===J||void 0===J?void 0:J.length),te=!!H.length||!(null===Q||void 0===Q||!Q.length)||X,ne=!(null===Q||void 0===Q||!Q.length),re=(0,Wc.get)(C,"Details.InNetworkPlanDesign.SingleEmbeddedDeductibleOOPM"),oe=(e=>{try{const t=(null===e||void 0===e?void 0:e.replace(/(?:^|[^"'])((ftp|http|https|file):\/\/[\S]+(\b|$))/gi," <a href='$1' target='_blank'>$1</a>"))||"";return n_(t)}catch{return""}})(null===C||void 0===C?void 0:C.Disclaimer),ie=(0,t.useMemo)((()=>null===D||void 0===D?void 0:D.map((e=>{let{ProgramType:t}=e;return t}))),[D]);return(0,Cs.jsx)(Ku,{css:bs`
        ${Tu("center")} width: 100%;
        box-sizing: border-box;
      `,children:(0,Cs.jsxs)(Ku,{css:bs`
          position: relative;
          min-height: 200px;
          width: 100%;
          border-radius: 8px;
          ${Iu}
          padding-top: 24px;
          background-color: white;
        `,children:[(0,Cs.jsxs)(ch,{in:!L,children:[(0,Cs.jsxs)(Ku,{css:bs`
              ${Tu("center column")} width: 100%;
              padding-top: 16px;
            `,children:[null!==U&&void 0!==U&&null!==(a=U.Details)&&void 0!==a&&a.IsMultiCarrier?(0,Cs.jsxs)("div",{className:bs`
                  display: flex;
                  align-items: center;
                  gap: 16px;
                  justify-content: space-between;
                `,children:[(0,Cs.jsx)(wh,{carrierID:(null===U||void 0===U?void 0:U.ProviderID)||"00000000-0000-0000-0000-000000000000",planCarrierName:(null===U||void 0===U?void 0:U.ProviderName)||"",maxWidth:"150px",maxHeight:"100px",position:"center"}),(0,Cs.jsx)("div",{className:bs`
                    border-left: 1px solid #26282d;
                    height: 50px;
                  `}),(0,Cs.jsx)(wh,{carrierID:(null===U||void 0===U||null===(s=U.Details)||void 0===s?void 0:s.MultiCarrierID)||"00000000-0000-0000-0000-000000000000",planCarrierName:(null===U||void 0===U||null===(l=U.Details)||void 0===l?void 0:l.MultiCarrierName)||"",maxWidth:"150px",maxHeight:"100px",position:"center"})]}):(0,Cs.jsx)(wh,{carrierID:(null===U||void 0===U?void 0:U.ProviderID)||"00000000-0000-0000-0000-000000000000",planCarrierName:(null===U||void 0===U?void 0:U.ProviderName)||"",maxWidth:"350px",maxHeight:"100px",position:"center"}),(0,Cs.jsx)(Ts,{styles:"h4",className:bs`
                margin-top: 16px;
                padding: 0 32px;
                text-align: center;
              `,children:(null===U||void 0===U?void 0:U.ProductName)||"Benefit Summary"}),W?(0,Cs.jsx)(Ts,{css:"\n                  margin: 0 32px;\n                ",children:null===C||void 0===C?void 0:C.Description}):null,null!==C&&void 0!==C&&null!==(u=C.Details)&&void 0!==u&&u.NetworkName?(0,Cs.jsxs)(Ts,{css:`\n                  ${Tu("center")} padding-top: 8px;\n                `,children:[null===C||void 0===C||null===(c=C.Details)||void 0===c?void 0:c.NetworkName," ",null!==C&&void 0!==C&&null!==(d=C.Details)&&void 0!==d&&d.MultiCarrierNetworkName&&null!==U&&void 0!==U&&null!==(p=U.Details)&&void 0!==p&&p.IsMultiCarrier?`| ${null===C||void 0===C||null===(f=C.Details)||void 0===f?void 0:f.MultiCarrierNetworkName}`:""]}):null,(null===U||void 0===U||null===(h=U.Details)||void 0===h?void 0:h.IsMultiCarrier)&&(0,Cs.jsx)(Ts,{label:!0,css:`\n                  margin-top: 8px;\n                  background-color: ${ks.gray[100]};\n                  padding: 4px 8px;\n                  border-radius: 16px;\n                `,children:"Multi Carrier"})]}),"insurance_plan"===(null===C||void 0===C?void 0:C.Type)&&(0,Cs.jsx)(Ts,{className:bs`
                padding: 32px;
                padding-bottom: 0;
              `,children:"*AD = After Deductible"}),(0,Cs.jsx)(Ku,{styles:"alternatingList",children:V&&(0,Cs.jsx)(eE,{data:_,premiumsSetExternally:null===_||void 0===_||null===(m=_.product)||void 0===m||null===(g=m.Details)||void 0===g||null===(v=g.PlanType)||void 0===v?void 0:v.startsWith("aca")})}),(0,Cs.jsx)(Ku,{styles:"alternatingList",children:null===$||void 0===$?void 0:$.map((e=>(0,Cs.jsx)(BE,{product:C,field:e,config:(null===z||void 0===z?void 0:z[null===e||void 0===e?void 0:e.PropertyChain])||{}})))}),ne&&null!==K&&void 0!==K&&K.length?(0,Cs.jsx)(Ku,{styles:"alternatingList",children:null===K||void 0===K?void 0:K.map(((e,t)=>{let{Title:n}=e;return(0,Cs.jsx)(BE,{product:{TitleDescriptions:K},field:{DisplayValue:n,State:"show",Type:"text-input",PropertyChain:`TitleDescriptions[${t}].Description`}})}))}):null,ee?(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsx)(Ts,{label:!0,bold:!0,css:bs`
                  padding: 16px 32px;
                `,children:"Listed Conditions"}),(0,Cs.jsx)(Ku,{styles:"alternatingListOdd",children:null===J||void 0===J?void 0:J.map(((e,t)=>{let{Name:n}=e;return(0,Cs.jsx)(BE,{product:{Details:{ConditionPercentages:J}},field:{DisplayValue:n,State:"show",Type:"percent",PropertyChain:`Details.ConditionPercentages[${t}].Percentage`}})}))})]}):null,te?(0,Cs.jsx)(ch,{in:O,children:(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsx)(Ku,{styles:"alternatingList",children:null===H||void 0===H?void 0:H.map((e=>(0,Cs.jsx)(BE,{product:C,field:e,config:(null===z||void 0===z?void 0:z[null===e||void 0===e?void 0:e.PropertyChain])||{}})))}),X&&(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsx)(Ts,{label:!0,bold:!0,css:bs`
                        padding: 16px 32px;
                      `,children:"Included Programs"}),(0,Cs.jsx)(Ku,{styles:"alternatingListOdd",children:null===a_||void 0===a_?void 0:a_.map((e=>{var t,n,r;let[o,i]=e;return ie.includes(o)?(0,Cs.jsxs)(Ku,{className:"alternating-item",css:bs`
                              padding: 16px 32px;
                              ${Tu("space-between")}
                              svg {
                                color: var(--button-background-color, ${ks.purple});
                              }
                            `,children:[(0,Cs.jsx)(Ts,{label:!0,children:(null===D||void 0===D||null===(t=D[o])||void 0===t||null===(n=t.RawData)||void 0===n||null===(r=n.Details)||void 0===r?void 0:r.Name)||i_[o]}),(0,Cs.jsx)(vh,{size:24})]},o):null}))})]}),G&&(null===Q||void 0===Q?void 0:Q.length)>0&&(0,Cs.jsx)(Ts,{label:!0,bold:!0,className:bs`
                      padding: 16px 32px;
                      padding-top: 32px;
                    `,children:"Other Details"}),(0,Cs.jsx)(Ku,{styles:"alternatingListOdd",children:null===Q||void 0===Q?void 0:Q.map(((e,t)=>{let{Title:n}=e;return(0,Cs.jsx)(BE,{product:{TitleDescriptions:Q},field:{DisplayValue:n,State:"show",Type:"text-input",PropertyChain:`TitleDescriptions[${t}].Description`}})}))})]})}):(0,Cs.jsx)(Ku,{css:bs`
                margin-top: 16px;
              `}),re?(0,Cs.jsx)(Ts,{css:"\n                margin: 16px;\n                font-size: 0.9em;\n              ",children:"* All dependents deductibles & OOPM are subject to the single deductible & OOPM."}):null,(0,Cs.jsxs)(Ku,{css:te||q||A>1?bs`
                    margin-bottom: 16px;
                  `:"",children:[(0,Cs.jsxs)(Ku,{css:bs`
                ${te||q||A>1&&"custom"!==(null===C||void 0===C?void 0:C.Type)?"margin-bottom: 32px;":""}
              `,children:[te?(0,Cs.jsx)(Gu,{className:bs`
                    width: calc(100% - 64px);
                    margin: 0 32px;
                    margin-top: 16px;
                    flex-grow: 1;
                  `,onClick:()=>T(!O),styles:"secondary","data-ph-capture-attribute-source":null===r_||void 0===r_||null===(y=r_.types)||void 0===y?void 0:y.CONTENT,"data-ph-capture-attribute-action":null===r_||void 0===r_||null===(x=r_.actions)||void 0===x?void 0:x.VIEW_MORE,children:O?"Less Detail":"More Details"}):null,q?(0,Cs.jsx)(Gu,{className:bs`
                    width: calc(100% - 64px);
                    margin: 0 32px;
                    margin-top: 16px;
                    flex-grow: 1;
                    background-color: var(--button-background-color);
                    color: var(--button-text-color);
                    :hover {
                      background-color: var(--button-background-color);
                      color: var(--button-text-color);
                    }
                  `,styles:"secondary",onClick:()=>{window.open(null===C||void 0===C?void 0:C.CallToActionUrl,"_blank")},"data-ph-capture-attribute-source":null===r_||void 0===r_||null===(b=r_.types)||void 0===b?void 0:b.CONTENT,"data-ph-capture-attribute-action":null===r_||void 0===r_||null===(k=r_.actions)||void 0===k?void 0:k.CALL_TO_ACTION,"data-ph-capture-attribute-product-id":null===C||void 0===C?void 0:C.ID,"data-ph-capture-attribute-product-type":null===C||void 0===C?void 0:C.Type,children:null===C||void 0===C?void 0:C.CallToActionText}):null]}),A>1&&!W?(0,Cs.jsx)(Gu,{className:xs(bs`
                    width: calc(100% - 64px);
                    margin: 16px 32px;
                    background-color: var(--button-background-color);
                    color: var(--button-text-color);
                  `),onClick:()=>N(!0),"data-ph-capture-attribute-source":null===r_||void 0===r_||null===(w=r_.types)||void 0===w?void 0:w.CONTENT,"data-ph-capture-attribute-action":null===r_||void 0===r_||null===(E=r_.actions)||void 0===E?void 0:E.SHOW_COMPARISONS,"data-ph-capture-attribute-product-id":null===C||void 0===C?void 0:C.ID,"data-ph-capture-attribute-product-type":null===C||void 0===C?void 0:C.Type,children:"Compare Plans"}):null]})]}),Y?(0,Cs.jsxs)(Ts,{className:bs`
              font-size: 14px;
              padding: 32px;
              margin-top: -16px;
              padding-top: 0;
            `,children:[oe instanceof String&&oe.slice(0,200),(null===oe||void 0===oe?void 0:oe.length)>200?"...":"",(null===oe||void 0===oe?void 0:oe.length)>200?(0,Cs.jsx)(Ts,{as:"span",onClick:()=>B(!I),css:`\n                  margin-left: 16px;\n                  text-decoration: underline;\n                  color: ${ks.black};\n                  cursor: pointer;\n                  :hover {\n                    font-weight: bold;\n                  }\n                `,children:"See All"}):null]}):null,(0,Cs.jsx)(gf,{display:!I,onClose:()=>B(!I),children:(0,Cs.jsxs)("div",{className:bs`
              padding: 32px;
              width: 500px;
              position: relative;
            `,children:[(0,Cs.jsx)(Ts,{h2:!0,children:"Plan Disclaimer"}),(0,Cs.jsx)("div",{className:bs`
                max-height: 40vh;
                overflow: auto;
                padding-top: 16px;
                padding-bottom: 64px;
              `,children:(0,Cs.jsx)(Ts,{children:oe})}),(0,Cs.jsxs)(Gu,{onClick:()=>B(!I),css:"\n                position: absolute;\n                bottom: 24px;\n                width: 120px;\n                left: calc(50% - 60px);\n              ",children:[(0,Cs.jsx)(kh,{})," Close"]})]})}),"info"===F&&(0,Cs.jsx)(gf,{display:"info"===F,onClose:()=>R(""),children:(0,Cs.jsxs)(Ku,{css:bs`
                width: 500px;
              `,children:[(0,Cs.jsxs)(Ku,{css:bs`
                  ${Tu("space-between")} padding: 32px;
                `,children:[(0,Cs.jsx)(Ts,{h2:!0,children:"Benefit Terminology"}),(0,Cs.jsx)(Gu,{styles:"icon",onClick:()=>R(""),children:(0,Cs.jsx)(kh,{})})]}),(0,Cs.jsxs)(Ku,{css:bs`
                  padding: 0 32px;
                  p {
                    margin: 8px 0;
                  }
                `,children:[(0,Cs.jsx)(Ts,{label:!0,children:"AD = After Deductible"}),(0,Cs.jsx)(Ts,{label:!0,children:"OOPM = Out Of Pocket Max"}),(0,Cs.jsx)(Ts,{label:!0,children:"RX = Medical Prescription"}),(0,Cs.jsxs)(Ku,{css:bs`
                    ${Tu("space-between")}
                    margin-top: 16px;
                  `,children:[(0,Cs.jsx)(Ts,{label:!0,bold:!0,children:"Copay"}),(0,Cs.jsx)(Ts,{label:!0,children:(0,Cs.jsx)("em",{children:"noun"})})]}),(0,Cs.jsx)(Ts,{children:"The amount of money that a patient with health insurance pays for each healthcare service."}),(0,Cs.jsxs)(Ku,{css:bs`
                    ${Tu("space-between")}
                    margin-top: 16px;
                  `,children:[(0,Cs.jsx)(Ts,{label:!0,bold:!0,children:"Deductible"}),(0,Cs.jsx)(Ts,{label:!0,children:(0,Cs.jsx)("em",{children:"adjective"})})]}),(0,Cs.jsx)(Ts,{children:"The amount you pay for covered health care services before your insurance plan starts to pay."})]}),(0,Cs.jsx)(Ku,{css:bs`
                  ${Tu("right")}
                  padding: 32px;
                `,children:(0,Cs.jsx)(Gu,{onClick:()=>R(""),children:"Done"})})]})}),M&&(0,Cs.jsx)(e_,{display:M,onClose:()=>N(!1),productId:null===C||void 0===C?void 0:C.ID,productType:null===C||void 0===C?void 0:C.Type})]})})};var l_=new Map;l_.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"208 96 128 176 48 96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),l_.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("polygon",{points:"208 96 128 176 48 96 208 96",opacity:"0.2"}),t.createElement("polygon",{points:"208 96 128 176 48 96 208 96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),l_.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M215.4,92.9A8,8,0,0,0,208,88H48a8,8,0,0,0-7.4,4.9,8.4,8.4,0,0,0,1.7,8.8l80,80a8.2,8.2,0,0,0,11.4,0l80-80A8.4,8.4,0,0,0,215.4,92.9Z"}))})),l_.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"208 96 128 176 48 96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),l_.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"208 96 128 176 48 96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),l_.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"208 96 128 176 48 96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var u_=function(e,t){return Ua(e,t,l_)},c_=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:u_}))}));c_.displayName="CaretDown";const d_=c_;var p_=new Map;p_.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("rect",{x:"24",y:"56",width:"208",height:"144",rx:"8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"164",y1:"164",x2:"196",y2:"164",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"108",y1:"164",x2:"124",y2:"164",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"24",y1:"96.9",x2:"232",y2:"96.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),p_.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M24,96.9H232V192a8,8,0,0,1-8,8H32a8,8,0,0,1-8-8Z",opacity:"0.2"}),t.createElement("rect",{x:"24",y:"56",width:"208",height:"144",rx:"8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"168",y1:"168",x2:"200",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"120",y1:"168",x2:"136",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"24",y1:"96.9",x2:"232",y2:"96.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),p_.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M224,48H32A16,16,0,0,0,16,64V96.9h0v95a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48ZM136,176H120a8,8,0,0,1,0-16h16a8,8,0,0,1,0,16Zm64,0H168a8,8,0,0,1,0-16h32a8,8,0,0,1,0,16ZM32,88.9V64H224V88.9Z"}))})),p_.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("rect",{x:"24",y:"56",width:"208",height:"144",rx:"8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"168",y1:"168",x2:"200",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"120",y1:"168",x2:"136",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"24",y1:"96.9",x2:"232",y2:"96.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),p_.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("rect",{x:"24",y:"56",width:"208",height:"144",rx:"8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"168",y1:"168",x2:"200",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"120",y1:"168",x2:"136",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"24",y1:"96.9",x2:"232",y2:"96.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),p_.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("rect",{x:"24",y:"56",width:"208",height:"144",rx:"8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"168",y1:"168",x2:"200",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"120",y1:"168",x2:"136",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"24",y1:"96.9",x2:"232",y2:"96.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var f_=function(e,t){return Ua(e,t,p_)},h_=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:f_}))}));h_.displayName="CreditCard";const m_=h_,g_=(new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:0}),new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:2})),v_=e=>{var t;return null===(t=e.split(" "))||void 0===t?void 0:t.map((e=>{var t;return(null===(t=e.at(0))||void 0===t?void 0:t.toUpperCase())+e.slice(1)})).join(" ")},y_={PPP:"Pay Period",MO:"Monthly"},x_=e=>{var n,r,o;const{type:i,data:a,summary:s,premiumsSetExternally:l=!1,isPDF:u=!1}=e,{id:c}=s,{product:d,meta:{networks:p}}=a,{data:{displaySettings:f={},businessId:h}}=Ww(),m=(0,t.useRef)(),[g,v]=(0,t.useState)(700),y="hsa_buyup"===i,x=(e=>{let{url:n,enabled:r}=e;const[o,i]=(0,t.useState)(),a=async()=>{try{const e=await Ha.get(n);i(e.data)}catch(e){console.log(e),i()}};return(0,t.useEffect)((()=>{r&&a()}),[n,r]),{refetch:a,data:o,setData:i}})({url:`public/v1/business/${h}/programs`,enabled:(null===d||void 0===d?void 0:d.ID)&&y}),b=(0,t.useMemo)((()=>{var e,t;return(null===x||void 0===x||null===(e=x.data)||void 0===e||null===(t=e.filter((e=>{let{ProgramType:t,PlanID:n}=e;return"health_savings_account"===t&&n===c})))||void 0===t?void 0:t[0])||{}}),[null===x||void 0===x||null===(n=x.data)||void 0===n?void 0:n.length,d,y]),k=(0,t.useState)(!1),[w,E]=(0,t.useState)("interval"),_="insurance_plan"===(null===d||void 0===d?void 0:d.Type)?p.core:d,C=(null===_||void 0===_?void 0:_.ProductName)||`${(null===QE||void 0===QE?void 0:QE[null===d||void 0===d?void 0:d.Type])||""}`,S=y&&"HSA - Employer Match"===(null===b||void 0===b||null===(r=b.RawData)||void 0===r||null===(o=r.Details)||void 0===o?void 0:o.ContributionType),D=y?S?"Employer Match":"Employer Contributions":"Pricing",j=S?12:null===f||void 0===f?void 0:f.premiumInterval,A="interval"===w?j:1,P=12===j?"MO":"PPP",L=1===A?"YR":P;(0,t.useEffect)((()=>{var e;v((null===m||void 0===m||null===(e=m.current)||void 0===e?void 0:e.clientWidth)||0)}),[]),(0,t.useEffect)((()=>(window.addEventListener("resize",(e=>{var t;return v((null===m||void 0===m||null===(t=m.current)||void 0===t?void 0:t.clientWidth)||0)})),()=>window.removeEventListener("resize",(e=>{var t;return v((null===m||void 0===m||null===(t=m.current)||void 0===t?void 0:t.clientWidth)||0)})))),[]);const M={...e,program:b,isEmployerMatch:S,isProgramSummary:y,intervalDisplay:L,tabInterval:A,width:g,displaySettings:f};return(0,Cs.jsxs)(Ku,{ref:m,css:bs`
        ${zu.box}
        width: 100%;
        padding: 24px;
        box-sizing: border-box;
      `,children:[(0,Cs.jsxs)(Ku,{css:bs`
          ${Tu("space-between")}
          box-sizing: border-box;
          gap: 16px;
        `,children:[(0,Cs.jsx)(Ts,{ellipsis:!0,css:"\n            width: max-content;\n            border-radius: 30px;\n            background-color: var(--accent-color-4);\n            color: var(--accent-color-0);\n            padding: 4px 16px;\n            font-weight: bold;\n          ",children:D}),!u&&(0,Cs.jsx)($c,{button:(0,Cs.jsxs)(Gu,{secondary:!0,css:"\n                  text-transform: none;\n                  min-width: 120px;\n                  padding: 4px 8px;\n                ",children:["interval"===w?y_[P]:"Yearly",(0,Cs.jsx)(d_,{size:24})]}),children:"interval"===w?(0,Cs.jsx)(xE,{onClick:()=>E("yearly"),children:"Yearly"}):(0,Cs.jsx)(xE,{onClick:()=>E("interval"),children:y_[P]})})]}),(0,Cs.jsxs)(Ku,{css:bs`
          ${Tu("left")}
        `,children:[y?(0,Cs.jsx)(m_,{className:bs`
              min-width: 32px;
              margin-right: 16px;
            `}):null,(0,Cs.jsxs)(Ts,{h2:!0,css:`\n            color: ${ks.black};\n            margin: 16px 0;\n          `,children:[y?"HSA - ":"",C]})]}),l?(0,Cs.jsx)(Jw,{data:a,props:M,Summary:b_,gatheringAcaInfoState:k}):(0,Cs.jsx)(b_,{...M})]})},b_=e=>{let{intervalDisplay:t,tabInterval:n,isEmployerMatch:r,isProgramSummary:o,program:i,width:a,displaySettings:s,data:l,summary:u}=e;const{product:c}=l,{variantStyle:d=""}=u,{data:{decisionTool:p=""},setStore:f}=Ww(),h=()=>f("decisionTool",p?"":"aca"),m=e=>{if(!o)return Mw({cost:null===c||void 0===c?void 0:c.Cost,key:e,interval:n});if(!r){var t,a;let r=(null===i||void 0===i||null===(t=i.RawData)||void 0===t||null===(a=t.Details)||void 0===a?void 0:a[`${e}`])||0;return r*=12/n,g_.format(r)}if(r){var s,l;let t=(null===i||void 0===i||null===(s=i.RawData)||void 0===s||null===(l=s.Details)||void 0===l?void 0:l[`${e}EmployerMonthlyMatchMax`])||0;return t*=12/n,g_.format(t)}},{sortedTiers:g,sortedTierLabels:v,tiers:y}=Yw({cost:null===c||void 0===c?void 0:c.Cost,displaySettings:s,sortTierLabelsByRelevant:!0}),x=r?"":Tu("space-between"),b=r?"Up To ":"",k=()=>{if(r){var e;let n={};null===y||void 0===y||y.map((e=>{var t,r,o;const a=(null===i||void 0===i||null===(t=i.RawData)||void 0===t||null===(r=t.Details)||void 0===r?void 0:r[`${e}EmployerMonthlyMatch`])||0;n={...n,[a]:[...(null===(o=n)||void 0===o?void 0:o[a])||[],e]}}));const r=Object.entries(n);return r.length>1?(0,Cs.jsx)(Ku,{css:bs`margin: 8px; 0;`,children:r.map((e=>{let[t,n]=e;return(0,Cs.jsxs)(Ku,{css:bs`
                  margin-bottom: 8px;
                `,children:[(0,Cs.jsx)(Ts,{bold:!0,children:null===n||void 0===n?void 0:n.map((e=>(null===s||void 0===s?void 0:s[e])||e)).join(", ")}),(0,Cs.jsxs)(Ts,{children:["For every $1 you contribute your employer will match $",t]})]})}))}):1===r.length&&1!==Number((null===r||void 0===r||null===(e=r[0])||void 0===e?void 0:e[0])||0)?(0,Cs.jsxs)(Ts,{css:"\n              margin-top: 8px;\n            ",children:["For every $1 you contribute your employer will match $",(null===r||void 0===r||null===(t=r[0])||void 0===t?void 0:t[0])||0]}):null;var t}return o?(0,Cs.jsx)(Ts,{css:"\n            margin: 8px 0;\n          ",children:"A health savings account is a tax-advantaged medical savings account available to taxpayers in the United States who are enrolled in a high-deductible health plan."}):null};return(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsx)(Ku,{css:bs`
          ${"clean"===d?`border-top: 1px solid ${ks.gray[300]};`:""}
          padding: 16px 0;
          padding-bottom: 0;
          box-sizing: border-box;
          > div {
            flex: 1;
          }
          .contribution-container {
            ${x}
            box-sizing: border-box;
            padding: 16px 24px;
            border-radius: 8px;
            ${a<500?"\n                min-width: 100%;\n                margin-bottom: 8px;\n              ":"\n                min-width: calc(50% - 40px);\n                margin-bottom: 8px;\n              "}
          }
          .display-name {
            flex-grow: 1;
            padding-right: 16px;
          }
          .modifier {
            margin-right: 8px;
            font-size: 0.83em;
          }
          .interval {
            font-size: 0.83em;
            margin-left: 8px;
            min-width: max-content;
          }
        `,children:null===g||void 0===g?void 0:g.map(((e,n)=>{var r,o,i;return(0,Cs.jsxs)(Cs.Fragment,{children:[null!==c&&void 0!==c&&null!==(r=c.Cost)&&void 0!==r&&r.RelevantTier&&e===(null===c||void 0===c||null===(o=c.Cost)||void 0===o?void 0:o.RelevantTier)?(0,Cs.jsxs)("div",{className:bs`
                  ${Tu("space-between")}
                `,children:[(0,Cs.jsx)(Ts,{css:"\n                    margin-bottom: 8px;\n                  ",children:"Your Pricing"}),(0,Cs.jsx)(Gu,{naked:!0,css:"\n                    text-transform: none;\n                  ",onClick:h,children:"Edit"})]}):1===n&&null!==c&&void 0!==c&&null!==(i=c.Cost)&&void 0!==i&&i.RelevantTier?(0,Cs.jsx)(Ts,{css:"\n                  margin: 16px 0;\n                ",children:"All Pricing"}):null,(0,Cs.jsxs)(Ku,{className:"contribution-container",css:k_(d,n),children:[(0,Cs.jsx)(Ts,{label:!0,className:"display-name",children:null===v||void 0===v?void 0:v[n]}),(0,Cs.jsxs)(Ku,{css:bs`
                  ${Tu("right")}
                  width: max-content;
                `,children:[b?(0,Cs.jsx)(Ts,{subtitle:!0,className:"modifier",children:b}):null,(0,Cs.jsx)(Ts,{h2:!0,className:"price",children:m(e)}),(0,Cs.jsxs)(Ts,{subtitle:!0,className:"interval",children:["/",v_(t)]})]})]},e)]})}))}),(0,Cs.jsx)(k,{})]})},k_=(e,t)=>{if(!e||"clean"===e)return bs`
      border: 1px solid ${ks.gray[300]};
      .display-name {
        color: ${ks.black};
      }
      .modifier {
        color: ${ks.black};
      }
      .interval {
        color: ${ks.black};
      }
      .price {
        color: ${ks.black};
      }
    `;if("bold"===e){const e=t>2?"var(--accent-color-0)":"white";return bs`
      background-color: var(--accent-color-${t});
      .display-name {
        color: ${e};
      }
      .modifier {
        color: ${e};
      }
      .interval {
        color: ${e};
      }
      .price {
        color: ${e};
      }
      position: relative;
    `}},w_=e=>{var t;let{data:n}=e;const r=e=>{const[t,n]=(e=>{let t=e;/^https?:\/\//i.test(t)||/^http?:\/\//i.test(t)||(t="https://"+t);try{return[new URL(t).href,!0]}catch(n){return["",!1]}})(e);n&&window.open(t,"_blank")},{IsMultiCarrier:o,MultiCarrierNetworkName:i,MultiCarrierNetworkCarrierSearchUrl:a,NetworkName:s,NetworkDescription:l,NetworkProviderSearchUrl:u}=(null===n||void 0===n||null===(t=n.product)||void 0===t?void 0:t.Details)||{},{ProductNetworkName:c,ProductNetworkDescription:d,ProductNetworkProviderSearchUrl:p}=(null===n||void 0===n?void 0:n.product)||{};return(0,Cs.jsxs)(Ku,{css:bs`
        ${zu.box}
        width: 100%;
        padding: 24px 32px;
      `,children:[(0,Cs.jsxs)(Ku,{css:bs`
          ${Tu("space-between")}
        `,children:[(0,Cs.jsx)(Ts,{css:"\n            width: min-content;\n            border-radius: 30px;\n            background-color: var(--accent-color-4);\n            color: var(--accent-color-1);\n            padding: 4px 16px;\n            margin-right: 16px;\n            font-weight: bold;\n          ",children:"Network"}),o?(0,Cs.jsxs)(Ts,{label:!0,bold:!0,children:[c||s?c||s:"",i?` | ${i}`:""]}):c||s?(0,Cs.jsx)(Ts,{label:!0,bold:!0,children:c||s}):null]}),(0,Cs.jsxs)(Ku,{css:bs`
          padding-top: 32px;
        `,children:[(0,Cs.jsxs)(Ku,{css:bs`
            ${Tu("left")}
            p {
              margin-left: 16px;
            }
          `,children:[(0,Cs.jsx)(SE,{}),(0,Cs.jsx)(Ts,{h2:!0,children:"Search for network providers"})]}),(0,Cs.jsx)(Ts,{css:"\n            margin: 16px 0;\n          ",children:o?"":d||l}),!o&&(0,Cs.jsx)(Gu,{onClick:()=>{r(p||u)},css:"\n              background-color: var(--accent-color-1);\n            ",children:"Search Network"}),o&&(0,Cs.jsxs)("div",{className:bs`
              display: flex;
              gap: 16px;
              flex-wrap: wrap;
            `,children:[(0,Cs.jsxs)(Gu,{onClick:()=>{r(p||u)},css:"\n                background-color: var(--accent-color-1);\n              ",children:["Search ",c||s]}),(0,Cs.jsxs)(Gu,{onClick:()=>{r(a)},css:"\n                background-color: var(--accent-color-1);\n              ",children:["Search ",i]})]})]})]})},E_=e=>{var n,r,o,i;let{productId:a,productType:s}=e;const{data:{products:l,productLayouts:u,businessId:c}}=Ww(),[d,p]=(0,t.useState)([]);(0,t.useEffect)((()=>{(async()=>{try{const{data:e}=await Ha.get(`/public/v1/business/${c}/plans/${a}/programs`);p(e)}catch(e){console.warn(e)}})()}),[a]);const{count:f,currentNetworkCategory:h,...m}=(0,t.useMemo)((()=>{const e=(0,Wc.cloneDeep)(l);return((e,t)=>{const n=null===t||void 0===t?void 0:t.find((t=>{let{ID:n}=t;return n===e}));if(n&&n.MultiNetworkID){let e=1;return{...t.reduce(((t,r)=>((null===r||void 0===r?void 0:r.Type)===(null===n||void 0===n?void 0:n.Type)&&e++,r.MultiNetworkID===n.MultiNetworkID?{...t,[r.MultiNetworkCategory]:r}:t)),{}),count:e,currentNetworkCategory:(null===n||void 0===n?void 0:n.MultiNetworkCategory)||"core"}}{const e=null===t||void 0===t?void 0:t.reduce(((e,t)=>{let{Type:r}=t;return e+((null===n||void 0===n?void 0:n.Type)===r?1:0)}),0);return{core:n||{},count:e,currentNetworkCategory:(null===n||void 0===n?void 0:n.MultiNetworkCategory)||"core"}}})(a,e)}),[l]),g=(null===m||void 0===m?void 0:m[h])||{},v=null===(n=Object.keys(g||{}))||void 0===n?void 0:n.length,y=v?{Sections:null===g||void 0===g?void 0:g.sections}:{Sections:null===u||void 0===u||null===(r=u[s])||void 0===r||null===(o=r.Layout)||void 0===o?void 0:o.Sections},x=(0,t.useMemo)((()=>{return null!==(e=null===y||void 0===y?void 0:y.Sections)&&void 0!==e&&e.length?null===e||void 0===e?void 0:e.reduce(((e,t,n)=>{var r;return null===(r=t.Fields)||void 0===r?void 0:r.reduce(((e,t,r)=>({...e,[null===t||void 0===t?void 0:t.PropertyChain]:{...t,fieldIdx:r,sectionIdx:n}})),e)}),{}):{};var e}),[null===y||void 0===y?void 0:y.Sections]),b={fieldsObject:x,isLoading:v&&(!(null!==(i=Object.keys(g))&&void 0!==i&&i.length)||0===f),productTypeCount:f,currentNetwork:h,networks:m};return{product:g,includedPrograms:d,layout:y,meta:b}},__=e=>{let{item:n}=e;const{component:r,data:o,type:i}=n,a=E_({productId:null===o||void 0===o?void 0:o.id,productType:i}),s=(0,t.useMemo)((()=>{if("benefits"===r)return(0,Cs.jsx)(s_,{data:a});if("pricing"===r){var e,t,n;const r=null===a||void 0===a||null===(e=a.product)||void 0===e||null===(t=e.Details)||void 0===t||null===(n=t.PlanType)||void 0===n?void 0:n.startsWith("aca"),s={data:a,summary:o,type:i,premiumsSetExternally:r};return(0,Cs.jsx)(x_,{...s})}return"network"===r?(0,Cs.jsx)(w_,{data:a,summary:o,type:i}):void 0}),[null===o||void 0===o?void 0:o.id,null===o||void 0===o?void 0:o.variant,a]);return null!==o&&void 0!==o&&o.id?s:null},C_=(e,t)=>"width"in e?Number(e.width):1/t,S_={space:{height:"auto",overflow:"hidden"},document:{boxSizing:"border-box"}},D_=e=>{var t;const{column:n}=e;let r={};try{if("button"===(null===n||void 0===n?void 0:n.component)){var o,i;const e=((e,t)=>{var n;const r="data-ph-capture-attribute-"+t;return null===(n=Object.entries(e||{}))||void 0===n?void 0:n.reduce(((e,t)=>{let[n,o]=t;const i=`${r}:${a=n,a.replace(/[A-Z]+(?![a-z])|[A-Z]/g,((e,t)=>(t?"-":"")+e.toLowerCase()))}`;var a;try{const t=null===o||void 0===o?void 0:o.toString();return{...e,[i]:t}}catch(s){return{...e,[i]:`ERROR:${null===s||void 0===s?void 0:s.message}`}}}),{})})(null===n||void 0===n||null===(o=n.action)||void 0===o?void 0:o.data,"value");r={"data-ph-capture-attribute-value:action-type":null===n||void 0===n||null===(i=n.action)||void 0===i?void 0:i.type,...e}}}catch(a){}return{...r,"data-ph-capture-attribute-source":null===r_||void 0===r_||null===(t=r_.types)||void 0===t?void 0:t.CONTENT,"data-ph-capture-attribute-component":null===n||void 0===n?void 0:n.component}},j_=e=>{const{column:t,type:n,length:r}=e,{container:o={},attributes:i={}}=t,a="component"===(null===e||void 0===e?void 0:e.type)?D_(e):{},s="component"===n?i:(null===o||void 0===o?void 0:o.attributes)||{},l=((e,t)=>{var n;let r=[`${"text"===e.component||"textV2"===e.component?`text-${e.type}`:e.component}-${t}`,(null===e||void 0===e||null===(n=e.attributes)||void 0===n?void 0:n.className)||""];return"text"===e.component&&"container"===t&&r.push("flex-container"),e.hideOnDesktop&&r.push("desktop-only"),e.hideOnMobile&&r.push("mobile-only"),r.join(" ")})(t,n),u=(e=>{let{column:t,type:n,length:r}=e;if("container"===n){var o,i;const e=100*C_(t,r||1)+"%",n=(null===S_||void 0===S_?void 0:S_[t.component])||{},a={...(null===t||void 0===t||null===(o=t.container)||void 0===o||null===(i=o.attributes)||void 0===i?void 0:i.style)||{},...n,width:e},s=(e=>{if(e){for(var t,n=/([\w-]*)\s*:\s*([^;]*)/g,r={};t=n.exec(e);){const e=t[1].replace(/-./g,(e=>e[1].toUpperCase()));r[e]=t[2].trim()}return r}return{}})((null===t||void 0===t?void 0:t.rawCss)||"");return{...a,...s}}var a;if("component"===n)return(null===t||void 0===t||null===(a=t.attributes)||void 0===a?void 0:a.style)||{}})({column:t,type:n,length:r});return{...a,...s,className:l,style:u}};function A_(){var e=navigator.userAgent||navigator.vendor||window.opera;return/windows phone/i.test(e)?"windows-phone":/android/i.test(e)?"android":/iPad|iPhone|iPod/.test(e)&&!window.MSStream?"ios":"unknown"}const P_=e=>{const{data:{pages:t}}=Ww();return null!==e&&void 0!==e&&e.action?()=>{const{type:n,data:r={}}=null===e||void 0===e?void 0:e.action;if("open-website"===n&&null!==r&&void 0!==r&&r.url){const e=(e=>{let t=e;/^https?:\/\//i.test(t)||/^http?:\/\//i.test(t)||(t="https://"+t);try{const e=new URL(t);return!window.location||"britehr.app"!==e.host&&e.host!==window.location.host||((window.location.host.includes("localhost")||window.location.host.includes("staging")||window.location.host.includes("britehr-app.translate.goog"))&&(e.protocol=window.location.protocol,e.host=window.location.host),e.search=window.location.search),e.href}catch(n){return""}})(null===r||void 0===r?void 0:r.url);null!==r&&void 0!==r&&r.tabType&&"new-tab"!==(null===r||void 0===r?void 0:r.tabType)?window.open(e,"_self"):window.open(e,"_blank")}else if("open-email"===n){const e=encodeURIComponent(r.body),t=encodeURIComponent(r.subject);window.location.href=`mailto:${r.sendToEmail}?subject=${t}&body=${e}`}else if("open-sms"===n){const e=A_(),t=encodeURIComponent(r.message);window.location.href="android"===e?`sms:${r.sendToNumber}?body=${t}`:`sms:${r.sendToNumber}&body=${t}`}else if("call-phone"===n)window.location.href=`tel:${r.callNumber}`;else if("route-to-page"===n){const e=t.findIndex((e=>{let{ID:t}=e;return t===(null===r||void 0===r?void 0:r.pageId)}));null!==r&&void 0!==r&&r.tabType&&"same-tab"!==(null===r||void 0===r?void 0:r.tabType)?window.open(e+1+window.location.search,"_blank"):window.open(e+1+window.location.search,"_self")}}:()=>{}},L_=e=>{let{item:t,totalColumns:n}=e;const r=j_({column:t,length:n,type:"component"}),o=P_(t);return(0,Cs.jsx)("button",{...r,onClick:o,children:t.content})};var M_=new Map;M_.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M200,224H56a8,8,0,0,1-8-8V40a8,8,0,0,1,8-8h96l56,56V216A8,8,0,0,1,200,224Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("polyline",{points:"148 32 148 92 208 92",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),M_.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("polygon",{points:"152 32 152 88 208 88 152 32",opacity:"0.2"}),t.createElement("path",{d:"M200,224H56a8,8,0,0,1-8-8V40a8,8,0,0,1,8-8h96l56,56V216A8,8,0,0,1,200,224Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("polyline",{points:"152 32 152 88 208 88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),M_.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M213.7,82.3l-56-56A8.1,8.1,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8.1,8.1,0,0,0,213.7,82.3ZM152,88V44l44,44Z"}))})),M_.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M200,224H56a8,8,0,0,1-8-8V40a8,8,0,0,1,8-8h96l56,56V216A8,8,0,0,1,200,224Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("polyline",{points:"152 32 152 88 208 88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),M_.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M200,224H56a8,8,0,0,1-8-8V40a8,8,0,0,1,8-8h96l56,56V216A8,8,0,0,1,200,224Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("polyline",{points:"152 32 152 88 208 88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),M_.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M200,224H56a8,8,0,0,1-8-8V40a8,8,0,0,1,8-8h96l56,56V216A8,8,0,0,1,200,224Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("polyline",{points:"152 32 152 88 208 88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var N_=function(e,t){return Ua(e,t,M_)},O_=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:N_}))}));O_.displayName="File";const T_=O_;var F_=new Map;F_.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"176 164 198 220 220 164",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("polyline",{points:"148 36 148 100 212 100",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M44,124V44a8,8,0,0,1,8-8H156l56,56v32",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M112,214.4a23.7,23.7,0,0,0,15,5.6c9,0,17-3.4,17-14.6,0-17.9-32-10-32-26.8,0-9,6-14.6,15-14.6a23.7,23.7,0,0,1,15,5.6",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M76,215.6A24.2,24.2,0,0,1,62,220c-14.4,0-26-12.5-26-28s11.6-28,26-28a24.2,24.2,0,0,1,14,4.4",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),F_.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"172 168 192 216 212 168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M80,210.5A21,21,0,0,1,66,216c-12.2,0-22-10.7-22-24s9.8-24,22-24a21,21,0,0,1,14,5.5",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M112,212a25.2,25.2,0,0,0,15,5c9,0,17-3,17-13,0-16-32-9-32-24,0-8,6-13,15-13a25.2,25.2,0,0,1,15,5",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("polygon",{points:"152 32 152 88 208 88 152 32",opacity:"0.2"}),t.createElement("path",{d:"M48,128V40a8,8,0,0,1,8-8h96l56,56v40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("polyline",{points:"152 32 152 88 208 88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),F_.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M219.4,171.1l-20,48a8,8,0,0,1-14.8,0l-20-48a8,8,0,1,1,14.8-6.2L192,195.2l12.6-30.3a8,8,0,1,1,14.8,6.2ZM66,176a12.9,12.9,0,0,1,8.6,3.4,7.9,7.9,0,0,0,11.3-.6,8,8,0,0,0-.5-11.3A29.3,29.3,0,0,0,66,160c-16.5,0-30,14.4-30,32s13.5,32,30,32a29.3,29.3,0,0,0,19.4-7.5,8,8,0,0,0,.5-11.3,7.9,7.9,0,0,0-11.3-.6A12.9,12.9,0,0,1,66,208c-7.7,0-14-7.2-14-16S58.3,176,66,176Zm63.7,7.8c-3.1-.8-8.6-2.3-9.7-3.6V180c0-3.3,2.4-5,7-5a18.4,18.4,0,0,1,10,3.2h-.1A8.3,8.3,0,0,0,142,180a8,8,0,0,0,8-8,7.6,7.6,0,0,0-2.9-6.1h0A33.4,33.4,0,0,0,127,159c-13.5,0-23,8.6-23,21s13,17,21.6,19.3c3.4.9,7,1.8,9.2,3.1s1.2,1,1.2,1.6,0,5-9,5a18.4,18.4,0,0,1-10-3.2h.1A8.3,8.3,0,0,0,112,204a8,8,0,0,0-8,8,7.6,7.6,0,0,0,2.9,6.1h0A33.4,33.4,0,0,0,127,225c15.7,0,25-7.9,25-21S138,186,129.7,183.8ZM40,128V40A16,16,0,0,1,56,24h96a8.1,8.1,0,0,1,5.7,2.3l56,56A8.1,8.1,0,0,1,216,88v40a8,8,0,0,1-8,8H48A8,8,0,0,1,40,128ZM152,88h44L152,44Z"}))})),F_.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"172 168 192 216 212 168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M80,210.5A21,21,0,0,1,66,216c-12.2,0-22-10.7-22-24s9.8-24,22-24a21,21,0,0,1,14,5.5",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M112,212a25.2,25.2,0,0,0,15,5c9,0,17-3,17-13,0-16-32-9-32-24,0-8,6-13,15-13a25.2,25.2,0,0,1,15,5",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M48,128V40a8,8,0,0,1,8-8h96l56,56v40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("polyline",{points:"152 32 152 88 208 88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),F_.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"172 168 192 216 212 168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M80,210.5A21,21,0,0,1,66,216c-12.2,0-22-10.7-22-24s9.8-24,22-24a21,21,0,0,1,14,5.5",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M112,212a25.2,25.2,0,0,0,15,5c9,0,17-3,17-13,0-16-32-9-32-24,0-8,6-13,15-13a25.2,25.2,0,0,1,15,5",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M48,128V40a8,8,0,0,1,8-8h96l56,56v40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("polyline",{points:"152 32 152 88 208 88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),F_.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"172 168 192 216 212 168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M80,210.5A21,21,0,0,1,66,216c-12.2,0-22-10.7-22-24s9.8-24,22-24a21,21,0,0,1,14,5.5",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M112,212a25.2,25.2,0,0,0,15,5c9,0,17-3,17-13,0-16-32-9-32-24,0-8,6-13,15-13a25.2,25.2,0,0,1,15,5",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M48,128V40a8,8,0,0,1,8-8h96l56,56v40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("polyline",{points:"152 32 152 88 208 88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var R_=function(e,t){return Ua(e,t,F_)},I_=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:R_}))}));I_.displayName="FileCsv";const B_=I_;var W_=new Map;W_.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"148 36 148 100 212 100",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M44,124V44a8,8,0,0,1,8-8H156l56,56v32",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M28,220V164H44a28,28,0,0,1,0,56Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M228,215.6a24.2,24.2,0,0,1-14,4.4c-14.4,0-26-12.5-26-28s11.6-28,26-28a24.2,24.2,0,0,1,14,4.4",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("ellipse",{cx:"130",cy:"192",rx:"26",ry:"28",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),W_.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M58,216a24,24,0,0,0,0-48H44v48Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("ellipse",{cx:"130",cy:"192",rx:"22",ry:"24",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M212,210.5a21,21,0,0,1-14,5.5c-12.2,0-22-10.7-22-24s9.8-24,22-24a21,21,0,0,1,14,5.5",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("polygon",{points:"152 32 152 88 208 88 152 32",opacity:"0.2"}),t.createElement("path",{d:"M48,128V40a8,8,0,0,1,8-8h96l56,56v40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("polyline",{points:"152 32 152 88 208 88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),W_.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M58,160H44a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8H58a32,32,0,0,0,0-64Zm0,48H52V176h6a16,16,0,0,1,0,32Zm72-48c-16.5,0-30,14.4-30,32s13.5,32,30,32,30-14.4,30-32S146.5,160,130,160Zm0,48c-7.7,0-14-7.2-14-16s6.3-16,14-16,14,7.2,14,16S137.7,208,130,208Zm87.9-2.8a8,8,0,0,1-.5,11.3A29.3,29.3,0,0,1,198,224c-16.5,0-30-14.4-30-32s13.5-32,30-32a29.3,29.3,0,0,1,19.4,7.5,8,8,0,0,1,.5,11.3,7.9,7.9,0,0,1-11.3.6A12.9,12.9,0,0,0,198,176c-7.7,0-14,7.2-14,16s6.3,16,14,16a12.9,12.9,0,0,0,8.6-3.4A7.9,7.9,0,0,1,217.9,205.2ZM48,136H208a8,8,0,0,0,8-8V88a8.1,8.1,0,0,0-2.3-5.7l-56-56A8.1,8.1,0,0,0,152,24H56A16,16,0,0,0,40,40v88A8,8,0,0,0,48,136ZM152,44l44,44H152Z"}))})),W_.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M58,216a24,24,0,0,0,0-48H44v48Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("ellipse",{cx:"130",cy:"192",rx:"22",ry:"24",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M212,210.5a21,21,0,0,1-14,5.5c-12.2,0-22-10.7-22-24s9.8-24,22-24a21,21,0,0,1,14,5.5",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M48,128V40a8,8,0,0,1,8-8h96l56,56v40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("polyline",{points:"152 32 152 88 208 88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),W_.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M58,216a24,24,0,0,0,0-48H44v48Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("ellipse",{cx:"130",cy:"192",rx:"22",ry:"24",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M212,210.5a21,21,0,0,1-14,5.5c-12.2,0-22-10.7-22-24s9.8-24,22-24a21,21,0,0,1,14,5.5",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M48,128V40a8,8,0,0,1,8-8h96l56,56v40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("polyline",{points:"152 32 152 88 208 88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),W_.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M58,216a24,24,0,0,0,0-48H44v48Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("ellipse",{cx:"130",cy:"192",rx:"22",ry:"24",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M212,210.5a21,21,0,0,1-14,5.5c-12.2,0-22-10.7-22-24s9.8-24,22-24a21,21,0,0,1,14,5.5",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M48,128V40a8,8,0,0,1,8-8h96l56,56v40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("polyline",{points:"152 32 152 88 208 88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var z_=function(e,t){return Ua(e,t,W_)},$_=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:z_}))}));$_.displayName="FileDoc";const H_=$_;var V_=new Map;V_.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"228 164 196 164 196 220",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"224",y1:"196",x2:"196",y2:"196",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("polyline",{points:"148 36 148 100 212 100",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M44,124V44a8,8,0,0,1,8-8H156l56,56v32",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M112,220V164h16a28,28,0,0,1,0,56Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M36,204H52a20,20,0,0,0,0-40H36v56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),V_.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("polygon",{points:"152 32 152 88 208 88 152 32",opacity:"0.2"}),t.createElement("path",{d:"M48,128V40a8,8,0,0,1,8-8h96l56,56v40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("polyline",{points:"152 32 152 88 208 88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M48,200H64a16,16,0,0,0,0-32H48v48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("polyline",{points:"216 168 188 168 188 216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"212",y1:"196",x2:"188",y2:"196",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M128,216a24,24,0,0,0,0-48H114v48Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),V_.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M64,160H48a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0v-8h8a24,24,0,0,0,0-48Zm0,32H56V176h8a8,8,0,0,1,0,16Zm132-16v12h16a8,8,0,0,1,0,16H196v12a8,8,0,0,1-16,0V168a8,8,0,0,1,8-8h28a8,8,0,0,1,0,16Zm-68-16H114a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h14a32,32,0,0,0,0-64Zm0,48h-6V176h6a16,16,0,0,1,0,32ZM48,136H208a8,8,0,0,0,8-8V88a8.1,8.1,0,0,0-2.3-5.7l-56-56A8.1,8.1,0,0,0,152,24H56A16,16,0,0,0,40,40v88A8,8,0,0,0,48,136ZM152,44l44,44H152Z"}))})),V_.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M48,128V40a8,8,0,0,1,8-8h96l56,56v40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("polyline",{points:"152 32 152 88 208 88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M48,200H64a16,16,0,0,0,0-32H48v48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("polyline",{points:"216 168 188 168 188 216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"212",y1:"196",x2:"188",y2:"196",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M128,216a24,24,0,0,0,0-48H114v48Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),V_.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M48,128V40a8,8,0,0,1,8-8h96l56,56v40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("polyline",{points:"152 32 152 88 208 88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M48,200H64a16,16,0,0,0,0-32H48v48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("polyline",{points:"216 168 188 168 188 216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"212",y1:"196",x2:"188",y2:"196",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M128,216a24,24,0,0,0,0-48H114v48Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),V_.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M48,128V40a8,8,0,0,1,8-8h96l56,56v40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("polyline",{points:"152 32 152 88 208 88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M48,200H64a16,16,0,0,0,0-32H48v48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("polyline",{points:"216 168 188 168 188 216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"212",y1:"196",x2:"188",y2:"196",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M128,216a24,24,0,0,0,0-48H114v48Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var U_=function(e,t){return Ua(e,t,V_)},q_=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:U_}))}));q_.displayName="FilePdf";const Y_=q_;var G_=new Map;G_.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"44",y1:"164",x2:"84",y2:"220",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"84",y1:"164",x2:"44",y2:"220",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("polyline",{points:"120 164 120 220 148 220",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("polyline",{points:"148 36 148 100 212 100",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M44,124V44a8,8,0,0,1,8-8H156l56,56v32",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M180,214.4a23.7,23.7,0,0,0,15,5.6c9,0,17-3.4,17-14.6,0-17.9-32-10-32-26.8,0-9,6-14.6,15-14.6a23.7,23.7,0,0,1,15,5.6",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),G_.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"120 168 120 216 148 216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"52",y1:"168",x2:"88",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"88",y1:"168",x2:"52",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M176,212a25.2,25.2,0,0,0,15,5c9,0,17-3,17-13,0-16-32-9-32-24,0-8,6-13,15-13a25.2,25.2,0,0,1,15,5",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("polygon",{points:"152 32 152 88 208 88 152 32",opacity:"0.2"}),t.createElement("path",{d:"M48,128V40a8,8,0,0,1,8-8h96l56,56v40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("polyline",{points:"152 32 152 88 208 88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),G_.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M94.4,172.8,80,192l14.4,19.2a8,8,0,0,1-1.6,11.2A7.7,7.7,0,0,1,88,224a8,8,0,0,1-6.4-3.2L70,205.3,58.4,220.8A8,8,0,0,1,52,224a7.7,7.7,0,0,1-4.8-1.6,8,8,0,0,1-1.6-11.2L60,192,45.6,172.8a8,8,0,1,1,12.8-9.6L70,178.7l11.6-15.5a8,8,0,0,1,12.8,9.6ZM148,208H128V168a8,8,0,0,0-16,0v48a8,8,0,0,0,8,8h28a8,8,0,0,0,0-16Zm45.7-24.2c-3.1-.8-8.6-2.3-9.7-3.6V180c0-3.3,2.4-5,7-5a18.4,18.4,0,0,1,10,3.2h-.1A8.3,8.3,0,0,0,206,180a8,8,0,0,0,8-8,7.6,7.6,0,0,0-2.9-6.1h0A33.4,33.4,0,0,0,191,159c-13.5,0-23,8.6-23,21s13,17,21.6,19.3c3.4.9,7,1.8,9.2,3.1s1.2,1,1.2,1.6,0,5-9,5a18.4,18.4,0,0,1-10-3.2h.1A8.3,8.3,0,0,0,176,204a8,8,0,0,0-8,8,7.6,7.6,0,0,0,2.9,6.1h0A33.4,33.4,0,0,0,191,225c15.7,0,25-7.9,25-21S202,186,193.7,183.8ZM216,88v40a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V40A16,16,0,0,1,56,24h96a8.1,8.1,0,0,1,5.7,2.3l56,56A8.1,8.1,0,0,1,216,88Zm-20,0L152,44V88Z"}))})),G_.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"120 168 120 216 148 216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"52",y1:"168",x2:"88",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"88",y1:"168",x2:"52",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M176,212a25.2,25.2,0,0,0,15,5c9,0,17-3,17-13,0-16-32-9-32-24,0-8,6-13,15-13a25.2,25.2,0,0,1,15,5",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M48,128V40a8,8,0,0,1,8-8h96l56,56v40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("polyline",{points:"152 32 152 88 208 88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),G_.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"120 168 120 216 148 216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"52",y1:"168",x2:"88",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"88",y1:"168",x2:"52",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M176,212a25.2,25.2,0,0,0,15,5c9,0,17-3,17-13,0-16-32-9-32-24,0-8,6-13,15-13a25.2,25.2,0,0,1,15,5",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M48,128V40a8,8,0,0,1,8-8h96l56,56v40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("polyline",{points:"152 32 152 88 208 88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),G_.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"120 168 120 216 148 216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"52",y1:"168",x2:"88",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"88",y1:"168",x2:"52",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M176,212a25.2,25.2,0,0,0,15,5c9,0,17-3,17-13,0-16-32-9-32-24,0-8,6-13,15-13a25.2,25.2,0,0,1,15,5",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M48,128V40a8,8,0,0,1,8-8h96l56,56v40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("polyline",{points:"152 32 152 88 208 88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var Z_=function(e,t){return Ua(e,t,G_)},K_=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:Z_}))}));K_.displayName="FileXls";const Q_=K_;var X_=new Map;X_.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"148 36 148 100 212 100",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M44,124V44a8,8,0,0,1,8-8H156l56,56v32",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M100,204h16a20,20,0,0,0,0-40H100v56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M60,164v36a20,20,0,0,1-40,0",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M212,198.9h8v8c-4.6,7.9-12.7,13.1-22,13.1-14.4,0-26-12.5-26-28s11.6-28,26-28a24.2,24.2,0,0,1,14,4.4",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),X_.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("polygon",{points:"152 32 152 88 208 88 152 32",opacity:"0.2"}),t.createElement("path",{d:"M48,128V40a8,8,0,0,1,8-8h96l56,56v40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("polyline",{points:"152 32 152 88 208 88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M104,200h16a16,16,0,0,0,0-32H104v48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M72,168v32a16,16,0,0,1-32,0",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M188,194h12v11.8A21.5,21.5,0,0,1,182,216c-12.2,0-22-10.7-22-24s9.8-24,22-24a20.3,20.3,0,0,1,12,3.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),X_.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M120,160H104a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0v-8h8a24,24,0,0,0,0-48Zm0,32h-8V176h8a8,8,0,0,1,0,16ZM80,168v32a24,24,0,0,1-48,0,8,8,0,0,1,16,0,8,8,0,0,0,16,0V168a8,8,0,0,1,16,0Zm128,26v11.8a7.5,7.5,0,0,1-1.3,4.3A29.4,29.4,0,0,1,182,224c-16.5,0-30-14.4-30-32s13.5-32,30-32a28.4,28.4,0,0,1,16.6,5.4,8,8,0,0,1-9.2,13A12.6,12.6,0,0,0,182,176c-7.7,0-14,7.2-14,16s6.3,16,14,16a13.3,13.3,0,0,0,10-4.8V202h-4a8,8,0,0,1,0-16h12A8,8,0,0,1,208,194Zm5.7-111.7-56-56A8.1,8.1,0,0,0,152,24H56A16,16,0,0,0,40,40v88a8,8,0,0,0,8,8H208a8,8,0,0,0,8-8V88A8.1,8.1,0,0,0,213.7,82.3ZM152,88V44l44,44Z"}))})),X_.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M104,200h16a16,16,0,0,0,0-32H104v48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M72,168v32a16,16,0,0,1-32,0",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M188,194h12v11.8A21.5,21.5,0,0,1,182,216c-12.2,0-22-10.7-22-24s9.8-24,22-24a20.3,20.3,0,0,1,12,3.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M48,128V40a8,8,0,0,1,8-8h96l56,56v40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("polyline",{points:"152 32 152 88 208 88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),X_.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M104,200h16a16,16,0,0,0,0-32H104v48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M72,168v32a16,16,0,0,1-32,0",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M188,194h12v11.8A21.5,21.5,0,0,1,182,216c-12.2,0-22-10.7-22-24s9.8-24,22-24a20.3,20.3,0,0,1,12,3.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M48,128V40a8,8,0,0,1,8-8h96l56,56v40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("polyline",{points:"152 32 152 88 208 88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),X_.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M104,200h16a16,16,0,0,0,0-32H104v48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M72,168v32a16,16,0,0,1-32,0",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M188,194h12v11.8A21.5,21.5,0,0,1,182,216c-12.2,0-22-10.7-22-24s9.8-24,22-24a20.3,20.3,0,0,1,12,3.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M48,128V40a8,8,0,0,1,8-8h96l56,56v40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("polyline",{points:"152 32 152 88 208 88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var J_=function(e,t){return Ua(e,t,X_)},eC=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:J_}))}));eC.displayName="FileJpg";const tC={"":T_,".csv":B_,".plain":H_,".pdf":Y_,".sheet":Q_,".xlsx":Q_,".xls":Q_,".xlsm":Q_,".jpeg":eC},nC=e=>{let{className:t="",fileType:n}=e;if(!n)return null;const r=n.match(/\.[0-9a-z]+$/i),o=null!==r&&void 0!==r&&r.length?r[0]:r,i=o in tC?tC[o]:T_;return(0,Cs.jsx)(i,{className:xs(bs`
          min-width: max-content;
        `,t),size:40})},rC=e=>{var t,n,r;let{item:o,totalColumns:i}=e;const a=j_({column:o,length:i,type:"component"});return(0,Cs.jsx)("div",{...a,style:{width:"100%",boxSizing:"border-box"},children:(0,Cs.jsxs)("a",{target:"_blank",href:null===o||void 0===o||null===(t=o.document)||void 0===t?void 0:t.PublicURL,className:bs`
          display: flex;
          align-items: center;
          justify-content: start;
          background-color: ${ks.gray[100]};
          border-radius: 8px;
          width: 100%;
          height: 64px;
          text-decoration: none;
          cursor: pointer;
        `,children:[(0,Cs.jsx)(nC,{className:bs`
            padding-left: 16px;
            min-width: 32px;
          `,fileType:null===o||void 0===o||null===(n=o.document)||void 0===n?void 0:n.FileType}),(0,Cs.jsx)("p",{className:bs`
            font-size: 18px;
            color: ${ks.black};
            margin-left: 16px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
          `,children:null===o||void 0===o||null===(r=o.document)||void 0===r?void 0:r.Name})]})})};function oC(e){var t=new RegExp("^-?\\d+(?:.\\d{0,"+((arguments.length>1&&void 0!==arguments[1]?arguments[1]:4)||-1)+"})?");return e.toString().match(t)[0]}const iC=bs`
  display: none;
  height: 100px;
`,aC=e=>{let{crop:n,style:r,imageProps:o}=e;const i=(0,t.useRef)(),[a,s]=(0,t.useState)(iC),l={...r,...null!==n&&void 0!==n&&n.circularCrop?{borderTopLeftRadius:"50%",borderTopRightRadius:"50%",borderBottomLeftRadius:"50%",borderBottomRightRadius:"50%"}:{}};return(0,Cs.jsx)("div",{className:a,style:l,children:(0,Cs.jsx)("img",{ref:i,...o,onLoad:e=>{const t=(e=>{let{crop:t,image:n}=e;try{const e=oC(null===t||void 0===t?void 0:t.width)*(null===n||void 0===n?void 0:n.naturalWidth),r=oC(null===t||void 0===t?void 0:t.height)*(null===n||void 0===n?void 0:n.naturalHeight),o=oC(e)/oC(r),i=(null===n||void 0===n?void 0:n.naturalWidth)/((null===n||void 0===n?void 0:n.naturalWidth)*(oC(null===t||void 0===t?void 0:t.width)/100)),a=(null===n||void 0===n?void 0:n.naturalHeight)/((null===n||void 0===n?void 0:n.naturalHeight)*(oC(null===t||void 0===t?void 0:t.height)/100)),s=100*i,l=i*oC(null===t||void 0===t?void 0:t.x),u=a*oC(null===t||void 0===t?void 0:t.y);return bs`
      position: relative;
      width: 100%;
      overflow: hidden;
      aspect-ratio: ${o};
      ${t.circularCrop?"border-radius: 50%;":""}
      opacity: 100%;
      img {
        position: absolute;
        width: ${s}%;
        top: -${u}%;
        left: -${l}%;
        transform: scale(${null===t||void 0===t?void 0:t.scale}) rotate(${null===t||void 0===t?void 0:t.rotate}deg);
      }
    `}catch(r){return bs`
      display: none;
    `}})({crop:n,image:e.currentTarget});s(t)}})})},sC=e=>{var t;let{item:n,containerAttributes:r,totalColumns:o}=e;const i=j_({column:n,length:o,type:"component"}),{className:a}=i,s=e=>{var t,r;let{children:o}=e;return(0,Cs.jsx)(Cs.Fragment,{children:null!==n&&void 0!==n&&n.action?(0,Cs.jsx)("a",{onClick:l,className:a,style:{cursor:"pointer"},children:o}):null!==n&&void 0!==n&&n.link?(0,Cs.jsx)("a",{target:(null===n||void 0===n||null===(t=n.attributes)||void 0===t?void 0:t.target)||"_blank",href:null===n||void 0===n||null===(r=n.attributes)||void 0===r?void 0:r.href,className:a,children:o}):o})},l=P_(n);return(0,Cs.jsx)(s,{children:null!==n&&void 0!==n&&n.crop?(0,Cs.jsx)(aC,{style:null===i||void 0===i?void 0:i.style,width:null===r||void 0===r||null===(t=r.style)||void 0===t?void 0:t.width,crop:null===n||void 0===n?void 0:n.crop,imageProps:{src:null===i||void 0===i?void 0:i.src,alt:null===i||void 0===i?void 0:i.alt}}):(0,Cs.jsx)("img",{...i})})},lC=e=>{var t;let{item:n,totalColumns:r,containerAttributes:o}=e;const i=j_({column:n,length:r,type:"component"}),a="space"===n.component?{borderRadius:(null===o||void 0===o||null===(t=o.style)||void 0===t?void 0:t.borderRadius)||"0"}:{},s={...i.style,...a};return(0,Cs.jsx)("div",{...i,style:s})},uC=e=>{let{item:t,totalColumns:n}=e;const r=j_({column:t,length:n,type:"component"}),o=xs(r.className,bs`
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      line-height: 1.2em;
      p {
        display: inline-block;
        line-height: 1.2em;
        width: 100%;
        margin: 0;
        padding: 0;
      }
      ol,
      ul {
        margin: 0;
        line-height: 0;
      }
      li {
        margin: 0;
        line-height: 1.5em;
        white-space: pre-line;
      }
    `);return(0,Cs.jsx)("pre",{...r,className:o,dangerouslySetInnerHTML:{__html:(null===t||void 0===t?void 0:t.content)||""}})},cC=e=>{let{item:t,totalColumns:n}=e;const r=j_({column:t,length:n,type:"component"}),o=xs(r.className,bs`
      ol,
      ul,
      p {
        margin: 0;
        li {
          margin: 0;
        }
      }
    `);return(0,Cs.jsx)("pre",{...r,className:o,dangerouslySetInnerHTML:{__html:(null===t||void 0===t?void 0:t.content)||""}})},dC=e=>{let{item:t,totalColumns:n}=e;const r=j_({column:t,length:n,type:"component"}),o=(e=>{try{const t=new URL(e);if("www.youtube.com"===t.hostname){if(e.includes("/embed/"))return e;if("/watch"===t.pathname){const e=t.searchParams.get("v");return e?`${t.origin}/embed/${e}`:""}return t.pathname.includes("/embed")?e:`${t.origin}/embed${t.pathname}`}if("youtu.be"===t.hostname)return`${t.protocol}//www.youtube.com/embed${t.pathname}`;if("vimeo.com"===t.hostname){if(!t.pathname.startsWith("/video")){let{pathname:e}=t;const[n,r,o]=e.split("/");return o&&(e=`/${r}?h=${o}`),`${t.protocol}//player.vimeo.com/video${e}`}}else if("drive.google.com"===t.hostname)return t.href.replace("/view","/preview").replace("/edit","/preview");return e}catch(t){return console.log(t),""}})(null===r||void 0===r?void 0:r.src);return(0,Cs.jsx)("div",{...r,children:(0,Cs.jsx)("iframe",{...r,src:o})})},pC=e=>{let{item:t,totalColumns:n}=e;const r=j_({column:t,length:n,type:"component"});return(0,Cs.jsx)("div",{...r,children:(0,Cs.jsx)("iframe",{...r})})};var fC=new Map;fC.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"128",y1:"40",x2:"128",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),fC.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"128",y1:"40",x2:"128",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),fC.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M216,120H136V40a8,8,0,0,0-16,0v80H40a8,8,0,0,0,0,16h80v80a8,8,0,0,0,16,0V136h80a8,8,0,0,0,0-16Z"}))})),fC.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"128",y1:"40",x2:"128",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),fC.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"128",y1:"40",x2:"128",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),fC.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"128",y1:"40",x2:"128",y2:"216",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var hC=function(e,t){return Ua(e,t,fC)},mC=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:hC}))}));mC.displayName="Plus";const gC=mC,vC=e=>{var n,r,o,i;let{item:a,totalColumns:s}=e;const[l,u]=(0,t.useState)(!1);return(0,Cs.jsxs)("div",{className:yC(l),onClick:()=>u(!l),children:[(0,Cs.jsxs)("div",{className:"title",children:[(0,Cs.jsx)("div",{className:"svg-container",children:(0,Cs.jsx)(gC,{color:"currentColor",weight:"bold"})}),(0,Cs.jsx)("pre",{className:"text-h4-component",dangerouslySetInnerHTML:{__html:(null===a||void 0===a||null===(n=a.data)||void 0===n||null===(r=n.title)||void 0===r?void 0:r.content)||""}})]}),(0,Cs.jsx)(ch,{in:l,children:(0,Cs.jsx)("div",{className:bs`
            margin-left: 40px;
            margin-top: 8px;
          `,children:(0,Cs.jsx)("pre",{className:"text-body-component",dangerouslySetInnerHTML:{__html:(null===a||void 0===a||null===(o=a.data)||void 0===o||null===(i=o.body)||void 0===i?void 0:i.content)||""}})})})]})},yC=e=>bs`
  padding: 16px;
  margin: 8px;
  width: calc(100% - 48px);
  border-radius: 8px;
  border: 1px solid var(--accent-color-4);
  cursor: pointer;
  :hover {
    outline: 2px solid var(--accent-color-0);
    outline-offset: -2px;
  }
  .title {
    ${Tu("left")}
    .svg-container {
      ${Tu("center")}
      border-radius: 50%;
      background-color: var(--button-background-color);
      color: var(--button-text-color);
      margin-right: 16px;
      min-width: 24px;
      min-height: 24px;
      ${"\n  @keyframes rotateBackward {\n    from {\n      transform: rotate(45deg);\n    }\n    to {\n      transform: rotate(0);\n    }\n  }\n"}
      ${"\n  @keyframes rotateFoward {\n    from {\n      transform: rotate(0deg);\n    }\n    to {\n      transform: rotate(45deg);\n    }\n  }\n"}
      svg {
        width: 16px;
        height: 16px;
        ${e?"animation: rotateFoward .4s forwards;":"animation: rotateBackward .4s forwards;"}
      }
    }
  }

  .text-body-component {
    margin-left: 40px;
  }

  .content {
    margin-left: 40px;
    margin-top: 8px;
  }

  pre {
    ol,
    ul,
    p {
      margin: 0;
      li {
        margin: 0;
      }
    }
  }
`,xC=e=>{const{item:t,totalColumns:n}=e,r=j_({column:t,length:n,type:"container"}),o={...r.style,height:"100%",width:"100%",boxSizing:"border-box"},i={...e,containerAttributes:r};return(0,Cs.jsxs)("div",{...r,style:o,children:["text"===t.component&&(0,Cs.jsx)(uC,{...i}),"textV2"===t.component&&(0,Cs.jsx)(cC,{...i}),"space"===t.component&&(0,Cs.jsx)(lC,{...i}),"line"===t.component&&(0,Cs.jsx)(lC,{...i}),"image"===t.component&&(0,Cs.jsx)(sC,{...i}),"video"===t.component&&(0,Cs.jsx)(dC,{...i}),"website"===t.component&&(0,Cs.jsx)(pC,{...i}),"button"===t.component&&(0,Cs.jsx)(L_,{...i}),"benefits"===t.component&&(0,Cs.jsx)(__,{...i}),"pricing"===t.component&&(0,Cs.jsx)(__,{...i}),"network"===t.component&&(0,Cs.jsx)(__,{...i}),"document"===t.component&&(0,Cs.jsx)(rC,{...i}),"accordion"===t.component&&(0,Cs.jsx)(vC,{...i})]})},bC=bs`
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
`,kC=e=>{var n,r,o;const{item:i,totalColumns:a}=e,s=C_(i,a),l=bs`
    width: ${100*s}%;
    box-sizing: border-box;
  `;return(0,Cs.jsx)(Cs.Fragment,{children:"list"===(null===e||void 0===e||null===(n=e.item)||void 0===n?void 0:n.type)?(0,Cs.jsx)("div",{className:xs(bC,l,"component-container"),children:null===e||void 0===e||null===(r=e.item)||void 0===r||null===(o=r.list)||void 0===o?void 0:o.map(((n,r)=>(0,t.createElement)(xC,{...e,item:n,key:r})))}):(0,Cs.jsx)("div",{className:xs(l,"component-container"),children:(0,Cs.jsx)(xC,{...e})})})},wC="\n  .mobile-only {\n    display: none !important;\n  }\n",EC="\n  .desktop-only {\n    display: none !important;\n  }\n",_C=(e,t)=>bs`
    box-sizing: border-box;
    padding: 8px;
    margin: 0 auto;
    ${e}
    overflow-x: visible;

    @media only screen and (min-width: 420px) {
      ${"unknown"===t&&wC}
    }
    @media only screen and (max-width: 420px) {
      .row.stack-columns {
        flex-direction: column;
        .component-container {
          width: 100%;
        }
      }
      ${"unknown"!==t?EC:""}
    }

    ${"unknown"!==t?EC:""}
    ${"unknown"===t?wC:""}

    ${"unknown"!==t?"\n    .row.stack-columns {\n      flex-direction: column;\n      .component-container {\n        width: 100%;\n      }\n    }\n    ":""}

    .row {
      z-index: 5;
      a {
        color: inherit;
        text-decoration: inherit;
      }
    }

    .non-viewable {
      display: none !important;
    }
    opacity: 100%;

    ${Wu("fadein",".35s ease")};
    img {
      ${Wu("fadein",".2s ease")};
    }
  `,CC=(e,t)=>bs`
  z-index: -1;
  position: absolute;
  top: 0;
  bottom: 0;
  ${null!==e&&void 0!==e&&e.fullScreenWidth?`\n    left: calc(100% / 2 - ${window.innerWidth/2}px);\n    width: ${1*window.innerWidth}px;\n  `:"\n      left: 0;\n      right: 0;\n  "}
`,SC=e=>{var n;let{page:r,themeLoaded:o,updateContentPosition:i}=e;const a=(0,t.useRef)(),{Content:s}=r;(0,t.useEffect)((()=>{a&&a.current&&i(a.current.getBoundingClientRect().height,a.current.getBoundingClientRect().top)}),[a.current]);const l=(0,Wc.debounce)((()=>{i(a.current.getBoundingClientRect().height,a.current.getBoundingClientRect().top)}),300),u=()=>{a&&a.current&&l()},{data:{displaySettings:c}}=Ww(),d=e=>{let t=["row"];return null!==e&&void 0!==e&&e.hideOnMobile&&null!==e&&void 0!==e&&e.hideOnDesktop?t.push("non-viewable"):null!==e&&void 0!==e&&e.hideOnMobile?t.push("desktop-only"):null!==e&&void 0!==e&&e.hideOnDesktop&&t.push("mobile-only"),null!==e&&void 0!==e&&e.stackColumns&&t.push("stack-columns"),null!==e&&void 0!==e&&e.fullScreenWidth&&t.push("full-screen-width"),t.join(" ")},p=A_();return(0,t.useMemo)((()=>{var e,t,n,i,l;return c?(0,Cs.jsx)("div",{"data-ph-capture-attribute-source":null===r_||void 0===r_||null===(e=r_.types)||void 0===e?void 0:e.CONTENT,style:{position:"sticky",top:"0",height:"100%",backgroundColor:"var(--background-color)",overflow:"auto",...(null===s||void 0===s||null===(n=s.root)||void 0===n?void 0:n.containerStyle)||{}},onScroll:u,children:(0,Cs.jsx)("div",{ref:a,className:xs("_brite-content",_C((null===s||void 0===s||null===(i=s.root)||void 0===i?void 0:i.style)||"",p)),children:o?null===s||void 0===s||null===(l=s.rows)||void 0===l?void 0:l.map(((e,t)=>{var n,o,i;return(0,Cs.jsxs)("div",{className:d(e),"data-ph-capture-attribute-source":(null===r_||void 0===r_||null===(o=r_.types)||void 0===o?void 0:o.CONTENT)+"-row:"+(null===e||void 0===e?void 0:e.rowId),children:[(0,Cs.jsx)("div",{className:CC(e),style:(null===e||void 0===e?void 0:e.style)||{}}),null===e||void 0===e||null===(i=e.columns)||void 0===i?void 0:i.map(((n,o)=>{var i;return(0,Cs.jsx)(kC,{item:n,rowIdx:t,isStackColumns:null===e||void 0===e?void 0:e.stackColumns,totalColumns:(null===e||void 0===e||null===(i=e.columns)||void 0===i?void 0:i.length)||0},(null===r||void 0===r?void 0:r.ID)+(null===e||void 0===e?void 0:e.rowId)+o)}))]},(null===e||void 0===e?void 0:e.rowId)+(null===a||void 0===a||null===(n=a.current)||void 0===n?void 0:n.offsetLeft))})):(0,Cs.jsx)("div",{className:bs`
                width: 100%;
                height: 100%;
                display: flex;
                justify-content: center;
                align-items: center;
              `,children:(0,Cs.jsx)(xf,{})})},null===r||void 0===r?void 0:r.ID)},(null===r||void 0===r?void 0:r.ID)+(null===a||void 0===a||null===(t=a.current)||void 0===t?void 0:t.offsetLeft)):null}),[null===r||void 0===r?void 0:r.ID,c,o,p,null===a||void 0===a||null===(n=a.current)||void 0===n?void 0:n.offsetLeft])},DC=e=>{let{templateId:n}=e;const{setStore:r}=Ww(),[o,i]=(0,t.useState)(!0),[a,s]=(0,t.useState)({});(0,t.useEffect)((()=>{(async()=>{try{const e=await Ha.get(`/public/v1/templates/${n}`);s(e.data)}catch(e){console.warn(e)}})()}),[n]);(0,t.useEffect)((()=>{var e;const t=null===a||void 0===a||null===(e=a.Content)||void 0===e?void 0:e.rows.reduce(((e,t)=>{var n;const r=null===t||void 0===t||null===(n=t.columns)||void 0===n?void 0:n.reduce(((e,t)=>"benefits"===t.component?[...e,t.type]:e),[]);return[...e,...r]}),[]);(async e=>{try{const t=[...new Set(e)],n=(await Promise.allSettled(t.map((e=>Ha.get(`/public/v1/product-layout/${e}`))))).reduce(((e,n,r)=>{if("fulfilled"===n.status)return{...e,[t[r]]:n.value.data}}),{});r("productLayouts",n)}catch(t){console.warn(t)}})(t)}),[a]),qw(a.BusinessID,"",(e=>r("displaySettings",e)));const{data:{displaySettings:l={}}}=Ww();return(0,Cs.jsx)(Ku,{css:bs`
        ${Tu("center start")} width: 100%;
        background-color: white;
      `,children:(0,Cs.jsxs)(Ku,{css:bs`
          overflow: hidden;
        `,children:[(0,Cs.jsx)("link",{rel:"stylesheet",href:`${Ha.baseURL()}public/v1/course/0c601b45-ac30-4b5a-9099-3c02f073f31a/theme-css`,onLoad:()=>i(!0),onLoadStart:()=>i(!1)}),(0,Cs.jsx)(SC,{page:{Content:a.Content},themeLoaded:o,displaySettings:l})]})})};var jC=n(9184),AC=n(659);const PC=function(e){var n=e.children,r=e.theme,o=(0,nl.A)(),i=t.useMemo((function(){var e=null===o?r:function(e,t){return"function"===typeof t?t(e):(0,Fs.A)({},e,t)}(o,r);return null!=e&&(e[AC.A]=null!==o),e}),[r,o]);return t.createElement(jC.A.Provider,{value:i},n)};var LC=n(8738),MC=n(7173);const NC=()=>(0,Cs.jsxs)("div",{className:bs`
        display: flex;
        margin: 40px;
        justify-content: center;
        color: red;
        font-family: 'Roboto', sans-serif;
        flex-direction: column;
        text-align: center;
      `,children:[(0,Cs.jsx)("p",{children:"Could not load benefit data. Try refreshing the page. If the issue persists, contact your HR representative to get a new link."}),(0,Cs.jsx)("div",{children:(0,Cs.jsx)(MC.A,{fontSize:"large"})})]}),OC=bs`
  @keyframes three-dots {
    to {
      opacity: 0.1;
      transform: translateY(8px);
    }
  }
`,TC=e=>bs`
  ${Tu("right start")}
  position: absolute;
  top: 3px;
  right: 3px;
  bottom: 3px;
  left: 3px;
  padding: 8px;
  background-color: white;
  z-index: 100;
  transition: 0.2s opacity ease;
  ${!e&&"\n    opacity: 0;\n    pointer-events: none;\n  "}
  ${OC}
  > div {
    animation: three-dots 0.6s infinite alternate;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: ${ks.black};
    margin: 0 4px;
    :nth-child(2) {
      animation-delay: 0.2s;
    }
    :nth-child(3) {
      animation-delay: 0.4s;
    }
  }
`,FC=e=>bs`
  ${Tu("center column")}
  ${"\n  @keyframes bounce {\n    0%   { transform: translateY(0px); }\n    20%  { transform: translateY(-5px); }\n    40%  { transform: translateY(0px); }\n    60%  { transform: translateY(-5px); }\n    80%  { transform: translateY(0px); }\n  }\n"}
  .bounce {
    animation: bounce 1s ease alternate;
    animation-iteration-count: infinite;
  }
  .delay {
    :nth-child(odd) {
      animation-delay: 0.15s;
    }
    :nth-child(even) {
      animation-delay: 0.25s;
    }
  }
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1500;
  background-color: white;
  opacity: 1;
  transition: opacity 0.5s ease;
  ${e?"\n    pointer-events: all;\n  ":"\n    opacity: 0;\n    pointer-events: none;\n  "}
`,RC=e=>{let{type:t="circular",children:n,isLoading:r=!0,className:o=""}=e;return"circular"===t?r?(0,Cs.jsx)(Ku,{css:bs`
          ${Tu("jcc aic")} width: 100%;
          height: 100%;
          padding: 8px;
        `,children:(0,Cs.jsx)(xf,{})}):null:"icon"===t?(0,Cs.jsx)(Ku,{css:xs(FC(r),o),children:n}):"three-dots"===t?(0,Cs.jsxs)(Ku,{css:xs(TC(r),o),children:[(0,Cs.jsx)(Ku,{}),(0,Cs.jsx)(Ku,{}),(0,Cs.jsx)(Ku,{})]}):void 0};var IC=n(5313);const BC=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,IC.A)(e,(0,Fs.A)({defaultTheme:rl.A},t))};var WC=t.forwardRef((function(e,n){var r=e.edge,i=void 0!==r&&r,a=e.children,s=e.classes,l=e.className,u=e.color,c=void 0===u?"default":u,d=e.disabled,p=void 0!==d&&d,f=e.disableFocusRipple,h=void 0!==f&&f,m=e.size,g=void 0===m?"medium":m,v=(0,Is.A)(e,["edge","children","classes","className","color","disabled","disableFocusRipple","size"]);return t.createElement(fE,(0,Fs.A)({className:(0,o.A)(s.root,l,"default"!==c&&s["color".concat((0,Hs.A)(c))],p&&s.disabled,"small"===g&&s["size".concat((0,Hs.A)(g))],{start:s.edgeStart,end:s.edgeEnd}[i]),centerRipple:!0,focusRipple:!h,disabled:p,ref:n},v),t.createElement("span",{className:s.label},a))}));const zC=(0,$s.A)((function(e){return{root:{textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:12,borderRadius:"50%",overflow:"visible",color:e.palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{backgroundColor:(0,zs.X4)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{backgroundColor:"transparent",color:e.palette.action.disabled}},edgeStart:{marginLeft:-12,"$sizeSmall&":{marginLeft:-3}},edgeEnd:{marginRight:-12,"$sizeSmall&":{marginRight:-3}},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:(0,zs.X4)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:(0,zs.X4)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},disabled:{},sizeSmall:{padding:3,fontSize:e.typography.pxToRem(18)},label:{width:"100%",display:"flex",alignItems:"inherit",justifyContent:"inherit"}}}),{name:"MuiIconButton"})(WC),$C=BC({list:{width:300,paddingBottom:"170px"},listPadding:{paddingTop:"0px !important"},fontHeader:{fontWeight:"bold",fontSize:"1.2em",color:"#25282d"},hide:{display:"none"},border:{borderLeft:"1px solid #D1DAE3 !important"},rotate:{transform:"rotate(-180deg)"},active:{backgroundColor:"#f5f7fa !important"}});function HC(e){const t=$C(),n=(t,n)=>r=>{("keydown"!==r.type||"Tab"!==r.key&&"Shift"!==r.key)&&(e.setOpen(t),Number.isInteger(n)&&e.setCurrentPageIndex(n))};return(0,Cs.jsxs)("div",{className:t.list,role:"presentation",children:[e.title&&(0,Cs.jsx)("div",{className:bs`
            padding: 24px;
            padding-left: 32px;
            padding-bottom: 4px;
            display: flex;
            justify-content: space-between;
            align-items: center;
          `,children:(0,Cs.jsx)(Ts,{h3:!0,children:e.title})}),(0,Cs.jsxs)("div",{className:bs`
          padding: 24px;
          padding-left: 32px;
          padding-bottom: 4px;
          display: flex;
          justify-content: space-between;
          align-items: center;
        `,children:[(0,Cs.jsx)("div",{onClick:n(!1),className:bs`
            font-family: 'Roboto';
            font-style: normal;
            font-weight: 700;
            font-size: 18px;
            line-height: 175%;
            /* or 32px */

            color: #25282d;
          `,children:"Pages"}),!e.isDesktop&&(0,Cs.jsx)(zC,{id:"navigation",color:"inherit","aria-label":"Toggle Navigation Menu",edge:"end",onClick:n(!1),children:(0,Cs.jsx)(kh,{})})]}),(0,Cs.jsx)(jc,{className:t.listPadding,children:e.pages.map(((r,o)=>(0,Cs.jsx)(vE,{className:"page-list-nav"+(e.currentPageIndex-1===o?" page-nav-prev":e.currentPageIndex+1===o?" page-nav-next":""),style:{paddingLeft:"32px",paddingBottom:"12px",paddingTop:"12px"},classes:{selected:t.active},selected:o===e.currentPageIndex,button:!0,onClick:n(!!e.isDesktop&&e.open,o),onKeyDown:n(!!e.isDesktop&&e.open),children:(0,Cs.jsx)("div",{className:bs`
                font-family: 'Roboto';
                font-style: normal;
                font-weight: 400;
                font-size: 16px;
                line-height: 175%;
                /* identical to box height, or 28px */

                color: #25282d;
              `,children:r.Name})},r.ID)))})]})}var VC={entering:{opacity:1},entered:{opacity:1}},UC={enter:lh.p0.enteringScreen,exit:lh.p0.leavingScreen},qC=t.forwardRef((function(e,n){var r=e.children,o=e.disableStrictModeCompat,i=void 0!==o&&o,a=e.in,s=e.onEnter,l=e.onEntered,u=e.onEntering,c=e.onExit,d=e.onExited,p=e.onExiting,f=e.style,h=e.TransitionComponent,m=void 0===h?tl:h,g=e.timeout,v=void 0===g?UC:g,y=(0,Is.A)(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","TransitionComponent","timeout"]),x=ol(),b=x.unstable_strictMode&&!i,k=t.useRef(null),w=(0,sl.A)(r.ref,n),E=(0,sl.A)(b?k:void 0,w),_=function(e){return function(t,n){if(e){var r=b?[k.current,t]:[t,n],o=(0,Rs.A)(r,2),i=o[0],a=o[1];void 0===a?e(i):e(i,a)}}},C=_(u),S=_((function(e,t){il(e);var n=al({style:f,timeout:v},{mode:"enter"});e.style.webkitTransition=x.transitions.create("opacity",n),e.style.transition=x.transitions.create("opacity",n),s&&s(e,t)})),D=_(l),j=_(p),A=_((function(e){var t=al({style:f,timeout:v},{mode:"exit"});e.style.webkitTransition=x.transitions.create("opacity",t),e.style.transition=x.transitions.create("opacity",t),c&&c(e)})),P=_(d);return t.createElement(m,(0,Fs.A)({appear:!0,in:a,nodeRef:b?k:void 0,onEnter:S,onEntered:D,onEntering:C,onExit:A,onExited:P,onExiting:j,timeout:v},y),(function(e,n){return t.cloneElement(r,(0,Fs.A)({style:(0,Fs.A)({opacity:0,visibility:"exited"!==e||a?void 0:"hidden"},VC[e],f,r.props.style),ref:E},n))}))}));const YC=qC;var GC=t.forwardRef((function(e,n){var r=e.children,i=e.classes,a=e.className,s=e.invisible,l=void 0!==s&&s,u=e.open,c=e.transitionDuration,d=e.TransitionComponent,p=void 0===d?YC:d,f=(0,Is.A)(e,["children","classes","className","invisible","open","transitionDuration","TransitionComponent"]);return t.createElement(p,(0,Fs.A)({in:u,timeout:c},f),t.createElement("div",{className:(0,o.A)(i.root,a,l&&i.invisible),"aria-hidden":!0,ref:n},r))}));const ZC=(0,$s.A)({root:{zIndex:-1,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"},invisible:{backgroundColor:"transparent"}},{name:"MuiBackdrop"})(GC);function KC(e,t){var n=function(e,t){var n,r=t.getBoundingClientRect();if(t.fakeTransform)n=t.fakeTransform;else{var o=window.getComputedStyle(t);n=o.getPropertyValue("-webkit-transform")||o.getPropertyValue("transform")}var i=0,a=0;if(n&&"none"!==n&&"string"===typeof n){var s=n.split("(")[1].split(")")[0].split(",");i=parseInt(s[4],10),a=parseInt(s[5],10)}return"left"===e?"translateX(".concat(window.innerWidth,"px) translateX(").concat(i-r.left,"px)"):"right"===e?"translateX(-".concat(r.left+r.width-i,"px)"):"up"===e?"translateY(".concat(window.innerHeight,"px) translateY(").concat(a-r.top,"px)"):"translateY(-".concat(r.top+r.height-a,"px)")}(e,t);n&&(t.style.webkitTransform=n,t.style.transform=n)}var QC={enter:lh.p0.enteringScreen,exit:lh.p0.leavingScreen},XC=t.forwardRef((function(e,n){var o=e.children,i=e.direction,a=void 0===i?"down":i,s=e.in,l=e.onEnter,u=e.onEntered,c=e.onEntering,d=e.onExit,p=e.onExited,f=e.onExiting,h=e.style,m=e.timeout,g=void 0===m?QC:m,v=e.TransitionComponent,y=void 0===v?tl:v,x=(0,Is.A)(e,["children","direction","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),b=ol(),k=t.useRef(null),w=t.useCallback((function(e){k.current=r.findDOMNode(e)}),[]),E=(0,sl.A)(o.ref,w),_=(0,sl.A)(E,n),C=function(e){return function(t){e&&(void 0===t?e(k.current):e(k.current,t))}},S=C((function(e,t){KC(a,e),il(e),l&&l(e,t)})),D=C((function(e,t){var n=al({timeout:g,style:h},{mode:"enter"});e.style.webkitTransition=b.transitions.create("-webkit-transform",(0,Fs.A)({},n,{easing:b.transitions.easing.easeOut})),e.style.transition=b.transitions.create("transform",(0,Fs.A)({},n,{easing:b.transitions.easing.easeOut})),e.style.webkitTransform="none",e.style.transform="none",c&&c(e,t)})),j=C(u),A=C(f),P=C((function(e){var t=al({timeout:g,style:h},{mode:"exit"});e.style.webkitTransition=b.transitions.create("-webkit-transform",(0,Fs.A)({},t,{easing:b.transitions.easing.sharp})),e.style.transition=b.transitions.create("transform",(0,Fs.A)({},t,{easing:b.transitions.easing.sharp})),KC(a,e),d&&d(e)})),L=C((function(e){e.style.webkitTransition="",e.style.transition="",p&&p(e)})),M=t.useCallback((function(){k.current&&KC(a,k.current)}),[a]);return t.useEffect((function(){if(!s&&"down"!==a&&"right"!==a){var e=(0,Qu.A)((function(){k.current&&KC(a,k.current)}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[a,s]),t.useEffect((function(){s||M()}),[s,M]),t.createElement(y,(0,Fs.A)({nodeRef:k,onEnter:S,onEntered:j,onEntering:D,onExit:P,onExited:L,onExiting:A,appear:!0,in:s,timeout:g},x),(function(e,n){return t.cloneElement(o,(0,Fs.A)({ref:_,style:(0,Fs.A)({visibility:"exited"!==e||s?void 0:"hidden"},h,o.props.style)},n))}))}));const JC=XC;var eS={left:"right",right:"left",top:"down",bottom:"up"};var tS={enter:lh.p0.enteringScreen,exit:lh.p0.leavingScreen},nS=t.forwardRef((function(e,n){var r=e.anchor,i=void 0===r?"left":r,a=e.BackdropProps,s=e.children,l=e.classes,u=e.className,c=e.elevation,d=void 0===c?16:c,p=e.ModalProps,f=(p=void 0===p?{}:p).BackdropProps,h=(0,Is.A)(p,["BackdropProps"]),m=e.onClose,g=e.open,v=void 0!==g&&g,y=e.PaperProps,x=void 0===y?{}:y,b=e.SlideProps,k=e.TransitionComponent,w=void 0===k?JC:k,E=e.transitionDuration,_=void 0===E?tS:E,C=e.variant,S=void 0===C?"temporary":C,D=(0,Is.A)(e,["anchor","BackdropProps","children","classes","className","elevation","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"]),j=ol(),A=t.useRef(!1);t.useEffect((function(){A.current=!0}),[]);var P=function(e,t){return"rtl"===e.direction&&function(e){return-1!==["left","right"].indexOf(e)}(t)?eS[t]:t}(j,i),L=t.createElement(xc,(0,Fs.A)({elevation:"temporary"===S?d:0,square:!0},x,{className:(0,o.A)(l.paper,l["paperAnchor".concat((0,Hs.A)(P))],x.className,"temporary"!==S&&l["paperAnchorDocked".concat((0,Hs.A)(P))])}),s);if("permanent"===S)return t.createElement("div",(0,Fs.A)({className:(0,o.A)(l.root,l.docked,u),ref:n},D),L);var M=t.createElement(w,(0,Fs.A)({in:v,direction:eS[P],timeout:_,appear:A.current},b),L);return"persistent"===S?t.createElement("div",(0,Fs.A)({className:(0,o.A)(l.root,l.docked,u),ref:n},D),M):t.createElement(vc,(0,Fs.A)({BackdropProps:(0,Fs.A)({},a,f,{transitionDuration:_}),BackdropComponent:ZC,className:(0,o.A)(l.root,l.modal,u),open:v,onClose:m,ref:n},D,h),M)}));const rS=(0,$s.A)((function(e){return{root:{},docked:{flex:"0 0 auto"},paper:{overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:e.zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},paperAnchorLeft:{left:0,right:"auto"},paperAnchorRight:{left:"auto",right:0},paperAnchorTop:{top:0,left:0,bottom:"auto",right:0,height:"auto",maxHeight:"100%"},paperAnchorBottom:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},paperAnchorDockedLeft:{borderRight:"1px solid ".concat(e.palette.divider)},paperAnchorDockedTop:{borderBottom:"1px solid ".concat(e.palette.divider)},paperAnchorDockedRight:{borderLeft:"1px solid ".concat(e.palette.divider)},paperAnchorDockedBottom:{borderTop:"1px solid ".concat(e.palette.divider)},modal:{}}}),{name:"MuiDrawer",flip:!1})(nS);var oS=t.forwardRef((function(e,n){var r=e.children,i=e.classes,a=e.className,s=e.color,l=void 0===s?"default":s,u=e.component,c=void 0===u?"button":u,d=e.disabled,p=void 0!==d&&d,f=e.disableElevation,h=void 0!==f&&f,m=e.disableFocusRipple,g=void 0!==m&&m,v=e.endIcon,y=e.focusVisibleClassName,x=e.fullWidth,b=void 0!==x&&x,k=e.size,w=void 0===k?"medium":k,E=e.startIcon,_=e.type,C=void 0===_?"button":_,S=e.variant,D=void 0===S?"text":S,j=(0,Is.A)(e,["children","classes","className","color","component","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"]),A=E&&t.createElement("span",{className:(0,o.A)(i.startIcon,i["iconSize".concat((0,Hs.A)(w))])},E),P=v&&t.createElement("span",{className:(0,o.A)(i.endIcon,i["iconSize".concat((0,Hs.A)(w))])},v);return t.createElement(fE,(0,Fs.A)({className:(0,o.A)(i.root,i[D],a,"inherit"===l?i.colorInherit:"default"!==l&&i["".concat(D).concat((0,Hs.A)(l))],"medium"!==w&&[i["".concat(D,"Size").concat((0,Hs.A)(w))],i["size".concat((0,Hs.A)(w))]],h&&i.disableElevation,p&&i.disabled,b&&i.fullWidth),component:c,disabled:p,focusRipple:!g,focusVisibleClassName:(0,o.A)(i.focusVisible,y),ref:n,type:C},j),t.createElement("span",{className:i.label},A,r,P))}));const iS=(0,$s.A)((function(e){return{root:(0,Fs.A)({},e.typography.button,{boxSizing:"border-box",minWidth:64,padding:"6px 16px",borderRadius:e.shape.borderRadius,color:e.palette.text.primary,transition:e.transitions.create(["background-color","box-shadow","border"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none",backgroundColor:(0,zs.X4)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}},"&$disabled":{color:e.palette.action.disabled}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},text:{padding:"6px 8px"},textPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:(0,zs.X4)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:(0,zs.X4)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlined:{padding:"5px 15px",border:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"&$disabled":{border:"1px solid ".concat(e.palette.action.disabledBackground)}},outlinedPrimary:{color:e.palette.primary.main,border:"1px solid ".concat((0,zs.X4)(e.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.primary.main),backgroundColor:(0,zs.X4)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat((0,zs.X4)(e.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.secondary.main),backgroundColor:(0,zs.X4)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{border:"1px solid ".concat(e.palette.action.disabled)}},contained:{color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],boxShadow:e.shadows[2],"&:hover":{backgroundColor:e.palette.grey.A100,boxShadow:e.shadows[4],"@media (hover: none)":{boxShadow:e.shadows[2],backgroundColor:e.palette.grey[300]},"&$disabled":{backgroundColor:e.palette.action.disabledBackground}},"&$focusVisible":{boxShadow:e.shadows[6]},"&:active":{boxShadow:e.shadows[8]},"&$disabled":{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground}},containedPrimary:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark,"@media (hover: none)":{backgroundColor:e.palette.primary.main}}},containedSecondary:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,"&:hover":{backgroundColor:e.palette.secondary.dark,"@media (hover: none)":{backgroundColor:e.palette.secondary.main}}},disableElevation:{boxShadow:"none","&:hover":{boxShadow:"none"},"&$focusVisible":{boxShadow:"none"},"&:active":{boxShadow:"none"},"&$disabled":{boxShadow:"none"}},focusVisible:{},disabled:{},colorInherit:{color:"inherit",borderColor:"currentColor"},textSizeSmall:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},textSizeLarge:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},outlinedSizeSmall:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},outlinedSizeLarge:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},containedSizeSmall:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},containedSizeLarge:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},sizeSmall:{},sizeLarge:{},fullWidth:{width:"100%"},startIcon:{display:"inherit",marginRight:8,marginLeft:-4,"&$iconSizeSmall":{marginLeft:-2}},endIcon:{display:"inherit",marginRight:-4,marginLeft:8,"&$iconSizeSmall":{marginRight:-2}},iconSizeSmall:{"& > *:first-child":{fontSize:18}},iconSizeMedium:{"& > *:first-child":{fontSize:20}},iconSizeLarge:{"& > *:first-child":{fontSize:22}}}}),{name:"MuiButton"})(oS);const aS=e=>{const{data:n,loading:r}=function(e,n){const[r,o]=(0,t.useState)(null),[i,a]=(0,t.useState)(!0),[s,l]=(0,t.useState)(!1);return(0,t.useEffect)((()=>{let t=!1;return async function(){a(!0);try{const n=await Ha.get(e);t||(l(!1),o(n.data))}catch(ce){t||(l(!0),O.error(n,{position:O.POSITION.TOP_RIGHT}))}finally{t||a(!1)}}(),()=>{t=!0}}),[e,n]),{data:r,loading:i,error:s}}(`/public/v1/page/${e.currentPage.ID}/html`,"Could not load page, try again.");return(0,t.useEffect)((()=>{e.handlePageHTMLLoaded&&e.handlePageHTMLLoaded(n)}),[n]),r?(0,Cs.jsx)("div",{className:bs`
          display: flex;
          justify-content: center;
          margin-top: 24px;
        `,children:(0,Cs.jsx)(xf,{})}):(0,Cs.jsx)("div",{dangerouslySetInnerHTML:{__html:n.HTMLContent}})};var sS={enter:lh.p0.enteringScreen,exit:lh.p0.leavingScreen},lS=t.forwardRef((function(e,n){var r=e.BackdropProps,i=e.children,a=e.classes,s=e.className,l=e.disableBackdropClick,u=void 0!==l&&l,c=e.disableEscapeKeyDown,d=void 0!==c&&c,p=e.fullScreen,f=void 0!==p&&p,h=e.fullWidth,m=void 0!==h&&h,g=e.maxWidth,v=void 0===g?"sm":g,y=e.onBackdropClick,x=e.onClose,b=e.onEnter,k=e.onEntered,w=e.onEntering,E=e.onEscapeKeyDown,_=e.onExit,C=e.onExited,S=e.onExiting,D=e.open,j=e.PaperComponent,A=void 0===j?xc:j,P=e.PaperProps,L=void 0===P?{}:P,M=e.scroll,N=void 0===M?"paper":M,O=e.TransitionComponent,T=void 0===O?YC:O,F=e.transitionDuration,R=void 0===F?sS:F,I=e.TransitionProps,B=e["aria-describedby"],W=e["aria-labelledby"],z=(0,Is.A)(e,["BackdropProps","children","classes","className","disableBackdropClick","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","onEnter","onEntered","onEntering","onEscapeKeyDown","onExit","onExited","onExiting","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps","aria-describedby","aria-labelledby"]),$=t.useRef();return t.createElement(vc,(0,Fs.A)({className:(0,o.A)(a.root,s),BackdropComponent:ZC,BackdropProps:(0,Fs.A)({transitionDuration:R},r),closeAfterTransition:!0},u?{disableBackdropClick:u}:{},{disableEscapeKeyDown:d,onEscapeKeyDown:E,onClose:x,open:D,ref:n},z),t.createElement(T,(0,Fs.A)({appear:!0,in:D,timeout:R,onEnter:b,onEntering:w,onEntered:k,onExit:_,onExiting:S,onExited:C,role:"none presentation"},I),t.createElement("div",{className:(0,o.A)(a.container,a["scroll".concat((0,Hs.A)(N))]),onMouseUp:function(e){e.target===e.currentTarget&&e.target===$.current&&($.current=null,y&&y(e),!u&&x&&x(e,"backdropClick"))},onMouseDown:function(e){$.current=e.target}},t.createElement(A,(0,Fs.A)({elevation:24,role:"dialog","aria-describedby":B,"aria-labelledby":W},L,{className:(0,o.A)(a.paper,a["paperScroll".concat((0,Hs.A)(N))],a["paperWidth".concat((0,Hs.A)(String(v)))],L.className,f&&a.paperFullScreen,m&&a.paperFullWidth)}),i))))}));const uS=(0,$s.A)((function(e){return{root:{"@media print":{position:"absolute !important"}},scrollPaper:{display:"flex",justifyContent:"center",alignItems:"center"},scrollBody:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}},container:{height:"100%","@media print":{height:"auto"},outline:0},paper:{margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},paperScrollPaper:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},paperScrollBody:{display:"inline-block",verticalAlign:"middle",textAlign:"left"},paperWidthFalse:{maxWidth:"calc(100% - 64px)"},paperWidthXs:{maxWidth:Math.max(e.breakpoints.values.xs,444),"&$paperScrollBody":(0,Bs.A)({},e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64),{maxWidth:"calc(100% - 64px)"})},paperWidthSm:{maxWidth:e.breakpoints.values.sm,"&$paperScrollBody":(0,Bs.A)({},e.breakpoints.down(e.breakpoints.values.sm+64),{maxWidth:"calc(100% - 64px)"})},paperWidthMd:{maxWidth:e.breakpoints.values.md,"&$paperScrollBody":(0,Bs.A)({},e.breakpoints.down(e.breakpoints.values.md+64),{maxWidth:"calc(100% - 64px)"})},paperWidthLg:{maxWidth:e.breakpoints.values.lg,"&$paperScrollBody":(0,Bs.A)({},e.breakpoints.down(e.breakpoints.values.lg+64),{maxWidth:"calc(100% - 64px)"})},paperWidthXl:{maxWidth:e.breakpoints.values.xl,"&$paperScrollBody":(0,Bs.A)({},e.breakpoints.down(e.breakpoints.values.xl+64),{maxWidth:"calc(100% - 64px)"})},paperFullWidth:{width:"calc(100% - 64px)"},paperFullScreen:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,"&$paperScrollBody":{margin:0,maxWidth:"100%"}}}}),{name:"MuiDialog"})(lS);var cS=t.forwardRef((function(e,n){var r=e.disableSpacing,i=void 0!==r&&r,a=e.classes,s=e.className,l=(0,Is.A)(e,["disableSpacing","classes","className"]);return t.createElement("div",(0,Fs.A)({className:(0,o.A)(a.root,s,!i&&a.spacing),ref:n},l))}));const dS=(0,$s.A)({root:{display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},spacing:{"& > :not(:first-child)":{marginLeft:8}}},{name:"MuiDialogActions"})(cS);var pS=t.forwardRef((function(e,n){var r=e.classes,i=e.className,a=e.dividers,s=void 0!==a&&a,l=(0,Is.A)(e,["classes","className","dividers"]);return t.createElement("div",(0,Fs.A)({className:(0,o.A)(r.root,i,s&&r.dividers),ref:n},l))}));const fS=(0,$s.A)((function(e){return{root:{flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"8px 24px","&:first-child":{paddingTop:20}},dividers:{padding:"16px 24px",borderTop:"1px solid ".concat(e.palette.divider),borderBottom:"1px solid ".concat(e.palette.divider)}}}),{name:"MuiDialogContent"})(pS);var hS={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p"},mS=t.forwardRef((function(e,n){var r=e.align,i=void 0===r?"inherit":r,a=e.classes,s=e.className,l=e.color,u=void 0===l?"initial":l,c=e.component,d=e.display,p=void 0===d?"initial":d,f=e.gutterBottom,h=void 0!==f&&f,m=e.noWrap,g=void 0!==m&&m,v=e.paragraph,y=void 0!==v&&v,x=e.variant,b=void 0===x?"body1":x,k=e.variantMapping,w=void 0===k?hS:k,E=(0,Is.A)(e,["align","classes","className","color","component","display","gutterBottom","noWrap","paragraph","variant","variantMapping"]),_=c||(y?"p":w[b]||hS[b])||"span";return t.createElement(_,(0,Fs.A)({className:(0,o.A)(a.root,s,"inherit"!==b&&a[b],"initial"!==u&&a["color".concat((0,Hs.A)(u))],g&&a.noWrap,h&&a.gutterBottom,y&&a.paragraph,"inherit"!==i&&a["align".concat((0,Hs.A)(i))],"initial"!==p&&a["display".concat((0,Hs.A)(p))]),ref:n},E))}));const gS=(0,$s.A)((function(e){return{root:{margin:0},body2:e.typography.body2,body1:e.typography.body1,caption:e.typography.caption,button:e.typography.button,h1:e.typography.h1,h2:e.typography.h2,h3:e.typography.h3,h4:e.typography.h4,h5:e.typography.h5,h6:e.typography.h6,subtitle1:e.typography.subtitle1,subtitle2:e.typography.subtitle2,overline:e.typography.overline,srOnly:{position:"absolute",height:1,width:1,overflow:"hidden"},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right"},alignJustify:{textAlign:"justify"},noWrap:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},gutterBottom:{marginBottom:"0.35em"},paragraph:{marginBottom:16},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorTextPrimary:{color:e.palette.text.primary},colorTextSecondary:{color:e.palette.text.secondary},colorError:{color:e.palette.error.main},displayInline:{display:"inline"},displayBlock:{display:"block"}}}),{name:"MuiTypography"})(mS);var vS=t.forwardRef((function(e,n){return t.createElement(gS,(0,Fs.A)({component:"p",variant:"body1",color:"textSecondary",ref:n},e))}));const yS=(0,$s.A)({root:{marginBottom:12}},{name:"MuiDialogContentText"})(vS);var xS=t.forwardRef((function(e,n){var r=e.children,i=e.classes,a=e.className,s=e.disableTypography,l=void 0!==s&&s,u=(0,Is.A)(e,["children","classes","className","disableTypography"]);return t.createElement("div",(0,Fs.A)({className:(0,o.A)(i.root,a),ref:n},u),l?r:t.createElement(gS,{component:"h2",variant:"h6"},r))}));const bS=(0,$s.A)({root:{margin:0,padding:"16px 24px",flex:"0 0 auto"}},{name:"MuiDialogTitle"})(xS);var kS=n(1151),wS=n.n(kS);const ES=t.forwardRef((function(e,t){return(0,Cs.jsx)(JC,{direction:"up",ref:t,...e})}));function _S(e){(0,t.useEffect)((()=>{if(e.open)try{let t="correct"===e.answerState||"no-correct-answer"===e.answerState;Ha.post(`/public/v1/${e.courseId}/analytics/courseScore`,{QuestionID:e.questionId,CourseID:e.courseId,AnswerID:e.answerId,AnsweredCorrect:t})}catch(t){console.log("did not save question answer",t)}}),[e.open]);return(0,Cs.jsx)(Cs.Fragment,{children:(0,Cs.jsxs)(uS,{open:e.open,TransitionComponent:ES,maxWidth:"xs",onClose:()=>{e.setOpen(!1),e.nextPage()},"aria-labelledby":"responsive-dialog-title",children:[(0,Cs.jsx)(bS,{id:"responsive-dialog-title",children:"correct"===e.answerState?"You answered correctly!":"no-correct-answer"===e.answerState?"Thanks for selecting an answer!":"You answered incorrectly"}),(0,Cs.jsxs)(fS,{children:[(0,Cs.jsx)(wS(),{width:"500px",height:"200px",run:"correct"===e.answerState,opacity:.4}),(0,Cs.jsx)(yS,{children:e.description})]}),(0,Cs.jsx)(dS,{children:(0,Cs.jsx)(iS,{className:bs`
              width: 100% !important;
            `,onClick:()=>{e.setOpen(!1),e.nextPage()},variant:"contained",autoFocus:!0,size:"large",children:"Got it"})})]})})}var CS=function(e){return{isEnabled:function(t){return e.some((function(e){return!!t[e]}))}}},SS={measureLayout:CS(["layout","layoutId","drag"]),animation:CS(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:CS(["exit"]),drag:CS(["drag","dragControls"]),focus:CS(["whileFocus"]),hover:CS(["whileHover","onHoverStart","onHoverEnd"]),tap:CS(["whileTap","onTap","onTapStart","onTapCancel"]),pan:CS(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:CS(["whileInView","onViewportEnter","onViewportLeave"])};var DS=(0,t.createContext)({strict:!1}),jS=Object.keys(SS),AS=jS.length;var PS=(0,t.createContext)({transformPagePoint:function(e){return e},isStatic:!1}),LS=(0,t.createContext)({});var MS=(0,t.createContext)(null),NS="undefined"!==typeof window,OS=NS?t.useLayoutEffect:t.useEffect;function TS(e,n,r,o){var i=(0,t.useContext)(DS),a=(0,t.useContext)(LS).visualElement,s=(0,t.useContext)(MS),l=(0,t.useRef)(void 0);o||(o=i.renderer),!l.current&&o&&(l.current=o(e,{visualState:n,parent:a,props:r,presenceId:null===s||void 0===s?void 0:s.id,blockInitialAnimation:!1===(null===s||void 0===s?void 0:s.initial)}));var u=l.current;return OS((function(){null===u||void 0===u||u.syncRender()})),(0,t.useEffect)((function(){var e;null===(e=null===u||void 0===u?void 0:u.animationState)||void 0===e||e.animateChanges()})),OS((function(){return function(){return null===u||void 0===u?void 0:u.notifyUnmount()}}),[]),u}function FS(e){return"object"===typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function RS(e){return Array.isArray(e)}function IS(e){return"string"===typeof e||RS(e)}function BS(e,t,n,r,o){var i;return void 0===r&&(r={}),void 0===o&&(o={}),"function"===typeof t&&(t=t(null!==n&&void 0!==n?n:e.custom,r,o)),"string"===typeof t&&(t=null===(i=e.variants)||void 0===i?void 0:i[t]),"function"===typeof t&&(t=t(null!==n&&void 0!==n?n:e.custom,r,o)),t}function WS(e,t,n){var r=e.getProps();return BS(r,t,null!==n&&void 0!==n?n:r.custom,function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.get()})),t}(e),function(e){var t={};return e.forEachValue((function(e,n){return t[n]=e.getVelocity()})),t}(e))}function zS(e){var t;return"function"===typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||IS(e.initial)||IS(e.animate)||IS(e.whileHover)||IS(e.whileDrag)||IS(e.whileTap)||IS(e.whileFocus)||IS(e.exit)}function $S(e){return Boolean(zS(e)||e.variants)}function HS(e){var n=function(e,t){if(zS(e)){var n=e.initial,r=e.animate;return{initial:!1===n||IS(n)?n:void 0,animate:IS(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,t.useContext)(LS)),r=n.initial,o=n.animate;return(0,t.useMemo)((function(){return{initial:r,animate:o}}),[VS(r),VS(o)])}function VS(e){return Array.isArray(e)?e.join(" "):e}function US(e){var n=(0,t.useRef)(null);return null===n.current&&(n.current=e()),n.current}const qS=1/60*1e3,YS="undefined"!==typeof performance?()=>performance.now():()=>Date.now(),GS="undefined"!==typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout((()=>e(YS())),qS);let ZS=!0,KS=!1,QS=!1;const XS={delta:0,timestamp:0},JS=["read","update","preRender","render","postRender"],eD=JS.reduce(((e,t)=>(e[t]=function(e){let t=[],n=[],r=0,o=!1,i=!1;const a=new WeakSet,s={schedule:function(e){const i=arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&o,s=i?t:n;return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&a.add(e),-1===s.indexOf(e)&&(s.push(e),i&&o&&(r=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:l=>{if(o)i=!0;else{if(o=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let n=0;n<r;n++){const r=t[n];r(l),a.has(r)&&(s.schedule(r),e())}o=!1,i&&(i=!1,s.process(l))}}};return s}((()=>KS=!0)),e)),{}),tD=JS.reduce(((e,t)=>{const n=eD[t];return e[t]=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return KS||aD(),n.schedule(e,t,r)},e}),{}),nD=JS.reduce(((e,t)=>(e[t]=eD[t].cancel,e)),{}),rD=JS.reduce(((e,t)=>(e[t]=()=>eD[t].process(XS),e)),{}),oD=e=>eD[e].process(XS),iD=e=>{KS=!1,XS.delta=ZS?qS:Math.max(Math.min(e-XS.timestamp,40),1),XS.timestamp=e,QS=!0,JS.forEach(oD),QS=!1,KS&&(ZS=!1,GS(iD))},aD=()=>{KS=!0,ZS=!0,QS||GS(iD)},sD=()=>XS,lD=tD,uD=(e,t,n)=>-n*e+n*t+e;function cD(e,t){return t?e*(1e3/t):0}function dD(e,t){-1===e.indexOf(t)&&e.push(t)}function pD(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var fD=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return dD(this.subscriptions,e),function(){return pD(t.subscriptions,e)}},e.prototype.notify=function(e,t,n){var r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(var o=0;o<r;o++){var i=this.subscriptions[o];i&&i(e,t,n)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),hD=function(){function e(e){var t,n=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new fD,this.velocityUpdateSubscribers=new fD,this.renderSubscribers=new fD,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),n.prev=n.current,n.current=e;var r=sD(),o=r.delta,i=r.timestamp;n.lastUpdated!==i&&(n.timeDelta=o,n.lastUpdated=i,lD.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),t&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=function(){return lD.postRender(n.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==n.lastUpdated&&(n.prev=n.current,n.velocityUpdateSubscribers.notify(n.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t)))}return e.prototype.onChange=function(e){return this.updateSubscribers.add(e)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(e){return e(this.get()),this.renderSubscribers.add(e)},e.prototype.attach=function(e){this.passiveEffect=e},e.prototype.set=function(e,t){void 0===t&&(t=!0),t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?cD(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(e){var t=this;return this.stop(),new Promise((function(n){t.hasAnimated=!0,t.stopAnimation=e(n)})).then((function(){return t.clearAnimation()}))},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function mD(e){return new hD(e)}var gD=function(e){return Boolean(null!==e&&"object"===typeof e&&e.getVelocity)},vD=function(){},yD=function(){};const xD=(e,t,n)=>Math.min(Math.max(n,e),t),bD=.001,kD=.01,wD=10,ED=.05,_D=1;function CD(e){let t,n,{duration:r=800,bounce:o=.25,velocity:i=0,mass:a=1}=e;vD(r<=1e3*wD,"Spring duration must be 10 seconds or less");let s=1-o;s=xD(ED,_D,s),r=xD(kD,wD,r/1e3),s<1?(t=e=>{const t=e*s,n=t*r,o=t-i,a=DD(e,s),l=Math.exp(-n);return bD-o/a*l},n=e=>{const n=e*s*r,o=n*i+i,a=Math.pow(s,2)*Math.pow(e,2)*r,l=Math.exp(-n),u=DD(Math.pow(e,2),s);return(-t(e)+bD>0?-1:1)*((o-a)*l)/u}):(t=e=>Math.exp(-e*r)*((e-i)*r+1)-bD,n=e=>Math.exp(-e*r)*(r*r*(i-e)));const l=function(e,t,n){let r=n;for(let o=1;o<SD;o++)r-=e(r)/t(r);return r}(t,n,5/r);if(r*=1e3,isNaN(l))return{stiffness:100,damping:10,duration:r};{const e=Math.pow(l,2)*a;return{stiffness:e,damping:2*s*Math.sqrt(a*e),duration:r}}}const SD=12;function DD(e,t){return e*Math.sqrt(1-t*t)}const jD=["duration","bounce"],AD=["stiffness","damping","mass"];function PD(e,t){return t.some((t=>void 0!==e[t]))}function LD(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:o}=e,i=W(e,["from","to","restSpeed","restDelta"]);const a={done:!1,value:t};let{stiffness:s,damping:l,mass:u,velocity:c,duration:d,isResolvedFromDuration:p}=function(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!PD(e,AD)&&PD(e,jD)){const n=CD(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}(i),f=MD,h=MD;function m(){const e=c?-c/1e3:0,r=n-t,i=l/(2*Math.sqrt(s*u)),a=Math.sqrt(s/u)/1e3;if(void 0===o&&(o=Math.min(Math.abs(n-t)/100,.4)),i<1){const t=DD(a,i);f=o=>{const s=Math.exp(-i*a*o);return n-s*((e+i*a*r)/t*Math.sin(t*o)+r*Math.cos(t*o))},h=n=>{const o=Math.exp(-i*a*n);return i*a*o*(Math.sin(t*n)*(e+i*a*r)/t+r*Math.cos(t*n))-o*(Math.cos(t*n)*(e+i*a*r)-t*r*Math.sin(t*n))}}else if(1===i)f=t=>n-Math.exp(-a*t)*(r+(e+a*r)*t);else{const t=a*Math.sqrt(i*i-1);f=o=>{const s=Math.exp(-i*a*o),l=Math.min(t*o,300);return n-s*((e+i*a*r)*Math.sinh(l)+t*r*Math.cosh(l))/t}}}return m(),{next:e=>{const t=f(e);if(p)a.done=e>=d;else{const i=1e3*h(e),s=Math.abs(i)<=r,l=Math.abs(n-t)<=o;a.done=s&&l}return a.value=a.done?n:t,a},flipTarget:()=>{c=-c,[t,n]=[n,t],m()}}}LD.needsInterpolation=(e,t)=>"string"===typeof e||"string"===typeof t;const MD=e=>0,ND=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},OD=(e,t)=>n=>Math.max(Math.min(n,t),e),TD=e=>e%1?Number(e.toFixed(5)):e,FD=/(-)?([\d]*\.?[\d])+/g,RD=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,ID=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function BD(e){return"string"===typeof e}const WD={test:e=>"number"===typeof e,parse:parseFloat,transform:e=>e},zD=Object.assign(Object.assign({},WD),{transform:OD(0,1)}),$D=Object.assign(Object.assign({},WD),{default:1}),HD=(e,t)=>n=>Boolean(BD(n)&&ID.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),VD=(e,t,n)=>r=>{if(!BD(r))return r;const[o,i,a,s]=r.match(FD);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},UD=OD(0,255),qD=Object.assign(Object.assign({},WD),{transform:e=>Math.round(UD(e))}),YD={test:HD("rgb","red"),parse:VD("red","green","blue"),transform:e=>{let{red:t,green:n,blue:r,alpha:o=1}=e;return"rgba("+qD.transform(t)+", "+qD.transform(n)+", "+qD.transform(r)+", "+TD(zD.transform(o))+")"}};const GD={test:HD("#"),parse:function(e){let t="",n="",r="",o="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),o=e.substr(4,1),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:YD.transform},ZD=e=>({test:t=>BD(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),KD=ZD("deg"),QD=ZD("%"),XD=ZD("px"),JD=ZD("vh"),ej=ZD("vw"),tj=Object.assign(Object.assign({},QD),{parse:e=>QD.parse(e)/100,transform:e=>QD.transform(100*e)}),nj={test:HD("hsl","hue"),parse:VD("hue","saturation","lightness"),transform:e=>{let{hue:t,saturation:n,lightness:r,alpha:o=1}=e;return"hsla("+Math.round(t)+", "+QD.transform(TD(n))+", "+QD.transform(TD(r))+", "+TD(zD.transform(o))+")"}};function rj(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function oj(e){let{hue:t,saturation:n,lightness:r,alpha:o}=e;t/=360,n/=100,r/=100;let i=0,a=0,s=0;if(n){const e=r<.5?r*(1+n):r+n-r*n,o=2*r-e;i=rj(o,e,t+1/3),a=rj(o,e,t),s=rj(o,e,t-1/3)}else i=a=s=r;return{red:Math.round(255*i),green:Math.round(255*a),blue:Math.round(255*s),alpha:o}}const ij=(e,t,n)=>{const r=e*e,o=t*t;return Math.sqrt(Math.max(0,n*(o-r)+r))},aj=[GD,YD,nj],sj=e=>aj.find((t=>t.test(e))),lj=e=>`'${e}' is not an animatable color. Use the equivalent color code instead.`,uj=(e,t)=>{let n=sj(e),r=sj(t);yD(!!n,lj(e)),yD(!!r,lj(t));let o=n.parse(e),i=r.parse(t);n===nj&&(o=oj(o),n=YD),r===nj&&(i=oj(i),r=YD);const a=Object.assign({},o);return e=>{for(const t in a)"alpha"!==t&&(a[t]=ij(o[t],i[t],e));return a.alpha=uD(o.alpha,i.alpha,e),n.transform(a)}},cj={test:e=>YD.test(e)||GD.test(e)||nj.test(e),parse:e=>YD.test(e)?YD.parse(e):nj.test(e)?nj.parse(e):GD.parse(e),transform:e=>BD(e)?e:e.hasOwnProperty("red")?YD.transform(e):nj.transform(e)},dj="${c}",pj="${n}";function fj(e){"number"===typeof e&&(e=`${e}`);const t=[];let n=0;const r=e.match(RD);r&&(n=r.length,e=e.replace(RD,dj),t.push(...r.map(cj.parse)));const o=e.match(FD);return o&&(e=e.replace(FD,pj),t.push(...o.map(WD.parse))),{values:t,numColors:n,tokenised:e}}function hj(e){return fj(e).values}function mj(e){const{values:t,numColors:n,tokenised:r}=fj(e),o=t.length;return e=>{let t=r;for(let r=0;r<o;r++)t=t.replace(r<n?dj:pj,r<n?cj.transform(e[r]):TD(e[r]));return t}}const gj=e=>"number"===typeof e?0:e;const vj={test:function(e){var t,n,r,o;return isNaN(e)&&BD(e)&&(null!==(n=null===(t=e.match(FD))||void 0===t?void 0:t.length)&&void 0!==n?n:0)+(null!==(o=null===(r=e.match(RD))||void 0===r?void 0:r.length)&&void 0!==o?o:0)>0},parse:hj,createTransformer:mj,getAnimatableNone:function(e){const t=hj(e);return mj(e)(t.map(gj))}},yj=e=>"number"===typeof e,xj=(e,t)=>n=>t(e(n)),bj=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(xj)};function kj(e,t){return yj(e)?n=>uD(e,t,n):cj.test(e)?uj(e,t):Cj(e,t)}const wj=(e,t)=>{const n=[...e],r=n.length,o=e.map(((e,n)=>kj(e,t[n])));return e=>{for(let t=0;t<r;t++)n[t]=o[t](e);return n}},Ej=(e,t)=>{const n=Object.assign(Object.assign({},e),t),r={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=kj(e[o],t[o]));return e=>{for(const t in r)n[t]=r[t](e);return n}};function _j(e){const t=vj.parse(e),n=t.length;let r=0,o=0,i=0;for(let a=0;a<n;a++)r||"number"===typeof t[a]?r++:void 0!==t[a].hue?i++:o++;return{parsed:t,numNumbers:r,numRGB:o,numHSL:i}}const Cj=(e,t)=>{const n=vj.createTransformer(t),r=_j(e),o=_j(t);return r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&r.numNumbers>=o.numNumbers?bj(wj(r.parsed,o.parsed),n):(vD(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),n=>`${n>0?t:e}`)},Sj=(e,t)=>n=>uD(e,t,n);function Dj(e,t,n){const r=[],o=n||function(e){return"number"===typeof e?Sj:"string"===typeof e?cj.test(e)?uj:Cj:Array.isArray(e)?wj:"object"===typeof e?Ej:void 0}(e[0]),i=e.length-1;for(let a=0;a<i;a++){let n=o(e[a],e[a+1]);if(t){const e=Array.isArray(t)?t[a]:t;n=bj(e,n)}r.push(n)}return r}function jj(e,t){let{clamp:n=!0,ease:r,mixer:o}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=e.length;yD(i===t.length,"Both input and output ranges must be the same length"),yD(!r||!Array.isArray(r)||r.length===i-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),e[0]>e[i-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const a=Dj(t,r,o),s=2===i?function(e,t){let[n,r]=e,[o]=t;return e=>o(ND(n,r,e))}(e,a):function(e,t){const n=e.length,r=n-1;return o=>{let i=0,a=!1;if(o<=e[0]?a=!0:o>=e[r]&&(i=r-1,a=!0),!a){let t=1;for(;t<n&&!(e[t]>o||t===r);t++);i=t-1}const s=ND(e[i],e[i+1],o);return t[i](s)}}(e,a);return n?t=>s(xD(e[0],e[i-1],t)):s}const Aj=e=>t=>1-e(1-t),Pj=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Lj=e=>t=>t*t*((e+1)*t-e),Mj=4/11,Nj=8/11,Oj=e=>e,Tj=(Fj=2,e=>Math.pow(e,Fj));var Fj;const Rj=Aj(Tj),Ij=Pj(Tj),Bj=e=>1-Math.sin(Math.acos(e)),Wj=Aj(Bj),zj=Pj(Wj),$j=Lj(1.525),Hj=Aj($j),Vj=Pj($j),Uj=(e=>{const t=Lj(e);return e=>(e*=2)<1?.5*t(e):.5*(2-Math.pow(2,-10*(e-1)))})(1.525),qj=4356/361,Yj=35442/1805,Gj=16061/1805,Zj=e=>{if(1===e||0===e)return e;const t=e*e;return e<Mj?7.5625*t:e<Nj?9.075*t-9.9*e+3.4:e<.9?qj*t-Yj*e+Gj:10.8*e*e-20.52*e+10.72},Kj=Aj(Zj);function Qj(e,t){return e.map((()=>t||Ij)).splice(0,e.length-1)}function Xj(e){let{from:t=0,to:n=1,ease:r,offset:o,duration:i=300}=e;const a={done:!1,value:t},s=Array.isArray(n)?n:[t,n],l=function(e,t){return e.map((e=>e*t))}(o&&o.length===s.length?o:function(e){const t=e.length;return e.map(((e,n)=>0!==n?n/(t-1):0))}(s),i);function u(){return jj(l,s,{ease:Array.isArray(r)?r:Qj(s,r)})}let c=u();return{next:e=>(a.value=c(e),a.done=e>=i,a),flipTarget:()=>{s.reverse(),c=u()}}}const Jj={keyframes:Xj,spring:LD,decay:function(e){let{velocity:t=0,from:n=0,power:r=.8,timeConstant:o=350,restDelta:i=.5,modifyTarget:a}=e;const s={done:!1,value:n};let l=r*t;const u=n+l,c=void 0===a?u:a(u);return c!==u&&(l=c-n),{next:e=>{const t=-l*Math.exp(-e/o);return s.done=!(t>i||t<-i),s.value=s.done?c:c+t,s},flipTarget:()=>{}}}};function eA(e,t){return e-t-(arguments.length>2&&void 0!==arguments[2]?arguments[2]:0)}const tA=e=>{const t=t=>{let{delta:n}=t;return e(n)};return{start:()=>lD.update(t,!0),stop:()=>nD.update(t)}};function nA(e){var t,n,{from:r,autoplay:o=!0,driver:i=tA,elapsed:a=0,repeat:s=0,repeatType:l="loop",repeatDelay:u=0,onPlay:c,onStop:d,onComplete:p,onRepeat:f,onUpdate:h}=e,m=W(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let g,v,y,{to:x}=m,b=0,k=m.duration,w=!1,E=!0;const _=function(e){if(Array.isArray(e.to))return Xj;if(Jj[e.type])return Jj[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Xj:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?LD:Xj}(m);(null===(n=(t=_).needsInterpolation)||void 0===n?void 0:n.call(t,r,x))&&(y=jj([0,100],[r,x],{clamp:!1}),r=0,x=100);const C=_(Object.assign(Object.assign({},m),{from:r,to:x}));function S(){b++,"reverse"===l?(E=b%2===0,a=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?t-(e-t)+n:eA(t+-e,t,n)}(a,k,u,E)):(a=eA(a,k,u),"mirror"===l&&C.flipTarget()),w=!1,f&&f()}function D(e){if(E||(e=-e),a+=e,!w){const e=C.next(Math.max(0,a));v=e.value,y&&(v=y(v)),w=E?e.done:a<=0}null===h||void 0===h||h(v),w&&(0===b&&(null!==k&&void 0!==k||(k=a)),b<s?function(e,t,n,r){return r?e>=t+n:e<=-n}(a,k,u,E)&&S():(g.stop(),p&&p()))}return o&&(null===c||void 0===c||c(),g=i(D),g.start()),{stop:()=>{null===d||void 0===d||d(),g.stop()}}}var rA=function(e){return 1e3*e};const oA=(e,t)=>1-3*t+3*e,iA=(e,t)=>3*t-6*e,aA=e=>3*e,sA=(e,t,n)=>((oA(t,n)*e+iA(t,n))*e+aA(t))*e,lA=(e,t,n)=>3*oA(t,n)*e*e+2*iA(t,n)*e+aA(t),uA=1e-7,cA=10;const dA=8;const pA=.1;function fA(e,t,n,r){if(e===t&&n===r)return Oj;const o=new Float32Array(11);for(let a=0;a<11;++a)o[a]=sA(a*pA,e,n);function i(t){let r=0,i=1;for(;10!==i&&o[i]<=t;++i)r+=pA;--i;const a=r+(t-o[i])/(o[i+1]-o[i])*pA,s=lA(a,e,n);return s>=.001?function(e,t,n,r){for(let o=0;o<dA;++o){const o=lA(t,n,r);if(0===o)return t;t-=(sA(t,n,r)-e)/o}return t}(t,a,e,n):0===s?a:function(e,t,n,r,o){let i,a,s=0;do{a=t+(n-t)/2,i=sA(a,r,o)-e,i>0?n=a:t=a}while(Math.abs(i)>uA&&++s<cA);return a}(t,r,r+pA,e,n)}return e=>0===e||1===e?e:sA(i(e),t,r)}var hA={linear:Oj,easeIn:Tj,easeInOut:Ij,easeOut:Rj,circIn:Bj,circInOut:zj,circOut:Wj,backIn:$j,backInOut:Vj,backOut:Hj,anticipate:Uj,bounceIn:Kj,bounceInOut:e=>e<.5?.5*(1-Zj(1-2*e)):.5*Zj(2*e-1)+.5,bounceOut:Zj},mA=function(e){if(Array.isArray(e)){yD(4===e.length,"Cubic bezier arrays must contain four numerical values.");var t=$(e,4);return fA(t[0],t[1],t[2],t[3])}return"string"===typeof e?(yD(void 0!==hA[e],"Invalid easing type '".concat(e,"'")),hA[e]):e},gA=function(e){return Array.isArray(e)&&"number"!==typeof e[0]},vA=function(e,t){return"zIndex"!==e&&(!("number"!==typeof t&&!Array.isArray(t))||!("string"!==typeof t||!vj.test(t)||t.startsWith("url(")))},yA=function(e){return Array.isArray(e)},xA=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},bA=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}},kA=function(){return{type:"keyframes",ease:"linear",duration:.3}},wA=function(e){return{type:"keyframes",duration:.8,values:e}},EA={x:xA,y:xA,z:xA,rotate:xA,rotateX:xA,rotateY:xA,rotateZ:xA,scaleX:bA,scaleY:bA,scale:bA,opacity:kA,backgroundColor:kA,color:kA,default:bA},_A=function(e,t){var n;return n=yA(t)?wA:EA[e]||EA.default,B({to:t},n(t))};const CA=new Set(["brightness","contrast","saturate","opacity"]);function SA(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(FD)||[];if(!r)return e;const o=n.replace(r,"");let i=CA.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const DA=/([a-z-]*)\(.*?\)/g,jA=Object.assign(Object.assign({},vj),{getAnimatableNone:e=>{const t=e.match(DA);return t?t.map(SA).join(" "):e}});var AA=B(B({},WD),{transform:Math.round}),PA={borderWidth:XD,borderTopWidth:XD,borderRightWidth:XD,borderBottomWidth:XD,borderLeftWidth:XD,borderRadius:XD,radius:XD,borderTopLeftRadius:XD,borderTopRightRadius:XD,borderBottomRightRadius:XD,borderBottomLeftRadius:XD,width:XD,maxWidth:XD,height:XD,maxHeight:XD,size:XD,top:XD,right:XD,bottom:XD,left:XD,padding:XD,paddingTop:XD,paddingRight:XD,paddingBottom:XD,paddingLeft:XD,margin:XD,marginTop:XD,marginRight:XD,marginBottom:XD,marginLeft:XD,rotate:KD,rotateX:KD,rotateY:KD,rotateZ:KD,scale:$D,scaleX:$D,scaleY:$D,scaleZ:$D,skew:KD,skewX:KD,skewY:KD,distance:XD,translateX:XD,translateY:XD,translateZ:XD,x:XD,y:XD,z:XD,perspective:XD,transformPerspective:XD,opacity:zD,originX:tj,originY:tj,originZ:XD,zIndex:AA,fillOpacity:zD,strokeOpacity:zD,numOctaves:AA},LA=B(B({},PA),{color:cj,backgroundColor:cj,outlineColor:cj,fill:cj,stroke:cj,borderColor:cj,borderTopColor:cj,borderRightColor:cj,borderBottomColor:cj,borderLeftColor:cj,filter:jA,WebkitFilter:jA}),MA=function(e){return LA[e]};function NA(e,t){var n,r=MA(e);return r!==jA&&(r=vj),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,t)}var OA={current:!1},TA=function(e){return Boolean(e&&"object"===typeof e&&e.mix&&e.toValue)},FA=function(e){return yA(e)?e[e.length-1]||0:e};var RA=!1;function IA(e,t,n){var r;return Array.isArray(t.to)&&(null!==(r=e.duration)&&void 0!==r||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=H([],$(e.to),!1),e.to[0]=e.from)}(t),function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=W(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=B(B({},e),_A(n,t.to))),B(B({},t),function(e){var t=e.ease,n=e.times,r=e.yoyo,o=e.flip,i=e.loop,a=W(e,["ease","times","yoyo","flip","loop"]),s=B({},a);return n&&(s.offset=n),a.duration&&(s.duration=rA(a.duration)),a.repeatDelay&&(s.repeatDelay=rA(a.repeatDelay)),t&&(s.ease=gA(t)?t.map(mA):mA(t)),"tween"===a.type&&(s.type="keyframes"),(r||i||o)&&(vD(!RA,"yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."),RA=!0,r?s.repeatType="reverse":i?s.repeatType="loop":o&&(s.repeatType="mirror"),s.repeat=i||r||o||a.repeat),"spring"!==a.type&&(s.type="keyframes"),s}(e))}function BA(e,t,n,r,o){var i,a=$A(r,e),s=null!==(i=a.from)&&void 0!==i?i:t.get(),l=vA(e,n);"none"===s&&l&&"string"===typeof n?s=NA(e,n):WA(s)&&"string"===typeof n?s=zA(n):!Array.isArray(n)&&WA(n)&&"string"===typeof s&&(n=zA(s));var u=vA(e,s);return vD(u===l,"You are trying to animate ".concat(e,' from "').concat(s,'" to "').concat(n,'". ').concat(s," is not an animatable value - to enable this animation set ").concat(s," to a value animatable to ").concat(n," via the `style` property.")),u&&l&&!1!==a.type?function(){var r={from:s,to:n,velocity:t.getVelocity(),onComplete:o,onUpdate:function(e){return t.set(e)}};return"inertia"===a.type||"decay"===a.type?function(e){let t,{from:n=0,velocity:r=0,min:o,max:i,power:a=.8,timeConstant:s=750,bounceStiffness:l=500,bounceDamping:u=10,restDelta:c=1,modifyTarget:d,driver:p,onUpdate:f,onComplete:h,onStop:m}=e;function g(e){return void 0!==o&&e<o||void 0!==i&&e>i}function v(e){return void 0===o?i:void 0===i||Math.abs(o-e)<Math.abs(i-e)?o:i}function y(e){null===t||void 0===t||t.stop(),t=nA(Object.assign(Object.assign({},e),{driver:p,onUpdate:t=>{var n;null===f||void 0===f||f(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:h,onStop:m}))}function x(e){y(Object.assign({type:"spring",stiffness:l,damping:u,restDelta:c},e))}if(g(n))x({from:n,velocity:r,to:v(n)});else{let e=a*r+n;"undefined"!==typeof d&&(e=d(e));const t=v(e),i=t===o?-1:1;let l,u;const p=e=>{l=u,u=e,r=cD(e-l,sD().delta),(1===i&&e>t||-1===i&&e<t)&&x({from:e,to:t,velocity:r})};y({type:"decay",from:n,velocity:r,timeConstant:s,power:a,restDelta:c,modifyTarget:d,onUpdate:g(e)?p:void 0})}return{stop:()=>null===t||void 0===t?void 0:t.stop()}}(B(B({},r),a)):nA(B(B({},IA(a,r,e)),{onUpdate:function(e){var t;r.onUpdate(e),null===(t=a.onUpdate)||void 0===t||t.call(a,e)},onComplete:function(){var e;r.onComplete(),null===(e=a.onComplete)||void 0===e||e.call(a)}}))}:function(){var e,r,i=FA(n);return t.set(i),o(),null===(e=null===a||void 0===a?void 0:a.onUpdate)||void 0===e||e.call(a,i),null===(r=null===a||void 0===a?void 0:a.onComplete)||void 0===r||r.call(a),{stop:function(){}}}}function WA(e){return 0===e||"string"===typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function zA(e){return"number"===typeof e?0:NA("",e)}function $A(e,t){return e[t]||e.default||e}function HA(e,t,n,r){return void 0===r&&(r={}),OA.current&&(r={type:!1}),t.start((function(o){var i,a,s=BA(e,t,n,r,o),l=function(e,t){var n,r;return null!==(r=null!==(n=($A(e,t)||{}).delay)&&void 0!==n?n:e.delay)&&void 0!==r?r:0}(r,e),u=function(){return a=s()};return l?i=setTimeout(u,rA(l)):u(),function(){clearTimeout(i),null===a||void 0===a||a.stop()}}))}var VA=["TopLeft","TopRight","BottomLeft","BottomRight"],UA=VA.length,qA=function(e){return"string"===typeof e?parseFloat(e):e},YA=function(e){return"number"===typeof e||XD.test(e)};function GA(e,t){var n;return null!==(n=e[t])&&void 0!==n?n:e.borderRadius}var ZA=QA(0,.5,Wj),KA=QA(.5,.95,Oj);function QA(e,t,n){return function(r){return r<e?0:r>t?1:n(ND(e,t,r))}}function XA(e,t){e.min=t.min,e.max=t.max}function JA(e,t){XA(e.x,t.x),XA(e.y,t.y)}function eP(e){return void 0===e||1===e}function tP(e){var t=e.scale,n=e.scaleX,r=e.scaleY;return!eP(t)||!eP(n)||!eP(r)}function nP(e){return tP(e)||rP(e.x)||rP(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function rP(e){return e&&"0%"!==e}function oP(e,t,n){return n+t*(e-n)}function iP(e,t,n,r,o){return void 0!==o&&(e=oP(e,o,r)),oP(e,n,r)+t}function aP(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),e.min=iP(e.min,t,n,r,o),e.max=iP(e.max,t,n,r,o)}function sP(e,t){var n=t.x,r=t.y;aP(e.x,n.translate,n.scale,n.originPoint),aP(e.y,r.translate,r.scale,r.originPoint)}function lP(e,t){e.min=e.min+t,e.max=e.max+t}function uP(e,t,n){var r=$(n,3),o=r[0],i=r[1],a=r[2],s=void 0!==t[a]?t[a]:.5,l=uD(e.min,e.max,s);aP(e,t[o],t[i],l,t.scale)}var cP=["x","scaleX","originX"],dP=["y","scaleY","originY"];function pP(e,t){uP(e.x,t,cP),uP(e.y,t,dP)}const fP=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),hP=e=>fP(e)&&e.hasOwnProperty("z"),mP=(e,t)=>Math.abs(e-t);function gP(e,t){if(yj(e)&&yj(t))return mP(e,t);if(fP(e)&&fP(t)){const n=mP(e.x,t.x),r=mP(e.y,t.y),o=hP(e)&&hP(t)?mP(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(o,2))}}function vP(e){return e.max-e.min}function yP(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=.01),gP(e,t)<n}function xP(e,t,n,r){void 0===r&&(r=.5),e.origin=r,e.originPoint=uD(t.min,t.max,e.origin),e.scale=vP(n)/vP(t),(yP(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=uD(n.min,n.max,e.origin)-e.originPoint,(yP(e.translate)||isNaN(e.translate))&&(e.translate=0)}function bP(e,t,n,r){xP(e.x,t.x,n.x,null===r||void 0===r?void 0:r.originX),xP(e.y,t.y,n.y,null===r||void 0===r?void 0:r.originY)}function kP(e,t,n){e.min=n.min+t.min,e.max=e.min+vP(t)}function wP(e,t,n){e.min=t.min-n.min,e.max=e.min+vP(t)}function EP(e,t,n){wP(e.x,t.x,n.x),wP(e.y,t.y,n.y)}function _P(e,t,n,r,o){return e=oP(e-=t,1/n,r),void 0!==o&&(e=oP(e,1/o,r)),e}function CP(e,t,n,r,o){var i=$(n,3),a=i[0],s=i[1],l=i[2];!function(e,t,n,r,o,i,a){if(void 0===t&&(t=0),void 0===n&&(n=1),void 0===r&&(r=.5),void 0===i&&(i=e),void 0===a&&(a=e),QD.test(t)&&(t=parseFloat(t),t=uD(a.min,a.max,t/100)-a.min),"number"===typeof t){var s=uD(i.min,i.max,r);e===i&&(s-=t),e.min=_P(e.min,t,n,s,o),e.max=_P(e.max,t,n,s,o)}}(e,t[a],t[s],t[l],t.scale,r,o)}var SP=["x","scaleX","originX"],DP=["y","scaleY","originY"];function jP(e,t,n,r){CP(e.x,t,SP,null===n||void 0===n?void 0:n.x,null===r||void 0===r?void 0:r.x),CP(e.y,t,DP,null===n||void 0===n?void 0:n.y,null===r||void 0===r?void 0:r.y)}var AP=function(){return{x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}},PP=function(){return{x:{min:0,max:0},y:{min:0,max:0}}};function LP(e){return 0===e.translate&&1===e.scale}function MP(e){return LP(e.x)&&LP(e.y)}function NP(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}var OP=function(){function e(){this.members=[]}return e.prototype.add=function(e){dD(this.members,e),e.scheduleRender()},e.prototype.remove=function(e){if(pD(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){var t=this.members[this.members.length-1];t&&this.promote(t)}},e.prototype.relegate=function(e){var t,n=this.members.findIndex((function(t){return e===t}));if(0===n)return!1;for(var r=n;r>=0;r--){var o=this.members[r];if(!1!==o.isPresent){t=o;break}}return!!t&&(this.promote(t),!0)},e.prototype.promote=function(e,t){var n,r=this.lead;e!==r&&(this.prevLead=r,this.lead=e,e.show(),r&&(r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues,e.snapshot.isShared=!0),(null===(n=e.root)||void 0===n?void 0:n.isUpdating)&&(e.isLayoutDirty=!0),!1===e.options.crossfade&&r.hide()))},e.prototype.exitAnimationComplete=function(){this.members.forEach((function(e){var t,n,r,o,i;null===(n=(t=e.options).onExitComplete)||void 0===n||n.call(t),null===(i=null===(r=e.resumingFrom)||void 0===r?void 0:(o=r.options).onExitComplete)||void 0===i||i.call(o)}))},e.prototype.scheduleRender=function(){this.members.forEach((function(e){e.instance&&e.scheduleRender(!1)}))},e.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},e}(),TP={};var FP="translate3d(0px, 0px, 0) scale(1, 1)";function RP(e,t,n){var r=e.x.translate/t.x,o=e.y.translate/t.y,i="translate3d(".concat(r,"px, ").concat(o,"px, 0) ");if(n){var a=n.rotate,s=n.rotateX,l=n.rotateY;a&&(i+="rotate(".concat(a,"deg) ")),s&&(i+="rotateX(".concat(s,"deg) ")),l&&(i+="rotateY(".concat(l,"deg) "))}return(i+="scale(".concat(e.x.scale,", ").concat(e.y.scale,")"))===FP?"none":i}function IP(e){return[e("x"),e("y")]}var BP=["","X","Y","Z"],WP=["transformPerspective","x","y","z"];function zP(e,t){return WP.indexOf(e)-WP.indexOf(t)}["translate","scale","rotate","skew"].forEach((function(e){return BP.forEach((function(t){return WP.push(e+t)}))}));var $P=new Set(WP);function HP(e){return $P.has(e)}var VP=new Set(["originX","originY","originZ"]);function UP(e){return VP.has(e)}var qP=function(e,t){return e.depth-t.depth},YP=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){dD(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){pD(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(qP),this.isDirty=!1,this.children.forEach(e)},e}();function GP(e){var t=gD(e)?e.get():e;return TA(t)?t.toValue():t}var ZP={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function KP(e){var t=e.attachResizeListener,n=e.defaultParent,r=e.measureScroll,o=e.resetTransform;return function(){function e(e,t,r){var o=this;void 0===t&&(t={}),void 0===r&&(r=null===n||void 0===n?void 0:n()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){o.isUpdating&&(o.isUpdating=!1,o.clearAllSnapshots())},this.updateProjection=function(){o.nodes.forEach(rL),o.nodes.forEach(oL)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=e,this.latestValues=t,this.root=r?r.root||r:this,this.path=r?H(H([],$(r.path),!1),[r],!1):[],this.parent=r,this.depth=r?r.depth+1:0,e&&this.root.registerPotentialNode(e,this);for(var i=0;i<this.path.length;i++)this.path[i].shouldResetTransform=!0;this.root===this&&(this.nodes=new YP)}return e.prototype.addEventListener=function(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new fD),this.eventHandlers.get(e).add(t)},e.prototype.notifyListeners=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=this.eventHandlers.get(e);null===r||void 0===r||r.notify.apply(r,H([],$(t),!1))},e.prototype.hasListeners=function(e){return this.eventHandlers.has(e)},e.prototype.registerPotentialNode=function(e,t){this.potentialNodes.set(e,t)},e.prototype.mount=function(e,n){var r,o=this;if(void 0===n&&(n=!1),!this.instance){this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;var i=this.options,a=i.layoutId,s=i.layout,l=i.visualElement;if(l&&!l.getInstance()&&l.mount(e),this.root.nodes.add(this),null===(r=this.parent)||void 0===r||r.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),n&&(s||a)&&(this.isLayoutDirty=!0),t){var u,c=function(){return o.root.updateBlockedByResize=!1};t(e,(function(){o.root.updateBlockedByResize=!0,clearTimeout(u),u=setTimeout(c,250),ZP.hasAnimatedSinceResize&&(ZP.hasAnimatedSinceResize=!1,o.nodes.forEach(nL))}))}a&&this.root.registerSharedNode(a,this),!1!==this.options.animate&&l&&(a||s)&&this.addEventListener("didUpdate",(function(e){var t,n,r,i,a,s=e.delta,u=e.hasLayoutChanged,c=e.hasRelativeTargetChanged,d=e.layout;if(o.isTreeAnimationBlocked())return o.target=void 0,void(o.relativeTarget=void 0);var p=null!==(n=null!==(t=o.options.transition)&&void 0!==t?t:l.getDefaultTransition())&&void 0!==n?n:cL,f=l.getProps().onLayoutAnimationComplete,h=!o.targetLayout||!NP(o.targetLayout,d)||c,m=!u&&c;(null===(r=o.resumeFrom)||void 0===r?void 0:r.instance)||m||u&&(h||!o.currentAnimation)?(o.resumeFrom&&(o.resumingFrom=o.resumeFrom,o.resumingFrom.resumingFrom=void 0),o.setAnimationOrigin(s,m),o.startAnimation(B(B({},$A(p,"layout")),{onComplete:f}))):o.isLead()&&(null===(a=(i=o.options).onExitComplete)||void 0===a||a.call(i)),o.targetLayout=d}))}},e.prototype.unmount=function(){var e,t;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(e=this.getStack())||void 0===e||e.remove(this),null===(t=this.parent)||void 0===t||t.children.delete(this),this.instance=void 0,nD.preRender(this.updateProjection)},e.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},e.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},e.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},e.prototype.isTreeAnimationBlocked=function(){var e;return this.isAnimationBlocked||(null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimationBlocked())||!1},e.prototype.startUpdate=function(){var e;this.isUpdateBlocked()||(this.isUpdating=!0,null===(e=this.nodes)||void 0===e||e.forEach(iL))},e.prototype.willUpdate=function(e){var t,n,r;if(void 0===e&&(e=!0),this.root.isUpdateBlocked())null===(n=(t=this.options).onExitComplete)||void 0===n||n.call(t);else if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var o=0;o<this.path.length;o++){var i=this.path[o];i.shouldResetTransform=!0,i.updateScroll()}var a=this.options,s=a.layoutId,l=a.layout;if(void 0!==s||l){var u=null===(r=this.options.visualElement)||void 0===r?void 0:r.getProps().transformTemplate;this.prevTransformTemplateValue=null===u||void 0===u?void 0:u(this.latestValues,""),this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}}},e.prototype.didUpdate=function(){if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(eL);this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(dL),this.potentialNodes.clear()),this.nodes.forEach(tL),this.nodes.forEach(QP),this.nodes.forEach(XP),this.clearAllSnapshots(),rD.update(),rD.preRender(),rD.render())},e.prototype.clearAllSnapshots=function(){this.nodes.forEach(JP),this.sharedNodes.forEach(aL)},e.prototype.scheduleUpdateProjection=function(){lD.preRender(this.updateProjection,!1,!0)},e.prototype.scheduleCheckAfterUnmount=function(){var e=this;lD.postRender((function(){e.isLayoutDirty?e.root.didUpdate():e.root.checkUpdateFailed()}))},e.prototype.updateSnapshot=function(){if(!this.snapshot&&this.instance){var e=this.measure(),t=this.removeTransform(this.removeElementScroll(e));fL(t),this.snapshot={measured:e,layout:t,latestValues:{}}}},e.prototype.updateLayout=function(){var e;if(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)){if(this.resumeFrom&&!this.resumeFrom.instance)for(var t=0;t<this.path.length;t++){this.path[t].updateScroll()}var n=this.measure();fL(n);var r=this.layout;this.layout={measured:n,actual:this.removeElementScroll(n)},this.layoutCorrected=PP(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),null===(e=this.options.visualElement)||void 0===e||e.notifyLayoutMeasure(this.layout.actual,null===r||void 0===r?void 0:r.actual)}},e.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.scroll=r(this.instance))},e.prototype.resetTransform=function(){var e;if(o){var t=this.isLayoutDirty||this.shouldResetTransform,n=this.projectionDelta&&!MP(this.projectionDelta),r=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate,i=null===r||void 0===r?void 0:r(this.latestValues,""),a=i!==this.prevTransformTemplateValue;t&&(n||nP(this.latestValues)||a)&&(o(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}},e.prototype.measure=function(){var e=this.options.visualElement;if(!e)return PP();var t=e.measureViewportBox(),n=this.root.scroll;return n&&(lP(t.x,n.x),lP(t.y,n.y)),t},e.prototype.removeElementScroll=function(e){var t=PP();JA(t,e);for(var n=0;n<this.path.length;n++){var r=this.path[n],o=r.scroll,i=r.options;r!==this.root&&o&&i.layoutScroll&&(lP(t.x,o.x),lP(t.y,o.y))}return t},e.prototype.applyTransform=function(e,t){void 0===t&&(t=!1);var n=PP();JA(n,e);for(var r=0;r<this.path.length;r++){var o=this.path[r];!t&&o.options.layoutScroll&&o.scroll&&o!==o.root&&pP(n,{x:-o.scroll.x,y:-o.scroll.y}),nP(o.latestValues)&&pP(n,o.latestValues)}return nP(this.latestValues)&&pP(n,this.latestValues),n},e.prototype.removeTransform=function(e){var t,n=PP();JA(n,e);for(var r=0;r<this.path.length;r++){var o=this.path[r];if(o.instance&&nP(o.latestValues)){tP(o.latestValues)&&o.updateSnapshot();var i=PP();JA(i,o.measure()),jP(n,o.latestValues,null===(t=o.snapshot)||void 0===t?void 0:t.layout,i)}}return nP(this.latestValues)&&jP(n,this.latestValues),n},e.prototype.setTargetDelta=function(e){this.targetDelta=e,this.root.scheduleUpdateProjection()},e.prototype.setOptions=function(e){var t;this.options=B(B(B({},this.options),e),{crossfade:null===(t=e.crossfade)||void 0===t||t})},e.prototype.clearMeasurements=function(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1},e.prototype.resolveTargetDelta=function(){var e,t,n,r,o=this.options,i=o.layout,a=o.layoutId;this.layout&&(i||a)&&(this.targetDelta||this.relativeTarget||(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget=PP(),this.relativeTargetOrigin=PP(),EP(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),JA(this.relativeTarget,this.relativeTargetOrigin))),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target=PP(),this.targetWithTransforms=PP()),this.relativeTarget&&this.relativeTargetOrigin&&(null===(e=this.relativeParent)||void 0===e?void 0:e.target)?(t=this.target,n=this.relativeTarget,r=this.relativeParent.target,kP(t.x,n.x,r.x),kP(t.y,n.y,r.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):JA(this.target,this.layout.actual),sP(this.target,this.targetDelta)):JA(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&Boolean(this.relativeParent.resumingFrom)===Boolean(this.resumingFrom)&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget=PP(),this.relativeTargetOrigin=PP(),EP(this.relativeTargetOrigin,this.target,this.relativeParent.target),JA(this.relativeTarget,this.relativeTargetOrigin)))))},e.prototype.getClosestProjectingParent=function(){if(this.parent&&!nP(this.parent.latestValues))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},e.prototype.calcProjection=function(){var e,t=this.options,n=t.layout,r=t.layoutId;if(this.isTreeAnimating=Boolean((null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),this.layout&&(n||r)){var o=this.getLead();JA(this.layoutCorrected,this.layout.actual),function(e,t,n,r){var o,i;void 0===r&&(r=!1);var a=n.length;if(a){var s,l;t.x=t.y=1;for(var u=0;u<a;u++)l=(s=n[u]).projectionDelta,"contents"!==(null===(i=null===(o=s.instance)||void 0===o?void 0:o.style)||void 0===i?void 0:i.display)&&(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&pP(e,{x:-s.scroll.x,y:-s.scroll.y}),l&&(t.x*=l.x.scale,t.y*=l.y.scale,sP(e,l)),r&&nP(s.latestValues)&&pP(e,s.latestValues))}}(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==o);var i=o.target;if(i){this.projectionDelta||(this.projectionDelta=AP(),this.projectionDeltaWithTransform=AP());var a=this.treeScale.x,s=this.treeScale.y,l=this.projectionTransform;bP(this.projectionDelta,this.layoutCorrected,i,this.latestValues),this.projectionTransform=RP(this.projectionDelta,this.treeScale),this.projectionTransform===l&&this.treeScale.x===a&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",i))}}},e.prototype.hide=function(){this.isVisible=!1},e.prototype.show=function(){this.isVisible=!0},e.prototype.scheduleRender=function(e){var t,n,r;void 0===e&&(e=!0),null===(n=(t=this.options).scheduleRender)||void 0===n||n.call(t),e&&(null===(r=this.getStack())||void 0===r||r.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},e.prototype.setAnimationOrigin=function(e,t){var n,r=this;void 0===t&&(t=!1);var o=this.snapshot,i=(null===o||void 0===o?void 0:o.latestValues)||{},a=B({},this.latestValues),s=AP();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!t;var l=PP(),u=null===o||void 0===o?void 0:o.isShared,c=((null===(n=this.getStack())||void 0===n?void 0:n.members.length)||0)<=1,d=Boolean(u&&!c&&!0===this.options.crossfade&&!this.path.some(uL));this.mixTargetDelta=function(t){var n,o=t/1e3;sL(s.x,e.x,o),sL(s.y,e.y,o),r.setTargetDelta(s),r.relativeTarget&&r.relativeTargetOrigin&&r.layout&&(null===(n=r.relativeParent)||void 0===n?void 0:n.layout)&&(EP(l,r.layout.actual,r.relativeParent.layout.actual),function(e,t,n,r){lL(e.x,t.x,n.x,r),lL(e.y,t.y,n.y,r)}(r.relativeTarget,r.relativeTargetOrigin,l,o)),u&&(r.animationValues=a,function(e,t,n,r,o,i){var a,s,l,u;o?(e.opacity=uD(0,null!==(a=n.opacity)&&void 0!==a?a:1,ZA(r)),e.opacityExit=uD(null!==(s=t.opacity)&&void 0!==s?s:1,0,KA(r))):i&&(e.opacity=uD(null!==(l=t.opacity)&&void 0!==l?l:1,null!==(u=n.opacity)&&void 0!==u?u:1,r));for(var c=0;c<UA;c++){var d="border".concat(VA[c],"Radius"),p=GA(t,d),f=GA(n,d);void 0===p&&void 0===f||(p||(p=0),f||(f=0),0===p||0===f||YA(p)===YA(f)?(e[d]=Math.max(uD(qA(p),qA(f),r),0),(QD.test(f)||QD.test(p))&&(e[d]+="%")):e[d]=f)}(t.rotate||n.rotate)&&(e.rotate=uD(t.rotate||0,n.rotate||0,r))}(a,i,r.latestValues,o,d,c)),r.root.scheduleUpdateProjection(),r.scheduleRender()},this.mixTargetDelta(0)},e.prototype.startAnimation=function(e){var t,n,r=this;null===(t=this.currentAnimation)||void 0===t||t.stop(),this.resumingFrom&&(null===(n=this.resumingFrom.currentAnimation)||void 0===n||n.stop()),this.pendingAnimation&&(nD.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=lD.update((function(){ZP.hasAnimatedSinceResize=!0,r.currentAnimation=function(e,t,n){void 0===n&&(n={});var r=gD(e)?e:mD(e);return HA("",r,t,n),{stop:function(){return r.stop()},isAnimating:function(){return r.isAnimating()}}}(0,1e3,B(B({},e),{onUpdate:function(t){var n;r.mixTargetDelta(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:function(){var t;null===(t=e.onComplete)||void 0===t||t.call(e),r.completeAnimation()}})),r.resumingFrom&&(r.resumingFrom.currentAnimation=r.currentAnimation),r.pendingAnimation=void 0}))},e.prototype.completeAnimation=function(){var e;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(e=this.getStack())||void 0===e||e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},e.prototype.finishAnimation=function(){var e;this.currentAnimation&&(null===(e=this.mixTargetDelta)||void 0===e||e.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()},e.prototype.applyTransformsToTarget=function(){var e=this.getLead(),t=e.targetWithTransforms,n=e.target,r=e.layout,o=e.latestValues;t&&n&&r&&(JA(t,n),pP(t,o),bP(this.projectionDeltaWithTransform,this.layoutCorrected,t,o))},e.prototype.registerSharedNode=function(e,t){var n,r,o;this.sharedNodes.has(e)||this.sharedNodes.set(e,new OP),this.sharedNodes.get(e).add(t),t.promote({transition:null===(n=t.options.initialPromotionConfig)||void 0===n?void 0:n.transition,preserveFollowOpacity:null===(o=null===(r=t.options.initialPromotionConfig)||void 0===r?void 0:r.shouldPreserveFollowOpacity)||void 0===o?void 0:o.call(r,t)})},e.prototype.isLead=function(){var e=this.getStack();return!e||e.lead===this},e.prototype.getLead=function(){var e;return this.options.layoutId&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this},e.prototype.getPrevLead=function(){var e;return this.options.layoutId?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0},e.prototype.getStack=function(){var e=this.options.layoutId;if(e)return this.root.sharedNodes.get(e)},e.prototype.promote=function(e){var t=void 0===e?{}:e,n=t.needsReset,r=t.transition,o=t.preserveFollowOpacity,i=this.getStack();i&&i.promote(this,o),n&&(this.projectionDelta=void 0,this.needsReset=!0),r&&this.setOptions({transition:r})},e.prototype.relegate=function(){var e=this.getStack();return!!e&&e.relegate(this)},e.prototype.resetRotation=function(){var e=this.options.visualElement;if(e){for(var t=!1,n={},r=0;r<BP.length;r++){var o="rotate"+BP[r];e.getStaticValue(o)&&(t=!0,n[o]=e.getStaticValue(o),e.setStaticValue(o,0))}if(t){for(var o in null===e||void 0===e||e.syncRender(),n)e.setStaticValue(o,n[o]);e.scheduleRender()}}},e.prototype.getProjectionStyles=function(e){var t,n,r,o,i,a;void 0===e&&(e={});var s={};if(!this.instance||this.isSVG)return s;if(!this.isVisible)return{visibility:"hidden"};s.visibility="";var l=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,s.opacity="",s.pointerEvents=GP(e.pointerEvents)||"",s.transform=l?l(this.latestValues,""):"none",s;var u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){var c={};return this.options.layoutId&&(c.opacity=null!==(n=this.latestValues.opacity)&&void 0!==n?n:1,c.pointerEvents=GP(e.pointerEvents)||""),this.hasProjected&&!nP(this.latestValues)&&(c.transform=l?l({},""):"none",this.hasProjected=!1),c}var d=u.animationValues||u.latestValues;this.applyTransformsToTarget(),s.transform=RP(this.projectionDeltaWithTransform,this.treeScale,d),l&&(s.transform=l(d,s.transform));var p=this.projectionDelta,f=p.x,h=p.y;for(var m in s.transformOrigin="".concat(100*f.origin,"% ").concat(100*h.origin,"% 0"),u.animationValues?s.opacity=u===this?null!==(o=null!==(r=d.opacity)&&void 0!==r?r:this.latestValues.opacity)&&void 0!==o?o:1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:s.opacity=u===this?null!==(i=d.opacity)&&void 0!==i?i:"":null!==(a=d.opacityExit)&&void 0!==a?a:0,TP)if(void 0!==d[m]){var g=TP[m],v=g.correct,y=g.applyTo,x=v(d[m],u);if(y)for(var b=y.length,k=0;k<b;k++)s[y[k]]=x;else s[m]=x}return this.options.layoutId&&(s.pointerEvents=u===this?GP(e.pointerEvents)||"":"none"),s},e.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0},e.prototype.resetTree=function(){this.root.nodes.forEach((function(e){var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(eL),this.root.sharedNodes.clear()},e}()}function QP(e){e.updateLayout()}function XP(e){var t,n,r,o,i=null!==(n=null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)&&void 0!==n?n:e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){var a=e.layout,s=a.actual,l=a.measured;"size"===e.options.animationType?IP((function(e){var t=i.isShared?i.measured[e]:i.layout[e],n=vP(t);t.min=s[e].min,t.max=t.min+n})):"position"===e.options.animationType&&IP((function(e){var t=i.isShared?i.measured[e]:i.layout[e],n=vP(s[e]);t.max=t.min+n}));var u=AP();bP(u,s,i.layout);var c=AP();i.isShared?bP(c,e.applyTransform(l,!0),i.measured):bP(c,s,i.layout);var d=!MP(u),p=!1;if(!e.resumeFrom&&(e.relativeParent=e.getClosestProjectingParent(),e.relativeParent&&!e.relativeParent.resumeFrom)){var f=e.relativeParent,h=f.snapshot,m=f.layout;if(h&&m){var g=PP();EP(g,i.layout,h.layout);var v=PP();EP(v,s,m.actual),NP(g,v)||(p=!0)}}e.notifyListeners("didUpdate",{layout:s,snapshot:i,delta:c,layoutDelta:u,hasLayoutChanged:d,hasRelativeTargetChanged:p})}else e.isLead()&&(null===(o=(r=e.options).onExitComplete)||void 0===o||o.call(r));e.options.transition=void 0}function JP(e){e.clearSnapshot()}function eL(e){e.clearMeasurements()}function tL(e){e.resetTransform()}function nL(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function rL(e){e.resolveTargetDelta()}function oL(e){e.calcProjection()}function iL(e){e.resetRotation()}function aL(e){e.removeLeadSnapshot()}function sL(e,t,n){e.translate=uD(t.translate,0,n),e.scale=uD(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function lL(e,t,n,r){e.min=uD(t.min,n.min,r),e.max=uD(t.max,n.max,r)}function uL(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}var cL={duration:.45,ease:[.4,0,.1,1]};function dL(e,t){for(var n=e.root,r=e.path.length-1;r>=0;r--)if(Boolean(e.path[r].instance)){n=e.path[r];break}var o=(n&&n!==e.root?n.instance:document).querySelector('[data-projection-id="'.concat(t,'"]'));o&&e.mount(o,!0)}function pL(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function fL(e){pL(e.x),pL(e.y)}var hL=1;var mL=(0,t.createContext)({}),gL=(0,t.createContext)({});var vL=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return I(t,e),t.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},t.prototype.componentDidUpdate=function(){},t.prototype.updateProps=function(){var e=this.props,t=e.visualElement,n=e.props;t&&t.setProps(n)},t.prototype.render=function(){return this.props.children},t}(t.Component);function yL(e){var n=e.preloadedFeatures,r=e.createVisualElement,o=e.projectionNodeConstructor,i=e.useRender,a=e.useVisualState,s=e.Component;return n&&function(e){for(var t in e)null!==e[t]&&("projectionNodeConstructor"===t?SS.projectionNodeConstructor=e[t]:SS[t].Component=e[t])}(n),(0,t.forwardRef)((function(e,n){var l=function(e){var n,r=e.layoutId,o=null===(n=(0,t.useContext)(mL))||void 0===n?void 0:n.id;return o&&void 0!==r?o+"-"+r:r}(e);e=B(B({},e),{layoutId:l});var u=(0,t.useContext)(PS),c=null,d=HS(e),p=u.isStatic?void 0:US((function(){if(ZP.hasEverUpdated)return hL++})),f=a(e,u.isStatic);return!u.isStatic&&NS&&(d.visualElement=TS(s,f,B(B({},u),e),r),function(e,n,r,o){var i,a=n.layoutId,s=n.layout,l=n.drag,u=n.dragConstraints,c=n.layoutScroll,d=(0,t.useContext)(gL);o&&r&&!(null===r||void 0===r?void 0:r.projection)&&(r.projection=new o(e,r.getLatestValues(),null===(i=r.parent)||void 0===i?void 0:i.projection),r.projection.setOptions({layoutId:a,layout:s,alwaysMeasureLayout:Boolean(l)||u&&FS(u),visualElement:r,scheduleRender:function(){return r.scheduleRender()},animationType:"string"===typeof s?s:"both",initialPromotionConfig:d,layoutScroll:c}))}(p,e,d.visualElement,o||SS.projectionNodeConstructor),c=function(e,n){var r=[];if((0,t.useContext)(DS),!n)return null;for(var o=0;o<AS;o++){var i=jS[o],a=SS[i],s=a.isEnabled,l=a.Component;s(e)&&l&&r.push(t.createElement(l,B({key:i},e,{visualElement:n})))}return r}(e,d.visualElement)),t.createElement(vL,{visualElement:d.visualElement,props:B(B({},u),e)},c,t.createElement(LS.Provider,{value:d},i(s,e,p,function(e,n,r){return(0,t.useCallback)((function(t){var o;t&&(null===(o=e.mount)||void 0===o||o.call(e,t)),n&&(t?n.mount(t):n.unmount()),r&&("function"===typeof r?r(t):FS(r)&&(r.current=t))}),[n])}(f,d.visualElement,n),f,u.isStatic,d.visualElement)))}))}function xL(e){function t(t,n){return void 0===n&&(n={}),yL(e(t,n))}if("undefined"===typeof Proxy)return t;var n=new Map;return new Proxy(t,{get:function(e,r){return n.has(r)||n.set(r,t(r)),n.get(r)}})}var bL=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function kL(e){return"string"===typeof e&&!e.includes("-")&&!!(bL.indexOf(e)>-1||/[A-Z]/.test(e))}function wL(e,t){var n=t.layout,r=t.layoutId;return HP(e)||UP(e)||(n||void 0!==r)&&(!!TP[e]||"opacity"===e)}var EL={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function _L(e){return e.startsWith("--")}var CL=function(e,t){return t&&"number"===typeof e?t.transform(e):e};function SL(e,t,n,r){var o,i=e.style,a=e.vars,s=e.transform,l=e.transformKeys,u=e.transformOrigin;l.length=0;var c=!1,d=!1,p=!0;for(var f in t){var h=t[f];if(_L(f))a[f]=h;else{var m=PA[f],g=CL(h,m);if(HP(f)){if(c=!0,s[f]=g,l.push(f),!p)continue;h!==(null!==(o=m.default)&&void 0!==o?o:0)&&(p=!1)}else UP(f)?(u[f]=g,d=!0):i[f]=g}}c?i.transform=function(e,t,n,r){var o=e.transform,i=e.transformKeys,a=t.enableHardwareAcceleration,s=void 0===a||a,l=t.allowTransformNone,u=void 0===l||l,c="";i.sort(zP);for(var d=!1,p=i.length,f=0;f<p;f++){var h=i[f];c+="".concat(EL[h]||h,"(").concat(o[h],") "),"z"===h&&(d=!0)}return!d&&s?c+="translateZ(0)":c=c.trim(),r?c=r(o,n?"":c):u&&n&&(c="none"),c}(e,n,p,r):r?i.transform=r({},""):!t.transform&&i.transform&&(i.transform="none"),d&&(i.transformOrigin=function(e){var t=e.originX,n=void 0===t?"50%":t,r=e.originY,o=void 0===r?"50%":r,i=e.originZ,a=void 0===i?0:i;return"".concat(n," ").concat(o," ").concat(a)}(u))}var DL=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function jL(e,t,n){for(var r in t)gD(t[r])||wL(r,n)||(e[r]=t[r])}function AL(e,n,r){var o={};return jL(o,e.style||{},e),Object.assign(o,function(e,n,r){var o=e.transformTemplate;return(0,t.useMemo)((function(){var e=DL();SL(e,n,{enableHardwareAcceleration:!r},o);var t=e.vars,i=e.style;return B(B({},t),i)}),[n])}(e,n,r)),e.transformValues&&(o=e.transformValues(o)),o}function PL(e,t,n){var r={},o=AL(e,t,n);return Boolean(e.drag)&&!1!==e.dragListener&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-".concat("x"===e.drag?"y":"x")),r.style=o,r}var LL=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function ML(e){return LL.has(e)}var NL,OL=function(e){return!ML(e)};try{(NL=require("@emotion/is-prop-valid").default)&&(OL=function(e){return e.startsWith("on")?!ML(e):NL(e)})}catch(iV){}function TL(e,t,n){return"string"===typeof e?e:XD.transform(t+n*e)}var FL={offset:"stroke-dashoffset",array:"stroke-dasharray"},RL={offset:"strokeDashoffset",array:"strokeDasharray"};function IL(e,t,n,r){var o=t.attrX,i=t.attrY,a=t.originX,s=t.originY,l=t.pathLength,u=t.pathSpacing,c=void 0===u?1:u,d=t.pathOffset,p=void 0===d?0:d;SL(e,W(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,r),e.attrs=e.style,e.style={};var f=e.attrs,h=e.style,m=e.dimensions;f.transform&&(m&&(h.transform=f.transform),delete f.transform),m&&(void 0!==a||void 0!==s||h.transform)&&(h.transformOrigin=function(e,t,n){var r=TL(t,e.x,e.width),o=TL(n,e.y,e.height);return"".concat(r," ").concat(o)}(m,void 0!==a?a:.5,void 0!==s?s:.5)),void 0!==o&&(f.x=o),void 0!==i&&(f.y=i),void 0!==l&&function(e,t,n,r,o){void 0===n&&(n=1),void 0===r&&(r=0),void 0===o&&(o=!0),e.pathLength=1;var i=o?FL:RL;e[i.offset]=XD.transform(-r);var a=XD.transform(t),s=XD.transform(n);e[i.array]="".concat(a," ").concat(s)}(f,l,c,p,!1)}var BL=function(){return B(B({},DL()),{attrs:{}})};function WL(e,n){var r=(0,t.useMemo)((function(){var t=BL();return IL(t,n,{enableHardwareAcceleration:!1},e.transformTemplate),B(B({},t.attrs),{style:B({},t.style)})}),[n]);if(e.style){var o={};jL(o,e.style,e),r.style=B(B({},o),r.style)}return r}function zL(e){void 0===e&&(e=!1);return function(n,r,o,i,a,s){var l=a.latestValues,u=(kL(n)?WL:PL)(r,l,s),c=function(e,t,n){var r={};for(var o in e)(OL(o)||!0===n&&ML(o)||!t&&!ML(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(r,"string"===typeof n,e),d=B(B(B({},c),u),{ref:i});return o&&(d["data-projection-id"]=o),(0,t.createElement)(n,d)}}var $L=/([a-z])([A-Z])/g,HL=function(e){return e.replace($L,"$1-$2").toLowerCase()};function VL(e,t,n,r){var o=t.style,i=t.vars;for(var a in Object.assign(e.style,o,r&&r.getProjectionStyles(n)),i)e.style.setProperty(a,i[a])}var UL=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function qL(e,t){for(var n in VL(e,t),t.attrs)e.setAttribute(UL.has(n)?n:HL(n),t.attrs[n])}function YL(e){var t=e.style,n={};for(var r in t)(gD(t[r])||wL(r,e))&&(n[r]=t[r]);return n}function GL(e){var t=YL(e);for(var n in e){if(gD(e[n]))t["x"===n||"y"===n?"attr"+n.toUpperCase():n]=e[n]}return t}function ZL(e){return"object"===typeof e&&"function"===typeof e.start}function KL(e,t,n,r){var o=e.scrapeMotionValuesFromProps,i=e.createRenderState,a=e.onMount,s={latestValues:XL(t,n,r,o),renderState:i()};return a&&(s.mount=function(e){return a(t,e,s)}),s}var QL=function(e){return function(n,r){var o=(0,t.useContext)(LS),i=(0,t.useContext)(MS);return r?KL(e,n,o,i):US((function(){return KL(e,n,o,i)}))}};function XL(e,t,n,r){var o={},i=!1===(null===n||void 0===n?void 0:n.initial),a=r(e);for(var s in a)o[s]=GP(a[s]);var l=e.initial,u=e.animate,c=zS(e),d=$S(e);t&&d&&!c&&!1!==e.inherit&&(null!==l&&void 0!==l||(l=t.initial),null!==u&&void 0!==u||(u=t.animate));var p=i||!1===l,f=p?u:l;f&&"boolean"!==typeof f&&!ZL(f)&&(Array.isArray(f)?f:[f]).forEach((function(t){var n=BS(e,t);if(n){var r=n.transitionEnd;n.transition;var i=W(n,["transitionEnd","transition"]);for(var a in i){var s=i[a];if(Array.isArray(s))s=s[p?s.length-1:0];null!==s&&(o[a]=s)}for(var a in r)o[a]=r[a]}}));return o}var JL,eM={useVisualState:QL({scrapeMotionValuesFromProps:GL,createRenderState:BL,onMount:function(e,t,n){var r=n.renderState,o=n.latestValues;try{r.dimensions="function"===typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(ce){r.dimensions={x:0,y:0,width:0,height:0}}IL(r,o,{enableHardwareAcceleration:!1},e.transformTemplate),qL(t,r)}})},tM={useVisualState:QL({scrapeMotionValuesFromProps:YL,createRenderState:DL})};function nM(e,t,n,r){return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n,r)}}function rM(e,n,r,o){(0,t.useEffect)((function(){var t=e.current;if(r&&t)return nM(t,n,r,o)}),[e,n,r,o])}function oM(e){return"undefined"!==typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function iM(e){return!!e.touches}!function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"}(JL||(JL={}));var aM={pageX:0,pageY:0};function sM(e,t){void 0===t&&(t="page");var n=e.touches[0]||e.changedTouches[0]||aM;return{x:n[t+"X"],y:n[t+"Y"]}}function lM(e,t){return void 0===t&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function uM(e,t){return void 0===t&&(t="page"),{point:iM(e)?sM(e,t):lM(e,t)}}var cM=function(e,t){void 0===t&&(t=!1);var n,r=function(t){return e(t,uM(t))};return t?(n=r,function(e){var t=e instanceof MouseEvent;(!t||t&&0===e.button)&&n(e)}):r},dM=function(){return NS&&null===window.onpointerdown},pM=function(){return NS&&null===window.ontouchstart},fM=function(){return NS&&null===window.onmousedown},hM={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},mM={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function gM(e){return dM()?e:pM()?mM[e]:fM()?hM[e]:e}function vM(e,t,n,r){return nM(e,gM(t),cM(n,"pointerdown"===t),r)}function yM(e,t,n,r){return rM(e,gM(t),n&&cM(n,"pointerdown"===t),r)}function xM(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var bM=xM("dragHorizontal"),kM=xM("dragVertical");function wM(e){var t=!1;if("y"===e)t=kM();else if("x"===e)t=bM();else{var n=bM(),r=kM();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}function EM(){var e=wM(!0);return!e||(e(),!1)}function _M(e,t,n){return function(r,o){var i;oM(r)&&!EM()&&(null===(i=e.animationState)||void 0===i||i.setActive(JL.Hover,t),null===n||void 0===n||n(r,o))}}var CM=function(e,t){return!!t&&(e===t||CM(e,t.parentElement))};function SM(e){return(0,t.useEffect)((function(){return function(){return e()}}),[])}var DM=new WeakMap,jM=new WeakMap,AM=function(e){var t;null===(t=DM.get(e.target))||void 0===t||t(e)},PM=function(e){e.forEach(AM)};function LM(e,t,n){var r=function(e){var t=e.root,n=W(e,["root"]),r=t||document;jM.has(r)||jM.set(r,{});var o=jM.get(r),i=JSON.stringify(n);return o[i]||(o[i]=new IntersectionObserver(PM,B({root:t},n))),o[i]}(t);return DM.set(e,n),r.observe(e),function(){DM.delete(e),r.unobserve(e)}}var MM={some:0,all:1};function NM(e,n,r,o){var i=o.root,a=o.margin,s=o.amount,l=void 0===s?"some":s,u=o.once;(0,t.useEffect)((function(){if(e){var t={root:null===i||void 0===i?void 0:i.current,rootMargin:a,threshold:"number"===typeof l?l:MM[l]};return LM(r.getInstance(),t,(function(e){var t,o=e.isIntersecting;if(n.isInView!==o&&(n.isInView=o,!u||o||!n.hasEnteredView)){o&&(n.hasEnteredView=!0),null===(t=r.animationState)||void 0===t||t.setActive(JL.InView,o);var i=r.getProps(),a=o?i.onViewportEnter:i.onViewportLeave;null===a||void 0===a||a(e)}}))}}),[e,i,a,l])}function OM(e,n,r){(0,t.useEffect)((function(){e&&requestAnimationFrame((function(){var e;n.hasEnteredView=!0;var t=r.getProps().onViewportEnter;null===t||void 0===t||t(null),null===(e=r.animationState)||void 0===e||e.setActive(JL.InView,!0)}))}),[e])}var TM=function(e){return function(t){return e(t),null}},FM={inView:TM((function(e){var n=e.visualElement,r=e.whileInView,o=e.onViewportEnter,i=e.onViewportLeave,a=e.viewport,s=void 0===a?{}:a,l=(0,t.useRef)({hasEnteredView:!1,isInView:!1}),u=Boolean(r||o||i);s.once&&l.current.hasEnteredView&&(u=!1),("undefined"===typeof IntersectionObserver?OM:NM)(u,l.current,n,s)})),tap:TM((function(e){var n=e.onTap,r=e.onTapStart,o=e.onTapCancel,i=e.whileTap,a=e.visualElement,s=n||r||o||i,l=(0,t.useRef)(!1),u=(0,t.useRef)(null);function c(){var e;null===(e=u.current)||void 0===e||e.call(u),u.current=null}function d(){var e;return c(),l.current=!1,null===(e=a.animationState)||void 0===e||e.setActive(JL.Tap,!1),!EM()}function p(e,t){d()&&(CM(a.getInstance(),e.target)?null===n||void 0===n||n(e,t):null===o||void 0===o||o(e,t))}function f(e,t){d()&&(null===o||void 0===o||o(e,t))}yM(a,"pointerdown",s?function(e,t){var n;c(),l.current||(l.current=!0,u.current=bj(vM(window,"pointerup",p),vM(window,"pointercancel",f)),null===(n=a.animationState)||void 0===n||n.setActive(JL.Tap,!0),null===r||void 0===r||r(e,t))}:void 0),SM(c)})),focus:TM((function(e){var t=e.whileFocus,n=e.visualElement;rM(n,"focus",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(JL.Focus,!0)}:void 0),rM(n,"blur",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(JL.Focus,!1)}:void 0)})),hover:TM((function(e){var t=e.onHoverStart,n=e.onHoverEnd,r=e.whileHover,o=e.visualElement;yM(o,"pointerenter",t||r?_M(o,!0,t):void 0),yM(o,"pointerleave",n||r?_M(o,!1,n):void 0)}))};function RM(){var e=(0,t.useContext)(MS);if(null===e)return[!0,null];var n=e.isPresent,r=e.onExitComplete,o=e.register,i=WM();(0,t.useEffect)((function(){return o(i)}),[]);return!n&&r?[!1,function(){return null===r||void 0===r?void 0:r(i)}]:[!0]}var IM=0,BM=function(){return IM++},WM=function(){return US(BM)};function zM(e,t){if(!Array.isArray(t))return!1;var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var $M=function(e){return/^\-?\d*\.?\d+$/.test(e)},HM=function(e){return/^0[^.\s]+$/.test(e)},VM=function(e){return function(t){return t.test(e)}},UM=[WD,XD,QD,KD,ej,JD,{test:function(e){return"auto"===e},parse:function(e){return e}}],qM=function(e){return UM.find(VM(e))},YM=H(H([],$(UM),!1),[cj,vj],!1),GM=function(e){return YM.find(VM(e))};function ZM(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,mD(n))}function KM(e,t){var n=WS(e,t),r=n?e.makeTargetAnimatable(n,!1):{},o=r.transitionEnd,i=void 0===o?{}:o;r.transition;var a=W(r,["transitionEnd","transition"]);for(var s in a=B(B({},a),i)){ZM(e,s,FA(a[s]))}}function QM(e,t){if(t)return(t[e]||t.default||t).from}function XM(e,t,n){var r;void 0===n&&(n={});var o=WS(e,t,n.custom),i=(o||{}).transition,a=void 0===i?e.getDefaultTransition()||{}:i;n.transitionOverride&&(a=n.transitionOverride);var s=o?function(){return JM(e,o,n)}:function(){return Promise.resolve()},l=(null===(r=e.variantChildren)||void 0===r?void 0:r.size)?function(r){void 0===r&&(r=0);var o=a.delayChildren,i=void 0===o?0:o,s=a.staggerChildren,l=a.staggerDirection;return function(e,t,n,r,o,i){void 0===n&&(n=0);void 0===r&&(r=0);void 0===o&&(o=1);var a=[],s=(e.variantChildren.size-1)*r,l=1===o?function(e){return void 0===e&&(e=0),e*r}:function(e){return void 0===e&&(e=0),s-e*r};return Array.from(e.variantChildren).sort(eN).forEach((function(e,r){a.push(XM(e,t,B(B({},i),{delay:n+l(r)})).then((function(){return e.notifyAnimationComplete(t)})))})),Promise.all(a)}(e,t,i+r,s,l,n)}:function(){return Promise.resolve()},u=a.when;if(u){var c=$("beforeChildren"===u?[s,l]:[l,s],2),d=c[0],p=c[1];return d().then(p)}return Promise.all([s(),l(n.delay)])}function JM(e,t,n){var r,o=void 0===n?{}:n,i=o.delay,a=void 0===i?0:i,s=o.transitionOverride,l=o.type,u=e.makeTargetAnimatable(t),c=u.transition,d=void 0===c?e.getDefaultTransition():c,p=u.transitionEnd,f=W(u,["transition","transitionEnd"]);s&&(d=s);var h=[],m=l&&(null===(r=e.animationState)||void 0===r?void 0:r.getState()[l]);for(var g in f){var v=e.getValue(g),y=f[g];if(!(!v||void 0===y||m&&tN(m,g))){var x=HA(g,v,y,B({delay:a},d));h.push(x)}}return Promise.all(h).then((function(){p&&KM(e,p)}))}function eN(e,t){return e.sortNodePosition(t)}function tN(e,t){var n=e.protectedKeys,r=e.needsAnimating,o=n.hasOwnProperty(t)&&!0!==r[t];return r[t]=!1,o}var nN=[JL.Animate,JL.InView,JL.Focus,JL.Hover,JL.Tap,JL.Drag,JL.Exit],rN=H([],$(nN),!1).reverse(),oN=nN.length;function iN(e){return function(t){return Promise.all(t.map((function(t){var n=t.animation,r=t.options;return function(e,t,n){var r;if(void 0===n&&(n={}),e.notifyAnimationStart(t),Array.isArray(t)){var o=t.map((function(t){return XM(e,t,n)}));r=Promise.all(o)}else if("string"===typeof t)r=XM(e,t,n);else{var i="function"===typeof t?WS(e,t,n.custom):t;r=JM(e,i,n)}return r.then((function(){return e.notifyAnimationComplete(t)}))}(e,n,r)})))}}function aN(e){var t=iN(e),n=function(){var e;return(e={})[JL.Animate]=sN(!0),e[JL.InView]=sN(),e[JL.Hover]=sN(),e[JL.Tap]=sN(),e[JL.Drag]=sN(),e[JL.Focus]=sN(),e[JL.Exit]=sN(),e}(),r={},o=!0,i=function(t,n){var r=WS(e,n);if(r){r.transition;var o=r.transitionEnd,i=W(r,["transition","transitionEnd"]);t=B(B(B({},t),i),o)}return t};function a(a,s){for(var l,u=e.getProps(),c=e.getVariantContext(!0)||{},d=[],p=new Set,f={},h=1/0,m=function(t){var r=rN[t],m=n[r],g=null!==(l=u[r])&&void 0!==l?l:c[r],v=IS(g),y=r===s?m.isActive:null;!1===y&&(h=t);var x=g===c[r]&&g!==u[r]&&v;if(x&&o&&e.manuallyAnimateOnMount&&(x=!1),m.protectedKeys=B({},f),!m.isActive&&null===y||!g&&!m.prevProp||ZL(g)||"boolean"===typeof g)return"continue";var b=function(e,t){if("string"===typeof t)return t!==e;if(RS(t))return!zM(t,e);return!1}(m.prevProp,g),k=b||r===s&&m.isActive&&!x&&v||t>h&&v,w=Array.isArray(g)?g:[g],E=w.reduce(i,{});!1===y&&(E={});var _=m.prevResolvedValues,C=void 0===_?{}:_,S=B(B({},C),E),D=function(e){k=!0,p.delete(e),m.needsAnimating[e]=!0};for(var j in S){var A=E[j],P=C[j];f.hasOwnProperty(j)||(A!==P?yA(A)&&yA(P)?!zM(A,P)||b?D(j):m.protectedKeys[j]=!0:void 0!==A?D(j):p.add(j):void 0!==A&&p.has(j)?D(j):m.protectedKeys[j]=!0)}m.prevProp=g,m.prevResolvedValues=E,m.isActive&&(f=B(B({},f),E)),o&&e.blockInitialAnimation&&(k=!1),k&&!x&&d.push.apply(d,H([],$(w.map((function(e){return{animation:e,options:B({type:r},a)}}))),!1))},g=0;g<oN;g++)m(g);if(r=B({},f),p.size){var v={};p.forEach((function(t){var n=e.getBaseTarget(t);void 0!==n&&(v[t]=n)})),d.push({animation:v})}var y=Boolean(d.length);return o&&!1===u.initial&&!e.manuallyAnimateOnMount&&(y=!1),o=!1,y?t(d):Promise.resolve()}return{isAnimated:function(e){return void 0!==r[e]},animateChanges:a,setActive:function(t,r,o){var i;return n[t].isActive===r?Promise.resolve():(null===(i=e.variantChildren)||void 0===i||i.forEach((function(e){var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)})),n[t].isActive=r,a(o,t))},setAnimateFunction:function(n){t=n(e)},getState:function(){return n}}}function sN(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var lN={animation:TM((function(e){var n=e.visualElement,r=e.animate;n.animationState||(n.animationState=aN(n)),ZL(r)&&(0,t.useEffect)((function(){return r.subscribe(n)}),[r])})),exit:TM((function(e){var n=e.custom,r=e.visualElement,o=$(RM(),2),i=o[0],a=o[1],s=(0,t.useContext)(MS);(0,t.useEffect)((function(){var e,t;r.isPresent=i;var o=null===(e=r.animationState)||void 0===e?void 0:e.setActive(JL.Exit,!i,{custom:null!==(t=null===s||void 0===s?void 0:s.custom)&&void 0!==t?t:n});!i&&(null===o||void 0===o||o.then(a))}),[i])}))},uN=function(){function e(e,t,n){var r=this,o=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(r.lastMoveEvent&&r.lastMoveEventInfo){var e=pN(r.lastMoveEventInfo,r.history),t=null!==r.startEvent,n=gP(e.offset,{x:0,y:0})>=3;if(t||n){var o=e.point,i=sD().timestamp;r.history.push(B(B({},o),{timestamp:i}));var a=r.handlers,s=a.onStart,l=a.onMove;t||(s&&s(r.lastMoveEvent,e),r.startEvent=r.lastMoveEvent),l&&l(r.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){r.lastMoveEvent=e,r.lastMoveEventInfo=cN(t,r.transformPagePoint),oM(e)&&0===e.buttons?r.handlePointerUp(e,t):lD.update(r.updatePoint,!0)},this.handlePointerUp=function(e,t){r.end();var n=r.handlers,o=n.onEnd,i=n.onSessionEnd,a=pN(cN(t,r.transformPagePoint),r.history);r.startEvent&&o&&o(e,a),i&&i(e,a)},!(iM(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=o;var i=cN(uM(e),this.transformPagePoint),a=i.point,s=sD().timestamp;this.history=[B(B({},a),{timestamp:s})];var l=t.onSessionStart;l&&l(e,pN(i,this.history)),this.removeListeners=bj(vM(window,"pointermove",this.handlePointerMove),vM(window,"pointerup",this.handlePointerUp),vM(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),nD.update(this.updatePoint)},e}();function cN(e,t){return t?{point:t(e.point)}:e}function dN(e,t){return{x:e.x-t.x,y:e.y-t.y}}function pN(e,t){var n=e.point;return{point:n,delta:dN(n,hN(t)),offset:dN(n,fN(t)),velocity:mN(t,.1)}}function fN(e){return e[0]}function hN(e){return e[e.length-1]}function mN(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,o=hN(e);n>=0&&(r=e[n],!(o.timestamp-r.timestamp>rA(t)));)n--;if(!r)return{x:0,y:0};var i=(o.timestamp-r.timestamp)/1e3;if(0===i)return{x:0,y:0};var a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function gN(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function vN(e,t){var n,r=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&(r=(n=$([o,r],2))[0],o=n[1]),{min:r,max:o}}var yN=.35;function xN(e,t,n){return{min:bN(e,t),max:bN(e,n)}}function bN(e,t){var n;return"number"===typeof e?e:null!==(n=e[t])&&void 0!==n?n:0}function kN(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}function wN(e,t){return kN(function(e,t){if(!t)return e;var n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}var EN=new WeakMap,_N=function(){function e(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=PP(),this.visualElement=e}return e.prototype.start=function(e,t){var n=this,r=(void 0===t?{}:t).snapToCursor,o=void 0!==r&&r;if(!1!==this.visualElement.isPresent){this.panSession=new uN(e,{onSessionStart:function(e){n.stopAnimation(),o&&n.snapToCursor(uM(e,"page").point)},onStart:function(e,t){var r,o=n.getProps(),i=o.drag,a=o.dragPropagation,s=o.onDragStart;(!i||a||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=wM(i),n.openGlobalLock))&&(n.isDragging=!0,n.currentDirection=null,n.resolveConstraints(),n.visualElement.projection&&(n.visualElement.projection.isAnimationBlocked=!0,n.visualElement.projection.target=void 0),IP((function(e){var t,r,o=n.getAxisMotionValue(e).get()||0;if(QD.test(o)){var i=null===(r=null===(t=n.visualElement.projection)||void 0===t?void 0:t.layout)||void 0===r?void 0:r.actual[e];if(i)o=vP(i)*(parseFloat(o)/100)}n.originPoint[e]=o})),null===s||void 0===s||s(e,t),null===(r=n.visualElement.animationState)||void 0===r||r.setActive(JL.Drag,!0))},onMove:function(e,t){var r=n.getProps(),o=r.dragPropagation,i=r.dragDirectionLock,a=r.onDirectionLock,s=r.onDrag;if(o||n.openGlobalLock){var l=t.offset;if(i&&null===n.currentDirection)return n.currentDirection=function(e,t){void 0===t&&(t=10);var n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(l),void(null!==n.currentDirection&&(null===a||void 0===a||a(n.currentDirection)));n.updateAxis("x",t.point,l),n.updateAxis("y",t.point,l),n.visualElement.syncRender(),null===s||void 0===s||s(e,t)}},onSessionEnd:function(e,t){return n.stop(e,t)}},{transformPagePoint:this.visualElement.getTransformPagePoint()})}},e.prototype.stop=function(e,t){var n=this.isDragging;if(this.cancel(),n){var r=t.velocity;this.startAnimation(r);var o=this.getProps().onDragEnd;null===o||void 0===o||o(e,t)}},e.prototype.cancel=function(){var e,t;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(e=this.panSession)||void 0===e||e.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(JL.Drag,!1)},e.prototype.updateAxis=function(e,t,n){var r=this.getProps().drag;if(n&&CN(e,r,this.currentDirection)){var o=this.getAxisMotionValue(e),i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,t,n){var r=t.min,o=t.max;return void 0!==r&&e<r?e=n?uD(r,e,n.min):Math.max(e,r):void 0!==o&&e>o&&(e=n?uD(o,e,n.max):Math.min(e,o)),e}(i,this.constraints[e],this.elastic[e])),o.set(i)}},e.prototype.resolveConstraints=function(){var e=this,t=this.getProps(),n=t.dragConstraints,r=t.dragElastic,o=(this.visualElement.projection||{}).layout,i=this.constraints;n&&FS(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!n||!o)&&function(e,t){var n=t.top,r=t.left,o=t.bottom,i=t.right;return{x:gN(e.x,r,i),y:gN(e.y,n,o)}}(o.actual,n),this.elastic=function(e){return void 0===e&&(e=yN),!1===e?e=0:!0===e&&(e=yN),{x:xN(e,"left","right"),y:xN(e,"top","bottom")}}(r),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&IP((function(t){e.getAxisMotionValue(t)&&(e.constraints[t]=function(e,t){var n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(o.actual[t],e.constraints[t]))}))},e.prototype.resolveRefConstraints=function(){var e=this.getProps(),t=e.dragConstraints,n=e.onMeasureDragConstraints;if(!t||!FS(t))return!1;var r=t.current;yD(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");var o=this.visualElement.projection;if(!o||!o.layout)return!1;var i=function(e,t,n){var r=wN(e,n),o=t.scroll;return o&&(lP(r.x,o.x),lP(r.y,o.y)),r}(r,o.root,this.visualElement.getTransformPagePoint()),a=function(e,t){return{x:vN(e.x,t.x),y:vN(e.y,t.y)}}(o.layout.actual,i);if(n){var s=n(function(e){var t=e.x,n=e.y;return{top:n.min,right:t.max,bottom:n.max,left:t.min}}(a));this.hasMutatedConstraints=!!s,s&&(a=kN(s))}return a},e.prototype.startAnimation=function(e){var t=this,n=this.getProps(),r=n.drag,o=n.dragMomentum,i=n.dragElastic,a=n.dragTransition,s=n.dragSnapToOrigin,l=n.onDragTransitionEnd,u=this.constraints||{},c=IP((function(n){var l;if(CN(n,r,t.currentDirection)){var c=null!==(l=null===u||void 0===u?void 0:u[n])&&void 0!==l?l:{};s&&(c={min:0,max:0});var d=i?200:1e6,p=i?40:1e7,f=B(B({type:"inertia",velocity:o?e[n]:0,bounceStiffness:d,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10},a),c);return t.startAxisValueAnimation(n,f)}}));return Promise.all(c).then(l)},e.prototype.startAxisValueAnimation=function(e,t){return HA(e,this.getAxisMotionValue(e),0,t)},e.prototype.stopAnimation=function(){var e=this;IP((function(t){return e.getAxisMotionValue(t).stop()}))},e.prototype.getAxisMotionValue=function(e){var t,n,r="_drag"+e.toUpperCase(),o=this.visualElement.getProps()[r];return o||this.visualElement.getValue(e,null!==(n=null===(t=this.visualElement.getProps().initial)||void 0===t?void 0:t[e])&&void 0!==n?n:0)},e.prototype.snapToCursor=function(e){var t=this;IP((function(n){if(CN(n,t.getProps().drag,t.currentDirection)){var r=t.visualElement.projection,o=t.getAxisMotionValue(n);if(r&&r.layout){var i=r.layout.actual[n],a=i.min,s=i.max;o.set(e[n]-uD(a,s,.5))}}}))},e.prototype.scalePositionWithinConstraints=function(){var e,t=this,n=this.getProps(),r=n.drag,o=n.dragConstraints,i=this.visualElement.projection;if(FS(o)&&i&&this.constraints){this.stopAnimation();var a={x:0,y:0};IP((function(e){var n=t.getAxisMotionValue(e);if(n){var r=n.get();a[e]=function(e,t){var n=.5,r=vP(e),o=vP(t);return o>r?n=ND(t.min,t.max-r,e.min):r>o&&(n=ND(e.min,e.max-o,t.min)),xD(0,1,n)}({min:r,max:r},t.constraints[e])}}));var s=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=s?s({},""):"none",null===(e=i.root)||void 0===e||e.updateScroll(),i.updateLayout(),this.resolveConstraints(),IP((function(e){if(CN(e,r,null)){var n=t.getAxisMotionValue(e),o=t.constraints[e],i=o.min,s=o.max;n.set(uD(i,s,a[e]))}}))}},e.prototype.addListeners=function(){var e,t=this;EN.set(this.visualElement,this);var n=vM(this.visualElement.getInstance(),"pointerdown",(function(e){var n=t.getProps(),r=n.drag,o=n.dragListener;r&&(void 0===o||o)&&t.start(e)})),r=function(){FS(t.getProps().dragConstraints)&&(t.constraints=t.resolveRefConstraints())},o=this.visualElement.projection,i=o.addEventListener("measure",r);o&&!o.layout&&(null===(e=o.root)||void 0===e||e.updateScroll(),o.updateLayout()),r();var a=nM(window,"resize",(function(){t.scalePositionWithinConstraints()}));return o.addEventListener("didUpdate",(function(e){var n=e.delta,r=e.hasLayoutChanged;t.isDragging&&r&&(IP((function(e){var r=t.getAxisMotionValue(e);r&&(t.originPoint[e]+=n[e].translate,r.set(r.get()+n[e].translate))})),t.visualElement.syncRender())})),function(){a(),n(),i()}},e.prototype.getProps=function(){var e=this.visualElement.getProps(),t=e.drag,n=void 0!==t&&t,r=e.dragDirectionLock,o=void 0!==r&&r,i=e.dragPropagation,a=void 0!==i&&i,s=e.dragConstraints,l=void 0!==s&&s,u=e.dragElastic,c=void 0===u?yN:u,d=e.dragMomentum,p=void 0===d||d;return B(B({},e),{drag:n,dragDirectionLock:o,dragPropagation:a,dragConstraints:l,dragElastic:c,dragMomentum:p})},e}();function CN(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}var SN={pan:TM((function(e){var n=e.onPan,r=e.onPanStart,o=e.onPanEnd,i=e.onPanSessionStart,a=e.visualElement,s=n||r||o||i,l=(0,t.useRef)(null),u=(0,t.useContext)(PS).transformPagePoint,c={onSessionStart:i,onStart:r,onMove:n,onEnd:function(e,t){l.current=null,o&&o(e,t)}};(0,t.useEffect)((function(){null!==l.current&&l.current.updateHandlers(c)})),yM(a,"pointerdown",s&&function(e){l.current=new uN(e,c,{transformPagePoint:u})}),SM((function(){return l.current&&l.current.end()}))})),drag:TM((function(e){var n=e.dragControls,r=e.visualElement,o=US((function(){return new _N(r)}));(0,t.useEffect)((function(){return n&&n.subscribe(o)}),[o,n]),(0,t.useEffect)((function(){return o.addListeners()}),[o])}))},DN=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];var jN=function(e){var t=e.treeType,n=void 0===t?"":t,r=e.build,o=e.getBaseTarget,i=e.makeTargetAnimatable,a=e.measureViewportBox,s=e.render,l=e.readValueFromInstance,u=e.removeValueFromRenderState,c=e.sortNodePosition,d=e.scrapeMotionValuesFromProps;return function(e,t){var p=e.parent,f=e.props,h=e.presenceId,m=e.blockInitialAnimation,g=e.visualState;void 0===t&&(t={});var v,y,x=!1,b=g.latestValues,k=g.renderState,w=function(){var e=DN.map((function(){return new fD})),t={},n={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){DN.forEach((function(r){var o,i="on"+r,a=e[i];null===(o=t[r])||void 0===o||o.call(t),a&&(t[r]=n[i](a))}))}};return e.forEach((function(e,t){n["on"+DN[t]]=function(t){return e.add(t)},n["notify"+DN[t]]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e.notify.apply(e,H([],$(t),!1))}})),n}(),E=new Map,_=new Map,C={},S=B({},b);function D(){v&&x&&(j(),s(v,k,f.style,T.projection))}function j(){r(T,k,b,t,f)}function A(){w.notifyUpdate(b)}var P=d(f);for(var L in P){var M=P[L];void 0!==b[L]&&gD(M)&&M.set(b[L],!1)}var N=zS(f),O=$S(f),T=B(B({treeType:n,current:null,depth:p?p.depth+1:0,parent:p,children:new Set,presenceId:h,variantChildren:O?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null===p||void 0===p?void 0:p.isMounted()),blockInitialAnimation:m,isMounted:function(){return Boolean(v)},mount:function(e){x=!0,v=T.current=e,T.projection&&T.projection.mount(e),O&&p&&!N&&(y=null===p||void 0===p?void 0:p.addVariantChild(T)),null===p||void 0===p||p.children.add(T),T.setProps(f)},unmount:function(){var e;null===(e=T.projection)||void 0===e||e.unmount(),nD.update(A),nD.render(D),_.forEach((function(e){return e()})),null===y||void 0===y||y(),null===p||void 0===p||p.children.delete(T),w.clearAllListeners(),v=void 0,x=!1},addVariantChild:function(e){var t,n=T.getClosestVariantNode();if(n)return null===(t=n.variantChildren)||void 0===t||t.add(e),function(){return n.variantChildren.delete(e)}},sortNodePosition:function(e){return c&&n===e.treeType?c(T.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return O?T:null===p||void 0===p?void 0:p.getClosestVariantNode()},getLayoutId:function(){return f.layoutId},getInstance:function(){return v},getStaticValue:function(e){return b[e]},setStaticValue:function(e,t){return b[e]=t},getLatestValues:function(){return b},setVisibility:function(e){T.isVisible!==e&&(T.isVisible=e,T.scheduleRender())},makeTargetAnimatable:function(e,t){return void 0===t&&(t=!0),i(T,e,f,t)},measureViewportBox:function(){return a(v,f)},addValue:function(e,t){T.hasValue(e)&&T.removeValue(e),E.set(e,t),b[e]=t.get(),function(e,t){var n=t.onChange((function(t){b[e]=t,f.onUpdate&&lD.update(A,!1,!0)})),r=t.onRenderRequest(T.scheduleRender);_.set(e,(function(){n(),r()}))}(e,t)},removeValue:function(e){var t;E.delete(e),null===(t=_.get(e))||void 0===t||t(),_.delete(e),delete b[e],u(e,k)},hasValue:function(e){return E.has(e)},getValue:function(e,t){var n=E.get(e);return void 0===n&&void 0!==t&&(n=mD(t),T.addValue(e,n)),n},forEachValue:function(e){return E.forEach(e)},readValue:function(e){var n;return null!==(n=b[e])&&void 0!==n?n:l(v,e,t)},setBaseTarget:function(e,t){S[e]=t},getBaseTarget:function(e){if(o){var t=o(f,e);if(void 0!==t&&!gD(t))return t}return S[e]}},w),{build:function(){return j(),k},scheduleRender:function(){lD.render(D,!1,!0)},syncRender:D,setProps:function(e){(e.transformTemplate||f.transformTemplate)&&T.scheduleRender(),f=e,w.updatePropListeners(e),C=function(e,t,n){var r;for(var o in t){var i=t[o],a=n[o];if(gD(i))e.addValue(o,i);else if(gD(a))e.addValue(o,mD(i));else if(a!==i)if(e.hasValue(o)){var s=e.getValue(o);!s.hasAnimated&&s.set(i)}else e.addValue(o,mD(null!==(r=e.getStaticValue(o))&&void 0!==r?r:i))}for(var o in n)void 0===t[o]&&e.removeValue(o);return t}(T,d(f),C)},getProps:function(){return f},getVariant:function(e){var t;return null===(t=f.variants)||void 0===t?void 0:t[e]},getDefaultTransition:function(){return f.transition},getTransformPagePoint:function(){return f.transformPagePoint},getVariantContext:function(e){if(void 0===e&&(e=!1),e)return null===p||void 0===p?void 0:p.getVariantContext();if(!N){var t=(null===p||void 0===p?void 0:p.getVariantContext())||{};return void 0!==f.initial&&(t.initial=f.initial),t}for(var n={},r=0;r<PN;r++){var o=AN[r],i=f[o];(IS(i)||!1===i)&&(n[o]=i)}return n}});return T}},AN=H(["initial"],$(nN),!1),PN=AN.length;function LN(e){return"string"===typeof e&&e.startsWith("var(--")}var MN=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;var NN=4;function ON(e,t,n){void 0===n&&(n=1),yD(n<=NN,'Max CSS variable fallback depth detected in property "'.concat(e,'". This may indicate a circular fallback dependency.'));var r=$(function(e){var t=MN.exec(e);if(!t)return[,];var n=$(t,3);return[n[1],n[2]]}(e),2),o=r[0],i=r[1];if(o){var a=window.getComputedStyle(t).getPropertyValue(o);return a?a.trim():LN(i)?ON(i,t,n+1):i}}var TN,FN=new Set(["width","height","top","left","right","bottom","x","y"]),RN=function(e){return FN.has(e)},IN=function(e,t){e.set(t,!1),e.set(t)},BN=function(e){return e===WD||e===XD};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(TN||(TN={}));var WN=function(e,t){return parseFloat(e.split(", ")[t])},zN=function(e,t){return function(n,r){var o=r.transform;if("none"===o||!o)return 0;var i=o.match(/^matrix3d\((.+)\)$/);if(i)return WN(i[1],t);var a=o.match(/^matrix\((.+)\)$/);return a?WN(a[1],e):0}},$N=new Set(["x","y","z"]),HN=WP.filter((function(e){return!$N.has(e)}));var VN={width:function(e,t){var n=e.x,r=t.paddingLeft,o=void 0===r?"0":r,i=t.paddingRight,a=void 0===i?"0":i;return n.max-n.min-parseFloat(o)-parseFloat(a)},height:function(e,t){var n=e.y,r=t.paddingTop,o=void 0===r?"0":r,i=t.paddingBottom,a=void 0===i?"0":i;return n.max-n.min-parseFloat(o)-parseFloat(a)},top:function(e,t){var n=t.top;return parseFloat(n)},left:function(e,t){var n=t.left;return parseFloat(n)},bottom:function(e,t){var n=e.y,r=t.top;return parseFloat(r)+(n.max-n.min)},right:function(e,t){var n=e.x,r=t.left;return parseFloat(r)+(n.max-n.min)},x:zN(4,13),y:zN(5,14)},UN=function(e,t,n,r){void 0===n&&(n={}),void 0===r&&(r={}),t=B({},t),r=B({},r);var o=Object.keys(t).filter(RN),i=[],a=!1,s=[];if(o.forEach((function(o){var l=e.getValue(o);if(e.hasValue(o)){var u,c=n[o],d=qM(c),p=t[o];if(yA(p)){var f=p.length,h=null===p[0]?1:0;c=p[h],d=qM(c);for(var m=h;m<f;m++)u?yD(qM(p[m])===u,"All keyframes must be of the same type"):(u=qM(p[m]),yD(u===d||BN(d)&&BN(u),"Keyframes must be of the same dimension as the current value"))}else u=qM(p);if(d!==u)if(BN(d)&&BN(u)){var g=l.get();"string"===typeof g&&l.set(parseFloat(g)),"string"===typeof p?t[o]=parseFloat(p):Array.isArray(p)&&u===XD&&(t[o]=p.map(parseFloat))}else(null===d||void 0===d?void 0:d.transform)&&(null===u||void 0===u?void 0:u.transform)&&(0===c||0===p)?0===c?l.set(u.transform(c)):t[o]=d.transform(p):(a||(i=function(e){var t=[];return HN.forEach((function(n){var r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),t.length&&e.syncRender(),t}(e),a=!0),s.push(o),r[o]=void 0!==r[o]?r[o]:t[o],IN(l,p))}})),s.length){var l=function(e,t,n){var r=t.measureViewportBox(),o=t.getInstance(),i=getComputedStyle(o),a=i.display,s={};"none"===a&&t.setStaticValue("display",e.display||"block"),n.forEach((function(e){s[e]=VN[e](r,i)})),t.syncRender();var l=t.measureViewportBox();return n.forEach((function(n){var r=t.getValue(n);IN(r,s[n]),e[n]=VN[n](l,i)})),e}(t,e,s);return i.length&&i.forEach((function(t){var n=$(t,2),r=n[0],o=n[1];e.getValue(r).set(o)})),e.syncRender(),{target:l,transitionEnd:r}}return{target:t,transitionEnd:r}};function qN(e,t,n,r){return function(e){return Object.keys(e).some(RN)}(t)?UN(e,t,n,r):{target:t,transitionEnd:r}}var YN=function(e,t,n,r){var o=function(e,t,n){var r,o=W(t,[]),i=e.getInstance();if(!(i instanceof Element))return{target:o,transitionEnd:n};for(var a in n&&(n=B({},n)),e.forEachValue((function(e){var t=e.get();if(LN(t)){var n=ON(t,i);n&&e.set(n)}})),o){var s=o[a];if(LN(s)){var l=ON(s,i);l&&(o[a]=l,n&&(null!==(r=n[a])&&void 0!==r||(n[a]=s)))}}return{target:o,transitionEnd:n}}(e,t,r);return qN(e,t=o.target,n,r=o.transitionEnd)};var GN={treeType:"dom",readValueFromInstance:function(e,t){if(HP(t)){var n=MA(t);return n&&n.default||0}var r,o=(r=e,window.getComputedStyle(r));return(_L(t)?o.getPropertyValue(t):o[t])||0},sortNodePosition:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1},getBaseTarget:function(e,t){var n;return null===(n=e.style)||void 0===n?void 0:n[t]},measureViewportBox:function(e,t){return wN(e,t.transformPagePoint)},resetTransform:function(e,t,n){var r=n.transformTemplate;t.style.transform=r?r({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var n=t.vars,r=t.style;delete n[e],delete r[e]},makeTargetAnimatable:function(e,t,n,r){var o=n.transformValues;void 0===r&&(r=!0);var i=t.transition,a=t.transitionEnd,s=W(t,["transition","transitionEnd"]),l=function(e,t,n){var r,o,i={};for(var a in e)i[a]=null!==(r=QM(a,t))&&void 0!==r?r:null===(o=n.getValue(a))||void 0===o?void 0:o.get();return i}(s,i||{},e);if(o&&(a&&(a=o(a)),s&&(s=o(s)),l&&(l=o(l))),r){!function(e,t,n){var r,o,i,a,s=Object.keys(t).filter((function(t){return!e.hasValue(t)})),l=s.length;if(l)for(var u=0;u<l;u++){var c=s[u],d=t[c],p=null;Array.isArray(d)&&(p=d[0]),null===p&&(p=null!==(o=null!==(r=n[c])&&void 0!==r?r:e.readValue(c))&&void 0!==o?o:t[c]),void 0!==p&&null!==p&&("string"===typeof p&&($M(p)||HM(p))?p=parseFloat(p):!GM(p)&&vj.test(d)&&(p=NA(c,d)),e.addValue(c,mD(p)),null!==(i=(a=n)[c])&&void 0!==i||(a[c]=p),e.setBaseTarget(c,p))}}(e,s,l);var u=YN(e,s,l,a);a=u.transitionEnd,s=u.target}return B({transition:i,transitionEnd:a},s)},scrapeMotionValuesFromProps:YL,build:function(e,t,n,r,o){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden"),SL(t,n,r,o.transformTemplate)},render:VL},ZN=jN(GN),KN=jN(B(B({},GN),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var n;return HP(t)?(null===(n=MA(t))||void 0===n?void 0:n.default)||0:(t=UL.has(t)?t:HL(t),e.getAttribute(t))},scrapeMotionValuesFromProps:GL,build:function(e,t,n,r,o){IL(t,n,r,o.transformTemplate)},render:qL})),QN=function(e,t){return kL(e)?KN(t,{enableHardwareAcceleration:!1}):ZN(t,{enableHardwareAcceleration:!0})};function XN(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var JN={correct:function(e,t){if(!t.target)return e;if("string"===typeof e){if(!XD.test(e))return e;e=parseFloat(e)}var n=XN(e,t.target.x),r=XN(e,t.target.y);return"".concat(n,"% ").concat(r,"%")}},eO="_$css",tO={correct:function(e,t){var n=t.treeScale,r=t.projectionDelta,o=e,i=e.includes("var("),a=[];i&&(e=e.replace(MN,(function(e){return a.push(e),eO})));var s=vj.parse(e);if(s.length>5)return o;var l=vj.createTransformer(e),u="number"!==typeof s[0]?1:0,c=r.x.scale*n.x,d=r.y.scale*n.y;s[0+u]/=c,s[1+u]/=d;var p=uD(c,d,.5);"number"===typeof s[2+u]&&(s[2+u]/=p),"number"===typeof s[3+u]&&(s[3+u]/=p);var f=l(s);if(i){var h=0;f=f.replace(eO,(function(){var e=a[h];return h++,e}))}return f}},nO=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return I(t,e),t.prototype.componentDidMount=function(){var e,t=this,n=this.props,r=n.visualElement,o=n.layoutGroup,i=n.switchLayoutGroup,a=n.layoutId,s=r.projection;e=rO,Object.assign(TP,e),s&&((null===o||void 0===o?void 0:o.group)&&o.group.add(s),(null===i||void 0===i?void 0:i.register)&&a&&i.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",(function(){t.safeToRemove()})),s.setOptions(B(B({},s.options),{onExitComplete:function(){return t.safeToRemove()}}))),ZP.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(e){var t=this,n=this.props,r=n.layoutDependency,o=n.visualElement,i=n.drag,a=n.isPresent,s=o.projection;return s?(s.isPresent=a,i||e.layoutDependency!==r||void 0===r?s.willUpdate():this.safeToRemove(),e.isPresent!==a&&(a?s.promote():s.relegate()||lD.postRender((function(){var e;(null===(e=s.getStack())||void 0===e?void 0:e.members.length)||t.safeToRemove()}))),null):null},t.prototype.componentDidUpdate=function(){var e=this.props.visualElement.projection;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.visualElement,n=e.layoutGroup,r=e.switchLayoutGroup,o=t.projection;o&&(o.scheduleCheckAfterUnmount(),(null===n||void 0===n?void 0:n.group)&&n.group.remove(o),(null===r||void 0===r?void 0:r.deregister)&&r.deregister(o))},t.prototype.safeToRemove=function(){var e=this.props.safeToRemove;null===e||void 0===e||e()},t.prototype.render=function(){return null},t}(t.Component);var rO={borderRadius:B(B({},JN),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:JN,borderTopRightRadius:JN,borderBottomLeftRadius:JN,borderBottomRightRadius:JN,boxShadow:tO},oO={measureLayout:function(e){var n=$(RM(),2),r=n[0],o=n[1],i=(0,t.useContext)(mL);return t.createElement(nO,B({},e,{layoutGroup:i,switchLayoutGroup:(0,t.useContext)(gL),isPresent:r,safeToRemove:o}))}},iO=KP({attachResizeListener:function(e,t){return e.addEventListener("resize",t,{passive:!0}),function(){return e.removeEventListener("resize",t)}},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}}}),aO={current:void 0},sO=KP({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!aO.current){var e=new iO(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),aO.current=e}return aO.current},resetTransform:function(e,t){e.style.transform=null!==t&&void 0!==t?t:"none"}}),lO=B(B(B(B({},lN),FM),SN),oO),uO=xL((function(e,t){return function(e,t,n,r,o){var i=t.forwardMotionProps,a=void 0!==i&&i,s=kL(e)?eM:tM;return B(B({},s),{preloadedFeatures:n,useRender:zL(a),createVisualElement:r,projectionNodeConstructor:o,Component:e})}(e,t,lO,QN,sO)}));const cO=e=>{const[n,r]=t.useState(!1),[o,i]=t.useState("no-correct-answer"),[a,s]=t.useState(null);return(0,Cs.jsxs)(uO.div,{animate:{opacity:1},initial:{opacity:0},transition:{ease:"easeOut",duration:2},className:bs`
        display: flex;
        justify-content: center;
        flex-direction: column;
        text-align: center;
      `,children:[(0,Cs.jsx)("div",{className:bs`
          font-size: 21px;
          font-weight: bold;
          line-height: 24px;
          margin: 24px;
        `,children:e.currentPage.Question.Text}),e.currentPage.Question.Answers.map(((t,n)=>t.Text?(0,Cs.jsx)("div",{className:bs`
              margin-bottom: 16px;
            `,children:(0,Cs.jsx)(iS,{variant:"contained",className:bs`
                padding: 6px 32px !important;
                margin-left: 5px !important;
                margin-right: 5px !important;
                max-width: 350px;
              `,onClick:()=>{let n=!1,o="no-correct-answer";for(let t of e.currentPage.Question.Answers)t.IsCorrect&&(n=!0);n&&(o=t.IsCorrect?"correct":"incorrect"),s(t),i(o),r(!0)},children:t.Text})},n):null)),(0,Cs.jsx)(_S,{open:n,setOpen:r,questionId:e.currentPage.Question.ID,answerId:null===a||void 0===a?void 0:a.ID,courseId:e.currentPage.CourseID,description:e.currentPage.Question.Explanation,nextPage:e.nextPage,answerState:o})]},e.currentPage.Question.Text)};var dO=0;function pO(){var e=dO;return dO++,e}var fO=function(e){var n=e.children,r=e.initial,o=e.isPresent,i=e.onExitComplete,a=e.custom,s=e.presenceAffectsLayout,l=US(hO),u=US(pO),c=(0,t.useMemo)((function(){return{id:u,initial:r,isPresent:o,custom:a,onExitComplete:function(e){var t,n;l.set(e,!0);try{for(var r=z(l.values()),o=r.next();!o.done;o=r.next()){if(!o.value)return}}catch(a){t={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}null===i||void 0===i||i()},register:function(e){return l.set(e,!1),function(){return l.delete(e)}}}}),s?void 0:[o]);return(0,t.useMemo)((function(){l.forEach((function(e,t){return l.set(t,!1)}))}),[o]),t.useEffect((function(){!o&&!l.size&&(null===i||void 0===i||i())}),[o]),t.createElement(MS.Provider,{value:c},n)};function hO(){return new Map}function mO(e){return e.key||""}var gO=function(e){var n=e.children,r=e.custom,o=e.initial,i=void 0===o||o,a=e.onExitComplete,s=e.exitBeforeEnter,l=e.presenceAffectsLayout,u=void 0===l||l,c=$(function(){var e=(0,t.useRef)(!1),n=$((0,t.useState)(0),2),r=n[0],o=n[1];SM((function(){return e.current=!0}));var i=(0,t.useCallback)((function(){!e.current&&o(r+1)}),[r]);return[(0,t.useCallback)((function(){return lD.postRender(i)}),[i]),r]}(),1),d=c[0],p=(0,t.useContext)(mL).forceRender;p&&(d=p);var f=(0,t.useRef)(!0),h=(0,t.useRef)(!0);(0,t.useEffect)((function(){return function(){h.current=!1}}),[]);var m=function(e){var n=[];return t.Children.forEach(e,(function(e){(0,t.isValidElement)(e)&&n.push(e)})),n}(n),g=(0,t.useRef)(m),v=(0,t.useRef)(new Map).current,y=(0,t.useRef)(new Set).current;if(function(e,t){e.forEach((function(e){var n=mO(e);t.set(n,e)}))}(m,v),f.current)return f.current=!1,t.createElement(t.Fragment,null,m.map((function(e){return t.createElement(fO,{key:mO(e),isPresent:!0,initial:!!i&&void 0,presenceAffectsLayout:u},e)})));for(var x=H([],$(m),!1),b=g.current.map(mO),k=m.map(mO),w=b.length,E=0;E<w;E++){var _=b[E];-1===k.indexOf(_)?y.add(_):y.delete(_)}return s&&y.size&&(x=[]),y.forEach((function(e){if(-1===k.indexOf(e)){var n=v.get(e);if(n){var o=b.indexOf(e);x.splice(o,0,t.createElement(fO,{key:mO(n),isPresent:!1,onExitComplete:function(){v.delete(e),y.delete(e);var t=g.current.findIndex((function(t){return t.key===e}));if(g.current.splice(t,1),!y.size){if(g.current=m,!1===h.current)return;d(),a&&a()}},custom:r,presenceAffectsLayout:u},n))}}})),x=x.map((function(e){var n=e.key;return y.has(n)?e:t.createElement(fO,{key:mO(e),isPresent:!0,presenceAffectsLayout:u},e)})),g.current=x,t.createElement(t.Fragment,null,y.size?x:x.map((function(e){return(0,t.cloneElement)(e)})))};function vO(e){return Hh(e,Date.now())}function yO(e,t){return+Wh(e)===+Wh(t)}function xO(e){return yO(e,vO(e))}var bO=n(6178),kO=n.n(bO),wO=n(7694);const EO=e=>(0,Cs.jsx)(Ou,{PopperProps:{style:{zIndex:234234}},title:(()=>{let t="";for(let n of e.pages)if(n.InsurancePlans&&n.InsurancePlans.length>0){t=`Timeframe for this question begins the day you are eligible for benefits but not before ${kO()(n.InsurancePlans[0].EffectiveDate).utc().format("MM/DD/YYYY")}. Ending on ${kO()(n.InsurancePlans[0].DeductibleResetDate).utc().format("MM/DD/YYYY")}.`}return e.moreInfo&&(t=`${t} ${e.moreInfo}`),t||(t=""),t})(),enterTouchDelay:10,children:(0,Cs.jsx)(zC,{"aria-label":"Additional information",children:(0,Cs.jsx)(wO.A,{})})});var _O=t.forwardRef((function(e,n){var r=e.classes,i=e.className,a=e.color,s=void 0===a?"primary":a,l=e.value,u=e.valueBuffer,c=e.variant,d=void 0===c?"indeterminate":c,p=(0,Is.A)(e,["classes","className","color","value","valueBuffer","variant"]),f=ol(),h={},m={bar1:{},bar2:{}};if("determinate"===d||"buffer"===d)if(void 0!==l){h["aria-valuenow"]=Math.round(l),h["aria-valuemin"]=0,h["aria-valuemax"]=100;var g=l-100;"rtl"===f.direction&&(g=-g),m.bar1.transform="translateX(".concat(g,"%)")}else 0;if("buffer"===d)if(void 0!==u){var v=(u||0)-100;"rtl"===f.direction&&(v=-v),m.bar2.transform="translateX(".concat(v,"%)")}else 0;return t.createElement("div",(0,Fs.A)({className:(0,o.A)(r.root,r["color".concat((0,Hs.A)(s))],i,{determinate:r.determinate,indeterminate:r.indeterminate,buffer:r.buffer,query:r.query}[d]),role:"progressbar"},h,{ref:n},p),"buffer"===d?t.createElement("div",{className:(0,o.A)(r.dashed,r["dashedColor".concat((0,Hs.A)(s))])}):null,t.createElement("div",{className:(0,o.A)(r.bar,r["barColor".concat((0,Hs.A)(s))],("indeterminate"===d||"query"===d)&&r.bar1Indeterminate,{determinate:r.bar1Determinate,buffer:r.bar1Buffer}[d]),style:m.bar1}),"determinate"===d?null:t.createElement("div",{className:(0,o.A)(r.bar,("indeterminate"===d||"query"===d)&&r.bar2Indeterminate,"buffer"===d?[r["color".concat((0,Hs.A)(s))],r.bar2Buffer]:r["barColor".concat((0,Hs.A)(s))]),style:m.bar2}))}));const CO=(0,$s.A)((function(e){var t=function(t){return"light"===e.palette.type?(0,zs.a)(t,.62):(0,zs.e$)(t,.5)},n=t(e.palette.primary.main),r=t(e.palette.secondary.main);return{root:{position:"relative",overflow:"hidden",height:4,"@media print":{colorAdjust:"exact"}},colorPrimary:{backgroundColor:n},colorSecondary:{backgroundColor:r},determinate:{},indeterminate:{},buffer:{backgroundColor:"transparent"},query:{transform:"rotate(180deg)"},dashed:{position:"absolute",marginTop:0,height:"100%",width:"100%",animation:"$buffer 3s infinite linear"},dashedColorPrimary:{backgroundImage:"radial-gradient(".concat(n," 0%, ").concat(n," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0 -23px"},dashedColorSecondary:{backgroundImage:"radial-gradient(".concat(r," 0%, ").concat(r," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0 -23px"},bar:{width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},barColorPrimary:{backgroundColor:e.palette.primary.main},barColorSecondary:{backgroundColor:e.palette.secondary.main},bar1Indeterminate:{width:"auto",animation:"$indeterminate1 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite"},bar1Determinate:{transition:"transform .".concat(4,"s linear")},bar1Buffer:{zIndex:1,transition:"transform .".concat(4,"s linear")},bar2Indeterminate:{width:"auto",animation:"$indeterminate2 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite"},bar2Buffer:{transition:"transform .".concat(4,"s linear")},"@keyframes indeterminate1":{"0%":{left:"-35%",right:"100%"},"60%":{left:"100%",right:"-90%"},"100%":{left:"100%",right:"-90%"}},"@keyframes indeterminate2":{"0%":{left:"-200%",right:"100%"},"60%":{left:"107%",right:"-8%"},"100%":{left:"107%",right:"-8%"}},"@keyframes buffer":{"0%":{opacity:1,backgroundPosition:"0 -23px"},"50%":{opacity:0,backgroundPosition:"0 -23px"},"100%":{opacity:1,backgroundPosition:"-200px -23px"}}}}),{name:"MuiLinearProgress"})(_O),SO=[{country:"US",id:"AL",label:"Alabama"},{country:"US",id:"AK",label:"Alaska"},{country:"US",id:"AZ",label:"Arizona"},{country:"US",id:"AR",label:"Arkansas"},{country:"US",id:"CA",label:"California"},{country:"US",id:"CO",label:"Colorado"},{country:"US",id:"CT",label:"Connecticut"},{country:"US",id:"DE",label:"Delaware"},{country:"US",id:"DC",label:"District of Columbia"},{country:"US",id:"FL",label:"Florida"},{country:"US",id:"GA",label:"Georgia"},{country:"US",id:"HI",label:"Hawaii"},{country:"US",id:"ID",label:"Idaho"},{country:"US",id:"IL",label:"Illinois"},{country:"US",id:"IN",label:"Indiana"},{country:"US",id:"IA",label:"Iowa"},{country:"US",id:"KS",label:"Kansas"},{country:"US",id:"KY",label:"Kentucky"},{country:"US",id:"LA",label:"Louisiana"},{country:"US",id:"ME",label:"Maine"},{country:"US",id:"MD",label:"Maryland"},{country:"US",id:"MA",label:"Massachusetts"},{country:"US",id:"MI",label:"Michigan"},{country:"US",id:"MN",label:"Minnesota"},{country:"US",id:"MS",label:"Mississippi"},{country:"US",id:"MO",label:"Missouri"},{country:"US",id:"MT",label:"Montana"},{country:"US",id:"NE",label:"Nebraska"},{country:"US",id:"NV",label:"Nevada"},{country:"US",id:"NH",label:"New Hampshire"},{country:"US",id:"NJ",label:"New Jersey"},{country:"US",id:"NM",label:"New Mexico"},{country:"US",id:"NY",label:"New York"},{country:"US",id:"NC",label:"North Carolina"},{country:"US",id:"ND",label:"North Dakota"},{country:"US",id:"OH",label:"Ohio"},{country:"US",id:"OK",label:"Oklahoma"},{country:"US",id:"OR",label:"Oregon"},{country:"US",id:"PA",label:"Pennsylvania"},{country:"US",id:"PR",label:"Puerto Rico"},{country:"US",id:"RI",label:"Rhode Island"},{country:"US",id:"SC",label:"South Carolina"},{country:"US",id:"SD",label:"South Dakota"},{country:"US",id:"TN",label:"Tennessee"},{country:"US",id:"TX",label:"Texas"},{country:"US",id:"UT",label:"Utah"},{country:"US",id:"VT",label:"Vermont"},{country:"US",id:"VA",label:"Virginia"},{country:"US",id:"WA",label:"Washington"},{country:"US",id:"WV",label:"West Virginia"},{country:"US",id:"WI",label:"Wisconsin"},{country:"US",id:"WY",label:"Wyoming"}],DO="brite-recommendations",jO="brite-user-recommendations",AO="brite-user-answers";var PO=t.forwardRef((function(e,n){var r=e.children,i=e.classes,a=e.className,s=e.color,l=void 0===s?"primary":s,u=e.component,c=void 0===u?"div":u,d=e.disabled,p=void 0!==d&&d,f=e.error,h=void 0!==f&&f,m=e.fullWidth,g=void 0!==m&&m,v=e.focused,y=e.hiddenLabel,x=void 0!==y&&y,b=e.margin,k=void 0===b?"none":b,w=e.required,E=void 0!==w&&w,_=e.size,C=e.variant,S=void 0===C?"standard":C,D=(0,Is.A)(e,["children","classes","className","color","component","disabled","error","fullWidth","focused","hiddenLabel","margin","required","size","variant"]),j=t.useState((function(){var e=!1;return r&&t.Children.forEach(r,(function(t){if((0,hE.A)(t,["Input","Select"])){var n=(0,hE.A)(t,["Select"])?t.props.input:t;n&&n.props.startAdornment&&(e=!0)}})),e})),A=j[0],P=j[1],L=t.useState((function(){var e=!1;return r&&t.Children.forEach(r,(function(t){(0,hE.A)(t,["Input","Select"])&&Sf(t.props,!0)&&(e=!0)})),e})),M=L[0],N=L[1],O=t.useState(!1),T=O[0],F=O[1],R=void 0!==v?v:T;p&&R&&F(!1);var I=t.useCallback((function(){N(!0)}),[]),B={adornedStart:A,setAdornedStart:P,color:l,disabled:p,error:h,filled:M,focused:R,fullWidth:g,hiddenLabel:x,margin:("small"===_?"dense":void 0)||k,onBlur:function(){F(!1)},onEmpty:t.useCallback((function(){N(!1)}),[]),onFilled:I,onFocus:function(){F(!0)},registerEffect:undefined,required:E,variant:S};return t.createElement(Mf.Provider,{value:B},t.createElement(c,(0,Fs.A)({className:(0,o.A)(i.root,a,"none"!==k&&i["margin".concat((0,Hs.A)(k))],g&&i.fullWidth),ref:n},D),r))}));const LO=(0,$s.A)({root:{display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},marginNormal:{marginTop:16,marginBottom:8},marginDense:{marginTop:8,marginBottom:4},fullWidth:{width:"100%"}},{name:"MuiFormControl"})(PO);var MO=new Map;MO.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),MO.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),MO.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M216,136H40a8,8,0,0,1,0-16H216a8,8,0,0,1,0,16Z"}))})),MO.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),MO.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),MO.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var NO=function(e,t){return Ua(e,t,MO)},OO=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:NO}))}));OO.displayName="Minus";const TO=OO,FO=BC((e=>({customIconButton:{"&.MuiIconButton-root":{backgroundColor:"#E8EDF3"},"&:hover, &.Mui-focusVisible":{backgroundColor:"#D1DAE3"}},inputnumber:{[e.breakpoints.up("md")]:{"& input[type=number]":{"-moz-appearance":"textfield"},"& input[type=number]::-webkit-outer-spin-button":{"-webkit-appearance":"none",margin:0},"& input[type=number]::-webkit-inner-spin-button":{"-webkit-appearance":"none",margin:0}}}}))),RO=(0,$s.A)((e=>({root:{"label + &":{marginTop:e.spacing(1)}},input:{boxSizing:"border-box",borderRadius:8,position:"relative",backgroundColor:e.palette.common.white,border:"2px solid #9AA7B5",fontSize:18,lineHeight:"24px",padding:"24px 16px",transition:e.transitions.create(["border-color","box-shadow"]),fontFamily:["Roboto","sans-serif"].join(","),"&:focus":{boxShadow:"0px 2px 8px rgba(37, 40, 45, 0.25)",borderColor:"#25282D"}}})))($f);function IO(e){const t=FO();return(0,Cs.jsxs)(LO,{children:[(0,Cs.jsx)("label",{for:e.id,className:bs`
          font-family: 'Roboto';
          font-style: normal;
          font-weight: 700;
          font-size: 16px;
          line-height: 24px;
          /* identical to box height, or 150% */

          letter-spacing: 0.15px;

          color: #66737f;
        `,children:e.label}),"number"===e.type?(0,Cs.jsxs)("div",{className:bs`
            display: flex;
            align-items: center;
            gap: 8px;
          `,children:[(0,Cs.jsx)(RO,{autoComplete:"off",...e,style:{width:"190px"},className:t.inputnumber}),(0,Cs.jsx)(zC,{className:t.customIconButton,onClick:()=>{e.value-1>=0&&e.onChange({target:{value:e.value-1}})},children:(0,Cs.jsx)(TO,{size:"24"})}),(0,Cs.jsx)(zC,{className:t.customIconButton,onClick:()=>{e.onChange({target:{value:e.value+1}})},children:(0,Cs.jsx)(gC,{size:"24"})})]}):(0,Cs.jsx)(RO,{autoComplete:"off",...e,style:{minWidth:"300px"}})]})}const BO=(0,$s.A)((e=>({root:{"label + &":{marginTop:e.spacing(1)}},input:{boxSizing:"border-box",borderRadius:8,position:"relative",backgroundColor:e.palette.common.white,border:"2px solid #9AA7B5",fontSize:18,minWidth:"300px",lineHeight:"24px",padding:"12px 16px",marginRight:"-16px",transition:e.transitions.create(["border-color","box-shadow"]),fontFamily:["Roboto","sans-serif"].join(","),"&:focus":{boxShadow:"0px 2px 8px rgba(37, 40, 45, 0.25)",borderColor:"#25282D",borderRadius:8}}})))($f),WO=BC({icon:{top:"calc(50% - 16px)"}}),zO=e=>{const t=WO();return(0,Cs.jsxs)(LO,{children:[(0,Cs.jsx)("label",{for:e.id,className:bs`
          font-family: 'Roboto';
          font-style: normal;
          font-weight: 700;
          font-size: 16px;
          line-height: 24px;
          /* identical to box height, or 150% */

          letter-spacing: 0.15px;

          color: #66737f;
        `,children:e.label}),e.loading&&(0,Cs.jsx)("div",{className:bs`
            border: 2px solid #9aa7b5;
            padding: 12px 16px;
            position: relative;
            font-size: 18px;
            font-family: Roboto, sans-serif;
            line-height: 24px;
            border-radius: 8px;
            background-color: #fff;
            min-width: 300px;
            box-sizing: border-box;
            margin-top: 8px;
          `,children:"Looking up State..."}),!e.loading&&(0,Cs.jsx)(ah,{...e,inputProps:{classes:{icon:t.icon}},input:(0,Cs.jsx)(BO,{}),IconComponent:e=>(0,Cs.jsx)(d_,{...e}),children:e.children})]})},$O=e=>{let{zipCode:n,setZipCode:r,livingState:o,setLivingState:i}=e;const[a,s]=t.useState(!1);(0,t.useEffect)((()=>{const e=setTimeout((()=>{!o&&n&&(async e=>{s(!0);try{const t=await Ha.get(`/public/v1/zywave/areas?zipCode=${e}`);if(t.data.Data.length>0){const e=t.data.Data[0].SubdivisionCode,n=SO.find((t=>t.id===e));n.id&&i(n.id)}}catch(t){console.log("error getting state for zip code, will continue without it:",t)}s(!1)})(n)}),600);return()=>clearTimeout(e)}),[n]);return(0,Cs.jsxs)(uO.div,{initial:"pageInitial",animate:"pageAnimate",exit:"pageExit",variants:{pageInitial:{y:400,opacity:0},pageAnimate:{y:0,opacity:1},pageExit:{y:-400,opacity:0}},className:bs`
        background: #ffffff;

        box-shadow: 0px 2px 8px rgba(37, 40, 45, 0.25);
        border-radius: 8px;
        padding: 24px;
        margin-bottom: 32px;
        text-align: left;
      `,children:[(0,Cs.jsx)("h1",{className:bs`
          font-family: 'Roboto';
          font-style: normal;
          font-weight: 700;
          font-size: 24px;
          line-height: 32px;
          /* identical to box height, or 133% */

          color: #25282d;
          margin-block-start: 0px;
          margin-block-end: 24px;
        `,children:"Where are you located?"}),(0,Cs.jsxs)("div",{className:bs`
          display: flex;
          align-items: center;
          gap: 16px;
          flex-wrap: wrap;
        `,children:[(0,Cs.jsx)("div",{children:(0,Cs.jsx)(IO,{value:n,id:"zip-code-input",label:"Zip Code",placeholder:"Enter Zip Code",variant:"outlined",inputProps:{inputMode:"numeric"},onChange:e=>{return t=e.target.value,void r(t);var t}})}),(0,Cs.jsx)("div",{children:(0,Cs.jsx)(zO,{MenuProps:{style:{zIndex:35001}},labelId:"state-label",id:"state-label-id",value:o,onChange:e=>i(e.target.value),label:"State",disabled:a,loading:a,children:SO.map((e=>(0,Cs.jsx)(xE,{value:e.id,children:e.label},e.id)))})})]})]},"state_question")};function HO(e){return(0,Cs.jsx)("div",{className:bs`
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 16px;
        box-sizing: border-box;
      `,children:e.options.map((t=>{return(0,Cs.jsxs)("div",{onClick:()=>{e.onClick(t.value)},className:(n=(null===e||void 0===e?void 0:e.value)===(null===t||void 0===t?void 0:t.value),bs`
  box-sizing: border-box;
  border: 2px solid ${n?"#25282D":"#9aa7b5"};
  box-shadow: ${n?"0px 0px 16px rgba(0, 0, 0, 0.2)":"none"};
  border-radius: 8px;
  width: 300px;
  cursor: pointer;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  &:hover {
    border: 2px solid #25282d;
    /* Blue Shadow */
    box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.2);
  }
`),children:[(0,Cs.jsx)("div",{className:bs`
                font-family: 'Roboto';
                font-style: normal;
                font-weight: 500;
                font-size: 18px;
                line-height: 24px;
                /* identical to box height, or 133% */

                letter-spacing: 0.15px;

                color: #25282d;
              `,children:t.label}),t.value===e.value?(0,Cs.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAZuSURBVHgB1VrNchNHEO6Z0VJyqkIcMMSV01JgEBTY4sbN8i1H65Yb5glsbrlZfoKYJ4h5ApsnQD4lN9aGYBkbWG4kOJSoVAXh9e6ke6xdz4x2JevPKr4ql7Sj2Znuma9n+scMBgDXdced/LfzUsIMx0fJWBGYHAcJ4ye9mA8gfezjMQZbAQRVv1bzoU8w6BEk9Ln8+UUJsoSPJegFknmo6KN+lOlagURwJpfMFe4ba6jISreKdKXA9cL08hAEB1MgVnlV2145ff9ToFAouKHMrQNxOwNIpSryewtpUQ154EEjX/d9r06/uW5x3Pnm0I2OhMu4pDFmUdBSmyl93I250+xGRwVw1e/jqq+mrjqDupTy0VEjtxoLe1oUCkU3hLCEX5fxz00bOwrhwetXzzfajcM6CL+MK1tJG1xCtLK/8+cqDABThTsLkKFIJ0qJrB+yhI+OV7z8Zv95FQaEjwd/e5cnfnyC832PjzZNSxMTk/DPwV+bae+m7sDV63fmOYd1u12y6GHWqsd3AX6dxY5F4NJNaIc7BhHeA0x6+LQZNP7d8H0/lXLXbkwvMSZ/bRWULeBOPG5tt6AMljnPDM4fc728X3tRTet/JJ1FxmGhy9Mp89icunWrCFI8tWUIZHDX7t+iAPLxLdhc5OLu3kvP05vUio+dXwaJx2o/YLAafBYr9iFwrXC7hKv+1OiLF9/e7vZdvcmwAeI9fsyb7xBtzJOAVp3lxn7Hrz9B/7gncvLn8xMXntQPDhIl0C78CxcnP6HbcTIHg8kLE5cZ/lY9adKECsF5aw2+tld7/kBvUNsbCbIPFwYLH8KwvIdbrTdevXl7lUu2CCcS13HHrsQ7xuN2FH7ZHjAAYRxfpOSQhAc1phDrLs2hIfycq6hDIAbaRS5/lNCWJ4IBGqEJNDDPT0ZHzqOST2E4wifTODgH3dxxA620jJixkIyxxbiPUgAFK1kD+UidNb1BGexwhY/hOmOhwYb93e3VrF04ppCUi9YgrdTp97TpBhKWbCqRy6I/4wk1S59cCWc5acj9qv6cYh9Dh5A5Y8HI37K6lIhG3KYPeZUm9xXXFuCMwTm7b9sCflT1PiJ/OM8jJm3fw/A5nHw4D6MA8pwE1JtQ1i2zDy9yPGNnjDbGPGuoWRgROAhz7pBV9UcBzCUjdo2XjkLfeEnKzCBm6LDY4XBhLK5kKolgKhAE53xjEM5cGBnMuRsNMD1YBuPcfqUlshpi/NsR1txpsnH4ysGNGw6SY/ME1u9nik6yASkgzU5s7Mt3Ro9I+jAymHM7zqFrdfA5pfr0Fg45I2DAW3oLRgVpHukRE67xMyrIJZfvjJcilSrUUYXRwbhUmzmlBJSHoovM3AFmXmxBQ2yMyg7U3BpiBy4GyupxuxM0naT4gY6uCORjOHus6cdmM2Yp6R3I6eRpTpIe8RAcmRtIAqsb2NFgS8yCKRpyOtU9gMZgco0xIz6oYUd0pB7BGYGSZ7pH3ITp0kum5FEKKF/binhu3Jw2dkHFphR4Dx9++EXNlaCZenT1tjhmUQqouNOKeJD3y7YtCBBzMFwlKJEwl8J9O6Bai3cocSXSdsGOTYlKwMMyDEcJHFuUbeo0o0FXb9PtI0ls1evvG5g0GrPy9vcuXZr8hInVP+KGjx8+vG8mYinYGJSjp1b+zY5X0xuRxljCgl/0Npx35U1tOzk5W1OLN6af2X44vjRn50WJXmLsqGIknXoAGSxx3vY0mwm0Z1Z3ypZc0RtavFHBeNm+uPBUWp+aumUoRRO+3nmxhHZBA3Z3T1DxQlJxT1x5vftiKS0vqpK71jvBsQ1azSloWv1vdjvefA93d7Yz0utYRjqOn0t4IMwwCoS09LpEp5Cp9DrfpMszq6JDtEHlWuaIIiinVWsyKzS4ChW0h7R0Sk/VxE5ol+0m3iOFK2nvZVZoKANMmeCUYlwRaTN/ceKHT1RZgQGAVp075zZQ0pL9WzvhCR2LfKpaI5BO6aGlj38rvRSqO9abyQ5l+HCv9nKt3TinLLOqimKnxG6VXBJMxHpchn4Q/OfHZSQSFvL5cRE5RdzSWfyjA6GUOZKUXsBy5RR3ojcFYrSxi8GgWbZtR5nWV7pEczcq+PU+DAp91Jt7/mePuFCNEy+yNhX8dqA8LH5s9iJ4jJ4V0BErg+c3cXwGaeaCbi/KIHGV8R6QEbyjSKrdXdAN/gfwUi7slPgwewAAAABJRU5ErkJggg==",width:"24px",height:"24px"}):(0,Cs.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAUsSURBVHgB1VpPU9tGFH+7azGm01KHGEpz6IhJCA6TgHPrDXPLET5Bkk8A3HqzOfVY59ae6n4C6CeIuPWGgJQ6gaTKre3Q1lwaByFt3xO2I60k/8PYym/GY/Skld/b/b3d9wcGA4Cu6xkt/dmqlLDE8VIylgcmMyAh8+EpZgFIC58xGYN9G2zDqlYtuCIY9AlSeiw9sS5BFvCyAP1AMhMNfXYVY3o2oKU4kxvBGb4yKmjIVq+G9GTA3dxi8RoUh6BCrPSqerDV/fNdIJfL6Y5MbQNxOwZIJQP5vY+0MBxum1BP1yzLrNE9Xc9ntE/OdfdC6IxLescyKlpo85MWrsZKN6vR0QCc9cc46+XIWWdQk1I+u6inyk1lu0Uul9cdcAr4ZxE/etS7XQeevn51uNPuPayD8kWc2VLUyyW4Wye//VqGAWAu9+AJxBjSiVIi7kac8u7ljK+9OTk0YED45/Qvczp762f8vRt4qdK0kM3OwN+nf+5GjY1cgdt3H6xyDtuqXDJ3c1CzHoc784sbjMnvVDmuxBNciZ/CcgWewzJtL8D5S66vnVRfGDAEzC0s5EGK56oOtrQfqo7N1cEOaM9DDsvEyrCUJxwfHZk0YQEh6qTJsRArAj5AvMev1cA4jzbtd4LrAPqFNXlz5gzDjkctIYOZyew0w3vGB1EDHnVA+115T+W4evgURojb9+6XuWTrLQFR6Z2YbW7bLQqh8kVlLB4mousT8brgvEuVSOmWAKmUSl9sNC89CtHsSxAVZezmm+qBASNGrfZHHan03k8lhhHBxKe3fqB73grg7BeUcRZSpwIJwcnLg3LcKlxSSMp1ZczIqaOCQhb/NZ4Ly953lPMi92etqmlBguAFhGnnX7/MrosbXKUPRZVJU57Q2HUMv0ykz1e5y6Qae+xCQoG67gcEkuc57rFLARnDNC+pcJjhvxTAdHJi3S/kF44FCYXGRWByJfOKCEEDbHvMgoSiXodg0sQgEwrmes2shomQbjLCgI8NPHDCweV+CwlFlG4clyFgABt//zkkFJp2risii1Opzy/hkHoICYXLhO6/xkMXDeDybfApr1SYSDRqSi1QHYoOsuAKsODBliQ0A7gmUFeTxQVJSdtO44JOHhUk+TOepCCUszBpUtDpnQPoDIEADjOedUgegimvZF5+4BlAtU0145m/t5iYVWiUHnW/DOlj0LdnANFIzXhckMUkHGrEfVBnH6slzZylFUpErYI27hRhxGhUS3S/zF8taRW2vOw/Oz2u1O2/npqaOcPC6i8wAiCNsYUF3/hl6K9bWC1pFdpCtdG5+cU9ULI0HDTU0qKnB9VHXbGniKlaMusXhKJRwfiaGuDhrrQ9N7cQ250ZNO7k7he84m5ACazIgVhRnw0ZUCXnkLAZEFKxV4i9YexMRBukcajATN2aqGJDZIODGg5URFX7WMjHRzezX+gT2cn92unpQE9q6n5OffnVt7gbltR7xPvXL198HzUutkNDFeAoIxB5AWIVDTkjQ2EAoFnn2tgOalpQ75Hy6H+luLEdm3xet0bAjzGtVQs/W/00qjv2m8kPpbN5XD2qtHtPl21Wr6NITqW3ecygkES6zOTSsWz7PwtRayoL6XRGuFoel3QZP7QhFGLfJKVps9RaNwW2nhrduDuUkFLXd7g12rbtKBMe0iMaq1HCPx/DoHCFfnPf/+zRbFTjD6+zNh38dqA6LH7t9qN4E30b4EfTGOwhE8eXkGY6+P3Fc0icZYzhpQtvKZPCpGlnEEnT/0L3bEu0v3yjAAAAAElFTkSuQmCC",width:"24px",height:"24px"})]});var n}))})}var VO=new Map;VO.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"96",r:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M31,216a112,112,0,0,1,194,0",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),VO.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"96",r:"64",opacity:"0.2"}),t.createElement("circle",{cx:"128",cy:"96",r:"64",fill:"none",stroke:e,strokeMiterlimit:"10",strokeWidth:"16"}),t.createElement("path",{d:"M31,216a112,112,0,0,1,194,0",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),VO.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M231.9,212a120.7,120.7,0,0,0-67.1-54.2,72,72,0,1,0-73.6,0A120.7,120.7,0,0,0,24.1,212a7.7,7.7,0,0,0,0,8,7.8,7.8,0,0,0,6.9,4H225a7.8,7.8,0,0,0,6.9-4A7.7,7.7,0,0,0,231.9,212Z"}))})),VO.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"96",r:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M31,216a112,112,0,0,1,194,0",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),VO.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"96",r:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M31,216a112,112,0,0,1,194,0",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),VO.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"96",r:"64",fill:"none",stroke:e,strokeMiterlimit:"10",strokeWidth:"16"}),t.createElement("path",{d:"M31,216a112,112,0,0,1,194,0",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var UO=function(e,t){return Ua(e,t,VO)},qO=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:UO}))}));qO.displayName="User";const YO=qO;var GO=new Map;GO.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"204",y1:"136",x2:"244",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"224",y1:"116",x2:"224",y2:"156",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("circle",{cx:"108",cy:"100",r:"60",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M22.2,200a112,112,0,0,1,171.6,0",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),GO.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"108",cy:"100",r:"60",opacity:"0.2"}),t.createElement("line",{x1:"200",y1:"136",x2:"248",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"224",y1:"112",x2:"224",y2:"160",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("circle",{cx:"108",cy:"100",r:"60",fill:"none",stroke:e,strokeMiterlimit:"10",strokeWidth:"16"}),t.createElement("path",{d:"M22.2,200a112,112,0,0,1,171.6,0",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),GO.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M256,136a8,8,0,0,1-8,8H232v16a8,8,0,0,1-16,0V144H200a8,8,0,0,1,0-16h16V112a8,8,0,0,1,16,0v16h16A8,8,0,0,1,256,136ZM144.1,157.6a68,68,0,1,0-72.2,0,118.4,118.4,0,0,0-55.8,37.3,7.8,7.8,0,0,0-1.1,8.5,7.9,7.9,0,0,0,7.2,4.6H193.8a7.9,7.9,0,0,0,7.2-4.6,7.8,7.8,0,0,0-1.1-8.5A118.4,118.4,0,0,0,144.1,157.6Z"}))})),GO.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"200",y1:"136",x2:"248",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"224",y1:"112",x2:"224",y2:"160",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("circle",{cx:"108",cy:"100",r:"60",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M22.2,200a112,112,0,0,1,171.6,0",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),GO.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"200",y1:"136",x2:"248",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"224",y1:"112",x2:"224",y2:"160",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("circle",{cx:"108",cy:"100",r:"60",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M22.2,200a112,112,0,0,1,171.6,0",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),GO.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"200",y1:"136",x2:"248",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"224",y1:"112",x2:"224",y2:"160",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("circle",{cx:"108",cy:"100",r:"60",fill:"none",stroke:e,strokeMiterlimit:"10",strokeWidth:"16"}),t.createElement("path",{d:"M22.2,200a112,112,0,0,1,171.6,0",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var ZO=function(e,t){return Ua(e,t,GO)},KO=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:ZO}))}));KO.displayName="UserPlus";const QO=KO;var XO=new Map;XO.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"120",r:"40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M63.8,199.4a72,72,0,0,1,128.4,0",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"176",y1:"56",x2:"224",y2:"56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"200",y1:"32",x2:"200",y2:"80",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M222.8,112.9A93.3,93.3,0,0,1,224,128a96,96,0,1,1-96-96,93.3,93.3,0,0,1,15.1,1.2",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),XO.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M128,32A96,96,0,0,0,63.8,199.4h0A72,72,0,0,1,128,160a40,40,0,1,1,40-40,40,40,0,0,1-40,40,72,72,0,0,1,64.2,39.4A96,96,0,0,0,128,32Z",opacity:"0.2"}),t.createElement("circle",{cx:"128",cy:"120",r:"40",fill:"none",stroke:e,strokeMiterlimit:"10",strokeWidth:"16"}),t.createElement("path",{d:"M63.8,199.4a72,72,0,0,1,128.4,0",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"176",y1:"56",x2:"224",y2:"56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"200",y1:"32",x2:"200",y2:"80",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M222.8,112.9A93.3,93.3,0,0,1,224,128a96,96,0,1,1-96-96,93.3,93.3,0,0,1,15.1,1.2",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),XO.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M128,76a44,44,0,1,1-44,44A44,44,0,0,1,128,76Zm48-12h16V80a8,8,0,0,0,16,0V64h16a8,8,0,0,0,0-16H208V32a8,8,0,0,0-16,0V48H176a8,8,0,0,0,0,16Zm45.6,41a7.9,7.9,0,0,0-6.7,9.1A92,92,0,0,1,216,128a87.6,87.6,0,0,1-22.2,58.4,81.3,81.3,0,0,0-24.5-23,59.7,59.7,0,0,1-82.6,0,81.3,81.3,0,0,0-24.5,23A88,88,0,0,1,128,40a92,92,0,0,1,13.9,1.1,8,8,0,0,0,2.5-15.8A99.8,99.8,0,0,0,128,24,104,104,0,0,0,57.8,204.7l1.3,1.2a104,104,0,0,0,137.8,0l1.3-1.2A103.7,103.7,0,0,0,232,128a99.8,99.8,0,0,0-1.3-16.4A7.9,7.9,0,0,0,221.6,105Z"}))})),XO.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"120",r:"40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M63.8,199.4a72,72,0,0,1,128.4,0",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"176",y1:"56",x2:"224",y2:"56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"200",y1:"32",x2:"200",y2:"80",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M222.8,112.9A93.3,93.3,0,0,1,224,128a96,96,0,1,1-96-96,93.3,93.3,0,0,1,15.1,1.2",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),XO.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"120",r:"40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M63.8,199.4a72,72,0,0,1,128.4,0",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"176",y1:"56",x2:"224",y2:"56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"200",y1:"32",x2:"200",y2:"80",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M222.8,112.9A93.3,93.3,0,0,1,224,128a96,96,0,1,1-96-96,93.3,93.3,0,0,1,15.1,1.2",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),XO.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"120",r:"40",fill:"none",stroke:e,strokeMiterlimit:"10",strokeWidth:"16"}),t.createElement("path",{d:"M63.8,199.4a72,72,0,0,1,128.4,0",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"176",y1:"56",x2:"224",y2:"56",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"200",y1:"32",x2:"200",y2:"80",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M222.8,112.9A93.3,93.3,0,0,1,224,128a96,96,0,1,1-96-96,93.3,93.3,0,0,1,15.1,1.2",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var JO=function(e,t){return Ua(e,t,XO)},eT=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:JO}))}));eT.displayName="UserCirclePlus";const tT=eT,nT=e=>{var t,n,r,o,i;const a=null===e||void 0===e||null===(t=e.acaEnrollingMembers)||void 0===t?void 0:t.map((e=>{let{Type:t}=e;return t})),s=(t,n)=>{if(null===t||void 0===t||t.stopPropagation(),"add"===n)e.setAcaEnrollingMembers([...null===e||void 0===e?void 0:e.acaEnrollingMembers,{Type:"Child"}]);else if("remove"===n){var r,o;const t=null===e||void 0===e||null===(r=e.acaEnrollingMembers)||void 0===r?void 0:r.findIndex((e=>{let{Type:t}=e;return"Child"===t})),n=null===e||void 0===e||null===(o=e.acaEnrollingMembers)||void 0===o?void 0:o.filter(((e,n)=>n!==t));e.setAcaEnrollingMembers(n)}},l=null===a||void 0===a||null===(n=a.filter((e=>"Child"===e)))||void 0===n?void 0:n.length;return(0,Cs.jsxs)(uO.div,{initial:"pageInitial",animate:"pageAnimate",exit:"pageExit",variants:{pageInitial:{y:400,opacity:0},pageAnimate:{y:0,opacity:1},pageExit:{y:-400,opacity:0}},className:bs`
        background: #ffffff;
        box-shadow: 0px 2px 8px rgba(37, 40, 45, 0.25);
        border-radius: 8px;
        padding: 24px;
        margin-bottom: 32px;
        text-align: left;
      `,children:[(0,Cs.jsx)("h1",{className:bs`
          color: #25282d;
          font-size: 23px;
          line-height: 32px;
          margin-block-start: 0px;
          margin-block-end: 24px;
        `,children:e.isSurvey?"Who do you plan on enrolling?":"Who are you enrolling?"}),(0,Cs.jsx)("div",{children:(0,Cs.jsxs)("div",{className:bs`
            gap: 16px;
            box-sizing: border-box;
            user-select: none;
            .check {
              ${Tu("center")}
              width: 32px;
              height: 32px;
              border-radius: 50%;
            }
            .checked {
              background-color: var(--button-background-color);
              color: var(--button-text-color);
            }
            .unchecked {
              background-color: ${ks.gray[400]};
              color: white;
            }
            .container {
              border: 2px solid ${ks.gray[300]};
              border-radius: 16px;
              padding: 24px 32px;
              margin-bottom: 24px;
              ${Tu("space-between")}
              ${zu.hover}
            }
          `,children:[(0,Cs.jsxs)("div",{className:"container",children:[(0,Cs.jsxs)("div",{className:bs`
                ${Tu("left grow")}
              `,children:[(0,Cs.jsx)(YO,{}),(0,Cs.jsx)(Ts,{h4:!0,css:"\n                  margin-left: 16px;\n                ",children:null===e||void 0===e||null===(r=e.displaySettings)||void 0===r?void 0:r.custom_label_employee})]}),(0,Cs.jsx)("div",{className:"check checked",children:(0,Cs.jsx)(vh,{size:24,color:"currentColor"})})]}),(0,Cs.jsxs)("div",{className:"container",onClick:()=>(t=>{if("Self"!==t&&null!==a&&void 0!==a&&a.includes(t)){var n;const r=null===e||void 0===e||null===(n=e.acaEnrollingMembers)||void 0===n?void 0:n.filter((e=>(null===e||void 0===e?void 0:e.Type)!==t));e.setAcaEnrollingMembers(r)}else{if(null!==a&&void 0!==a&&a.includes(t))return;e.setAcaEnrollingMembers([...null===e||void 0===e?void 0:e.acaEnrollingMembers,{Type:t}])}})("Spouse"),children:[(0,Cs.jsxs)("div",{className:bs`
                ${Tu("left grow")}
              `,children:[(0,Cs.jsx)(QO,{}),(0,Cs.jsx)(Ts,{h4:!0,css:"\n                  margin-left: 16px;\n                ",children:null===e||void 0===e||null===(o=e.displaySettings)||void 0===o?void 0:o.custom_label_employee_spouse})]}),(0,Cs.jsx)("div",{className:"check "+(null!==a&&void 0!==a&&a.includes("Spouse")?"checked":"unchecked"),children:null!==a&&void 0!==a&&a.includes("Spouse")?(0,Cs.jsx)(vh,{size:24,color:"currentColor"}):(0,Cs.jsx)(gC,{size:24,color:"currentColor"})})]}),(0,Cs.jsxs)("div",{className:"container",onClick:e=>s(e,"add"),children:[(0,Cs.jsxs)("div",{className:bs`
                ${Tu("left grow")}
              `,children:[(0,Cs.jsx)(tT,{}),(0,Cs.jsx)(Ts,{h4:!0,css:"\n                  margin-left: 16px;\n                ",children:null===e||void 0===e||null===(i=e.displaySettings)||void 0===i?void 0:i.custom_label_child})]}),(0,Cs.jsxs)("div",{className:bs`
                ${Tu("right")}
              `,children:[null!==a&&void 0!==a&&a.includes("Child")?(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsx)("div",{className:"check checked",onClick:e=>s(e,"remove"),children:(0,Cs.jsx)(TO,{size:24,color:"currentColor"})}),(0,Cs.jsx)(Ts,{label:!0,bold:!0,className:bs`
                      margin: 0 16px;
                    `,children:l})]}):null,(0,Cs.jsx)("div",{className:"check "+(null!==a&&void 0!==a&&a.includes("Child")?"checked":"unchecked"),onClick:e=>s(e,"add"),children:(0,Cs.jsx)(gC,{size:24,color:"currentColor"})})]})]})]})})]},"enrolling_question")};var rT=(0,Hc.css)(["color:",";"],(function(e){return td(e.colorProp,e.theme)})),oT=(0,Hc.css)(["font-weight:",";"],(function(e){return e.weight})),iT=(0,Hc.css)(["word-break:",";"],(function(e){return e.wordBreak})),aT=(0,Hc.css)(["font-family:",";"],(function(e){return e.theme.text.font.family})),sT=(0,Hc.default)("span").withConfig({shouldForwardProp:function(e,t){return t(e)&&"size"!==e}}).withConfig({displayName:"StyledText",componentId:"sc-1sadyjn-0"})([""," "," "," "," "," "," "," "," ",""],rp,(function(e){return function(e){var t=e.size||"medium",n=e.theme.text[t];return n?(0,Hc.css)(["font-size:",";line-height:",";"],n.size,n.height):(0,Hc.css)(["font-size:",";line-height:normal;"],t)}(e)}),(function(e){return e.textAlign&&sp}),(function(e){return e.truncate&&"\n  white-space: nowrap;\n  max-width: 100%;\n  overflow: hidden;\n  text-overflow: ellipsis;\n"}),(function(e){return e.colorProp&&rT}),(function(e){return e.weight&&oT}),(function(e){return e.wordBreak&&iT}),(function(e){return e.theme.text.font&&e.theme.text.font.family&&aT}),(function(e){return e.theme.text&&e.theme.text.extend}));sT.defaultProps={},Object.setPrototypeOf(sT.defaultProps,mp);var lT,uT=function(e,t){var n=td(e.color||"border",t),r=e.size||"xsmall",o=e.style||"solid",i="string"===typeof e?e:e.side||"all",a=t.box.responsiveBreakpoint&&t.global.breakpoints[t.box.responsiveBreakpoint];a.borderSize||(a.borderSize=t.global.borderSize);var s=a&&(a.borderSize[r]||r)&&o+" "+(a.borderSize[r]||r)+" "+n;if(s){if("top"===i||"bottom"===i||"left"===i||"right"===i)return"border-"+i+": "+s+";";if("end"===i||"start"===i)return"border-inline-"+i+": "+s+";";if("vertical"===i)return"\n      border-left: "+s+";\n      border-right: "+s+";\n    ";if("horizontal"===i)return"\n      border-top: "+s+";\n      border-bottom: "+s+";\n    ";if("between"!==i)return"border: "+s+";"}},cT=function(e,t,n){var r=[];return(Array.isArray(e)?e:[e]).forEach((function(e){var o=[],i=td(e.color||"border",n),a=e.size||"xsmall",s=e.style||"solid",l="string"===typeof e?e:e.side||"all",u=s+" "+(n.global.borderSize[a]||a)+" "+i,c=t&&uT(e,n),d=c&&n.box.responsiveBreakpoint&&n.global.breakpoints[n.box.responsiveBreakpoint];"top"===l||"bottom"===l||"left"===l||"right"===l?(o.push("border-"+l+": "+u+";"),c&&o.push($d(d,c))):"end"===l||"start"===l?(o.push((0,Hc.css)(["border-inline-",":",";"],l,u)),c&&o.push($d(d,c))):"vertical"===l?(o.push((0,Hc.css)(["border-left:",";border-right:",";"],u,u)),c&&o.push($d(d,c))):"horizontal"===l?(o.push((0,Hc.css)(["border-top:",";border-bottom:",";"],u,u)),c&&o.push($d(d,c))):"between"===l||(o.push((0,Hc.css)(["border:",";"],u)),c&&o.push($d(d,c))),r.push(o)})),r},dT={xsmall:1.001,small:1.01,medium:1.1,large:1.5,xlarge:2},pT={xsmall:1,small:5,medium:10,large:50,xlarge:200},fT={xsmall:.1,small:1,medium:5,large:400,xlarge:1e3},hT={xsmall:.001,small:.01,medium:.05,large:.1,xlarge:.5},mT=function(e,t){if(void 0===t&&(t="medium"),"draw"===e)return["","stroke-dashoffset: 0"];if("fadeIn"===e)return["opacity: 0;","opacity: 1;"];if("fadeOut"===e)return["opacity: 1;","opacity: 0;"];if("jiggle"===e){var n=fT[t];return["transform: rotate(-"+n+"deg);","transform: rotate("+n+"deg);"]}return"pulse"===e?["transform: scale(1);","transform: scale("+dT[t]+")"]:"rotateRight"===e?["transform: rotate(0deg);","transform: rotate(359deg);"]:"rotateLeft"===e?["transform: rotate(0deg);","transform: rotate(-359deg);"]:"flipIn"===e?["transform: rotateY(90deg);","transform: rotateY(0);"]:"flipOut"===e?["transform: rotateY(0);","transform: rotateY(90deg);"]:"slideDown"===e?["transform: translateY(-"+pT[t]+"%);","transform: none;"]:"slideLeft"===e?["transform: translateX("+pT[t]+"%);","transform: none;"]:"slideRight"===e?["transform: translateX(-"+pT[t]+"%);","transform: none;"]:"slideUp"===e?["transform: translateY("+pT[t]+"%);","transform: none;"]:"zoomIn"===e?["transform: scale("+(1-hT[t])+");","transform: none;"]:"zoomOut"===e?["transform: scale("+(1+hT[t])+");","transform: none;"]:[]},gT=function(e,t){return"number"===typeof e?e/1e3+"s":e||t},vT=function(e,t,n){var r,o=mT(e.type,e.size),i=n&&n.animation||t.global.animation;if(o){var a=(0,Hc.css)(["from{",";}to{",";}"],o[0],o[1]);return(0,Hc.css)([""," "," "," ",""],(0,Hc.keyframes)(["",""],a),gT(e.duration,gT(i[e.type]?i[e.type].duration:e.duration,i.duration)),gT(e.delay,"0s"),"draw"===(r=e.type)?"linear forwards":"jiggle"===r||"pulse"===r?"alternate infinite":"rotateRight"===r||"rotateLeft"===r?"infinite linear":"forwards")}return""};function yT(){return yT=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yT.apply(this,arguments)}var xT={auto:"auto",full:"100%","1/2":"50%","1/4":"25%","2/4":"50%","3/4":"75%","1/3":"33.33%","2/3":"66.66%"},bT=(0,Hc.css)(["flex-basis:",";"],(function(e){return xT[e.basis]||e.theme.global.size[e.basis]||e.basis})),kT=((lT={})[!0]="1 1",lT[!1]="0 0",lT.grow="1 0",lT.shrink="0 1",lT),wT=(0,Hc.css)(["flex:",";"],(function(e){return function(e){return"boolean"===typeof e||"string"===typeof e?kT[e]:(e.grow?e.grow:0)+" "+(e.shrink?e.shrink:0)}(e.flex)+(!0===e.flex||e.basis?"":" auto")})),ET={around:"space-around",between:"space-between",center:"center",end:"flex-end",evenly:"space-evenly",start:"flex-start"},_T=(0,Hc.css)(["justify-content:",";"],(function(e){return ET[e.justify]})),CT={true:"wrap",reverse:"wrap-reverse"},ST=(0,Hc.css)(["flex-wrap:",";"],(function(e){return CT[e.wrapProp]})),DT=function e(t,n){return"string"===typeof t?vT({type:t},n):Array.isArray(t)?t.reduce((function(t,r,o){return(0,Hc.css)(["",""," ",""],t,o>0?",":"",e(r,n))}),""):"object"===typeof t?vT(t,n):""},jT=function(e){var t=mT(e.type,e.size);return t?t[0]+" "+function(e){return"flipIn"===e.type||"flipOut"===e.type?"perspective: 1000px; transform-style: preserve-3d;":""}(e):""},AT=(0,Hc.css)(["",";"],(function(e){return(0,Hc.css)([""," animation:",";"],"string"===typeof(t=e.animation)?jT({type:t}):Array.isArray(t)?t.map((function(e){return jT("string"===typeof e?{type:e}:e)})).join(""):"object"===typeof t?jT(t):"",DT(e.animation,e.theme));var t})),PT=(0,Hc.css)(["cursor:pointer;&:hover{"," ","}"],(function(e){var t;return(null==(t=e.kindProp)?void 0:t.hover)&&gd(e.kindProp.hover,e.theme)}),(function(e){return e.hoverIndicator&&gd(e.hoverIndicator,e.theme)})),LT=Hc.default.div.withConfig({displayName:"StyledBox",componentId:"sc-13pk1d4-0"})(["display:flex;box-sizing:border-box;",";"," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," ",""],(function(e){return!e.basis&&"max-width: 100%;"}),rp,(function(e){return e.align&&up}),(function(e){return e.alignContent&&dp}),(function(e){return e.background&&md(e.background,e.theme)}),(function(e){return e.border&&cT(e.border,e.responsive,e.theme)}),(function(e){return e.directionProp&&function(e,t){var n=[(0,Hc.css)(["min-width:0;min-height:0;flex-direction:",";"],"row-responsive"===e?"row":e)];if("row-responsive"===e&&t.box.responsiveBreakpoint){var r=ed(t,t.box.responsiveBreakpoint);r&&n.push($d(r,"\n        flex-direction: column;\n        flex-basis: auto;\n        justify-content: flex-start;\n        align-items: stretch;\n      "))}return n}(e.directionProp,e.theme)}),(function(e){return e.heightProp&&hp(e.heightProp,e.theme)}),(function(e){return e.widthProp&&fp(e.widthProp,e.theme)}),(function(e){return void 0!==e.flex&&wT}),(function(e){return e.basis&&bT}),(function(e){return e.fillProp&&("horizontal"===(t=e.fillProp)?"width: 100%;":"vertical"===t?"height: 100%;":t?"\n      width: 100%;\n      height: 100%;\n    ":void 0);var t}),(function(e){return e.justify&&_T}),(function(e){return e.pad&&Qd("padding",e.pad,e.responsive,e.theme.box.responsiveBreakpoint,e.theme)}),(function(e){return e.round&&ip(e.round,e.responsive,e.theme)}),(function(e){return e.wrapProp&&ST}),(function(e){return e.overflowProp&&("string"===typeof(t=e.overflowProp)?(0,Hc.css)(["overflow:",";"],t):(0,Hc.css)([""," ",";"],t.horizontal&&"overflow-x: "+t.horizontal+";",t.vertical&&"overflow-y: "+t.vertical+";"));var t}),(function(e){return e.elevationProp&&(t=e.elevationProp,(0,Hc.css)(["box-shadow:",";"],(function(e){return e.theme.global.elevation[e.theme.dark?"dark":"light"][t]})));var t}),(function(e){return e.gap&&function(e,t,n,r,o){var i=o.global.edgeSize[t]||t,a=ed(o,o.box.responsiveBreakpoint),s=n&&a&&a.edgeSize[t],l=[];return"column"===e||"column-reverse"===e?(l.push("row-gap: "+i+";"),s&&l.push($d(a,"row-gap: "+s+";"))):(l.push("column-gap: "+i+";"),r&&l.push("row-gap: "+i+";"),s&&("row"===e||"row-reverse"===e?l.push($d(a,"column-gap: "+s+";")):"row-responsive"===e&&l.push($d(a,"\n          row-gap: "+s+";\n        ")))),l}(e.directionProp,e.gap,e.responsive,e.wrapProp,e.theme)}),(function(e){return e.animation&&AT}),(function(e){return e.onClick&&PT}),(function(e){return e.onClick&&e.focus&&!1!==e.focusIndicator&&Jd()}),(function(e){return e.theme.box&&e.theme.box.extend}),(function(e){return e.kindProp&&e.kindProp.extend}));LT.defaultProps={},Object.setPrototypeOf(LT.defaultProps,mp);var MT=Hc.default.div.withConfig({displayName:"StyledBox__StyledBoxGap",componentId:"sc-13pk1d4-1"})(["flex:0 0 auto;align-self:stretch;",";"],(function(e){return e.gap&&function(e,t,n,r,o){var i=o.global.edgeSize[t]||t,a=ed(o,o.box.responsiveBreakpoint),s=n&&a&&a.edgeSize[t],l=[];if("column"===e||"column-reverse"===e?(l.push("height: "+i+";"),s&&l.push($d(a,"height: "+s+";"))):(l.push("width: "+i+";"),s&&("row"===e||"row-reverse"===e?l.push($d(a,"width: "+s+";")):"row-responsive"===e&&l.push($d(a,"\n          width: auto;\n          height: "+s+";\n        ")))),"between"===r||r&&"between"===r.side){var u=r.size||"xsmall",c=o.global.borderSize[u]||u,d=zd(i)/2-zd(c)/2+"px",p=n&&a&&(a.borderSize[u]||u),f=p&&zd(s||i)/2-zd(p)/2+"px";if("column"===e||"column-reverse"===e){var h="string"===typeof r?"top":yT({},r,{side:"top"});l.push((0,Hc.css)(["position:relative;&:after{content:'';position:absolute;width:100%;top:",";","}"],d,cT(h,n,o))),f&&l.push($d(a,"\n            &:after {\n              content: '';\n              top: "+f+";\n            }"))}else{var m="string"===typeof r?"left":yT({},r,{side:"left"});if(l.push((0,Hc.css)(["position:relative;&:after{content:'';position:absolute;height:100%;left:",";","}"],d,cT(m,"row-responsive"!==e&&n,o))),f)if("row"===e||"row-reverse"===e)l.push($d(a,"\n              &:after {\n                content: '';\n                left: "+f+";\n              }"));else if("row-responsive"===e){var g="string"===typeof r?"top":yT({},r,{side:"top"});l.push($d(a,"\n              &:after {\n                content: '';\n                height: auto;\n                left: unset;\n                width: 100%;\n                top: "+f+";\n                border-left: none;\n                "+uT(g,o)+"\n              }"))}}}return l}(e.directionProp,e.gap,e.responsive,e.border,e.theme)}));MT.defaultProps={},Object.setPrototypeOf(MT.defaultProps,mp);var NT=["auto","hidden","scroll","visible"];Uc().shape({color:Uc().oneOfType([Uc().string,Uc().shape({dark:Uc().string,light:Uc().string})]),side:Uc().oneOf(["top","left","bottom","right","start","end","horizontal","vertical","all","between"]),size:Uc().oneOfType([Uc().oneOf(["xsmall","small","medium","large","xlarge"]),Uc().string]),style:Uc().oneOf(["solid","dashed","dotted","double","groove","ridge","inset","outset","hidden"])}),Uc().oneOfType([Uc().oneOf(NT),Uc().shape({horizontal:Uc().oneOf(NT),vertical:Uc().oneOf(NT)}),Uc().string]);var OT={},TT=t.createContext(),FT=function(){return(0,t.useContext)(TT)};var RT={},IT=t.createContext((function(e,t,n){void 0===t&&(t="polite"),void 0===n&&(n=500);var r=document.body.querySelector("#grommet-announcer[aria-live]")||function(){var e=document.createElement("div");return e.id="grommet-announcer",e.style.left="-100%",e.style.right="100%",e.style.position="fixed",e.style["z-index"]="-1",document.body.insertBefore(e,document.body.firstChild),e}();r.setAttribute("aria-live","off"),r.innerHTML=e,r.setAttribute("aria-live",t),setTimeout((function(){r.innerHTML=""}),n)}));IT.propTypes=RT;var BT=["a11yTitle","background","border","children","cssGap","direction","elevation","fill","gap","kind","onBlur","onClick","onFocus","overflow","responsive","tag","as","wrap","width","height","tabIndex","skeleton"],WT=["colors","size"];function zT(){return zT=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zT.apply(this,arguments)}function $T(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var HT=(0,t.forwardRef)((function(e,n){var r=e.a11yTitle,o=e.background,i=e.border,a=e.children,s=e.cssGap,l=e.direction,u=void 0===l?"column":l,c=e.elevation,d=e.fill,p=e.gap,f=e.kind,h=e.onBlur,m=e.onClick,g=e.onFocus,v=e.overflow,y=e.responsive,x=void 0===y||y,b=e.tag,k=e.as,w=e.wrap,E=e.width,_=e.height,C=e.tabIndex,S=e.skeleton,D=$T(e,BT),j=(0,t.useContext)(Hc.ThemeContext)||mp.theme,A=(0,t.useContext)(yp).box,P=FT(),L=o,M=(0,t.useContext)(IT);(0,t.useEffect)((function(){var e;return null!=S&&null!=(e=S.message)&&e.start?M(S.message.start):"string"===typeof(null==S?void 0:S.message)&&M(S.message),function(){var e;return(null==S||null==(e=S.message)?void 0:e.end)&&M(S.message.end)}}),[M,S]);var N=(0,t.useMemo)((function(){return m&&!(C<0)}),[m,C]),O=(0,t.useState)(),T=O[0],F=O[1],R=(0,t.useMemo)((function(){if(N)return{onClick:m,onFocus:function(e){F(!0),g&&g(e)},onBlur:function(e){F(!1),h&&h(e)}};var e={};return h&&(e.onBlur=h),m&&(e.onClick=m),g&&(e.onFocus=g),e}),[N,m,g,h]),I=(0,t.useMemo)((function(){return void 0!==C?C:N?0:void 0}),[N,C]);("between"===i||i&&"between"===i.side)&&!p&&console.warn("Box must have a gap to use border between");var B=a;if(p&&"none"!==p&&(!(null!=A&&A.cssGap||s)||"between"===i||"between"===(null==i?void 0:i.side))){var W,z=!k&&b?b:k;B=[],t.Children.forEach(a,(function(e,n){e&&(void 0===W?W=n:B.push(t.createElement(MT,{key:"gap-"+n,as:"span"===z?z:"div",gap:p,directionProp:u,responsive:x,border:i}))),B.push(e)}))}var $=(0,t.useMemo)((function(){if(S||(L||i)&&P){var e=P?P.depth+1:0;return zT({},P,{depth:e},"object"===typeof S?S:{})}}),[L,i,P,S]),H={};if($){var V=j.skeleton,U=V.colors,q=(V.size,$T(V,WT)),Y=$.colors?$.colors[j.dark?"dark":"light"]:null==U?void 0:U[j.dark?"dark":"light"];H=zT({},q),L=Y[$.depth%Y.length],null!=S&&S.animation&&(H.animation=S.animation),B=t.createElement(TT.Provider,{value:$},B)}var G=(0,t.useMemo)((function(){var e;if(L||j.darkChanged){var t=pd(L,j);void 0!==t&&t!==j.dark||j.darkChanged?((e=zT({},j)).dark=void 0===t?j.dark:t,e.background=L):L&&((e=zT({},j)).background=L)}return e||j}),[L,j]),Z=t.createElement(LT,zT({as:!k&&b?b:k,"aria-label":r,background:L,border:i,ref:n,directionProp:u,elevationProp:c,fillProp:d,focus:T,gap:((null==A?void 0:A.cssGap)||s)&&p&&"none"!==p&&"between"!==i&&"between"!==(null==i?void 0:i.side)&&p,kindProp:f,overflowProp:v,wrapProp:w,widthProp:E,heightProp:_,responsive:x,tabIndex:I},R,D,H),t.createElement(Hc.ThemeContext.Provider,{value:G},B));return m&&(Z=t.createElement(Up,{onEnter:m},Z)),Z}));HT.displayName="Box",HT.propTypes=OT;var VT=(0,Hc.keyframes)(["0%{opacity:0.5;transform:scale(0.8);}100%{opacity:1;transform:scale(1);}"]),UT=Hc.default.div.withConfig({displayName:"StyledDrop",componentId:"sc-16s5rx8-0"})([""," "," position:fixed;z-index:",";outline:none;"," "," opacity:0;transform-origin:",";animation:"," 0.1s forwards;animation-delay:0.01s;@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){display:flex;align-items:stretch;}",""],Zd,(function(e){return!e.plain&&(e.round&&ip(e.round,!0,e.theme)||"border-radius: "+e.theme.global.drop.border.radius+";")}),(function(e){return e.theme.global.drop.zIndex}),(function(e){return!e.plain&&md(e.background||e.theme.global.drop.background,e.theme)}),(function(e){return!e.plain&&(e.margin||e.theme.global.drop.margin)&&e.theme.global&&function(e,t,n,r,o){var i=e.global.edgeSize[n]||n,a={},s="string"===typeof i&&i.split(" ").length>1;return!0!==e.global.drop.intelligentMargin||s||"string"!==typeof i?Qd("margin",o||e.global.drop.margin,r,e.global.edgeSize.responsiveBreakpoint,e):("bottom"===t.top?a.top=i:"top"===t.bottom&&(a.bottom=i),"left"===t.right?a.left="-"+i:"right"===t.left&&(a.left=i),Object.keys(a)||(a="none"),Qd("margin",a,r,e.global.edgeSize.responsiveBreakpoint,e))}(e.theme,e.alignProp,e.theme.global.drop.margin,e.responsive,e.margin)}),(function(e){return function(e){var t="top";e.bottom&&(t="bottom");var n="left";return e.right&&(n="right"),t+" "+n}(e.alignProp)}),VT,(function(e){return e.theme.global.drop&&e.theme.global.drop.extend}));UT.defaultProps={},Object.setPrototypeOf(UT.defaultProps,mp);var qT=["a11yTitle","aria-label","align","background","onAlign","children","dropTarget","elevation","onClickOutside","onEsc","onKeyDown","overflow","plain","responsive","restrictFocus","stretch","trapFocus"];function YT(){return YT=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},YT.apply(this,arguments)}var GT=function(e){27===(e.keyCode?e.keyCode:e.which)&&e.stopPropagation()},ZT={top:"top",left:"left"},KT=[],QT=(0,t.forwardRef)((function(e,n){var r=e.a11yTitle,o=e["aria-label"],i=e.align,a=void 0===i?ZT:i,s=e.background,l=e.onAlign,u=e.children,c=e.dropTarget,d=e.elevation,p=e.onClickOutside,f=e.onEsc,h=e.onKeyDown,m=e.overflow,g=void 0===m?"auto":m,v=e.plain,y=e.responsive,x=e.restrictFocus,b=e.stretch,k=void 0===b?"width":b,w=e.trapFocus,E=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,qT),_=(0,t.useContext)(Xc),C=(0,t.useContext)(Hc.ThemeContext)||mp.theme,S=(0,t.useContext)(qp)||KT,D=(0,t.useMemo)((function(){return S.length}),[S]),j=(0,t.useMemo)((function(){return[].concat(S,[D])}),[S,D]),A=(0,t.useRef)();(0,t.useEffect)((function(){var e,t=function(e){var t=window.innerWidth,r=window.innerHeight,o=c,i=(n||A).current;if(i&&o){i.style.left="",i.style.top="",i.style.bottom="",i.style.width="",e||(i.style.maxHeight="");var s,u,d,p,f=o.getBoundingClientRect(),h=i.getBoundingClientRect();s=k?Math.min("align"===k?Math.min(f.width,h.width):Math.max(f.width,h.width),t):Math.min(h.width,t),a.left?"left"===a.left?u=f.left:"right"===a.left&&(u=f.left+f.width):a.right?"left"===a.right?u=f.left-s:"right"===a.right&&(u=f.left+f.width-s):u=f.left+f.width/2-s/2,u+s>t?u-=u+s-t:u<0&&(u=0);var m=h.height;if(a.top){d="top"===a.top?f.top:f.bottom;var g=100-f.bottom/r*100;r===d||g<=20?(d="",m=p="bottom"===a.top?f.top:f.bottom,i.style.maxHeight=m+"px"):d>0?(m=r-d,i.style.maxHeight=m+"px"):m=r-d}else a.bottom?(m=p="bottom"===a.bottom?f.bottom:f.top,i.style.maxHeight=m+"px"):m=r-(d=f.top+f.height/2-h.height/2);y&&(h.height>m||m<r/10)&&(a.top&&d>r/2?(d="",m=p="bottom"===a.top?f.top:f.bottom):a.bottom&&m<r/2&&(p="",m=r-(d="bottom"===a.bottom?f.top:f.bottom))),i.style.left=u+"px",k&&(i.style.width=s+.1+"px"),""!==d&&(i.style.top=d+"px"),""!==p&&(i.style.bottom=r-p+"px"),e||(C.drop&&C.drop.maxHeight&&(m=Math.min(m,zd(C.drop.maxHeight))),i.style.maxHeight=m+"px")}l&&function(){var e=""!==(n||A).current.style.top?"top":"bottom";l(e)}()},r=function(){e=function(e,t){var n=[];if(e){for(var r=e.parentNode;r&&r.getBoundingClientRect;){var o=r.getBoundingClientRect();t?o.width&&r.scrollWidth>o.width+10&&n.push(r):o.height&&r.scrollHeight>o.height+10&&n.push(r),r=r.parentNode}n.length&&Mp.includes(n[0].tagName.toLowerCase())&&(n.length=0),n.push(document)}return n}(c),e.forEach((function(e){return e.addEventListener("scroll",t)}))},o=function(){e.forEach((function(e){return e.removeEventListener("scroll",t)})),e=[]},i=function(e){for(var t=null,n=_===document.body?e.target:null==e?void 0:e.composedPath()[0];null===t&&n!==document;){var r=n.getAttribute("data-g-portal-id");null!==r&&(t=parseInt(r,10)),n=n.parentNode}null!==t&&-1===S.indexOf(t)||p(e)},s=function(){o(),r(),t(!1)};return r(),window.addEventListener("resize",s),p&&document.addEventListener("mousedown",i),t(!1),function(){o(),window.removeEventListener("resize",s),p&&document.removeEventListener("mousedown",i)}}),[a,_,l,c,p,S,D,n,y,x,k,C.drop]),(0,t.useEffect)((function(){x&&(n||A).current.focus()}),[n,x]);var P=t.createElement(UT,YT({"aria-label":r||o,ref:n||A,as:HT,background:s,plain:v,elevation:v?void 0:d||C.global.drop.elevation||C.global.drop.shadowSize||"small",tabIndex:"-1",alignProp:a,overflow:g,"data-g-portal-id":D},E),u),L=(0,t.useMemo)((function(){var e;return(s||C.global.drop.background)&&(e=pd(s||C.global.drop.background,C)),YT({},C,{dark:e})}),[s,C]),M=L.dark;return void 0!==M&&M!==C.dark&&(P=t.createElement(Hc.ThemeContext.Provider,{value:L},P)),t.createElement(qp.Provider,{value:j},t.createElement($p,{onKeyDown:f&&GT,trapFocus:w},t.createElement(Up,{capture:!0,onEsc:f?function(e){e.stopPropagation(),f(e)}:void 0,onKeyDown:h,target:"document"},P)))})),XT=(Uc().string,Uc().oneOfType([Uc().oneOf(["baseline","center","end","start","stretch"]),Uc().string]),Uc().oneOf(["fadeIn","fadeOut","jiggle","pulse","rotateLeft","rotateRight","slideUp","slideDown","slideLeft","slideRight","zoomIn","zoomOut"])),JT=Uc().shape({type:XT,delay:Uc().number,duration:Uc().number,size:Uc().oneOf(["xsmall","small","medium","large","xlarge"])}),eF=Uc().oneOfType([XT,JT,Uc().arrayOf(Uc().oneOfType([XT,JT]))]),tF=Uc().oneOfType([Uc().string,Uc().shape({dark:Uc().string,light:Uc().string})]),nF=Uc().oneOfType([Uc().string,Uc().shape({clip:Uc().oneOfType([Uc().oneOf(["text"]),Uc().string]),color:tF,dark:Uc().oneOfType([Uc().bool,Uc().string]),image:Uc().string,position:Uc().string,opacity:Uc().oneOfType([Uc().string,Uc().bool,Uc().number,Uc().oneOf(["weak","medium","strong"])]),repeat:Uc().oneOfType([Uc().oneOf(["no-repeat","repeat"]),Uc().string]),rotate:Uc().oneOfType([Uc().number,Uc().string]),size:Uc().oneOfType([Uc().oneOf(["cover","contain"]),Uc().string]),light:Uc().string})]),rF=["xxsmall","xsmall","small","medium","large","xlarge"],oF=(Uc().oneOfType([Uc().oneOf(["none"].concat(rF)),Uc().shape({bottom:Uc().oneOfType([Uc().oneOf(rF),Uc().string]),end:Uc().oneOfType([Uc().oneOf(rF),Uc().string]),horizontal:Uc().oneOfType([Uc().oneOf(rF),Uc().string]),left:Uc().oneOfType([Uc().oneOf(rF),Uc().string]),right:Uc().oneOfType([Uc().oneOf(rF),Uc().string]),start:Uc().oneOfType([Uc().oneOf(rF),Uc().string]),top:Uc().oneOfType([Uc().oneOf(rF),Uc().string]),vertical:Uc().oneOfType([Uc().oneOf(rF),Uc().string])}),Uc().string]),["xxsmall","xsmall","small","medium","large","xlarge"]),iF=(Uc().oneOfType([Uc().oneOf(["none"].concat(oF)),Uc().shape({bottom:Uc().oneOfType([Uc().oneOf(oF),Uc().string]),end:Uc().oneOfType([Uc().oneOf(oF),Uc().string]),horizontal:Uc().oneOfType([Uc().oneOf(oF),Uc().string]),left:Uc().oneOfType([Uc().oneOf(oF),Uc().string]),right:Uc().oneOfType([Uc().oneOf(oF),Uc().string]),start:Uc().oneOfType([Uc().oneOf(oF),Uc().string]),top:Uc().oneOfType([Uc().oneOf(oF),Uc().string]),vertical:Uc().oneOfType([Uc().oneOf(oF),Uc().string])}),Uc().string]),Uc().oneOf(["start","center","end","stretch","baseline"]),Uc().string,Uc().oneOfType([Uc().oneOf(["none","xsmall","small","medium","large","xlarge"]),Uc().string])),aF=(Uc().oneOfType([Uc().bool,Uc().string,Uc().oneOf(["background"]),nF,Uc().shape({background:nF,elevation:iF})]),Uc().oneOf(["circle","diamond","square","star","triangle","triangleDown"]),Uc().oneOf(["squares","circles","stripesHorizontal","stripesVertical","stripesDiagonalDown","stripesDiagonalUp"]),Uc().oneOfType([Uc().bool,Uc().oneOf(["xsmall","small","medium","large","xlarge","full"]),Uc().string,Uc().shape({corner:Uc().oneOf(["top","left","bottom","right","top-left","top-right","bottom-left","bottom-right"]),size:Uc().oneOfType([Uc().oneOf(["xsmall","small","medium","large","xlarge"]),Uc().string])})]),Uc().shape({dark:Uc().arrayOf(Uc().string),light:Uc().arrayOf(Uc().string)})),sF=(Uc().oneOfType([Uc().bool,Uc().shape({animation:eF,colors:aF,depth:Uc().number,message:Uc().oneOfType([Uc().string,Uc().shape({start:Uc().string,end:Uc().end})])})]),Uc().oneOf(["xxsmall","xsmall","small","medium","large","xlarge","xxlarge"])),lF=(Uc().oneOfType([sF,Uc().string,Uc().shape({height:Uc().oneOfType([sF,Uc().string]),min:Uc().oneOfType([sF,Uc().string]),max:Uc().oneOfType([sF,Uc().string])})]),Uc().oneOfType([sF,Uc().string,Uc().shape({width:Uc().oneOfType([sF,Uc().string]),min:Uc().oneOfType([sF,Uc().string]),max:Uc().oneOfType([sF,Uc().string])})]),["auto","hidden","scroll","visible"]);Uc().oneOfType([Uc().oneOf(lF),Uc().shape({horizontal:Uc().oneOf(lF),vertical:Uc().oneOf(lF)}),Uc().string]);var uF={},cF=["inline","restrictFocus","target","trapFocus"];function dF(){return dF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dF.apply(this,arguments)}var pF=(0,t.forwardRef)((function(e,n){var o=e.inline,i=e.restrictFocus,a=e.target,s=e.trapFocus,l=void 0===s||s,u=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,cF),c=(0,t.useContext)(Hc.ThemeContext)||mp.theme,d=(0,t.useState)(),p=d[0],f=d[1];(0,t.useEffect)((function(){return f(document.activeElement)}),[]);var h=(0,t.useState)(),m=h[0],g=h[1],v=(0,t.useContext)(Xc),y=(0,t.useRef)(null);(0,t.useEffect)((function(){null!=y&&y.current||(y.current=v.childNodes.length,g(o?void 0:Np(v)))}),[v,o]),(0,t.useEffect)((function(){return function(){i&&p&&(p.focus?Op(p):p.parentNode&&p.parentNode.focus&&Op(p.parentNode)),m&&v.removeChild(m)}}),[v,m,p,i]);var x=t.createElement(QT,dF({ref:n,dir:c&&c.dir,dropTarget:a,restrictFocus:i,trapFocus:l},u));return o?x:m?(0,r.createPortal)(x,m):null}));pF.displayName="Drop",pF.propTypes=uF;var fF=function(){var e=(0,t.useState)(),n=e[0],r=e[1];return(0,t.useEffect)((function(){var e=function(){return r(!1)},t=function(){return r(!0)};return document.addEventListener("mousedown",e),document.addEventListener("keydown",t),function(){document.removeEventListener("mousedown",e),document.removeEventListener("keydown",t)}}),[]),n};var hF={};function mF(){return mF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mF.apply(this,arguments)}var gF=(0,t.forwardRef)((function(e,n){var r=e.children,o=e.content,i=e.dropProps,a=e.plain,s=(0,t.useContext)(Hc.ThemeContext),l=(0,t.useState)(!1),u=l[0],c=l[1],d=fF(),p=vd(n),f=t.Children.count(r)<=1&&!t.isValidElement(r)&&t.createElement("span",null,r)||t.Children.only(r);return[(0,t.cloneElement)(f,{onMouseEnter:function(e){var t;c(!0),null!=(t=f.props)&&t.onMouseEnter&&f.props.onMouseEnter(e)},onMouseLeave:function(e){var t;c(!1),null!=(t=f.props)&&t.onMouseLeave&&f.props.onMouseLeave(e)},onFocus:function(e){var t;d&&c(!0),null!=(t=f.props)&&t.onFocus&&f.props.onFocus(e)},onBlur:function(e){var t;d&&c(!1),null!=(t=f.props)&&t.onBlur&&f.props.onBlur(e)},key:"tip-child",ref:function(e){"function"===typeof p?p(e):p&&(p.current=e);var t=f.ref;"function"===typeof t?t(e):t&&(t.current=e)}}),u&&t.createElement(pF,mF({target:p.current,trapFocus:!1,key:"tip-drop"},s.tip.drop,i),a?o:t.createElement(HT,s.tip.content,o))]}));gF.displayName="Tip",gF.propTypes=hF;var vF={};var yF={},xF=Hc.default.div.withConfig({displayName:"StyledSkeleton",componentId:"sc-1omqm6u-0"})(["display:flex;box-sizing:border-box;"," "," "," "," "," ",""],rp,(function(e){return e.background&&md(e.background,e.theme)}),(function(e){var t,n;return hp(e.heightProp||(null==(t=e.theme.text)||null==(n=t.medium)?void 0:n.height),e.theme)}),(function(e){return fp(e.widthProp||"100%",e.theme)}),(function(e){return e.pad&&Qd("padding",e.pad,e.responsive,e.theme.box.responsiveBreakpoint,e.theme)}),(function(e){return e.round&&ip(e.round,e.responsive,e.theme)})),bF=["as","colors","width","height"];function kF(){return kF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kF.apply(this,arguments)}var wF=(0,t.forwardRef)((function(e,n){var r,o=e.as,i=e.colors,a=e.width,s=e.height,l=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,bF),u=(0,t.useContext)(Hc.ThemeContext)||mp.theme,c=FT(),d=(null==c?void 0:c.depth)||0,p=(i||(null==u||null==(r=u.skeleton)?void 0:r.colors))[u.dark?"dark":"light"],f=p[(d+1)%p.length];return t.createElement(xF,kF({ref:n,as:o,background:f,widthProp:a,heightProp:s},l))}));wF.displayName="Skeleton",wF.propTypes=yF;var EF=["as","size"];function _F(){return _F=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_F.apply(this,arguments)}var CF=(0,t.forwardRef)((function(e,n){var r=e.as,o=e.size,i=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,EF),a=(0,t.useContext)(Hc.ThemeContext)||mp.theme,s=o||"medium",l=a.text[s],u=l?l.size:o;return t.createElement(wF,_F({ref:n,as:r,height:u},a.text.skeleton,i))}));CF.displayName="TextSkeleton";var SF=["children","color","tag","as","tip","a11yTitle","truncate","size","skeleton"];function DF(){return DF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},DF.apply(this,arguments)}var jF=(0,t.forwardRef)((function(e,n){var r=e.children,o=e.color,i=e.tag,a=e.as,s=e.tip,l=e.a11yTitle,u=void 0===l?"string"===typeof s&&s||(null==s?void 0:s.content)||void 0:l,c=e.truncate,d=e.size,p=e.skeleton,f=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,SF),h=vd(n),m=(0,t.useState)(!1),g=m[0],v=m[1],y=FT();if(Lp((function(){var e=function(){v(!1),"tip"===c&&h.current&&h.current.scrollWidth>h.current.offsetWidth&&v(!0)};return window.addEventListener("resize",e),e(),function(){return window.removeEventListener("resize",e)}}),[h,c]),y)return t.createElement(CF,DF({ref:n,as:a,size:d},p,f));var x=t.createElement(sT,DF({as:!a&&i?i:a,colorProp:o,"aria-label":u,truncate:c,size:d},f,{ref:h}),r);if(s||g){if(g)return t.createElement(gF,DF({content:r},s),x);if("tip"!==c)return t.createElement(gF,s,x)}return x}));jF.displayName="Text",jF.defaultProps={level:1},jF.propTypes=vF;class AF extends t.Component{render(){var e;return(0,Cs.jsxs)(uO.div,{initial:"pageInitial",animate:"pageAnimate",exit:"pageExit",variants:{pageInitial:{y:400,opacity:0},pageAnimate:{y:0,opacity:1},pageExit:{y:-400,opacity:0}},className:bs`
          background: #ffffff;

          box-shadow: 0px 2px 8px rgba(37, 40, 45, 0.25);
          border-radius: 8px;
          padding: 24px;
          margin-bottom: 32px;

          text-align: left;
        `,children:[(0,Cs.jsxs)("h1",{className:bs`
            color: #25282d;
            font-size: 23px;
            line-height: 32px;
            margin-block-start: 0px;
            margin-block-end: 0px;
          `,children:[" ","How many doctor visits do you anticipate this year?",!this.props.isSurvey&&this.props.info]}),(0,Cs.jsxs)(jF,{body:!0,className:bs`
            color: ${ks.gray[500]};
          `,children:["*Do not include preventive care visits."," ",(null===(e=this.props.fedexVerbiageChangesFF)||void 0===e?void 0:e.value)&&(0,Cs.jsx)("span",{children:"Utilizing virtual care may reduce the costs of doctor visits."})]}),this.props.shouldDisplayDependentQuestions&&(0,Cs.jsx)("div",{className:bs`
              font-family: 'Roboto';
              font-style: normal;
              font-weight: 700;
              font-size: 18px;
              line-height: 24px;
              /* identical to box height, or 133% */

              letter-spacing: 0.15px;

              color: #25282d;
              margin-top: 16px;
            `,children:"For you"}),(0,Cs.jsxs)("div",{className:bs`
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 8px;
            flex-wrap: wrap;
          `,children:[(0,Cs.jsx)("div",{className:bs`
              margin-top: 16px;
            `,children:(0,Cs.jsx)(IO,{value:this.props.numberOfficeVisits,id:"office-input",label:"Office",variant:"outlined",type:"number",placeholder:"# of office visits",inputProps:{inputMode:"numeric"},onChange:e=>{e.target.value>=0&&this.props.setNumberOfficeVisits(e.target.value)}})}),(0,Cs.jsx)("div",{className:bs`
              margin-top: 16px;
            `,children:(0,Cs.jsx)(IO,{value:this.props.numberSpecialtyVisits,id:"specialist-input",label:"Specialist",variant:"outlined",type:"number",placeholder:"# of specialist visits",inputProps:{inputMode:"numeric"},onChange:e=>{e.target.value>=0&&this.props.setNumberSpecialtyVisits(e.target.value)}})})]}),this.props.shouldDisplayDependentQuestions&&(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsx)("div",{className:bs`
                font-family: 'Roboto';
                font-style: normal;
                font-weight: 700;
                font-size: 18px;
                line-height: 24px;
                /* identical to box height, or 133% */

                letter-spacing: 0.15px;

                color: #25282d;
                margin-top: 24px;
              `,children:"For your dependents"}),(0,Cs.jsxs)("div",{className:bs`
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-top: 8px;
                flex-wrap: wrap;
              `,children:[(0,Cs.jsx)("div",{className:bs`
                  margin-top: 16px;
                `,children:(0,Cs.jsx)(IO,{value:this.props.dependantNumberOfficeVisits,id:"office-input",label:"Office",variant:"outlined",type:"number",placeholder:"# of office visits",inputProps:{inputMode:"numeric"},onChange:e=>{e.target.value>=0&&this.props.setDependantNumberOfficeVisits(e.target.value)}})}),(0,Cs.jsx)("div",{className:bs`
                  margin-top: 16px;
                `,children:(0,Cs.jsx)(IO,{value:this.props.dependantNumberSpecialtyVisits,id:"specialist-input",label:"Specialist",variant:"outlined",type:"number",placeholder:"# of specialist visits",inputProps:{inputMode:"numeric"},onChange:e=>{e.target.value>=0&&this.props.setDependantNumberSpecialtyVisits(e.target.value)}})})]})]}),(0,Cs.jsx)("div",{className:bs`
            font-family: 'Roboto';
            font-style: normal;
            font-weight: 400;
            font-size: 12px;
            line-height: 24px;
            /* identical to box height, or 200% */

            letter-spacing: 0.15px;

            color: #9aa7b5;
            margin-top: 16px;
          `,children:this.props.questionDisclaimerText})]},`drvisits_question${this.props.type}`)}}const PF={Generics:"Generics (Tier 1)",Preferred:"Preferred (Tier 2)","Brand Name":"Non-Preferred (Tier 3)",Specialty:"Specialty (Tier 4)"};class LF extends t.Component{constructor(){super(...arguments),this.prescriptionTierLabel=e=>{var t;return null!==(t=this.props.fedexVerbiageChangesFF)&&void 0!==t&&t.value&&PF[e]||e}}render(){var e;return(0,Cs.jsxs)(uO.div,{initial:"pageInitial",animate:"pageAnimate",exit:"pageExit",variants:{pageInitial:{y:400,opacity:0},pageAnimate:{y:0,opacity:1},pageExit:{y:-400,opacity:0}},className:bs`
          background: #ffffff;

          box-shadow: 0px 2px 8px rgba(37, 40, 45, 0.25);
          border-radius: 8px;
          padding: 24px;
          margin-bottom: 32px;

          text-align: left;
        `,children:[(0,Cs.jsxs)("h1",{className:bs`
            color: #25282d;
            font-size: 23px;
            line-height: 32px;
            margin-block-start: 0px;
            margin-block-end: 12px;
          `,children:[" ","personal"===this.props.type?"How many prescriptions do you take every month?":"How many prescriptions do your dependents take every month?"," "]}),(null===(e=this.props.fedexVerbiageChangesFF)||void 0===e?void 0:e.value)&&(0,Cs.jsxs)(jF,{body:!0,className:bs`
              color: ${ks.gray[500]};
            `,children:["*30-day Retail Supply"," "]}),this.props.shouldDisplayDependentQuestions&&(0,Cs.jsx)("div",{className:bs`
              font-family: 'Roboto';
              font-style: normal;
              font-weight: 700;
              font-size: 18px;
              line-height: 24px;
              /* identical to box height, or 133% */

              letter-spacing: 0.15px;

              color: #25282d;
              margin-top: 16px;
            `,children:"For you"}),(0,Cs.jsxs)("div",{className:bs`
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 4px;
            flex-wrap: wrap;
          `,children:[(0,Cs.jsx)("div",{className:bs`
              margin-top: 16px;
            `,children:(0,Cs.jsx)(IO,{value:this.props.numberGenericMeds,id:"Generics-input",label:this.prescriptionTierLabel("Generics"),variant:"outlined",type:"number",placeholder:"# of generics",inputProps:{inputMode:"numeric"},onChange:e=>{e.target.value>=0&&this.props.setNumberGenericMeds(e.target.value)}})}),(0,Cs.jsx)("div",{className:bs`
              margin-top: 16px;
            `,children:(0,Cs.jsx)(IO,{value:this.props.numberBrandMeds,id:"brand-name-input",label:this.prescriptionTierLabel("Brand Name"),variant:"outlined",type:"number",placeholder:"# of brand name",inputProps:{inputMode:"numeric"},onChange:e=>{e.target.value>=0&&this.props.setNumberBrandMeds(e.target.value)}})}),(0,Cs.jsx)("div",{className:bs`
              margin-top: 16px;
            `,children:(0,Cs.jsx)(IO,{placeholder:"# of preferred drugs",value:this.props.numberPreferredMeds,id:"preferred-input",label:this.prescriptionTierLabel("Preferred"),variant:"outlined",type:"number",inputProps:{inputMode:"numeric"},onChange:e=>{e.target.value>=0&&this.props.setNumberPreferredMeds(e.target.value)}})}),(0,Cs.jsx)("div",{className:bs`
              margin-top: 16px;
            `,children:(0,Cs.jsx)(IO,{placeholder:"# of specialty",value:this.props.numberSpecialtyMeds,id:"specialty-input",label:this.prescriptionTierLabel("Specialty"),variant:"outlined",type:"number",inputProps:{inputMode:"numeric"},onChange:e=>{e.target.value>=0&&this.props.setNumberSpecialtyMeds(e.target.value)}})})]}),this.props.shouldDisplayDependentQuestions&&(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsx)("div",{className:bs`
                font-family: 'Roboto';
                font-style: normal;
                font-weight: 700;
                font-size: 18px;
                line-height: 24px;
                /* identical to box height, or 133% */

                letter-spacing: 0.15px;

                color: #25282d;
                margin-top: 24px;
              `,children:"For your dependents"}),(0,Cs.jsxs)("div",{className:bs`
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-top: 4px;
                flex-wrap: wrap;
              `,children:[(0,Cs.jsx)("div",{className:bs`
                  margin-top: 16px;
                `,children:(0,Cs.jsx)(IO,{value:this.props.dependantNumberGenericMeds,id:"Generics-input",label:this.prescriptionTierLabel("Generics"),variant:"outlined",type:"number",placeholder:"# of generics",inputProps:{inputMode:"numeric"},onChange:e=>{e.target.value>=0&&this.props.setDependantNumberGenericMeds(e.target.value)}})}),(0,Cs.jsx)("div",{className:bs`
                  margin-top: 16px;
                `,children:(0,Cs.jsx)(IO,{value:this.props.dependantNumberBrandMeds,id:"brand-name-input",label:this.prescriptionTierLabel("Brand Name"),variant:"outlined",type:"number",placeholder:"# of brand name",inputProps:{inputMode:"numeric"},onChange:e=>{e.target.value>=0&&this.props.setDependantNumberBrandMeds(e.target.value)}})}),(0,Cs.jsx)("div",{className:bs`
                  margin-top: 16px;
                `,children:(0,Cs.jsx)(IO,{placeholder:"# of preferred drugs",value:this.props.dependantNumberPreferredMeds,id:"preferred-input",label:this.prescriptionTierLabel("Preferred"),variant:"outlined",type:"number",inputProps:{inputMode:"numeric"},onChange:e=>{e.target.value>=0&&this.props.setDependantNumberPreferredMeds(e.target.value)}})}),(0,Cs.jsx)("div",{className:bs`
                  margin-top: 16px;
                `,children:(0,Cs.jsx)(IO,{placeholder:"# of specialty",value:this.props.dependantNumberSpecialtyMeds,id:"specialty-input",label:this.prescriptionTierLabel("Specialty"),variant:"outlined",type:"number",inputProps:{inputMode:"numeric"},onChange:e=>{e.target.value>=0&&this.props.setDependantNumberSpecialtyMeds(e.target.value)}})})]})]}),(0,Cs.jsx)("div",{className:bs`
            font-family: 'Roboto';
            font-style: normal;
            font-weight: 400;
            font-size: 12px;
            line-height: 24px;
            /* identical to box height, or 200% */

            letter-spacing: 0.15px;

            color: #9aa7b5;
            margin-top: 16px;
          `,children:this.props.questionDisclaimerText})]},`meds_question${this.props.type}`)}}class MF extends t.Component{render(){return(0,Cs.jsxs)(uO.div,{initial:"pageInitial",animate:"pageAnimate",exit:"pageExit",variants:{pageInitial:{y:400,opacity:0},pageAnimate:{y:0,opacity:1},pageExit:{y:-400,opacity:0}},className:bs`
          background: #ffffff;

          box-shadow: 0px 2px 8px rgba(37, 40, 45, 0.25);
          border-radius: 8px;
          padding: 24px;
          margin-bottom: 32px;
          text-align: left;
        `,children:[(0,Cs.jsxs)("h1",{className:bs`
            color: #25282d;
            font-size: 23px;
            line-height: 32px;
            margin-block-start: 0px;
            margin-block-end: 12px;
          `,children:[" ","personal"===this.props.type?"How many visits have you had in the last year?":"How many visits have your dependents had in the last year?"," "]}),this.props.shouldDisplayDependentQuestions&&(0,Cs.jsx)("div",{className:bs`
              font-family: 'Roboto';
              font-style: normal;
              font-weight: 700;
              font-size: 18px;
              line-height: 24px;
              /* identical to box height, or 133% */

              letter-spacing: 0.15px;

              color: #25282d;
              margin-top: 16px;
            `,children:"For you"}),(0,Cs.jsxs)("div",{className:bs`
            display: flex;
            justify-content: space-between;
            align-items: center;

            flex-wrap: wrap;
          `,children:[(0,Cs.jsx)("div",{className:bs`
              margin-top: 16px;
            `,children:(0,Cs.jsx)(IO,{placeholder:"# of urgent care visits",value:this.props.numberUrgentVisits,id:"urgent-care-input",label:"Urgent Care",variant:"outlined",type:"number",inputProps:{inputMode:"numeric"},onChange:e=>{e.target.value>=0&&this.props.setUrgentCareVisits(e.target.value)}})}),(0,Cs.jsx)("div",{className:bs`
              margin-top: 16px;
            `,children:(0,Cs.jsx)(IO,{placeholder:"# of er visits",value:this.props.numberERVisits,id:"ER-input",label:"ER",variant:"outlined",type:"number",inputProps:{inputMode:"numeric"},onChange:e=>{e.target.value>=0&&this.props.setERVisits(e.target.value)}})})]}),this.props.shouldDisplayDependentQuestions&&(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsx)("div",{className:bs`
                font-family: 'Roboto';
                font-style: normal;
                font-weight: 700;
                font-size: 18px;
                line-height: 24px;
                /* identical to box height, or 133% */

                letter-spacing: 0.15px;

                color: #25282d;
                margin-top: 24px;
              `,children:"For your dependents"}),(0,Cs.jsxs)("div",{className:bs`
                display: flex;
                justify-content: space-between;
                align-items: center;

                flex-wrap: wrap;
              `,children:[(0,Cs.jsx)("div",{className:bs`
                  margin-top: 16px;
                `,children:(0,Cs.jsx)(IO,{placeholder:"# of urgent care visits",value:this.props.dependantUrgentCareVisits,id:"urgent-care-input",label:"Urgent Care",variant:"outlined",type:"number",inputProps:{inputMode:"numeric"},onChange:e=>{e.target.value>=0&&this.props.setDependantUrgentCareVisits(e.target.value)}})}),(0,Cs.jsx)("div",{className:bs`
                  margin-top: 16px;
                `,children:(0,Cs.jsx)(IO,{placeholder:"# of er visits",value:this.props.dependantERVisits,id:"ER-input",label:"ER",variant:"outlined",type:"number",inputProps:{inputMode:"numeric"},onChange:e=>{e.target.value>=0&&this.props.setDependantERVisits(e.target.value)}})})]})]}),(0,Cs.jsx)("div",{className:bs`
            font-family: 'Roboto';
            font-style: normal;
            font-weight: 400;
            font-size: 12px;
            line-height: 24px;
            /* identical to box height, or 200% */

            letter-spacing: 0.15px;

            color: #9aa7b5;
            margin-top: 16px;
          `,children:this.props.questionDisclaimerText})]},`urgent_question${this.props.type}`)}}class NF extends t.Component{render(){return(0,Cs.jsxs)(uO.div,{initial:"pageInitial",animate:"pageAnimate",exit:"pageExit",variants:{pageInitial:{y:400,opacity:0},pageAnimate:{y:0,opacity:1},pageExit:{y:-400,opacity:0}},className:bs`
          background: #ffffff;

          box-shadow: 0px 2px 8px rgba(37, 40, 45, 0.25);
          border-radius: 8px;
          padding: 24px;
          margin-bottom: 32px;
          text-align: left;
        `,children:[(0,Cs.jsxs)("h1",{className:bs`
            color: #25282d;
            font-size: 23px;
            line-height: 32px;
            margin-block-start: 0px;
            margin-block-end: 24px;
          `,children:[" ","personal"===this.props.type?this.props.isSurvey?"Are you planning to have a baby within the next 24 months?":"Are you planning to have a baby this year?":this.props.isSurvey?"Are any of your dependents planning to have a baby within the next 24 months?":"Are any of your dependents planning to have a baby this year?",!this.props.isSurvey&&this.props.info]}),this.props.shouldDisplayDependentQuestions&&(0,Cs.jsx)("div",{className:bs`
              font-family: 'Roboto';
              font-style: normal;
              font-weight: 700;
              font-size: 18px;
              line-height: 24px;
              /* identical to box height, or 133% */

              letter-spacing: 0.15px;

              color: #25282d;
              margin-top: 16px;
            `,children:"For you"}),(0,Cs.jsx)("div",{className:bs`
            margin-top: 25px;
          `,children:(0,Cs.jsx)(HO,{"aria-label":"baby",name:"baby",value:this.props.baby,options:[{value:!0,label:"Yes"},{value:!1,label:"No"}],onClick:e=>{this.props.setBaby(e)}})}),this.props.shouldDisplayDependentQuestions&&(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsx)("div",{className:bs`
                font-family: 'Roboto';
                font-style: normal;
                font-weight: 700;
                font-size: 18px;
                line-height: 24px;
                /* identical to box height, or 133% */

                letter-spacing: 0.15px;

                color: #25282d;
                margin-top: 24px;
              `,children:"For your dependents"}),(0,Cs.jsx)("div",{className:bs`
                margin-top: 25px;
              `,children:(0,Cs.jsx)(HO,{"aria-label":"baby",name:"baby",value:this.props.dependantBaby,options:[{value:!0,label:"Yes"},{value:!1,label:"No"}],onClick:e=>{this.props.setDependantBaby(e)}})})]}),(0,Cs.jsx)("div",{className:bs`
            font-family: 'Roboto';
            font-style: normal;
            font-weight: 400;
            font-size: 12px;
            line-height: 24px;
            /* identical to box height, or 200% */

            letter-spacing: 0.15px;

            color: #9aa7b5;
            margin-top: 16px;
          `,children:this.props.questionDisclaimerText})]},`baby_question${this.props.type}`)}}class OF extends t.Component{render(){return(0,Cs.jsxs)(uO.div,{initial:"pageInitial",animate:"pageAnimate",exit:"pageExit",variants:{pageInitial:{y:400,opacity:0},pageAnimate:{y:0,opacity:1},pageExit:{y:-400,opacity:0}},className:bs`
          box-shadow: 0px 2px 8px rgba(37, 40, 45, 0.25);
          border-radius: 8px;
          background: #ffffff;
          padding: 24px;
          margin-bottom: 32px;
          text-align: left;
        `,children:[(0,Cs.jsxs)("h1",{className:bs`
            color: #25282d;
            font-size: 23px;
            line-height: 32px;
            margin-block-start: 0px;
            margin-block-end: 24px;
          `,children:["personal"===this.props.type?this.props.isSurvey?"Do you have any surgeries planned for next year?":"Do you have any surgeries planned for this year?":this.props.isSurvey?"Do your dependents have any surgeries planned for next year?":"Do your dependents have any surgeries planned for this year?",!this.props.isSurvey&&this.props.info]}),this.props.shouldDisplayDependentQuestions&&(0,Cs.jsx)("div",{className:bs`
              font-family: 'Roboto';
              font-style: normal;
              font-weight: 700;
              font-size: 18px;
              line-height: 24px;
              /* identical to box height, or 133% */

              letter-spacing: 0.15px;

              color: #25282d;
              margin-top: 16px;
            `,children:"For you"}),(0,Cs.jsx)(zO,{MenuProps:{style:{zIndex:35001}},className:bs`
            min-width: 250px;
          `,labelId:"surgery-label",id:"surgery-label-id",value:this.props.plannedSurgeries,onChange:e=>this.props.setPlannedSurgeries(e),label:"Select surgery",children:["None","Minor Outpatient","Minor Inpatient","Major Inpatient"].map((e=>(0,Cs.jsx)(xE,{value:e,children:e},e)))}),this.props.shouldDisplayDependentQuestions&&(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsx)("div",{className:bs`
                font-family: 'Roboto';
                font-style: normal;
                font-weight: 700;
                font-size: 18px;
                line-height: 24px;
                /* identical to box height, or 133% */

                letter-spacing: 0.15px;

                color: #25282d;
                margin-top: 24px;
              `,children:"For your dependents"}),(0,Cs.jsx)(zO,{MenuProps:{style:{zIndex:35001}},className:bs`
                min-width: 250px;
              `,labelId:"surgery-label",id:"surgery-label-id",value:this.props.dependantPlannedSurgeries,onChange:e=>this.props.setDependantPlannedSurgeries(e),label:"Select surgery",children:["None","Minor Outpatient","Minor Inpatient","Major Inpatient"].map((e=>(0,Cs.jsx)(xE,{value:e,children:e},e)))})]}),(0,Cs.jsx)("div",{className:bs`
            font-family: 'Roboto';
            font-style: normal;
            font-weight: 400;
            font-size: 12px;
            line-height: 24px;
            /* identical to box height, or 200% */

            letter-spacing: 0.15px;

            color: #9aa7b5;
            margin-top: 16px;
          `,children:this.props.questionDisclaimerText})]},`srugry_question${this.props.type}`)}}class TF extends t.Component{render(){return(0,Cs.jsxs)(uO.div,{initial:"pageInitial",animate:"pageAnimate",exit:"pageExit",variants:{pageInitial:{y:400,opacity:0},pageAnimate:{y:0,opacity:1},pageExit:{y:-400,opacity:0}},className:bs`
          box-shadow: 0px 2px 8px rgba(37, 40, 45, 0.25);
          border-radius: 8px;
          background: #ffffff;
          padding: 24px;
          margin-bottom: 32px;
          text-align: left;
        `,children:[(0,Cs.jsxs)("h1",{className:bs`
            color: #25282d;
            font-size: 23px;
            line-height: 32px;
            margin-block-start: 0px;
            margin-block-end: 24px;
          `,children:["personal"===this.props.type?"Are you currently receiving treatment for any of the below conditions?":"Are your dependents receiving treatment for any of the below conditions?"," "]}),this.props.shouldDisplayDependentQuestions&&(0,Cs.jsx)("div",{className:bs`
              font-family: 'Roboto';
              font-style: normal;
              font-weight: 700;
              font-size: 18px;
              line-height: 24px;
              /* identical to box height, or 133% */

              letter-spacing: 0.15px;

              color: #25282d;
              margin-top: 16px;
            `,children:"For you"}),(0,Cs.jsx)(zO,{MenuProps:{style:{zIndex:35001}},className:bs`
            min-width: 250px;
          `,labelId:"conditions-label",id:"conditions-label-id",value:this.props.medicalConditions,onChange:e=>this.props.setMedicalConditions(e),label:"Select condition",children:["None","Kidney Dialysis","Diabetes","Cancer","Auto-immune Disorder","Lung Disorders","End-Stage Renal Failure"].map((e=>(0,Cs.jsx)(xE,{value:e,children:e},e)))}),this.props.shouldDisplayDependentQuestions&&(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsx)("div",{className:bs`
                font-family: 'Roboto';
                font-style: normal;
                font-weight: 700;
                font-size: 18px;
                line-height: 24px;
                /* identical to box height, or 133% */

                letter-spacing: 0.15px;

                color: #25282d;
                margin-top: 24px;
              `,children:"For your dependents"}),(0,Cs.jsx)(zO,{MenuProps:{style:{zIndex:35001}},className:bs`
                min-width: 250px;
              `,labelId:"conditions-label",id:"conditions-label-id",value:this.props.dependantMedicalConditions,onChange:e=>this.props.setDependantMedicalConditions(e),label:"Select condition",children:["None","Kidney Dialysis","Diabetes","Cancer","Auto-immune Disorder","Lung Disorders","End-Stage Renal Failure"].map((e=>(0,Cs.jsx)(xE,{value:e,children:e},e)))})]}),(0,Cs.jsx)("div",{className:bs`
            font-family: 'Roboto';
            font-style: normal;
            font-weight: 400;
            font-size: 12px;
            line-height: 24px;
            /* identical to box height, or 200% */

            letter-spacing: 0.15px;

            color: #9aa7b5;
            margin-top: 16px;
          `,children:this.props.questionDisclaimerText})]},`med-condisit_question${this.props.type}`)}}var FF=t.forwardRef((function(e,n){var r=e.autoFocus,i=e.checked,a=e.checkedIcon,s=e.classes,l=e.className,u=e.defaultChecked,c=e.disabled,d=e.icon,p=e.id,f=e.inputProps,h=e.inputRef,m=e.name,g=e.onBlur,v=e.onChange,y=e.onFocus,x=e.readOnly,b=e.required,k=e.tabIndex,w=e.type,E=e.value,_=(0,Is.A)(e,["autoFocus","checked","checkedIcon","classes","className","defaultChecked","disabled","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"]),C=(0,Au.A)({controlled:i,default:Boolean(u),name:"SwitchBase",state:"checked"}),S=(0,Rs.A)(C,2),D=S[0],j=S[1],A=Nf(),P=c;A&&"undefined"===typeof P&&(P=A.disabled);var L="checkbox"===w||"radio"===w;return t.createElement(zC,(0,Fs.A)({component:"span",className:(0,o.A)(s.root,l,D&&s.checked,P&&s.disabled),disabled:P,tabIndex:null,role:void 0,onFocus:function(e){y&&y(e),A&&A.onFocus&&A.onFocus(e)},onBlur:function(e){g&&g(e),A&&A.onBlur&&A.onBlur(e)},ref:n},_),t.createElement("input",(0,Fs.A)({autoFocus:r,checked:i,defaultChecked:u,className:s.input,disabled:P,id:L&&p,name:m,onChange:function(e){var t=e.target.checked;j(t),v&&v(e,t)},readOnly:x,ref:h,required:b,tabIndex:k,type:w,value:E},f)),D?a:d)}));const RF=(0,$s.A)({root:{padding:9},checked:{},disabled:{},input:{cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}},{name:"PrivateSwitchBase"})(FF),IF=(0,Of.A)(t.createElement("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"}),"CheckBoxOutlineBlank"),BF=(0,Of.A)(t.createElement("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"}),"CheckBox"),WF=(0,Of.A)(t.createElement("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"}),"IndeterminateCheckBox");var zF=t.createElement(BF,null),$F=t.createElement(IF,null),HF=t.createElement(WF,null),VF=t.forwardRef((function(e,n){var r=e.checkedIcon,i=void 0===r?zF:r,a=e.classes,s=e.color,l=void 0===s?"secondary":s,u=e.icon,c=void 0===u?$F:u,d=e.indeterminate,p=void 0!==d&&d,f=e.indeterminateIcon,h=void 0===f?HF:f,m=e.inputProps,g=e.size,v=void 0===g?"medium":g,y=(0,Is.A)(e,["checkedIcon","classes","color","icon","indeterminate","indeterminateIcon","inputProps","size"]),x=p?h:c,b=p?h:i;return t.createElement(RF,(0,Fs.A)({type:"checkbox",classes:{root:(0,o.A)(a.root,a["color".concat((0,Hs.A)(l))],p&&a.indeterminate),checked:a.checked,disabled:a.disabled},color:l,inputProps:(0,Fs.A)({"data-indeterminate":p},m),icon:t.cloneElement(x,{fontSize:void 0===x.props.fontSize&&"small"===v?v:x.props.fontSize}),checkedIcon:t.cloneElement(b,{fontSize:void 0===b.props.fontSize&&"small"===v?v:b.props.fontSize}),ref:n},y))}));const UF=(0,$s.A)((function(e){return{root:{color:e.palette.text.secondary},checked:{},disabled:{},indeterminate:{},colorPrimary:{"&$checked":{color:e.palette.primary.main,"&:hover":{backgroundColor:(0,zs.X4)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}},colorSecondary:{"&$checked":{color:e.palette.secondary.main,"&:hover":{backgroundColor:(0,zs.X4)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}}}}),{name:"MuiCheckbox"})(VF),qF=e=>{let{setDisclaimerError:t,disclaimerError:n,setDisclaimerAccepted:r,disclaimerAccepted:o}=e;return(0,Cs.jsxs)(uO.div,{initial:"pageInitial",animate:"pageAnimate",exit:"pageExit",variants:{pageInitial:{x:400,opacity:0},pageAnimate:{x:0,opacity:1},pageExit:{x:-400,opacity:0}},className:bs`
        background: #ffffff;

        box-shadow: 0px 2px 8px rgba(37, 40, 45, 0.25);
        border-radius: 8px;
        padding: 24px;
        margin-bottom: 32px;
        text-align: left;
      `,children:[(0,Cs.jsx)("div",{className:bs`
          color: #25282d;

          font-feature-settings: 'clig' off, 'liga' off;
          font-family: Roboto;
          font-size: 24px;
          font-style: normal;
          font-weight: 700;
          line-height: 32px;
          text-align: left;
        `,children:"Terms & Conditions"}),(0,Cs.jsxs)("div",{className:bs`
          text-align: left;
          color: var(--400, #66737f);
          font-feature-settings: 'clig' off, 'liga' off;
          text-overflow: ellipsis;
          font-family: Roboto;
          font-size: 14px;
          font-style: normal;
          font-weight: 400;
          line-height: 24px; /* 171.429% */
          letter-spacing: 0.15px;
          margin-top: 16px;
          height: 140px;
          overflow: auto;
          padding-right: 32px;
        `,children:[" ","You assume full responsibility for the correct information relied upon by the software and for verifying the results obtained by its use. The results provided to you are based off estimates and the software does not guarantee that the recommendations will be reflective of your actual costs for the year. In no event will the provider of this software and/or service be liable to you for any indirect, incidental, consequential, special, or exemplary damages arising out of or in connection with your use or inability to use the software and/or the license. In no event will the provider of this software and/or service be liable to you for the breach of any express or implied warranty, or otherwise in connection with your use of the software and/or the license, even if the provider of this software and/or service has been advised of the possibility of such damages. In no event shall the total liability of the provider of this software and/or service for any damages, direct or indirect, in connection with the software and/or this license exceed the license fees paid for your right to use the software whether such liability arises from any claim based upon contract, warrants, tort, or otherwise. In the event of a conflict between the information provided by this software and/or service and your employer's group health plan, the rules of the employer's group health plan will take precedence."]}),(0,Cs.jsxs)("div",{className:bs`
          display: flex;
          align-items: center;

          margin-top: 24px;
          padding-left: 24px;
          padding-right: 24px;
          padding-top: 12px;
          padding-bottom: 12px;
          border-radius: 8px;
          border: ${o?"2px solid #212326":n?"2px solid #EB4E3D":"2px solid #9aa7b5"};
          max-width: 310px;
          cursor: pointer;
        `,onClick:()=>{o||t(!1),r(!o)},children:[(0,Cs.jsx)(UF,{style:{marginRight:"16px",padding:0,width:"16px"},checked:o,color:"primary",onChange:e=>{r(e.target.checked),e.target.checked&&t(!1)}}),(0,Cs.jsx)("div",{className:bs`
            color: #25282d;

            font-feature-settings: 'clig' off, 'liga' off;
            font-family: Roboto;
            font-size: 18px;
            font-style: normal;
            font-weight: 700;
            line-height: 24px; /* 133.333% */
            letter-spacing: 0.15px;
          `,children:"I Accept"})]}),n&&(0,Cs.jsx)("div",{className:bs`
            color: var(--Red, #eb4e3d);

            font-family: Roboto;
            font-size: 16px;
            font-style: normal;
            font-weight: 400;
            line-height: 24px; /* 150% */
            letter-spacing: 0.15px;
            margin-top: 12px;
          `,children:"Must accept Terms to see results"})]},"disclaimer_question")};var YF=n(3480),GF=new Map;GF.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"128",y1:"80",x2:"128",y2:"132",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("circle",{cx:"128",cy:"172",r:"16"}))})),GF.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"128",r:"96",opacity:"0.2"}),t.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeMiterlimit:"10",strokeWidth:"16"}),t.createElement("line",{x1:"128",y1:"80",x2:"128",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("circle",{cx:"128",cy:"172",r:"12"}))})),GF.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.2,104.2,0,0,0,128,24Zm-8,56a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm8,104a12,12,0,1,1,12-12A12,12,0,0,1,128,184Z"}))})),GF.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"128",y1:"80",x2:"128",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("circle",{cx:"128",cy:"172",r:"10"}))})),GF.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"128",y1:"80",x2:"128",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("circle",{cx:"128",cy:"172",r:"8"}))})),GF.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeMiterlimit:"10",strokeWidth:"16"}),t.createElement("line",{x1:"128",y1:"80",x2:"128",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("circle",{cx:"128",cy:"172",r:"12"}))}));var ZF=function(e,t){return Ua(e,t,GF)},KF=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:ZF}))}));KF.displayName="WarningCircle";const QF=KF;var XF=new Map;XF.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("rect",{x:"16",y:"64",width:"224",height:"128",rx:"8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("circle",{cx:"128",cy:"128",r:"28",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"168",y1:"64",x2:"240",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"168",y1:"192",x2:"240",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"88",y1:"64",x2:"16",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"88",y1:"192",x2:"16",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),XF.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"128",r:"32",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("circle",{cx:"128",cy:"128",r:"32",opacity:"0.2"}),t.createElement("path",{d:"M232,64H176l64,56V72A8,8,0,0,0,232,64Z",opacity:"0.2"}),t.createElement("path",{d:"M232,192a8,8,0,0,0,8-8V136l-64,56Z",opacity:"0.2"}),t.createElement("path",{d:"M16,72v48L80,64H24A8,8,0,0,0,16,72Z",opacity:"0.2"}),t.createElement("path",{d:"M16,184a8,8,0,0,0,8,8H80L16,136Z",opacity:"0.2"}),t.createElement("rect",{x:"16",y:"64",width:"224",height:"128",rx:"8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"176",y1:"64",x2:"240",y2:"120",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"176",y1:"192",x2:"240",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"80",y1:"64",x2:"16",y2:"120",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"80",y1:"192",x2:"16",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),XF.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M232,56H24A16,16,0,0,0,8,72V184a16,16,0,0,0,16,16H232a16,16,0,0,0,16-16V72A16,16,0,0,0,232,56ZM75,184,24,140.3V115.7L75,72H181l51,43.7v24.6L181,184Zm93-56a40,40,0,1,1-40-40A40,40,0,0,1,168,128Z"}))})),XF.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("rect",{x:"16",y:"64",width:"224",height:"128",rx:"8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("circle",{cx:"128",cy:"128",r:"32",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"176",y1:"64",x2:"240",y2:"120",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"176",y1:"192",x2:"240",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"80",y1:"64",x2:"16",y2:"120",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"80",y1:"192",x2:"16",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),XF.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("rect",{x:"16",y:"64",width:"224",height:"128",rx:"8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("circle",{cx:"128",cy:"128",r:"32",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"176",y1:"64",x2:"240",y2:"120",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"176",y1:"192",x2:"240",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"80",y1:"64",x2:"16",y2:"120",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"80",y1:"192",x2:"16",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),XF.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("rect",{x:"16",y:"64",width:"224",height:"128",rx:"8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("circle",{cx:"128",cy:"128",r:"32",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"176",y1:"64",x2:"240",y2:"120",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"176",y1:"192",x2:"240",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"80",y1:"64",x2:"16",y2:"120",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"80",y1:"192",x2:"16",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var JF=function(e,t){return Ua(e,t,XF)},eR=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:JF}))}));eR.displayName="Money";const tR=eR;var nR=new Map;nR.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("polygon",{points:"24 96 232 96 128 32 24 96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"56",y1:"96",x2:"56",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"104",y1:"96",x2:"104",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"152",y1:"96",x2:"152",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"200",y1:"96",x2:"200",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"32",y1:"168",x2:"224",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"16",y1:"208",x2:"240",y2:"208",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),nR.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("polygon",{points:"24 96 232 96 128 32 24 96",opacity:"0.2"}),t.createElement("polygon",{points:"24 96 232 96 128 32 24 96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"56",y1:"96",x2:"56",y2:"176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"104",y1:"96",x2:"104",y2:"176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"152",y1:"96",x2:"152",y2:"176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"200",y1:"96",x2:"200",y2:"176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"32",y1:"176",x2:"224",y2:"176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"16",y1:"208",x2:"240",y2:"208",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),nR.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M248,208a8,8,0,0,1-8,8H16a8,8,0,0,1,0-16H240A8,8,0,0,1,248,208ZM16.3,98.2a8,8,0,0,1,3.5-9l104-64a7.9,7.9,0,0,1,8.4,0l104,64A8,8,0,0,1,232,104H208v64h16a8,8,0,0,1,0,16H32a8,8,0,0,1,0-16H48V104H24A8,8,0,0,1,16.3,98.2ZM144,160a8,8,0,0,0,16,0V112a8,8,0,0,0-16,0Zm-48,0a8,8,0,0,0,16,0V112a8,8,0,0,0-16,0Z"}))})),nR.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("polygon",{points:"24 96 232 96 128 32 24 96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"56",y1:"96",x2:"56",y2:"176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"104",y1:"96",x2:"104",y2:"176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"152",y1:"96",x2:"152",y2:"176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"200",y1:"96",x2:"200",y2:"176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"32",y1:"176",x2:"224",y2:"176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"16",y1:"208",x2:"240",y2:"208",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),nR.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("polygon",{points:"24 96 232 96 128 32 24 96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"56",y1:"96",x2:"56",y2:"176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"104",y1:"96",x2:"104",y2:"176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"152",y1:"96",x2:"152",y2:"176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"200",y1:"96",x2:"200",y2:"176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"32",y1:"176",x2:"224",y2:"176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"16",y1:"208",x2:"240",y2:"208",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),nR.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("polygon",{points:"24 96 232 96 128 32 24 96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"56",y1:"96",x2:"56",y2:"176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"104",y1:"96",x2:"104",y2:"176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"152",y1:"96",x2:"152",y2:"176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"200",y1:"96",x2:"200",y2:"176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"32",y1:"176",x2:"224",y2:"176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"16",y1:"208",x2:"240",y2:"208",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var rR=function(e,t){return Ua(e,t,nR)},oR=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:rR}))}));oR.displayName="Bank";const iR=oR;var aR=new Map;aR.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("rect",{x:"32",y:"48",width:"192",height:"160",rx:"8",transform:"translate(256) rotate(90)",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"92",y1:"76",x2:"164",y2:"76",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("circle",{cx:"104",cy:"128",r:"16"}),t.createElement("circle",{cx:"152",cy:"128",r:"16"}),t.createElement("circle",{cx:"104",cy:"176",r:"16"}),t.createElement("circle",{cx:"152",cy:"176",r:"16"}))})),aR.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("rect",{x:"80",y:"64",width:"96",height:"48",opacity:"0.2"}),t.createElement("rect",{x:"80",y:"64",width:"96",height:"48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("rect",{x:"32",y:"48",width:"192",height:"160",rx:"8",transform:"translate(256 0) rotate(90)",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("circle",{cx:"88",cy:"148",r:"12"}),t.createElement("circle",{cx:"128",cy:"148",r:"12"}),t.createElement("circle",{cx:"168",cy:"148",r:"12"}),t.createElement("circle",{cx:"88",cy:"188",r:"12"}),t.createElement("circle",{cx:"128",cy:"188",r:"12"}),t.createElement("circle",{cx:"168",cy:"188",r:"12"}))})),aR.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M200,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V40A16,16,0,0,0,200,24ZM88,200a12,12,0,1,1,12-12A12,12,0,0,1,88,200Zm0-40a12,12,0,1,1,12-12A12,12,0,0,1,88,160Zm40,40a12,12,0,1,1,12-12A12,12,0,0,1,128,200Zm0-40a12,12,0,1,1,12-12A12,12,0,0,1,128,160Zm40,40a12,12,0,1,1,12-12A12,12,0,0,1,168,200Zm0-40a12,12,0,1,1,12-12A12,12,0,0,1,168,160Zm16-56a8,8,0,0,1-8,8H80a8,8,0,0,1-8-8V64a8,8,0,0,1,8-8h96a8,8,0,0,1,8,8Z"}))})),aR.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("rect",{x:"80",y:"64",width:"96",height:"48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("rect",{x:"32",y:"48",width:"192",height:"160",rx:"8",transform:"translate(256) rotate(90)",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("circle",{cx:"88",cy:"148",r:"10"}),t.createElement("circle",{cx:"128",cy:"148",r:"10"}),t.createElement("circle",{cx:"168",cy:"148",r:"10"}),t.createElement("circle",{cx:"88",cy:"188",r:"10"}),t.createElement("circle",{cx:"128",cy:"188",r:"10"}),t.createElement("circle",{cx:"168",cy:"188",r:"10"}))})),aR.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("rect",{x:"80",y:"64",width:"96",height:"48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("rect",{x:"32",y:"48",width:"192",height:"160",rx:"8",transform:"translate(256) rotate(90)",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("circle",{cx:"88",cy:"148",r:"8"}),t.createElement("circle",{cx:"128",cy:"148",r:"8"}),t.createElement("circle",{cx:"168",cy:"148",r:"8"}),t.createElement("circle",{cx:"88",cy:"188",r:"8"}),t.createElement("circle",{cx:"128",cy:"188",r:"8"}),t.createElement("circle",{cx:"168",cy:"188",r:"8"}))})),aR.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("rect",{x:"80",y:"64",width:"96",height:"48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("rect",{x:"32",y:"48",width:"192",height:"160",rx:"8",transform:"translate(256) rotate(90)",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("circle",{cx:"88",cy:"148",r:"12"}),t.createElement("circle",{cx:"128",cy:"148",r:"12"}),t.createElement("circle",{cx:"168",cy:"148",r:"12"}),t.createElement("circle",{cx:"88",cy:"188",r:"12"}),t.createElement("circle",{cx:"128",cy:"188",r:"12"}),t.createElement("circle",{cx:"168",cy:"188",r:"12"}))}));var sR=function(e,t){return Ua(e,t,aR)},lR=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:sR}))}));lR.displayName="Calculator";const uR=lR;var cR=new Map;cR.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"88",y1:"64",x2:"216",y2:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"88",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"88",y1:"192",x2:"216",y2:"192",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("circle",{cx:"44",cy:"128",r:"16"}),t.createElement("circle",{cx:"44",cy:"64",r:"16"}),t.createElement("circle",{cx:"44",cy:"192",r:"16"}))})),cR.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"88",y1:"64",x2:"216",y2:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"88",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"88",y1:"192",x2:"216",y2:"192",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("circle",{cx:"44",cy:"64",r:"12"}),t.createElement("circle",{cx:"44",cy:"128",r:"12"}),t.createElement("circle",{cx:"44",cy:"192",r:"12"}))})),cR.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M80,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H88A8,8,0,0,1,80,64Zm136,56H88a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Zm0,64H88a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16ZM44,116a12,12,0,1,0,12,12A12,12,0,0,0,44,116Zm0-64A12,12,0,1,0,56,64,12,12,0,0,0,44,52Zm0,128a12,12,0,1,0,12,12A12,12,0,0,0,44,180Z"}))})),cR.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"88",y1:"64",x2:"216",y2:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"88",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"88",y1:"192",x2:"216",y2:"192",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("circle",{cx:"44",cy:"64",r:"10"}),t.createElement("circle",{cx:"44",cy:"192",r:"10"}),t.createElement("circle",{cx:"44",cy:"128",r:"10"}))})),cR.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"88",y1:"64",x2:"216",y2:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"88",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"88",y1:"192",x2:"216",y2:"192",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("circle",{cx:"44",cy:"128",r:"8"}),t.createElement("circle",{cx:"44",cy:"64",r:"8"}),t.createElement("circle",{cx:"44",cy:"192",r:"8"}))})),cR.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"88",y1:"64",x2:"216",y2:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"88",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"88",y1:"192",x2:"216",y2:"192",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("circle",{cx:"44",cy:"64",r:"12"}),t.createElement("circle",{cx:"44",cy:"128",r:"12"}),t.createElement("circle",{cx:"44",cy:"192",r:"12"}))}));var dR=function(e,t){return Ua(e,t,cR)},pR=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:dR}))}));pR.displayName="ListBullets";const fR=pR,hR=(e,t,n)=>{const r=t.reduce(((e,t)=>({...e,[null===t||void 0===t?void 0:t.PropertyChain]:t})),{}),o="function"===typeof n?n({product:e,data:r}):{};let i=[];for(const a of t){const e=(null===a||void 0===a?void 0:a.PropertyChain)in o?o[null===a||void 0===a?void 0:a.PropertyChain]:{};i.push({...a,config:e})}return{fields:i,data:r}},mR={vision_buyup:e=>{let{product:t}=e;return{Cost:{components:[()=>(0,Cs.jsxs)(Ku,{className:"rec cost",children:[(0,Cs.jsx)(eE,{data:{product:t}}),(0,Cs.jsx)(Ts,{bold:!0,h4:!0,css:"\n                  margin: 16px 32px;\n                  margin-bottom: 8px;\n                ",children:"Plan Details"})]})]}}},critical_illness:e=>{let{product:t}=e;return{"Details.PreExistingConditions":{hideField:!0}}},dental_buyup:e=>{let{product:t}=e;return{Cost:{components:[()=>(0,Cs.jsxs)(Ku,{className:"rec cost",children:[(0,Cs.jsx)(eE,{data:{product:t}}),(0,Cs.jsx)(Ts,{bold:!0,h4:!0,css:"\n                  margin: 16px 32px;\n                  margin-bottom: 8px;\n                ",children:"Plan Details"})]})]}}},hospital_indemnity:()=>({"Label.DailyIntensiveCareBenefit":{hideField:!0},"Label.DailyHospitalConfinement":{hideField:!0}}),supplimental_life:e=>{let{product:t}=e;return null===Fw||void 0===Fw?void 0:Fw.supplimental_life({product:t})},short_term_disability:e=>{let{product:t,data:n}=e;return{"Details.WaitingPeriodIllness":{components:[e=>{let{field:r}=e;const o="Details.WaitingPeriodSickness"in n?n["Details.WaitingPeriodSickness"]:null;return(0,Cs.jsxs)("div",{className:bs`
                padding-left: 16px;
                padding-right: 16px;
                display: flex;
              `,children:[(0,Cs.jsx)(Ts,{label:!0,className:bs`
                  width: 50%;
                `,children:null===r||void 0===r?void 0:r.RecDisplayValue}),(0,Cs.jsxs)(Ku,{css:bs`
                  flex-grow: 1;
                `,children:[(0,Cs.jsx)(Tw,{fullWidth:!0,product:t,field:{...r,Post:"/ Illness"}}),o?(0,Cs.jsx)(Tw,{fullWidth:!0,product:t,field:{...o,Post:"/ Injury"}}):null]})]})}]},"Details.WaitingPeriodSickness":{hideField:!0},"Details.BenefitDuration":{components:[e=>{let{field:n}=e;return(0,Cs.jsxs)("div",{className:bs`
              padding-left: 16px;
              padding-right: 16px;
              display: flex;
            `,children:[(0,Cs.jsx)(Ts,{label:!0,className:bs`
                width: 50%;
              `,children:null===n||void 0===n?void 0:n.RecDisplayValue}),(0,Cs.jsx)(Ku,{css:bs`
                flex-grow: 1;
              `,children:(0,Cs.jsx)(Ku,{css:bs`
                  ${Tu("right")}
                `,children:(0,Cs.jsx)(Tw,{product:t,field:{...n}})})})]})}]}}}},gR=bs`
  ${Tu("space-between")}
  padding: 8px 16px;
  .rec {
    width: 100%;
  }
  .cost {
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 64px);
  }
`,vR=e=>{let{product:t,fields:n,props:r={}}=e;return(0,Cs.jsx)(Cs.Fragment,{children:null===n||void 0===n?void 0:n.map((e=>{var n;const{config:o={},...i}=e;return null!==o&&void 0!==o&&o.hideField?null:null!==o&&void 0!==o&&null!==(n=o.components)&&void 0!==n&&n.length?null===o||void 0===o||null===(a=o.components)||void 0===a?void 0:a.map((t=>(0,Cs.jsx)(Ku,{css:gR,children:(0,Cs.jsx)(t,{field:e,props:r})}))):(0,Cs.jsx)(Ku,{className:"alternating-item",onClick:()=>console.log(e),children:(0,Cs.jsx)(BE,{product:t,field:i,config:o})});var a}))})},yR=bs`
  ${Tu("space-between")}
  flex-grow: 1;
  padding: 16px;
`,xR=e=>{let{product:t}=e;return{"Label.InNetworkPlanDetails":{components:[e=>{let{field:t,props:n}=e;return(0,Cs.jsxs)(Ku,{css:bs`
            flex-grow: 1;
          `,children:[(0,Cs.jsx)(Ku,{css:yR,className:"alternating-item",children:(0,Cs.jsx)(Ts,{h3:!0,bold:!0,children:null===t||void 0===t?void 0:t.DisplayValue})}),null!==n&&void 0!==n&&n.showDefinitions?(0,Cs.jsxs)(Ku,{css:bs`
                padding: 16px;
                margin: 24px;
                border: 1px solid ${ks.gray[300]};
                border-radius: 8px;
              `,children:[(0,Cs.jsx)(Ts,{bold:!0,children:"What's a deductible?"}),(0,Cs.jsx)(Ts,{children:"A deductible is a specific dollar amount your health insurance plan may require you to pay before insurance begins to pay."})]}):null]})}]},"Details.InNetworkPlanDesign.Coinsurance":{components:[e=>{let{field:n,props:r}=e;return(0,Cs.jsxs)(Ku,{css:bs`
            flex-grow: 1;
          `,children:[(0,Cs.jsxs)(Ku,{css:yR,className:"alternating-item",children:[(0,Cs.jsx)(Ts,{label:!0,children:null===n||void 0===n?void 0:n.DisplayValue}),(0,Cs.jsx)(Tw,{product:t,field:n})]}),null!==r&&void 0!==r&&r.showDefinitions?(0,Cs.jsxs)(Ku,{css:bs`
                padding: 16px;
                margin: 24px;
                border: 1px solid ${ks.gray[300]};
                border-radius: 8px;
              `,children:[(0,Cs.jsx)(Ts,{bold:!0,children:"What's is Co-Insurance?"}),(0,Cs.jsx)(Ts,{children:"Coinsurance is the percentage of costs of a covered health care service your health insurance plan pays after you've paid your deductible."})]}):null]})}]},"Details.InNetworkPlanDesign.SingleOOPM":{components:[e=>{let{field:n,props:r}=e;return(0,Cs.jsxs)(Ku,{css:bs`
            flex-grow: 1;
          `,children:[(0,Cs.jsxs)(Ku,{css:yR,className:"alternating-item",children:[(0,Cs.jsx)(Ts,{label:!0,children:null===n||void 0===n?void 0:n.DisplayValue}),(0,Cs.jsx)(Tw,{product:t,field:n})]}),null!==r&&void 0!==r&&r.showDefinitions?(0,Cs.jsxs)(Ku,{css:bs`
                padding: 16px;
                margin: 24px;
                border: 1px solid ${ks.gray[300]};
                border-radius: 8px;
              `,children:[(0,Cs.jsx)(Ts,{bold:!0,children:"What is an Out-Of-Pocket Maximum?"}),(0,Cs.jsx)(Ts,{children:"An OOPM (Out-Of-Pocket Maximum) is a set amount of money you will have to pay in a year on covered medical costs. Once you have met your OOPM, insurance pays for 100% of covered medical expenses."})]}):null]})}]},"Label.InNetworkProfessionalServices":{components:[e=>{let{field:t,props:n}=e;return(0,Cs.jsxs)(Ku,{css:bs`
            flex-grow: 1;
          `,children:[(0,Cs.jsx)(Ku,{css:bs`
              ${yR} margin-top: 8px;
            `,children:(0,Cs.jsx)(Ts,{h2:!0,children:null===t||void 0===t?void 0:t.DisplayValue})}),null!==n&&void 0!==n&&n.showDefinitions?(0,Cs.jsxs)(Ku,{css:bs`
                padding: 16px;
                margin: 24px;
                border: 1px solid ${ks.gray[300]};
                border-radius: 8px;
              `,children:[(0,Cs.jsx)(Ts,{bold:!0,children:"What are In-Network Professional Services?"}),(0,Cs.jsx)(Ts,{children:"This is what you (the member) are responsible for."})]}):null]})}]},"Label.PrescriptionDrugs":{components:[e=>{let{field:t,props:n}=e;return(0,Cs.jsx)(Ku,{css:bs`
            ${yR} margin-top: 8px;
          `,children:(0,Cs.jsx)(Ts,{h2:!0,children:null===t||void 0===t?void 0:t.DisplayValue})})}]}}},bR=e=>{let{productId:n}=e;const{data:{products:r,productLayouts:o}}=Ww(),[i,a]=(0,t.useState)(!1),{product:s,layout:l}=(0,t.useMemo)((()=>({product:r.find((e=>{let{ID:t}=e;return t===n})),layout:(null===o||void 0===o?void 0:o[n])||{}})),[n]),u=(0,t.useMemo)((()=>{const e=IE(s,l.Layout);return null===e||void 0===e?void 0:e.filter((e=>"hide"!==e.State&&"section"!==(null===e||void 0===e?void 0:e.itemType)))}),[null===s||void 0===s?void 0:s.ID]),{fields:c}=hR(s,u,xR);return(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsxs)(Ku,{css:bs`
          ${Tu("space-between")} margin: 16px 32px;
        `,children:[(0,Cs.jsxs)(Ku,{css:bs`
            ${Tu("left")}
            p {
              margin-left: 16px;
            }
          `,children:[(0,Cs.jsx)(fR,{}),(0,Cs.jsx)(Ts,{h2:!0,children:"Plan Details"})]}),(0,Cs.jsx)(Gu,{secondary:!0,onClick:()=>a(!i),children:i?"Hide Definitions":"Show Definitions"})]}),(0,Cs.jsx)(Ku,{styles:"alternatingList",children:(0,Cs.jsx)(vR,{product:s,fields:c,props:{showDefinitions:i,setShowDefinitions:a}})})]})},kR=bs`
  cursor: pointer;
  border-radius: 16px;
  background-color: white;
  padding: 24px;
  transition: border 0.1s ease;
  transition: background 0.2s ease;
  border: 1px solid ${ks.gray[300]};
  margin: 24px 32px;
  margin-top: 28px;
  :hover {
    background-color: ${ks.gray[100]};
  }

  ${WE} {
    margin: 24px 12px;
    text-align: left;
    padding: 16px;
  }
`,wR={layer:{container:{zIndex:2e3},zIndex:2e3}},ER=bs`
  ${kR}
  transition: outline .1s ease;
  outline: 4px solid ${ks.black};
`,_R={narrowNetwork:"Narrow Network",buyUpNetwork:"Buy Up Network"},CR=(e,t)=>{let n=e||"0";return n=n.toLocaleString("en-US",{style:"currency",currency:"USD",maximumFractionDigits:2,minimumFractionDigits:2,...t})||"$0.00",n&&"NaN"!==n&&".00"===n.slice(-3)&&(n=n.slice(0,-3)),n},SR=e=>{let{plan:n,type:r,value:o,networkView:i,setNetworkView:a,showMonthlyCosts:s,businessId:l}=e;const u=(0,t.useMemo)((()=>r?n.Plan&&n.Plan[r]&&n.Plan[r].Plan.NetworkInformation&&n.Plan[r].Plan.NetworkInformation.Name||_R[r]:n.Plan&&n.Plan.NetworkInformation&&n.Plan.NetworkInformation.Name||"Core Network"),[r]),c=(0,t.useMemo)((()=>{if("b779e426-9648-4ce6-8778-addba47f2411"===l){if(""===r)return["Higher Premiums","Lower Discounts","More Providers"];if("narrowNetwork"===r)return["Lower Premiums","Deeper Discounts","Fewer Providers"];if("buyUpNetwork"===r)return["Higher Premium","Largest Hospital & Provider Access"]}else{if(""===r)return["Moderate Premium","Large Network with National Coverage"];if("narrowNetwork"===r)return["Reduced Premium","Small Network of High Quality Providers"];if("buyUpNetwork"===r)return["Higher Premium","Largest Hospital & Provider Access"]}return[]}),[r]);return(0,Cs.jsx)("div",{className:i===r?ER:kR,onClick:()=>a(r),children:(0,Cs.jsxs)("div",{className:bs`
          display: flex;
          justify-content: space-between;
          align-items: start;
        `,children:[(0,Cs.jsxs)("div",{children:[(0,Cs.jsx)(gS,{style:{fontSize:"24px",color:"#25282d"},children:u}),(0,Cs.jsx)("ul",{className:bs`
              color: #66737f;
              font-size: 14px;
              text-align: left;
              li {
                padding: 4px 0;
              }
              ${WE} {
                display: none;
              }
            `,children:c.map((e=>(0,Cs.jsx)("li",{children:e})))})]}),(0,Cs.jsxs)("div",{className:bs`
            ${WE} {
              margin-top: 8px;
            }
          `,children:[(0,Cs.jsx)("div",{className:bs`
              color: #25282d;
              font-size: 24px;
              text-align: right;
              line-height: 1.5;
              ${WE} {
                font-size: 14px;
              }
            `,children:o}),(0,Cs.jsxs)("div",{className:bs`
              color: #25282d;
              font-size: 14px;
              text-align: right;
              line-height: 1.5;
              ${WE} {
                font-size: 12px;
              }
            `,children:["Total estimated cost"," ",(0,Cs.jsx)(Ou,{PopperProps:{style:{zIndex:2e5}},placement:"right",title:"Includes the monthly insurance premium plus the estimated cost of medical services.",children:(0,Cs.jsx)(YF.A,{style:{fontSize:18,top:"3px",marginLeft:"2px",position:"relative"}})})]}),(0,Cs.jsx)(Ts,{className:bs`
              text-align: right;
              ${WE} {
                font-size: 8px;
              }
            `,children:s?"(monthly average)":"(annual)"})]})]})})};class DR extends t.Component{constructor(e){super(e),this.toggleSurestAddOns=()=>{this.setState(((e,t)=>({surestAdditionalAddOnCostsModalOpen:!e.surestAdditionalAddOnCostsModalOpen})))},this.toggleLearnMore=()=>{this.setState(((e,t)=>({learnMoreOpen:!e.learnMoreOpen})))},this.toggleMeanings=()=>{this.setState(((e,t)=>({meaningsOpen:!e.meaningsOpen})))},this.getMonthsRemaining=e=>{var t;return null===e||void 0===e||null===(t=e.PlanCostsForYear)||void 0===t?void 0:t.MonthsIncluded},this.getTotalCombinedCost=e=>{var t,n;if("none"===e.Plan.ID)return 0;const r=null===this||void 0===this||null===(t=this.props)||void 0===t?void 0:t.showMonthlyCosts,o=null===e||void 0===e||null===(n=e.PlanCostsForYear)||void 0===n?void 0:n.MonthsIncluded,i=e.PlanCostsForYear.FinalPlanCost;return i<0?`$${jw(0,{decimals:2,round:this.props.round})}`:r?`$${jw(i/o,{decimals:2,round:this.props.round})}`:`$${jw(i,{decimals:2,round:this.props.round})}`},this.getMonthlyPlanCostForEmployeeNotFixed=e=>{var t,n;console.log(e);const{RelavantTier:r}=e,o=null===(t=e.Plan.EmployeeContributions)||void 0===t?void 0:t[r],i=null===(n=e.Plan.TotalMonthlyPremiums)||void 0===n?void 0:n[r];if("%"===e.Plan.EmployeeContributionType){return o-o*(0!==i?i/100:0)}return o-i},this.getMonthlyPlanCostForEmployee=e=>{if("none"===e.Plan.ID)return 0;let t=this.getMonthlyPlanCostForEmployeeNotFixed(e);if(12!==this.props.displaySettings.premiumInterval){let e=12*t/this.props.displaySettings.premiumInterval;return Math.round(e)}return Math.round(t)},this.deprecatedGetHSAValue=e=>{if(F.report("called deprecatedGetHSAValue"),e.Plan.HSACompatible){if("FSA"===e.Plan.HSAContributionType)return"FSA Available";if("Employer Match"===e.Plan.HSAContributionType||"HSA - Employer Match"===e.Plan.HSAContributionType){var t,n;const r=null===e||void 0===e?void 0:e.RelevantTier,o=e.Plan.HSAContributions;return(0,Cs.jsxs)("span",{children:["$",null===o||void 0===o||null===(t=o[`${r}EmployerMonthlyMatch`])||void 0===t?void 0:t.toFixed(2)," for every $1 up to $",null===o||void 0===o||null===(n=o[`${r}EmployerMonthlyMatchMax`])||void 0===n?void 0:n.toFixed(2)]})}if("HRA"===e.Plan.HSAContributionType){var r;const t=null===e||void 0===e?void 0:e.RelevantTier,n=null===(r=e.Plan.HSAContributions)||void 0===r?void 0:r[t];if(!n)return"";return`$${(n/12).toFixed(2)}`}{var o,i;const t=null===e||void 0===e?void 0:e.RelevantTier;return`$${null===(o=e.Plan.HSAContributions)||void 0===o||null===(i=o[t])||void 0===i?void 0:i.toFixed(2)}`}}return"No account"},this.getProgramsByType=e=>{var t;return null!==e&&void 0!==e&&null!==(t=e.Plan)&&void 0!==t&&t.includedPrograms?e.Plan.includedPrograms.reduce(((e,t)=>(e[t.ProgramType]=t,e)),{}):{}},this.getAccountContributionValue=e=>{try{var t;if(null!==e&&void 0!==e&&null!==(t=e.Plan)&&void 0!==t&&t.includedPrograms){const t=this.getProgramsByType(e),s=t.health_savings_account,l=t.health_reimbursement_arrangement,u=t.flexible_spending_account,c=null===e||void 0===e?void 0:e.RelevantTier;if(s){var n;const t=null===(n=s.RawData)||void 0===n?void 0:n.Details;return t?t.ContributionType.includes("Employer Match")?(0,Cs.jsxs)("span",{children:["$",null===(r=t[`${c}EmployerMonthlyMatch`])||void 0===r?void 0:r.toFixed(2)," for every $1 up to $",null===(o=t[`${c}EmployerMonthlyMatchMax`])||void 0===o?void 0:o.toFixed(2)]}):`$${null===(i=t[c])||void 0===i?void 0:i.toFixed(2)}`:this.deprecatedGetHSAValue(e);var r,o,i}if(l){var a;const t=null===(a=l.RawData)||void 0===a?void 0:a.Details;if(!t)return this.deprecatedGetHSAValue(e);const n=t[c];if(!n)return"";return`$${(n/12).toFixed(2)}`}return u?"FSA Available":"No account"}}catch(ce){console.error(ce)}return this.deprecatedGetHSAValue(e)},this.getHRADescription=e=>{var t;const n=null===e||void 0===e?void 0:e.RelevantTier;if(null!==e&&void 0!==e&&null!==(t=e.Plan)&&void 0!==t&&t.includedPrograms){var r;const t=this.getProgramsByType(e).health_reimbursement_arrangement;if(null!==t&&void 0!==t&&null!==(r=t.RawData)&&void 0!==r&&r.Details){var o;const e=null===(o=t.RawData)||void 0===o?void 0:o.Details,r="EmployeeOnly"===n?e.MinimumDeductibleSingle:e.MinimumDeductibleTwoPlusParty,i=e[n];if(!i)return"HRA reimbursements can be used to help pay for eligible medical expenses";const a=r?` (once you have met a deductible of $${r.toFixed(2)}).`:".";return`HRA reimbursements can be used to help pay for up to $${i.toFixed(2)} of eligible medical expenses`+a}}return null},this.isSurgerySelected=()=>!!(this.props.answers.EmployeeEnrolling.Surgeries.Minor||this.props.answers.EmployeeEnrolling.Surgeries.MinorInPatient||this.props.answers.EmployeeEnrolling.Surgeries.MinorOutPatient||this.props.answers.EmployeeEnrolling.Surgeries.MajorInPatient||this.props.answers.DependentEnrolling.Surgeries.Minor||this.props.answers.DependentEnrolling.Surgeries.MinorInPatient||this.props.answers.DependentEnrolling.Surgeries.MinorOutPatient||this.props.answers.DependentEnrolling.Surgeries.MajorInPatient),this.showSurestAddOnCosts=e=>{var t,n;return!(null===e||void 0===e||null===(t=e.Plan)||void 0===t||null===(n=t.PlanType)||void 0===n||!n.toLowerCase().includes("surest")||!this.isSurgerySelected()||"ddf03fa5-38c8-4559-80fd-abe893c6c706"===this.props.businessId)},this.hasLogo=()=>!!(this.props.plan&&this.props.plan.Business&&this.props.plan.Business.LogoURL),this.getLogo=()=>this.props.plan&&this.props.plan.Business&&this.props.plan.Business.LogoURL?this.props.plan.Business.LogoURL:"",this.hasBuyupOrNarrowNetwork=()=>!(!this.props.plan.Plan.narrowNetwork&&!this.props.plan.Plan.buyUpNetwork),this.hasNarrowNetwork=()=>!!this.props.plan.Plan.narrowNetwork,this.hasBuyupNetwork=()=>!!this.props.plan.Plan.buyUpNetwork,this.multiCarrierPlanApplies=()=>{var e,t,n,r,o,i,a,s,l,u,c,d;if(null!==(e=this.props.plan)&&void 0!==e&&null!==(t=e.Plan)&&void 0!==t&&null!==(n=t.MultiCarrierApplicableStates)&&void 0!==n&&n.includes(this.props.answers.State)||null!==(r=this.props.plan)&&void 0!==r&&null!==(o=r.Plan)&&void 0!==o&&null!==(i=o.MultiCarrierApplicableStates)&&void 0!==i&&i.includes("ALL")||null!==(a=this.props.plan)&&void 0!==a&&null!==(s=a.Plan)&&void 0!==s&&null!==(l=s.MultiCarrierApplicableStates)&&void 0!==l&&l.includes("{}")||0===(null===(u=this.props.plan)||void 0===u||null===(c=u.Plan)||void 0===c||null===(d=c.MultiCarrierApplicableStates)||void 0===d?void 0:d.length))return!0},this.normalCarrierPlanApplies=()=>{var e,t,n,r,o,i,a,s,l,u,c,d;return!this.props.answers.State||(!!(null!==(e=this.props.plan)&&void 0!==e&&null!==(t=e.Plan)&&void 0!==t&&null!==(n=t.ApplicableStates)&&void 0!==n&&n.includes(this.props.answers.State)||null!==(r=this.props.plan)&&void 0!==r&&null!==(o=r.Plan)&&void 0!==o&&null!==(i=o.ApplicableStates)&&void 0!==i&&i.includes("ALL")||null!==(a=this.props.plan)&&void 0!==a&&null!==(s=a.Plan)&&void 0!==s&&null!==(l=s.ApplicableStates)&&void 0!==l&&l.includes("{}")||0===(null===(u=this.props.plan)||void 0===u||null===(c=u.Plan)||void 0===c||null===(d=c.ApplicableStates)||void 0===d?void 0:d.length))||void 0)},this.isMultiCarrier=()=>!!(this.props.plan.Plan.IsMultiCarrier&&this.normalCarrierPlanApplies()&&this.multiCarrierPlanApplies()),this.premiumTerm=()=>this.props.fedexVerbiageChangesFFValue?"Employee Contribution":"Premium",this.hraReimbursementDescription=()=>this.props.fedexVerbiageChangesFFValue?"Credits":"Reimbursement",this.premiumDescription=()=>{const e=this.props.fedexVerbiageChangesFFValue?"Average":"Your";return 12===this.props.displaySettings.premiumInterval?`${e} Monthly ${this.premiumTerm()}`:`${e} ${this.premiumTerm()} per Paycheck`},this.state={learnMoreOpen:!1,meaningsOpen:!1,networkView:""}}getContributionAccountType(e){var t;try{var n;if(null!==e&&void 0!==e&&null!==(n=e.Plan)&&void 0!==n&&n.includedPrograms){const t=this.getProgramsByType(e),n=t.health_savings_account,i=t.health_reimbursement_arrangement,a=t.flexible_spending_account;var r,o;if(n)return null===(r=n.RawData)||void 0===r||null===(o=r.Details)||void 0===o?void 0:o.ContributionType;if(i)return"HRA";if(a)return"FSA"}}catch(ce){console.error(ce)}return F.report("using deprecated HSAContributionType"),null===e||void 0===e||null===(t=e.Plan)||void 0===t?void 0:t.HSAContributionType}render(){var e,t,n,r,o,i,a,s,l,u,c,d,p,f,h,m,g,v,y,x;this.props.businessId;let b=this.props.plan;const k=""===this.state.networkView?b:b.Plan[this.state.networkView],w=(null===(e=this.props.productLayouts)||void 0===e?void 0:e[null===k||void 0===k||null===(t=k.Plan)||void 0===t?void 0:t.ID])||{},E=null===(_=null===w||void 0===w||null===(n=w.Layout)||void 0===n?void 0:n.Sections)||void 0===_?void 0:_.reduce(((e,t,n)=>{var r;return null===t||void 0===t||null===(r=t.Fields)||void 0===r?void 0:r.reduce(((t,r)=>({...e,[null===r||void 0===r?void 0:r.PropertyChain]:{...r,sectionIdx:n}})),e)}),{});var _;const C=null===b||void 0===b?void 0:b.RelevantTier,S=`Includes the monthly ${this.premiumTerm().toLowerCase()} plus the estimated cost of medical services, minus the max employer contribution to any eligible tax-advantaged accounts, such as your HSA.`;return(0,Cs.jsxs)(uO.div,{initial:"pageInitial",animate:"pageAnimate",exit:"pageExit",variants:{pageInitial:{x:400,opacity:0},pageAnimate:{x:0,opacity:1},pageExit:{x:-400,opacity:0}},className:bs`
          position: relative;
        `,children:[this.isMultiCarrier()&&(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsxs)("div",{className:bs`
                display: flex;

                padding: 32px;
                justify-content: space-between;
                align-items: center;
                ${WE} {
                  padding: 24px;
                }
              `,children:[(0,Cs.jsx)("div",{className:bs`
                  font-weight: bold;
                  text-align: center;
                  font-size: 32px;
                  line-height: 133.4%;
                  color: #25282d;

                  @media only screen and (max-width: 595px) {
                    font-size: 16px;
                  }
                `,children:this.props.plan.Plan.Name||"Multiple Carrier Plan"}),this.props.hideEstimatedCost?"hide"!==(null===E||void 0===E||null===(r=E.Cost)||void 0===r?void 0:r.State)?(0,Cs.jsxs)("div",{className:bs`
                    width: 50%;
                    ${WE} {
                      width: 100%;
                      padding-bottom: 16px;
                    }
                  `,children:[(0,Cs.jsxs)("div",{className:bs`
                      display: flex;
                    `,children:[(0,Cs.jsx)(m_,{}),(0,Cs.jsx)("div",{className:bs`
                        font-weight: bold;
                        color: #5a5a5a;
                        font-size: 24px;
                        padding: 8px;
                      `,children:Mw({cost:null===b||void 0===b||null===(o=b.Plan)||void 0===o?void 0:o.Cost,key:C,interval:this.props.displaySettings.premiumInterval})})]}),(0,Cs.jsx)("div",{className:bs`
                      font-size: 18px;
                      margin-bottom: 5px;
                      line-height: 18px;
                      margin-top: 5px;
                      color: #66737f;
                    `,children:this.premiumDescription()})]}):null:(0,Cs.jsxs)("div",{className:bs`
                    flex-grow: 1;
                  `,children:[(0,Cs.jsx)("div",{className:bs`
                      color: #25282d;
                      font-size: 24px;
                      text-align: right;
                      line-height: 1.5;
                      ${WE} {
                        font-size: 14px;
                      }
                    `,children:this.getTotalCombinedCost(b)}),(0,Cs.jsxs)(Ts,{label:!0,bold:!0,className:bs`
                      text-align: right;
                      padding-top: 8px;
                      ${WE} {
                        font-size: 10px;
                      }
                    `,children:[(0,Cs.jsx)(Ou,{PopperProps:{style:{zIndex:2e5}},placement:"right",title:S,children:(0,Cs.jsx)(YF.A,{style:{fontSize:18,top:"3px",marginLeft:"2px",position:"relative"}})}),"Estimated net costs"," "]}),(0,Cs.jsx)(Ts,{className:bs`
                      text-align: right;
                      ${WE} {
                        font-size: 8px;
                      }
                    `,children:this.props.showMonthlyCosts?"(monthly average)":"(annual)"})]})]}),(0,Cs.jsx)("div",{className:bs`
                padding-bottom: 16px;
              `,children:(0,Cs.jsxs)("div",{className:bs`
                  background: #f5f7fa;
                  font-size: 18px;
                  color: #66737f;
                  padding: 10px;
                  text-align: center;
                  display: flex;
                  align-items: center;
                  justify-content: center;

                  line-height: 26px;
                  margin-left: 16px;
                  margin-right: 16px;

                  @media only screen and (max-width: 595px) {
                    font-size: 14px;
                    line-height: 160%;
                  }
                `,children:[(0,Cs.jsx)(QF,{size:24,className:bs`
                    margin-right: 16px;
                  `}),(0,Cs.jsxs)("div",{className:bs`
                    @media only screen and (max-width: 595px) {
                      font-size: 10px;
                      line-height: 14px;
                    }
                  `,children:["This plan includes multiple networks."," ",(0,Cs.jsx)("span",{className:bs`
                      color: #25282d;
                    `,children:"Select the one that works for you!"})]})]})}),(0,Cs.jsx)("div",{className:bs`
                border-radius: 16px;
                border: 1px solid #d1dae3;
                padding: 32px;
                margin: 32px;
              `,children:(0,Cs.jsxs)("div",{className:bs`
                  display: flex;
                  justify-content: space-between;
                  align-items: center;
                  flex-wrap: wrap-reverse;
                  gap: 12px;
                  @media (max-width: 500px) {
                    justify-content: center;
                  }
                `,children:[(0,Cs.jsxs)("div",{children:[(0,Cs.jsx)(gS,{style:{fontSize:"24px",color:"#25282d"},children:this.props.plan.Plan.MultiCarrierName||"Carrier 2"}),this.props.plan.Plan.NetworkInformation.MultiCarrierNetworkCarrierSearchURL&&(0,Cs.jsx)("div",{className:bs`
                        margin-top: 12px;
                      `,children:(0,Cs.jsx)(Gu,{secondary:!0,onClick:()=>{window.open(this.props.plan.Plan.NetworkInformation.MultiCarrierNetworkCarrierSearchURL,"_blank")},"data-ph-capture-attribute-source":null===r_||void 0===r_||null===(i=r_.types)||void 0===i?void 0:i.RECOMMENDATIONS,"data-ph-capture-attribute-action":null===r_||void 0===r_||null===(a=r_.actions)||void 0===a?void 0:a.SEARCH_NETWORK,children:"Search Network"})})]}),this.props.plan.Plan.MultiCarrierLogoUrl&&(0,Cs.jsx)("div",{className:bs`
                      border-radius: 8px;
                      border: 1px solid #d1dae3;
                      padding: 12px;
                    `,children:(0,Cs.jsx)("img",{src:this.props.plan.Plan.MultiCarrierLogoUrl,alt:"Carrier Logo",className:bs`
                        max-height: 60px;
                        max-width: 160px;
                        ${WE} {
                          max-height: 60px;
                          max-width: 125px;
                        }
                      `})})]})}),(0,Cs.jsx)("div",{className:bs`
                border-radius: 16px;
                border: 1px solid #d1dae3;
                padding: 32px;
                margin: 32px;
              `,children:(0,Cs.jsxs)("div",{className:bs`
                  display: flex;
                  justify-content: space-between;
                  align-items: center;
                  flex-wrap: wrap-reverse;
                  gap: 12px;
                  @media (max-width: 500px) {
                    justify-content: center;
                  }
                `,children:[(0,Cs.jsxs)("div",{children:[(0,Cs.jsx)(gS,{style:{fontSize:"24px",color:"#25282d"},children:this.props.plan.Plan.ProviderName||"Carrier 1"}),this.props.plan.Plan.NetworkInformation.ProviderSearchURL&&(0,Cs.jsx)("div",{className:bs`
                        margin-top: 12px;
                      `,children:(0,Cs.jsx)(Gu,{secondary:!0,onClick:()=>{window.open(this.props.plan.Plan.NetworkInformation.ProviderSearchURL,"_blank")},"data-ph-capture-attribute-source":null===r_||void 0===r_||null===(s=r_.types)||void 0===s?void 0:s.RECOMMENDATIONS,"data-ph-capture-attribute-action":null===r_||void 0===r_||null===(l=r_.actions)||void 0===l?void 0:l.SEARCH_NETWORK,children:"Search Network"})})]}),this.hasLogo()&&(0,Cs.jsx)("div",{className:bs`
                      border-radius: 8px;
                      border: 1px solid #d1dae3;
                      padding: 12px;
                    `,children:(0,Cs.jsx)("img",{src:this.getLogo(),alt:"Carrier Logo",className:bs`
                        max-height: 60px;
                        max-width: 160px;
                        ${WE} {
                          max-height: 60px;
                          max-width: 125px;
                        }
                      `})})]})})]}),!this.hasBuyupOrNarrowNetwork()&&!this.isMultiCarrier()&&(0,Cs.jsxs)("div",{className:bs`
              display: flex;

              padding: 32px;
              padding-bottom: 16px;
              justify-content: space-between;
              ${this.hasLogo()?"align-items: center":"align-items: start"};
              ${WE} {
                padding: 16px;
              }
            `,children:[(0,Cs.jsxs)("div",{className:bs`
                flex-grow: 1;
                min-width: 66%;
              `,children:[this.hasLogo()&&this.normalCarrierPlanApplies()&&(0,Cs.jsx)("div",{className:bs`
                    margin-bottom: 12px;
                    ${WE} {
                      margin-bottom: 4px;
                    }
                  `,children:(0,Cs.jsx)("img",{src:this.getLogo(),alt:"Carrier Logo",className:bs`
                      max-height: 60px;
                      max-width: 200px;
                      ${WE} {
                        max-height: 60px;
                        max-width: 125px;
                      }
                    `})}),!this.normalCarrierPlanApplies()&&this.props.plan.Plan.MultiCarrierLogoUrl&&(0,Cs.jsx)("div",{className:bs`
                    margin-bottom: 12px;
                    ${WE} {
                      margin-bottom: 4px;
                    }
                  `,children:(0,Cs.jsx)("img",{src:this.props.plan.Plan.MultiCarrierLogoUrl,alt:"Carrier Logo",className:bs`
                      max-height: 60px;
                      max-width: 200px;
                      ${WE} {
                        max-height: 60px;
                        max-width: 125px;
                      }
                    `})}),(0,Cs.jsx)(Ts,{h2:!0,className:bs`
                  @media only screen and (max-width: 595px) {
                    font-size: 16px;
                  }
                `,children:this.props.plan.Plan.Name})]}),this.props.hideEstimatedCost?(0,Cs.jsxs)("div",{className:bs`
                  flex-grow: 1;
                `,children:[(0,Cs.jsx)("div",{className:bs`
                    color: #25282d;
                    font-size: 24px;
                    text-align: right;
                    line-height: 1.5;
                    ${WE} {
                      font-size: 14px;
                    }
                  `,children:Mw({cost:null===b||void 0===b||null===(u=b.Plan)||void 0===u?void 0:u.Cost,key:C,interval:this.props.displaySettings.premiumInterval})}),(0,Cs.jsx)(Ts,{label:!0,className:bs`
                    text-align: right;
                    padding-top: 8px;
                    font-size: 12px;
                    line-height: 12px;
                  `,children:this.premiumDescription()})]}):(0,Cs.jsxs)("div",{className:bs`
                  flex-grow: 1;
                `,children:[(0,Cs.jsx)("div",{className:bs`
                    color: #25282d;
                    font-size: 24px;
                    text-align: right;
                    line-height: 1.5;
                    ${WE} {
                      font-size: 14px;
                    }
                  `,children:this.getTotalCombinedCost(b)}),(0,Cs.jsxs)(Ts,{label:!0,bold:!0,className:bs`
                    text-align: right;
                    padding-top: 8px;
                    ${WE} {
                      font-size: 10px;
                    }
                  `,children:[(0,Cs.jsx)(Ou,{PopperProps:{style:{zIndex:2e5}},placement:"right",title:S,children:(0,Cs.jsx)(YF.A,{style:{fontSize:18,top:"3px",marginRight:"2px",position:"relative"}})}),"Estimated net costs"," "]}),(0,Cs.jsx)(Ts,{className:bs`
                    text-align: right;
                    ${WE} {
                      font-size: 8px;
                      line-height: 8px;
                    }
                  `,children:this.props.showMonthlyCosts?"(monthly average)":"(annual)"})]})]}),this.hasBuyupOrNarrowNetwork()&&!this.isMultiCarrier()&&(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsxs)("div",{className:bs`
                display: flex;

                padding: 32px;
                justify-content: space-between;
                align-items: center;
                ${WE} {
                  padding: 24px;
                }
              `,children:[(0,Cs.jsx)(Ts,{h2:!0,className:bs`
                  @media only screen and (max-width: 595px) {
                    font-size: 16px;
                  }
                `,children:this.props.plan.Plan.Name}),this.hasLogo()&&(0,Cs.jsx)("div",{children:(0,Cs.jsx)("img",{src:this.getLogo(),alt:"Carrier Logo",className:bs`
                      max-height: 40px;
                      max-width: 100px;
                    `})})]}),(0,Cs.jsxs)("div",{className:bs`
                padding-bottom: 8px;
              `,children:[(0,Cs.jsxs)("div",{className:bs`
                  background: #f5f7fa;
                  font-size: 18px;
                  color: #66737f;
                  padding: 10px;
                  text-align: center;
                  display: flex;
                  align-items: center;
                  justify-content: center;

                  line-height: 26px;
                  margin-left: 16px;
                  margin-right: 16px;

                  @media only screen and (max-width: 595px) {
                    font-size: 14px;
                    line-height: 160%;
                  }
                `,children:[(0,Cs.jsx)(QF,{size:24,className:bs`
                    margin-right: 16px;
                  `}),(0,Cs.jsxs)("div",{className:bs`
                    @media only screen and (max-width: 595px) {
                      font-size: 10px;
                      line-height: 14px;
                    }
                  `,children:["This plan includes multiple networks."," ",(0,Cs.jsx)("span",{className:bs`
                      color: #25282d;
                    `,children:"Select the one that works for you!"})]})]}),this.hasNarrowNetwork()&&(0,Cs.jsx)(SR,{businessId:this.props.businessId,plan:b,networkView:this.state.networkView,setNetworkView:e=>this.setState({...this.state,networkView:e}),type:"narrowNetwork",value:this.getTotalCombinedCost(b.Plan.narrowNetwork),showMonthlyCosts:this.props.showMonthlyCosts}),(0,Cs.jsx)(SR,{businessId:this.props.businessId,plan:b,networkView:this.state.networkView,setNetworkView:e=>this.setState({...this.state,networkView:e}),type:"",value:this.getTotalCombinedCost(b),showMonthlyCosts:this.props.showMonthlyCosts}),this.hasBuyupNetwork()&&(0,Cs.jsx)(SR,{businessId:this.props.businessId,plan:b,networkView:this.state.networkView,setNetworkView:e=>this.setState({...this.state,networkView:e}),type:"buyUpNetwork",value:this.getTotalCombinedCost(b.Plan.buyUpNetwork),showMonthlyCosts:this.props.showMonthlyCosts})]})]}),(0,Cs.jsx)("div",{className:bs`
            ${Tu("left")}
            padding: 24px 8px;
            padding-top: 0;
          `,children:(0,Cs.jsx)(Gu,{naked:!0,css:"\n              text-transform: none;\n              text-decoration: underline;\n            ",onClick:()=>this.toggleLearnMore(),"data-ph-capture-attribute-source":null===r_||void 0===r_||null===(c=r_.types)||void 0===c?void 0:c.RECOMMENDATIONS,"data-ph-capture-attribute-action":null===r_||void 0===r_||null===(d=r_.actions)||void 0===d?void 0:d.VIEW_MORE,"data-ph-capture-attribute-product-id":null===(p=b.Plan)||void 0===p?void 0:p.ID,"data-ph-capture-attribute-product-type":null===(f=b.Plan)||void 0===f?void 0:f.Type,children:"Learn More"})}),this.state.learnMoreOpen&&(0,Cs.jsx)(Pp,{theme:wR,children:(0,Cs.jsx)(hf,{responsive:!0,position:"center",modal:!0,margin:"medium",onClickOutside:()=>this.toggleLearnMore(),onEsc:()=>this.toggleLearnMore(),style:{borderRadius:"16px"},className:bs`
                font-family: Roboto, Montserrat, sans-serif !important;
                overflow: hidden;
              `,children:(0,Cs.jsxs)("div",{className:bs`
                  border-radius: 16px;
                `,children:[(0,Cs.jsxs)("div",{className:bs`
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    border-bottom: 1px solid ${ks.gray[300]};
                    padding: 32px;
                  `,children:[(0,Cs.jsx)(Ts,{h1:!0,children:this.props.plan.Plan.Name}),(0,Cs.jsx)(zC,{onClick:()=>this.toggleLearnMore(),children:(0,Cs.jsx)(kh,{})})]}),(0,Cs.jsx)("div",{className:bs`
                    max-height: 50vh;
                    width: 100%;
                    ${WE} {
                      max-height: 100vh;
                    }
                    overflow: auto;
                  `,children:(0,Cs.jsxs)("div",{className:bs`
                      width: 100%;
                      margin-top: 32px;
                      margin-bottom: 160px;
                    `,children:[this.hasBuyupOrNarrowNetwork()&&(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsxs)("div",{className:bs`
                            background: #f5f7fa;
                            font-size: 18px;
                            color: #66737f;
                            padding: 10px;
                            text-align: center;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            margin-top: 18px;
                            line-height: 26px;
                            margin-bottom: 24px;

                            @media only screen and (max-width: 595px) {
                              font-size: 14px;
                              line-height: 160%;
                            }
                          `,children:[(0,Cs.jsx)(QF,{size:24,className:bs`
                              margin-right: 16px;
                            `}),(0,Cs.jsxs)("div",{children:["This plan includes multiple networks."," ",(0,Cs.jsx)("span",{className:bs`
                                color: #25282d;
                              `,children:"Select the one that works for you!"})]})]}),this.hasNarrowNetwork()&&(0,Cs.jsx)(SR,{businessId:this.props.businessId,plan:b,networkView:this.state.networkView,setNetworkView:e=>this.setState({...this.state,networkView:e}),type:"narrowNetwork",value:this.getTotalCombinedCost(b.Plan.narrowNetwork),showMonthlyCosts:this.props.showMonthlyCosts}),(0,Cs.jsx)(SR,{businessId:this.props.businessId,plan:b,networkView:this.state.networkView,setNetworkView:e=>this.setState({...this.state,networkView:e}),type:"",value:this.getTotalCombinedCost(b),showMonthlyCosts:this.props.showMonthlyCosts}),this.hasBuyupNetwork()&&(0,Cs.jsx)(SR,{businessId:this.props.businessId,plan:b,networkView:this.state.networkView,setNetworkView:e=>this.setState({...this.state,networkView:e}),type:"buyUpNetwork",value:this.getTotalCombinedCost(b.Plan.buyUpNetwork),showMonthlyCosts:this.props.showMonthlyCosts})]}),(0,Cs.jsxs)("div",{className:bs`
                        text-align: left;
                      `,children:[(0,Cs.jsxs)("div",{className:bs`
                          margin: 32px;
                          margin-top: 45px;
                          margin-bottom: 30px;
                        `,children:[(0,Cs.jsxs)("div",{className:bs`
                            display: flex;
                            ${WE} {
                              display: block;
                            }
                          `,children:["hide"!==(null===E||void 0===E||null===(h=E.Cost)||void 0===h?void 0:h.State)?(0,Cs.jsxs)("div",{className:bs`
                                width: 50%;
                                ${WE} {
                                  width: 100%;
                                  padding-bottom: 16px;
                                }
                              `,children:[(0,Cs.jsxs)("div",{className:bs`
                                  display: flex;
                                `,children:[(0,Cs.jsx)(m_,{}),(0,Cs.jsx)("div",{className:bs`
                                    font-weight: bold;
                                    color: #5a5a5a;
                                    font-size: 24px;
                                    padding: 8px;
                                  `,children:Mw({cost:null===k||void 0===k||null===(m=k.Plan)||void 0===m?void 0:m.Cost,key:C,interval:this.props.displaySettings.premiumInterval})})]}),(0,Cs.jsx)("div",{className:bs`
                                  font-size: 18px;
                                  margin-bottom: 5px;
                                  line-height: 18px;
                                  margin-top: 5px;
                                  color: #66737f;
                                `,children:this.premiumDescription()}),this.props.fedexVerbiageChangesFFValue&&(0,Cs.jsx)("div",{className:bs`
                                    font-size: 12px;
                                    margin-bottom: 5px;
                                    line-height: 12px;
                                    font-style: italic;
                                    color: ${ks.gray[500]};
                                  `,children:"Refer to your specific information for your contributions."})]}):null,!w.HideEmployerPremiumContributions&&(0,Cs.jsxs)("div",{className:bs`
                                width: 50%;
                                ${WE} {
                                  width: 100%;
                                  padding-bottom: 16px;
                                }
                              `,children:[(0,Cs.jsxs)("div",{className:bs`
                                  display: flex;
                                `,children:[(0,Cs.jsx)(tR,{}),(0,Cs.jsx)("div",{className:bs`
                                    font-weight: bold;
                                    color: #5a5a5a;
                                    font-size: 24px;
                                    padding: 8px;
                                  `,children:Lw({cost:null===k||void 0===k||null===(g=k.Plan)||void 0===g?void 0:g.Cost,key:C,interval:this.props.displaySettings.premiumInterval})})]}),(0,Cs.jsx)("div",{className:bs`
                                  font-size: 18px;
                                  margin-bottom: 5px;
                                  line-height: 18px;
                                  margin-top: 5px;
                                  color: #66737f;
                                `,children:12===this.props.displaySettings.premiumInterval?"Employer Contributions per Month":"Employer Contributions per Paycheck"})]})]}),(0,Cs.jsxs)("div",{className:bs`
                            display: flex;
                            margin-top: 40px;
                            margin-bottom: 50px;
                            ${WE} {
                              display: block;
                              margin-top: 0;
                            }
                          `,children:[(0,Cs.jsxs)("div",{className:bs`
                              width: 50%;
                              ${WE} {
                                width: 100%;
                                padding-bottom: 16px;
                              }
                            `,children:[(0,Cs.jsxs)("div",{className:bs`
                                display: flex;
                                align-items: center;
                              `,children:[(0,Cs.jsx)(iR,{}),(0,Cs.jsx)("div",{className:bs`
                                  font-weight: bold;
                                  color: #5a5a5a;
                                  font-size: 24px;
                                  padding: 8px;
                                  ${WE} {
                                    width: 100%;
                                  }
                                `,children:this.getAccountContributionValue(k)})]}),"No account"!==this.getAccountContributionValue(k)&&"FSA"!==this.getContributionAccountType(k)&&(0,Cs.jsxs)("div",{className:bs`
                                    font-size: 18px;
                                    margin-bottom: 5px;
                                    line-height: 18px;
                                    margin-top: 5px;
                                    color: #66737f;
                                    padding-right: 5px;
                                  `,children:[this.props.fedexVerbiageChangesFFValue&&"Estimated ","Monthly Employer"," ","HRA"===this.getContributionAccountType(k)?"HRA":"FSA"===this.getContributionAccountType(k)?"FSA":"HSA"," ","HRA"===this.getContributionAccountType(k)?(0,Cs.jsxs)(Cs.Fragment,{children:[this.hraReimbursementDescription(),this.getHRADescription(k)&&(0,Cs.jsx)(Ou,{PopperProps:{style:{zIndex:2e5}},placement:"right",title:this.getHRADescription(k),children:(0,Cs.jsx)(YF.A,{style:{fontSize:18,top:"3px",marginLeft:"2px",position:"relative"}})})]}):"Contributions"," ","Employer Match"===this.getContributionAccountType(k)||"HSA - Employer Match"===this.getContributionAccountType(k)?"(match)":""]})]}),(0,Cs.jsxs)("div",{className:bs`
                              width: 50%;
                              ${WE} {
                                width: 100%;
                                padding-bottom: 16px;
                              }
                            `,children:[(0,Cs.jsxs)("div",{className:bs`
                                display: flex;
                              `,children:[(0,Cs.jsx)(uR,{}),(0,Cs.jsx)("div",{className:bs`
                                  font-weight: bold;
                                  color: #5a5a5a;
                                  font-size: 24px;
                                  padding: 8px;
                                  flex: 1;
                                  text-align: left;
                                `,children:this.getTotalCombinedCost(k)})]}),(0,Cs.jsxs)("div",{className:bs`
                                font-size: 18px;
                                margin-bottom: 5px;
                                line-height: 18px;
                                margin-top: 5px;
                                color: #66737f;
                                text-align: left;
                              `,children:["*Your Estimated Net Cost",(0,Cs.jsx)(Ou,{PopperProps:{style:{zIndex:2e5}},placement:"right",title:S,children:(0,Cs.jsx)(YF.A,{style:{fontSize:18,top:"3px",marginLeft:"2px",position:"relative"}})}),(0,Cs.jsx)(Ts,{className:bs`
                                  text-align: left;
                                  ${WE} {
                                    font-size: 8px;
                                  }
                                `,children:this.props.showMonthlyCosts?"(monthly average)":this.getMonthsRemaining(b)?`(for ${this.getMonthsRemaining(b)} months)`:null})]})]})]}),k.Plan.NetworkInformation&&k.Plan.NetworkInformation.Description&&!k.Plan.IsMultiCarrier&&(0,Cs.jsx)("div",{className:bs`
                                font-size: 18px;
                                margin-bottom: 5px;
                                line-height: 18px;
                                margin-top: 5px;
                                color: #66737f;
                              `,children:k.Plan.NetworkInformation.Description})]}),this.showSurestAddOnCosts(b)&&(0,Cs.jsxs)("div",{children:[(0,Cs.jsx)("div",{className:bs`
                              text-align: center;
                              font-size: 12px;
                              margin-top: 12px;
                              margin-bottom: 12px;
                            `,children:"*there may be additional costs associated with some planned procedures. Click below to search for procedures that could impact your expected costs."}),(0,Cs.jsx)("div",{className:bs`
                              display: flex;
                              justify-content: center;
                              margin-top: 16px;
                              margin-bottom: 16px;
                              padding-bottom: 25px;
                            `,children:(0,Cs.jsx)(Gu,{secondary:!0,onClick:()=>{this.toggleSurestAddOns()},"data-ph-capture-attribute-source":null===r_||void 0===r_||null===(v=r_.types)||void 0===v?void 0:v.RECOMMENDATIONS,"data-ph-capture-attribute-action":null===r_||void 0===r_||null===(y=r_.actions)||void 0===y?void 0:y.SUREST_TOGGLE,children:this.state.surestAdditionalAddOnCostsModalOpen?"Close flexible benefits":"Click to see flexible benefits"})}),this.state.surestAdditionalAddOnCostsModalOpen&&(0,Cs.jsxs)("div",{className:bs`
                                border: 1px solid #e0e0e0;
                                padding: 16px;
                                border-radius: 12px;
                                margin-bottom: 16px;
                              `,children:[(0,Cs.jsx)("div",{className:bs`
                                  text-align: center;
                                  font-weight: bold;
                                  font-size: 24px;
                                  margin-top: 12px;
                                  margin-bottom: 12px;
                                `,children:"Surest Flexible Benefits"}),(0,Cs.jsx)("div",{className:bs`
                                  text-align: center;
                                  font-size: 12px;
                                  margin-top: 12px;
                                  margin-bottom: 12px;
                                `,children:"If you are anticipating any of the below procedures, you will want to log into the Surest app to see the additional costs associated:"}),(0,Cs.jsxs)("div",{className:bs`
                                  display: flex;
                                  justify-content: center;
                                `,children:[(0,Cs.jsxs)("a",{href:"https://join.surest.com/",target:"_blank",className:bs`
                                    text-decoration: none;
                                    padding: 12px;
                                    button {
                                      max-width: 300px !important;
                                    }
                                  `,children:[" ",(0,Cs.jsx)(Gu,{secondary:!0,children:"Log in to Surest to see Costs"})]})," "]}),(0,Cs.jsxs)("div",{className:bs`
                                  text-align: left;
                                  font-size: 12px;
                                  margin-top: 12px;
                                  margin-bottom: 12px;
                                  font-weight: bold;
                                `,children:["Ankle Arthroscopy and Ligament Repair",(0,Cs.jsx)("br",{}),"Ankle Replacement",(0,Cs.jsx)("br",{}),"Ankle and Foot Bone Fusion",(0,Cs.jsx)("br",{}),"Back Surgery, Cervical Spine Disc Decompression",(0,Cs.jsx)("br",{}),"Back Surgery, Cervical Spine Fusion",(0,Cs.jsx)("br",{}),"Breast Reduction Surgery",(0,Cs.jsx)("br",{}),"Bunionectomy and Hammertoe Surgery",(0,Cs.jsx)("br",{}),"Cardiac Ablation",(0,Cs.jsx)("br",{}),"Carotid Endarterectomy and Stents",(0,Cs.jsx)("br",{}),"Cataract Surgery",(0,Cs.jsx)("br",{}),"Coronary Artery Bypass Graft Surgery",(0,Cs.jsx)("br",{}),"Coronary Catheterization and Percutaneous Coronary Interventions",(0,Cs.jsx)("br",{}),"Ear Tubes",(0,Cs.jsx)("br",{}),"Elbow Arthroscopy and Tenotomy",(0,Cs.jsx)("br",{}),"Elbow Replacement and Revision",(0,Cs.jsx)("br",{}),"Fibroid Removal (Myomectomy)",(0,Cs.jsx)("br",{}),"Gallbladder Removal Surgery (Cholecystectomy)",(0,Cs.jsx)("br",{}),"Ganglion Cyst Surgery",(0,Cs.jsx)("br",{}),"Hernia Repair",(0,Cs.jsx)("br",{}),"Hip Arthroscopy and Repair",(0,Cs.jsx)("br",{}),"Hip Replacement and Revision",(0,Cs.jsx)("br",{}),"Hysterectomy",(0,Cs.jsx)("br",{}),"Hysteroscopy and Endometrial Ablation",(0,Cs.jsx)("br",{}),"Kidney Stone Ablation and Removal (Lithotripsy)",(0,Cs.jsx)("br",{}),"Knee Arthroscopy and Repair",(0,Cs.jsx)("br",{}),"Knee Replacement and Revision",(0,Cs.jsx)("br",{}),"Lumbar Spine Disc Decompression",(0,Cs.jsx)("br",{}),"Lumbar Spine Fusion",(0,Cs.jsx)("br",{}),"Morton\u2019s Neuroma Surgery",(0,Cs.jsx)("br",{}),"Pacemakers and Defibrillators",(0,Cs.jsx)("br",{}),"Plantar Fasciitis Surgery",(0,Cs.jsx)("br",{}),"Prostate Removal Surgery",(0,Cs.jsx)("br",{}),"Reflux and Hiatal Hernia Surgery",(0,Cs.jsx)("br",{}),"Shoulder Arthroscopy and Repair",(0,Cs.jsx)("br",{}),"Shoulder Replacement and Revision",(0,Cs.jsx)("br",{}),"Sinus and Nasal Septum Surgery",(0,Cs.jsx)("br",{}),"Sling Surgery for Female Urinary Incontinence",(0,Cs.jsx)("br",{}),"Spinal Ablation and Neurostimulators",(0,Cs.jsx)("br",{}),"Tonsillectomy and Adenoidectomy",(0,Cs.jsx)("br",{}),"Upper GI Endoscopy",(0,Cs.jsx)("br",{}),"Valve Replacement",(0,Cs.jsx)("br",{}),"Wrist Arthroscopy and Repair",(0,Cs.jsx)("br",{}),"Wrist and Hand Replacement and Revision"]})]})]}),(0,Cs.jsx)(bR,{productId:null===(x=b.Plan)||void 0===x?void 0:x.ID})]}),(0,Cs.jsx)("div",{className:bs`
                        margin-bottom: 18px;
                        margin-top: 20px;
                        font-size: 11px;
                        padding-left: 12px;
                        padding-right: 12px;
                      `,children:"*This is not a full or complete list of plan payments or coverages. Please refer to your Summary Plan Description for a full list of plan features."})]})})]})})}),this.props.showAllPlans&&(0,Cs.jsx)(Pp,{theme:wR,children:(0,Cs.jsx)(hf,{responsive:!0,position:"center",modal:!0,margin:"small",onClickOutside:()=>this.props.setShowAllPlans(!1),onEsc:()=>this.props.setShowAllPlans(!1),className:bs`
                width: 600px;
                font-family: Roboto, Montserrat, sans-serif !important;
                border-radius: 16px !important;
              `,children:(0,Cs.jsxs)("div",{className:bs`
                  padding: 32px;
                  ${WE} {
                    padding: 16px;
                  }
                `,children:[(0,Cs.jsxs)("div",{className:bs`
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                  `,children:[(0,Cs.jsx)(Ts,{h1:!0,children:"Other Medical Plans"}),(0,Cs.jsx)(Gu,{styles:"icon",onClick:()=>this.props.setShowAllPlans(!1),children:(0,Cs.jsx)(kh,{})})]}),(0,Cs.jsx)("div",{className:bs`
                    max-height: 500px;
                    overflow: auto;
                    margin: 32px 0;
                  `,children:this.props.allMedicalPlans.map((e=>{var t,n,r,o,i,a,s,l,u,c,d,p,f,h,m;return(0,Cs.jsx)("div",{onClick:()=>{this.props.setSelectedMedicalRec(e),this.props.setMedicalType("medical"),this.props.setShowAllPlans(!1)},"data-ph-capture-attribute-source":null===r_||void 0===r_||null===(t=r_.types)||void 0===t?void 0:t.RECOMMENDATIONS,"data-ph-capture-attribute-action":null===r_||void 0===r_||null===(n=r_.actions)||void 0===n?void 0:n.SELECT_MEDICAL,"data-ph-capture-attribute-product-id":null===e||void 0===e||null===(r=e.Plan)||void 0===r?void 0:r.ID,"data-ph-capture-attribute-product-type":null===(o=e.Plan)||void 0===o?void 0:o.Type,className:bs`
                          border-radius: 16px;
                          ${e.Plan.ID===b.Plan.ID?`\n                            border: 4px solid ${null!==(i=this.props.designStyles)&&void 0!==i&&null!==(a=i.Theme)&&void 0!==a&&null!==(s=a.Body)&&void 0!==s&&s.ButtonColor?null===(l=this.props.designStyles)||void 0===l||null===(u=l.Theme)||void 0===u||null===(c=u.Body)||void 0===c?void 0:c.ButtonColor:"#25282D"};\n                          `:`\n                            border: 1px solid ${ks.gray[300]};\n                            :hover {\n                              outline: 1px solid ${ks.black};\n                              outline-offset: -1px;\n                            }`};
                          margin-bottom: 16px;
                          background-color: white;
                          padding: 24px;
                          cursor: pointer;

                          ${WE} {
                            padding: 16px;
                          }
                        `,children:(0,Cs.jsxs)("div",{className:bs`
                            display: flex;
                            justify-content: space-between;
                            align-items: center;
                          `,children:[(0,Cs.jsxs)("div",{children:[null!==e&&void 0!==e&&null!==(d=e.Plan)&&void 0!==d&&d.IsMultiCarrier?(0,Cs.jsxs)("div",{className:bs`
                                  display: flex;
                                  justify-content: left;
                                  align-items: center;
                                `,children:[(0,Cs.jsx)(wh,{carrierID:null===e||void 0===e||null===(p=e.Plan)||void 0===p?void 0:p.CarrierID,maxWidth:"150px",position:"center"}),(0,Cs.jsx)("div",{className:bs`
                                    border-left: 2px solid var(--button-background-color);
                                    height: 60px;
                                    padding-right: 4px;
                                    padding-left: 8px;
                                  `}),(0,Cs.jsx)(wh,{carrierID:null===e||void 0===e||null===(f=e.Plan)||void 0===f?void 0:f.MultiCarrierID,maxWidth:"150px",position:"center"})]}):(0,Cs.jsx)(wh,{carrierID:null===e||void 0===e||null===(h=e.Plan)||void 0===h?void 0:h.CarrierID,maxWidth:"150px",position:"center"}),(0,Cs.jsx)(Ts,{h2:!0,children:e.Plan.Name})]}),this.props.hideEstimatedCost?(0,Cs.jsxs)("div",{className:bs`
                                flex-grow: 1;
                              `,children:[(0,Cs.jsx)("div",{className:bs`
                                  color: #25282d;
                                  font-size: 24px;
                                  text-align: right;
                                  line-height: 1.5;
                                  ${WE} {
                                    font-size: 14px;
                                  }
                                `,children:Mw({cost:null===e||void 0===e||null===(m=e.Plan)||void 0===m?void 0:m.Cost,key:C,interval:this.props.displaySettings.premiumInterval})}),(0,Cs.jsx)(Ts,{label:!0,className:bs`
                                  width: 80px;
                                  margin-left: auto;
                                  text-align: right;
                                  padding-top: 8px;
                                  line-height: 12px;
                                  font-size: 12px;
                                `,children:this.premiumDescription()})]}):(0,Cs.jsxs)("div",{children:[(0,Cs.jsx)(Ts,{h2:!0,css:"\n                                  text-align: right;\n                                ",children:this.getTotalCombinedCost(e)<0?"$0":`${CR(this.getTotalCombinedCost(e))}`}),(0,Cs.jsxs)(Ts,{label:!0,bold:!0,className:bs`
                                  text-align: right;
                                  padding-top: 8px;
                                  ${WE} {
                                    font-size: 10px;
                                  }
                                `,children:[(0,Cs.jsx)(Ou,{PopperProps:{style:{zIndex:2e5}},placement:"right",title:S,children:(0,Cs.jsx)(YF.A,{style:{fontSize:18,top:"3px",marginLeft:"2px",position:"relative"}})}),"Estimated net costs"," "]}),this.props.showMonthlyCosts?(0,Cs.jsx)(Ts,{className:bs`
                                    text-align: right;
                                    ${WE} {
                                      font-size: 10px;
                                      line-height: 10px;
                                    }
                                  `,children:"(monthly average)"}):(0,Cs.jsx)(Ts,{className:bs`
                                    text-align: right;
                                    font-size: 14px;
                                    color: #66737f;
                                    ${WE} {
                                      font-size: 10px;
                                      line-height: 10px;
                                    }
                                  `,children:"(Annual)"})]})]})})}))})]})})})]},"planvieweruew_question")}}var jR=new Map;jR.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"152",y1:"108",x2:"184",y2:"108",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"152",y1:"148",x2:"184",y2:"148",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("circle",{cx:"94.1",cy:"116",r:"22",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M72.1,164a22,22,0,0,1,44,0",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("rect",{x:"32",y:"48",width:"192",height:"160",rx:"8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),jR.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M216,48H40a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H216a8,8,0,0,0,8-8V56A8,8,0,0,0,216,48ZM92.1,144a24,24,0,1,1,24-24A23.9,23.9,0,0,1,92.1,144Z",opacity:"0.2"}),t.createElement("line",{x1:"152",y1:"112",x2:"192",y2:"112",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"152",y1:"144",x2:"192",y2:"144",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("circle",{cx:"92.1",cy:"120",r:"24",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M61.1,168a32,32,0,0,1,62,0",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("rect",{x:"32",y:"48",width:"192",height:"160",rx:"8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),jR.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM125.1,175.7a8,8,0,0,1-9.8-5.7,24,24,0,0,0-46.4,0,8.1,8.1,0,0,1-7.8,6l-2-.3a7.9,7.9,0,0,1-5.7-9.7,40.2,40.2,0,0,1,16.3-23.2,32,32,0,1,1,44.8,0A40.2,40.2,0,0,1,130.8,166,7.9,7.9,0,0,1,125.1,175.7ZM192,152H152a8,8,0,0,1,0-16h40a8,8,0,0,1,0,16Zm0-32H152a8,8,0,0,1,0-16h40a8,8,0,0,1,0,16Z"}),t.createElement("circle",{cx:"92.1",cy:"120",r:"16"}))})),jR.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"152",y1:"112",x2:"192",y2:"112",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"152",y1:"144",x2:"192",y2:"144",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("circle",{cx:"92.1",cy:"120",r:"24",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M61.1,168a32,32,0,0,1,62,0",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("rect",{x:"32",y:"48",width:"192",height:"160",rx:"8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),jR.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"152",y1:"112",x2:"192",y2:"112",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"152",y1:"144",x2:"192",y2:"144",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("circle",{cx:"92.1",cy:"120",r:"24",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M61.1,168a32,32,0,0,1,62,0",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("rect",{x:"32",y:"48",width:"192",height:"160",rx:"8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),jR.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"152",y1:"112",x2:"192",y2:"112",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"152",y1:"144",x2:"192",y2:"144",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("circle",{cx:"92.1",cy:"120",r:"24",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M61.1,168a32,32,0,0,1,62,0",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("rect",{x:"32",y:"48",width:"192",height:"160",rx:"8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var AR=function(e,t){return Ua(e,t,jR)},PR=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:AR}))}));PR.displayName="IdentificationCard";const LR=PR;var MR=new Map;MR.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"76",y1:"100",x2:"180",y2:"100",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"76",y1:"140",x2:"180",y2:"140",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M32,208V56a8,8,0,0,1,8-8H216a8,8,0,0,1,8,8V208l-32-16-32,16-32-16L96,208,64,192Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),MR.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M32,208V56a8,8,0,0,1,8-8H216a8,8,0,0,1,8,8V208l-32-16-32,16-32-16L96,208,64,192Z",opacity:"0.2"}),t.createElement("line",{x1:"76",y1:"104",x2:"180",y2:"104",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"76",y1:"136",x2:"180",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M32,208V56a8,8,0,0,1,8-8H216a8,8,0,0,1,8,8V208l-32-16-32,16-32-16L96,208,64,192Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),MR.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V208a7.9,7.9,0,0,0,3.8,6.8,8,8,0,0,0,7.8.4L64,200.9l28.4,14.3a8.3,8.3,0,0,0,7.2,0L128,200.9l28.4,14.3a8.5,8.5,0,0,0,7.2,0L192,200.9l28.4,14.3a8,8,0,0,0,7.8-.4A7.9,7.9,0,0,0,232,208V56A16,16,0,0,0,216,40ZM180,144H76a8,8,0,0,1,0-16H180a8,8,0,0,1,0,16Zm0-32H76a8,8,0,0,1,0-16H180a8,8,0,0,1,0,16Z"}))})),MR.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"76",y1:"104",x2:"180",y2:"104",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"76",y1:"136",x2:"180",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M32,208V56a8,8,0,0,1,8-8H216a8,8,0,0,1,8,8V208l-32-16-32,16-32-16L96,208,64,192Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),MR.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"76",y1:"104",x2:"180",y2:"104",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"76",y1:"136",x2:"180",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M32,208V56a8,8,0,0,1,8-8H216a8,8,0,0,1,8,8V208l-32-16-32,16-32-16L96,208,64,192Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),MR.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"76",y1:"104",x2:"180",y2:"104",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"76",y1:"136",x2:"180",y2:"136",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M32,208V56a8,8,0,0,1,8-8H216a8,8,0,0,1,8,8V208l-32-16-32,16-32-16L96,208,64,192Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var NR=function(e,t){return Ua(e,t,MR)},OR=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:NR}))}));OR.displayName="Receipt";const TR=OR;var FR=new Map;FR.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"224 208 32 208 32 48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("polyline",{points:"208 64 128 144 96 112 32 176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("polyline",{points:"208 104 208 64 168 64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),FR.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"224 208 32 208 32 48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("polyline",{points:"208 64 128 144 96 112 32 176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("polyline",{points:"208 104 208 64 168 64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),FR.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M232,208a8,8,0,0,1-8,8H32a8,8,0,0,1-8-8V48a8,8,0,0,1,16,0V156.7l50.3-50.4a8.1,8.1,0,0,1,11.4,0L128,132.7,176.7,84,162.3,69.7a8.4,8.4,0,0,1-1.7-8.8A8.1,8.1,0,0,1,168,56h40a8,8,0,0,1,8,8v40a8,8,0,0,1-4.9,7.4,8.5,8.5,0,0,1-3.1.6,8.3,8.3,0,0,1-5.7-2.3L188,95.3l-54.3,54.4a8.1,8.1,0,0,1-11.4,0L96,123.3l-56,56V200H224A8,8,0,0,1,232,208Z"}))})),FR.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"224 208 32 208 32 48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("polyline",{points:"208 64 128 144 96 112 32 176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("polyline",{points:"208 104 208 64 168 64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),FR.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"224 208 32 208 32 48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("polyline",{points:"208 64 128 144 96 112 32 176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("polyline",{points:"208 104 208 64 168 64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),FR.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"224 208 32 208 32 48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("polyline",{points:"208 64 128 144 96 112 32 176",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("polyline",{points:"208 104 208 64 168 64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var RR=function(e,t){return Ua(e,t,FR)},IR=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:RR}))}));IR.displayName="ChartLineUp";const BR=IR;var WR=new Map;WR.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"192",y1:"200",x2:"192",y2:"224",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"64",y1:"200",x2:"64",y2:"224",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("rect",{x:"32",y:"48",width:"192",height:"152",rx:"8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"180",y1:"128",x2:"224",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("circle",{cx:"148",cy:"128",r:"32",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),WR.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M216,48H40a8,8,0,0,0-8,8V192a8,8,0,0,0,8,8H216a8,8,0,0,0,8-8V56A8,8,0,0,0,216,48ZM152,168a40,40,0,1,1,40-40A40,40,0,0,1,152,168Z",opacity:"0.2"}),t.createElement("line",{x1:"192",y1:"200",x2:"192",y2:"224",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"64",y1:"200",x2:"64",y2:"224",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("rect",{x:"32",y:"48",width:"192",height:"152",rx:"8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("circle",{cx:"152",cy:"128",r:"16"}),t.createElement("line",{x1:"152",y1:"128",x2:"224",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("circle",{cx:"152",cy:"128",r:"40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),WR.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V192a16,16,0,0,0,16,16H56v16a8,8,0,0,0,16,0V208H184v16a8,8,0,0,0,16,0V208h16a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm-8,96H179.1a36,36,0,1,1,0-16H208a8,8,0,0,1,0,16Zm-44-8a20,20,0,1,1-20-20A20.1,20.1,0,0,1,164,128Z"}))})),WR.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"192",y1:"200",x2:"192",y2:"224",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"64",y1:"200",x2:"64",y2:"224",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("rect",{x:"32",y:"48",width:"192",height:"152",rx:"8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("circle",{cx:"152",cy:"128",r:"14"}),t.createElement("line",{x1:"152",y1:"128",x2:"224",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("circle",{cx:"152",cy:"128",r:"40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),WR.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"192",y1:"200",x2:"192",y2:"224",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"64",y1:"200",x2:"64",y2:"224",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("rect",{x:"32",y:"48",width:"192",height:"152",rx:"8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("circle",{cx:"152",cy:"128",r:"12"}),t.createElement("line",{x1:"152",y1:"128",x2:"224",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("circle",{cx:"152",cy:"128",r:"40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),WR.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"192",y1:"200",x2:"192",y2:"224",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"64",y1:"200",x2:"64",y2:"224",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("rect",{x:"32",y:"48",width:"192",height:"152",rx:"8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("circle",{cx:"152",cy:"128",r:"16"}),t.createElement("line",{x1:"152",y1:"128",x2:"224",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("circle",{cx:"152",cy:"128",r:"40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var zR=function(e,t){return Ua(e,t,WR)},$R=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:zR}))}));$R.displayName="Vault";const HR=$R;var VR=new Map;VR.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M59.3,40H196.7a8,8,0,0,1,5.6,13.7L128,128,53.7,53.7A8,8,0,0,1,59.3,40Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M59.3,216H196.7a8,8,0,0,0,5.6-13.7L128,128,53.7,202.3A8,8,0,0,0,59.3,216Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"176",y1:"80",x2:"80",y2:"80",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"128",y1:"128",x2:"128",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),VR.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("polygon",{points:"128 128 176 80 80 80 128 128",opacity:"0.2"}),t.createElement("path",{d:"M59.3,40H196.7a8,8,0,0,1,5.6,13.7L128,128,53.7,53.7A8,8,0,0,1,59.3,40Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M59.3,216H196.7a8,8,0,0,0,5.6-13.7L128,128,53.7,202.3A8,8,0,0,0,59.3,216Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"176",y1:"80",x2:"80",y2:"80",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"128",y1:"128",x2:"128",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),VR.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M139.3,128l34.4-34.3h0L208,59.3A16,16,0,0,0,196.7,32H59.3A16,16,0,0,0,48,59.3L116.7,128,48,196.7A16,16,0,0,0,59.3,224H196.7A16,16,0,0,0,208,196.7Zm57.4-80-24,24H83.3l-24-24ZM59.3,208,120,147.3V168a8,8,0,0,0,16,0V147.3L196.7,208Z"}))})),VR.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M59.3,40H196.7a8,8,0,0,1,5.6,13.7L128,128,53.7,53.7A8,8,0,0,1,59.3,40Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M59.3,216H196.7a8,8,0,0,0,5.6-13.7L128,128,53.7,202.3A8,8,0,0,0,59.3,216Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"176",y1:"80",x2:"80",y2:"80",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"128",y1:"128",x2:"128",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),VR.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M59.3,40H196.7a8,8,0,0,1,5.6,13.7L128,128,53.7,53.7A8,8,0,0,1,59.3,40Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M59.3,216H196.7a8,8,0,0,0,5.6-13.7L128,128,53.7,202.3A8,8,0,0,0,59.3,216Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"176",y1:"80",x2:"80",y2:"80",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"128",y1:"128",x2:"128",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),VR.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M59.3,40H196.7a8,8,0,0,1,5.6,13.7L128,128,53.7,53.7A8,8,0,0,1,59.3,40Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M59.3,216H196.7a8,8,0,0,0,5.6-13.7L128,128,53.7,202.3A8,8,0,0,0,59.3,216Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"176",y1:"80",x2:"80",y2:"80",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"128",y1:"128",x2:"128",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var UR=function(e,t){return Ua(e,t,VR)},qR=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:UR}))}));qR.displayName="HourglassSimpleMedium";const YR=qR;var GR=new Map;GR.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"128",y1:"72",x2:"128",y2:"88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"128",y1:"168",x2:"128",y2:"184",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M104,168h36a20,20,0,0,0,0-40H116a20,20,0,0,1,0-40h36",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),GR.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"128",r:"96",opacity:"0.2"}),t.createElement("line",{x1:"128",y1:"72",x2:"128",y2:"88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"128",y1:"168",x2:"128",y2:"184",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M104,168h36a20,20,0,0,0,0-40H116a20,20,0,0,1,0-40h36",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),GR.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.2,104.2,0,0,0,128,24Zm12,152h-4v8a8,8,0,0,1-16,0v-8H104a8,8,0,0,1,0-16h36a12,12,0,0,0,0-24H116a28,28,0,0,1,0-56h4V72a8,8,0,0,1,16,0v8h16a8,8,0,0,1,0,16H116a12,12,0,0,0,0,24h24a28,28,0,0,1,0,56Z"}))})),GR.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"128",y1:"72",x2:"128",y2:"88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"128",y1:"168",x2:"128",y2:"184",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M104,168h36a20,20,0,0,0,0-40H116a20,20,0,0,1,0-40h36",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),GR.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"128",y1:"72",x2:"128",y2:"88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"128",y1:"168",x2:"128",y2:"184",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M104,168h36a20,20,0,0,0,0-40H116a20,20,0,0,1,0-40h36",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),GR.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"128",y1:"72",x2:"128",y2:"88",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"128",y1:"168",x2:"128",y2:"184",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M104,168h36a20,20,0,0,0,0-40H116a20,20,0,0,1,0-40h36",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var ZR=function(e,t){return Ua(e,t,GR)},KR=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:ZR}))}));KR.displayName="CurrencyCircleDollar";const QR=KR,XR=bs`
  display: flex;
  align-items: center;
  border-radius: 16px;
  padding: 16px;
  margin: 8px 0;
  flex-grow: 1;
  p {
    margin-left: 16px;
  }
  svg {
    min-width: 32px;
  }
  ${WE} {
    flex-direction: column;
    svg {
      text-align: center;
    }
  }
`,JR=e=>{var n,r,o,i,a,s,l,u,c,d,p,f,h,m,g,v,y;const x=Ww(),[b,k]=(0,t.useState)(!1),[w,E]=(0,t.useState)(0),_=(0,t.useMemo)((()=>e.benefit&&e.benefit.TitleDescriptions?e.benefit.TitleDescriptions.filter((e=>!e.Autogenerated&&!!e.Title&&!!e.Description)):[]),[]),C=e=>{if("newhire"===e.Type&&e.Plan.EffectiveDate){let t=kO()(),n=kO()(e.Plan.EffectiveDate);if(t.month()===n.month())return 12;if(t.isBefore(n))return 12;let r=12;if(t.year()>n.year())r=n.month()-t.month();else{let e=n.month()-t.month();r=12-Math.abs(e)}return r}return 12},S=(t,n,r)=>{try{var o;if(r)if(null!==n&&void 0!==n&&null!==(o=n.RawData)&&void 0!==o&&o.Details){if(e.answers.Enrolling.Family)return n.RawData.Details.FamilyEmployerMonthlyMatch;if(e.answers.Enrolling.EmployeeOnly)return n.RawData.Details.EmployeeOnlyEmployerMonthlyMatch;if(e.answers.Enrolling.EmployeePlusChildren)return n.RawData.Details.EmployeeChildrenEmployerMonthlyMatch;if(e.answers.Enrolling.EmployeePlusSpouse)return n.RawData.Details.EmployeeSpouseEmployerMonthlyMatch}return 0}catch(ce){console.error("Error getting getEmployerMatchHSAValue",ce)}return(t=>{if(F.report("called deprecatedGetEmployerMatchHSAValue"),"Employer Match"===t.Plan.HSAContributionType||"HSA - Employer Match"===t.Plan.HSAContributionType){if(e.answers.Enrolling.Family)return t.Plan.HSAContributions.FamilyEmployerMonthlyMatch;if(e.answers.Enrolling.EmployeeOnly)return t.Plan.HSAContributions.EmployeeOnlyEmployerMonthlyMatch;if(e.answers.Enrolling.EmployeePlusChildren)return t.Plan.HSAContributions.EmployeeChildrenEmployerMonthlyMatch;if(e.answers.Enrolling.EmployeePlusSpouse)return t.Plan.HSAContributions.EmployeeSpouseEmployerMonthlyMatch}return 0})(t)},D=(t,n,r)=>{try{var o;if(r)if(null!==n&&void 0!==n&&null!==(o=n.RawData)&&void 0!==o&&o.Details){if(e.answers.Enrolling.Family)return n.RawData.Details.FamilyEmployerMonthlyMatchMax;if(e.answers.Enrolling.EmployeeOnly)return n.RawData.Details.EmployeeOnlyEmployerMonthlyMatchMax;if(e.answers.Enrolling.EmployeePlusChildren)return n.RawData.Details.EmployeeChildrenEmployerMonthlyMatchMax;if(e.answers.Enrolling.EmployeePlusSpouse)return n.RawData.Details.EmployeeSpouseEmployerMonthlyMatchMax}}catch(ce){console.error("Error getting getMaxHSAValue",ce)}return(t=>{if(F.report("called deprecatedGetMaxHSAValue"),"Employer Match"===t.Plan.HSAContributionType||"HSA - Employer Match"===t.Plan.HSAContributionType){if(e.answers.Enrolling.Family)return t.Plan.HSAContributions.FamilyEmployerMonthlyMatchMax;if(e.answers.Enrolling.EmployeeOnly)return t.Plan.HSAContributions.EmployeeOnlyEmployerMonthlyMatchMax;if(e.answers.Enrolling.EmployeePlusChildren)return t.Plan.HSAContributions.EmployeeChildrenEmployerMonthlyMatchMax;if(e.answers.Enrolling.EmployeePlusSpouse)return t.Plan.HSAContributions.EmployeeSpouseEmployerMonthlyMatchMax}})(t)},j=(t,n)=>{try{var r;if(null!==n&&void 0!==n&&null!==(r=n.RawData)&&void 0!==r&&r.Details){if(e.answers.Enrolling.Family)return n.RawData.Details.Family*C(t);if(e.answers.Enrolling.EmployeeOnly)return n.RawData.Details.EmployeeOnly*C(t);if(e.answers.Enrolling.EmployeePlusChildren)return n.RawData.Details.EmployeeChildren*C(t);if(e.answers.Enrolling.EmployeePlusSpouse)return n.RawData.Details.EmployeeSpouse*C(t)}}catch(ce){console.error("Error getting getAnnualEmployeeAmount",ce)}return(t=>(F.report("called deprecatedGetAnnualEmployeeAmount"),e.answers.Enrolling.Family?t.Plan.HSAContributions.Family*C(t):e.answers.Enrolling.EmployeeOnly?t.Plan.HSAContributions.EmployeeOnly*C(t):e.answers.Enrolling.EmployeePlusChildren?t.Plan.HSAContributions.EmployeeChildren*C(t):e.answers.Enrolling.EmployeePlusSpouse?t.Plan.HSAContributions.EmployeeSpouse*C(t):void 0))(t)},A=(t,n,r)=>{try{var o;if(null!==n&&void 0!==n&&null!==(o=n.RawData)&&void 0!==o&&o.Details){var i,a;if("HSA - No Employer Contribution"===(null===n||void 0===n||null===(i=n.RawData)||void 0===i||null===(a=i.Details)||void 0===a?void 0:a.ContributionType))return 0;if(r){if(e.answers.Enrolling.Family)return Number(n.RawData.Details.FamilyEmployerMonthlyMatchMax)||0;if(e.answers.Enrolling.EmployeeOnly)return Number(n.RawData.Details.EmployeeOnlyEmployerMonthlyMatchMax)||0;if(e.answers.Enrolling.EmployeePlusChildren)return Number(n.RawData.Details.EmployeeChildrenEmployerMonthlyMatchMax)||0;if(e.answers.Enrolling.EmployeePlusSpouse)return Number(n.RawData.Details.EmployeeSpouseEmployerMonthlyMatchMax)||0}return e.answers.Enrolling.Family?Number(n.RawData.Details.Family)||0:e.answers.Enrolling.EmployeeOnly?Number(n.RawData.Details.EmployeeOnly)||0:e.answers.Enrolling.EmployeePlusChildren?Number(n.RawData.Details.EmployeeChildren)||0:e.answers.Enrolling.EmployeePlusSpouse&&Number(n.RawData.Details.EmployeeSpouse)||0}}catch(ce){console.error("Error getting hsaEmployerValue",ce)}return(t=>{if(F.report("called deprecatedHSAEmployerValue"),!t.Plan.HSACompatible||"HSA - No Employer Contribution"===t.Plan.HSAContributionType||"FSA"===t.Plan.HSAContributionType||"none"===t.Plan.HSAContributionType)return 0;if("Employer Match"===t.Plan.HSAContributionType||"HSA - Employer Match"===t.Plan.HSAContributionType){if(e.answers.Enrolling.Family)return Number(t.Plan.HSAContributions.FamilyEmployerMonthlyMatchMax)||0;if(e.answers.Enrolling.EmployeeOnly)return Number(t.Plan.HSAContributions.EmployeeOnlyEmployerMonthlyMatchMax)||0;if(e.answers.Enrolling.EmployeePlusChildren)return Number(t.Plan.HSAContributions.EmployeeChildrenEmployerMonthlyMatchMax)||0;if(e.answers.Enrolling.EmployeePlusSpouse)return Number(t.Plan.HSAContributions.EmployeeSpouseEmployerMonthlyMatchMax)||0}return e.answers.Enrolling.Family?Number(t.Plan.HSAContributions.Family)||0:e.answers.Enrolling.EmployeeOnly?Number(t.Plan.HSAContributions.EmployeeOnly)||0:e.answers.Enrolling.EmployeePlusChildren?Number(t.Plan.HSAContributions.EmployeeChildren)||0:e.answers.Enrolling.EmployeePlusSpouse&&Number(t.Plan.HSAContributions.EmployeeSpouse)||0})(t)},P=(t,n,r)=>{if(r){let o=D(t,n,r),i=S(t,n,r),a=o*C(t),s=0;if(i>0&&(s=o/i*C(t)),e.answers.Enrolling.EmployeeOnly){let e=4300-(a+s);return e>0?Math.floor(e/C(t)+s/C(t)):Math.floor(s/C(t))}{let e=8550-(a+s);return e>0?Math.floor(e/C(t)+s/C(t)):Math.floor(s/C(t))}}return e.answers.Enrolling.EmployeeOnly?Math.floor((4300-j(t,n))/C(t)):Math.floor((8550-j(t,n))/C(t))},L=e.plan,M=(0,t.useMemo)((()=>{var e,t;if(null!==(e=L.Plan)&&void 0!==e&&null!==(t=e.includedPrograms)&&void 0!==t&&t.length){var n;const e=null===(n=L.Plan)||void 0===n?void 0:n.includedPrograms.find((e=>{let{ProgramType:t}=e;return"health_savings_account"===t}));return e}return{}}),[null===(n=L.Plan)||void 0===n?void 0:n.ID,null===x||void 0===x||null===(r=x.data)||void 0===r||null===(o=r.products)||void 0===o?void 0:o.length]),N=(0,t.useMemo)((()=>{var e,t;return M?null===x||void 0===x||null===(e=x.data)||void 0===e||null===(t=e.products)||void 0===t?void 0:t.find((e=>{let{ID:t}=e;return t===(null===M||void 0===M?void 0:M.RelatedProductID)})):{}}),[M]),O="Employer Match"===L.Plan.HSAContributionType||"HSA - Employer Match"===L.Plan.HSAContributionType,T=(0,t.useMemo)((()=>{var e,t,n;return null!==M&&void 0!==M&&null!==(e=M.RawData)&&void 0!==e&&null!==(t=e.Details)&&void 0!==t&&t.ContributionType?null===(n=M.RawData.Details.ContributionType)||void 0===n?void 0:n.includes("Employer Match"):(console.log("used deprecated value for isEmployerMatch"),O)}),[O,M]),R=(0,t.useCallback)((e=>{let{className:t}=e;return null!==N&&void 0!==N&&N.ProviderID&&"00000000-0000-0000-0000-000000000000"!==(null===N||void 0===N?void 0:N.ProviderID)?(0,Cs.jsx)("div",{className:xs(t,bs`
              border: 1px solid ${ks.gray[300]};
              border-radius: 8px;
              min-width: 164px;
              background-color: white;
              ${Tu("center")}
            `),children:(0,Cs.jsx)(wh,{carrierID:null===N||void 0===N?void 0:N.ProviderID,planCarrierName:null===N||void 0===N?void 0:N.ProviderName,css:"\n              min-width: 180px;\n              max-width: 180px;\n            ",maxHeight:"80px",position:"center"})}):null}),[null===N||void 0===N?void 0:N.ID]);return(0,Cs.jsxs)(uO.div,{initial:"pageInitial",animate:"pageAnimate",exit:"pageExit",variants:{pageInitial:{x:400,opacity:0},pageAnimate:{x:0,opacity:1},pageExit:{x:-400,opacity:0}},className:YE,style:{border:`4px solid ${null!==(i=e.designStyles)&&void 0!==i&&null!==(a=i.Theme)&&void 0!==a&&null!==(s=a.Body)&&void 0!==s&&s.ButtonColor?null===(l=e.designStyles)||void 0===l||null===(u=l.Theme)||void 0===u||null===(c=u.Body)||void 0===c?void 0:c.ButtonColor:"#25282D"}`},children:[(0,Cs.jsxs)("div",{className:bs`
          display: flex;
          justify-content: space-between;
          align-items: center;
          width: 100%;
          ${WE} {
            ${Tu("center column")}
            .large-screen {
              display: none;
            }
          }
          ${zE} {
            .small-screen {
              display: none;
            }
          }
        `,children:[(0,Cs.jsx)("div",{className:bs`
            flex-grow: 1;
            margin-right: 16px;
            max-width: 66%;
            ${WE} {
              min-width: 140px;
            }
          `,children:(0,Cs.jsxs)("div",{children:[(0,Cs.jsx)(Ts,{h4:!0,css:"\n                font-size: 20px;\n                padding-bottom: 8px;\n              ",children:"Health Savings Account"}),(0,Cs.jsx)(R,{className:"small-screen"}),(0,Cs.jsx)(Ts,{children:"Set aside money on a pre-tax basis to pay for qualified medical expenses."})]})}),(0,Cs.jsx)(R,{className:"large-screen"})]}),(0,Cs.jsx)(gf,{display:b,onClose:()=>k(!1),children:(0,Cs.jsxs)("div",{className:bs`
            padding: 24px;
          `,children:[(0,Cs.jsxs)("div",{className:bs`
              ${Tu("space-between")}
            `,children:[(0,Cs.jsx)(Ts,{h2:!0,children:"Health Savings Account"}),(0,Cs.jsx)(Gu,{styles:"icon",children:(0,Cs.jsx)(kh,{})})]}),(0,Cs.jsxs)("div",{className:bs`
              max-height: 50vh;
              overflow-y: scroll;
              ${Ru.hide}
            `,children:[T&&(0,Cs.jsxs)("div",{className:bs`
                  display: flex;
                  align-items: center;
                  margin: 8px auto;
                  flex-wrap: wrap;
                `,children:[(0,Cs.jsx)(LR,{className:bs`
                    margin-right: 24px;
                    ${WE} {
                      display: none;
                    }
                  `}),(0,Cs.jsxs)("div",{children:[(0,Cs.jsxs)(gS,{children:["Your employer provides an ",(0,Cs.jsx)("strong",{children:"HSA match!"})]}),(0,Cs.jsxs)(gS,{children:["For every ",(0,Cs.jsx)("strong",{children:"$1 you contribute"}),", your"," ",(0,Cs.jsxs)("strong",{children:["employer will contribute $",null===(d=S(L,M,T))||void 0===d?void 0:d.toFixed(2)]})]}),(0,Cs.jsxs)(gS,{children:["Up to"," ",(0,Cs.jsxs)("strong",{children:["$",null===(p=D(L,M,T))||void 0===p?void 0:p.toFixed(2)]})," ","monthly!"]})]})]}),(0,Cs.jsx)(gS,{style:{marginTop:"16px"},children:"Based off your responses from earlier, you may have some anticipated medical expenses this year. An HSA is a great way to plan for those costs and save for a rainy day!"}),(0,Cs.jsxs)("div",{className:$E,children:[(0,Cs.jsxs)("div",{className:HE,children:[(0,Cs.jsx)(gS,{children:T?"To cover estimated medical expenses, or to max out your employer match, contribute this much monthly to your HSA":"Recommendation for monthly contribution to cover estimated remaining costs"}),(0,Cs.jsxs)(gS,{style:{fontWeight:"bold"},children:["$",Math.floor(((e,t,n)=>{var r,o;if(n){var i,a;let r=P(e,t,n),o=D(e,t,n),s=S(e,t,n),l=0;s>0&&(l=o/s);let u=(null===(i=e.PlanCostsForYear)||void 0===i||null===(a=i.FinalPlanCostBreakdown)||void 0===a?void 0:a.EstimatedOutOfPocketCost)-A(e,t,n)*C(e);if(u>0){const t=u/C(e);return t>r?r:t<l?l:t}return l}const s=P(e,t,n);let l=(null===(r=e.PlanCostsForYear)||void 0===r||null===(o=r.FinalPlanCostBreakdown)||void 0===o?void 0:o.EstimatedOutOfPocketCost)- -A(e,t,n)*C(e);if(l>0){if(l<=0)return 0;{const t=l/C(e);return t>s?s:t}}return 0})(L,M,T))]})]}),(0,Cs.jsxs)("div",{className:HE,children:[(0,Cs.jsx)(gS,{children:"Recommendation for monthly contribution to maximize your HSA"}),(0,Cs.jsxs)(gS,{style:{fontWeight:"bold"},children:["$",P(L,M,T)]})]})]}),(0,Cs.jsx)(gS,{style:{fontWeight:"bold",margin:"16px 0"},children:"HSA Triple Tax Advantage"}),(0,Cs.jsxs)("div",{className:bs`
                display: flex;
                justify-content: space-around;
                align-items: center;
                flex-wrap: wrap;
              `,children:[(0,Cs.jsxs)("div",{className:XR,children:[(0,Cs.jsx)(TR,{}),(0,Cs.jsx)(gS,{children:"Contributions are Tax-Fee"})]}),(0,Cs.jsxs)("div",{className:XR,children:[(0,Cs.jsx)(BR,{}),(0,Cs.jsx)(gS,{children:"Funds grow Interest-Free"})]}),(0,Cs.jsxs)("div",{className:XR,children:[(0,Cs.jsx)(m_,{}),(0,Cs.jsx)(gS,{children:"Pay for Expenses Tax-Free"})]})]}),(0,Cs.jsx)(gS,{style:{fontWeight:"bold",margin:"16px 0"},children:"HSA Useful Tips!"}),(0,Cs.jsxs)("div",{className:XR,children:[(0,Cs.jsx)(HR,{}),(0,Cs.jsx)(gS,{children:"The money is yours, even if you change employers!"})]}),(0,Cs.jsxs)("div",{className:XR,children:[(0,Cs.jsx)(m_,{}),(0,Cs.jsx)(gS,{children:"Use it to pay for qualified Medical, Dental and Vision expenses tax-free!"})]}),(0,Cs.jsxs)("div",{className:XR,children:[(0,Cs.jsx)(YR,{}),(0,Cs.jsx)(gS,{children:"An HSA compliments a 401(k) to bolster your retirement savings."})]}),(0,Cs.jsxs)("div",{className:XR,children:[(0,Cs.jsx)(QR,{}),(0,Cs.jsxs)(gS,{children:["Any employer contribution is ",(0,Cs.jsx)("strong",{children:"FREE MONEY!"})]})]}),null!==N&&void 0!==N&&null!==(f=N.Details)&&void 0!==f&&f.MinimumBalanceForInvesting&&"0"!==(null===N||void 0===N||null===(h=N.Details)||void 0===h?void 0:h.MinimumBalanceForInvesting)?(0,Cs.jsxs)("div",{className:XR,children:[(0,Cs.jsx)(BR,{}),(0,Cs.jsxs)(gS,{children:["Once you have over $",null===N||void 0===N||null===(m=N.Details)||void 0===m?void 0:m.MinimumBalanceForInvesting," in your HSA, you can invest for greater savings."]})]}):null,(0,Cs.jsxs)("div",{className:XR,children:[(0,Cs.jsx)(TR,{}),(0,Cs.jsx)(gS,{children:"Any capital gains your HSA earns are tax-free."})]}),!!_.length&&(0,Cs.jsx)("div",{className:$E,children:_.map((e=>(0,Cs.jsxs)("div",{className:HE,children:[(0,Cs.jsx)(gS,{children:e.Title}),(0,Cs.jsx)(gS,{style:{fontWeight:"bold"},children:e.Description})]},e.Title+e.Description)))}),e.benefit.Disclaimer&&(0,Cs.jsx)("div",{className:bs`
                  font-size: 9px;
                  font-weight: 400;
                  margin: 16px;
                `,children:(e=>n_(e.replace(/(?:^|[^"'])((ftp|http|https|file):\/\/[\S]+(\b|$))/gi," <a href='$1' target='_blank'>$1</a>")))(e.benefit.Disclaimer)})]})]})}),(0,Cs.jsx)("div",{className:bs`
          display: flex;
          justify-content: left;
        `,children:(0,Cs.jsx)(Gu,{naked:!0,css:"\n            text-decoration: underline;\n            text-transform: none;\n            padding: 8px 0;\n          ","aria-label":"Learn more",onClick:()=>k(!b),"data-ph-capture-attribute-source":null===r_||void 0===r_||null===(g=r_.types)||void 0===g?void 0:g.RECOMMENDATIONS,"data-ph-capture-attribute-action":null===r_||void 0===r_||null===(v=r_.actions)||void 0===v?void 0:v.VIEW_MORE,"data-ph-capture-attribute-product-type":null===(y=e.benefit)||void 0===y?void 0:y.Type,children:"Learn More"})})]},"hsaplan_question")};var eI=new Map;eI.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M96,160H40a8,8,0,0,1-8-8V104a8,8,0,0,1,8-8H96V40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8V96h56a8,8,0,0,1,8,8v48a8,8,0,0,1-8,8H160v56a8,8,0,0,1-8,8H104a8,8,0,0,1-8-8V160Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),eI.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M96,160H40a8,8,0,0,1-8-8V104a8,8,0,0,1,8-8H96V40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8V96h56a8,8,0,0,1,8,8v48a8,8,0,0,1-8,8H160v56a8,8,0,0,1-8,8H104a8,8,0,0,1-8-8V160Z",opacity:"0.2"}),t.createElement("path",{d:"M96,160H40a8,8,0,0,1-8-8V104a8,8,0,0,1,8-8H96V40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8V96h56a8,8,0,0,1,8,8v48a8,8,0,0,1-8,8H160v56a8,8,0,0,1-8,8H104a8,8,0,0,1-8-8V160Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),eI.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M232,104v48a16,16,0,0,1-16,16H168v48a16,16,0,0,1-16,16H104a16,16,0,0,1-16-16V168H40a16,16,0,0,1-16-16V104A16,16,0,0,1,40,88H88V40a16,16,0,0,1,16-16h48a16,16,0,0,1,16,16V88h48A16,16,0,0,1,232,104Z"}))})),eI.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M96,160H40a8,8,0,0,1-8-8V104a8,8,0,0,1,8-8H96V40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8V96h56a8,8,0,0,1,8,8v48a8,8,0,0,1-8,8H160v56a8,8,0,0,1-8,8H104a8,8,0,0,1-8-8V160Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),eI.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M96,160H40a8,8,0,0,1-8-8V104a8,8,0,0,1,8-8H96V40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8V96h56a8,8,0,0,1,8,8v48a8,8,0,0,1-8,8H160v56a8,8,0,0,1-8,8H104a8,8,0,0,1-8-8V160Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),eI.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M96,160H40a8,8,0,0,1-8-8V104a8,8,0,0,1,8-8H96V40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8V96h56a8,8,0,0,1,8,8v48a8,8,0,0,1-8,8H160v56a8,8,0,0,1-8,8H104a8,8,0,0,1-8-8V160Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var tI=function(e,t){return Ua(e,t,eI)},nI=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:tI}))}));nI.displayName="FirstAid";const rI=nI;var oI=new Map;oI.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M49.4,94.6A32,32,0,0,1,94.6,49.4l112,112a32,32,0,0,1-45.2,45.2Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M161.4,49.4a32,32,0,0,1,45.2,45.2l-112,112a32,32,0,0,1-45.2-45.2Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),oI.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M206.6,94.6a32,32,0,0,0-45.2-45.2L128,82.7,173.3,128Z",opacity:"0.2"}),t.createElement("path",{d:"M49.4,161.4a32,32,0,0,0,45.2,45.2L128,173.3,82.7,128Z",opacity:"0.2"}),t.createElement("path",{d:"M94.6,49.4A32,32,0,0,0,49.4,94.6L82.7,128,128,82.7Z",opacity:"0.2"}),t.createElement("path",{d:"M173.3,128,128,173.3l33.4,33.3a32,32,0,0,0,45.2-45.2Z",opacity:"0.2"}),t.createElement("path",{d:"M49.4,94.6A32,32,0,0,1,94.6,49.4l112,112a32,32,0,0,1-45.2,45.2Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M161.4,49.4a32,32,0,0,1,45.2,45.2l-112,112a32,32,0,0,1-45.2-45.2Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("circle",{cx:"128",cy:"128",r:"4",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16",opacity:"0.5"}),t.createElement("circle",{cx:"128",cy:"128",r:"12"}))})),oI.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"128",r:"12"}),t.createElement("path",{d:"M184.6,128l27.7-27.7a40,40,0,0,0-56.6-56.6L128,71.4,100.3,43.7a40,40,0,0,0-56.6,56.6L71.4,128,43.7,155.7a40,40,0,0,0,56.6,56.6L128,184.6l27.7,27.7a40,40,0,0,0,56.6-56.6ZM128,94.1,161.9,128,128,161.9,94.1,128ZM167,55a24,24,0,0,1,34,34l-27.7,27.7-34-34ZM89,201a24,24,0,0,1-34-34l27.7-27.7,34,34Z"}))})),oI.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M49.4,94.6A32,32,0,0,1,94.6,49.4l112,112a32,32,0,0,1-45.2,45.2Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M161.4,49.4a32,32,0,0,1,45.2,45.2l-112,112a32,32,0,0,1-45.2-45.2Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("circle",{cx:"128",cy:"128",r:"4",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12",opacity:"0.5"}),t.createElement("circle",{cx:"128",cy:"128",r:"10"}))})),oI.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M161.4,49.4a32,32,0,0,1,45.2,45.2l-112,112a32,32,0,0,1-45.2-45.2Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M49.4,94.6A32,32,0,0,1,94.6,49.4l112,112a32,32,0,0,1-45.2,45.2Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("circle",{cx:"128",cy:"128",r:"4",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8",opacity:"0.5"}),t.createElement("circle",{cx:"128",cy:"128",r:"8"}))})),oI.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M49.4,94.6A32,32,0,0,1,94.6,49.4l112,112a32,32,0,0,1-45.2,45.2Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M161.4,49.4a32,32,0,0,1,45.2,45.2l-112,112a32,32,0,0,1-45.2-45.2Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("circle",{cx:"128",cy:"128",r:"4",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16",opacity:"0.5"}),t.createElement("circle",{cx:"128",cy:"128",r:"12"}))}));var iI=function(e,t){return Ua(e,t,oI)},aI=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:iI}))}));aI.displayName="Bandaids";const sI=aI;var lI=new Map;lI.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M208,136c0,51-66.2,68.8-78.2,71.6a7.3,7.3,0,0,1-3.6,0C114.2,204.8,48,187,48,136V77.4A7.9,7.9,0,0,1,53,70l72-28.8a7.8,7.8,0,0,1,6,0L203,70a7.9,7.9,0,0,1,5,7.4Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"88",y1:"108",x2:"168",y2:"108",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"88",y1:"144",x2:"168",y2:"144",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M205.4,152H220a23.9,23.9,0,0,0,24-24V104a23.9,23.9,0,0,0-24-24H208",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M50.6,152H36a23.9,23.9,0,0,1-24-24V104A23.9,23.9,0,0,1,36,80H48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),lI.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M216,136c0,51.5-74.4,69.2-86.4,71.7a8.6,8.6,0,0,1-3.2,0C114.4,205.2,40,187.5,40,136V77.6a7.9,7.9,0,0,1,5.3-7.5l80-29.1a8.3,8.3,0,0,1,5.4,0l80,29.1a7.9,7.9,0,0,1,5.3,7.5Z",opacity:"0.2"}),t.createElement("path",{d:"M216,136c0,51.5-74.4,69.2-86.4,71.7a8.6,8.6,0,0,1-3.2,0C114.4,205.2,40,187.5,40,136V77.6a7.9,7.9,0,0,1,5.3-7.5l80-29.1a8.3,8.3,0,0,1,5.4,0l80,29.1a7.9,7.9,0,0,1,5.3,7.5Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"88",y1:"112",x2:"168",y2:"112",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"88",y1:"144",x2:"168",y2:"144",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M213.4,152H224a23.9,23.9,0,0,0,24-24V104a23.9,23.9,0,0,0-24-24h-8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M42.6,152H32A23.9,23.9,0,0,1,8,128V104A23.9,23.9,0,0,1,32,80h8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),lI.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M224,72h-1a16,16,0,0,0-9.5-9.4l-80-29.1a16,16,0,0,0-11,0l-80,29.1A16,16,0,0,0,33,72H32A32.1,32.1,0,0,0,0,104v24a32.1,32.1,0,0,0,32,32h5.2c6.6,14.4,19.3,27,37.6,37.2,21.1,11.7,43.6,17,49.9,18.3l3.3.3,3.3-.3c6.3-1.3,28.8-6.6,49.9-18.3,18.3-10.2,31-22.8,37.6-37.2H224a32.1,32.1,0,0,0,32-32V104A32.1,32.1,0,0,0,224,72ZM32,144a16,16,0,0,1-16-16V104A16,16,0,0,1,32,88v48a52.9,52.9,0,0,0,.6,8Zm136,8H88a8,8,0,0,1,0-16h80a8,8,0,0,1,0,16Zm0-32H88a8,8,0,0,1,0-16h80a8,8,0,0,1,0,16Zm72,8a16,16,0,0,1-16,16h-.6a52.9,52.9,0,0,0,.6-8V88a16,16,0,0,1,16,16Z"}))})),lI.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M216,136c0,51.5-74.4,69.2-86.4,71.7a8.6,8.6,0,0,1-3.2,0C114.4,205.2,40,187.5,40,136V77.6a7.9,7.9,0,0,1,5.3-7.5l80-29.1a8.3,8.3,0,0,1,5.4,0l80,29.1a7.9,7.9,0,0,1,5.3,7.5Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"88",y1:"112",x2:"168",y2:"112",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"88",y1:"144",x2:"168",y2:"144",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M213.4,152H224a23.9,23.9,0,0,0,24-24V104a23.9,23.9,0,0,0-24-24h-8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M42.6,152H32A23.9,23.9,0,0,1,8,128V104A23.9,23.9,0,0,1,32,80h8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),lI.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M216,136c0,51.5-74.4,69.2-86.4,71.7a8.6,8.6,0,0,1-3.2,0C114.4,205.2,40,187.5,40,136V77.6a7.9,7.9,0,0,1,5.3-7.5l80-29.1a8.3,8.3,0,0,1,5.4,0l80,29.1a7.9,7.9,0,0,1,5.3,7.5Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"88",y1:"112",x2:"168",y2:"112",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"88",y1:"144",x2:"168",y2:"144",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M213.4,152H224a23.9,23.9,0,0,0,24-24V104a23.9,23.9,0,0,0-24-24h-8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M42.6,152H32A23.9,23.9,0,0,1,8,128V104A23.9,23.9,0,0,1,32,80h8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),lI.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M216,136c0,51.5-74.4,69.2-86.4,71.7a8.6,8.6,0,0,1-3.2,0C114.4,205.2,40,187.5,40,136V77.6a7.9,7.9,0,0,1,5.3-7.5l80-29.1a8.3,8.3,0,0,1,5.4,0l80,29.1a7.9,7.9,0,0,1,5.3,7.5Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"88",y1:"112",x2:"168",y2:"112",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"88",y1:"144",x2:"168",y2:"144",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M213.4,152H224a23.9,23.9,0,0,0,24-24V104a23.9,23.9,0,0,0-24-24h-8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M42.6,152H32A23.9,23.9,0,0,1,8,128V104A23.9,23.9,0,0,1,32,80h8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var uI=function(e,t){return Ua(e,t,lI)},cI=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:uI}))}));cI.displayName="FaceMask";const dI=cI;var pI=new Map;pI.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("circle",{cx:"128",cy:"128",r:"32",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),pI.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),t.createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("circle",{cx:"128",cy:"128",r:"40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),pI.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M247.3,124.8c-.3-.8-8.8-19.6-27.6-38.5C194.6,61.3,162.9,48,128,48S61.4,61.3,36.3,86.3C17.5,105.2,9,124,8.7,124.8a7.9,7.9,0,0,0,0,6.4c.3.8,8.8,19.6,27.6,38.5C61.4,194.7,93.1,208,128,208s66.6-13.3,91.7-38.3c18.8-18.9,27.3-37.7,27.6-38.5A7.9,7.9,0,0,0,247.3,124.8ZM128,92a36,36,0,1,1-36,36A36,36,0,0,1,128,92Z"}))})),pI.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("circle",{cx:"128",cy:"128",r:"40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),pI.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("circle",{cx:"128",cy:"128",r:"40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),pI.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("circle",{cx:"128",cy:"128",r:"40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var fI=function(e,t){return Ua(e,t,pI)},hI=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:fI}))}));hI.displayName="Eye";const mI=hI;var gI=new Map;gI.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"140",r:"40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M70.4,216a64.1,64.1,0,0,1,115.2,0",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M204.5,116.6A60.1,60.1,0,0,1,244,140",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M167.1,70.2A32,32,0,1,1,204,115",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M52,115A32,32,0,1,1,88.9,70.2",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M12,140a60.1,60.1,0,0,1,39.5-23.4",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),gI.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"140",r:"40",opacity:"0.2"}),t.createElement("circle",{cx:"60",cy:"84",r:"32",opacity:"0.2"}),t.createElement("circle",{cx:"196",cy:"84",r:"32",opacity:"0.2"}),t.createElement("circle",{cx:"128",cy:"140",r:"40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M196,116a59.8,59.8,0,0,1,48,24",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M12,140a59.8,59.8,0,0,1,48-24",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M70.4,216a64.1,64.1,0,0,1,115.2,0",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M60,116A32,32,0,1,1,91.4,78",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M164.6,78A32,32,0,1,1,196,116",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),gI.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M64,140a7.9,7.9,0,0,1-8,8H12a8.2,8.2,0,0,1-7.2-4.4,8.2,8.2,0,0,1,.8-8.4A67.8,67.8,0,0,1,33,113.5a40,40,0,1,1,66.3-37,8.1,8.1,0,0,1-3.8,8.4,64.3,64.3,0,0,0-27.8,33.8A61.6,61.6,0,0,0,64,140Zm186.4-4.8A67.8,67.8,0,0,0,223,113.5a40,40,0,1,0-66.3-37,8.1,8.1,0,0,0,3.8,8.4,64,64,0,0,1,27.8,33.8A61.6,61.6,0,0,1,192,140a7.9,7.9,0,0,0,8,8h44a8,8,0,0,0,6.4-12.8Zm-93.2,42.9a48,48,0,1,0-58.4,0,72.1,72.1,0,0,0-35.6,34.4,7.8,7.8,0,0,0,.5,7.7,7.8,7.8,0,0,0,6.7,3.8H185.6a7.8,7.8,0,0,0,6.7-3.8,7.8,7.8,0,0,0,.5-7.7A72.1,72.1,0,0,0,157.2,178.1Z"}))})),gI.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"140",r:"40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M196,116a59.8,59.8,0,0,1,48,24",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M12,140a59.8,59.8,0,0,1,48-24",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M70.4,216a64.1,64.1,0,0,1,115.2,0",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M60,116A32,32,0,1,1,91.4,78",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M164.6,78A32,32,0,1,1,196,116",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),gI.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"140",r:"40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M196,116a59.8,59.8,0,0,1,48,24",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M12,140a59.8,59.8,0,0,1,48-24",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M70.4,216a64.1,64.1,0,0,1,115.2,0",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M60,116A32,32,0,1,1,91.4,78",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M164.6,78A32,32,0,1,1,196,116",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),gI.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"140",r:"40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M196,116a59.8,59.8,0,0,1,48,24",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M12,140a59.8,59.8,0,0,1,48-24",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M70.4,216a64.1,64.1,0,0,1,115.2,0",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M60,116A32,32,0,1,1,91.4,78",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M164.6,78A32,32,0,1,1,196,116",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var vI=function(e,t){return Ua(e,t,gI)},yI=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:vI}))}));yI.displayName="UsersThree";const xI=yI;var bI=new Map;bI.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"88",y1:"128",x2:"168",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"128",y1:"88",x2:"128",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),bI.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"128",r:"96",opacity:"0.2"}),t.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeMiterlimit:"10",strokeWidth:"16"}),t.createElement("line",{x1:"88",y1:"128",x2:"168",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"128",y1:"88",x2:"128",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),bI.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.2,104.2,0,0,0,128,24Zm40,112H136v32a8,8,0,0,1-16,0V136H88a8,8,0,0,1,0-16h32V88a8,8,0,0,1,16,0v32h32a8,8,0,0,1,0,16Z"}))})),bI.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"88",y1:"128",x2:"168",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"128",y1:"88",x2:"128",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),bI.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"88",y1:"128",x2:"168",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"128",y1:"88",x2:"128",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),bI.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeMiterlimit:"10",strokeWidth:"16"}),t.createElement("line",{x1:"88",y1:"128",x2:"168",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"128",y1:"88",x2:"128",y2:"168",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var kI=function(e,t){return Ua(e,t,bI)},wI=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:kI}))}));wI.displayName="PlusCircle";const EI=wI,_I=bs`
  display: flex;
  align-items: center;
  border-radius: 16px;
  border: 1px solid #d1dae3;
  border: none;
  margin: 0 16px;
  padding: 8px;
  p {
    margin-left: 16px;
  }
`,CI=e=>{var n,r,o,i,a,s,l,u,c,d;const[p,f]=(0,t.useState)(!1),h=(0,t.useMemo)((()=>e.benefit&&e.benefit.TitleDescriptions?e.benefit.TitleDescriptions.filter((e=>!e.Autogenerated&&!!e.Title&&!!e.Description)):[]),[]),m=(e.carrier&&e.carrier.LogoURL,(0,t.useCallback)((t=>{var n,r,o,i;let{className:a}=t;return null!==(n=e.benefit)&&void 0!==n&&n.ProviderID&&"00000000-0000-0000-0000-000000000000"!==(null===(r=e.benefit)||void 0===r?void 0:r.ProviderID)?(0,Cs.jsx)("div",{className:xs(a,bs`
              border: 1px solid ${ks.gray[300]};
              border-radius: 8px;
              min-width: 164px;
              background-color: white;
              ${Tu("center")}
            `),children:(0,Cs.jsx)(wh,{carrierID:null===(o=e.benefit)||void 0===o?void 0:o.ProviderID,planCarrierName:null===(i=e.benefit)||void 0===i?void 0:i.ProviderName,maxHeight:"80px",position:"center"})}):null}),[null===(n=e.benefit)||void 0===n?void 0:n.ProviderID]));return(0,Cs.jsxs)(uO.div,{initial:"pageInitial",animate:"pageAnimate",exit:"pageExit",variants:{pageInitial:{x:400,opacity:0},pageAnimate:{x:0,opacity:1},pageExit:{x:-400,opacity:0}},className:YE,style:{border:`4px solid ${null!==(r=e.designStyles)&&void 0!==r&&null!==(o=r.Theme)&&void 0!==o&&null!==(i=o.Body)&&void 0!==i&&i.ButtonColor?null===(a=e.designStyles)||void 0===a||null===(s=a.Theme)||void 0===s||null===(l=s.Body)||void 0===l?void 0:l.ButtonColor:"#25282D"}`},children:[(0,Cs.jsxs)("div",{className:bs`
          display: flex;
          justify-content: space-between;
          align-items: center;
          width: 100%;
          ${WE} {
            ${Tu("center column")}
            .large-screen {
              display: none;
            }
          }
          ${zE} {
            .small-screen {
              display: none;
            }
          }
        `,children:[(0,Cs.jsx)("div",{className:bs`
            max-width: 66%;

            margin-right: 16px;
            @media only screen and (max-width: 600px) {
              min-width: 140px;
            }
          `,children:(0,Cs.jsxs)("div",{children:[(0,Cs.jsx)(Ts,{h2:!0,css:"\n                font-size: 20px;\n              ",children:"Flexible Spending Account"}),(0,Cs.jsx)(m,{className:"small-screen"}),(0,Cs.jsx)(Ts,{children:"Pay for certain out-of-pocket healthcare costs, while lowering your taxable income."})]})}),(0,Cs.jsx)(m,{className:"large-screen"})]}),(0,Cs.jsx)("div",{className:bs`
          display: flex;
          align-items: center;
          @media only screen and (min-width: 600px) {
            display: none;
          }
        `,children:(0,Cs.jsx)("div",{className:bs`
            font-size: 12px;
            margin: 0;
            padding: 0;
            flex-grow: 1;
            margin-right: 40px;
            text-align: left;
          `,children:"Pay for certain out-of-pocket healthcare costs, while lowering your taxable income."})}),(0,Cs.jsx)(gf,{display:p,onClose:()=>f(!1),children:(0,Cs.jsxs)("div",{className:bs`
            padding: 24px;
          `,children:[(0,Cs.jsxs)("div",{className:bs`
              ${Tu("space-between")}
            `,children:[(0,Cs.jsx)(Ts,{h2:!0,children:"Flexible Spending Account"}),(0,Cs.jsx)(Gu,{styles:"icon",children:(0,Cs.jsx)(kh,{})})]}),(0,Cs.jsxs)("div",{className:bs`
              max-height: 50vh;
              overflow-y: scroll;
              ${Ru.hide}
            `,children:[(0,Cs.jsx)(gS,{children:"A Flexible Spending Account (FSA) is a special account you put money into (pre-tax) that you use to pay for certain out-of-pocket healthcare costs, while lowering your taxable income. You can choose your amount (up to the annual limit), and that full amount is available to you immediately. That amount will be deducted through payroll deductions pre-tax."}),(0,Cs.jsx)("div",{className:$E,style:{marginBottom:"3px"},children:(0,Cs.jsxs)("div",{className:HE,children:[(0,Cs.jsx)(gS,{children:"2025 IRS Annual FSA Maximum"}),(0,Cs.jsx)(gS,{style:{fontWeight:"bold"},children:"$3,300*"})]})}),(0,Cs.jsx)(gS,{align:"right",color:"secondary",variant:"subtitle2",children:"*See your specific plan details which may have a different limit."}),(0,Cs.jsx)(gS,{style:{marginTop:"16px",fontWeight:"bold"},children:"What can you use your FSA funds for?"}),(0,Cs.jsxs)("div",{className:_I,children:[(0,Cs.jsx)(QR,{}),(0,Cs.jsx)(gS,{children:"Copays or deductibles"})]}),(0,Cs.jsxs)("div",{className:_I,children:[(0,Cs.jsx)(rI,{}),(0,Cs.jsx)(gS,{children:"Qualified medical expenses"})]}),(0,Cs.jsxs)("div",{className:_I,children:[(0,Cs.jsx)(sI,{}),(0,Cs.jsx)(gS,{children:"Certain medical equipment"})]}),(0,Cs.jsxs)("div",{className:_I,children:[(0,Cs.jsx)(dI,{}),(0,Cs.jsx)(gS,{children:"Dental and vision expenses"})]}),(0,Cs.jsxs)("div",{className:_I,children:[(0,Cs.jsx)(mI,{}),(0,Cs.jsx)(gS,{children:"LASIK surgery"})]}),(0,Cs.jsxs)("div",{className:_I,children:[(0,Cs.jsx)(xI,{}),(0,Cs.jsx)(gS,{children:"Therapy and Counseling"})]}),(0,Cs.jsxs)("div",{className:_I,children:[(0,Cs.jsx)(EI,{}),(0,Cs.jsx)(gS,{children:"And much more!"})]}),(0,Cs.jsx)(gS,{style:{marginTop:"16px",fontWeight:"bold"},children:"Who owns your FSA account?"}),(0,Cs.jsx)(gS,{children:"Your employer owns your account. If you do not use your funds by the end of the year you will lose them."}),(0,Cs.jsx)(gS,{style:{marginTop:"16px",fontWeight:"bold"},children:"Access to your funds"}),(0,Cs.jsx)(gS,{children:"Employees have access to the full annual election amount beginning on the first day of coverage."}),!!h.length&&(0,Cs.jsx)("div",{className:$E,children:h.map((e=>(0,Cs.jsxs)("div",{className:HE,children:[(0,Cs.jsx)(gS,{children:e.Title}),(0,Cs.jsx)(gS,{style:{fontWeight:"bold"},children:e.Description})]},e.Title+e.Description)))}),e.benefit.Disclaimer&&(0,Cs.jsx)("div",{className:bs`
                  font-size: 9px;
                  font-weight: 400;
                  margin: 16px;
                `,children:(e=>n_(e.replace(/(?:^|[^"'])((ftp|http|https|file):\/\/[\S]+(\b|$))/gi," <a href='$1' target='_blank'>$1</a>")))(e.benefit.Disclaimer)})]})]})}),(0,Cs.jsx)("div",{className:bs`
          display: flex;
          justify-content: left;
        `,children:(0,Cs.jsx)(Gu,{naked:!0,css:"\n            text-decoration: underline;\n            text-transform: none;\n            padding: 8px 0;\n          ","aria-label":"Learn more",onClick:()=>f(!p),"data-ph-capture-attribute-source":null===r_||void 0===r_||null===(u=r_.types)||void 0===u?void 0:u.RECOMMENDATIONS,"data-ph-capture-attribute-action":null===r_||void 0===r_||null===(c=r_.actions)||void 0===c?void 0:c.VIEW_MORE,"data-ph-capture-attribute-product-type":null===(d=e.benefit)||void 0===d?void 0:d.Type,children:"Learn More"})})]},"fsaplanvie_question")};var SI=new Map;SI.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"48 160 128 80 208 160",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),SI.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("polygon",{points:"48 160 128 80 208 160 48 160",opacity:"0.2"}),t.createElement("polygon",{points:"48 160 128 80 208 160 48 160",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),SI.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M213.7,154.3l-80-80a8.1,8.1,0,0,0-11.4,0l-80,80a8.4,8.4,0,0,0-1.7,8.8A8,8,0,0,0,48,168H208a8,8,0,0,0,7.4-4.9A8.4,8.4,0,0,0,213.7,154.3Z"}))})),SI.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"48 160 128 80 208 160",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),SI.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"48 160 128 80 208 160",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),SI.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"48 160 128 80 208 160",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var DI=function(e,t){return Ua(e,t,SI)},jI=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:DI}))}));jI.displayName="CaretUp";const AI=jI;class PI extends t.Component{constructor(e){super(e),this.toggleLearnMore=()=>{this.setState(((e,t)=>({learnMoreOpen:!e.learnMoreOpen})))},this.getTitleDescription=()=>{if(this.props.benefit&&this.props.benefit.TitleDescriptions){let e=[];for(let t of this.props.benefit.TitleDescriptions)t.Autogenerated||e.push(t);return e}return[]},this.hasTitleDescription=()=>this.getTitleDescription().length>0,this.hasLogo=()=>!(!this.props.carrier||!this.props.carrier.LogoURL),this.getLogo=()=>this.props.carrier&&this.props.carrier.LogoURL?this.props.carrier.LogoURL:"",this.parseDisclaimer=e=>n_(this.replaceURLWithHTMLLinks(e)),this.state={learnMoreOpen:!1,meaningsOpen:!1}}replaceURLWithHTMLLinks(e){return e.replace(/(?:^|[^"'])((ftp|http|https|file):\/\/[\S]+(\b|$))/gi," <a href='$1' target='_blank'>$1</a>")}render(){var e,t,n,r,o,i,a,s,l;return(0,Cs.jsxs)(uO.div,{initial:"pageInitial",animate:"pageAnimate",exit:"pageExit",variants:{pageInitial:{x:400,opacity:0},pageAnimate:{x:0,opacity:1},pageExit:{x:-400,opacity:0}},className:xs(bs`
            position: relative;
          `,YE),style:{border:`4px solid ${null!==(e=this.props.designStyles)&&void 0!==e&&null!==(t=e.Theme)&&void 0!==t&&null!==(n=t.Body)&&void 0!==n&&n.ButtonColor?null===(r=this.props.designStyles)||void 0===r||null===(o=r.Theme)||void 0===o||null===(i=o.Body)||void 0===i?void 0:i.ButtonColor:"#25282D"}`},children:[(0,Cs.jsxs)("div",{className:bs`
            display: flex;
            justify-content: space-between;
            align-items: center;
          `,children:[(0,Cs.jsx)("div",{className:bs`
              margin-right: 16px;
              max-width: 66%;
              @media only screen and (max-width: 600px) {
                min-width: 140px;
              }
            `,children:(0,Cs.jsxs)("div",{children:[(0,Cs.jsx)(gS,{style:{fontSize:WE?"16px":"18px",fontWeight:"bold",marginBottom:"8px",textAlign:WE?"left":"center"},children:"Dependent Care FSA"}),(0,Cs.jsx)(gS,{className:bs`
                  font-size: 12px;
                  margin: 0;
                  padding: 0;

                  margin-right: 40px;
                  text-align: left;
                  @media only screen and (max-width: 600px) {
                    display: none;
                  }
                `,children:"Set aside pre-tax dollars for expenses like preschool, summer day camp, before or after school programs, and daycare."})]})}),(0,Cs.jsx)("div",{className:xs(GE,bs`
                justify-content: center;
                align-items: center;
                ${WE} {
                  flex-grow: 1;
                  justify-content: end;
                }
              `),children:this.hasLogo()?(0,Cs.jsx)("img",{src:this.getLogo(),alt:"Carrier Logo"}):null})]}),(0,Cs.jsx)("div",{className:bs`
            display: flex;
            align-items: center;
            @media only screen and (min-width: 600px) {
              display: none;
            }
          `,children:(0,Cs.jsx)("div",{className:bs`
              font-size: 12px;
              margin: 0;
              padding: 0;
              flex-grow: 1;
              margin-right: 40px;
              text-align: left;
            `,children:"Set aside pre-tax dollars for expenses like preschool, summer day camp, before or after school programs, and daycare."})}),this.state.learnMoreOpen&&(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsx)("div",{className:bs`
                font-size: 10px;
                line-height: 1.5;
                padding: 10px;
                padding-top: 0px;
              `,children:"You can pair this plan with any of our medical plan offerings. A Dependent Care FSA allows you to set aside pre-tax dollars for expenses like preschool, summer day camp, before or after school programs, and daycare."}),(0,Cs.jsx)("div",{className:bs`
                font-weight: bold;
                text-align: left;
                padding: 20px;
              `,children:"How much can you set aside annually?"}),(0,Cs.jsxs)("div",{className:bs`
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-right: 40px;
                margin-left: 40px;
                margin-bottom: 16px;
                font-size: 12px;
              `,children:[(0,Cs.jsx)("div",{className:bs`
                  max-width: 40%;
                  text-align: left;
                `,children:"Married and file seperate tax return"}),(0,Cs.jsx)("div",{children:(0,Cs.jsx)("div",{className:bs`
                    font-weight: bold;
                  `,children:"$2,500"})})]}),(0,Cs.jsxs)("div",{className:bs`
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-right: 40px;
                margin-left: 40px;
                margin-bottom: 16px;
                font-size: 12px;
              `,children:[(0,Cs.jsx)("div",{className:bs`
                  max-width: 40%;
                  text-align: left;
                `,children:"Married with joint tax return, single, or head of household"}),(0,Cs.jsx)("div",{children:(0,Cs.jsx)("div",{className:bs`
                    font-weight: bold;
                  `,children:"$5,000"})})]}),(0,Cs.jsx)("div",{className:bs`
                font-weight: bold;
                text-align: left;
                padding: 20px;
              `,children:"Why enroll in this program?"}),(0,Cs.jsxs)("div",{className:bs`
                text-align: left;
                padding-left: 20px;
                padding-right: 20px;
              `,children:["Save an average of 30% on dependant child care services."," "]}),(0,Cs.jsx)("div",{className:bs`
                text-align: left;
                padding-left: 20px;
                padding-right: 20px;
              `,children:"Reduce your overall tax burden"}),(0,Cs.jsx)("div",{className:bs`
                text-align: left;
                padding-left: 20px;
                padding-right: 20px;
                margin-bottom: 24px;
              `,children:"Easy, no-hassle payments and reimbursement options"}),this.hasTitleDescription()&&(0,Cs.jsx)(Cs.Fragment,{children:this.getTitleDescription().map((e=>(0,Cs.jsxs)("div",{className:bs`
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                        margin-right: 40px;
                        margin-left: 40px;
                        margin-bottom: 16px;
                        font-size: 12px;
                      `,children:[(0,Cs.jsx)("div",{className:bs`
                          max-width: 40%;
                          text-align: left;
                        `,children:e.Title}),(0,Cs.jsx)("div",{children:(0,Cs.jsx)("div",{className:bs`
                            font-weight: bold;
                          `,children:e.Description})})]})))}),this.props.benefit.Disclaimer&&(0,Cs.jsx)("div",{className:bs`
                  font-size: 9px;
                  font-weight: 400;
                  margin: 16px;
                `,children:this.parseDisclaimer(this.props.benefit.Disclaimer)})]}),(0,Cs.jsx)("div",{className:bs`
            display: flex;
            justify-content: center;
            margin-bottom: -20px;
          `,children:(0,Cs.jsx)(zC,{"aria-label":"Learn more",onClick:()=>this.toggleLearnMore(),"data-ph-capture-attribute-source":null===r_||void 0===r_||null===(a=r_.types)||void 0===a?void 0:a.RECOMMENDATIONS,"data-ph-capture-attribute-action":null===r_||void 0===r_||null===(s=r_.actions)||void 0===s?void 0:s.VIEW_MORE,"data-ph-capture-attribute-product-type":null===this||void 0===this||null===(l=this.props.benefit)||void 0===l?void 0:l.Type,children:this.state.learnMoreOpen?(0,Cs.jsx)(AI,{size:24}):(0,Cs.jsx)(d_,{size:24})})})]},"fasplan_question")}}class LI extends t.Component{constructor(e){super(e),this.parseDisclaimer=e=>n_(this.replaceURLWithHTMLLinks(e)),this.toggleLearnMore=()=>{this.setState(((e,t)=>({learnMoreOpen:!e.learnMoreOpen})))},this.getTitleDescription=()=>{if(this.props.benefit&&this.props.benefit.TitleDescriptions){let e=[];for(let t of this.props.benefit.TitleDescriptions)t.Autogenerated||e.push(t);return e}return[]},this.hasTitleDescription=()=>this.getTitleDescription().length>0,this.hasLogo=()=>!(!this.props.carrier||!this.props.carrier.LogoURL),this.getLogo=()=>this.props.carrier&&this.props.carrier.LogoURL?this.props.carrier.LogoURL:"",this.state={learnMoreOpen:!1,meaningsOpen:!1}}replaceURLWithHTMLLinks(e){return e.replace(/(?:^|[^"'])((ftp|http|https|file):\/\/[\S]+(\b|$))/gi," <a href='$1' target='_blank'>$1</a>")}render(){var e,t,n,r,o,i,a,s,l;return(0,Cs.jsxs)(uO.div,{initial:"pageInitial",animate:"pageAnimate",exit:"pageExit",variants:{pageInitial:{x:400,opacity:0},pageAnimate:{x:0,opacity:1},pageExit:{x:-400,opacity:0}},className:xs(bs`
            position: relative;
          `,YE),style:{border:`4px solid ${null!==(e=this.props.designStyles)&&void 0!==e&&null!==(t=e.Theme)&&void 0!==t&&null!==(n=t.Body)&&void 0!==n&&n.ButtonColor?null===(r=this.props.designStyles)||void 0===r||null===(o=r.Theme)||void 0===o||null===(i=o.Body)||void 0===i?void 0:i.ButtonColor:"#25282D"}`},children:[(0,Cs.jsxs)("div",{className:bs`
            display: flex;
            justify-content: space-between;
            align-items: center;
          `,children:[(0,Cs.jsx)("div",{className:bs`
              margin-right: 16px;
              max-width: 66%;
              @media only screen and (max-width: 600px) {
                min-width: 140px;
              }
            `,children:(0,Cs.jsxs)("div",{children:[(0,Cs.jsx)(gS,{style:{fontSize:WE?"16px":"18px",fontWeight:"bold",marginBottom:"8px",textAlign:WE?"left":"center"},children:"Limited Purpose FSA"}),(0,Cs.jsx)(gS,{className:bs`
                  font-size: 12px;
                  margin: 0;
                  padding: 0;

                  margin-right: 40px;
                  text-align: left;
                  @media only screen and (max-width: 600px) {
                    display: none;
                  }
                `,children:"A healthcare spending account that can only be used for eligible vision and dental expenses."})]})}),(0,Cs.jsx)("div",{className:xs(GE,bs`
                justify-content: center;
                align-items: center;
                ${WE} {
                  flex-grow: 1;
                  justify-content: end;
                }
              `),children:this.hasLogo()?(0,Cs.jsx)("img",{src:this.getLogo(),alt:"Carrier Logo",className:bs`
                  max-height: 40px;
                  max-width: 100px;
                `}):null})]}),(0,Cs.jsx)("div",{className:bs`
            display: flex;
            align-items: center;
            @media only screen and (min-width: 600px) {
              display: none;
            }
          `,children:(0,Cs.jsx)("div",{className:bs`
              font-size: 12px;
              margin: 0;
              padding: 0;
              flex-grow: 1;
              margin-right: 40px;
              text-align: left;
            `,children:"A healthcare spending account that can only be used for eligible vision and dental expenses."})}),this.state.learnMoreOpen&&(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsxs)("div",{className:bs`
                text-align: left;
                font-weight: bold;
                padding: 16px;
              `,children:["You can contribute up to"," ",(0,Cs.jsx)("span",{className:bs`
                  font-weight: bold;
                `,children:"$3,300"})," ","annually in 2025."]}),(0,Cs.jsxs)("div",{children:[(0,Cs.jsx)("div",{className:bs`
                  text-align: left;
                  padding: 16px;
                  font-weight: bold;
                `,children:"How do I use my limited FSA money?"}),(0,Cs.jsx)("div",{className:bs`
                  text-align: left;
                  padding: 16px;
                `,children:"You (and your eligible dependents) can use these funds to pay for a variety of dental and vision expenses. The IRS determines what is eligible for reimbursement, but here are a few examples:"}),(0,Cs.jsxs)("ul",{className:bs`
                  text-align: left;
                `,children:[(0,Cs.jsx)("li",{children:"Contact lenses & solution"}),(0,Cs.jsx)("li",{children:"Eye Exams"}),(0,Cs.jsx)("li",{children:"Prescription eye glasses"}),(0,Cs.jsx)("li",{children:"Dental coinsurance, copays, and deductibles"}),(0,Cs.jsx)("li",{children:"Dental services"}),(0,Cs.jsx)("li",{children:"Clear aligners"}),(0,Cs.jsx)("li",{children:"And much more"})]})]}),this.hasTitleDescription()&&(0,Cs.jsx)(Cs.Fragment,{children:this.getTitleDescription().map((e=>(0,Cs.jsxs)("div",{className:bs`
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                        margin-right: 40px;
                        margin-left: 40px;
                        margin-bottom: 16px;
                        font-size: 12px;
                      `,children:[(0,Cs.jsx)("div",{className:bs`
                          max-width: 40%;
                          text-align: left;
                        `,children:e.Title}),(0,Cs.jsx)("div",{children:(0,Cs.jsx)("div",{className:bs`
                            font-weight: bold;
                          `,children:e.Description})})]})))}),this.props.benefit.Disclaimer&&(0,Cs.jsx)("div",{className:bs`
                  font-size: 9px;
                  font-weight: 400;
                  margin: 16px;
                `,children:this.parseDisclaimer(this.props.benefit.Disclaimer)})]}),(0,Cs.jsx)("div",{className:bs`
            display: flex;
            justify-content: center;
            margin-bottom: -20px;
          `,children:(0,Cs.jsx)(zC,{"aria-label":"Learn more",onClick:()=>this.toggleLearnMore(),"data-ph-capture-attribute-source":null===r_||void 0===r_||null===(a=r_.types)||void 0===a?void 0:a.RECOMMENDATIONS,"data-ph-capture-attribute-action":null===r_||void 0===r_||null===(s=r_.actions)||void 0===s?void 0:s.VIEW_MORE,"data-ph-capture-attribute-product-type":null===this||void 0===this||null===(l=this.props.benefit)||void 0===l?void 0:l.Type,children:this.state.learnMoreOpen?(0,Cs.jsx)(AI,{size:24}):(0,Cs.jsx)(d_,{size:24})})})]},"limitedpurpose_question")}}const MI=e=>{let{productId:n,products:r,productLayouts:o}=e;const{product:i,layout:a}=(0,t.useMemo)((()=>{const e=null===r||void 0===r?void 0:r.find((e=>{let{ID:t}=e;return t===n}));return{product:e,layout:(null===o||void 0===o?void 0:o[n])||{}}}),[n]),s=(0,t.useMemo)((()=>{const e=IE(i,null===a||void 0===a?void 0:a.Layout);let t=null===e||void 0===e?void 0:e.filter((e=>"hide"!==e.State&&"section"!==(null===e||void 0===e?void 0:e.itemType)));return[...(()=>{if("dental_buyup"===(null===i||void 0===i?void 0:i.Type)||"vision_buyup"===(null===i||void 0===i?void 0:i.Type)){var e,t;const i=null===a||void 0===a||null===(e=a.Layout)||void 0===e||null===(t=e.Sections)||void 0===t?void 0:t.findIndex((e=>{let{DisplayValue:t}=e;return"Premiums & Contributions"===t}));if(i>-1){var n,r,o;const e=null===a||void 0===a||null===(n=a.Layout)||void 0===n||null===(r=n.Sections)||void 0===r?void 0:r[i],t=null===e||void 0===e||null===(o=e.Fields)||void 0===o?void 0:o.find((e=>{let{PropertyChain:t}=e;return"Cost"===t}));return"hide"!==(null===t||void 0===t?void 0:t.State)?[t]:[]}}return[]})(),...t]}),[null===i||void 0===i?void 0:i.ID]),l=null===mR||void 0===mR?void 0:mR[null===i||void 0===i?void 0:i.Type],u=hR(i,s,l);return{product:i,layout:a,config:u}},NI={"space-between":"justify-content: space-between; align-items: center;","space-around":"justify-content: space-around; align-items: center;","space-evenly":"justify-content: space-evenly; align-items: center;",center:"justify-content: center; align-items: center;",left:"justify-content: left; align-items: center;",right:"justify-content: right; align-items: center;",middle:"align-items: center;",start:"align-items: start;",end:"align-items: end;",stretch:"align-items: stretch;",column:"flex-direction: column;",row:"flex-direction: row;","column-reverse":"flex-direction: column-reverse;","row-reverse":"flex-direction: row-reverse;",grow:"flex-grow: 1;",wrap:"flex-wrap: wrap;","wrap-reverse":"flex-wrap: wrap-reverse;"},OI=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{css:r,flex:o="",className:i="",...a}=e,{__styles:s,...l}=null===(t=Object.entries(a))||void 0===t?void 0:t.reduce(((e,t)=>{let[r,o]=t;return!0===o&&r in n?{...e,__styles:e.__styles+n[r]}:{...e,[r]:o}}),{__styles:(null===n||void 0===n?void 0:n.default)||""}),u=o?((null===(c=o)||void 0===c?void 0:c.split(" "))||[]).reduce(((e,t)=>e+" "+(null===NI||void 0===NI?void 0:NI[t])||""),"display: flex;"):"";var c;return{...l,className:xs(bs`
        ${s}
        ${u}
      ${r}
      `,i)}},TI={radius:"border-radius: 8px;",hover:zu.hover,hoverOutline:zu.hoverOutline,hideScrollbar:Ru.hide,scrollbar:Ru.style,padSm:"padding: 8px;",padMd:"padding: 16px;",padLg:"padding: 24px;",padXl:"padding: 32px;",page:"\n    width: 100%;\n    max-width: 1400px;\n    margin: 0 auto;\n  ",option:`\n    ${Ms.label}\n    ${Tu("space-between")}\n    border-radius: 8px;\n    padding: 8px 16px;\n    :hover {\n      cursor: pointer;\n      background-color: ${ks.gray[100]};\n    }\n    \n  `,pill:`\n    ${Tu("space-between")}\n    font-size: 16px;\n    color: white;\n    svg, p {\n      font-weight: bold;\n    }\n    font-weight: bold;\n    padding: 4px 16px;\n    border-radius: 16px;\n    background-color: ${ks.gray[100]};\n    :hover {\n      background-color: ${ks.gray[200]}\n    }\n    cursor: pointer;\n  `,border:`\n    border-radius: 8px;\n    border: 1px solid ${ks.gray[300]};\n  `,alternatingList:`\n    .alternating-item {\n      :nth-child(even) {\n        background-color: ${ks.gray[100]};\n      }\n    }\n  `},FI=(0,t.forwardRef)(((e,n)=>{let{children:r,onInitial:o=null,onCleanup:i=null,...a}=e;const s=OI(a,TI);return(0,t.useEffect)((()=>(o&&o(),()=>{i&&i()})),[]),(0,Cs.jsx)("div",{ref:n,...s,children:r})})),RI={long_term_disability:"Here's what's covered",short_term_disability:"Here's what's covered"},II=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:12;if(void 0===e||void 0===t)return 0;try{const r=Sw(e,t),o=Ew(r,12);return Sw(o,n)}catch(r){return console.log(r),0}},BI=e=>{var n,r,o,i,a,s,l,u,c,d,p;let{recommendation:f,data:h,onClose:m}=e;const g=Ww(),{product:v,layout:y,config:x}=h,b=null===v||void 0===v||null===(n=v.TitleDescriptions)||void 0===n?void 0:n.filter((e=>{let{Autogenerated:t}=e;return!t})),k="PlanCostsForYear"in f,w=null===y||void 0===y?void 0:y.HideEmployerPremiumContributions,E=null===f||void 0===f||null===(r=f.PlanCostsForYear)||void 0===r?void 0:r.MonthsIncluded,_=(null===g||void 0===g||null===(o=g.data)||void 0===o||null===(i=o.displaySettings)||void 0===i?void 0:i.premiumInterval)||12,[C,S]=(0,t.useState)("details");(0,t.useEffect)((()=>{k&&S("cost")}),[]);const D=(0,t.useMemo)((()=>{var e,t,n,r,o,i,a,s,l,u;if(!k)return{};const c=II(null===f||void 0===f||null===(e=f.PlanCostsForYear)||void 0===e?void 0:e.FinalPlanCost,E,_),d=II(tw(null===f||void 0===f||null===(t=f.PlanCostsForYear)||void 0===t||null===(n=t.FinalPlanCostBreakdown)||void 0===n?void 0:n.EmployerPremiumContribution),E,_);let p=null===f||void 0===f||null===(r=f.PlanCostsForYear)||void 0===r||null===(o=r.FinalPlanCostBreakdown)||void 0===o?void 0:o.TotalPremiumCost;var h,m;w&&(p+=null===f||void 0===f||null===(h=f.PlanCostsForYear)||void 0===h||null===(m=h.FinalPlanCostBreakdown)||void 0===m?void 0:m.EmployerPremiumContribution);p=II(p,E,_);const g=II(null===f||void 0===f||null===(i=f.PlanCostsForYear)||void 0===i||null===(a=i.FinalPlanCostBreakdown)||void 0===a?void 0:a.EstimatedOutOfPocketCost,E,_),v=null===f||void 0===f||null===(s=f.PlanCostsForYear)||void 0===s||null===(l=s.AdditionalCostInfo)||void 0===l||null===(u=l.IncentivesList)||void 0===u?void 0:u.reduce(((e,t)=>{if(null!==t&&void 0!==t&&t.ComparableOnly||0===(null===t||void 0===t?void 0:t.Value))return e;const n=II(null===t||void 0===t?void 0:t.Value,E,_),r=`$${jw(n,{decimals:2,round:!1})}`;return[...e,{...t,valueByPeriod:r}]}),[]);return{netCost:`$${jw(c,{decimals:2,round:!1})}`,totalCost:`$${jw(p,{decimals:2,round:!1})}`,contributions:`$${jw(d,{decimals:2,round:!1})}`,estimatedOOPCost:`$${jw(g,{decimals:2,round:!1})}`,incentives:v}}),[null===f||void 0===f||null===(a=f.Plan)||void 0===a?void 0:a.ID,w,k,E,_]),j=12===_?"/ Month":"/ Pay Period";return(0,Cs.jsx)(gf,{display:!0,onClose:m,children:(0,Cs.jsxs)(FI,{css:`\n          padding: 32px;\n          width: 700px;\n          box-sizing: border-box;\n          ${WE} {\n            margin: auto;\n            width: 100%;\n            max-width: calc(100vw - 64px);\n            padding: 0;\n          }\n        `,children:[(0,Cs.jsxs)(FI,{flex:"space-between",children:[(0,Cs.jsxs)(FI,{children:[(0,Cs.jsx)(Ts,{h2:!0,children:null===v||void 0===v?void 0:v.ProductName}),(0,Cs.jsx)(Ts,{children:null===v||void 0===v||null===(s=v.Details)||void 0===s?void 0:s.NetworkName})]}),(0,Cs.jsx)(Gu,{styles:"icon",onClick:m,children:(0,Cs.jsx)(kh,{})})]}),k?(0,Cs.jsxs)(FI,{flex:"space-between",css:`\n              border-bottom: 1px solid ${ks.gray[200]};\n              margin-top: 32px;\n            `,children:[(0,Cs.jsx)(FI,{css:`\n                flex-grow: 1;\n                padding: 8px;\n                ${"cost"===C?`border-bottom: 3px solid ${ks.black};`:""}\n                margin-bottom: -1px;\n                ${zu.hover}\n              `,onClick:()=>S("cost"),children:(0,Cs.jsx)(Ts,{css:"\n                  text-align: center;\n                  font-weight: bold;\n                ",label:"cost"===C,children:"Plan Cost"})}),(0,Cs.jsx)(FI,{css:`\n                flex-grow: 1;\n                padding: 8px;\n                ${"details"===C?`border-bottom: 3px solid ${ks.black};`:""}\n\n                margin-bottom: -1px;\n                ${zu.hover}\n              `,onClick:()=>S("details"),children:(0,Cs.jsx)(Ts,{css:"\n                  text-align: center;\n                  font-weight: bold;\n                ",label:"details"===C,children:"Plan Coverage"})})]}):null,"details"===C?(0,Cs.jsxs)(FI,{css:`\n              padding: 16px 0;\n              padding-top: 0;\n              margin-top: 16px;\n              border-bottom: 1px solid ${ks.gray[200]};\n              max-height: 40vh;\n              ${WE} {\n                max-height: calc(100vh - 250px);\n              }\n              overflow-y: auto;\n            `,alternatingList:!0,onClick:()=>console.log(y),children:[(0,Cs.jsx)(Ts,{label:!0,css:"\n                margin-bottom: 16px;\n                padding: 0 8px;\n              ",children:null===y||void 0===y?void 0:y.Description}),null!==RI&&void 0!==RI&&RI[null===v||void 0===v?void 0:v.Type]?(0,Cs.jsx)(Ts,{label:!0,bold:!0,css:"\n                  margin-bottom: 16px;\n                ",children:null===RI||void 0===RI?void 0:RI[null===v||void 0===v?void 0:v.Type]}):null,(0,Cs.jsx)(vR,{product:v,fields:null===x||void 0===x?void 0:x.fields}),(null===v||void 0===v||null===(l=v.Details)||void 0===l||null===(u=l.ConditionPercentages)||void 0===u?void 0:u.length)>0&&(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsx)(Ts,{label:!0,bold:!0,css:"\n                    padding: 16px 32px;\n                  ",children:"Listed Conditions"}),null===v||void 0===v||null===(c=v.Details)||void 0===c||null===(d=c.ConditionPercentages)||void 0===d?void 0:d.map(((e,t)=>{let{Name:n}=e;return(0,Cs.jsx)(BE,{product:v,field:{DisplayValue:n,State:"show",Type:"percent",PropertyChain:`Details.ConditionPercentages[${t}].Percentage`}})}))]}),null===b||void 0===b?void 0:b.map(((e,t)=>{let{Title:n}=e;return(0,Cs.jsx)(BE,{product:{TitleDescriptions:b},field:{DisplayValue:n,State:"show",Type:"text-input",PropertyChain:`TitleDescriptions[${t}].Description`}})})),(0,Cs.jsx)(Ts,{css:"\n                font-size: 0.8em;\n                margin: 16px 0;\n              ",children:null!==v&&void 0!==v&&v.Disclaimer?(0,Cs.jsx)(Cs.Fragment,{children:(0,Cs.jsx)("p",{children:(e=>{const t=(null===e||void 0===e?void 0:e.replace(/(?:^|[^"'])((ftp|http|https|file):\/\/[\S]+(\b|$))/gi," <a href='$1' target='_blank'>$1</a>"))||"";return n_(t)})(v.Disclaimer)})}):"*There are other aspects of this benefit to consider, including pricing, coverage limitations, exclusions, reductions and other ways this benefit will or will not pay. Please refer to your plan documents for full coverage."})]}):(0,Cs.jsxs)(FI,{css:`\n              padding: 16px 0;\n              padding-top: 0;\n              margin-top: 16px;\n              width: 700px;\n              max-height: 40vh;\n              ${WE} {\n                max-height: calc(100vh - 250px);\n                width: 100%;\n              }\n              overflow-y: auto;\n            `,children:[(0,Cs.jsxs)(FI,{css:`\n                display: grid;\n                width: calc(100% - 64px);\n                ${WE} {\n                  width: 100%;\n                }\n                padding: 16px 0;\n                padding-bottom: 32px;\n                margin-bottom: 16px;\n                gap: 16px;\n                border-bottom: 1px solid ${ks.gray[300]};\n              `,children:[(0,Cs.jsx)(Ts,{h4:!0,children:"Understand Your Costs"}),(0,Cs.jsxs)(FI,{flex:"space-between wrap",css:"\n                  p {\n                    min-width: 200px;\n                  }\n                ",children:[(0,Cs.jsx)(Ts,{label:!0,children:"Total cost of medical plan"}),(0,Cs.jsxs)(Ts,{label:!0,bold:!0,css:"\n                    text-align: right;\n                  ",children:[null===D||void 0===D?void 0:D.totalCost," ",(0,Cs.jsx)("span",{children:j})]})]}),w?null:(0,Cs.jsxs)(FI,{flex:"space-between wrap",css:"\n                    p {\n                      min-width: 200px;\n                    }\n                  ",children:[(0,Cs.jsx)(Ts,{label:!0,children:"Total employer contribution"}),(0,Cs.jsxs)(Ts,{label:!0,bold:!0,css:`\n                      color: ${ks.green[100]};\n                      text-align: right;\n                    `,children:[null===D||void 0===D?void 0:D.contributions," ",(0,Cs.jsx)("span",{children:j})]})]})]}),(0,Cs.jsxs)(FI,{css:`\n                display: grid;\n                width: calc(100% - 64px);\n                padding: 16px 0;\n                gap: 16px;\n                border-bottom: 1px solid ${ks.gray[300]};\n                ${WE} {\n                  width: 100%;\n                }\n              `,children:[(0,Cs.jsx)(Ts,{h4:!0,children:"Understand Your Risks"}),(0,Cs.jsxs)(FI,{flex:"space-between wrap",css:"\n                  p {\n                    min-width: 200px;\n                  }\n                ",children:[(0,Cs.jsx)(Ts,{label:!0,children:"Estimated potential claims costs"}),(0,Cs.jsx)(Ts,{label:!0,bold:!0,css:"\n                    text-align: right;\n                  ",children:null===D||void 0===D?void 0:D.estimatedOOPCost})]}),null===D||void 0===D||null===(p=D.incentives)||void 0===p?void 0:p.map((e=>(0,Cs.jsxs)(FI,{flex:"space-between wrap",css:"\n                    p {\n                      min-width: 200px;\n                    }\n                  ",children:[(0,Cs.jsx)(Ts,{label:!0,children:QE[null===e||void 0===e?void 0:e.Type]}),(0,Cs.jsxs)(Ts,{label:!0,bold:!0,css:`\n                      color: ${ks.green[100]};\n                      text-align: right;\n                    `,children:["+ $",jw(null===e||void 0===e?void 0:e.valueByPeriod,{decimals:2,round:!1})," ",(0,Cs.jsx)("span",{children:j})]})]})))]}),(0,Cs.jsxs)(FI,{flex:"space-between wrap",css:`\n                padding: 32px 0;\n                width: calc(100% - 64px);\n                ${WE} {\n                  width: 100%;\n                }\n                p {\n                  min-width: 200px;\n                  text-align: right;\n                }\n              `,children:[(0,Cs.jsx)(Ts,{h4:!0,children:"Your Total Estimated Cost"}),(0,Cs.jsxs)(Ts,{label:!0,bold:!0,children:[null===D||void 0===D?void 0:D.netCost," ",(0,Cs.jsx)("span",{children:j})]})]})]})]})})},WI=e=>{var n,r,o,i,a,s;let{recommendation:l,products:u,productLayouts:c,selected:d=[],setSelected:p,displaySettings:f,isMulti:h,productTypeIds:m=[]}=e;const[g,v]=(0,t.useState)(!1),y=MI({productId:null===l||void 0===l||null===(n=l.Product)||void 0===n?void 0:n.ID,productLayouts:c,products:u}),{product:x,layout:b,config:k}=y,w=null===d||void 0===d?void 0:d.includes(null===x||void 0===x?void 0:x.ID),E=(0,t.useCallback)((e=>{let{className:t}=e;return null!==x&&void 0!==x&&x.ProviderID&&"00000000-0000-0000-0000-000000000000"!==(null===x||void 0===x?void 0:x.ProviderID)?(0,Cs.jsx)(Ku,{className:xs(t,bs`
              border: 1px solid ${ks.gray[300]};
              border-radius: 8px;
              max-width: 164px;
              min-width: 164px;
              background-color: white;
              ${Tu("center")}
            `),children:(0,Cs.jsx)(wh,{carrierID:null===x||void 0===x?void 0:x.ProviderID,planCarrierName:null===x||void 0===x?void 0:x.ProviderName,maxHeight:"80px",position:"center"})}):null}),[null===x||void 0===x?void 0:x.ProviderID]),_=(null===x||void 0===x?void 0:x.Type)in zI?zI[null===x||void 0===x?void 0:x.Type]:null,C=(0,t.useMemo)((()=>{var e,t;const n=null===b||void 0===b||null===(e=b.Layout)||void 0===e||null===(t=e.Sections)||void 0===t?void 0:t.reduce(((e,t)=>{var n;return null===t||void 0===t||null===(n=t.Fields)||void 0===n?void 0:n.reduce(((e,t)=>({...e,[null===t||void 0===t?void 0:t.PropertyChain]:t})),e)}),{});return null===n||void 0===n?void 0:n.Cost}),[b]);return(0,Cs.jsxs)(Ku,{css:bs`
        width: 100%;
        cursor: default;
        padding: 32px;
        background-color: white;
        border-radius: 16px;
        box-sizing: border-box;
        margin: 16px 0;
        border: 1px solid ${ks.gray[300]};
        .logo {
          width: 150px;
        }
        .small-screen {
          padding: 24px;
        }
        ${h?`\n          border: 1px solid ${ks.gray[300]};\n          padding: 24px;\n          margin: 32px 0;\n          width: 100%;\n        `:""}
        ${w?"\n          border: 1px solid transparent;\n          outline: 4px solid var(--button-background-color);\n        ":`\n            ${zu.hover}\n          `}
      `,onClick:e=>{e.stopPropagation();let t=null===d||void 0===d?void 0:d.filter((e=>!m.includes(e)));d.includes(null===x||void 0===x?void 0:x.ID)||t.push(null===x||void 0===x?void 0:x.ID),p(t)},children:[(0,Cs.jsxs)(Ku,{css:bs`
          ${Tu("space-between start")}
          margin-bottom: 8px;
          width: 100%;
          .large-screen {
            height: 80px;
            margin-left: 40px;
            ${Tu("center")}
          }
          .small-screen {
            margin: 16px 0;
          }
          ${WE} {
            .large-screen {
              display: none;
            }
          }
          ${zE} {
            .small-screen {
              display: none;
            }
          }
        `,children:[(0,Cs.jsxs)(Ku,{css:bs`
            width: 100%;
            flex-grow: 1;
          `,children:[(0,Cs.jsxs)(Ku,{css:bs`
              .title {
                ${Tu("space-between start")}
                width: 100%;
                flex-grow: 1;
                margin: 0;
                padding: 0;
              }
              ${zE} {
                ${Tu("space-between start")}
              }
              ${WE} {
                ${Tu("column center")}
              }
              width: 100%;
              padding: 0;
            `,children:[(0,Cs.jsxs)("div",{className:"title",children:[(0,Cs.jsx)(Ts,{h2:!0,css:"\n                  flex-grow: 1;\n                  text-align: left;\n                  font-size: 20px;\n                  padding-bottom: 8px;\n                ",children:(null===x||void 0===x?void 0:x.ProductName)||(null===y||void 0===y||null===(r=y.layout)||void 0===r?void 0:r.Title)}),C&&"show"!==(null===C||void 0===C?void 0:C.State)?null:(0,Cs.jsx)(Ts,{h2:!0,css:"\n                    font-size: 20px;\n                    padding-bottom: 8px;\n                    min-width: max-content;\n                  ",children:null!==l&&void 0!==l&&l.RelevantTier?`${Mw({cost:null===x||void 0===x?void 0:x.Cost,key:null===l||void 0===l?void 0:l.RelevantTier,interval:null===f||void 0===f?void 0:f.premiumInterval})} ${12===(null===f||void 0===f?void 0:f.premiumInterval)?"/mo":"/ppp"}`:null})]}),(0,Cs.jsx)(E,{className:"small-screen"})]}),(0,Cs.jsx)(Ts,{css:"\n              padding-bottom: 8px;\n            ",children:null===y||void 0===y||null===(o=y.layout)||void 0===o?void 0:o.Subtitle}),(0,Cs.jsx)(Gu,{css:`\n              border: none;\n              background: none;\n              text-transform: none;\n              text-decoration: underline;\n              color: ${ks.black};\n              padding: 0;\n              font-size: 14px;\n              line-height: 24px;\n            `,onClick:e=>{e.stopPropagation(),v(!g)},"data-ph-capture-attribute-source":null===r_||void 0===r_||null===(i=r_.types)||void 0===i?void 0:i.RECOMMENDATIONS,"data-ph-capture-attribute-action":null===r_||void 0===r_||null===(a=r_.actions)||void 0===a?void 0:a.VIEW_MORE,"data-ph-capture-attribute-product-type":null===x||void 0===x?void 0:x.Type,"data-ph-capture-attribute-product-id":null===x||void 0===x?void 0:x.ID,children:"Learn More"})]}),(0,Cs.jsx)(E,{className:xs("large-screen","logo")})]}),_?(0,Cs.jsx)(_,{product:null===y||void 0===y?void 0:y.product,data:null===y||void 0===y||null===(s=y.config)||void 0===s?void 0:s.data}):null,g?(0,Cs.jsx)(BI,{recommendation:l,data:y,onClose:()=>v(!1)}):null]})},zI={supplimental_life:e=>{var t,n;let{product:r,data:o}=e;const i=(null===o||void 0===o?void 0:o["Details.EmployerPaidCoverageAmount"])||{},a=Nw(r,i);return null!==r&&void 0!==r&&null!==(t=r.Details)&&void 0!==t&&t.SupplementalLifeCoverageAvailable&&null!==r&&void 0!==r&&null!==(n=r.Details)&&void 0!==n&&n.EmployerPaidCoverage?(0,Cs.jsxs)(Ku,{css:bs`
          ${Tu("left")}
          padding: 16px;
          margin-bottom: 8px;
          background-color: ${ks.gray[100]};
          border-radius: 8px;
        `,children:[(0,Cs.jsx)(QF,{color:ks.gray[500]}),(0,Cs.jsxs)(Ku,{css:bs`
            flex-grow: 1;
            padding-left: 16px;
            text-align: left;
            span {
              font-weight: bold;
              color: ${ks.black};
            }
          `,children:[(0,Cs.jsxs)(Ts,{children:["Your employer covers up to ",(0,Cs.jsx)("span",{children:Ow(a,i)})," of life insurance at no cost to you."]}),(0,Cs.jsx)(Ts,{label:!0,children:"There is additional life insurance you should consider purchasing."})]})]}):null}},$I=e=>{let{recommendation:t,productTypeIds:n,selected:r,setSelected:o,isMulti:i=!1}=e;const{data:{products:a,productLayouts:s,displaySettings:l}}=Ww();return(0,Cs.jsx)(WI,{productTypeIds:n,products:a,selected:r,recommendation:t,setSelected:o,productLayouts:s,displaySettings:l,isMulti:i})};var HI=new Map;HI.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M132.4,190.7l50.4,32c6.5,4.1,14.5-2,12.6-9.5l-14.6-57.4a8.7,8.7,0,0,1,2.9-8.8l45.2-37.7c5.9-4.9,2.9-14.8-4.8-15.3l-59-3.8a8.3,8.3,0,0,1-7.3-5.4l-22-55.4a8.3,8.3,0,0,0-15.6,0l-22,55.4a8.3,8.3,0,0,1-7.3,5.4L31.9,94c-7.7.5-10.7,10.4-4.8,15.3L72.3,147a8.7,8.7,0,0,1,2.9,8.8L61.7,209c-2.3,9,7.3,16.3,15,11.4l46.9-29.7A8.2,8.2,0,0,1,132.4,190.7Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),HI.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M132.4,190.7l50.4,32c6.5,4.1,14.5-2,12.6-9.5l-14.6-57.4a8.7,8.7,0,0,1,2.9-8.8l45.2-37.7c5.9-4.9,2.9-14.8-4.8-15.3l-59-3.8a8.3,8.3,0,0,1-7.3-5.4l-22-55.4a8.3,8.3,0,0,0-15.6,0l-22,55.4a8.3,8.3,0,0,1-7.3,5.4L31.9,94c-7.7.5-10.7,10.4-4.8,15.3L72.3,147a8.7,8.7,0,0,1,2.9,8.8L61.7,209c-2.3,9,7.3,16.3,15,11.4l46.9-29.7A8.2,8.2,0,0,1,132.4,190.7Z",opacity:"0.2"}),t.createElement("path",{d:"M132.4,190.7l50.4,32c6.5,4.1,14.5-2,12.6-9.5l-14.6-57.4a8.7,8.7,0,0,1,2.9-8.8l45.2-37.7c5.9-4.9,2.9-14.8-4.8-15.3l-59-3.8a8.3,8.3,0,0,1-7.3-5.4l-22-55.4a8.3,8.3,0,0,0-15.6,0l-22,55.4a8.3,8.3,0,0,1-7.3,5.4L31.9,94c-7.7.5-10.7,10.4-4.8,15.3L72.3,147a8.7,8.7,0,0,1,2.9,8.8L61.7,209c-2.3,9,7.3,16.3,15,11.4l46.9-29.7A8.2,8.2,0,0,1,132.4,190.7Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),HI.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M239.2,97.4A16.4,16.4,0,0,0,224.6,86l-59.4-4.1-22-55.5A16.4,16.4,0,0,0,128,16h0a16.4,16.4,0,0,0-15.2,10.4L90.4,82.2,31.4,86A16.5,16.5,0,0,0,16.8,97.4,16.8,16.8,0,0,0,22,115.5l45.4,38.4L53.9,207a18.5,18.5,0,0,0,7,19.6,18,18,0,0,0,20.1.6l46.9-29.7h.2l50.5,31.9a16.1,16.1,0,0,0,8.7,2.6,16.5,16.5,0,0,0,15.8-20.8l-14.3-58.1L234,115.5A16.8,16.8,0,0,0,239.2,97.4Z"}))})),HI.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M132.4,190.7l50.4,32c6.5,4.1,14.5-2,12.6-9.5l-14.6-57.4a8.7,8.7,0,0,1,2.9-8.8l45.2-37.7c5.9-4.9,2.9-14.8-4.8-15.3l-59-3.8a8.3,8.3,0,0,1-7.3-5.4l-22-55.4a8.3,8.3,0,0,0-15.6,0l-22,55.4a8.3,8.3,0,0,1-7.3,5.4L31.9,94c-7.7.5-10.7,10.4-4.8,15.3L72.3,147a8.7,8.7,0,0,1,2.9,8.8L61.7,209c-2.3,9,7.3,16.3,15,11.4l46.9-29.7A8.2,8.2,0,0,1,132.4,190.7Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),HI.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M132.4,190.7l50.4,32c6.5,4.1,14.5-2,12.6-9.5l-14.6-57.4a8.7,8.7,0,0,1,2.9-8.8l45.2-37.7c5.9-4.9,2.9-14.8-4.8-15.3l-59-3.8a8.3,8.3,0,0,1-7.3-5.4l-22-55.4a8.3,8.3,0,0,0-15.6,0l-22,55.4a8.3,8.3,0,0,1-7.3,5.4L31.9,94c-7.7.5-10.7,10.4-4.8,15.3L72.3,147a8.7,8.7,0,0,1,2.9,8.8L61.7,209c-2.3,9,7.3,16.3,15,11.4l46.9-29.7A8.2,8.2,0,0,1,132.4,190.7Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),HI.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M132.4,190.7l50.4,32c6.5,4.1,14.5-2,12.6-9.5l-14.6-57.4a8.7,8.7,0,0,1,2.9-8.8l45.2-37.7c5.9-4.9,2.9-14.8-4.8-15.3l-59-3.8a8.3,8.3,0,0,1-7.3-5.4l-22-55.4a8.3,8.3,0,0,0-15.6,0l-22,55.4a8.3,8.3,0,0,1-7.3,5.4L31.9,94c-7.7.5-10.7,10.4-4.8,15.3L72.3,147a8.7,8.7,0,0,1,2.9,8.8L61.7,209c-2.3,9,7.3,16.3,15,11.4l46.9-29.7A8.2,8.2,0,0,1,132.4,190.7Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var VI=function(e,t){return Ua(e,t,HI)},UI=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:VI}))}));UI.displayName="Star";const qI=UI,YI=e=>{const[n,r]=(0,t.useState)(),[o,i]=(0,t.useState)(),a=(0,t.useRef)(),s=Object.values((null===e||void 0===e?void 0:e.productData)||{}),{data:{productLayouts:l}}=Ww();(0,t.useEffect)((()=>{var t;const n=null===(t=Object.entries(null===e||void 0===e?void 0:e.productData))||void 0===t?void 0:t.reduce(((t,n)=>{let[r,o]=n;const i=null===o||void 0===o?void 0:o.find((e=>null===e||void 0===e?void 0:e.Suggested)),a=null===o||void 0===o?void 0:o.find((t=>{var n;return null===e||void 0===e||null===(n=e.selected)||void 0===n?void 0:n.includes(null===t||void 0===t?void 0:t.ID)}));return i||a?[...t,r]:t}),[]);r(n)}),[null===s||void 0===s?void 0:s.length]);const u=(e,t)=>{if(t)for(const a in t){var n,r,o,i;if((null===(n=t[a])||void 0===n?void 0:n.ProductType)===e&&null!==(r=t[a])&&void 0!==r&&r.Title&&(null===(o=t[a])||void 0===o?void 0:o.Title)!==QE[e])return null===(i=t[a])||void 0===i?void 0:i.Title}return QE[e]};return!(null===s||void 0===s||!s.length)?(0,Cs.jsxs)(uO.div,{initial:"pageInitial",animate:"pageAnimate",exit:"pageExit",variants:{pageInitial:{x:400,opacity:0},pageAnimate:{x:0,opacity:1},pageExit:{x:-400,opacity:0}},className:UE,children:[(0,Cs.jsxs)("div",{className:qE,ref:a,children:[(0,Cs.jsx)(gS,{className:"section-title",children:e.title}),Object.entries((null===e||void 0===e?void 0:e.productData)||{}).map((t=>{let[o,a]=t;const s=a.some((e=>{let{Suggested:t}=e;return t})),c=a.some((t=>{let{Product:n}=t;return e.selected.includes(null===n||void 0===n?void 0:n.ID)})),d=null===n||void 0===n?void 0:n.includes(o),p=null===a||void 0===a?void 0:a.map((e=>{let{Product:t}=e;return null===t||void 0===t?void 0:t.ID}));return(0,Cs.jsxs)("div",{className:bs`
                border-radius: 16px;
                background-color: white;
                margin: 24px 0;
                border: 1px solid ${ks.gray[300]};
                padding: 32px;
                cursor: default;
              `,children:[(0,Cs.jsxs)("div",{className:bs`
                  gap: 16px;
                  ${Tu("jcsb ais")}
                  ${c?"":"cursor: pointer;"}
                `,children:[(0,Cs.jsx)(Ts,{h1:!0,css:`\n                    ${WE} {\n                      font-size: 24px;\n                      line-height: 32px;\n                      text-align: left;\n                    }\n                  `,children:u(o,l)}),s?(0,Cs.jsxs)("div",{className:bs`
                      border-radius: 30px;
                      background-color: var(--button-background-color);
                      padding: 8px 16px;
                      ${Tu("left")}
                    `,children:[(0,Cs.jsx)(qI,{size:16,color:"var(--button-text-color)",weight:"fill"}),(0,Cs.jsx)(Ts,{css:`\n                        ${WE} {\n                          display: none;\n                        }\n                        color: var(--button-text-color);\n                        margin-left: 8px;\n                      `,children:"Recommended"})]}):null]}),(0,Cs.jsxs)("div",{className:bs`
                  ${Tu("space-between")}
                  margin: 0 -16px;
                  border-radius: 8px;
                  transition: background-color 0.3s ease;
                  :hover {
                    background-color: ${ks.gray[100]};
                  }
                  padding: 0 16px;
                  margin-top: 16px;

                  p {
                    max-width: calc(100% - 64px);
                  }
                  cursor: pointer;
                `,onClick:()=>c?null:(e=>{if(n.includes(e)){const t=null===n||void 0===n?void 0:n.filter((t=>t!==e));r(t)}else r([...n,e])})(o),children:[(0,Cs.jsxs)(Ts,{h4:!0,children:["Additional Options (",a.length,")"]}),(0,Cs.jsx)(Gu,{styles:"icon",css:`\n                    ${zE} {\n                      width: 40px;\n                      height: 40px;\n                    }\n                    ${WE} {\n                      width: 32px;\n                      height: 32px;\n                    }\n                    background-color: ${ks.gray[100]};\n                    color: ${ks.black};\n                  `,children:d?(0,Cs.jsx)(TO,{}):(0,Cs.jsx)(gC,{})})]}),(0,Cs.jsxs)(ch,{in:c||d,children:[null===a||void 0===a?void 0:a.map((t=>{var n;return(0,Cs.jsx)($I,{productTypeIds:p,recommendation:t,selected:e.selected,setSelected:e.setSelected,isMulti:!0},null===t||void 0===t||null===(n=t.Product)||void 0===n?void 0:n.ID)})),(null===a||void 0===a?void 0:a.length)>1?(0,Cs.jsx)("div",{className:bs`
                      ${Tu("center")}

                      width: 100%;
                    `,children:(0,Cs.jsx)(Gu,{secondary:!0,className:bs`
                        min-width: 100%;
                      `,onClick:e=>{e.stopPropagation(),i(o)},children:"Compare Plans"})}):null]})]})}))]}),(null===s||void 0===s?void 0:s.length)>1&&o?(0,Cs.jsx)(e_,{display:!!o,onClose:()=>i(""),productType:o}):null]},"benlist_question"):null},GI={telemedicine:"Telemedicine",wellness_differential:"Wellness Differential",disease_management_program:"Disease Management",specialty_pharmacy_program:"Specialty Pharmacy",health_reimbursement_arrangement:"Health Reimbursement Arrangement",custom:"Custom"},ZI={...GI,telemedicine:"Virtual Visits",health_reimbursement_arrangement:"Health Reimbursement Account"},KI={telemedicine:"Speak with a licensed practitioner without going into the doctors office.",wellness_differential:"Receive incentives for staying healthy.",disease_management_program:"Get support managing your chronic disease.",specialty_pharmacy_program:"Specialty medications & support for people with complex conditions.",health_reimbursement_arrangement:"Reimbursements from your employer to help pay for medical expenses.",custom:""},QI=e=>e?e.filter((e=>!!GI[e.ProgramType])):[],XI=e=>{var n,r,o,i,a,s,l,u,c;const d=Hw("depersonalize-premium"),[p,f]=(0,t.useState)(!1),h=(null===e||void 0===e||null===(n=e.benefit)||void 0===n||null===(r=n.RawData)||void 0===r||null===(o=r.Details)||void 0===o?void 0:o.Name)||(null!==d&&void 0!==d&&d.value?ZI[e.benefit.ProgramType]:GI[e.benefit.ProgramType])||"",m=KI[e.benefit.ProgramType]||"",g=e.benefit&&e.benefit.LogoURL||"",v=e.benefit.Carrier||"Custom Carrier"!==e.benefit.CarrierName&&e.benefit.CarrierName||"",y=(0,t.useMemo)((()=>e.benefit&&e.benefit.TitleDescriptions?e.benefit.TitleDescriptions.filter((e=>!e.Autogenerated&&!!e.Title&&!!e.Description)):[]),[null===e||void 0===e||null===(i=e.benefit)||void 0===i?void 0:i.ID]);return h&&(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsxs)(uO.div,{initial:"pageInitial",animate:"pageAnimate",exit:"pageExit",variants:{pageInitial:{x:400,opacity:0},pageAnimate:{x:0,opacity:1},pageExit:{x:-400,opacity:0}},className:bs`
            ${YE}
            border-radius: 16px;
            border: 1px solid ${ks.gray[300]};
            margin: 0;
            padding: 32px;
          `,children:[(0,Cs.jsxs)("div",{className:bs`
              display: flex;
              justify-content: space-between;
              align-items: start;
              ${WE} {
                margin-top: 8px;
              }
            `,children:[(0,Cs.jsx)("div",{className:bs`
                margin-right: 16px;
                flex-grow: 1;
              `,children:(0,Cs.jsxs)("div",{children:[(0,Cs.jsxs)("div",{className:bs`
                    display: flex;
                    .title {
                      ${VE}
                      flex-grow: 0;
                    }
                  `,children:[(0,Cs.jsx)(gS,{className:"title",children:h}),!g&&!!v&&(0,Cs.jsxs)(gS,{style:{fontSize:"12px",margin:"4px 8px"},children:["through ",(0,Cs.jsx)("strong",{children:v})]})]}),(0,Cs.jsx)("div",{className:ZE,children:(0,Cs.jsx)(gS,{className:"question",children:m})})]})}),(0,Cs.jsx)(wh,{css:`\n                border: 1px solid ${ks.gray[300]};\n                border-radius: 8px;\n                min-width: 180px;\n              `,carrierID:null===e||void 0===e||null===(a=e.benefit)||void 0===a?void 0:a.CarrierID,planCarrierName:v,maxWidth:"180px",maxHeight:"80px",position:"center"})]}),(0,Cs.jsx)("div",{className:bs`
              display: flex;
              align-items: start;
              @media only screen and (min-width: 600px) {
                display: none;
              }
              .question {
                margin: 0;
                padding: 0;
                padding-top: 8px;
                flex-grow: 1;
                text-align: left;
                white-space: normal;
                overflow-wrap: break-word;
                font-size: 14px;
              }
            `,children:(0,Cs.jsx)("div",{className:"question",children:m})}),(0,Cs.jsx)("div",{className:bs`
              display: flex;
              justify-content: left;
            `,children:(0,Cs.jsx)(Gu,{naked:!0,css:"\n                text-decoration: underline;\n                text-transform: none;\n                padding: 8px 0;\n              ","aria-label":"Learn more",onClick:e=>{e.stopPropagation(),f(!p)},"data-ph-capture-attribute-source":null===r_||void 0===r_||null===(s=r_.types)||void 0===s?void 0:s.RECOMMENDATIONS,"data-ph-capture-attribute-action":null===r_||void 0===r_||null===(l=r_.actions)||void 0===l?void 0:l.VIEW_MORE,"data-ph-capture-attribute-product-type":"included-program:"+(null===e||void 0===e||null===(u=e.benefit)||void 0===u?void 0:u.ProgramType),"data-testid":`learn-more-${null===e||void 0===e||null===(c=e.benefit)||void 0===c?void 0:c.ProgramType}`,children:"Learn More"})})]},"telemedicine"),p?(0,Cs.jsx)(gf,{display:!0,onClose:()=>f(!1),children:(0,Cs.jsxs)(FI,{css:"\n                padding: 32px;\n                width: 500px;\n              ",children:[(0,Cs.jsxs)(FI,{flex:"space-between",children:[(0,Cs.jsx)(Ts,{h2:!0,children:h}),(0,Cs.jsx)(Gu,{icon:!0,sm:!0,onClick:()=>f(!1),children:(0,Cs.jsx)(kh,{})})]}),(0,Cs.jsx)(Ts,{label:!0,css:"\n                  padding: 8px 0;\n                ",children:m}),!!y.length&&(0,Cs.jsx)("div",{className:$E,children:y.map((e=>(0,Cs.jsxs)("div",{className:HE,children:[(0,Cs.jsx)(gS,{children:e.Title}),(0,Cs.jsx)(gS,{style:{fontWeight:"bold"},children:e.Description})]},e.Title+e.Description)))}),(0,Cs.jsx)(gS,{color:"secondary",children:"*There are other aspects of this benefit to consider, including pricing, coverage limitations, exclusions, reductions and other ways this benefit will or will not pay. Please refer to your plan documents for full coverage."})]})}):null]})},JI=(e,t)=>e.includes(t)?e.filter((e=>e!==t)):[...e,t],eB=e=>{var n,r,o,i,a,s;const{product:l}=e,[u,c]=(0,t.useState)([]),d=(0,t.useCallback)((e=>{let{className:t}=e;return null!==l&&void 0!==l&&l.ProviderID&&"00000000-0000-0000-0000-000000000000"!==(null===l||void 0===l?void 0:l.ProviderID)?(0,Cs.jsx)("div",{className:xs(t,bs`
              border: 1px solid ${ks.gray[300]};
              border-radius: 8px;
              min-width: 164px;
              max-width: 164px;
              background-color: white;
              ${Tu("center")}
            `),children:(0,Cs.jsx)(wh,{carrierID:null===l||void 0===l?void 0:l.ProviderID,planCarrierName:null===l||void 0===l?void 0:l.ProviderName,maxHeight:"80px",position:"center"})}):null}),[null===l||void 0===l?void 0:l.ProviderID]),p=(0,t.useMemo)((()=>l&&l.TitleDescriptions?l.TitleDescriptions.filter((e=>!e.Autogenerated&&!!e.Title&&!!e.Description)):[]),[l]),f="3224798f-7456-4b8a-8c2f-69dfd3a95686"===l.ProviderID;return(0,Cs.jsxs)(uO.div,{initial:"pageInitial",animate:"pageAnimate",exit:"pageExit",variants:{pageInitial:{x:400,opacity:0},pageAnimate:{x:0,opacity:1},pageExit:{x:-400,opacity:0}},children:[(0,Cs.jsxs)("div",{className:bs`
          border-radius: 16px;
          border: 1px solid ${ks.gray[300]};
          padding: 32px;
          background-color: white;
          margin-bottom: 24px;
          position: relative;
          ${zu.hover}
          ${null!==e&&void 0!==e&&null!==(n=e.selected)&&void 0!==n&&n.includes(null===e||void 0===e||null===(r=e.product)||void 0===r?void 0:r.ID)?"outline: 4px solid var(--button-background-color); border: 1px solid transparent;":zu.hover}
          ${null!==e&&void 0!==e&&e.recommended,""}
          .large-screen {
            margin-left: 40px;
            ${WE} {
              display: none;
            }
          }
          .small-screen {
            ${zE} {
              display: none;
            }
          }
        `,onClick:()=>{var t;return e.setSelected(JI(e.selected,null===e||void 0===e||null===(t=e.product)||void 0===t?void 0:t.ID))},children:[(0,Cs.jsxs)("div",{className:bs`
            ${Tu("space-between start")}
            ${WE} {
              ${Tu("center")}
            }
          `,children:[(0,Cs.jsxs)("div",{children:[(0,Cs.jsx)(Ts,{h1:!0,children:l.Title||l.ProductName}),(0,Cs.jsx)(d,{product:l,className:"small-screen"}),(0,Cs.jsx)(Ts,{children:l.Subtitle||l.Description})]}),(0,Cs.jsx)(d,{product:l,className:"large-screen"})]}),(0,Cs.jsxs)("div",{className:bs`
            ${Tu("space-between")}
            margin-top: 32px;
          `,children:[(0,Cs.jsx)(Gu,{css:`\n              border: none;\n              background: none;\n              text-transform: none;\n              text-decoration: underline;\n              color: ${ks.black};\n              padding: 0;\n              font-size: 14px;\n              line-height: 24px;\n            `,onClick:e=>{e.stopPropagation(),c(JI(u,null===l||void 0===l?void 0:l.ID))},"data-ph-capture-attribute-source":null===r_||void 0===r_||null===(o=r_.types)||void 0===o?void 0:o.RECOMMENDATIONS,"data-ph-capture-attribute-action":null===r_||void 0===r_||null===(i=r_.actions)||void 0===i?void 0:i.VIEW_MORE,"data-ph-capture-attribute-product-type":null===l||void 0===l?void 0:l.Type,"data-ph-capture-attribute-product-id":null===l||void 0===l?void 0:l.ID,children:"Learn More"}),l.CallToActionUrl&&l.CallToActionText?(0,Cs.jsx)(Gu,{css:"\n                background-color: var(--button-background-color);\n                color: var(--button-text-color);\n              ","aria-label":"Call To Action","data-ph-capture-attribute-source":null===r_||void 0===r_||null===(a=r_.types)||void 0===a?void 0:a.RECOMMENDATIONS,"data-ph-capture-attribute-action":null===r_||void 0===r_||null===(s=r_.actions)||void 0===s?void 0:s.CALL_TO_ACTION,"data-ph-capture-attribute-product-type":null===l||void 0===l?void 0:l.Type,"data-ph-capture-attribute-product-id":null===l||void 0===l?void 0:l.ID,onClick:e=>{e.preventDefault(),e.stopPropagation(),window.open(l.CallToActionUrl,"_blank")},children:l.CallToActionText}):null]})]}),(0,Cs.jsx)(gf,{display:null===u||void 0===u?void 0:u.includes(null===l||void 0===l?void 0:l.ID),onClose:()=>c(JI(u,null===l||void 0===l?void 0:l.ID)),children:(0,Cs.jsxs)("div",{className:bs`
            width: 500px;
            padding: 32px;
            max-height: 60vh;
            overflow-y: auto;
          `,onClick:e=>e.stopPropagation(),children:[(0,Cs.jsxs)("div",{className:bs`
              ${Tu("space-between")}
            `,children:[(0,Cs.jsx)(Ts,{h2:!0,children:(null===l||void 0===l?void 0:l.Title)||(null===l||void 0===l?void 0:l.ProductName)}),(0,Cs.jsx)(Gu,{styles:"icon",onClick:()=>c(JI(u,null===l||void 0===l?void 0:l.ID)),children:(0,Cs.jsx)(kh,{})})]}),(0,Cs.jsx)(Ts,{children:l.Description}),!!p.length&&(0,Cs.jsx)("div",{className:xs($E,bs``),children:p.map((e=>(0,Cs.jsxs)("div",{className:HE,children:[(0,Cs.jsx)(gS,{children:e.Title}),(0,Cs.jsx)(gS,{style:{fontWeight:"bold"},children:e.Description})]},e.Title+e.Description)))}),!f&&(0,Cs.jsx)(Ts,{css:"\n                margin: 16px 0;\n              ",children:"*There are other aspects of this benefit to consider, including pricing, coverage limitations, exclusions, reductions and other ways this benefit will or will not pay. Please refer to your plan documents for full coverage."}),l.Disclaimer&&(0,Cs.jsx)(Ts,{style:{marginTop:"16px",fontSize:"12px"},color:"secondary",children:(e=>n_(e.replace(/(?:^|[^"'])((ftp|http|https|file):\/\/[\S]+(\b|$))/gi," <a href='$1' target='_blank'>$1</a>")))(l.Disclaimer)})]})})]},`custom-benefit-${l.ID}`)},tB=e=>{var n,r,o,i,a,s,l,u,c,d,p,f,h,m,g;const v=null===e||void 0===e||null===(n=e.recommendedCustomProducts)||void 0===n?void 0:n.map((e=>{let{ID:t}=e;return t})),y=(0,t.useMemo)((()=>{var t;return null===e||void 0===e||null===(t=e.allCustomProducts)||void 0===t?void 0:t.reduce(((e,t)=>v.includes(null===t||void 0===t?void 0:t.ID)?{...e,recs:[...null===e||void 0===e?void 0:e.recs,t]}:{...e,nonRecs:[...null===e||void 0===e?void 0:e.nonRecs,t]}),{recs:[],nonRecs:[]})}),[v]);if((null===y||void 0===y||null===(r=y.recs)||void 0===r||!r.length)&&(null===y||void 0===y||null===(o=y.nonRecs)||void 0===o||!o.length))return null;null===e||void 0===e||null===(i=e.recommendedCustomProducts)||void 0===i||i.length;return(0,Cs.jsx)(uO.div,{initial:"pageInitial",animate:"pageAnimate",exit:"pageExit",variants:{pageInitial:{x:400,opacity:0},pageAnimate:{x:0,opacity:1},pageExit:{x:-400,opacity:0}},className:UE,children:(0,Cs.jsxs)("div",{className:bs`
          background-color: white;
          border: 1px solid ${ks.gray[300]};
          border-radius: 16px;
          padding: 32px;
        `,children:[(0,Cs.jsxs)("div",{className:bs`
            ${Tu("space-between")}
            margin-bottom: 32px;
          `,children:[(0,Cs.jsx)(Ts,{h1:!0,children:"Other Benefits"}),null!==y&&void 0!==y&&null!==(a=y.recs)&&void 0!==a&&a.length?(0,Cs.jsxs)("div",{className:bs`
                border-radius: 30px;
                background-color: var(--button-background-color);
                padding: 8px 16px;
                ${Tu("left")}
              `,children:[(0,Cs.jsx)(qI,{size:16,color:"var(--button-text-color)",weight:"fill"}),(0,Cs.jsx)(Ts,{css:"\n                  color: var(--button-text-color);\n                  margin-left: 8px;\n                ",children:"Recommended"})]}):null]}),(null===y||void 0===y||null===(s=y.recs)||void 0===s?void 0:s.length)>0?(0,Cs.jsx)("div",{className:bs`
              ${Tu("left")}
              padding: 16px;
              background-color: ${ks.gray[100]};
              border-radius: 16px;
              margin: 24px 0;
            `,children:(0,Cs.jsxs)(Ts,{label:!0,children:["There ",1===(null===y||void 0===y||null===(l=y.recs)||void 0===l?void 0:l.length)?"is":"are"," ",null===y||void 0===y||null===(u=y.recs)||void 0===u?void 0:u.length," additional benefit",1===(null===y||void 0===y||null===(c=y.recs)||void 0===c?void 0:c.length)?"":"s"," we think you'll find valuable."]})}):null,(0,Cs.jsxs)("div",{children:[null===y||void 0===y||null===(d=y.recs)||void 0===d?void 0:d.map((t=>(0,Cs.jsx)(eB,{product:t,selected:e.selected,setSelected:e.setSelected,recommended:null===v||void 0===v?void 0:v.includes(null===t||void 0===t?void 0:t.ID)}))),null!==y&&void 0!==y&&null!==(p=y.nonRecs)&&void 0!==p&&p.length?(0,Cs.jsx)("div",{className:bs`
                ${Tu("left")}
                padding: 16px;
                background-color: ${ks.gray[100]};
                border-radius: 16px;
                margin: 24px 0;
              `,children:(0,Cs.jsxs)(Ts,{label:!0,children:["There ",1===(null===y||void 0===y||null===(f=y.nonRecs)||void 0===f?void 0:f.length)?"is":"are"," ",null===y||void 0===y||null===(h=y.nonRecs)||void 0===h?void 0:h.length," more benefit",1===(null===y||void 0===y||null===(m=y.nonRecs)||void 0===m?void 0:m.length)?"":"s"," your company offers."]})}):null,null===y||void 0===y||null===(g=y.nonRecs)||void 0===g?void 0:g.map((t=>(0,Cs.jsx)(eB,{product:t,selected:e.selected,setSelected:e.setSelected,recommended:null===v||void 0===v?void 0:v.includes(null===t||void 0===t?void 0:t.ID)})))]})]})},"custom-products-list")},nB=e=>{var n,r,o,i,a,s,l,u,c,d,p,f;const[h,m]=(0,t.useState)(!1),g=(0,t.useMemo)((()=>e.benefit&&e.benefit.Product&&e.benefit.Product.TitleDescriptions?e.benefit.Product.TitleDescriptions.filter((e=>!e.Autogenerated&&!!e.Title&&!!e.Description)):[]),[]);return(0,Cs.jsxs)(uO.div,{initial:"pageInitial",animate:"pageAnimate",exit:"pageExit",variants:{pageInitial:{x:400,opacity:0},pageAnimate:{x:0,opacity:1},pageExit:{x:-400,opacity:0}},className:YE,style:{border:`4px solid ${null!==(n=e.designStyles)&&void 0!==n&&null!==(r=n.Theme)&&void 0!==r&&null!==(o=r.Body)&&void 0!==o&&o.ButtonColor?null===(i=e.designStyles)||void 0===i||null===(a=i.Theme)||void 0===a||null===(s=a.Body)||void 0===s?void 0:s.ButtonColor:"#25282D"}`},children:[(0,Cs.jsxs)("div",{className:bs`
          display: flex;
          justify-content: space-between;
          align-items: center;

          ${WE} {
          }
        `,children:[(0,Cs.jsx)("div",{className:bs`
            flex-grow: 1;
            margin-right: 16px;
           max-width: 66%"
            ${WE} {
              min-width: 140px;
            }
          `,children:(0,Cs.jsx)("div",{children:(0,Cs.jsxs)("div",{className:bs`
                display: flex;
                justify-content: space-between;
                align-items: center;
              `,children:[(0,Cs.jsx)("div",{className:bs`
                  font-size: 20px;
                  font-weight: bold;
                  margin: 16px 0;
                  margin-top: 0;
                  flex-grow: 1;
                  text-align: left;

                  @media only screen and (max-width: 600px) {
                    font-size: 16px;
                    margin: 8px 0;
                    padding: 0;
                  }
                `,children:e.header.split(".").map((e=>(0,Cs.jsx)("div",{className:bs`
                      margin-bottom: 4px;
                    `,children:e})))}),!(e.benefit&&e.benefit.Provider&&e.benefit.Provider.LogoURL)&&e.benefit&&e.benefit.Product&&e.benefit.Product.CarrierName&&(0,Cs.jsxs)(gS,{style:{fontSize:"12px",margin:"4px 8px"},children:["through ",(0,Cs.jsx)("strong",{children:e.benefit.Product.CarrierName})]})]})})}),e.benefit&&e.benefit.Provider&&e.benefit.Provider.LogoURL?(0,Cs.jsx)("div",{className:bs`
              display: flex;
              justify-content: center;
              align-items: start;

              flex-grow: 1;
              @media only screen and (max-width: 600px) {
                flex-grow: 1;
                justify-content: end;
                width: 100%;
                padding: 8px 0;
                margin-bottom: 0px;
              }
            `,children:(0,Cs.jsx)("img",{src:e.benefit.Provider.LogoURL,alt:"Carrier Logo",className:bs`
                max-height: 60px;
                max-width: 100px;
                width: auto;
                height: auto;
              `})}):null]}),(0,Cs.jsx)("div",{className:bs`
          margin-left: -24px;
          margin-right: -24px;
          margin-top: 12px;
        `,children:(0,Cs.jsxs)("div",{className:bs`
            background: #f5f7fa;
            font-size: 18px;
            color: #66737f;
            padding: 10px;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;

            line-height: 26px;
            margin-left: 16px;
            margin-right: 16px;

            @media only screen and (max-width: 595px) {
              font-size: 14px;
              line-height: 160%;
            }
          `,children:[(0,Cs.jsx)(QF,{size:24,className:bs`
              margin-right: 16px;
            `}),(0,Cs.jsx)("div",{className:bs`
              @media only screen and (max-width: 595px) {
                font-size: 10px;
                line-height: 14px;
              }
            `,children:e.benefit.Product.CardText})]})}),(0,Cs.jsxs)(ch,{in:h,timeout:"auto",unmountOnExit:!0,style:{padding:"16px 0"},children:[e.benefit.Product.SecondaryText&&(0,Cs.jsx)("div",{className:bs`
              font-size: 14px;
              margin-right: 4px;
              padding-bottom: 12px;
              padding: 16px;
            `,children:e.benefit.Product.SecondaryText}),(0,Cs.jsxs)("div",{className:bs`
            margin-top: 25px;
            margin-bottom: 25px;
            padding-bottom: 25px;
          `,children:[(0,Cs.jsx)("div",{className:bs`
              display: flex;
              justify-content: center;
            `,children:(0,Cs.jsx)(iS,{variant:"contained",size:"large",onClick:()=>{window.open(e.benefit.Product.AdvisorLink,"_blank")},children:"Click to Learn More"})}),e.benefit.Product.AdvisorPhone&&(0,Cs.jsxs)("div",{className:bs`
                margin-top: 12px;
                display: flex;
                justify-content: center;
              `,children:["Advisor Phone Number:",(0,Cs.jsx)("br",{}),e.benefit.Product.AdvisorPhone]})]}),!!g.length&&(0,Cs.jsx)("div",{className:$E,children:g.map((e=>(0,Cs.jsxs)("div",{className:HE,children:[(0,Cs.jsx)(gS,{children:e.Title}),(0,Cs.jsx)(gS,{style:{fontWeight:"bold"},children:e.Description})]},e.Title+e.Description)))}),(0,Cs.jsx)(gS,{style:{fontSize:"14px"},className:bs`
            padding: 16px;
            margin-top: 30px;
          `,children:"*There are other aspects of this benefit to consider, including pricing, coverage limitations, exclusions, reductions and other ways this benefit will or will not pay. Please refer to your plan documents for full coverage."}),e.benefit&&e.benefit.Product&&e.benefit.Product.Disclaimer&&(0,Cs.jsx)("div",{className:bs`
              font-size: 11px;
              font-weight: 400;
              margin: 16px;
              margin-top: 30px;
            `,children:(e=>n_(e.replace(/(?:^|[^"'])((ftp|http|https|file):\/\/[\S]+(\b|$))/gi," <a href='$1' target='_blank'>$1</a>")))(e.benefit.Product.Disclaimer)})]}),(0,Cs.jsx)("div",{className:bs`
          display: flex;
          justify-content: center;
          margin-bottom: -20px;
        `,children:(0,Cs.jsx)(zC,{"aria-label":"Learn more",onClick:()=>m(!h),"data-ph-capture-attribute-source":null===r_||void 0===r_||null===(l=r_.types)||void 0===l?void 0:l.RECOMMENDATIONS,"data-ph-capture-attribute-action":null===r_||void 0===r_||null===(u=r_.actions)||void 0===u?void 0:u.VIEW_MORE,"data-ph-capture-attribute-product-id":null===e||void 0===e||null===(c=e.benefit)||void 0===c||null===(d=c.Product)||void 0===d?void 0:d.ID,"data-ph-capture-attribute-product-type":null===e||void 0===e||null===(p=e.benefit)||void 0===p||null===(f=p.Product)||void 0===f?void 0:f.Type,children:h?(0,Cs.jsx)(AI,{size:24}):(0,Cs.jsx)(d_,{size:24})})})]},"special-health")},rB={layer:{container:{zIndex:2e3},zIndex:2e3}},oB=(e,t)=>{let n=e||"0";return n=n.toLocaleString("en-US",{style:"currency",currency:"USD",maximumFractionDigits:2,minimumFractionDigits:2,...t})||"$0.00",n&&"NaN"!==n&&".00"===n.slice(-3)&&(n=n.slice(0,-3)),n};class iB extends t.Component{constructor(){super(...arguments),this.getMonthsRemaining=e=>{var t,n;return null!==e&&void 0!==e&&null!==(t=e.PlanCostsForYear)&&void 0!==t&&t.MonthsIncluded?null===e||void 0===e||null===(n=e.PlanCostsForYear)||void 0===n?void 0:n.MonthsIncluded:12},this.getTotalCombinedCost=e=>{var t;return"none"===e.Plan.ID?0:null===e||void 0===e||null===(t=e.PlanCostsForYear)||void 0===t?void 0:t.FinalPlanCost}}render(){let e=this.props.plan;return(0,Cs.jsx)(Cs.Fragment,{children:this.props.showAllPlans&&(0,Cs.jsx)(Pp,{theme:rB,children:(0,Cs.jsx)(hf,{responsive:!0,position:"center",modal:!0,margin:"small",onClickOutside:()=>this.props.setShowAllPlans(!1),onEsc:()=>this.props.setShowAllPlans(!1),className:bs`
                width: 100vw;
                max-width: 700px !important;
                font-family: Roboto, Montserrat, sans-serif !important;
              `,children:(0,Cs.jsxs)("div",{className:bs`
                  padding: 32px;
                  ${WE} {
                    padding: 16px;
                  }
                `,children:[(0,Cs.jsxs)("div",{className:bs`
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                  `,children:[(0,Cs.jsx)("div",{className:bs`
                      color: #25282d;
                      font-size: 24px;
                    `,children:"Other Medical Plans"}),(0,Cs.jsx)(zC,{onClick:()=>this.props.setShowAllPlans(!1),children:(0,Cs.jsx)(kh,{})})]}),(0,Cs.jsx)("div",{className:bs`
                    max-height: 500px;
                    overflow: auto;
                  `,children:this.props.allMedicalPlans.map((t=>{var n,r,o,i,a,s;return(0,Cs.jsx)("div",{onClick:()=>{this.props.setSelectedMedicalRec(t),this.props.setMedicalType("medical"),this.props.setShowAllPlans(!1)},className:bs`
                          border-radius: 16px;
                          border: ${t.Plan.ID===e.Plan.ID?`\n                            4px solid ${null!==(n=this.props.designStyles)&&void 0!==n&&null!==(r=n.Theme)&&void 0!==r&&null!==(o=r.Body)&&void 0!==o&&o.ButtonColor?null===(i=this.props.designStyles)||void 0===i||null===(a=i.Theme)||void 0===a||null===(s=a.Body)||void 0===s?void 0:s.ButtonColor:"#25282D"};\n                            filter: drop-shadow(4px 4px 10px rgba(37, 40, 45, 0.3));\n                          `:"1px solid #d1dae3"};
                          margin: 32px;
                          background-color: white;
                          background-color: white;
                          padding: 24px;
                          cursor: pointer;
                          :hover {
                            background-color: #f5f7fa;
                          }
                          ${WE} {
                            padding: 16px;
                            margin: 16px;
                          }
                        `,children:(0,Cs.jsxs)("div",{className:bs`
                            display: flex;
                            justify-content: space-between;
                            align-items: center;
                          `,children:[(0,Cs.jsx)("div",{children:(0,Cs.jsx)("div",{className:bs`
                                color: #25282d;
                                font-size: 24px;
                                margin-right: 60px;
                                ${WE} {
                                  font-size: 18px;
                                }
                              `,children:t.Plan.Name})}),(0,Cs.jsxs)("div",{children:[(0,Cs.jsx)("div",{className:bs`
                                color: #25282d;
                                font-size: 24px;
                                text-align: right;
                                ${WE} {
                                  font-size: 16px;
                                }
                              `,children:this.getTotalCombinedCost(t)<0?"$0":`${oB(parseFloat(this.props.showMonthlyCosts?this.getTotalCombinedCost(t)/this.getMonthsRemaining(t):this.getTotalCombinedCost(t)))}`}),(0,Cs.jsxs)("div",{className:bs`
                                color: #25282d;
                                font-size: 14px;
                                margin-top: 8px;
                                margin-bottom: 4px;
                                text-align: right;
                                ${WE} {
                                  font-size: 10px;
                                  margin-top: 0px;
                                  margin-bottom: 0px;
                                }
                              `,children:["Total estimated cost"," ",(0,Cs.jsx)(Ou,{placement:"right",title:"Includes the monthly insurance premium plus the estimated cost of medical services.",children:(0,Cs.jsx)(YF.A,{style:{fontSize:18,top:"3px",marginLeft:"2px",position:"relative"}})})]}),this.props.showMonthlyCosts?(0,Cs.jsx)("div",{className:bs`
                                  text-align: right;
                                  font-size: 14px;
                                  color: #66737f;
                                  ${WE} {
                                    font-size: 10px;
                                  }
                                `,children:"(Monthly average)"}):(0,Cs.jsx)("div",{className:bs`
                                  text-align: right;
                                  font-size: 14px;
                                  color: #66737f;
                                  ${WE} {
                                    font-size: 10px;
                                  }
                                `,children:"(Annual average)"})]})]})})}))})]})})})})}}const aB={randomUUID:"undefined"!==typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};var sB,lB=new Uint8Array(16);function uB(){if(!sB&&!(sB="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return sB(lB)}for(var cB=[],dB=0;dB<256;++dB)cB.push((dB+256).toString(16).slice(1));function pB(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(cB[e[t+0]]+cB[e[t+1]]+cB[e[t+2]]+cB[e[t+3]]+"-"+cB[e[t+4]]+cB[e[t+5]]+"-"+cB[e[t+6]]+cB[e[t+7]]+"-"+cB[e[t+8]]+cB[e[t+9]]+"-"+cB[e[t+10]]+cB[e[t+11]]+cB[e[t+12]]+cB[e[t+13]]+cB[e[t+14]]+cB[e[t+15]]).toLowerCase()}const fB=function(e,t,n){if(aB.randomUUID&&!t&&!e)return aB.randomUUID();var r=(e=e||{}).random||(e.rng||uB)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return pB(r)};var hB=new Map;hB.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"220 176 220 36 80 36",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("rect",{x:"40",y:"76",width:"140",height:"140",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),hB.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("rect",{x:"40",y:"72",width:"144",height:"144",opacity:"0.2"}),t.createElement("polyline",{points:"216 184 216 40 72 40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("rect",{x:"40",y:"72",width:"144",height:"144",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),hB.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M216,32H72a8,8,0,0,0,0,16H208V184a8,8,0,0,0,16,0V40A8,8,0,0,0,216,32Z"}),t.createElement("rect",{x:"32",y:"64",width:"160",height:"160",rx:"8"}))})),hB.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"216 184 216 40 72 40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("rect",{x:"40",y:"72",width:"144",height:"144",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),hB.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"216 184 216 40 72 40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("rect",{x:"40",y:"72",width:"144",height:"144",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),hB.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"216 184 216 40 72 40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("rect",{x:"40",y:"72",width:"144",height:"144",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var mB=function(e,t){return Ua(e,t,hB)},gB=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:mB}))}));gB.displayName="CopySimple";const vB=gB,yB={layer:{container:{zIndex:2e3},zIndex:2e3}};const xB=e=>{var n,r,o,i;let{shareData:a={title:"",text:"",url:""},designStyles:s,setShowShare:l}=e;const[u,c]=(0,t.useState)(!1);t.useEffect((()=>{(async()=>{if(window.navigator.share)try{await navigator.share(a),c(!1),l(!1)}catch(e){c(!0),l(!0)}else c(!0)})()}),[]);return(0,Cs.jsx)(Cs.Fragment,{children:u&&(0,Cs.jsx)(Pp,{theme:yB,children:(0,Cs.jsx)(hf,{responsive:!0,position:"center",modal:!0,margin:"small",onClickOutside:()=>{c(!1),l(!1)},onEsc:()=>{c(!1),l(!1)},className:bs`
              width: 100vw;
              max-width: 500px !important;
            `,children:(0,Cs.jsxs)("div",{className:bs`
                padding: 24px 32px;
              `,children:[(0,Cs.jsxs)("div",{className:bs`
                  display: flex;
                  justify-content: space-between;
                  align-items: center;
                `,children:[(0,Cs.jsx)("div",{className:bs`
                    font-family: 'Roboto';
                    font-style: normal;
                    font-weight: 700;
                    font-size: 24px;
                    line-height: 32px;
                    /* identical to box height, or 133% */

                    color: #25282d;
                  `,children:"Share Your Recommendations"}),(0,Cs.jsx)(zC,{onClick:()=>{c(!1),l(!1)},children:(0,Cs.jsx)(kh,{})})]}),(0,Cs.jsx)("div",{className:bs`
                  font-family: 'Roboto';
                  font-style: normal;
                  font-weight: 400;
                  font-size: 16px;
                  line-height: 24px;
                  /* or 150% */

                  letter-spacing: 0.15px;

                  color: #66737f;
                  margin-top: 18px;
                `,children:"There are various ways for you to share your benefit recommendations, ensuring that you never forget them."}),(0,Cs.jsx)("div",{className:bs`
                  display: flex;
                  align-items: center;
                  justify-content: center;
                  gap: 32px;
                  margin-top: 32px;
                  margin-bottom: 32px;
                `,children:(0,Cs.jsxs)("div",{onClick:()=>{navigator.clipboard.writeText(a.url),c(!1),l(!1),O.success("Recommendations link has been copied ",{position:O.POSITION.TOP_CENTER,closeButton:(0,Cs.jsx)(kh,{size:"32",color:"#25282D"}),progressClassName:bs`
                        background: #25282d;
                      `,className:bs`
                        background: white !important;
                        font-family: 'Roboto';
                        font-style: normal;
                        font-weight: 700;
                        font-size: 18px;
                        line-height: 133.4%;
                        /* identical to box height, or 24px */
                        display: flex;
                        align-items: center;
                        color: #25282d;
                      `})},className:bs`
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    cursor: pointer;
                  `,children:[(0,Cs.jsx)("div",{className:bs`
                      background: ${null!==s&&void 0!==s&&null!==(n=s.Theme)&&void 0!==n&&null!==(r=n.Body)&&void 0!==r&&r.ButtonColor?null===s||void 0===s||null===(o=s.Theme)||void 0===o||null===(i=o.Body)||void 0===i?void 0:i.ButtonColor:"#25282D"};
                      border-radius: 51px;
                      display: flex;
                      flex-direction: column;
                      align-items: center;
                      padding: 20px;
                      &:hover {
                        opacity: 0.9;
                      }
                    `,children:(0,Cs.jsx)(vB,{size:"40px",color:"white"})}),(0,Cs.jsx)("div",{className:bs`
                      font-family: 'Roboto';
                      font-style: normal;
                      font-weight: 400;
                      font-size: 16px;
                      line-height: 24px;
                      /* identical to box height, or 150% */

                      text-align: center;
                      letter-spacing: 0.15px;

                      color: #25282d;
                      margin-top: 16px;
                    `,children:"Copy Link"})]})}),(0,Cs.jsx)("div",{className:bs`
                  font-family: 'Roboto';
                  font-style: normal;
                  font-weight: 400;
                  font-size: 16px;
                  line-height: 24px;
                  /* or 150% */

                  letter-spacing: 0.15px;

                  color: #66737f;
                  margin-top: 18px;
                `,children:"Click the button above to copy the link and then share it with anyone by sending them the text or email."})]})})})})};var bB=new Map;bB.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("polygon",{points:"12 96 128 32 244 96 128 160 12 96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("polyline",{points:"186 240 186 128 128 96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M224,107v58.2a7.8,7.8,0,0,1-1.9,5.1c-7.7,9.1-39,41.7-94.1,41.7s-86.4-32.6-94.1-41.7a7.8,7.8,0,0,1-1.9-5.1V107",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),bB.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M36,110.9v54.6a7.8,7.8,0,0,0,1.6,4.7c6.7,9,35.1,41.8,90.4,41.8s83.7-32.8,90.4-41.8a7.8,7.8,0,0,0,1.6-4.7V110.9L128,160Z",opacity:"0.2"}),t.createElement("polygon",{points:"8 96 128 32 248 96 128 160 8 96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("polyline",{points:"188 240 188 128 128 96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M220,110.9v54.6a7.8,7.8,0,0,1-1.6,4.7c-6.7,9-35.1,41.8-90.4,41.8s-83.7-32.8-90.4-41.8a7.8,7.8,0,0,1-1.6-4.7V110.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),bB.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M180,209.6a119.4,119.4,0,0,0,16-8.5V240a8,8,0,0,1-16,0ZM120.9,92.2a8.2,8.2,0,0,0,3.3,10.9L171,128l17-9.1-56.2-30A8.2,8.2,0,0,0,120.9,92.2Zm130.9-3.3-120-64a8.5,8.5,0,0,0-7.6,0l-120,64a8.1,8.1,0,0,0,0,14.2L28,115.7v49.8a15.5,15.5,0,0,0,3.2,9.5c7.9,10.6,38.3,45,96.8,45a128.7,128.7,0,0,0,52-10.5V132.8l-9-4.8-43,22.9-88.2-47h0L25,96,128,41.1,231,96l-14.8,7.9h0l-28.2,15,3.8,2a8.4,8.4,0,0,1,3.2,3.3,7.5,7.5,0,0,1,1,3.8v73.1A111.8,111.8,0,0,0,224.8,175a15.5,15.5,0,0,0,3.2-9.5V115.7l23.8-12.6a8.1,8.1,0,0,0,0-14.2Z"}))})),bB.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("polygon",{points:"8 96 128 32 248 96 128 160 8 96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("polyline",{points:"188 240 188 128 128 96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M220,110.9v54.6a7.8,7.8,0,0,1-1.6,4.7c-6.7,9-35.1,41.8-90.4,41.8s-83.7-32.8-90.4-41.8a7.8,7.8,0,0,1-1.6-4.7V110.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),bB.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("polygon",{points:"8 96 128 32 248 96 128 160 8 96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("polyline",{points:"188 240 188 128 128 96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M220,110.9v54.6a7.8,7.8,0,0,1-1.6,4.7c-6.7,9-35.1,41.8-90.4,41.8s-83.7-32.8-90.4-41.8a7.8,7.8,0,0,1-1.6-4.7V110.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),bB.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("polygon",{points:"8 96 128 32 248 96 128 160 8 96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("polyline",{points:"188 240 188 128 128 96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M220,110.9v54.6a7.8,7.8,0,0,1-1.6,4.7c-6.7,9-35.1,41.8-90.4,41.8s-83.7-32.8-90.4-41.8a7.8,7.8,0,0,1-1.6-4.7V110.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var kB=function(e,t){return Ua(e,t,bB)},wB=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:kB}))}));wB.displayName="GraduationCap";const EB=wB;var _B=new Map;_B.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"176.2 99.7 224.2 99.7 224.2 51.7",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M65.8,65.8a87.9,87.9,0,0,1,124.4,0l34,33.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("polyline",{points:"79.8 156.3 31.8 156.3 31.8 204.3",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M190.2,190.2a87.9,87.9,0,0,1-124.4,0l-34-33.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),_B.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"176.2 99.7 224.2 99.7 224.2 51.7",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M65.8,65.8a87.9,87.9,0,0,1,124.4,0l34,33.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("polyline",{points:"79.8 156.3 31.8 156.3 31.8 204.3",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M190.2,190.2a87.9,87.9,0,0,1-124.4,0l-34-33.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),_B.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M232.2,51.7v48a8,8,0,0,1-8,8h-48a8,8,0,0,1-5.7-13.6l18.4-18.4-4.3-4.3a80.2,80.2,0,0,0-113.2,0,7.9,7.9,0,0,1-11.3,0,8,8,0,0,1,0-11.3,96.2,96.2,0,0,1,135.8,0l4.3,4.3,18.3-18.3a8,8,0,0,1,8.7-1.8A8.2,8.2,0,0,1,232.2,51.7ZM184.6,184.6a80.2,80.2,0,0,1-113.2,0l-4.3-4.3,18.4-18.4a8,8,0,0,0-5.7-13.6h-48a8,8,0,0,0-8,8v48a8.2,8.2,0,0,0,5,7.4,8,8,0,0,0,3,.6,7.8,7.8,0,0,0,5.7-2.4l18.3-18.3,4.3,4.3a96.1,96.1,0,0,0,135.8,0,8,8,0,0,0,0-11.3A7.9,7.9,0,0,0,184.6,184.6Z"}))})),_B.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"176.2 99.7 224.2 99.7 224.2 51.7",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M65.8,65.8a87.9,87.9,0,0,1,124.4,0l34,33.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("polyline",{points:"79.8 156.3 31.8 156.3 31.8 204.3",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M190.2,190.2a87.9,87.9,0,0,1-124.4,0l-34-33.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),_B.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"176.2 99.7 224.2 99.7 224.2 51.7",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M65.8,65.8a87.9,87.9,0,0,1,124.4,0l34,33.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("polyline",{points:"79.8 156.3 31.8 156.3 31.8 204.3",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M190.2,190.2a87.9,87.9,0,0,1-124.4,0l-34-33.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),_B.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"176.2 99.7 224.2 99.7 224.2 51.7",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M65.8,65.8a87.9,87.9,0,0,1,124.4,0l34,33.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("polyline",{points:"79.8 156.3 31.8 156.3 31.8 204.3",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M190.2,190.2a87.9,87.9,0,0,1-124.4,0l-34-33.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var CB=function(e,t){return Ua(e,t,_B)},SB=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:CB}))}));SB.displayName="ArrowsClockwise";const DB=SB;function jB(){return{getItem:function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=new URLSearchParams(window.location.search).get("mode");return t||"kiosk"!==n?localStorage.getItem(e):null},removeItem:e=>{localStorage.removeItem(e)},setItem:function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=new URLSearchParams(window.location.search).get("mode");(n||"kiosk"!==r)&&localStorage.setItem(e,t)},clear:()=>{localStorage.clear()}}}const AB=function(e){let t=Sw(e.PlanCostsForYear.FinalPlanCost,e.PlanCostsForYear.MonthsIncluded);return t=Math.max(0,t),`$${jw(t,{decimals:2,round:!1})}`},PB=e=>{var n,r,o,i;let{selectedMedicalRec:a,setSelectedMedicalRec:s,recommendations:l,setShowComparisons:u}=e;const{data:{productLayouts:c}}=Ww(),[d,p]=(0,t.useState)([]),[f,h]=(0,t.useState)(null),[m,g]=(0,t.useState)(null),v=(0,t.useMemo)((()=>{const e=null===l||void 0===l?void 0:l.reduce(((e,t)=>{var n,r;const o=(null===t||void 0===t||null===(n=t.Plan)||void 0===n?void 0:n.MultiNetworkID)||(null===t||void 0===t||null===(r=t.Plan)||void 0===r?void 0:r.ID);return{...e,[o]:[...(null===e||void 0===e?void 0:e[o])||[],t]}}),{});return Object.entries(e)}));(0,t.useEffect)((()=>{const e=null===v||void 0===v?void 0:v.map((e=>{let[t]=e;return t}));p(e)}),[]);const y=(0,t.useMemo)((()=>null===v||void 0===v?void 0:v.reduce(((e,t)=>{let[n,r]=t;return[...e,...r.map((e=>{let{Plan:t}=e;return t}))]}),[])),[v]),x=MI({productId:f,products:y,productLayouts:c}),b=null===l||void 0===l?void 0:l.find((e=>{var t;return(null===e||void 0===e||null===(t=e.Plan)||void 0===t?void 0:t.ID)===f})),k=e=>{var t,n,r,o,i,l,u,c,d,p,f,h,m,v,y,x;if((null===e||void 0===e||null===(t=e.Plan)||void 0===t?void 0:t.ID)===(null===a||void 0===a||null===(n=a.Plan)||void 0===n?void 0:n.ID))return;const b=(null===a||void 0===a||null===(r=a.PlanCostsForYear)||void 0===r||null===(o=r.AdditionalCostInfo)||void 0===o||null===(i=o.IncentivesList)||void 0===i||null===(l=i.filter((e=>!(null!==e&&void 0!==e&&e.ComparableOnly))))||void 0===l?void 0:l.map((e=>QE[null===e||void 0===e?void 0:e.Type])))||[],k=(null===e||void 0===e||null===(u=e.PlanCostsForYear)||void 0===u||null===(c=u.AdditionalCostInfo)||void 0===c||null===(d=c.IncentivesList)||void 0===d||null===(p=d.filter((e=>!(null!==e&&void 0!==e&&e.ComparableOnly))))||void 0===p?void 0:p.map((e=>QE[null===e||void 0===e?void 0:e.Type])))||[],w=(null===a||void 0===a||null===(f=a.Plan)||void 0===f||null===(h=f.includedPrograms)||void 0===h?void 0:h.map((e=>GI[null===e||void 0===e?void 0:e.ProgramType])))||[],E=(null===e||void 0===e||null===(m=e.Plan)||void 0===m||null===(v=m.includedPrograms)||void 0===v?void 0:v.map((e=>GI[null===e||void 0===e?void 0:e.ProgramType])))||[],_=[...new Set([...b,...w])],C=[...new Set([...k,...E])],S=Sw(a.PlanCostsForYear.FinalPlanCost,null===a||void 0===a||null===(y=a.PlanCostsForYear)||void 0===y?void 0:y.MonthsIncluded),D=Sw(e.PlanCostsForYear.FinalPlanCost,null===e||void 0===e||null===(x=e.PlanCostsForYear)||void 0===x?void 0:x.MonthsIncluded),j=kw(S,D),A={cost:0===j?null:jw(j,{decimals:2,round:!1}),adds:null===C||void 0===C?void 0:C.filter((e=>!_.includes(e))),removes:null===_||void 0===_?void 0:_.filter((e=>!C.includes(e))),changeToRec:e};null!==C&&void 0!==C&&C.length||null!==_&&void 0!==_&&_.length?g(A):(g(null),s(e))};return(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsxs)(FI,{css:`\n          margin: 8px 24px;\n          border: 1px solid ${ks.gray[300]};\n          border-radius: 16px;\n          background-color: white;\n          padding: 32px;\n          box-sizing: border-box;\n        `,children:[(0,Cs.jsx)(FI,{flex:"space-between",children:(0,Cs.jsx)(Ts,{h1:!0,children:"Medical Plan"})}),(0,Cs.jsx)(FI,{css:"\n            margin-top: 32px;\n            display: grid;\n            gap: 32px;\n          ",children:null===v||void 0===v?void 0:v.map(((e,t)=>{var n,r,o,i,s,l,u,c,f,m,g;let[v,y]=e;const x=null===y||void 0===y?void 0:y.length,b=null===y||void 0===y?void 0:y.find((e=>{var t,n;return!(null!==e&&void 0!==e&&null!==(t=e.Plan)&&void 0!==t&&t.MultiNetworkCategory)||"core"===(null===e||void 0===e||null===(n=e.Plan)||void 0===n?void 0:n.MultiNetworkCategory)})),w=(null===a||void 0===a||null===(n=a.Plan)||void 0===n?void 0:n.ID)===(null===b||void 0===b||null===(r=b.Plan)||void 0===r?void 0:r.ID)&&1===x;return(0,Cs.jsxs)(FI,{css:`\n                  position: relative;\n                  border-radius: 16px;\n                  border: 1px solid ${ks.gray[300]};\n                  padding: 32px;\n                  ${w?"\n                  outline: 3px solid var(--button-background-color);  \n                  border: 1px solid transparent;\n                ":""}\n                  ${1!==x||w?"":`\n                  :hover {\n                    background-color: ${ks.gray[100]};\n                    transition: background-color 0.3s ease;\n                    cursor: pointer;\n                  }\n                `}\n                `,onClick:()=>{1===x&&k(b)},children:[w?(0,Cs.jsx)(FI,{css:"\n                      position: absolute;\n                      top: 2px;\n                      right: 2px;\n                      border-radius: 50%;\n                      background-color: var(--button-background-color);\n                      width: 24px;\n                      height: 24px;\n                    ",flex:"center",children:(0,Cs.jsx)(vh,{color:"white",size:16,weight:"bold"})}):null,0===t?(0,Cs.jsxs)(FI,{flex:"center",css:"\n                      position: absolute;\n                      top: -16px;\n                      left: calc(50% - 90px);\n                      width: 160px;\n                      background-color: var(--button-background-color);\n                      padding: 2px 8px;\n                      border-radius: 30px;\n                      svg {\n                        margin-right: 8px;\n                        min-width: 16px;\n                      }\n                    ",children:[(0,Cs.jsx)(qI,{color:"white",size:16,weight:"fill"}),(0,Cs.jsx)(Ts,{css:"\n                        color: white;\n                        font-weight: bold;\n                      ",children:"Recommended"})]}):null,(0,Cs.jsxs)(FI,{flex:"space-between wrap-reverse",children:[(0,Cs.jsxs)(FI,{children:[(0,Cs.jsx)(Ts,{h2:!0,css:"\n                        min-width: 150px;\n                      ",children:null===b||void 0===b||null===(o=b.Plan)||void 0===o?void 0:o.ProductName}),1===x&&AB(b)?(0,Cs.jsxs)(Ts,{label:!0,bold:!0,children:[AB(b)," / Month"]}):null]}),(0,Cs.jsx)(wh,{carrierID:null===b||void 0===b||null===(i=b.Plan)||void 0===i?void 0:i.CarrierID,css:`\n                      border-radius: 8px;\n                      border: 1px solid ${ks.gray[300]};\n                      width: 180px;\n                      background-color: white;\n                    `,position:"center",maxWidth:"180px"})]}),x>1?(0,Cs.jsxs)(FI,{children:[(0,Cs.jsxs)(FI,{flex:"space-between",css:`\n                        margin-top: 32px;\n                        padding: 0 8px;\n                        border-radius: 8px;\n                        :hover {\n                          background-color: ${ks.gray[100]};\n                          cursor: pointer;\n                        }\n                      `,onClick:()=>(e=>{d.includes(e)?p(d.filter((t=>t!==e))):p([...d,e])})(v),children:[(0,Cs.jsxs)(Ts,{h4:!0,children:["Additional options (",x,")"]}),(0,Cs.jsx)(FI,{flex:"center",css:`\n                          background-color: ${ks.gray[100]};\n                          border-radius: 50%;\n                          width: 40px;\n                          height: 40px;\n                        `,children:d.includes(v)?(0,Cs.jsx)(TO,{}):(0,Cs.jsx)(gC,{})})]}),(0,Cs.jsx)(ch,{in:d.includes(v),className:bs`
                        padding: 0 8px;
                        margin: 0 -8px;
                      `,children:(0,Cs.jsx)(FI,{css:"\n                          display: grid;\n                          gap: 24px;\n                          margin-top: 32px;\n                        ",children:null===y||void 0===y?void 0:y.map(((e,n)=>{var r,o,i,s,l,u,c;const d=0===t&&0===n,p=(null===a||void 0===a||null===(r=a.Plan)||void 0===r?void 0:r.ID)===(null===e||void 0===e||null===(o=e.Plan)||void 0===o?void 0:o.ID);return(0,Cs.jsxs)(FI,{css:`\n                                position: relative;\n                                border-radius: 16px;\n                                border: 1px solid ${ks.gray[300]};\n                                padding: 24px;\n                                ${p?"\n                                outline: 3px solid var(--button-background-color);\n                                border: 1px solid transparent;\n                                  \n                              ":`\n                                transition: background-color 0.3s ease;\n                                :hover {\n                                  cursor: pointer;\n                                  background-color: ${ks.gray[100]};\n                                }\n                              `}\n                              `,onClick:()=>k(e),children:[p?(0,Cs.jsx)(FI,{css:"\n                                    position: absolute;\n                                    top: 2px;\n                                    right: 2px;\n                                    border-radius: 50%;\n                                    background-color: var(--button-background-color);\n                                    width: 24px;\n                                    height: 24px;\n                                  ",flex:"center",children:(0,Cs.jsx)(vh,{color:"white",size:16,weight:"bold"})}):null,(0,Cs.jsxs)(FI,{flex:"space-between",css:"\n                                  padding-bottom: 8px;\n                                ",children:[(0,Cs.jsxs)(FI,{flex:"left",css:"\n                                    svg {\n                                      margin-right: 8px;\n                                    }\n                                    margin-right: 24px;\n                                  ",children:[d?(0,Cs.jsx)(qI,{color:"var(--button-background-color)",size:16,weight:"fill"}):null,(0,Cs.jsx)(Ts,{h4:!0,children:null===e||void 0===e||null===(i=e.Plan)||void 0===i?void 0:i.NetworkName})]}),AB(b)?(0,Cs.jsxs)(Ts,{h4:!0,css:"\n                                      min-width: max-content;\n                                    ",children:[AB(e)," / Month"]}):null]}),(0,Cs.jsxs)(FI,{flex:"space-between start",children:[(0,Cs.jsx)(Ts,{css:"\n                                    margin-right: 24px;\n                                  ",children:null===e||void 0===e||null===(s=e.Plan)||void 0===s?void 0:s.NetworkDescription}),(0,Cs.jsx)(Ts,{css:"\n                                    min-width: max-content;\n                                  ",children:"Your Estimated Cost"})]}),(0,Cs.jsx)(Gu,{naked:!0,css:"\n                                  text-decoration: underline;\n                                  text-transform: none;\n                                  padding: 8px 0;\n                                ","aria-label":"Learn more",onClick:t=>{var n;t.stopPropagation(),h(null===e||void 0===e||null===(n=e.Plan)||void 0===n?void 0:n.ID)},"data-ph-capture-attribute-source":null===r_||void 0===r_||null===(l=r_.types)||void 0===l?void 0:l.RECOMMENDATIONS,"data-ph-capture-attribute-action":null===r_||void 0===r_||null===(u=r_.actions)||void 0===u?void 0:u.VIEW_MORE,"data-ph-capture-attribute-product-type":null===(c=b.Plan)||void 0===c?void 0:c.Type,children:"Learn More"})]})}))})})]}):(0,Cs.jsxs)(FI,{css:"\n                      margin-top: 8px;\n                    ",children:[null!==b&&void 0!==b&&null!==(s=b.Plan)&&void 0!==s&&s.NetworkName||null!==b&&void 0!==b&&null!==(l=b.Plan)&&void 0!==l&&l.NetworkDescription?(0,Cs.jsxs)(FI,{css:"\n                          margin-bottom: 8px;\n                        ",children:[(0,Cs.jsx)(Ts,{h4:!0,children:null===b||void 0===b||null===(u=b.Plan)||void 0===u?void 0:u.NetworkName}),(0,Cs.jsx)(Ts,{children:null===b||void 0===b||null===(c=b.Plan)||void 0===c?void 0:c.NetworkDescription})]}):null,(0,Cs.jsx)(Gu,{naked:!0,css:"\n                        text-decoration: underline;\n                        text-transform: none;\n                        padding: 8px 0;\n                      ","aria-label":"Learn more",onClick:e=>{var t;e.stopPropagation(),h(null===b||void 0===b||null===(t=b.Plan)||void 0===t?void 0:t.ID)},"data-ph-capture-attribute-source":null===r_||void 0===r_||null===(f=r_.types)||void 0===f?void 0:f.RECOMMENDATIONS,"data-ph-capture-attribute-action":null===r_||void 0===r_||null===(m=r_.actions)||void 0===m?void 0:m.VIEW_MORE,"data-ph-capture-attribute-product-type":null===(g=b.Plan)||void 0===g?void 0:g.Type,children:"Learn More"})]})]},v)}))}),(0,Cs.jsx)(Gu,{css:"\n            margin-top: 32px;\n            min-width: 100%;\n          ",onClick:()=>u(!0),"data-ph-capture-attribute-source":null===r_||void 0===r_||null===(n=r_.types)||void 0===n?void 0:n.RECOMMENDATIONS,"data-ph-capture-attribute-action":null===r_||void 0===r_||null===(r=r_.actions)||void 0===r?void 0:r.SHOW_COMPARISONS,secondary:!0,children:"Compare All Plans"}),f?(0,Cs.jsx)(BI,{recommendation:b,data:x,onClose:()=>h("")}):null]}),(0,Cs.jsx)(FI,{children:QI(a.Plan.includedPrograms).length?(0,Cs.jsxs)("div",{className:bs`
              border: 1px solid ${ks.gray[300]};
              background-color: white;
              padding: 32px;
              margin: 0 24px;
              border-radius: 16px;
              margin-top: 24px;
              gap: 24px;
              display: grid;
            `,children:[(0,Cs.jsx)(Ts,{h2:!0,children:"Included Programs"}),QI(a.Plan.includedPrograms).map((e=>(0,Cs.jsx)(XI,{benefit:e})))]}):null}),null!==m?(0,Cs.jsx)(gf,{display:!0,onClose:()=>g(null),children:(0,Cs.jsxs)(FI,{css:"\n              width: 500px;\n              padding: 32px;\n            ",children:[(0,Cs.jsxs)(FI,{flex:"space-between",children:[(0,Cs.jsx)(Ts,{h1:!0,children:"Heads Up"}),(0,Cs.jsx)(Gu,{styles:"icon",onClick:()=>g(null),children:(0,Cs.jsx)(kh,{})})]}),(0,Cs.jsxs)(FI,{children:[(0,Cs.jsx)(Ts,{children:"This selection will make the following changes to your benefits"}),null!==(o=m.adds)&&void 0!==o&&o.length?(0,Cs.jsxs)(FI,{css:`\n                    border-bottom: 1px solid ${ks.gray[300]};\n                    padding: 16px 0;\n                  `,children:[(0,Cs.jsx)(Ts,{h4:!0,css:"\n                      padding-bottom: 8px;\n                    ",children:"Add"}),m.adds.map((e=>(0,Cs.jsx)(Ts,{label:!0,children:e})))]}):null,null!==(i=m.removes)&&void 0!==i&&i.length?(0,Cs.jsxs)(FI,{css:`\n                    border-bottom: 1px solid ${ks.gray[300]};\n                    padding: 16px 0;\n                  `,children:[(0,Cs.jsx)(Ts,{h4:!0,css:"\n                      padding-bottom: 8px;\n                    ",children:"Remove"}),m.removes.map((e=>(0,Cs.jsx)(Ts,{label:!0,children:e})))]}):null,null!==m&&void 0!==m&&m.cost?(0,Cs.jsxs)(FI,{flex:"space-between",css:"\n                    padding-top: 24px;\n                  ",children:[(0,Cs.jsx)(Ts,{h4:!0,children:"Estimated Cost Change"}),(0,Cs.jsxs)(Ts,{label:!0,bold:!0,children:[(0,Cs.jsx)("span",{children:(null===m||void 0===m?void 0:m.cost)>0?"Save ":"+"}),"$",tw(null===m||void 0===m?void 0:m.cost)," / Month"]})]}):null]}),(0,Cs.jsxs)(FI,{flex:"right",css:"\n                gap: 16px;\n                margin-top: 24px;\n              ",children:[(0,Cs.jsx)(Gu,{secondary:!0,onClick:()=>g(null),children:"Cancel"}),(0,Cs.jsx)(Gu,{onClick:()=>{s(m.changeToRec),g(null)},children:"Make Changes"})]})]})}):null]})},LB=["dental_buyup","vision_buyup","dental_ortho_buyup","supplimental_life","short_term_disability","long_term_disability","basic_life_v2","supplemental_life_v2"],MB=["critical_illness","accident_plan","hospital_indemnity","cancer_buyup"],NB=e=>{var n,r,o,i,a,s,l,u,c,d,p,f,h,m,g,v,y,x,b,k,w,E,_,C;const{data:{productLayouts:S},setStore:D}=Ww(),j=jB(),[A,P]=(0,t.useState)({Plan:{ID:"none"}});(0,t.useEffect)((()=>{D("RelevantTier",null===A||void 0===A?void 0:A.RelevantTier)}),[null===A||void 0===A?void 0:A.RelevantTier]);const[L,M]=(0,t.useState)(!1),[N,O]=(0,t.useState)(!1),[T,F]=(0,t.useState)("default"),[R,I]=(0,t.useState)(!1),[B,W]=(0,t.useState)(window.location.origin+window.location.pathname+`?rec=${e.recId}`),[z,$]=(0,t.useState)(!1);(0,t.useEffect)((()=>(e.setOnRecommendationListPage(!0),()=>{e.setOnRecommendationListPage(!1)})),[]);const[H,V]=(0,t.useState)(1),U=Hw("hide-estimated-cost"),q=Hw("round-estimated-cost"),Y=Hw("depersonalize-premium"),G=Hw("dt-refresh");(0,t.useEffect)((()=>{e.healthCareRecommendation&&e.healthCareRecommendation.length>0&&P(e.healthCareRecommendation[0])}),[JSON.stringify(e.healthCareRecommendation)]);const Z=(e,t)=>{for(let n of e)if(n.Product&&n.Product.Type===t)return n.Product.Business=n.Provider,n;return null},K=()=>{let t=Z(e.allCoreProducts,"healthcaregov");return!!t&&t.Suggested},Q=()=>{let t=Z(e.allCoreProducts,"reference_based_pricing");return!!t&&t.Suggested},X=()=>{let t=Z(e.allCoreProducts,"medicare_recommendation");return!!t&&t.Suggested},J=e=>e.reduce(((e,t)=>({...e,[t.Product.Type]:[...e[t.Product.Type]||[],t]})),{}),ee=()=>!(!(X()||Q()||K())||"default"!==T&&"special"!==T),te=()=>{let t=(0,Wc.cloneDeep)(e);if(t.healthCareRecommendation=((e,t)=>{const n=e.findIndex((e=>{let{Plan:n}=e;return n.ID===t}));if(-1!==n){const t=[...e];return t.unshift(...t.splice(n,1)),t}return e})(t.healthCareRecommendation,A.Plan.ID),z&&(X()||Q()||K())){if(K())for(let e of t.allCoreProducts)e.Product&&"healthcaregov"===e.Product.Type&&(e.Suggested=!1);if(Q())for(let e of t.allCoreProducts)e.Product&&"reference_based_pricing"===e.Product.Type&&(e.Suggested=!1);if(X())for(let e of t.allCoreProducts)e.Product&&"medicare_recommendation"===e.Product.Type&&(e.Suggested=!1)}return t},ne=(0,t.useRef)(!0),re=(0,t.useRef)(!0),oe=()=>{let t=(new Date).toISOString(),n=window.location.pathname.split("/"),r=1;for(let e of n)"survey"===e&&(r=2);try{j.setItem(DO+n[r],JSON.stringify({...te(),updatedAt:t}))}catch(ce){j.clear()}try{j.setItem(jO+n[r],JSON.stringify({...te(),updatedAt:t}))}catch(ce){j.clear()}e.setOriginalRecs({...te(),updatedAt:t}),e.setUserSelectedRecs({...te(),updatedAt:t}),e.setDecisionToolOpen(!1),e.oldPageIndex>=0&&e.setCurrentPageIndex(e.oldPageIndex)};(0,t.useEffect)((()=>{re.current?re.current=!1:oe()}),[e.closeClicked]),(0,t.useEffect)((()=>{ne.current?ne.current=!1:e.recId?I(!0):ie()}),[e.shareClicked,e.recId]),(0,t.useEffect)((()=>{W(window.location.origin+window.location.pathname+`?rec=${e.recId}`)}),[e.recId]);const ie=async()=>{try{let t=fB(),n=(new Date).toISOString();const r="/public/v1/bp/employee_elections";await Ha.post(r,{id:t,user_id:"abc123fingerprint",guide_id:"bde70e19-e1b8-497d-ba74-92a725b9fbde",plan_elections:[{...te(),updatedAt:n}],product_elections:[]},{headers:{BusinessID:"9a27af1d-b40f-4626-a693-e5fc869d8d5c","Content-Profile":"brite_public"}});W(window.location.origin+window.location.pathname+`?rec=${t}`),e.setRecId(t)}catch(t){e.setRecId(""),console.error(t)}},ae=(0,t.useMemo)((()=>[...(null===e||void 0===e?void 0:e.spendingAccounts)||[],...(null===A||void 0===A?void 0:A.PlanProductSuggestions)||[]]),[null===A||void 0===A||null===(n=A.Plan)||void 0===n?void 0:n.ID]),se=((null===e||void 0===e||null===(r=e.selectedBenefits)||void 0===r?void 0:r.length)||0)+1;return(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsxs)(uO.div,{className:bs`
          font-family: Roboto, Montserrat, sans-serif !important;
          text-align: left;
        `,initial:"pageInitial",animate:"pageAnimate",exit:"pageExit",variants:{pageInitial:{x:400,opacity:0},pageAnimate:{x:0,opacity:1},pageExit:{x:-400,opacity:0}},children:[null!==G&&void 0!==G&&G.value?(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsxs)(FI,{css:"\n                display: grid;\n                margin: 32px;\n                gap: 16px;\n              ",children:[(0,Cs.jsx)(Ts,{label:!0,bold:!0,children:"Your Benefit Suggestions"}),(0,Cs.jsxs)(Ts,{h2:!0,children:["There ",1===se?"is ":"are ",(0,Cs.jsx)("span",{className:bs`
                    border-radius: 8px;
                    background-color: var(--button-background-color);
                    color: var(--button-text-color);
                    padding: 4px 12px;
                  `,children:se})," ","important benefit",1===se?"":"s"," to consider"]}),(0,Cs.jsx)(Ts,{children:"Based on your responses, these are some benefits that could fit your personal situation. Review the list and optionally add/or remove benefits. Share the list and refer to it during your enrollment."}),(null===Y||void 0===Y?void 0:Y.value)&&(0,Cs.jsx)("div",{className:bs`
                    font-size: 12px;
                    margin: 16px;
                    margin-top: 8px;
                    color: ${ks.gray[500]};
                    @media only screen and (max-width: 595px) {
                      font-size: 10px;
                    }
                    font-style: italic;
                  `,children:"Costs shown may vary based on individual scenarios."})]}),(0,Cs.jsx)(PB,{selectedMedicalRec:A,setSelectedMedicalRec:P,recommendations:null===e||void 0===e?void 0:e.healthCareRecommendation,setShowComparisons:O})]}):e.healthCareRecommendation&&e.healthCareRecommendation.length>0&&(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsx)("div",{className:bs`
                  font-size: 34px;
                  font-weight: bold;
                  margin: 16px;
                  line-height: 44px;
                  color: #25282d;
                  @media only screen and (max-width: 595px) {
                    font-size: 24px;
                    line-height: 30px;
                  }
                `,children:"Your Recommendations"}),(0,Cs.jsx)("div",{className:bs`
                  font-size: 16px;
                  line-height: 160%;
                  margin: 16px;
                  margin-top: -8px;
                  letter-spacing: 0.15px;

                  color: #66737f;
                  @media only screen and (max-width: 595px) {
                    font-size: 12px;
                  }
                `,children:"Based on your responses, the benefits shown below best fit your personal situation. Review the list and optionally add or remove benefits. Share the list and refer to it during enrollment."}),(0,Cs.jsxs)("div",{className:bs`
                  margin-top: 40px;
                `,children:[!e.hideMedicalPlans&&(e.healthCareRecommendation||ee())&&(0,Cs.jsx)("div",{className:bs`
                      font-size: 24px;
                      font-weight: bold;
                      margin-left: 16px;
                      margin-top: 18px;
                      padding-bottom: 6px;

                      @media only screen and (max-width: 600px) {
                        text-align: center;
                        margin: 16px;
                        font-size: 18px;
                      }
                    `,children:"Medical Plan"}),!e.hideMedicalPlans&&(e.healthCareRecommendation&&e.healthCareRecommendation.length>0||ee())&&(0,Cs.jsxs)(Cs.Fragment,{children:[ee()&&(0,Cs.jsxs)(Cs.Fragment,{children:[K()&&(0,Cs.jsxs)("div",{className:bs`
                                margin-top: 16px;
                              `,children:[(0,Cs.jsx)(nB,{header:Z(e.allCoreProducts,"healthcaregov").Product.ProductName||"Individual Plan",benefit:Z(e.allCoreProducts,"healthcaregov"),designStyles:e.designStyles}),(0,Cs.jsx)(iB,{showCheckbox:!1,showMonthlyCosts:e.showMonthlyCosts,answers:e.answers,plan:A,isSelected:!0,setMedicalType:F,setSelectedMedicalRec:e=>{P(e),$(!0)},setRecPage:V,allMedicalPlans:e.healthCareRecommendation,showAllPlans:L,setShowAllPlans:M,designStyles:e.designStyles})]}),X()&&(0,Cs.jsxs)("div",{className:bs`
                                margin-top: 16px;
                              `,children:[(0,Cs.jsx)(nB,{header:Z(e.allCoreProducts,"medicare_recommendation").Product.ProductName||"Medicare",benefit:Z(e.allCoreProducts,"medicare_recommendation"),designStyles:e.designStyles}),(0,Cs.jsx)(iB,{showCheckbox:!1,showMonthlyCosts:e.showMonthlyCosts,answers:e.answers,plan:A,isSelected:!0,setSelectedMedicalRec:e=>{P(e),$(!0)},setMedicalType:F,setRecPage:V,allMedicalPlans:e.healthCareRecommendation,showAllPlans:L,setShowAllPlans:M,designStyles:e.designStyles})]}),Q()&&(0,Cs.jsxs)("div",{className:bs`
                                margin-top: 16px;
                              `,children:[(0,Cs.jsx)(nB,{header:Z(e.allCoreProducts,"reference_based_pricing").Product.ProductName||"Reference Based Pricing. A new type of Health Plan",benefit:Z(e.allCoreProducts,"reference_based_pricing"),designStyles:e.designStyles}),(0,Cs.jsx)(iB,{showCheckbox:!1,showMonthlyCosts:e.showMonthlyCosts,answers:e.answers,plan:A,isSelected:!0,setSelectedMedicalRec:e=>{P(e),$(!0)},setMedicalType:F,setRecPage:V,allMedicalPlans:e.healthCareRecommendation,showAllPlans:L,setShowAllPlans:M,designStyles:e.designStyles})]})]}),!ee()&&(0,Cs.jsx)(Cs.Fragment,{children:(0,Cs.jsx)(Cs.Fragment,{children:(0,Cs.jsxs)("div",{className:bs`
                                border-radius: 16px;
                                margin: 16px;
                                text-align: left;
                                background: #fff;
                                border: 4px solid
                                  ${null!==(o=e.designStyles)&&void 0!==o&&null!==(i=o.Theme)&&void 0!==i&&null!==(a=i.Body)&&void 0!==a&&a.ButtonColor?null===(s=e.designStyles)||void 0===s||null===(l=s.Theme)||void 0===l||null===(u=l.Body)||void 0===u?void 0:u.ButtonColor:"#25282D"};
                              `,children:[(0,Cs.jsx)(DR,{round:null===q||void 0===q?void 0:q.value,hideEstimatedCost:null===U||void 0===U?void 0:U.value,fedexVerbiageChangesFFValue:null===Y||void 0===Y?void 0:Y.value,showCheckbox:!1,showMonthlyCosts:e.showMonthlyCosts,answers:e.answers,plan:A,productLayouts:S,isSelected:!0,setSelectedMedicalRec:e=>{P(e),$(!0)},setRecPage:V,allMedicalPlans:e.healthCareRecommendation,showAllPlans:L,setMedicalType:F,setShowAllPlans:M,businessId:e.page.BusinessID,displaySettings:e.displaySettings,designStyles:e.designStyles}),A&&A.Plan&&A.Plan.includedPrograms&&!!QI(A.Plan.includedPrograms).length&&(0,Cs.jsxs)("div",{className:bs`
                                      padding-bottom: 12px;
                                      padding-top: 12px;
                                      border-top: 2px solid #f4f7fa;
                                    `,children:[(0,Cs.jsx)("div",{className:bs`
                                        font-weight: bold;
                                        font-size: 20px;
                                        text-align: left;
                                        color: #25282d;
                                        margin: 24px 32px;
                                        margin-top: 12px;
                                        @media only screen and (max-width: 600px) {
                                          margin: 24px 12px;
                                          margin-top: 12px;
                                          font-size: 16px;
                                        }
                                      `,children:"Included Programs"}),(0,Cs.jsx)("div",{className:bs`
                                        border-radius: 16px;
                                        border: 1px solid #d1dae3;
                                        margin: 24px 32px;

                                        background-color: white;
                                        margin-top: 0px;

                                        @media only screen and (max-width: 600px) {
                                          margin: 24px 12px;
                                        }
                                      `,children:QI(A.Plan.includedPrograms).map((e=>(0,Cs.jsx)(XI,{benefit:e})))})]})]})})}),e.healthCareRecommendation&&e.healthCareRecommendation.length>1&&(0,Cs.jsxs)("div",{className:bs`
                            display: flex;
                            justify-content: start;
                            padding-bottom: 20px;
                            padding-top: 8px;
                            margin-left: 16px;
                            @media only screen and (max-width: 600px) {
                              justify-content: center;
                            }
                          `,children:[(0,Cs.jsx)(Gu,{secondary:!0,onClick:()=>{M(!0)},"data-ph-capture-attribute-source":null===r_||void 0===r_||null===(c=r_.types)||void 0===c?void 0:c.RECOMMENDATIONS,"data-ph-capture-attribute-action":null===r_||void 0===r_||null===(d=r_.actions)||void 0===d?void 0:d.VIEW_MORE,children:"View Other Plans"}),(null===e||void 0===e||null===(p=e.page)||void 0===p||null===(f=p.Content)||void 0===f||null===(h=f.decisionTool)||void 0===h?void 0:h.displayComparisonModal)&&(0,Cs.jsx)(Gu,{onClick:()=>{O(!0)},"data-ph-capture-attribute-source":null===r_||void 0===r_||null===(m=r_.types)||void 0===m?void 0:m.RECOMMENDATIONS,"data-ph-capture-attribute-action":null===r_||void 0===r_||null===(g=r_.actions)||void 0===g?void 0:g.SHOW_COMPARISONS,style:{marginLeft:"8px",backgroundColor:`${null!==(v=e.designStyles)&&void 0!==v&&null!==(y=v.Theme)&&void 0!==y&&null!==(x=y.Body)&&void 0!==x&&x.ButtonColor?null===(b=e.designStyles)||void 0===b||null===(k=b.Theme)||void 0===k||null===(w=k.Body)||void 0===w?void 0:w.ButtonColor:"#25282D"}`},children:"Compare Plans"})]})]})]})]}),!e.hideMedicalPlans&&null!==ae&&void 0!==ae&&ae.length?!ee()&&(0,Cs.jsxs)("div",{className:UE,children:[(0,Cs.jsx)(gS,{className:"section-title",children:"Eligible Spending Accounts"}),ae.map(((t,n)=>"fsa_buyup"===t.Product.Type?(0,Cs.jsx)(CI,{benefit:t.Product,carrier:t.Provider,designStyles:e.designStyles},"fsa_buyup"+n):"dependant_care_fsa_buyup"===t.Product.Type?(0,Cs.jsx)(PI,{benefit:t.Product,carrier:t.Provider,designStyles:e.designStyles},"dependant_care_fsa_buyup"+n):"hsa_buyup"===t.Product.Type?(0,Cs.jsx)(JR,{benefit:t.Product,carrier:t.Provider,answers:e.answers,plan:A,designStyles:e.designStyles},"hsa_buyup"+n):"limited_fsa_buyup"===t.Product.Type?(0,Cs.jsx)(LI,{benefit:t.Product,carrier:t.Provider,designStyles:e.designStyles},"limited_fsa_buyup"+n):void 0))]}):null,(0,Cs.jsx)(YI,{title:"Valuable Core Benefits",productTypes:LB,productData:J(e.allCoreProducts),answers:e.answers,displaySettings:e.displaySettings,setSelected:e.setSelectedBenefits,selected:e.selectedBenefits,designStyles:e.designStyles}),(0,Cs.jsx)(YI,{title:"Supplemental Health Benefits ",productTypes:MB,productData:J(e.allAdditionalProducts),answers:e.answers,setSelected:e.setSelectedBenefits,selected:e.selectedBenefits,designStyles:e.designStyles}),(0,Cs.jsx)(tB,{customQuestionsAnswers:e.customQuestionsAnswers,customQuestions:e.customQuestions,allCustomProducts:e.allCustomProducts,recommendedCustomProducts:e.recommendedCustomProducts,setSelected:e.setSelectedBenefits,selected:e.selectedBenefits,designStyles:e.designStyles}),(0,Cs.jsxs)("div",{className:bs`
            margin: 24px;
            padding-top: 48px;
          `,children:[(0,Cs.jsx)("div",{className:bs`
              font-family: 'Roboto';
              font-style: normal;
              font-weight: 700;
              font-size: 24px;
              line-height: 32px;
              /* identical to box height, or 133% */

              color: #25282d;
              align-self: flex-start;

              @media only screen and (max-width: 600px) {
                text-align: center;
                margin: 0 16px;
                font-size: 18px;
                align-self: center;
              }
            `,children:"Use your recommendations to enroll now. Not ready yet?"}),(0,Cs.jsxs)("div",{className:bs`
              border: 2px solid #25282d;
              border-radius: 8px;
              display: flex;
              gap: 24px;
              padding: 24px;
              background: white;
              margin-top: 24px;
              margin-bottom: 24px;
              flex-wrap: wrap;
            `,children:[(0,Cs.jsx)("div",{children:(0,Cs.jsx)(EB,{size:40})}),(0,Cs.jsxs)("div",{children:[(0,Cs.jsx)("div",{className:bs`
                  font-family: 'Roboto';
                  font-style: normal;
                  font-weight: 700;
                  font-size: 18px;
                  line-height: 24px;

                  /* identical to box height, or 133% */

                  color: #25282d;
                `,children:"Continue exploring the details of your company benefits"}),(0,Cs.jsx)("div",{className:bs`
                  font-family: 'Roboto';
                  font-style: normal;
                  font-weight: 400;
                  font-size: 16px;
                  line-height: 24px;
                  /* or 150% */

                  color: #66737f;
                  margin-top: 8px;
                  margin-bottom: 16px;
                `,children:"Spend more time looking through our benefit guide."}),(0,Cs.jsx)(Gu,{style:{margin:"0 4px",border:"1px solid #D1DAE3"},onClick:()=>{oe()},color:"primary",variant:"outlined",size:"large","data-ph-capture-attribute-source":"back-to-guide",children:"Back to Guide"})]})]}),(0,Cs.jsxs)("div",{className:bs`
              border: 2px solid #25282d;
              border-radius: 8px;
              display: flex;
              gap: 24px;
              padding: 24px;
              background: white;
              margin-top: 24px;
              margin-bottom: 24px;
              flex-wrap: wrap;
            `,children:[(0,Cs.jsx)("div",{children:(0,Cs.jsx)(DB,{size:40})}),(0,Cs.jsxs)("div",{children:[(0,Cs.jsx)("div",{className:bs`
                  font-family: 'Roboto';
                  font-style: normal;
                  font-weight: 700;
                  font-size: 18px;
                  line-height: 24px;

                  /* identical to box height, or 133% */

                  color: #25282d;
                `,children:"Run a different scenario"}),(0,Cs.jsx)("div",{className:bs`
                  font-family: 'Roboto';
                  font-style: normal;
                  font-weight: 400;
                  font-size: 16px;
                  line-height: 24px;
                  /* or 150% */

                  color: #66737f;
                  margin-top: 8px;
                  margin-bottom: 16px;
                `,children:"Get a new recommendation with a different scenario."}),(0,Cs.jsxs)("div",{className:bs`
                  display: flex;
                `,children:[(0,Cs.jsx)(Gu,{secondary:!0,style:{margin:"0 4px",border:"1px solid #D1DAE3"},onClick:()=>{e.restart()},color:"primary",variant:"outlined",size:"large",children:"Restart"}),(0,Cs.jsx)(Gu,{style:{margin:"0 4px",border:"1px solid #D1DAE3"},onClick:()=>{e.editResponses?e.editResponses():e.setShowRecommendationResults(!1)},color:"primary",variant:"outlined",size:"large",children:"Edit Responses"})]})]})]})]}),(null===e||void 0===e||null===(E=e.page)||void 0===E||null===(_=E.Content)||void 0===_||null===(C=_.decisionTool)||void 0===C?void 0:C.displayComparisonModal)&&(0,Cs.jsx)(e_,{display:N,onClose:()=>O(!1),productType:"insurance_plan",allowList:e.healthCareRecommendation.map((e=>e.Plan.ID))})]},"rec-list_question"),R&&(0,Cs.jsx)(xB,{setShowShare:I,shareData:{title:"Benefit Package Recommendations",text:"Based on your responses, the benefits shown below best fit your personal situation. ",url:B},designStyles:e.designStyles})]})};const OB=n.p+"static/media/rec-load.4dd8d34049f083d74182476b870014a6.svg";class TB extends t.Component{constructor(e){super(e),this.startLoadingInterval=()=>{this.intervalId=setInterval((()=>this.updateLoadingPage()),2200)},this.updateLoadingPage=()=>{this.setState((e=>{let t=e.loadingPage+1;return 3===t&&clearInterval(this.intervalId),{loadingPage:t}}))},this.state={loadingPage:1,showMore:!1}}componentDidMount(){this.props.setHideButton(!0),this.startLoadingInterval(),wo.capture("Decision Tool View Results",{})}componentDidUpdate(e){this.props.healthCareRecommendationLoading!==e.healthCareRecommendationLoading&&!1===this.props.healthCareRecommendationLoading&&!0===e.healthCareRecommendationLoading&&(clearInterval(this.intervalId),this.setState({loadingPage:4}),this.props.setHideButton(!1))}componentWillUnmount(){this.props.setHideButton(!1),this.intervalId&&clearInterval(this.intervalId)}render(){return(0,Cs.jsx)(gO,{children:(0,Cs.jsxs)(uO.div,{initial:"pageInitial",animate:"pageAnimate",exit:"pageExit",variants:{pageInitial:{x:400,opacity:0},pageAnimate:{x:0,opacity:1},pageExit:{x:-400,opacity:0}},className:bs`
            text-align: center;
            margin-bottom: 50px;
          `,children:[(1===this.state.loadingPage||2===this.state.loadingPage||3===this.state.loadingPage)&&(0,Cs.jsx)(uO.div,{initial:"pageInitial",animate:"pageAnimate",exit:"pageExit",variants:{pageInitial:{opacity:0},pageAnimate:{opacity:1},pageExit:{x:-400,opacity:0}},className:bs`
                text-align: center;
                margin-bottom: 50px;
                padding-top: 10px;
              `,children:(0,Cs.jsxs)("div",{className:bs``,children:[(0,Cs.jsx)("img",{src:OB}),(0,Cs.jsx)("div",{className:bs`
                    font-family: 'Roboto';
                    font-style: normal;
                    font-weight: 700;
                    font-size: 22px;
                    line-height: 133.4%;

                    text-align: center;

                    color: #25282d;
                    margin-bottom: 12px;
                    margin-top: 38px;
                  `,children:"Preparing Your Recommendations"}),(0,Cs.jsx)("div",{className:bs`
                    font-family: 'Roboto';
                    font-style: normal;
                    font-weight: 400;
                    font-size: 16px;
                    line-height: 160%;
                    /* identical to box height, or 26px */

                    text-align: center;
                    letter-spacing: 0.15px;

                    color: #66737f;
                  `,children:"This should only take a sec"})]})},"loading-page-3"),4===this.state.loadingPage&&(0,Cs.jsx)(NB,{oldPageIndex:this.props.oldPageIndex,setCurrentPageIndex:this.props.setCurrentPageIndex,setOnRecommendationListPage:this.props.setOnRecommendationListPage,selectedBenefits:this.props.selectedBenefits,setSelectedBenefits:this.props.setSelectedBenefits,restart:this.props.restart,page:this.props.page,medicalHistory:this.props.medicalHistory,hideMedicalPlans:this.props.hideMedicalPlans,showMonthlyCosts:this.props.showMonthlyCosts,answers:this.props.answers,healthCareRecommendation:this.props.healthCareRecommendation,customQuestionsAnswers:this.props.customQuestionsAnswers,customQuestions:this.props.customQuestions,allCustomProducts:this.props.allCustomProducts,allCoreProducts:this.props.allCoreProducts,spendingAccounts:this.props.spendingAccounts,allAdditionalProducts:this.props.allAdditionalProducts,recommendedCustomProducts:this.props.recommendedCustomProducts,displaySettings:this.props.displaySettings,setRecommendedCustomProducts:this.props.setRecommendedCustomProducts,showRecommendationResults:this.props.showRecommendationResults,setShowRecommendationResults:this.props.setShowRecommendationResults,shareClicked:this.props.shareClicked,closeClicked:this.props.closeClicked,setRecId:this.props.setRecId,recId:this.props.recId,setOriginalRecs:this.props.setOriginalRecs,setUserSelectedRecs:this.props.setUserSelectedRecs,setDecisionToolOpen:this.props.setDecisionToolOpen,designStyles:this.props.designStyles})]},"recviewernotlist_question")})}}var FB=t.forwardRef((function(e,n){var r=e.children,i=e.classes,a=e.className,s=e.disableTypography,l=void 0!==s&&s,u=e.inset,c=void 0!==u&&u,d=e.primary,p=e.primaryTypographyProps,f=e.secondary,h=e.secondaryTypographyProps,m=(0,Is.A)(e,["children","classes","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"]),g=t.useContext(Sc).dense,v=null!=d?d:r;null==v||v.type===gS||l||(v=t.createElement(gS,(0,Fs.A)({variant:g?"body2":"body1",className:i.primary,component:"span",display:"block"},p),v));var y=f;return null==y||y.type===gS||l||(y=t.createElement(gS,(0,Fs.A)({variant:"body2",className:i.secondary,color:"textSecondary",display:"block"},h),y)),t.createElement("div",(0,Fs.A)({className:(0,o.A)(i.root,a,g&&i.dense,c&&i.inset,v&&y&&i.multiline),ref:n},m),v,y)}));const RB=(0,$s.A)({root:{flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},multiline:{marginTop:6,marginBottom:6},dense:{},inset:{paddingLeft:56},primary:{},secondary:{}},{name:"MuiListItemText"})(FB),IB=e=>{const[n,r]=t.useState([]);return t.useEffect((()=>{r([])}),[e.customQuestion.ID]),(0,Cs.jsxs)(uO.div,{initial:"pageInitial",animate:"pageAnimate",exit:"pageExit",variants:{pageInitial:{y:400,opacity:0},pageAnimate:{y:0,opacity:1},pageExit:{y:-400,opacity:0}},className:bs`
        background: #fff;
        box-shadow: 0px 2px 8px rgba(37, 40, 45, 0.25);
        border-radius: 8px;
        padding: 24px;
        margin-bottom: 32px;
        text-align: left;
      `,children:[(0,Cs.jsx)("h1",{className:bs`
          color: #25282d;
          font-size: 23px;
          line-height: 32px;
          margin-block-start: 0px;
          margin-block-end: 24px;
        `,children:e.customQuestion.Text}),(0,Cs.jsx)(zO,{MenuProps:{style:{zIndex:35001}},multiple:!0,className:bs`
          min-width: 250px;
          max-width: 300px;
        `,labelId:"custom-questions-label",id:"custom-questions-label-id",value:n,onChange:t=>{e.setAnswer(t.target.value),r(t.target.value)},label:"Select answer",renderValue:e=>e.map((e=>e.Text)).join(", "),children:e.customQuestion.Responses&&e.customQuestion.Responses.map((e=>e.Text&&(0,Cs.jsxs)(xE,{value:e,children:[(0,Cs.jsx)(UF,{checked:n.indexOf(e)>-1}),(0,Cs.jsx)(RB,{primary:e.Text})]},e.Text)))})]},`custom-questions-question${e.customQuestion.ID}`)};class BB extends t.Component{render(){return(0,Cs.jsxs)(uO.div,{initial:"pageInitial",animate:"pageAnimate",exit:"pageExit",variants:{pageInitial:{y:400,opacity:0},pageAnimate:{y:0,opacity:1},pageExit:{y:-400,opacity:0}},className:bs`
          background: #ffffff;

          box-shadow: 0px 2px 8px rgba(37, 40, 45, 0.25);
          border-radius: 8px;
          padding: 24px;
          margin-bottom: 32px;
          text-align: left;
        `,children:[(0,Cs.jsxs)("h1",{className:bs`
            color: #25282d;
            font-size: 23px;
            line-height: 32px;
            margin-block-start: 0px;
            margin-block-end: 24px;
          `,children:[" ","personal"===this.props.type?(this.props.isSurvey,"Do you visit your dentist regularly and/or anticipate the need for dental treatment?"):(this.props.isSurvey,"Do any of your dependents visit your dentist regularly and/or anticipate the need for dental treatment?")]}),this.props.shouldDisplayDependentQuestions&&(0,Cs.jsx)("div",{className:bs`
              font-family: 'Roboto';
              font-style: normal;
              font-weight: 700;
              font-size: 18px;
              line-height: 24px;
              /* identical to box height, or 133% */

              letter-spacing: 0.15px;

              color: #25282d;
              margin-top: 16px;
            `,children:"For you"}),(0,Cs.jsx)("div",{className:bs`
            margin-top: 25px;
          `,children:(0,Cs.jsx)(HO,{"aria-label":"dental",name:"dental",value:this.props.dental,options:[{value:!0,label:"Yes"},{value:!1,label:"No"}],onClick:e=>{this.props.setDental(e)}})}),this.props.shouldDisplayDependentQuestions&&(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsx)("div",{className:bs`
                font-family: 'Roboto';
                font-style: normal;
                font-weight: 700;
                font-size: 18px;
                line-height: 24px;
                /* identical to box height, or 133% */

                letter-spacing: 0.15px;

                color: #25282d;
                margin-top: 24px;
              `,children:"For your dependents"}),(0,Cs.jsx)("div",{className:bs`
                margin-top: 25px;
              `,children:(0,Cs.jsx)(HO,{"aria-label":"dental",name:"dental",value:this.props.dependantDental,options:[{value:!0,label:"Yes"},{value:!1,label:"No"}],onClick:e=>{this.props.setDependantDental(e)}})})]})]},`dental_question${this.props.type}`)}}class WB extends t.Component{render(){return(0,Cs.jsxs)(uO.div,{initial:"pageInitial",animate:"pageAnimate",exit:"pageExit",variants:{pageInitial:{y:400,opacity:0},pageAnimate:{y:0,opacity:1},pageExit:{y:-400,opacity:0}},className:bs`
          background: #ffffff;

          box-shadow: 0px 2px 8px rgba(37, 40, 45, 0.25);
          border-radius: 8px;
          padding: 24px;
          margin-bottom: 32px;
          text-align: left;
        `,children:[(0,Cs.jsxs)("h1",{className:bs`
            color: #25282d;
            font-size: 23px;
            line-height: 32px;
            margin-block-start: 0px;
            margin-block-end: 24px;
          `,children:[" ",(this.props.type,this.props.isSurvey,"If you were unable to work, how long could you go without a paycheck?")]}),(0,Cs.jsx)("div",{className:bs`
            margin-top: 25px;
          `,children:(0,Cs.jsx)(HO,{"aria-label":"DecisionToolSTDLTDQuestion",name:"DecisionToolSTDLTDQuestion",value:this.props.value,options:[{value:"0",label:"0-3 months"},{value:"3",label:"3-6 months"},{value:"6",label:"6+ months"}],onClick:e=>{this.props.setValue(e)}})})]},`DecisionToolSTDLTDQuestion_question${this.props.type}`)}}class zB extends t.Component{render(){return(0,Cs.jsxs)(uO.div,{initial:"pageInitial",animate:"pageAnimate",exit:"pageExit",variants:{pageInitial:{y:400,opacity:0},pageAnimate:{y:0,opacity:1},pageExit:{y:-400,opacity:0}},className:bs`
          background: #ffffff;

          box-shadow: 0px 2px 8px rgba(37, 40, 45, 0.25);
          border-radius: 8px;
          padding: 24px;
          margin-bottom: 32px;
          text-align: left;
        `,children:[(0,Cs.jsxs)("h1",{className:bs`
            color: #25282d;
            font-size: 23px;
            line-height: 32px;
            margin-block-start: 0px;
            margin-block-end: 24px;
          `,children:[" ","personal"===this.props.type?(this.props.isSurvey,"Do you wear contact lenses or prescription glasses?"):(this.props.isSurvey,"Do any of your dependents wear contact lenses or prescription glasses?")]}),this.props.shouldDisplayDependentQuestions&&(0,Cs.jsx)("div",{className:bs`
              font-family: 'Roboto';
              font-style: normal;
              font-weight: 700;
              font-size: 18px;
              line-height: 24px;
              /* identical to box height, or 133% */

              letter-spacing: 0.15px;

              color: #25282d;
              margin-top: 16px;
            `,children:"For you"}),(0,Cs.jsx)("div",{className:bs`
            margin-top: 25px;
          `,children:(0,Cs.jsx)(HO,{"aria-label":"vision",name:"vision",value:this.props.value,options:[{value:!0,label:"Yes"},{value:!1,label:"No"}],onClick:e=>{this.props.setValue(e)}})}),this.props.shouldDisplayDependentQuestions&&(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsx)("div",{className:bs`
                font-family: 'Roboto';
                font-style: normal;
                font-weight: 700;
                font-size: 18px;
                line-height: 24px;
                /* identical to box height, or 133% */

                letter-spacing: 0.15px;

                color: #25282d;
                margin-top: 24px;
              `,children:"For your dependents"}),(0,Cs.jsx)("div",{className:bs`
                margin-top: 25px;
              `,children:(0,Cs.jsx)(HO,{"aria-label":"vision",name:"vision",value:this.props.dependantVision,options:[{value:!0,label:"Yes"},{value:!1,label:"No"}],onClick:e=>{this.props.setDependantVision(e)}})})]})]},`DecisionToolVisionQuestion_${this.props.type}`)}}class $B extends t.Component{render(){return(0,Cs.jsxs)(uO.div,{initial:"pageInitial",animate:"pageAnimate",exit:"pageExit",variants:{pageInitial:{y:400,opacity:0},pageAnimate:{y:0,opacity:1},pageExit:{y:-400,opacity:0}},className:bs`
          background: #ffffff;

          box-shadow: 0px 2px 8px rgba(37, 40, 45, 0.25);
          border-radius: 8px;
          padding: 24px;
          margin-bottom: 32px;
          text-align: left;
        `,children:[(0,Cs.jsxs)("h1",{className:bs`
            color: #25282d;
            font-size: 23px;
            line-height: 32px;
            margin-block-start: 0px;
            margin-block-end: 24px;
          `,children:[" ",(this.props.type,this.props.isSurvey,"Do you have enough money to cover final expenses or support your surviving relatives should you pass away?")]}),(0,Cs.jsx)("div",{className:bs`
            margin-top: 25px;
          `,children:(0,Cs.jsx)(HO,{"aria-label":"supp life",name:"supp",value:this.props.value,options:[{value:!0,label:"Yes"},{value:!1,label:"No"}],onClick:e=>{this.props.setValue(e)}})})]},`DecisionToolSUPPQuestion_${this.props.type}`)}}const HB=(0,$s.A)((function(e){return{thumb:{"&$open":{"& $offset":{transform:"scale(1) translateY(-10px)"}}},open:{},offset:(0,Fs.A)({zIndex:1},e.typography.body2,{fontSize:e.typography.pxToRem(12),lineHeight:1.2,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),top:-34,transformOrigin:"bottom center",transform:"scale(0)",position:"absolute"}),circle:{display:"flex",alignItems:"center",justifyContent:"center",width:32,height:32,borderRadius:"50% 50% 50% 0",backgroundColor:"currentColor",transform:"rotate(-45deg)"},label:{color:e.palette.primary.contrastText,transform:"rotate(45deg)"}}}),{name:"PrivateValueLabel"})((function(e){var n=e.children,r=e.classes,i=e.className,a=e.open,s=e.value,l=e.valueLabelDisplay;return"off"===l?n:t.cloneElement(n,{className:(0,o.A)(n.props.className,(a||"on"===l)&&r.open,r.thumb)},t.createElement("span",{className:(0,o.A)(r.offset,i)},t.createElement("span",{className:r.circle},t.createElement("span",{className:r.label},s))))}));function VB(e,t){return e-t}function UB(e,t,n){return Math.min(Math.max(t,e),n)}function qB(e,t){var n=e.reduce((function(e,n,r){var o=Math.abs(t-n);return null===e||o<e.distance||o===e.distance?{distance:o,index:r}:e}),null);return n.index}function YB(e,t){if(void 0!==t.current&&e.changedTouches){for(var n=0;n<e.changedTouches.length;n+=1){var r=e.changedTouches[n];if(r.identifier===t.current)return{x:r.clientX,y:r.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function GB(e,t,n){return 100*(e-t)/(n-t)}function ZB(e,t,n){var r=Math.round((e-n)/t)*t+n;return Number(r.toFixed(function(e){if(Math.abs(e)<1){var t=e.toExponential().split("e-"),n=t[0].split(".")[1];return(n?n.length:0)+parseInt(t[1],10)}var r=e.toString().split(".")[1];return r?r.length:0}(t)))}function KB(e){var t=e.values,n=e.source,r=e.newValue,o=e.index;if(t[o]===r)return n;var i=t.slice();return i[o]=r,i}function QB(e){var t=e.sliderRef,n=e.activeIndex,r=e.setActive;t.current.contains(document.activeElement)&&Number(document.activeElement.getAttribute("data-index"))===n||t.current.querySelector('[role="slider"][data-index="'.concat(n,'"]')).focus(),r&&r(n)}var XB={horizontal:{offset:function(e){return{left:"".concat(e,"%")}},leap:function(e){return{width:"".concat(e,"%")}}},"horizontal-reverse":{offset:function(e){return{right:"".concat(e,"%")}},leap:function(e){return{width:"".concat(e,"%")}}},vertical:{offset:function(e){return{bottom:"".concat(e,"%")}},leap:function(e){return{height:"".concat(e,"%")}}}},JB=function(e){return e},eW=t.forwardRef((function(e,n){var r=e["aria-label"],i=e["aria-labelledby"],a=e["aria-valuetext"],s=e.classes,l=e.className,u=e.color,c=void 0===u?"primary":u,d=e.component,p=void 0===d?"span":d,f=e.defaultValue,h=e.disabled,m=void 0!==h&&h,g=e.getAriaLabel,v=e.getAriaValueText,y=e.marks,x=void 0!==y&&y,b=e.max,k=void 0===b?100:b,w=e.min,E=void 0===w?0:w,_=e.name,C=e.onChange,S=e.onChangeCommitted,D=e.onMouseDown,j=e.orientation,A=void 0===j?"horizontal":j,P=e.scale,L=void 0===P?JB:P,M=e.step,N=void 0===M?1:M,O=e.ThumbComponent,T=void 0===O?"span":O,F=e.track,R=void 0===F?"normal":F,I=e.value,B=e.ValueLabelComponent,W=void 0===B?HB:B,z=e.valueLabelDisplay,$=void 0===z?"off":z,H=e.valueLabelFormat,V=void 0===H?JB:H,U=(0,Is.A)(e,["aria-label","aria-labelledby","aria-valuetext","classes","className","color","component","defaultValue","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","onMouseDown","orientation","scale","step","ThumbComponent","track","value","ValueLabelComponent","valueLabelDisplay","valueLabelFormat"]),q=ol(),Y=t.useRef(),G=t.useState(-1),Z=G[0],K=G[1],Q=t.useState(-1),X=Q[0],J=Q[1],ee=(0,Au.A)({controlled:I,default:f,name:"Slider"}),te=(0,Rs.A)(ee,2),ne=te[0],re=te[1],oe=Array.isArray(ne),ie=oe?ne.slice().sort(VB):[ne];ie=ie.map((function(e){return UB(e,E,k)}));var ae=!0===x&&null!==N?(0,oc.A)(Array(Math.floor((k-E)/N)+1)).map((function(e,t){return{value:E+N*t}})):x||[],se=(0,ju.A)(),le=se.isFocusVisible,ue=se.onBlurVisible,ce=se.ref,de=t.useState(-1),pe=de[0],fe=de[1],he=t.useRef(),me=(0,sl.A)(ce,he),ge=(0,sl.A)(n,me),ve=(0,tc.A)((function(e){var t=Number(e.currentTarget.getAttribute("data-index"));le(e)&&fe(t),J(t)})),ye=(0,tc.A)((function(){-1!==pe&&(fe(-1),ue()),J(-1)})),xe=(0,tc.A)((function(e){var t=Number(e.currentTarget.getAttribute("data-index"));J(t)})),be=(0,tc.A)((function(){J(-1)})),ke="rtl"===q.direction,we=(0,tc.A)((function(e){var t,n=Number(e.currentTarget.getAttribute("data-index")),r=ie[n],o=(k-E)/10,i=ae.map((function(e){return e.value})),a=i.indexOf(r),s=ke?"ArrowLeft":"ArrowRight",l=ke?"ArrowRight":"ArrowLeft";switch(e.key){case"Home":t=E;break;case"End":t=k;break;case"PageUp":N&&(t=r+o);break;case"PageDown":N&&(t=r-o);break;case s:case"ArrowUp":t=N?r+N:i[a+1]||i[i.length-1];break;case l:case"ArrowDown":t=N?r-N:i[a-1]||i[0];break;default:return}if(e.preventDefault(),N&&(t=ZB(t,N,E)),t=UB(t,E,k),oe){var u=t;t=KB({values:ie,source:ne,newValue:t,index:n}).sort(VB),QB({sliderRef:he,activeIndex:t.indexOf(u)})}re(t),fe(n),C&&C(e,t),S&&S(e,t)})),Ee=t.useRef(),_e=A;ke&&"vertical"!==A&&(_e+="-reverse");var Ce=function(e){var t,n,r=e.finger,o=e.move,i=void 0!==o&&o,a=e.values,s=e.source,l=he.current.getBoundingClientRect(),u=l.width,c=l.height,d=l.bottom,p=l.left;if(t=0===_e.indexOf("vertical")?(d-r.y)/c:(r.x-p)/u,-1!==_e.indexOf("-reverse")&&(t=1-t),n=function(e,t,n){return(n-t)*e+t}(t,E,k),N)n=ZB(n,N,E);else{var f=ae.map((function(e){return e.value}));n=f[qB(f,n)]}n=UB(n,E,k);var h=0;if(oe){var m=n;h=(n=KB({values:a,source:s,newValue:n,index:h=i?Ee.current:qB(a,n)}).sort(VB)).indexOf(m),Ee.current=h}return{newValue:n,activeIndex:h}},Se=(0,tc.A)((function(e){var t=YB(e,Y);if(t){var n=Ce({finger:t,move:!0,values:ie,source:ne}),r=n.newValue,o=n.activeIndex;QB({sliderRef:he,activeIndex:o,setActive:K}),re(r),C&&C(e,r)}})),De=(0,tc.A)((function(e){var t=YB(e,Y);if(t){var n=Ce({finger:t,values:ie,source:ne}).newValue;K(-1),"touchend"===e.type&&J(-1),S&&S(e,n),Y.current=void 0;var r=(0,Xu.A)(he.current);r.removeEventListener("mousemove",Se),r.removeEventListener("mouseup",De),r.removeEventListener("touchmove",Se),r.removeEventListener("touchend",De)}})),je=(0,tc.A)((function(e){e.preventDefault();var t=e.changedTouches[0];null!=t&&(Y.current=t.identifier);var n=YB(e,Y),r=Ce({finger:n,values:ie,source:ne}),o=r.newValue,i=r.activeIndex;QB({sliderRef:he,activeIndex:i,setActive:K}),re(o),C&&C(e,o);var a=(0,Xu.A)(he.current);a.addEventListener("touchmove",Se),a.addEventListener("touchend",De)}));t.useEffect((function(){var e=he.current;e.addEventListener("touchstart",je);var t=(0,Xu.A)(e);return function(){e.removeEventListener("touchstart",je),t.removeEventListener("mousemove",Se),t.removeEventListener("mouseup",De),t.removeEventListener("touchmove",Se),t.removeEventListener("touchend",De)}}),[De,Se,je]);var Ae=(0,tc.A)((function(e){D&&D(e),e.preventDefault();var t=YB(e,Y),n=Ce({finger:t,values:ie,source:ne}),r=n.newValue,o=n.activeIndex;QB({sliderRef:he,activeIndex:o,setActive:K}),re(r),C&&C(e,r);var i=(0,Xu.A)(he.current);i.addEventListener("mousemove",Se),i.addEventListener("mouseup",De)})),Pe=GB(oe?ie[0]:E,E,k),Le=GB(ie[ie.length-1],E,k)-Pe,Me=(0,Fs.A)({},XB[_e].offset(Pe),XB[_e].leap(Le));return t.createElement(p,(0,Fs.A)({ref:ge,className:(0,o.A)(s.root,s["color".concat((0,Hs.A)(c))],l,m&&s.disabled,ae.length>0&&ae.some((function(e){return e.label}))&&s.marked,!1===R&&s.trackFalse,"vertical"===A&&s.vertical,"inverted"===R&&s.trackInverted),onMouseDown:Ae},U),t.createElement("span",{className:s.rail}),t.createElement("span",{className:s.track,style:Me}),t.createElement("input",{value:ie.join(","),name:_,type:"hidden"}),ae.map((function(e,n){var r,i=GB(e.value,E,k),a=XB[_e].offset(i);return r=!1===R?-1!==ie.indexOf(e.value):"normal"===R&&(oe?e.value>=ie[0]&&e.value<=ie[ie.length-1]:e.value<=ie[0])||"inverted"===R&&(oe?e.value<=ie[0]||e.value>=ie[ie.length-1]:e.value>=ie[0]),t.createElement(t.Fragment,{key:e.value},t.createElement("span",{style:a,"data-index":n,className:(0,o.A)(s.mark,r&&s.markActive)}),null!=e.label?t.createElement("span",{"aria-hidden":!0,"data-index":n,style:a,className:(0,o.A)(s.markLabel,r&&s.markLabelActive)},e.label):null)})),ie.map((function(e,n){var l=GB(e,E,k),u=XB[_e].offset(l);return t.createElement(W,{key:n,valueLabelFormat:V,valueLabelDisplay:$,className:s.valueLabel,value:"function"===typeof V?V(L(e),n):V,index:n,open:X===n||Z===n||"on"===$,disabled:m},t.createElement(T,{className:(0,o.A)(s.thumb,s["thumbColor".concat((0,Hs.A)(c))],Z===n&&s.active,m&&s.disabled,pe===n&&s.focusVisible),tabIndex:m?null:0,role:"slider",style:u,"data-index":n,"aria-label":g?g(n):r,"aria-labelledby":i,"aria-orientation":A,"aria-valuemax":L(k),"aria-valuemin":L(E),"aria-valuenow":L(e),"aria-valuetext":v?v(L(e),n):a,onKeyDown:we,onFocus:ve,onBlur:ye,onMouseOver:xe,onMouseLeave:be}))})))}));const tW=(0,$s.A)((function(e){return{root:{height:2,width:"100%",boxSizing:"content-box",padding:"13px 0",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",color:e.palette.primary.main,WebkitTapHighlightColor:"transparent","&$disabled":{pointerEvents:"none",cursor:"default",color:e.palette.grey[400]},"&$vertical":{width:2,height:"100%",padding:"0 13px"},"@media (pointer: coarse)":{padding:"20px 0","&$vertical":{padding:"0 20px"}},"@media print":{colorAdjust:"exact"}},colorPrimary:{},colorSecondary:{color:e.palette.secondary.main},marked:{marginBottom:20,"&$vertical":{marginBottom:"auto",marginRight:20}},vertical:{},disabled:{},rail:{display:"block",position:"absolute",width:"100%",height:2,borderRadius:1,backgroundColor:"currentColor",opacity:.38,"$vertical &":{height:"100%",width:2}},track:{display:"block",position:"absolute",height:2,borderRadius:1,backgroundColor:"currentColor","$vertical &":{width:2}},trackFalse:{"& $track":{display:"none"}},trackInverted:{"& $track":{backgroundColor:"light"===e.palette.type?(0,zs.a)(e.palette.primary.main,.62):(0,zs.e$)(e.palette.primary.main,.5)},"& $rail":{opacity:1}},thumb:{position:"absolute",width:12,height:12,marginLeft:-6,marginTop:-5,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow"],{duration:e.transitions.duration.shortest}),"&::after":{position:"absolute",content:'""',borderRadius:"50%",left:-15,top:-15,right:-15,bottom:-15},"&$focusVisible,&:hover":{boxShadow:"0px 0px 0px 8px ".concat((0,zs.X4)(e.palette.primary.main,.16)),"@media (hover: none)":{boxShadow:"none"}},"&$active":{boxShadow:"0px 0px 0px 14px ".concat((0,zs.X4)(e.palette.primary.main,.16))},"&$disabled":{width:8,height:8,marginLeft:-4,marginTop:-3,"&:hover":{boxShadow:"none"}},"$vertical &":{marginLeft:-5,marginBottom:-6},"$vertical &$disabled":{marginLeft:-3,marginBottom:-4}},thumbColorPrimary:{},thumbColorSecondary:{"&$focusVisible,&:hover":{boxShadow:"0px 0px 0px 8px ".concat((0,zs.X4)(e.palette.secondary.main,.16))},"&$active":{boxShadow:"0px 0px 0px 14px ".concat((0,zs.X4)(e.palette.secondary.main,.16))}},active:{},focusVisible:{},valueLabel:{left:"calc(-50% - 4px)"},mark:{position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor"},markActive:{backgroundColor:e.palette.background.paper,opacity:.8},markLabel:(0,Fs.A)({},e.typography.body2,{color:e.palette.text.secondary,position:"absolute",top:26,transform:"translateX(-50%)",whiteSpace:"nowrap","$vertical &":{top:"auto",left:26,transform:"translateY(50%)"},"@media (pointer: coarse)":{top:40,"$vertical &":{left:31}}}),markLabelActive:{color:e.palette.text.primary}}}),{name:"MuiSlider"})(eW),nW=BC((e=>({root:{width:300+2*e.spacing(3)},margin:{height:e.spacing(3)}}))),rW=(0,$s.A)({root:{color:"#25282D",height:8},thumb:{height:24,width:24,backgroundColor:"#25282D",border:"2px solid currentColor",marginTop:-8,marginLeft:-12,"&:focus, &:hover, &$active":{boxShadow:"inherit"}},active:{},valueLabel:{left:"calc(-50% + 4px)"},track:{height:8,borderRadius:4},rail:{backgroundColor:"#E8EDF3",height:8,borderRadius:4}})(tW),oW=e=>{nW();console.log("props scale",e);const n=()=>e.enrolling===e.customEmployeeLabel?e.question.AlternateScales&&e.question.AlternateScales.EmployeeOnly?e.question.AlternateScales.EmployeeOnly:e.question.DefaultScale:e.enrolling===e.customEmployeeSpouseLabel?e.question.AlternateScales&&e.question.AlternateScales.EmployeeSpouse?e.question.AlternateScales.EmployeeSpouse:e.question.DefaultScale:e.enrolling===e.customEmployeeChildrenLabel?e.question.AlternateScales&&e.question.AlternateScales.EmployeeChildren?e.question.AlternateScales.EmployeeChildren:e.question.DefaultScale:e.enrolling===e.customFamilyLabel&&e.question.AlternateScales&&e.question.AlternateScales.Family?e.question.AlternateScales.Family:e.question.DefaultScale;return t.useEffect((()=>{n().StartingValue&&e.setValue({Min:n().Low,Max:n().High,Value:n().StartingValue})}),[]),(0,Cs.jsxs)(uO.div,{initial:"pageInitial",animate:"pageAnimate",exit:"pageExit",variants:{pageInitial:{y:400,opacity:0},pageAnimate:{y:0,opacity:1},pageExit:{y:-400,opacity:0}},className:bs`
        background: #ffffff;

        box-shadow: 0px 2px 8px rgba(37, 40, 45, 0.25);
        border-radius: 8px;
        padding: 24px;
        margin-bottom: 32px;
        text-align: left;
      `,children:[(0,Cs.jsxs)("h1",{className:bs`
          color: #25282d;
          font-size: 23px;
          line-height: 32px;
          margin-block-start: 0px;
          margin-block-end: 24px;
        `,children:[" ",e.question.QuestionText]}),(0,Cs.jsxs)("div",{className:bs`
          margin-top: 48px;
        `,children:[(0,Cs.jsx)(rW,{valueLabelDisplay:e.question.ShowNumbers?"on":"off",marks:e.question.ShowTicks,"aria-label":"brite slider input",value:e.value?e.value.Value:n().StartingValue,min:n().Low,track:e.question.ShowTrack,max:n().High,valueLabelFormat:t=>{let r="";return e.question.ScaleUnits&&(r+=e.question.ScaleUnits),r+=t||(n().StartingValue||0),r},onChange:(t,r)=>{e.setValue({Min:n().Low,Max:n().High,Value:Number(r)})}}),(0,Cs.jsxs)("div",{className:bs`
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 52px;
            @media (max-width: 420px) {
              gap: 14px;
            }
            margin-top: 24px;
          `,children:[(0,Cs.jsx)("div",{className:bs`
              flex: 1;
              text-align: center;
              padding-left: 32px;
              @media (max-width: 420px) {
                padding-left: 0px;
              }
            `,children:e.question.LowInfoText}),(0,Cs.jsx)("div",{className:bs`
              flex: 1;
              text-align: center;
              padding-right: 32px;
              @media (max-width: 420px) {
                padding-right: 0px;
              }
            `,children:e.question.HighInfoText})]})]})]},e.question.QuestionText)};var iW=new Map;iW.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"172 104 113.3 160 84 132",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),iW.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"128",r:"96",opacity:"0.2"}),t.createElement("polyline",{points:"172 104 113.3 160 84 132",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),iW.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.2,104.2,0,0,0,128,24Zm49.5,85.8-58.6,56a8.1,8.1,0,0,1-5.6,2.2,7.7,7.7,0,0,1-5.5-2.2l-29.3-28a8,8,0,1,1,11-11.6l23.8,22.7,53.2-50.7a8,8,0,0,1,11,11.6Z"}))})),iW.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"172 104 113.3 160 84 132",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),iW.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"172 104 113.3 160 84 132",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),iW.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"172 104 113.3 160 84 132",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var aW=function(e,t){return Ua(e,t,iW)},sW=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:aW}))}));sW.displayName="CheckCircle";const lW=sW;var uW=new Map;uW.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"88",y1:"128",x2:"168",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),uW.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"128",r:"96",opacity:"0.2"}),t.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeMiterlimit:"10",strokeWidth:"16"}),t.createElement("line",{x1:"88",y1:"128",x2:"168",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),uW.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.2,104.2,0,0,0,128,24Zm40,112H88a8,8,0,0,1,0-16h80a8,8,0,0,1,0,16Z"}))})),uW.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"88",y1:"128",x2:"168",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),uW.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"88",y1:"128",x2:"168",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),uW.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeMiterlimit:"10",strokeWidth:"16"}),t.createElement("line",{x1:"88",y1:"128",x2:"168",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var cW=function(e,t){return Ua(e,t,uW)},dW=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:cW}))}));dW.displayName="MinusCircle";const pW=dW;const fW=e=>{var t;const n=t=>{var n;return null===(n=e.acaEnrollingMembers)||void 0===n?void 0:n.find((e=>(null===e||void 0===e?void 0:e.Type)===t))},r=null===(t=e.acaEnrollingMembers)||void 0===t?void 0:t.filter((e=>"Child"===(null===e||void 0===e?void 0:e.Type))),o={addMember:t=>{let n=[...e.acaEnrollingMembers],r=0,o=!1;for(let e of n)"Child"===e.Type?r++:"Spouse"===e.Type&&(o=!0);"Child"===t&&r<3||"Spouse"===t&&!o?(n.push({Age:0,IsTobaccoUser:!1,Type:t,tempId:(new Date).getTime()}),e.setAcaEnrollingMembers(n)):"Spouse"===t?O.info("Can only add one spouse",{position:O.POSITION.TOP_RIGHT}):O.info("Only add your oldest 3 children under the age of 26",{position:O.POSITION.TOP_RIGHT})},removeMember:t=>{let n=[...e.acaEnrollingMembers].filter((function(e){return e.tempId!==t.tempId}));e.setAcaEnrollingMembers(n)},updateMember:(t,n,r)=>{let o=[...e.acaEnrollingMembers];for(let e of o)e.tempId===t.tempId&&(e[n]=r);e.setAcaEnrollingMembers(o)}};return(0,Cs.jsxs)(uO.div,{initial:"pageInitial",animate:"pageAnimate",exit:"pageExit",variants:{pageInitial:{y:400,opacity:0},pageAnimate:{y:0,opacity:1},pageExit:{y:-400,opacity:0}},className:bs`
        background: #ffffff;

        box-shadow: 0px 2px 8px rgba(37, 40, 45, 0.25);
        border-radius: 8px;
        padding: 24px;
        margin-bottom: 32px;
        text-align: left;
      `,children:[(0,Cs.jsx)("h1",{className:bs`
          color: #25282d;
          font-size: 23px;
          line-height: 32px;
          margin-block-start: 0px;
          margin-block-end: 24px;
        `,children:"Who are you enrolling?"}),(0,Cs.jsx)(gW,{type:"Self",data:n("Self"),methods:o}),(0,Cs.jsx)(gW,{type:"Spouse",data:n("Spouse"),methods:o}),null===r||void 0===r?void 0:r.map((e=>(0,Cs.jsx)(gW,{type:"Child",data:e,methods:o}))),(0,Cs.jsx)(gW,{type:"Child",data:null,methods:o})]},"zipcode_aca_question")},hW={Self:YO,Spouse:QO,Child:tT},mW={Self:"employee",Spouse:"spouse",Child:"child"},gW=e=>{let{data:n,type:r,methods:o}=e;const[i,a]=(0,t.useState)(!1),s=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const r=(0,t.useRef)(null),o=t=>{try{var o;if(n&&console.log(n),null!==r&&void 0!==r&&null!==(o=r.current)&&void 0!==o&&o.contains(t.target))return;e(t)}catch(i){console.warn(i)}};return(0,t.useEffect)((()=>(document.addEventListener("mousedown",o),document.addEventListener("touchstart",o),()=>{document.removeEventListener("mousedown",o),document.removeEventListener("touchstart",o)}))),r}((()=>a(!1))),{data:{displaySettings:l}}=Ww(),u=(0,t.useMemo)((()=>{var e;const t=null===s||void 0===s||null===(e=s.current)||void 0===e?void 0:e.getBoundingClientRect();return(null===t||void 0===t?void 0:t.top)>window.innerHeight/2})),c=hW[r];return(0,Cs.jsxs)("div",{className:bs`
        border: 2px solid ${ks.gray[300]};
        border-radius: 16px;
        padding: 24px;
        margin-bottom: 24px;
        ${n||"Self"===r?"":zu.hover}
        ${"Self"!==r?"cursor: pointer;":""}
        .hover-icon {
          margin-right: 16px;
          color: ${ks.gray[400]};
        }
        :hover {
          .hover-icon {
            color: ${ks.evPurple};
          }
        }
      `,onClick:()=>"Self"!==r?n?null===o||void 0===o?void 0:o.removeMember(n):null===o||void 0===o?void 0:o.addMember(r):null,children:[(0,Cs.jsxs)("div",{className:bs`
          ${Tu("space-between")}
        `,children:[(0,Cs.jsxs)("div",{className:bs`
            ${Tu("left")}
            svg {
              margin-right: 16px;
            }
          `,children:[(0,Cs.jsx)(c,{}),(0,Cs.jsxs)(Ts,{h4:!0,children:[n||"Self"===r?"":"Add ",l[mW[r]]]})]}),n?"Self"===(null===n||void 0===n?void 0:n.Type)?(0,Cs.jsx)(lW,{weight:"fill",color:ks.evPurple}):(0,Cs.jsx)(pW,{weight:"fill",className:"hover-icon"}):(0,Cs.jsx)(EI,{weight:"fill",className:"hover-icon"})]}),(0,Cs.jsx)(ch,{in:!!n,children:(0,Cs.jsxs)("div",{children:[(0,Cs.jsx)(Ts,{css:"\n              margin: 8px 0;\n            ",children:"Age"}),(0,Cs.jsxs)("div",{className:bs`
              position: relative;
              width: 100px;
            `,ref:s,onClick:e=>e.stopPropagation(),children:[(0,Cs.jsxs)("div",{className:bs`
                ${Tu("space-between")}
                ${zu.hover}
                background-color: white;
                border-radius: 8px;
                border: 1px solid ${ks.gray[300]};
                padding: 8px 16px;
                flex-grow: 1;
                svg {
                  width: 24px;
                  height: 24px;
                }
              `,onClick:()=>a(!i),children:[(0,Cs.jsx)(Ts,{label:!0,children:null===n||void 0===n?void 0:n.Age}),i?(0,Cs.jsx)(AI,{}):(0,Cs.jsx)(d_,{})]}),i?(0,Cs.jsx)("div",{className:bs`
                  z-index: 1000;
                  position: absolute;
                  ${u?"bottom: 100%;":"top: 100%;"}
                  left: 0;
                  right: 0;
                  ${zu.box}
                  padding: 8px;
                  padding-right: 12px;
                  overflow: auto;
                  max-height: 30vh;
                  ${Ru.style}
                `,onClick:()=>a(!1),children:Array.from(Array("Child"===(null===n||void 0===n?void 0:n.Type)?27:100).keys()).map((e=>(0,Cs.jsx)(xE,{value:e,onClick:()=>o.updateMember(n,"Age",e),className:bs`
                        border-radius: 8px !important;
                      `,children:e},e)))}):null]})]})})]})};class vW extends t.Component{render(){return(0,Cs.jsxs)(uO.div,{initial:"pageInitial",animate:"pageAnimate",exit:"pageExit",variants:{pageInitial:{y:400,opacity:0},pageAnimate:{y:0,opacity:1},pageExit:{y:-400,opacity:0}},className:bs`
          box-shadow: 0px 2px 8px rgba(37, 40, 45, 0.25);
          border-radius: 8px;
          background: #ffffff;
          padding: 24px;
          margin-bottom: 32px;
          text-align: left;
        `,children:[(0,Cs.jsx)("h1",{className:bs`
            color: #25282d;
            font-size: 23px;
            line-height: 32px;
            margin-block-start: 0px;
            margin-block-end: 24px;
          `,children:"Do you have a family history of any of the following?"}),(0,Cs.jsx)(zO,{MenuProps:{style:{zIndex:35001}},multiple:!0,className:bs`
            max-width: 300px;
          `,labelId:"medical-history-label",id:"medical-history-label-id",value:this.props.medicalHistory,onChange:e=>this.props.setMedicalHistory(e),label:"Select all that apply",renderValue:e=>e.join(", "),children:["Diabetes","Cancer","High Blood Pressure","High Cholesterol","Cardiovascular Disease","Heart Disease","Stroke","Mental Illness","Asthma","Lung Disease","Alcohol/Drug Abuse"].map((e=>(0,Cs.jsxs)(xE,{value:e,children:[(0,Cs.jsx)(UF,{checked:this.props.medicalHistory.indexOf(e)>-1}),(0,Cs.jsx)(RB,{primary:e})]},e)))}),(0,Cs.jsx)("div",{className:bs`
            font-family: 'Roboto';
            font-style: normal;
            font-weight: 400;
            font-size: 12px;
            line-height: 24px;
            /* identical to box height, or 200% */

            letter-spacing: 0.15px;

            color: #9aa7b5;
            margin-top: 16px;
          `,children:this.props.questionDisclaimerText})]},"medical-history-question")}}var yW=new Map;yW.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"37.5",y1:"96",x2:"218.5",y2:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"37.5",y1:"160",x2:"218.5",y2:"160",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("ellipse",{cx:"128",cy:"128",rx:"40",ry:"93.4",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),yW.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"128",r:"96",opacity:"0.2"}),t.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeMiterlimit:"10",strokeWidth:"16"}),t.createElement("line",{x1:"37.5",y1:"96",x2:"218.5",y2:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"37.5",y1:"160",x2:"218.5",y2:"160",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("ellipse",{cx:"128",cy:"128",rx:"40",ry:"93.4",fill:"none",stroke:e,strokeMiterlimit:"10",strokeWidth:"16"}))})),yW.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M225.9,163.2l.3-1a103.7,103.7,0,0,0,0-68.4l-.3-1A104.2,104.2,0,0,0,128,24h0A104.2,104.2,0,0,0,30.1,92.8l-.3,1a103.7,103.7,0,0,0,0,68.4l.3,1A104.4,104.4,0,0,0,128,232h0A104.2,104.2,0,0,0,225.9,163.2ZM128,45.6A108.6,108.6,0,0,1,153.5,88h-51A108.6,108.6,0,0,1,128,45.6ZM102.5,168h51A108.6,108.6,0,0,1,128,210.4,108.6,108.6,0,0,1,102.5,168Zm-4.2-16a126.4,126.4,0,0,1,0-48h59.4a126.4,126.4,0,0,1,0,48ZM174,104h38.7a88.9,88.9,0,0,1,0,48H174a145,145,0,0,0,0-48Zm32.4-16h-36a128.7,128.7,0,0,0-24.1-46.1A88.6,88.6,0,0,1,206.4,88ZM146.3,214.1A128.7,128.7,0,0,0,170.4,168h36A88.6,88.6,0,0,1,146.3,214.1Z"}))})),yW.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"37.5",y1:"96",x2:"218.5",y2:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"37.5",y1:"160",x2:"218.5",y2:"160",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("ellipse",{cx:"128",cy:"128",rx:"40",ry:"93.4",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),yW.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"37.5",y1:"96",x2:"218.5",y2:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"37.5",y1:"160",x2:"218.5",y2:"160",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("ellipse",{cx:"128",cy:"128",rx:"40",ry:"93.4",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),yW.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"128",cy:"128",r:"96",fill:"none",stroke:e,strokeMiterlimit:"10",strokeWidth:"16"}),t.createElement("line",{x1:"37.5",y1:"96",x2:"218.5",y2:"96",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"37.5",y1:"160",x2:"218.5",y2:"160",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("ellipse",{cx:"128",cy:"128",rx:"40",ry:"93.4",fill:"none",stroke:e,strokeMiterlimit:"10",strokeWidth:"16"}))}));var xW=function(e,t){return Ua(e,t,yW)},bW=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:xW}))}));bW.displayName="Globe";const kW=bW;var wW=new Map;wW.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"216 100 216 40 156 40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"144",y1:"112",x2:"216",y2:"40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M184,144v64a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8h64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),wW.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("rect",{x:"40",y:"72",width:"144",height:"144",rx:"8",opacity:"0.2"}),t.createElement("polyline",{points:"216 100 216 40 156 40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"144",y1:"112",x2:"216",y2:"40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M184,144v64a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8h64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),wW.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M224,100a8,8,0,0,1-4.9,7.4,8.5,8.5,0,0,1-3.1.6,8.3,8.3,0,0,1-5.7-2.3L186,81.3l-36.4,36.4A8,8,0,0,1,144,120a8.3,8.3,0,0,1-5.7-2.3,8,8,0,0,1,0-11.3L174.7,70,150.3,45.7a8.4,8.4,0,0,1-1.7-8.8A8,8,0,0,1,156,32h60a8,8,0,0,1,8,8Zm-40,36a8,8,0,0,0-8,8v64H48V80h64a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V144A8,8,0,0,0,184,136Z"}))})),wW.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"216 100 216 40 156 40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"144",y1:"112",x2:"216",y2:"40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M184,144v64a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8h64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),wW.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"216 100 216 40 156 40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"144",y1:"112",x2:"216",y2:"40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M184,144v64a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8h64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),wW.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("polyline",{points:"216 100 216 40 156 40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"144",y1:"112",x2:"216",y2:"40",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M184,144v64a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8h64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var EW=function(e,t){return Ua(e,t,wW)},_W=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:EW}))}));_W.displayName="ArrowSquareOut";const CW=_W;function SW(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function DW(e){return e instanceof SW(e).Element||e instanceof Element}function jW(e){return e instanceof SW(e).HTMLElement||e instanceof HTMLElement}function AW(e){return"undefined"!==typeof ShadowRoot&&(e instanceof SW(e).ShadowRoot||e instanceof ShadowRoot)}var PW=Math.max,LW=Math.min,MW=Math.round;function NW(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function OW(){return!/^((?!chrome|android).)*safari/i.test(NW())}function TW(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&jW(e)&&(o=e.offsetWidth>0&&MW(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&MW(r.height)/e.offsetHeight||1);var a=(DW(e)?SW(e):window).visualViewport,s=!OW()&&n,l=(r.left+(s&&a?a.offsetLeft:0))/o,u=(r.top+(s&&a?a.offsetTop:0))/i,c=r.width/o,d=r.height/i;return{width:c,height:d,top:u,right:l+c,bottom:u+d,left:l,x:l,y:u}}function FW(e){var t=SW(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function RW(e){return e?(e.nodeName||"").toLowerCase():null}function IW(e){return((DW(e)?e.ownerDocument:e.document)||window.document).documentElement}function BW(e){return TW(IW(e)).left+FW(e).scrollLeft}function WW(e){return SW(e).getComputedStyle(e)}function zW(e){var t=WW(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function $W(e,t,n){void 0===n&&(n=!1);var r=jW(t),o=jW(t)&&function(e){var t=e.getBoundingClientRect(),n=MW(t.width)/e.offsetWidth||1,r=MW(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),i=IW(t),a=TW(e,o,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&(("body"!==RW(t)||zW(i))&&(s=function(e){return e!==SW(e)&&jW(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:FW(e);var t}(t)),jW(t)?((l=TW(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=BW(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function HW(e){var t=TW(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function VW(e){return"html"===RW(e)?e:e.assignedSlot||e.parentNode||(AW(e)?e.host:null)||IW(e)}function UW(e){return["html","body","#document"].indexOf(RW(e))>=0?e.ownerDocument.body:jW(e)&&zW(e)?e:UW(VW(e))}function qW(e,t){var n;void 0===t&&(t=[]);var r=UW(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=SW(r),a=o?[i].concat(i.visualViewport||[],zW(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(qW(VW(a)))}function YW(e){return["table","td","th"].indexOf(RW(e))>=0}function GW(e){return jW(e)&&"fixed"!==WW(e).position?e.offsetParent:null}function ZW(e){for(var t=SW(e),n=GW(e);n&&YW(n)&&"static"===WW(n).position;)n=GW(n);return n&&("html"===RW(n)||"body"===RW(n)&&"static"===WW(n).position)?t:n||function(e){var t=/firefox/i.test(NW());if(/Trident/i.test(NW())&&jW(e)&&"fixed"===WW(e).position)return null;var n=VW(e);for(AW(n)&&(n=n.host);jW(n)&&["html","body"].indexOf(RW(n))<0;){var r=WW(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var KW="top",QW="bottom",XW="right",JW="left",ez="auto",tz=[KW,QW,XW,JW],nz="start",rz="end",oz="clippingParents",iz="viewport",az="popper",sz="reference",lz=tz.reduce((function(e,t){return e.concat([t+"-"+nz,t+"-"+rz])}),[]),uz=[].concat(tz,[ez]).reduce((function(e,t){return e.concat([t,t+"-"+nz,t+"-"+rz])}),[]),cz=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function dz(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function pz(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var fz={placement:"bottom",modifiers:[],strategy:"absolute"};function hz(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"===typeof e.getBoundingClientRect)}))}function mz(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?fz:o;return function(e,t,n){void 0===n&&(n=i);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},fz,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],s=!1,l={state:o,setOptions:function(n){var s="function"===typeof n?n(o.options):n;u(),o.options=Object.assign({},i,o.options,s),o.scrollParents={reference:DW(e)?qW(e):e.contextElement?qW(e.contextElement):[],popper:qW(t)};var c=function(e){var t=dz(e);return cz.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,o.options.modifiers)));return o.orderedModifiers=c.filter((function(e){return e.enabled})),o.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"===typeof i){var s=i({state:o,name:t,instance:l,options:r}),u=function(){};a.push(s||u)}})),l.update()},forceUpdate:function(){if(!s){var e=o.elements,t=e.reference,n=e.popper;if(hz(t,n)){o.rects={reference:$W(t,ZW(n),"fixed"===o.options.strategy),popper:HW(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<o.orderedModifiers.length;r++)if(!0!==o.reset){var i=o.orderedModifiers[r],a=i.fn,u=i.options,c=void 0===u?{}:u,d=i.name;"function"===typeof a&&(o=a({state:o,options:c,name:d,instance:l})||o)}else o.reset=!1,r=-1}}},update:pz((function(){return new Promise((function(e){l.forceUpdate(),e(o)}))})),destroy:function(){u(),s=!0}};if(!hz(e,t))return l;function u(){a.forEach((function(e){return e()})),a=[]}return l.setOptions(n).then((function(e){!s&&n.onFirstUpdate&&n.onFirstUpdate(e)})),l}}var gz={passive:!0};const vz={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,l=SW(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,gz)})),s&&l.addEventListener("resize",n.update,gz),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,gz)})),s&&l.removeEventListener("resize",n.update,gz)}},data:{}};function yz(e){return e.split("-")[0]}function xz(e){return e.split("-")[1]}function bz(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function kz(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?yz(o):null,a=o?xz(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case KW:t={x:s,y:n.y-r.height};break;case QW:t={x:s,y:n.y+n.height};break;case XW:t={x:n.x+n.width,y:l};break;case JW:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var u=i?bz(i):null;if(null!=u){var c="y"===u?"height":"width";switch(a){case nz:t[u]=t[u]-(n[c]/2-r[c]/2);break;case rz:t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}const wz={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=kz({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var Ez={top:"auto",right:"auto",bottom:"auto",left:"auto"};function _z(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,p=a.x,f=void 0===p?0:p,h=a.y,m=void 0===h?0:h,g="function"===typeof c?c({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var v=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),x=JW,b=KW,k=window;if(u){var w=ZW(n),E="clientHeight",_="clientWidth";if(w===SW(n)&&"static"!==WW(w=IW(n)).position&&"absolute"===s&&(E="scrollHeight",_="scrollWidth"),o===KW||(o===JW||o===XW)&&i===rz)b=QW,m-=(d&&w===k&&k.visualViewport?k.visualViewport.height:w[E])-r.height,m*=l?1:-1;if(o===JW||(o===KW||o===QW)&&i===rz)x=XW,f-=(d&&w===k&&k.visualViewport?k.visualViewport.width:w[_])-r.width,f*=l?1:-1}var C,S=Object.assign({position:s},u&&Ez),D=!0===c?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:MW(n*o)/o||0,y:MW(r*o)/o||0}}({x:f,y:m},SW(n)):{x:f,y:m};return f=D.x,m=D.y,l?Object.assign({},S,((C={})[b]=y?"0":"",C[x]=v?"0":"",C.transform=(k.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",C)):Object.assign({},S,((t={})[b]=y?m+"px":"",t[x]=v?f+"px":"",t.transform="",t))}const Cz={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];jW(o)&&RW(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});jW(r)&&RW(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};const Sz={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=uz.reduce((function(e,n){return e[n]=function(e,t,n){var r=yz(e),o=[JW,KW].indexOf(r)>=0?-1:1,i="function"===typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[JW,XW].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],l=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}};var Dz={left:"right",right:"left",bottom:"top",top:"bottom"};function jz(e){return e.replace(/left|right|bottom|top/g,(function(e){return Dz[e]}))}var Az={start:"end",end:"start"};function Pz(e){return e.replace(/start|end/g,(function(e){return Az[e]}))}function Lz(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&AW(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Mz(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Nz(e,t,n){return t===iz?Mz(function(e,t){var n=SW(e),r=IW(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var u=OW();(u||!u&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+BW(e),y:l}}(e,n)):DW(t)?function(e,t){var n=TW(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Mz(function(e){var t,n=IW(e),r=FW(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=PW(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=PW(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+BW(e),l=-r.scrollTop;return"rtl"===WW(o||n).direction&&(s+=PW(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(IW(e)))}function Oz(e,t,n,r){var o="clippingParents"===t?function(e){var t=qW(VW(e)),n=["absolute","fixed"].indexOf(WW(e).position)>=0&&jW(e)?ZW(e):e;return DW(n)?t.filter((function(e){return DW(e)&&Lz(e,n)&&"body"!==RW(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce((function(t,n){var o=Nz(e,n,r);return t.top=PW(o.top,t.top),t.right=LW(o.right,t.right),t.bottom=LW(o.bottom,t.bottom),t.left=PW(o.left,t.left),t}),Nz(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Tz(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Fz(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Rz(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,s=n.boundary,l=void 0===s?oz:s,u=n.rootBoundary,c=void 0===u?iz:u,d=n.elementContext,p=void 0===d?az:d,f=n.altBoundary,h=void 0!==f&&f,m=n.padding,g=void 0===m?0:m,v=Tz("number"!==typeof g?g:Fz(g,tz)),y=p===az?sz:az,x=e.rects.popper,b=e.elements[h?y:p],k=Oz(DW(b)?b:b.contextElement||IW(e.elements.popper),l,c,a),w=TW(e.elements.reference),E=kz({reference:w,element:x,strategy:"absolute",placement:o}),_=Mz(Object.assign({},x,E)),C=p===az?_:w,S={top:k.top-C.top+v.top,bottom:C.bottom-k.bottom+v.bottom,left:k.left-C.left+v.left,right:C.right-k.right+v.right},D=e.modifiersData.offset;if(p===az&&D){var j=D[o];Object.keys(S).forEach((function(e){var t=[XW,QW].indexOf(e)>=0?1:-1,n=[KW,QW].indexOf(e)>=0?"y":"x";S[e]+=j[n]*t}))}return S}const Iz={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,g=t.options.placement,v=yz(g),y=l||(v===g||!h?[jz(g)]:function(e){if(yz(e)===ez)return[];var t=jz(e);return[Pz(e),t,Pz(t)]}(g)),x=[g].concat(y).reduce((function(e,n){return e.concat(yz(n)===ez?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?uz:l,c=xz(r),d=c?s?lz:lz.filter((function(e){return xz(e)===c})):tz,p=d.filter((function(e){return u.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=Rz(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[yz(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),b=t.rects.reference,k=t.rects.popper,w=new Map,E=!0,_=x[0],C=0;C<x.length;C++){var S=x[C],D=yz(S),j=xz(S)===nz,A=[KW,QW].indexOf(D)>=0,P=A?"width":"height",L=Rz(t,{placement:S,boundary:c,rootBoundary:d,altBoundary:p,padding:u}),M=A?j?XW:JW:j?QW:KW;b[P]>k[P]&&(M=jz(M));var N=jz(M),O=[];if(i&&O.push(L[D]<=0),s&&O.push(L[M]<=0,L[N]<=0),O.every((function(e){return e}))){_=S,E=!1;break}w.set(S,O)}if(E)for(var T=function(e){var t=x.find((function(t){var n=w.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return _=t,"break"},F=h?3:1;F>0;F--){if("break"===T(F))break}t.placement!==_&&(t.modifiersData[r]._skip=!0,t.placement=_,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Bz(e,t,n){return PW(e,LW(t,n))}const Wz={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,h=n.tetherOffset,m=void 0===h?0:h,g=Rz(t,{boundary:l,rootBoundary:u,padding:d,altBoundary:c}),v=yz(t.placement),y=xz(t.placement),x=!y,b=bz(v),k="x"===b?"y":"x",w=t.modifiersData.popperOffsets,E=t.rects.reference,_=t.rects.popper,C="function"===typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,S="number"===typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),D=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,j={x:0,y:0};if(w){if(i){var A,P="y"===b?KW:JW,L="y"===b?QW:XW,M="y"===b?"height":"width",N=w[b],O=N+g[P],T=N-g[L],F=f?-_[M]/2:0,R=y===nz?E[M]:_[M],I=y===nz?-_[M]:-E[M],B=t.elements.arrow,W=f&&B?HW(B):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},$=z[P],H=z[L],V=Bz(0,E[M],W[M]),U=x?E[M]/2-F-V-$-S.mainAxis:R-V-$-S.mainAxis,q=x?-E[M]/2+F+V+H+S.mainAxis:I+V+H+S.mainAxis,Y=t.elements.arrow&&ZW(t.elements.arrow),G=Y?"y"===b?Y.clientTop||0:Y.clientLeft||0:0,Z=null!=(A=null==D?void 0:D[b])?A:0,K=N+q-Z,Q=Bz(f?LW(O,N+U-Z-G):O,N,f?PW(T,K):T);w[b]=Q,j[b]=Q-N}if(s){var X,J="x"===b?KW:JW,ee="x"===b?QW:XW,te=w[k],ne="y"===k?"height":"width",re=te+g[J],oe=te-g[ee],ie=-1!==[KW,JW].indexOf(v),ae=null!=(X=null==D?void 0:D[k])?X:0,se=ie?re:te-E[ne]-_[ne]-ae+S.altAxis,le=ie?te+E[ne]+_[ne]-ae-S.altAxis:oe,ue=f&&ie?function(e,t,n){var r=Bz(e,t,n);return r>n?n:r}(se,te,le):Bz(f?se:re,te,f?le:oe);w[k]=ue,j[k]=ue-te}t.modifiersData[r]=j}},requiresIfExists:["offset"]};const zz={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=yz(n.placement),l=bz(s),u=[JW,XW].indexOf(s)>=0?"height":"width";if(i&&a){var c=function(e,t){return Tz("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Fz(e,tz))}(o.padding,n),d=HW(i),p="y"===l?KW:JW,f="y"===l?QW:XW,h=n.rects.reference[u]+n.rects.reference[l]-a[l]-n.rects.popper[u],m=a[l]-n.rects.reference[l],g=ZW(i),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,y=h/2-m/2,x=c[p],b=v-d[u]-c[f],k=v/2-d[u]/2+y,w=Bz(x,k,b),E=l;n.modifiersData[r]=((t={})[E]=w,t.centerOffset=w-k,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&Lz(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function $z(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Hz(e){return[KW,XW,QW,JW].some((function(t){return e[t]>=0}))}const Vz={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Rz(t,{elementContext:"reference"}),s=Rz(t,{altBoundary:!0}),l=$z(a,r),u=$z(s,o,i),c=Hz(l),d=Hz(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}};var Uz=mz({defaultModifiers:[vz,wz,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,l=void 0===s||s,u={placement:yz(t.placement),variation:xz(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,_z(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,_z(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Cz,Sz,Iz,Wz,zz,Vz]}),qz=n(6366),Yz=n.n(qz),Gz=function(e){return e.reduce((function(e,t){var n=t[0],r=t[1];return e[n]=r,e}),{})},Zz="undefined"!==typeof window&&window.document&&window.document.createElement?t.useLayoutEffect:t.useEffect,Kz=[];const Qz={ab:{name:"Abkhazian",endonym:"\u0410\u04a7\u0441\u0443\u0430 (Apsua)"},aa:{name:"Afar",endonym:"Qafar af"},af:{name:"Afrikaans",endonym:"Afrikaans"},ak:{name:"Akan",endonym:"\xc1k\xe1n"},sq:{name:"Albanian",endonym:"Shqip"},am:{name:"Amharic",endonym:"\u12a0\u121b\u122d\u129b"},ar:{name:"Arabic",endonym:"\u0627\u064e\u0644\u0652\u0639\u064e\u0631\u064e\u0628\u0650\u064a\u064e\u0651\u0629\u064f"},an:{name:"Aragonese",endonym:"Aragon\xe9s"},hy:{name:"Armenian",endonym:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576"},as:{name:"Assamese",endonym:"\u0985\u09b8\u09ae\u09c0\u09af\u09bc\u09be"},av:{name:"Avaric",endonym:"\u0410\u0432\u0430\u0440 \u043c\u0430\u0446\u04cf; \u0627\u0648\u0627\u0631 \u0645\u0627\u0636 "},ay:{name:"Aymara",endonym:"Aymara"},az:{name:"Azerbaijani",endonym:"\u0622\u0630\u0631\u0628\u0627 \u06cc\u062c\u0627\u0646 \u062f\u06cc\u0644\u06cc"},bm:{name:"Bambara",endonym:"\u0628\u064e\u0645\u064e\u0646\u064e\u0646\u0643\u064e\u0646 ;\u07d3\u07e1\u07ca\u07e3\u07ca\u07f2\u07de\u07ca\u07f2"},ba:{name:"Bashkir",endonym:"\u0411\u0430\u0448\u04a1\u043e\u0440\u0442 \u0442\u0435\u043b\u0435  Ba\u015fqort tele"},eu:{name:"Basque",endonym:"Euskara"},be:{name:"Belarusian",endonym:"\u0411\u0435\u043b\u0430\u0440\u0443\u0441\u043a\u0430\u044f \u043c\u043e\u0432\u0430"},bn:{name:"Bengali",endonym:"\u09ac\u09be\u0982\u09b2\u09be"},bi:{name:"Bislama",endonym:"Bislama"},bs:{name:"Bosnian",endonym:"\u0411\u043e\u0441\u0430\u043d\u0441\u043a\u0438"},br:{name:"Breton",endonym:"Brezhoneg"},bg:{name:"Bulgarian",endonym:"\u0411\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438"},my:{name:"Burmese",endonym:"\u1019\u103c\u1014\u103a\u1019\u102c\u1005\u102c"},ca:{name:"Catalan, Valencian",endonym:"Catal\xe0; Valenci\xe0"},km:{name:"Khmer",endonym:"\u1781\u17c1\u1798\u179a\u1797\u17b6\u179f\u17b6"},ch:{name:"Chamorro",endonym:"Finu' Chamoru"},ce:{name:"Chechen",endonym:"\u041d\u043e\u0445\u0447\u0438\u0439\u043d \u043c\u043e\u0442\u0442"},ny:{name:"Chichewa, Chewa, Nyanja",endonym:"Chichewa Chinyanja"},"zh-Hans":{name:"Chinese",endonym:"\u4e2d\u6587"},yue:{name:"Cantonese",endonym:"\u5e7f\u4e1c\u8bdd"},"chk-Latn":{name:"Chuukese",endonym:"Chuuk"},cv:{name:"Chuvash",endonym:"\u0427\u04d1\u0432\u0430\u0448\u043b\u0430"},kw:{name:"Cornish",endonym:"Kernowek"},co:{name:"Corsican",endonym:"Corsu"},cr:{name:"Cree",endonym:"\u14c0\u1426\u1403\u152d\u1401\u1427\u1403\u1427\u1423"},hr:{name:"Croatian",endonym:"Hrvatski"},cs:{name:"Czech",endonym:"\u010ce\u0161tina"},da:{name:"Danish",endonym:"Dansk"},dv:{name:"Divehi, Dhivehi, Maldivian",endonym:"\u078b\u07a8\u0788\u07ac\u0780\u07a8"},nl:{name:"Dutch, Flemish",endonym:"Nederlands"},dz:{name:"Dzongkha",endonym:"\u0f62\u0fab\u0f7c\u0f44\u0f0b\u0f41\u0f0b"},en:{name:"English",endonym:"English"},et:{name:"Estonian",endonym:"Eesti keel"},ee:{name:"Ewe",endonym:"\xc8\u028begbe"},fo:{name:"Faroese",endonym:"F\xf8royskt"},fj:{name:"Fijian",endonym:"Na Vosa Vakaviti"},fi:{name:"Finnish",endonym:"Suomi"},fr:{name:"French",endonym:"Fran\xe7ais"},ff:{name:"Fula",endonym:"\ud83a\udd0a\ud83a\udd35\ud83a\udd24\ud83a\udd2c\ud83a\udd35\ud83a\udd24\ud83a\udd23\ud83a\udd2b \u08bb\u064f\u0644\u0652\u08bb\u064f\u0644\u0652\u062f\u065c"},gd:{name:"Gaelic, Scottish",endonym:"G\xe0idhlig"},gl:{name:"Galician",endonym:"Galego"},lg:{name:"Ganda",endonym:"Luganda"},ka:{name:"Georgian",endonym:"\u10e5\u10d0\u10e0\u10d7\u10e3\u10da\u10d8"},de:{name:"German",endonym:"Deutsch"},el:{name:"Greek",endonym:"\u039d\u03ad\u03b1 \u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac"},gn:{name:"Guarani",endonym:"Ava\xf1e'\u1ebd"},gu:{name:"Gujarati",endonym:"\u0a97\u0ac1\u0a9c\u0ab0\u0abe\u0aa4\u0ac0"},ht:{name:"Haitian Creole",endonym:"Krey\xf2l ayisyen"},ha:{name:"Hausa",endonym:"\u0647\u064e\u0631\u0652\u0634\u065c\u0646 \u0647\u064e\u0648\u0652\u0633"},he:{name:"Hebrew",endonym:"\u05e2\u05d1\u05e8\u05d9\u05ea"},hz:{name:"Herero",endonym:"Otjiherero"},hi:{name:"Hindi",endonym:"\u0939\u093f\u0928\u094d\u0926\u0940 "},ho:{name:"Hiri Motu",endonym:"Hiri Motu"},hu:{name:"Hungarian",endonym:"Magyar nyelv"},is:{name:"Icelandic",endonym:"\xcdslenska"},ig:{name:"Igbo",endonym:"\xe1s\u1ee5\u0300s\u1ee5\u0301 \xccgb\xf2"},id:{name:"Indonesian",endonym:"bahasa Indonesia"},iu:{name:"Inuktitut",endonym:"\u1403\u14c4\u1483\u144e\u1450\u1466"},ik:{name:"Inupiaq",endonym:"I\xf1upiaq"},ga:{name:"Irish",endonym:"Gaeilge"},it:{name:"Italian",endonym:"Italiano"},ja:{name:"Japanese",endonym:"\u65e5\u672c\u8a9e"},jv:{name:"Javanese",endonym:"\ua9a7\ua9b1\ua997\ua9ae"},kl:{name:"Kalaallisut, Greenlandic",endonym:"Kalaallisut"},kn:{name:"Kannada",endonym:"\u0c95\u0ca8\u0ccd\u0ca8\u0ca1"},kr:{name:"Kanuri",endonym:"\u0643\u064e\u0646\u064f\u0631\u0650\u064a\u0650\u0647"},ks:{name:"Kashmiri",endonym:"\u0915\u0949\u0936\u0941\u0930; \u0643\u0623\u0634\u064f\u0631"},"kar-Mymr":{name:"Karen",endonym:"\u1000\u100a\u102e\u1000\u103b\u102d\u102c\u103a"},kk:{name:"Kazakh",endonym:"\u049a\u0430\u0437\u0430\u049b\u0448\u0430"},ki:{name:"Kikuyu, Gikuyu",endonym:"G\u0129g\u0129k\u0169y\u0169"},rw:{name:"Kinyarwanda",endonym:"Ikinyarwanda"},ky:{name:"Kirghiz, Kyrgyz",endonym:"\u041a\u044b\u0440\u0433\u044b\u0437\u0447\u0430"},kv:{name:"Komi",endonym:"\u041a\u043e\u043c\u0438 \u043a\u044b\u0432"},kg:{name:"Kongo",endonym:"Kikongo"},ko:{name:"Korean",endonym:"\ud55c\uad6d\uc5b4"},kj:{name:"Kuanyama",endonym:"Oshikwanyama"},ku:{name:"Kurdish",endonym:"\u06a9\u0648\u0631\u062f\u06cc"},lo:{name:"Lao",endonym:"\u0e9e\u0eb2\u0eaa\u0eb2\u0ea5\u0eb2\u0ea7"},lv:{name:"Latvian",endonym:"Latviski"},li:{name:"Limburgan",endonym:"L\xe8mburgs"},ln:{name:"Lingala",endonym:"Ling\xe1la"},lt:{name:"Lithuanian",endonym:"Lietuvi\u0161kai"},lu:{name:"Luba-Katanga",endonym:"Kiluba"},lb:{name:"Luxembourgish",endonym:"L\xebtzebuergesch"},mk:{name:"Macedonian",endonym:"\u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0441\u043a\u0438 (Makedonski)"},mg:{name:"Malagasy",endonym:"\u0645\u064e\u0644\u064e\u063a\u064e\u0633\u0650"},ms:{name:"Malay",endonym:"\u0628\u0647\u0627\u0633 \u0645\u0644\u0627\u064a\u0648"},ml:{name:"Malayalam",endonym:"\u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02"},mt:{name:"Maltese",endonym:"Malti"},gv:{name:"Manx",endonym:"Gaelg; Gailck"},mi:{name:"Maori",endonym:"reo M\u0101ori"},mr:{name:"Marathi",endonym:"\u092e\u0930\u093e\u0920\u0940 (Mar\u0101\u1e6dh\u012b)"},mh:{name:"Marshallese",endonym:"kajin M\u0327ajel\u200c\u0327"},mn:{name:"Mongolian",endonym:"\u182e\u1823\u1829\u182d\u1823\u182f \u182c\u1821\u182f\u1821; \u041c\u043e\u043d\u0433\u043e\u043b \u0445\u044d\u043b (Mongol xel)"},na:{name:"Nauru",endonym:"dorerin Naoe"},nv:{name:"Navajo, Navaho",endonym:"Din\xe9 bizaad; Naabeeh\xf3 bizaad"},ng:{name:"Ndonga",endonym:"Ndonga"},ne:{name:"Nepali",endonym:"\u0928\u0947\u092a\u093e\u0932\u0940 \u092d\u093e\u0937\u093e"},nd:{name:"North Ndebele",endonym:"isiNdebele; saseNyakatho; Mthwakazi Ndebele"},se:{name:"Northern Sami",endonym:"Davvis\xe1megiella"},no:{name:"Norwegian",endonym:"Norsk"},nb:{name:"Bokm\xe5l",endonym:"Norsk Bokm\xe5l"},nn:{name:"Norwegian Nynorsk",endonym:"Norsk Nynorsk"},nus:{name:"Nuer",endonym:"Thok Naath"},oc:{name:"Occitan",endonym:"Occitan; Proven\xe7al"},oj:{name:"Ojibwa",endonym:"\u140a\u14c2\u1511\u14c8\u142f\u14a7\u140e\u14d0 (Anishinaabemowin)"},or:{name:"Oriya",endonym:"\u0b13\u0b21\u0b3c\u0b3f\u0b06 (Odia)"},om:{name:"Oromo",endonym:"afaan Oromoo"},os:{name:"Ossetian, Ossetic",endonym:"\u0418\u0440\u043e\u043d \xe6\u0432\u0437\u0430\u0433 (Iron \xe6vzag)"},ps:{name:"Pashto, Pushto",endonym:"\u067e\u069a\u062a\u0648 (Pax\u030ctow)"},fa:{name:"Persian",endonym:"\u0641\u0627\u0631\u0633\u06cc"},pon:{name:"Pohnpeian",endonym:"Lokaiahn Pohnpei"},pl:{name:"Polish",endonym:"Polski"},pt:{name:"Portuguese",endonym:"Portugu\xeas"},pa:{name:"Punjabi, Panjabi",endonym:"\u0a2a\u0a70\u0a1c\u0a3e\u0a2c\u0a40; \u067e\u0646\u062c\u0627\u0628\u06cc (P\xe3j\u0101b\u012b)"},"fuc-Arab":{name:"Pulaar (Arabic)",endonym:"\u0628\u0648\u0644\u0627\u0631"},qu:{name:"Quechua",endonym:"Runa simi; kichwa simi; Nuna shimi"},ro:{name:"Moldovan, Romanian",endonym:"Rom\xe2ne\u0219te"},"rhg-Rohg":{name:"Rohingya (Hanifi)",endonym:"\ud803\udd0c\ud803\udd1f\ud803\udd07\ud803\udd25\ud803\udd1d\ud803\udd1a\ud803\udd12\ud803\udd19\ud803\udd1d \ud803\udd07\ud803\udd1d\ud803\udd15\ud803\udd1e\ud803\udd09\ud803\udd1e \ud803\udd13\ud803\udd20\ud803\udd11\ud803\udd24\ud803\udd1d"},rm:{name:"Romansh",endonym:"Rumantsch; Rum\xe0ntsch; Romauntsch; Romontsch"},rn:{name:"Rundi",endonym:"Ikirundi"},ru:{name:"Russian",endonym:"\u0420\u0443\u0441\u0441\u043a\u0438\u0439 \u044f\u0437\u044b\u043a"},sm:{name:"Samoan",endonym:"gagana S\u0101moa"},sg:{name:"Sango",endonym:"y\xe2ng\xe2 t\xee S\xe4ng\xf6"},sc:{name:"Sardinian",endonym:"Sardu"},"sr-Cyrl":{name:"Serbian",endonym:"\u0421\u0440\u043f\u0441\u043a\u0438"},sn:{name:"Shona",endonym:"chiShona"},ii:{name:"Sichuan Yi, Nuosu",endonym:"\ua188\ua320\ua4bf Nuosuhxop"},sd:{name:"Sindhi",endonym:"\u0633\u0646\u068c\u064a; \u0938\u093f\u0928\u094d\u0927\u0940 (Sindh\u012b)"},si:{name:"Sinhala, Sinhalese",endonym:"\u0dc3\u0dd2\u0d82\u0dc4\u0dbd (Si\u1e41hala)"},sk:{name:"Slovak",endonym:"Sloven\u010dina"},sl:{name:"Slovenian",endonym:"Sloven\u0161\u010dina"},so:{name:"Somali",endonym:"\ud801\udc88\ud801\udc9d\ud801\udc91\ud801\udc9b\ud801\udc90\ud801\udc98"},nr:{name:"South Ndebele",endonym:"isiNdebele sakwaNdzundza"},st:{name:"Southern Sotho",endonym:"Sesotho"},es:{name:"Spanish",endonym:"Espa\xf1ol"},su:{name:"Sundanese",endonym:"\u1b98\u1b9e \u1b9e\u1ba5\u1b94\u1baa\u1b93 \u0628\u064e\u0627\u0633\u064e\u0627 \u0633\u064f\u0648\u0652\u0646\u062f\u064e\u0627"},sw:{name:"Swahili",endonym:"Kiswahili"},ss:{name:"Swati",endonym:"siSwati"},sv:{name:"Swedish",endonym:"Svenska"},tl:{name:"Tagalog",endonym:"Wikang Tagalog"},ty:{name:"Tahitian",endonym:"reo Tahiti"},tg:{name:"Tajik",endonym:"\u0422\u043e\u04b7\u0438\u043a\u04e3 (Tojik\u012b)"},ta:{name:"Tamil",endonym:"\u0ba4\u0bae\u0bbf\u0bb4\u0bcd (Tami\u1e3b)"},tt:{name:"Tatar",endonym:"\u0422\u0430\u0442\u0430\u0440 \u0442\u0435\u043b\u0435, Tatar tele, \u062a\u0627\u062a\u0627\u0631 \u062a\u0626\u0644\u0626"},te:{name:"Telugu",endonym:"\u0c24\u0c46\u0c32\u0c41\u0c17\u0c41 (Telugu)"},th:{name:"Thai",endonym:"\u0e20\u0e32\u0e29\u0e32\u0e44\u0e17\u0e22"},bo:{name:"Tibetan",endonym:"\u0f56\u0f7c\u0f51\u0f0b\u0f66\u0f90\u0f51\u0f0b (Bodskad), \u0f63\u0fb7\u0f0b\u0f66\u0f60\u0f72\u0f0b\u0f66\u0f90\u0f51\u0f0b (Lhas'iskad)"},ti:{name:"Tigrinya",endonym:"\u1275\u130d\u122d\u129b"},to:{name:"Tonga language",endonym:"lea faka-Tonga"},ts:{name:"Tsonga",endonym:"Xitsonga"},tn:{name:"Tswana",endonym:"Setswana"},tr:{name:"Turkish",endonym:"T\xfcrk\xe7e"},tk:{name:"Turkmen",endonym:"T\xfcrkmen\xe7e, \u0422\u04af\u0440\u043a\u043c\u0435\u043d\u0447\u0435, \u062a\u06c6\u0631\u06a9\u0645\u0646\u0686\u0647"},tw:{name:"Twi",endonym:"Twi"},ug:{name:"Uighur, Uyghur",endonym:"\u0626\u06c7\u064a\u063a\u06c7\u0631 \u062a\u0649\u0644\u0649, \u0423\u0439\u0493\u0443\u0440 \u0442\u0438\u043b\u0438, Uy\u01a3ur tili"},uk:{name:"Ukrainian",endonym:"\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430"},ur:{name:"Urdu",endonym:"\u0627\u064f\u0631\u062f\u064f\u0648"},uz:{name:"Uzbek",endonym:"\xd3zbek\xe7a, \u045e\u0437\u0431\u0435\u043a\u0447\u0430; \u0626\u0648\u0632\u0628\u06d0\u0686\u0647"},ve:{name:"Venda",endonym:"Tshiven\u1e13a"},vi:{name:"Vietnamese",endonym:"ti\u1ebfng Vi\u1ec7t"},wa:{name:"Walloon",endonym:"Walon"},cy:{name:"Welsh",endonym:"Cymraeg"},fy:{name:"Western Frisian",endonym:"Frysk"},wo:{name:"Wolof",endonym:"\u0648\u08f7\u0644\u08f7\u0641\u0652 \u0644\u08f5\u06a9\u0651"},xh:{name:"Xhosa",endonym:"isiXhosa"},yi:{name:"Yiddish",endonym:"\u05d9\u05d9\u05b4\u05d3\u05d9\u05e9"},yo:{name:"Yoruba",endonym:"\xe8d\xe8 Yor\xf9b\xe1"},za:{name:"Zhuang, Chuang",endonym:"\u8a71\u50ee"},zu:{name:"Zulu",endonym:"isiZulu"}},Xz=()=>{if(!window.Weglot)return;const e=window.Weglot.getCurrentLang(),t=window.Weglot.options.languages.filter((e=>Qz.hasOwnProperty(e.language_to)&&e.enabled)).map((e=>({code:e.language_to,name:Qz[e.language_to].name,endonym:Qz[e.language_to].endonym}))).concat({code:"en",name:"English",endonym:"English"});t.sort(((e,t)=>e.name<t.name?-1:e.name>t.name?1:0));const n=t.findIndex((t=>t.code===e));if(-1!==n){const[e]=t.splice(n,1);t.unshift(e)}return t},Jz=e=>{let{guideID:n,changeLanguageCallback:o}=e;const[i,a]=(0,t.useState)(!1),[s,l]=(0,t.useState)(null),[u,c]=(0,t.useState)(null),{styles:d,attributes:p}=function(e,n,o){void 0===o&&(o={});var i=t.useRef(null),a={onFirstUpdate:o.onFirstUpdate,placement:o.placement||"bottom",strategy:o.strategy||"absolute",modifiers:o.modifiers||Kz},s=t.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=s[0],u=s[1],c=t.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);r.flushSync((function(){u({styles:Gz(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:Gz(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),d=t.useMemo((function(){var e={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[c,{name:"applyStyles",enabled:!1}])};return Yz()(i.current,e)?i.current||e:(i.current=e,e)}),[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,c]),p=t.useRef();return Zz((function(){p.current&&p.current.setOptions(d)}),[d]),Zz((function(){if(null!=e&&null!=n){var t=(o.createPopper||Uz)(e,n,d);return p.current=t,function(){t.destroy(),p.current=null}}}),[e,n,o.createPopper]),{state:p.current?p.current.state:null,styles:l.styles,attributes:l.attributes,update:p.current?p.current.update:null,forceUpdate:p.current?p.current.forceUpdate:null}}(s,u,{placement:"bottom-end"}),f=Hw("integrated-language-translation");if(null===f||void 0===f||!f.value||!window.Weglot)return null;const h=window.Weglot.getCurrentLang();return(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsx)(Ou,{title:"Language",children:(0,Cs.jsx)(Gu,{ref:l,id:"brite-language-switcher",css:bs`
             {
              padding: 0px 12px;
              margin-right: -12px;
            }
          `,icon:!0,"data-ph-capture-attribute-source":r_.types.NAVIGATION,"data-ph-capture-attribute-action":r_.actions.LANGUAGE,"aria-label":"Language",onClick:e=>{l(e.currentTarget),a(!i)},children:(0,Cs.jsx)(kW,{})})}),i&&(0,Cs.jsx)(kf,{children:(0,Cs.jsxs)(Ku,{id:"language-selection-modal",ref:c,css:bs`
              display: flex;
              flex-direction: column;
              width: 400px;
              border-radius: 16px;
              background: var(--000, #fff);
              box-shadow: 0px 4px 10px 0px rgba(37, 40, 45, 0.3);
              z-index: 9999;
            `,style:d.popper,...p.popper,children:[(0,Cs.jsxs)(Ku,{css:bs`
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 8px 0px 8px 16px;
                border-bottom: 1px solid var(--300, #d1dae3);
              `,children:[(0,Cs.jsx)(Ts,{h4:!0,children:"Select a Language"}),(0,Cs.jsx)(Gu,{icon:!0,css:bs`
                  padding: 0px;
                `,onClick:()=>a(!1),children:(0,Cs.jsx)(kh,{size:24,weight:"bold"})})]}),(0,Cs.jsx)(Ku,{css:bs`
                display: flex;
                flex-direction: column;
                align-items: center;
                padding: 8px;
                max-height: 400px;
                overflow-y: auto;
              `,children:Xz().map((e=>(0,Cs.jsx)(Ku,{css:bs`
                      display: flex;
                      flex-direction: row;
                      justify-center: flex-start;
                      padding: 8px;
                      gap: 16px;
                      align-self: stretch;
                      :hover {
                        border-radius: 8px;
                        background: var(--100, #f5f7fa);
                      }
                      ${h===e.code?"                     \n                        border-radius: 8px;\n                        background: var(--100, #f5f7fa);\n                        ":""}
                    `,onClick:()=>{window.Weglot.switchTo(e.code),o(e.code)},children:(0,Cs.jsxs)(Ku,{css:bs`
                        display: flex;
                        justify-content: space-between;
                        width: 100%;
                      `,children:[(0,Cs.jsxs)(Ku,{css:bs`
                          display: flex;
                          flex-direction: column;
                        `,children:[(0,Cs.jsx)(Ts,{body:!0,bold:!0,color:ks.black,children:e.endonym}),(0,Cs.jsx)(Ts,{caption:!0,css:bs`
                            font-size: 12px;
                          `,children:`(${e.name})`})]}),h===e.code&&(0,Cs.jsx)(Ku,{css:bs`
                            display: flex;
                            justify-content: center;
                            align-items: center;
                          `,children:(0,Cs.jsx)(Ku,{css:bs`
                              min-width: 24px;
                              width: 24px;
                              height: 24px;
                              border-radius: 8px;
                              background-color: ${ks.black};
                              border: 1px solid ${ks.black};
                              color: #ffffff;
                            `,children:(0,Cs.jsx)(vh,{color:"currentColor",size:24,weight:"bold"})})})]})},e.code)))}),(0,Cs.jsx)(Ku,{css:bs`
                display: flex;
                flex-direction: row;
                justify-center: flex-start;
                padding: 8px;
                gap: 16px;
                align-self: stretch;
                border-top: 1px solid var(--300, #d1dae3);
              `,children:(0,Cs.jsxs)(Ku,{css:bs`
                  display: flex;
                  justify-content: space-between;
                  width: 100%;
                  padding: 8px;
                  gap: 16px;
                  :hover {
                    border-radius: 8px;
                    background: var(--100, #f5f7fa);
                  }
                `,onClick:()=>{window.Weglot.switchTo("en"),window.open("https://britehr-app.translate.goog/"+n+"/1?_x_tr_sl=en&_x_tr_tl=mh&_x_tr_hl=en&_x_tr_pto=wapp","_blank"),a(!1)},children:[(0,Cs.jsx)(Ku,{css:bs`
                    display: flex;
                    align-items: center;
                  `,children:(0,Cs.jsx)(Ts,{body:!0,bold:!0,color:ks.black,children:"Other"})}),(0,Cs.jsxs)(Ku,{css:bs`
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    padding: 8px;
                    gap: 8px;
                  `,children:[(0,Cs.jsx)(Ts,{children:"Google Translate"}),(0,Cs.jsx)(CW,{size:24,color:ks.gray[500],weight:"bold"})]})]})})]})})]})};const e$=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;const r=t=>{const r=(e=>{let t=[];const{code:n,metaKey:r,altKey:o,ctrlKey:i,shiftKey:a}=e;let s=!0;return(r||n.includes("Meta"))&&(s=!n.includes("Meta"),t.push("meta")),(o||n.includes("Alt"))&&(s=!n.includes("Alt"),t.push("alt")),(i||n.includes("Control"))&&(s=!n.includes("Control"),t.push("ctrl")),(a||n.includes("Shift"))&&(s=!n.includes("Shift"),t.push("shift")),n&&s&&t.push(n),t.join("+")})(t);r in e&&!n&&(t.stopPropagation(),t.preventDefault(),e[r]())};(0,t.useEffect)((()=>(document.addEventListener("keydown",r,null),()=>{document.removeEventListener("keydown",r,null)})))},t$=(0,$s.A)((e=>({root:{height:4},colorPrimary:{backgroundColor:"#f5f7fa"},bar:{backgroundColor:e=>{var t,n,r,o,i,a;return null!==(t=e.designStyles)&&void 0!==t&&null!==(n=t.Theme)&&void 0!==n&&null!==(r=n.Body)&&void 0!==r&&r.ButtonColor?null===(o=e.designStyles)||void 0===o||null===(i=o.Theme)||void 0===i||null===(a=i.Body)||void 0===a?void 0:a.ButtonColor:"#25282D"}}})))(CO),n$=e=>{var n,r,o,i,a,s,l,u,c,d,p,f,h,m,g,v,y,x,b,k,w,E,_,C,S,D,j,A,P,L,M,N,T,F,R,I,B,W,z,$,H,V,U,q,Y,G,Z,K,Q,X,J,ee,te,ne,re,oe,ie,ae,se,le;const ue=Hw("depersonalize-premium"),de=Hw("dt-refresh"),{setStore:pe}=Ww(),fe=e.isAcaPlan||e.isIchraPlan,[he,me]=(0,t.useState)(!1),[ge,ve]=(0,t.useState)(0),[ye,xe]=(0,t.useState)(!1),[be,ke]=(0,t.useState)(!1),[we,Ee]=t.useState(!1),[_e,Ce]=(0,t.useState)(1),[Se,De]=(0,t.useState)(!1),je=jB();(0,t.useEffect)((()=>{var t;Ce(1),ke(!1),xe(!1),He(null),Ue(!1),fn("",!0),pn(null===e||void 0===e||null===(t=e.displaySettings)||void 0===t?void 0:t.custom_label_employee,!0),nt(0),ot(0),at(0),pt(0),ht(0),gt(0),yt(0),bt(0),wt(!1),Zt(!1),Bt("None"),zt("None"),Ht("None"),Yt("None"),Qt(0),Jt(0),tn(0),rn(0),an(0),ln(0),cn(0),Ze(""),_t(!1),St(!1),jt("0"),Pt(!1),Mt(!1),Ot(!0),ze([]),Le([]),Ne([]),Te([]),Re([]),Be([]),ct(!1),De(!1),he&&(me(!1),e.clearStoredRecs());let n=[];for(let r of e.customQuestions)n.push({questionId:r.ID,selectedResponses:[]});ze(n),Xe(Ke)}),[e.restartRecommendation]);(0,t.useEffect)((()=>{let t=window.location.pathname.split("/"),n=1;for(let e of t)"survey"===e&&(n=2);const r=je.getItem(AO+t[n]),o=JSON.parse(r)||{};var i;o.updatedAt&&xO(new Date(o.updatedAt))?(Ce((i=o).currentQuestion),Ye(i.livingState),et(i.enrolling),nt(i.personalNumberOfficeVisits),ot(i.personalNumberSpecialtyVisits),at(i.personalNumberGenericMeds),pt(i.personalNumberPreferredMeds),ht(i.personalNumberSpecialtyVisits),gt(i.personalUrgentCareVisits),yt(i.personalERVisits),bt(i.dependantERVisits),wt(i.personalBaby),Zt(i.dependantBaby),Bt(i.personalPlannedSurgeries),zt(i.personalMedicalConditions),Ht(i.dependantMedicalConditions),Yt(i.dependantPlannedSurgeries),Qt(i.dependantUrgentCareVisits),Jt(i.dependantNumberOfficeVisits),tn(i.dependantNumberSpecialtyVisits),rn(i.dependantNumberGenericMeds),an(i.dependantNumberBrandMeds),ln(i.dependantNumberPreferredMeds),cn(i.dependantNumberSpecialtyMeds),Ze(i.zipCode),_t(i.personalDental),St(i.dependantDental),jt(i.personalSTDLTD),Pt(i.personalVision),Mt(i.dependantVision),Ot(i.personalSUPP),ze(i.customQuestionsAnswers),Xe(i.acaEnrollingMembers&&i.acaEnrollingMembers.length&&0===i.acaEnrollingMembers.filter((e=>e.Type.includes("Employee"))).length?i.acaEnrollingMembers:Ke)):(je.removeItem(AO+t[n]),e.setUserAnswers(null))}),[]);const Ae=()=>{let t=window.location.pathname.split("/"),n=1;for(let e of t)"survey"===e&&(n=2);let r={...Tt,acaEnrollingMembers:Qe,customQuestionsAnswers:We,personalSUPP:Nt,dependantVision:Lt,personalVision:At,personalSTDLTD:Dt,dependantDental:Ct,personalDental:Et,zipCode:Ge,dependantNumberSpecialtyMeds:un,dependantNumberPreferredMeds:sn,dependantNumberBrandMeds:on,dependantNumberGenericMeds:nn,dependantNumberSpecialtyVisits:en,dependantNumberOfficeVisits:Xt,dependantUrgentCareVisits:Kt,dependantPlannedSurgeries:qt,dependantMedicalConditions:$t,personalMedicalConditions:Wt,personalPlannedSurgeries:It,dependantBaby:Gt,personalBaby:kt,dependantERVisits:xt,personalERVisits:vt,personalUrgentCareVisits:mt,personalNumberBrandMeds:st,personalNumberGenericMeds:it,personalNumberPreferredMeds:dt,personalNumberSpecialtyMeds:ft,personalNumberOfficeVisits:tt,personalNumberSpecialtyVisits:rt,enrolling:Je,livingState:qe,currentQuestion:_e},o=(new Date).toISOString();try{je.setItem(AO+t[n],JSON.stringify({...r,updatedAt:o}))}catch(ce){je.clear()}e.setUserAnswers({...r,updatedAt:o}),pe("acaEnrollingMembers",Qe)},[Pe,Le]=t.useState([]),[Me,Ne]=t.useState([]),[Oe,Te]=t.useState([]),[Fe,Re]=t.useState([]),[Ie,Be]=t.useState([]),[We,ze]=t.useState((()=>{let t=[];for(let n of e.customQuestions)t.push({questionId:n.ID,selectedResponses:[]});return t}));t.useEffect((()=>{let t=[];for(let n of e.customQuestions)t.push({questionId:n.ID,selectedResponses:[]});ze(t)}),[e.customQuestions]);const[$e,He]=t.useState(null),[Ve,Ue]=t.useState(!1),[qe,Ye]=t.useState((()=>(wo.unregister("decisionToolState"),""))),[Ge,Ze]=t.useState(""),Ke=[{tempId:(new Date).getTime(),Age:0,Type:"Self",IsTobaccoUser:!1}],[Qe,Xe]=t.useState(Ke),[Je,et]=t.useState((()=>(wo.unregister("decisionToolEnrolling"),wo.unregister("decisionToolHasDependents"),e.promptOptions.defaultEnrolling))),[tt,nt]=t.useState(0),[rt,ot]=t.useState(0),[it,at]=t.useState(0),[st,lt]=t.useState(0),[ut,ct]=t.useState(!1),[dt,pt]=t.useState(0),[ft,ht]=t.useState(0),[mt,gt]=t.useState(0),[vt,yt]=t.useState(0),[xt,bt]=t.useState(0),[kt,wt]=t.useState(!1),[Et,_t]=t.useState(!1),[Ct,St]=t.useState(!1),[Dt,jt]=t.useState("0"),[At,Pt]=t.useState(!1),[Lt,Mt]=t.useState(!1),[Nt,Ot]=t.useState(!0),[Tt,Ft]=t.useState({}),Rt="aca"===(null===e||void 0===e?void 0:e.decisionTool),[It,Bt]=t.useState("None"),[Wt,zt]=t.useState("None"),[$t,Ht]=t.useState("None"),[Vt,Ut]=t.useState([]),[qt,Yt]=t.useState("None"),[Gt,Zt]=t.useState(!1),[Kt,Qt]=t.useState(0),[Xt,Jt]=t.useState(0),[en,tn]=t.useState(0),[nn,rn]=t.useState(0),[on,an]=t.useState(0),[sn,ln]=t.useState(0),[un,cn]=t.useState(0),dn=function(){const e=Hw("tyson-foods-disclaimer"),t=Hw("depersonalize-premium");return null!==t&&void 0!==t&&t.value?"*Your response to this question will not impact the amount deducted from your paycheck. Cost used for these services are based on averages.":null!==e&&void 0!==e&&e.value?"*Your answer to this question will not be shared with Tyson, UHC, or the plan, and will not affect your rate.":"*Your answer to this question will not affect your rate"}(),pn=(t,n)=>{var r,o;if(n)return wo.unregister("decisionToolEnrolling"),wo.unregister("decisionToolHasDependents"),void et(t);wo.register({decisionToolEnrolling:t,decisionToolHasDependents:Je!==(null===e||void 0===e||null===(r=e.displaySettings)||void 0===r?void 0:r.custom_label_employee)}),et(t),t===(null===e||void 0===e||null===(o=e.displaySettings)||void 0===o?void 0:o.custom_label_employee)&&(bt(0),Qt(0),Ht("None"),Yt("None"),Zt(!1),Jt(0),tn(0),rn(0),an(0),ln(0),cn(0),St(!1),Mt(!1))},fn=(e,t)=>{if(t)return wo.unregister("decisionToolState"),void Ye(e);wo.register({decisionToolState:e}),Ye(e)},hn=()=>{var t,n,r,o,i,a,s,l,u,c,d,p;let f=Qe;return{...Tt,Version:1,State:qe,MedicalHistory:Vt,QuestionResponses:We?We.map((e=>({QuestionID:e.questionId,AnswerIDs:e.selectedResponses.map((e=>e.ID))}))):null,Enrolling:{EmployeeOnly:!(Je!==(null===e||void 0===e||null===(t=e.displaySettings)||void 0===t?void 0:t.custom_label_employee)),EmployeePlusSpouse:!(Je!==(null===e||void 0===e||null===(n=e.displaySettings)||void 0===n?void 0:n.custom_label_employee_spouse)),EmployeePlusChildren:!(Je!==(null===e||void 0===e||null===(r=e.displaySettings)||void 0===r?void 0:r.custom_label_employee_children)),Family:!(Je!==(null===e||void 0===e||null===(o=e.displaySettings)||void 0===o?void 0:o.custom_label_family)),ACAZipCode:Ge,ACAEnrollees:f},EmployeeEnrolling:{Enrolling:{EmployeeOnly:!(Je!==(null===e||void 0===e||null===(i=e.displaySettings)||void 0===i?void 0:i.custom_label_employee)),EmployeePlusSpouse:!(Je!==(null===e||void 0===e||null===(a=e.displaySettings)||void 0===a?void 0:a.custom_label_employee_spouse)),EmployeePlusChildren:!(Je!==(null===e||void 0===e||null===(s=e.displaySettings)||void 0===s?void 0:s.custom_label_employee_children)),Family:!(Je!==(null===e||void 0===e||null===(l=e.displaySettings)||void 0===l?void 0:l.custom_label_family))},DoctorVisits:Number(tt)||0,SpecialistsVisits:Number(rt)||0,UrgentCare:Number(mt)||0,EmergencyRoom:Number(vt)||0,HavingBabyThisYear:kt,Surgeries:{MinorOutPatient:!("Minor Outpatient"!==It),MinorInPatient:!("Minor Inpatient"!==It),MajorInPatient:!("Major Inpatient"!==It)},CurrentTreatment:{None:!("None"!==Wt),KidneyDialysis:!("Kidney Dialysis"!==Wt),Cancer:!("Cancer"!==Wt),AutoImmuneDisease:!("Auto-immune Disorder"!==Wt),LungDisease:!("Lung Disorders"!==Wt),EndStateRenalFailure:!("End-Stage Renal Failure"!==Wt),Diabetes:!("Diabetes"!==Wt)},MedicationGeneric:Number(it)||0,MedicationBrandName:Number(st)||0,MedicationPreferredDrugs:Number(dt)||0,MedicationSpecialty:Number(ft)||0,Dental:{Yes:Et},Vision:{Yes:At},SupplementalLife:{Yes:!Nt},Disability:{MinimumMonthsEmergencyFund:Number(Dt)}},DependentEnrolling:{Enrolling:{EmployeeOnly:!(Je!==(null===e||void 0===e||null===(u=e.displaySettings)||void 0===u?void 0:u.custom_label_employee)),EmployeePlusSpouse:!(Je!==(null===e||void 0===e||null===(c=e.displaySettings)||void 0===c?void 0:c.custom_label_employee_spouse)),EmployeePlusChildren:!(Je!==(null===e||void 0===e||null===(d=e.displaySettings)||void 0===d?void 0:d.custom_label_employee_children)),Family:!(Je!==(null===e||void 0===e||null===(p=e.displaySettings)||void 0===p?void 0:p.custom_label_family))},DoctorVisits:Number(Xt)||0,SpecialistsVisits:Number(en)||0,UrgentCare:Number(Kt)||0,EmergencyRoom:Number(xt)||0,HavingBabyThisYear:Gt,Surgeries:{Minor:!("Minor Procedure"!==qt),MinorOutPatient:!("Minor Outpatient"!==qt),MinorInPatient:!("Minor Inpatient"!==qt),MajorInPatient:!("Major Inpatient"!==qt)},CurrentTreatment:{None:!("None"!==$t),KidneyDialysis:!("Kidney Dialysis"!==$t),Cancer:!("Cancer"!==$t),AutoImmuneDisease:!("Auto-immune Disorder"!==$t),LungDisease:!("Lung Disorders"!==$t),EndStateRenalFailure:!("End-Stage Renal Failure"!==$t),Diabetes:!("Diabetes"!==$t)},MedicationGeneric:Number(nn)||0,MedicationBrandName:Number(on)||0,MedicationPreferredDrugs:Number(sn)||0,MedicationSpecialty:Number(un)||0,Dental:{Yes:Ct},Vision:{Yes:Lt}}}},mn=async()=>{if(!ye)return ke(!0),void(kn&&kn.current&&kn.current.scrollIntoView({behavior:"smooth",block:"start"}));ke(!1);try{ct(!0),Ue(!0);let r=hn(),o=(await Ha.post(`/public/v1/decisionTool/${e.currentPage.CourseID}`,r)).data,i=o.ProductSuggestions,a=o.Suggestions;let s=(null!==de&&void 0!==de&&de.value?o$:i$)(a,o.Type);for(let t of s)if(t.Plan.PlanType.includes("ichra"))t.Plan.includedPrograms=[],t.Plan.telemedicineIncludedProgram=null;else try{let{data:r}=await Ha.get(`/public/v1/business/${e.currentPage.BusinessID}/plans/${t.Plan.ID}/programs`),o=[];for(const e of r)try{let t="";if(e.CarrierID){const{data:n}=await Ha.get(`/public/v1/carrier/${e.CarrierID}`);t=n.LogoURL}o.push({...e,LogoURL:t})}catch(n){console.log(n),o.push({...e,LogoURL:""})}const i=o.reduce(((e,t)=>e.find((e=>"telemedicine"===e.ProgramType&&e.PlanID===t.PlanID&&"telemedicine"===t.ProgramType))?e:e.concat([t])),[]);t.Plan.includedPrograms=i}catch(ce){console.warn(ce),t.Plan.includedPrograms=[],console.log("no included programs add on")}if(He(s),i&&i.length>0){var t;let n=i.filter((e=>!!("dental_ortho_buyup"===e.Product.Type||"supplimental_life"===e.Product.Type||"basic_life_v2"===e.Product.Type||"supplemental_life_v2"===e.Product.Type||"short_term_disability"===e.Product.Type||"long_term_disability"===e.Product.Type||"dental_buyup"===e.Product.Type||"vision_buyup"===e.Product.Type||"healthcaregov"===e.Product.Type||"reference_based_pricing"===e.Product.Type&&e.Suggested||"medicare_recommendation"===e.Product.Type&&e.Suggested)));Ne(n);const r=i.filter((e=>"dependant_care_fsa_buyup"===e.Product.Type&&e.Suggested));Te(r);let o=null===i||void 0===i?void 0:i.filter((e=>"critical_illness"===e.Product.Type||"cancer_buyup"===e.Product.Type||"hospital_indemnity"===e.Product.Type||"accident_plan"===e.Product.Type));Re(o);let a=null===i||void 0===i?void 0:i.filter((e=>"custom"===e.Product.Type)),s=null===a||void 0===a?void 0:a.filter((e=>e.Suggested)).map((e=>e.Product));s=(0,Wc.uniqBy)(s,"ID"),Le(a.map((e=>e.Product))),Be(s);const l=null===i||void 0===i?void 0:i.reduce(((e,t)=>{var n,r;return null!==t&&void 0!==t&&t.Suggested?{...e,[null===t||void 0===t||null===(n=t.Product)||void 0===n?void 0:n.Type]:[...(null===e||void 0===e?void 0:e[null===t||void 0===t||null===(r=t.Product)||void 0===r?void 0:r.Type])||[],t]}:e}),{}),u=null===(t=Object.entries(l))||void 0===t?void 0:t.reduce(((e,t)=>{var n,r;let[o,i]=t;return 1===(null===i||void 0===i?void 0:i.length)||"custom"===o?[...e,null===(n=i[0])||void 0===n||null===(r=n.Product)||void 0===r?void 0:r.ID]:e}),[]);e.setSelectedBenefits(u)}}catch(ce){console.error("error getting recommendations",ce),O.error("Could not get recommendation. Try again.",{position:O.POSITION.TOP_RIGHT})}finally{Ue(!1)}},gn=t=>!!(e.dynamicQuestions&&e.dynamicQuestions.length&&e.dynamicQuestions.includes(t)),vn=t=>{var n;let r=null===e||void 0===e||null===(n=e.displaySettings)||void 0===n?void 0:n.custom_label_employee,o=!1,i=!1;for(let e of t)"Child"===e.Type&&(o=!0),"Spouse"===e.Type&&(i=!0);var a;if(o&&i)r=null===e||void 0===e||null===(a=e.displaySettings)||void 0===a?void 0:a.custom_label_family;else if(i){var s;r=null===e||void 0===e||null===(s=e.displaySettings)||void 0===s?void 0:s.custom_label_employee_spouse}else if(o){var l;r=null===e||void 0===e||null===(l=e.displaySettings)||void 0===l?void 0:l.custom_label_employee_children}pn(r)},yn=(0,t.useMemo)((()=>{let t=0;return Rt?2:(e.dynamicQuestions&&e.dynamicQuestions.length&&(t+=e.dynamicQuestions.length),e.customQuestions&&e.customQuestions.length&&e.customQuestions.length>0&&(t+=1),t)}));(0,t.useEffect)((()=>{let e=0;yn>0&&(e=100*_e/yn),ve(e)}),[e.dynamicQuestions,e.customQuestions,_e]);const xn=(0,t.useRef)(e.dynamicQuestions.map((()=>(0,t.createRef)()))),bn=(0,t.useRef)(),kn=(0,t.useRef)();(0,t.useEffect)((()=>{var t,n,r;"state"===(null===(t=e.dynamicQuestions)||void 0===t?void 0:t[_e-1])&&!qe||"enrolling"===(null===(n=e.dynamicQuestions)||void 0===n?void 0:n[_e-1])&&!Je||(null===(r=e.dynamicQuestions)||void 0===r?void 0:r.length)==_e-1&&!ye?De(!0):De(!1)}),[e.dynamicQuestions,qe,Je,ye,_e]);const wn=()=>{Ve||(e.onRecommendationListPage?e.setShareClicked((e=>!e)):_e<yn?Ce(_e+1):(Ae(),Rt?e.onRecommendationListPage?e.setCloseClicked((e=>!e)):(e.setDecisionToolOpen(!1),e.oldPageIndex>=0&&e.setCurrentPageIndex(e.oldPageIndex)):mn()))};e$({"alt+shift+Enter":()=>{xe(!0),Ce(yn)}});const En=(0,t.useMemo)((()=>Rt?_e<yn?"Next Question":"Update Details":Ve?"Analyzing...":e.onRecommendationListPage?"Share Results":_e<yn?"Next Question":"See Results"));(0,t.useEffect)((()=>{"aca"!==Rt&&(xn&&xn.current&&xn.current[_e-1]&&xn.current[_e-1].current&&xn.current[_e-1].current.scrollIntoView({behavior:"smooth",block:"start"}),_e===yn&&e.customQuestions&&e.customQuestions.length&&e.customQuestions.length>0&&bn&&bn.current&&bn.current.scrollIntoView({behavior:"smooth",block:"start"}))}),[Rt,_e]),(0,t.useEffect)((()=>{var t;et(null===e||void 0===e||null===(t=e.displaySettings)||void 0===t?void 0:t.custom_label_employee)}),[]);const _n=null===Qe||void 0===Qe?void 0:Qe.some((e=>"Self"!==e.Type));return(0,Cs.jsx)("div",{className:bs`
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100%;
        width: 100%;
        background: white;
        overflow: hidden;
        z-index: 1999;
      `,children:(0,Cs.jsxs)("div",{className:bs`
          display: flex;
          flex-direction: column;
          height: 100%;
          overflow: hidden;
        `,children:[(0,Cs.jsxs)("header",{className:bs`
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: ${e.isDesktop?"8px":"4px"};
            max-height: 80px;
            border-bottom: 1px solid #e8edf3;
            min-height: ${e.isDesktop?"65px":"55px"};
          `,children:[(0,Cs.jsxs)("div",{className:bs`
              display: flex;
              align-items: center;
              cursor: pointer;
            `,onClick:()=>{Ae(),e.onRecommendationListPage?e.setCloseClicked((e=>!e)):(e.setDecisionToolOpen(!1),e.oldPageIndex>=0&&e.setCurrentPageIndex(e.oldPageIndex))},children:[e.logoUrl&&e.isDesktop&&(0,Cs.jsx)("img",{alt:"Logo",src:e.logoUrl,className:bs`
                  max-height: 54px;
                `}),e.logoUrl&&!e.isDesktop&&(0,Cs.jsx)("img",{alt:"Logo",src:e.logoUrl,className:bs`
                  padding-left: 12px;

                  max-height: 32px;
                `})]}),(0,Cs.jsxs)("div",{className:bs`
              display: flex;
              align-items: center;
              gap: 24px;
              font-family: 'Roboto';
              font-style: normal;
              font-weight: 700;
              font-size: 24px;
              line-height: 114%;
              /* identical to box height, or 114% */

              letter-spacing: 0.15px;

              color: #25282d;
              padding-right: 24px;
              padding-left: 24px;
            `,children:[(0,Cs.jsx)(Jz,{guideID:null===e||void 0===e||null===(n=e.currentPage)||void 0===n?void 0:n.CourseID,changeLanguageCallback:e.changeLanguageCallback}),(0,Cs.jsx)(iS,{style:{padding:""+(e.isDesktop?"12px 42px":"8px 16px"),borderRadius:"8px",minWidth:""+(e.isDesktop?"188px":"140px")},role:"nav",variant:"outlined","aria-label":"Close",className:"page-nav-prev","data-ph-capture-attribute-source":null===r_||void 0===r_||null===(r=r_.types)||void 0===r?void 0:r.RECOMMENDATIONS,"data-ph-capture-attribute-action":null===r_||void 0===r_||null===(o=r_.actions)||void 0===o?void 0:o.BACK_TO_GUIDE,onClick:()=>{Ae(),e.onRecommendationListPage?e.setCloseClicked((e=>!e)):(e.setDecisionToolOpen(!1),e.oldPageIndex>=0&&e.setCurrentPageIndex(e.oldPageIndex))},children:"Back to Guide"}),e.isDesktop&&(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsx)(iS,{style:{padding:"12px 32px",backgroundColor:e.onRecommendationListPage?null!==e&&void 0!==e&&null!==(i=e.currentPage)&&void 0!==i&&i.EnrollmentURL?"transparent":null!==(a=e.designStyles)&&void 0!==a&&null!==(s=a.Theme)&&void 0!==s&&null!==(l=s.Body)&&void 0!==l&&l.ButtonColor?null===(u=e.designStyles)||void 0===u||null===(c=u.Theme)||void 0===c||null===(d=c.Body)||void 0===d?void 0:d.ButtonColor:"#25282D":null!==(p=e.designStyles)&&void 0!==p&&null!==(f=p.Theme)&&void 0!==f&&null!==(h=f.Body)&&void 0!==h&&h.ButtonColor?null===(m=e.designStyles)||void 0===m||null===(g=m.Theme)||void 0===g||null===(v=g.Body)||void 0===v?void 0:v.ButtonColor:"#25282D",color:e.onRecommendationListPage&&null!==e&&void 0!==e&&null!==(y=e.currentPage)&&void 0!==y&&y.EnrollmentURL?"#25282D":"var(--button-text-color)",minWidth:"188px",borderRadius:"8px"},id:"footer",variant:""+(e.onRecommendationListPage&&null!==e&&void 0!==e&&null!==(x=e.currentPage)&&void 0!==x&&x.EnrollmentURL?"outlined":"contained"),role:"nav",className:"page-nav-next",onClick:wn,disabled:Ve||Se,"aria-label":"See recommendation results","data-ph-capture-attribute-source":null===r_||void 0===r_||null===(b=r_.types)||void 0===b?void 0:b.RECOMMENDATIONS,"data-ph-capture-attribute-action":null===r_||void 0===r_||null===(k=r_.actions)||void 0===k?void 0:k.SEE_RESULTS,children:En}),(null===e||void 0===e||null===(w=e.currentPage)||void 0===w?void 0:w.EnrollmentURL)&&e.onRecommendationListPage&&(0,Cs.jsx)(iS,{style:{padding:e.isDesktop?"12px 42px":"12px 12px",backgroundColor:null!==(E=e.designStyles)&&void 0!==E&&null!==(_=E.Theme)&&void 0!==_&&null!==(C=_.Body)&&void 0!==C&&C.ButtonColor?null===(S=e.designStyles)||void 0===S||null===(D=S.Theme)||void 0===D||null===(j=D.Body)||void 0===j?void 0:j.ButtonColor:"#25282D",color:"#fff",minWidth:"188px"},id:"footer",variant:"contained",role:"nav",className:"page-nav-next",onClick:()=>{e.toggleEnrolledClicked()},children:"Enroll Now"})]})]})]}),!ut&&!Rt&&(0,Cs.jsx)("div",{className:bs`
              width: 100%;
            `,children:(0,Cs.jsx)(t$,{variant:"determinate",value:ge,designStyles:e.designStyles})}),(0,Cs.jsx)("main",{className:bs`
            flex: auto;
            overflow-y: scroll;
            ${Ru.style}
            background: #f5f7fa;
          `,children:(0,Cs.jsx)(uO.div,{animate:{opacity:1},initial:{opacity:0},transition:{ease:"easeOut",duration:2},className:bs`
              text-align: center;
              width: 100%;
              display: flex;
              flex-direction: column;
            `,children:(0,Cs.jsx)("section",{className:bs`
                button {
                  max-width: 260px;
                }
                width: 100%;
              `,children:(0,Cs.jsx)("div",{className:bs`
                  max-width: 750px;
                  margin: 0 auto;
                  padding: 12px;
                `,children:(0,Cs.jsxs)(gO,{children:[!ut&&(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsx)("div",{className:bs`
                          font-family: 'Roboto';
                          font-style: normal;
                          font-weight: 700;
                          font-size: 24px;
                          line-height: 32px;
                          /* or 133% */

                          color: #25282d;
                          text-align: left;
                          margin-bottom: 24px;
                          margin-top: 24px;
                        `,children:"Answer a few questions to get your custom benefit recommendations."}),e.dynamicQuestions.map(((t,n)=>{return n<_e?"state"===t?(0,Cs.jsx)("div",{ref:xn.current[n],className:bs`
                                  scroll-margin-top: 20px;
                                `,children:(0,Cs.jsx)($O,{zipCode:Ge,setZipCode:e=>Ze(e),livingState:qe,setLivingState:e=>fn(e)})},n):"enrolling"===t?(0,Cs.jsxs)("div",{ref:xn.current[n],className:bs`
                                  scroll-margin-top: 20px;
                                `,children:[fe&&(0,Cs.jsx)(fW,{promptOptions:e.promptOptions,acaEnrollingMembers:Qe,setAcaEnrollingMembers:e=>{Xe(e),vn(e)}}),!fe&&(0,Cs.jsx)(nT,{acaEnrollingMembers:Qe,setAcaEnrollingMembers:e=>{Xe(e),vn(e)},isSurvey:e.isSurvey,enrolling:Je,displaySettings:e.displaySettings,setEnrolling:e=>pn(e)})]},n):"short_term_disability"===t?(0,Cs.jsx)("div",{ref:xn.current[n],className:bs`
                                  scroll-margin-top: 20px;
                                `,children:(0,Cs.jsx)(WB,{isSurvey:e.isSurvey,setValue:e=>jt(e),value:Dt,type:"personal"})},n):"family_history"===t?(0,Cs.jsx)("div",{ref:xn.current[n],className:bs`
                                  scroll-margin-top: 20px;
                                `,children:(0,Cs.jsx)(vW,{setMedicalHistory:e=>Ut(e.target.value),medicalHistory:Vt,questionDisclaimerText:dn})},n):"supplimental_life"===t?(0,Cs.jsx)("div",{ref:xn.current[n],className:bs`
                                  scroll-margin-top: 20px;
                                `,children:(0,Cs.jsx)($B,{isSurvey:e.isSurvey,setValue:e=>Ot(e),value:Nt,type:"personal"})},n):"doctor_visits"===t?(0,Cs.jsx)("div",{ref:xn.current[n],className:bs`
                                  scroll-margin-top: 20px;
                                `,children:(0,Cs.jsx)(AF,{isSurvey:e.isSurvey,info:(0,Cs.jsx)(EO,{pages:e.pages,moreInfo:"Preventative care is routine health care that includes screenings, check-ups, and patient counseling to prevent illnesses, disease, or other health problems."}),setNumberOfficeVisits:e=>nt(e),setNumberSpecialtyVisits:e=>ot(e),numberOfficeVisits:tt,numberSpecialtyVisits:rt,type:"personal",shouldDisplayDependentQuestions:_n,dependantNumberOfficeVisits:Xt,setDependantNumberOfficeVisits:e=>Jt(e),dependantNumberSpecialtyVisits:en,setDependantNumberSpecialtyVisits:e=>tn(e),questionDisclaimerText:dn,fedexVerbiageChangesFF:ue})},n):"prescriptions"===t?(0,Cs.jsx)("div",{ref:xn.current[n],className:bs`
                                  scroll-margin-top: 20px;
                                `,children:(0,Cs.jsx)(LF,{setNumberSpecialtyMeds:e=>ht(e),setNumberPreferredMeds:e=>pt(e),setNumberBrandMeds:e=>lt(e),setNumberGenericMeds:e=>at(e),numberGenericMeds:it,numberBrandMeds:st,numberPreferredMeds:dt,numberSpecialtyMeds:ft,type:"personal",shouldDisplayDependentQuestions:_n,setDependantNumberSpecialtyMeds:e=>cn(e),setDependantNumberPreferredMeds:e=>ln(e),setDependantNumberBrandMeds:e=>an(e),setDependantNumberGenericMeds:e=>rn(e),dependantNumberGenericMeds:nn,dependantNumberBrandMeds:on,dependantNumberPreferredMeds:sn,dependantNumberSpecialtyMeds:un,questionDisclaimerText:dn,fedexVerbiageChangesFF:ue})},n):"emergency_visits"===t?(0,Cs.jsx)("div",{ref:xn.current[n],className:bs`
                                  scroll-margin-top: 20px;
                                `,children:(0,Cs.jsx)(MF,{setUrgentCareVisits:e=>gt(e),setERVisits:e=>yt(e),numberUrgentVisits:mt,numberERVisits:vt,type:"personal",shouldDisplayDependentQuestions:_n,setDependantUrgentCareVisits:e=>Qt(e),setDependantERVisits:e=>bt(e),dependantUrgentCareVisits:Kt,dependantERVisits:xt,questionDisclaimerText:dn})},n):"dental_buyup"===t?(0,Cs.jsx)("div",{ref:xn.current[n],className:bs`
                                  scroll-margin-top: 20px;
                                `,children:(0,Cs.jsx)(BB,{isSurvey:e.isSurvey,setDental:e=>_t(e),dental:Et,type:"personal",shouldDisplayDependentQuestions:_n,setDependantDental:e=>St(e),dependantDental:Ct})},n):"vision_buyup"===t?(0,Cs.jsx)("div",{ref:xn.current[n],className:bs`
                                  scroll-margin-top: 20px;
                                `,children:(0,Cs.jsx)(zB,{isSurvey:e.isSurvey,setValue:e=>Pt(e),value:At,type:"personal",shouldDisplayDependentQuestions:_n,setDependantVision:e=>Mt(e),dependantVision:Lt})},n):"baby"===t?(0,Cs.jsx)("div",{ref:xn.current[n],className:bs`
                                  scroll-margin-top: 20px;
                                `,children:(0,Cs.jsx)(NF,{isSurvey:e.isSurvey,info:(0,Cs.jsx)(EO,{pages:e.pages,moreInfo:"Only select yes if you will deliver this year."}),setBaby:e=>wt(e),baby:kt,type:"personal",shouldDisplayDependentQuestions:_n,setDependantBaby:e=>Zt(e),dependantBaby:Gt,questionDisclaimerText:dn})},n):"surgeries"===t?(0,Cs.jsx)("div",{ref:xn.current[n],className:bs`
                                  scroll-margin-top: 20px;
                                `,children:(0,Cs.jsx)(OF,{isSurvey:e.isSurvey,info:(0,Cs.jsx)(EO,{pages:e.pages}),setPlannedSurgeries:e=>Bt(e.target.value),plannedSurgeries:It,type:"personal",shouldDisplayDependentQuestions:_n,setDependantPlannedSurgeries:e=>Yt(e.target.value),dependantPlannedSurgeries:qt,questionDisclaimerText:dn})},n):"current_treatments"===t?(0,Cs.jsx)("div",{ref:xn.current[n],className:bs`
                                  scroll-margin-top: 20px;
                                `,children:(0,Cs.jsx)(TF,{setMedicalConditions:e=>zt(e.target.value),medicalConditions:Wt,type:"personal",shouldDisplayDependentQuestions:_n,setDependantMedicalConditions:e=>Ht(e.target.value),dependantMedicalConditions:$t,questionDisclaimerText:dn})},n):t.DefaultScale?(0,Cs.jsx)("div",{ref:xn.current[n],className:bs`
                                  scroll-margin-top: 20px;
                                `,children:(0,Cs.jsx)(oW,{enrolling:Je,customEmployeeLabel:null===e||void 0===e||null===(r=e.displaySettings)||void 0===r?void 0:r.custom_label_employee,customEmployeeSpouseLabel:null===e||void 0===e||null===(o=e.displaySettings)||void 0===o?void 0:o.custom_label_employee_spouse,customFamilyLabel:null===e||void 0===e||null===(i=e.displaySettings)||void 0===i?void 0:i.custom_label_family,customEmployeeChildrenLabel:null===e||void 0===e||null===(a=e.displaySettings)||void 0===a?void 0:a.custom_label_employee_children,setValue:e=>{Ft({...Tt,[t.AnswerProperty]:e})},value:Tt[t.AnswerProperty]||null,question:t})},n):void 0:null;var r,o,i,a})),_e===yn&&!!e.customQuestions&&e.customQuestions.length>0&&(0,Cs.jsx)("div",{ref:bn,className:bs`
                              scroll-margin-top: 20px;
                            `,children:e.customQuestions.map((e=>(0,Cs.jsx)(IB,{customQuestion:e,setAnswer:t=>{let n=(0,Wc.cloneDeep)(We);for(let r of n)r.questionId===e.ID&&(r.selectedResponses=t);ze(n)}})))}),!Rt&&_e===yn&&(0,Cs.jsx)("div",{ref:kn,className:bs`
                            scroll-margin-top: 20px;
                          `,children:(0,Cs.jsx)(qF,{setDisclaimerError:ke,disclaimerError:be,setDisclaimerAccepted:xe,disclaimerAccepted:ye})}),e.isDesktop&&(0,Cs.jsx)("div",{className:bs`
                            margin-bottom: 36px;
                          `,children:(0,Cs.jsx)(iS,{style:{padding:"12px 42px",backgroundColor:null!==(A=e.designStyles)&&void 0!==A&&null!==(P=A.Theme)&&void 0!==P&&null!==(L=P.Body)&&void 0!==L&&L.ButtonColor?null===(M=e.designStyles)||void 0===M||null===(N=M.Theme)||void 0===N||null===(T=N.Body)||void 0===T?void 0:T.ButtonColor:"#25282D",color:"#fff",borderRadius:"8px",minWidth:"188px"},id:"footer",variant:"contained",role:"nav",className:"page-nav-next",onClick:wn,disabled:Se,"aria-label":"See recommendation results","data-ph-capture-attribute-source":null===r_||void 0===r_||null===(F=r_.types)||void 0===F?void 0:F.RECOMMENDATIONS,"data-ph-capture-attribute-action":null===r_||void 0===r_||null===(R=r_.actions)||void 0===R?void 0:R.SEE_RESULTS,children:En})})]}),ut&&(0,Cs.jsx)(TB,{setCurrentPageIndex:e.setCurrentPageIndex,restart:()=>{me(!0),e.restartRecommendationFunction()},setOnRecommendationListPage:e.setOnRecommendationListPage,oldPageIndex:e.oldPageIndex,displaySettings:e.displaySettings,showMonthlyCosts:(()=>{for(let t of e.pages)if(t.CourseViewTotalsMonthly)return!0;return!1})(),healthCareRecommendation:$e,saveDecisionToolAnswers:mn,healthCareRecommendationLoading:Ve,closeClicked:e.closeClicked,medicalHistory:Vt,selectedBenefits:e.selectedBenefits,setSelectedBenefits:e.setSelectedBenefits,answers:hn(),setHideButton:Ee,hideMedicalPlans:"hideMedicalPlans"===e.currentPage.HTMLContent||!gn("doctor_visits")&&!gn("prescriptions")&&!gn("emergency_visits")&&!gn("baby")&&!gn("current_treatments")&&!gn("surgeries"),page:e.currentPage,customQuestionsAnswers:We,customQuestions:e.customQuestions,allCustomProducts:Pe,allCoreProducts:Me,spendingAccounts:Oe,allAdditionalProducts:Fe,recommendedCustomProducts:Ie,setRecommendedCustomProducts:Be,showRecommendationResults:ut,setShowRecommendationResults:ct,shareClicked:e.shareClicked,recId:e.recId,setRecId:e.setRecId,setOriginalRecs:e.setOriginalRecs,setUserSelectedRecs:e.setUserSelectedRecs,setDecisionToolOpen:e.setDecisionToolOpen,designStyles:e.designStyles})]})})})})}),!e.isDesktop&&!Ve&&(0,Cs.jsxs)("div",{className:bs`
              height: 80px;
              width: 100%;
              background: white;
              border-top: 1px solid #e8edf3;
              display: flex;
              justify-content: center;
              align-items: center;
              min-height: 80px;
              gap: 12px;
            `,children:[(0,Cs.jsx)(iS,{style:{padding:"12px 12px",backgroundColor:e.onRecommendationListPage?null!==e&&void 0!==e&&null!==(I=e.currentPage)&&void 0!==I&&I.EnrollmentURL?"transparent":null!==(B=e.designStyles)&&void 0!==B&&null!==(W=B.Theme)&&void 0!==W&&null!==(z=W.Body)&&void 0!==z&&z.ButtonColor?null===($=e.designStyles)||void 0===$||null===(H=$.Theme)||void 0===H||null===(V=H.Body)||void 0===V?void 0:V.ButtonColor:"#25282D":null!==(U=e.designStyles)&&void 0!==U&&null!==(q=U.Theme)&&void 0!==q&&null!==(Y=q.Body)&&void 0!==Y&&Y.ButtonColor?null===(G=e.designStyles)||void 0===G||null===(Z=G.Theme)||void 0===Z||null===(K=Z.Body)||void 0===K?void 0:K.ButtonColor:"#25282D",color:e.onRecommendationListPage&&null!==e&&void 0!==e&&null!==(Q=e.currentPage)&&void 0!==Q&&Q.EnrollmentURL?"#25282D":"#fff",marginRight:""+(e.onRecommendationListPage&&null!==e&&void 0!==e&&null!==(X=e.currentPage)&&void 0!==X&&X.EnrollmentURL?"0px":"16px"),marginLeft:"16px",minWidth:"140px",width:"100%"},id:"footer",variant:""+(e.onRecommendationListPage&&null!==e&&void 0!==e&&null!==(J=e.currentPage)&&void 0!==J&&J.EnrollmentURL?"outlined":"contained"),role:"nav",className:"page-nav-next",disabled:Se,onClick:wn,"data-ph-capture-attribute-source":null===r_||void 0===r_||null===(ee=r_.types)||void 0===ee?void 0:ee.RECOMMENDATIONS,"data-ph-capture-attribute-action":null===r_||void 0===r_||null===(te=r_.actions)||void 0===te?void 0:te.SEE_RESULTS,children:En}),(null===e||void 0===e||null===(ne=e.currentPage)||void 0===ne?void 0:ne.EnrollmentURL)&&e.onRecommendationListPage&&(0,Cs.jsx)(iS,{style:{padding:"12px 12px",backgroundColor:null!==(re=e.designStyles)&&void 0!==re&&null!==(oe=re.Theme)&&void 0!==oe&&null!==(ie=oe.Body)&&void 0!==ie&&ie.ButtonColor?null===(ae=e.designStyles)||void 0===ae||null===(se=ae.Theme)||void 0===se||null===(le=se.Body)||void 0===le?void 0:le.ButtonColor:"#25282D",color:"#fff",marginRight:"16px",marginLeft:"0px",minWidth:"140px",width:"100%"},id:"footer",variant:"contained",role:"nav",className:"page-nav-next",onClick:()=>{e.toggleEnrolledClicked()},children:"Enroll Now"})]})]})})};function r$(e){var t,n,r,o,i;e.Details&&((e={...e,...e.Details}).Carrier=e.ProviderName,e.CarrierName=e.ProviderName,e.CarrierID=e.ProviderID,e.Name=e.ProductName,e.Cost&&(e.EmployeeContributionType=null===(t=e.Cost)||void 0===t||null===(n=t.Contributions)||void 0===n?void 0:n.ContributionType,e.EmployeeContributions=null===(r=e.Cost)||void 0===r||null===(o=r.Contributions)||void 0===o?void 0:o.MonthlyContributions,e.TotalMonthlyPremiums=null===(i=e.Cost)||void 0===i?void 0:i.TotalMonthlyPremiums));return e}function o$(e,t){for(let r of e)r.Type=t,r.Plan.Details&&(r.Plan=r$(r.Plan),r.Plan.DeductibleResetDate=r.Plan.Details.DeductibleReset,r.Plan.OptionalPremiumLocation=r.Plan.Details.PremiumLocation||null,r.Plan.ExternalIdentifier=r.Plan.Details.ExternalIdentifier||"",r.Plan.NetworkInformation={Name:r.Plan.ProductNetworkName||r.Plan.Details.NetworkName,Description:r.Plan.ProductNetworkDescription||r.Plan.Details.NetworkDescription,ProviderSearchURL:r.Plan.ProductNetworkProviderSearchUrl||r.Plan.Details.NetworkProviderSearchUrl,MultiCarrierNetworkCarrierSearchURL:r.Plan.Details.MultiCarrierNetworkCarrierSearchUrl,MultiCarrierNetworkDescription:r.Plan.Details.MultiCarrierNetworkDescription,MultiCarrierNetworkName:r.Plan.Details.MultiCarrierNetworkName},r.PlanProductSuggestions&&r.PlanProductSuggestions.length>0&&(r.PlanProductSuggestions=r.PlanProductSuggestions.map((e=>(e.Product=r$(e.Product),e)))));let n=e;return(0,Wc.sortBy)(n,["-Score"])}function i$(e,t){for(let o of e)o.Type=t,o.Plan.Details&&(o.Plan=r$(o.Plan),o.Plan.DeductibleResetDate=o.Plan.Details.DeductibleReset,o.Plan.OptionalPremiumLocation=o.Plan.Details.PremiumLocation||null,o.Plan.ExternalIdentifier=o.Plan.Details.ExternalIdentifier||"",o.Plan.NetworkInformation={Name:o.Plan.ProductNetworkName||o.Plan.Details.NetworkName,Description:o.Plan.ProductNetworkDescription||o.Plan.Details.NetworkDescription,ProviderSearchURL:o.Plan.ProductNetworkProviderSearchUrl||o.Plan.Details.NetworkProviderSearchUrl,MultiCarrierNetworkCarrierSearchURL:o.Plan.Details.MultiCarrierNetworkCarrierSearchUrl,MultiCarrierNetworkDescription:o.Plan.Details.MultiCarrierNetworkDescription,MultiCarrierNetworkName:o.Plan.Details.MultiCarrierNetworkName},o.PlanProductSuggestions&&o.PlanProductSuggestions.length>0&&(o.PlanProductSuggestions=o.PlanProductSuggestions.map((e=>(e.Product=r$(e.Product),e)))));let n=[],r=(0,Wc.groupBy)(e,"Plan.MultiNetworkID");for(const o of Object.keys(r)){let e=r[o];if(o&&"null"!==o){let e=r[o],t={};for(let n of e)"core"===n.Plan.MultiNetworkCategory&&(t=(0,Wc.cloneDeep)(n));for(let n of e)"buyup"===n.Plan.MultiNetworkCategory?t.Plan.buyUpNetwork=(0,Wc.cloneDeep)(n):"narrow"===n.Plan.MultiNetworkCategory&&(t.Plan.narrowNetwork=(0,Wc.cloneDeep)(n));t.Plan.buyUpNetwork||(t.Plan.buyUpNetwork=!1),t.Plan.narrowNetwork||(t.Plan.narrowNetwork=!1),n.push(t)}else for(let t of e)t.Plan.buyUpNetwork=!1,t.Plan.narrowNetwork=!1,n.push(t)}return(0,Wc.sortBy)(n,["-Score"])}class a$ extends t.Component{render(){var e;return(0,Cs.jsx)(uO.div,{initial:"pageInitial",animate:"pageAnimate",exit:"pageExit",variants:{pageInitial:{opacity:0},pageAnimate:{opacity:1},pageExit:{x:-400,opacity:0}},className:bs`
          height: 100%;
          text-align: center;
          margin-bottom: 50px;
          padding-top: 10px;
        `,children:(0,Cs.jsxs)("div",{className:bs`
            margin: 12px;
            padding: 20px;
            border-radius: 10px;
            max-height: 600px;
          `,children:[(0,Cs.jsxs)("h1",{className:bs`
              font-family: 'Roboto';
              font-style: normal;
              font-weight: 700;
              font-size: 34px;
              line-height: 48px;
              /* identical to box height, or 141% */

              text-align: center;

              color: #25282d;
            `,children:[" ","Benefits Package Recommendations"]}),(0,Cs.jsx)("p",{className:bs`
              font-family: 'Roboto';
              font-style: normal;
              font-weight: 400;
              font-size: 16px;
              line-height: 24px;
              /* or 150% */
              text-align: center;
              color: #36414c;
            `,children:this.props.userSelectedRecs?"Your recommendations are ready!":"Answer a few simple questions to receive your personalized recommendations."}),(null===(e=this.props.fedexVerbiageChangesFF)||void 0===e?void 0:e.value)&&(0,Cs.jsx)("p",{className:bs`
                margin: auto;
                font-family: 'Roboto';
                font-style: italic;
                font-weight: 400;
                font-size: 12px;
                line-height: 16px;
                text-align: center;
                color: ${ks.gray[600]};
                max-width: 750px;
              `,children:"Disclaimer: This tool is used for estimation purposes only. All costs shown provide estimates based on average costs and do not reflect the actual costs for services provided, including pharmacy medications. Under no circumstance does this tool provide any guarantee of coverage for any programs provided by your Employer."}),(0,Cs.jsx)("div",{className:bs`
              margin-top: 40px;
              margin-bottom: 20px;
            `,children:(0,Cs.jsx)(iS,{style:{background:"#25282D",color:"#fff",borderRadius:"8px",padding:"12px 42px",fontWeight:700},id:"decision-tool-begin",variant:"contained",size:"large",color:"primary",onClick:()=>{this.props.setDecisionToolOpen(!0)},children:this.props.userSelectedRecs?"View your Recommendations":"Get My Recommendations"})})]})},"intro_question")}}const s$=e=>{var n,r,o,i,a,s,l,u,c,d,p,f,h,m,g,v,y,x,b,k,w,E,_,C,S,D,j,A,P,L,M,N,O,T,F,R;const[I,B]=(0,t.useState)(e.recommendedCustomProducts);return(0,Cs.jsx)("div",{className:bs`
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100%;
        width: 100%;
        background: white;
        overflow: hidden;
        z-index: 1999;
      `,children:(0,Cs.jsxs)("div",{className:bs`
          display: flex;
          flex-direction: column;
          height: 100%;
          overflow: hidden;
        `,children:[(0,Cs.jsxs)("header",{className:bs`
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: ${e.isDesktop?"8px":"4px"};
            max-height: 80px;
            border-bottom: 1px solid #e8edf3;
            min-height: ${e.isDesktop?"65px":"55px"};
          `,children:[(0,Cs.jsxs)("div",{className:bs`
              display: flex;
              align-items: center;
              cursor: pointer;
            `,onClick:()=>{e.setCloseClicked((e=>!e))},children:[e.logoUrl&&e.isDesktop&&(0,Cs.jsx)("img",{alt:"Logo",src:e.logoUrl,className:bs`
                  max-height: 54px;
                `}),e.logoUrl&&!e.isDesktop&&(0,Cs.jsx)("img",{alt:"Logo",src:e.logoUrl,className:bs`
                  padding-left: 12px;

                  max-height: 32px;
                `})]}),(0,Cs.jsxs)("div",{className:bs`
              display: flex;
              align-items: center;
              gap: 24px;
              font-family: 'Roboto';
              font-style: normal;
              font-weight: 700;
              font-size: 24px;
              line-height: 114%;
              /* identical to box height, or 114% */

              letter-spacing: 0.15px;

              color: #25282d;
              padding-right: 24px;
              padding-left: 24px;
            `,children:[(0,Cs.jsx)(Jz,{guideID:null===e||void 0===e||null===(n=e.page)||void 0===n?void 0:n.CourseID,changeLanguageCallback:e.changeLanguageCallback}),(0,Cs.jsx)(iS,{style:{padding:""+(e.isDesktop?"12px 42px":"8px 16px"),borderRadius:"8px",minWidth:""+(e.isDesktop?"188px":"140px")},role:"nav",variant:"outlined","aria-label":"Close",className:"page-nav-prev",onClick:()=>{e.setCloseClicked((e=>!e))},"data-ph-capture-attribute-source":null===r_||void 0===r_||null===(r=r_.types)||void 0===r?void 0:r.RECOMMENDATIONS,"data-ph-capture-attribute-action":null===r_||void 0===r_||null===(o=r_.actions)||void 0===o?void 0:o.BACK_TO_GUIDE,children:"Back to Guide"}),e.isDesktop&&(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsx)(iS,{style:{padding:e.isDesktop?"12px 42px":"12px 12px",backgroundColor:null!==e&&void 0!==e&&null!==(i=e.page)&&void 0!==i&&i.EnrollmentURL?"transparent":null!==(a=e.designStyles)&&void 0!==a&&null!==(s=a.Theme)&&void 0!==s&&null!==(l=s.Body)&&void 0!==l&&l.ButtonColor?null===(u=e.designStyles)||void 0===u||null===(c=u.Theme)||void 0===c||null===(d=c.Body)||void 0===d?void 0:d.ButtonColor:"#25282D",color:null!==e&&void 0!==e&&null!==(p=e.page)&&void 0!==p&&p.EnrollmentURL?"#25282D":"var(--button-text-color)",borderRadius:"8px",minWidth:"188px"},id:"footer",variant:""+(null!==e&&void 0!==e&&null!==(f=e.page)&&void 0!==f&&f.EnrollmentURL?"outlined":"contained"),role:"nav",className:"page-nav-next",onClick:()=>{e.setShareClicked((e=>!e))},disabled:!1,"aria-label":"See recommendation results",children:"Share Results"}),(null===e||void 0===e||null===(h=e.page)||void 0===h?void 0:h.EnrollmentURL)&&(0,Cs.jsx)(iS,{style:{padding:e.isDesktop?"12px 42px":"12px 12px",backgroundColor:null!==(m=e.designStyles)&&void 0!==m&&null!==(g=m.Theme)&&void 0!==g&&null!==(v=g.Body)&&void 0!==v&&v.ButtonColor?null===(y=e.designStyles)||void 0===y||null===(x=y.Theme)||void 0===x||null===(b=x.Body)||void 0===b?void 0:b.ButtonColor:"#25282D",color:"#fff",minWidth:"188px"},id:"footer",variant:"contained",role:"nav",className:"page-nav-next",onClick:()=>{e.toggleEnrolledClicked()},children:"Enroll Now"})]})]})]}),(0,Cs.jsx)("main",{className:bs`
            flex: auto;
            overflow-y: auto;
            background: #f5f7fa;
          `,children:(0,Cs.jsx)(uO.div,{animate:{opacity:1},initial:{opacity:0},transition:{ease:"easeOut",duration:2},className:bs`
              text-align: center;
              width: 100%;
              display: flex;
              flex-direction: column;
            `,children:(0,Cs.jsx)("section",{className:bs`
                button {
                  max-width: 260px;
                }
                width: 100%;
              `,children:(0,Cs.jsx)("div",{className:bs`
                  max-width: 750px;
                  margin: 0 auto;
                  padding: 12px;
                `,children:(0,Cs.jsx)(gO,{children:(0,Cs.jsx)(NB,{setCurrentPageIndex:e.setCurrentPageIndex,oldPageIndex:e.oldPageIndex,...e,setOnRecommendationListPage:e.setOnRecommendationListPage,recommendedCustomProducts:I,setRecommendedCustomProducts:B,shareClicked:e.shareClicked,recId:e.recId,setRecId:e.setRecId,closeClicked:e.closeClicked,setOriginalRecs:e.setOriginalRecs,setUserSelectedRecs:e.setUserSelectedRecs,setDecisionToolOpen:e.setDecisionToolOpen,designStyles:e.designStyles,selectedBenefits:e.selectedBenefits,setSelectedBenefits:e.setSelectedBenefits})})})})})}),!e.isDesktop&&(0,Cs.jsxs)("div",{className:bs`
              height: 80px;
              width: 100%;
              background: white;
              border-top: 1px solid #e8edf3;
              display: flex;
              justify-content: center;
              align-items: center;
              min-height: 80px;
              gap: 12px;
            `,children:[(0,Cs.jsx)(iS,{style:{padding:"12px 12px",backgroundColor:null!==e&&void 0!==e&&null!==(k=e.page)&&void 0!==k&&k.EnrollmentURL?"transparent":null!==(w=e.designStyles)&&void 0!==w&&null!==(E=w.Theme)&&void 0!==E&&null!==(_=E.Body)&&void 0!==_&&_.ButtonColor?null===(C=e.designStyles)||void 0===C||null===(S=C.Theme)||void 0===S||null===(D=S.Body)||void 0===D?void 0:D.ButtonColor:"#25282D",color:null!==e&&void 0!==e&&null!==(j=e.page)&&void 0!==j&&j.EnrollmentURL?"#25282D":"var(--button-text-color)",marginRight:""+(null!==e&&void 0!==e&&null!==(A=e.page)&&void 0!==A&&A.EnrollmentURL?"0px":"16px"),marginLeft:"16px",minWidth:"140px",width:"100%"},id:"footer",variant:""+(null!==e&&void 0!==e&&null!==(P=e.page)&&void 0!==P&&P.EnrollmentURL?"outlined":"contained"),role:"nav",className:"page-nav-next",onClick:()=>{e.setShareClicked((e=>!e))},children:"Share Results"}),(null===e||void 0===e||null===(L=e.page)||void 0===L?void 0:L.EnrollmentURL)&&(0,Cs.jsx)(iS,{style:{padding:"12px 12px",backgroundColor:null!==(M=e.designStyles)&&void 0!==M&&null!==(N=M.Theme)&&void 0!==N&&null!==(O=N.Body)&&void 0!==O&&O.ButtonColor?null===(T=e.designStyles)||void 0===T||null===(F=T.Theme)||void 0===F||null===(R=F.Body)||void 0===R?void 0:R.ButtonColor:"#25282D",color:"#fff",marginRight:"16px",marginLeft:"0px",minWidth:"140px",width:"100%"},id:"footer",variant:"contained",role:"nav",className:"page-nav-next",onClick:()=>{e.toggleEnrolledClicked()},children:"Enroll Now"})]})]})})};var l$=new Map;l$.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("polyline",{points:"144 56 216 128 144 200",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),l$.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("polyline",{points:"144 56 216 128 144 200",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),l$.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M221.7,133.7l-72,72A8.3,8.3,0,0,1,144,208a8.5,8.5,0,0,1-3.1-.6A8,8,0,0,1,136,200V136H40a8,8,0,0,1,0-16h96V56a8,8,0,0,1,4.9-7.4,8.4,8.4,0,0,1,8.8,1.7l72,72A8.1,8.1,0,0,1,221.7,133.7Z"}))})),l$.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("polyline",{points:"144 56 216 128 144 200",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),l$.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("polyline",{points:"144 56 216 128 144 200",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),l$.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("polyline",{points:"144 56 216 128 144 200",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var u$=function(e,t){return Ua(e,t,l$)},c$=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:u$}))}));c$.displayName="ArrowRight";const d$=c$;var p$=t.forwardRef((function(e,n){var r=e.children,i=e.classes,a=e.className,s=(e.color,e.component),l=void 0===s?"label":s,u=(e.disabled,e.error,e.filled,e.focused,e.required,(0,Is.A)(e,["children","classes","className","color","component","disabled","error","filled","focused","required"])),c=Pf({props:e,muiFormControl:Nf(),states:["color","required","focused","disabled","error","filled"]});return t.createElement(l,(0,Fs.A)({className:(0,o.A)(i.root,i["color".concat((0,Hs.A)(c.color||"primary"))],a,c.disabled&&i.disabled,c.error&&i.error,c.filled&&i.filled,c.focused&&i.focused,c.required&&i.required),ref:n},u),r,c.required&&t.createElement("span",{"aria-hidden":!0,className:(0,o.A)(i.asterisk,c.error&&i.error)},"\u2009","*"))}));const f$=(0,$s.A)((function(e){return{root:(0,Fs.A)({color:e.palette.text.secondary},e.typography.body1,{lineHeight:1,padding:0,"&$focused":{color:e.palette.primary.main},"&$disabled":{color:e.palette.text.disabled},"&$error":{color:e.palette.error.main}}),colorSecondary:{"&$focused":{color:e.palette.secondary.main}},focused:{},disabled:{},error:{},filled:{},required:{},asterisk:{"&$error":{color:e.palette.error.main}}}}),{name:"MuiFormLabel"})(p$);var h$=t.forwardRef((function(e,n){var r=e.classes,i=e.className,a=e.disableAnimation,s=void 0!==a&&a,l=(e.margin,e.shrink),u=(e.variant,(0,Is.A)(e,["classes","className","disableAnimation","margin","shrink","variant"])),c=Nf(),d=l;"undefined"===typeof d&&c&&(d=c.filled||c.focused||c.adornedStart);var p=Pf({props:e,muiFormControl:c,states:["margin","variant"]});return t.createElement(f$,(0,Fs.A)({"data-shrink":d,className:(0,o.A)(r.root,i,c&&r.formControl,!s&&r.animated,d&&r.shrink,"dense"===p.margin&&r.marginDense,{filled:r.filled,outlined:r.outlined}[p.variant]),classes:{focused:r.focused,disabled:r.disabled,error:r.error,required:r.required,asterisk:r.asterisk},ref:n},u))}));const m$=(0,$s.A)((function(e){return{root:{display:"block",transformOrigin:"top left"},focused:{},disabled:{},error:{},required:{},asterisk:{},formControl:{position:"absolute",left:0,top:0,transform:"translate(0, 24px) scale(1)"},marginDense:{transform:"translate(0, 21px) scale(1)"},shrink:{transform:"translate(0, 1.5px) scale(0.75)",transformOrigin:"top left"},animated:{transition:e.transitions.create(["color","transform"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},filled:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 20px) scale(1)","&$marginDense":{transform:"translate(12px, 17px) scale(1)"},"&$shrink":{transform:"translate(12px, 10px) scale(0.75)","&$marginDense":{transform:"translate(12px, 7px) scale(0.75)"}}},outlined:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 20px) scale(1)","&$marginDense":{transform:"translate(14px, 12px) scale(1)"},"&$shrink":{transform:"translate(14px, -6px) scale(0.75)"}}}}),{name:"MuiInputLabel"})(h$);var g$=t.forwardRef((function(e,n){var r=e.children,i=e.classes,a=e.className,s=e.component,l=void 0===s?"p":s,u=(e.disabled,e.error,e.filled,e.focused,e.margin,e.required,e.variant,(0,Is.A)(e,["children","classes","className","component","disabled","error","filled","focused","margin","required","variant"])),c=Pf({props:e,muiFormControl:Nf(),states:["variant","margin","disabled","error","filled","focused","required"]});return t.createElement(l,(0,Fs.A)({className:(0,o.A)(i.root,("filled"===c.variant||"outlined"===c.variant)&&i.contained,a,c.disabled&&i.disabled,c.error&&i.error,c.filled&&i.filled,c.focused&&i.focused,c.required&&i.required,"dense"===c.margin&&i.marginDense),ref:n},u)," "===r?t.createElement("span",{dangerouslySetInnerHTML:{__html:"&#8203;"}}):r)}));const v$=(0,$s.A)((function(e){return{root:(0,Fs.A)({color:e.palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,margin:0,"&$disabled":{color:e.palette.text.disabled},"&$error":{color:e.palette.error.main}}),error:{},disabled:{},marginDense:{marginTop:4},contained:{marginLeft:14,marginRight:14},focused:{},filled:{},required:{}}}),{name:"MuiFormHelperText"})(g$);var y$={standard:Vf,filled:Qf,outlined:th},x$=t.forwardRef((function(e,n){var r=e.autoComplete,i=e.autoFocus,a=void 0!==i&&i,s=e.children,l=e.classes,u=e.className,c=e.color,d=void 0===c?"primary":c,p=e.defaultValue,f=e.disabled,h=void 0!==f&&f,m=e.error,g=void 0!==m&&m,v=e.FormHelperTextProps,y=e.fullWidth,x=void 0!==y&&y,b=e.helperText,k=e.hiddenLabel,w=e.id,E=e.InputLabelProps,_=e.inputProps,C=e.InputProps,S=e.inputRef,D=e.label,j=e.multiline,A=void 0!==j&&j,P=e.name,L=e.onBlur,M=e.onChange,N=e.onFocus,O=e.placeholder,T=e.required,F=void 0!==T&&T,R=e.rows,I=e.rowsMax,B=e.maxRows,W=e.minRows,z=e.select,$=void 0!==z&&z,H=e.SelectProps,V=e.type,U=e.value,q=e.variant,Y=void 0===q?"standard":q,G=(0,Is.A)(e,["autoComplete","autoFocus","children","classes","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","hiddenLabel","id","InputLabelProps","inputProps","InputProps","inputRef","label","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","rowsMax","maxRows","minRows","select","SelectProps","type","value","variant"]);var Z={};if("outlined"===Y&&(E&&"undefined"!==typeof E.shrink&&(Z.notched=E.shrink),D)){var K,Q=null!==(K=null===E||void 0===E?void 0:E.required)&&void 0!==K?K:F;Z.label=t.createElement(t.Fragment,null,D,Q&&"\xa0*")}$&&(H&&H.native||(Z.id=void 0),Z["aria-describedby"]=void 0);var X=b&&w?"".concat(w,"-helper-text"):void 0,J=D&&w?"".concat(w,"-label"):void 0,ee=y$[Y],te=t.createElement(ee,(0,Fs.A)({"aria-describedby":X,autoComplete:r,autoFocus:a,defaultValue:p,fullWidth:x,multiline:A,name:P,rows:R,rowsMax:I,maxRows:B,minRows:W,type:V,value:U,id:w,inputRef:S,onBlur:L,onChange:M,onFocus:N,placeholder:O,inputProps:_},Z,C));return t.createElement(LO,(0,Fs.A)({className:(0,o.A)(l.root,u),disabled:h,error:g,fullWidth:x,hiddenLabel:k,ref:n,required:F,color:d,variant:Y},G),D&&t.createElement(m$,(0,Fs.A)({htmlFor:w,id:J},E),D),$?t.createElement(ah,(0,Fs.A)({"aria-describedby":X,id:w,labelId:J,value:U,input:te},H),s):te,b&&t.createElement(v$,(0,Fs.A)({id:X},v),b))}));const b$=(0,$s.A)({root:{}},{name:"MuiTextField"})(x$),k$=e=>{let{color:n,forceShowThankYou:r=!1}=e;const[o,i]=t.useState(""),[a,s]=t.useState(""),[l,u]=(0,t.useState)(!1),[c,d]=(0,t.useState)(!1),p=jB(),{data:{pages:f}}=Ww();(0,t.useEffect)((()=>{const e=p.getItem("sentFeedback");if("yes"===e)d(!0);else if(e)try{let t=JSON.parse(e);if(f&&f.length>0){t[f[0].CourseID]>(new Date).getTime()-7776e6&&d(!0)}}catch(ce){console.warn(ce)}}),[]);return c?r?(0,Cs.jsx)("div",{className:bs`
            border-radius: 16px;
            background: var(--100, #f5f7fa);
            padding: 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
            flex-wrap: wrap;
          `,children:(0,Cs.jsxs)("div",{className:bs`
              display: flex;
              flex-direction: column;
              align-items: center;
              justify-content: center;
              width: 100%;
              gap: 24px;
            `,children:[(0,Cs.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"52",height:"52",viewBox:"0 0 52 52",fill:"none",children:(0,Cs.jsx)("path",{d:"M26 7.49425e-08C21.4845 -0.000342722 17.0468 1.17532 13.1237 3.41123C9.2007 5.64715 5.92759 8.86622 3.62669 12.7515C1.32579 16.6368 0.0764314 21.0544 0.00161662 25.5692C-0.0731981 30.0841 1.02911 34.5406 3.20002 38.5L1.07502 45.975C0.875166 46.6628 0.862478 47.3915 1.03827 48.0859C1.21406 48.7803 1.57195 49.4151 2.07502 49.925C2.57806 50.4305 3.20855 50.7903 3.89959 50.9664C4.59063 51.1424 5.31645 51.1281 6.00002 50.925L13.5 48.8C16.9757 50.705 20.841 51.7901 24.8003 51.9725C28.7597 52.1548 32.7083 51.4295 36.3444 49.852C39.9805 48.2746 43.2078 45.8867 45.7796 42.8708C48.3515 39.855 50.1998 36.2911 51.1833 32.4515C52.1668 28.612 52.2594 24.5984 51.4541 20.7175C50.6489 16.8366 48.967 13.1913 46.537 10.06C44.107 6.92869 40.9934 4.39441 37.4339 2.65084C33.8745 0.907262 29.9636 0.00054902 26 7.49425e-08ZM34 32H18C17.4696 32 16.9609 31.7893 16.5858 31.4142C16.2107 31.0391 16 30.5304 16 30C16 29.4696 16.2107 28.9609 16.5858 28.5858C16.9609 28.2107 17.4696 28 18 28H34C34.5305 28 35.0392 28.2107 35.4142 28.5858C35.7893 28.9609 36 29.4696 36 30C36 30.5304 35.7893 31.0391 35.4142 31.4142C35.0392 31.7893 34.5305 32 34 32ZM34 24H18C17.4696 24 16.9609 23.7893 16.5858 23.4142C16.2107 23.0391 16 22.5304 16 22C16 21.4696 16.2107 20.9609 16.5858 20.5858C16.9609 20.2107 17.4696 20 18 20H34C34.5305 20 35.0392 20.2107 35.4142 20.5858C35.7893 20.9609 36 21.4696 36 22C36 22.5304 35.7893 23.0391 35.4142 23.4142C35.0392 23.7893 34.5305 24 34 24Z",fill:`${n}`})}),(0,Cs.jsx)("div",{className:bs`
                color: var(--700, #25282d);
                text-align: center;
                font-feature-settings: 'clig' off, 'liga' off;

                /* H2 */
                font-family: Roboto;
                font-size: 24px;
                font-style: normal;
                font-weight: 700;
                line-height: 32px; /* 133.333% */
              `,children:"Thank you!"}),(0,Cs.jsx)("div",{className:bs`
                color: var(--700, #25282d);
                font-feature-settings: 'clig' off, 'liga' off;

                /* Body - Regular */
                font-family: Roboto;
                font-size: 16px;
                font-style: normal;
                font-weight: 400;
                line-height: 24px; /* 150% */
                letter-spacing: 0.15px;
              `,children:"Your feedback helps us improve our education."})]})}):null:(0,Cs.jsxs)("div",{className:bs`
        border-radius: 16px;
        background: var(--100, #f5f7fa);
        padding: 24px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        flex-wrap: wrap;
      `,children:[!l&&(0,Cs.jsxs)(Cs.Fragment,{children:[" ",(0,Cs.jsx)("div",{className:bs`
              color: var(--700, #25282d);
              font-feature-settings: 'clig' off, 'liga' off;
              /* H4 */
              font-family: Roboto;
              font-size: 18px;
              font-style: normal;
              font-weight: 700;
              line-height: 28px; /* 155.556% */
              letter-spacing: 0.15px;
            `,children:"Do you feel confident to select your benefits?"}),(0,Cs.jsxs)("div",{className:bs`
              display: flex;
              align-items: center;
              gap: 16px;
            `,children:[(0,Cs.jsxs)("div",{className:bs`
                border-radius: 8px;
                border: ${"Yes"===o?"1px solid #3DC65E":"1px solid  #9aa7b5"};
                background: ${"Yes"===o?"#3DC65E":"#fff"};
                height: 44px;
                padding: 0px 32px 0px 24px;
                display: flex;
                gap: 8px;
                align-items: center;
                cursor: pointer;

                &:hover {
                  border: 2px solid var(--600, #25282d);
                  margin: -1px;
                }
              `,onClick:()=>i("Yes"),children:[(0,Cs.jsx)("div",{className:bs`
                  height: 24px;
                `,children:(0,Cs.jsx)(vh,{color:""+("Yes"===o?"white":"#25282d"),size:24})}),(0,Cs.jsx)("div",{className:bs`
                  color: ${"Yes"===o?"white":"#25282d"};
                  text-align: center;
                  font-feature-settings: 'clig' off, 'liga' off;
                  /* H4 */
                  font-family: Roboto;
                  font-size: 18px;
                  font-style: normal;
                  font-weight: 700;
                  line-height: 28px; /* 155.556% */
                  letter-spacing: 0.15px;
                `,children:"Yes"})]}),(0,Cs.jsxs)("div",{className:bs`
                border-radius: 8px;
                border: ${"No"===o?"1px solid #EB4E3D":"1px solid  #9aa7b5"};
                background: ${"No"===o?"#EB4E3D":"white"};
                height: 44px;
                padding: 0px 32px 0px 24px;
                display: flex;
                gap: 8px;
                align-items: center;
                cursor: pointer;

                &:hover {
                  border: 2px solid var(--600, #25282d);
                  margin: -1px;
                }
              `,onClick:()=>i("No"),children:[(0,Cs.jsx)("div",{className:bs`
                  height: 24px;
                `,children:(0,Cs.jsx)(kh,{color:""+("No"===o?"white":"#25282d"),size:24})}),(0,Cs.jsx)("div",{className:bs`
                  color: ${"No"===o?"white":"#25282d"};
                  text-align: center;
                  font-feature-settings: 'clig' off, 'liga' off;
                  /* H4 */
                  font-family: Roboto;
                  font-size: 18px;
                  font-style: normal;
                  font-weight: 700;

                  letter-spacing: 0.15px;
                `,children:"No"})]})]}),o&&(0,Cs.jsxs)("div",{className:bs`
                width: 100%;
                flex: 1;
              `,children:[(0,Cs.jsx)("div",{className:bs`
                  color: var(--700, #25282d);
                  font-feature-settings: 'clig' off, 'liga' off;
                  /* Body - Regular */
                  font-family: Roboto;
                  font-size: 16px;
                  font-style: normal;
                  font-weight: 400;
                  line-height: 24px; /* 150% */
                  letter-spacing: 0.15px;
                `,children:"Yes"===o?"Hey! We\u2019d love to know what you found most helpful about this guide.":"Dang. We\u2019d really like to know how we could have made this guide better?"}),(0,Cs.jsx)("div",{children:(0,Cs.jsx)(b$,{style:{width:"100%",backgroundColor:"white",borderRadius:"8px"},id:"standard-multiline-flexible",placeholder:"Leave your feedback",multiline:!0,rows:4,variant:"outlined",value:a,onChange:e=>{s(e.target.value)}})}),(0,Cs.jsx)("div",{className:bs`
                  margin-top: 12px;
                  display: flex;
                  justify-content: end;
                `,children:(0,Cs.jsx)(iS,{size:"large",variant:"outlined",onClick:async()=>{try{let e=await ue(),t="",n="";if(f&&f.length>0){let e=f[0];t=e.BusinessID,n=e.CourseID}let r={"Accept-Profile":"brite_public","Content-Profile":"brite_public",BusinessID:t};await Ha.post("public/v1/bp/confidence_survey",{business_id:t,course_id:n,visitor_id:e.visitorId,confident:"Yes"===o,feedback:a},{headers:r});try{let e=p.getItem("sentFeedback");if(e&&"yes"!==e){if(e){let t=JSON.parse(e);t[n]=(new Date).getTime(),p.setItem("sentFeedback",JSON.stringify(t))}}else p.setItem("sentFeedback",JSON.stringify({[n]:(new Date).getTime()}))}catch(ce){console.warn(ce),p.setItem("sentFeedback",JSON.stringify({[n]:(new Date).getTime()}))}u(!0)}catch(e){console.warn(e)}},disabled:!o,style:{backgroundColor:"white"},children:"Submit Feedback"})})]})]}),l&&(0,Cs.jsxs)("div",{className:bs`
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 100%;
            gap: 24px;
          `,children:[(0,Cs.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"52",height:"52",viewBox:"0 0 52 52",fill:"none",children:(0,Cs.jsx)("path",{d:"M26 7.49425e-08C21.4845 -0.000342722 17.0468 1.17532 13.1237 3.41123C9.2007 5.64715 5.92759 8.86622 3.62669 12.7515C1.32579 16.6368 0.0764314 21.0544 0.00161662 25.5692C-0.0731981 30.0841 1.02911 34.5406 3.20002 38.5L1.07502 45.975C0.875166 46.6628 0.862478 47.3915 1.03827 48.0859C1.21406 48.7803 1.57195 49.4151 2.07502 49.925C2.57806 50.4305 3.20855 50.7903 3.89959 50.9664C4.59063 51.1424 5.31645 51.1281 6.00002 50.925L13.5 48.8C16.9757 50.705 20.841 51.7901 24.8003 51.9725C28.7597 52.1548 32.7083 51.4295 36.3444 49.852C39.9805 48.2746 43.2078 45.8867 45.7796 42.8708C48.3515 39.855 50.1998 36.2911 51.1833 32.4515C52.1668 28.612 52.2594 24.5984 51.4541 20.7175C50.6489 16.8366 48.967 13.1913 46.537 10.06C44.107 6.92869 40.9934 4.39441 37.4339 2.65084C33.8745 0.907262 29.9636 0.00054902 26 7.49425e-08ZM34 32H18C17.4696 32 16.9609 31.7893 16.5858 31.4142C16.2107 31.0391 16 30.5304 16 30C16 29.4696 16.2107 28.9609 16.5858 28.5858C16.9609 28.2107 17.4696 28 18 28H34C34.5305 28 35.0392 28.2107 35.4142 28.5858C35.7893 28.9609 36 29.4696 36 30C36 30.5304 35.7893 31.0391 35.4142 31.4142C35.0392 31.7893 34.5305 32 34 32ZM34 24H18C17.4696 24 16.9609 23.7893 16.5858 23.4142C16.2107 23.0391 16 22.5304 16 22C16 21.4696 16.2107 20.9609 16.5858 20.5858C16.9609 20.2107 17.4696 20 18 20H34C34.5305 20 35.0392 20.2107 35.4142 20.5858C35.7893 20.9609 36 21.4696 36 22C36 22.5304 35.7893 23.0391 35.4142 23.4142C35.0392 23.7893 34.5305 24 34 24Z",fill:`${n}`})}),(0,Cs.jsx)("div",{className:bs`
              color: var(--700, #25282d);
              text-align: center;
              font-feature-settings: 'clig' off, 'liga' off;

              /* H2 */
              font-family: Roboto;
              font-size: 24px;
              font-style: normal;
              font-weight: 700;
              line-height: 32px; /* 133.333% */
            `,children:"Thank you!"}),(0,Cs.jsx)("div",{className:bs`
              color: var(--700, #25282d);
              font-feature-settings: 'clig' off, 'liga' off;

              /* Body - Regular */
              font-family: Roboto;
              font-size: 16px;
              font-style: normal;
              font-weight: 400;
              line-height: 24px; /* 150% */
              letter-spacing: 0.15px;
            `,children:"Your feedback helps us improve our education."})]})]})},w$={layer:{container:{zIndex:2e3},zIndex:2e3}},E$=e=>{var t,n,r,o,i,a,s,l;let{url:u,logoURL:c,setShow:d,designStyles:p,setCloseClicked:f}=e;return(0,Cs.jsx)(Cs.Fragment,{children:(0,Cs.jsx)(Pp,{theme:w$,children:(0,Cs.jsxs)(hf,{responsive:!0,full:!0,modal:!0,onClickOutside:()=>{d(!1)},onEsc:()=>{d(!1)},className:bs`
            height: 100%;
            width: 100%;
            background-color: rgba(37, 40, 45, 0.89) !important;
            box-sizing: border-box;
            padding-top: 32px;
            padding-bottom: 48px;
            overflow: auto;
          `,children:[(0,Cs.jsx)("div",{className:bs`
              display: flex;
              justify-content: end;
            `,children:(0,Cs.jsx)(iS,{style:{padding:"12px 12px",border:"1px solid #fff",color:"#fff",marginRight:"24px",width:"120px"},id:"footer",variant:"outlined",role:"nav",className:"page-nav-next",onClick:()=>{d(!1)},children:"Back"})}),(0,Cs.jsx)("div",{className:bs`
              width: 100%;
              max-width: 700px;

              -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
              -moz-box-sizing: border-box; /* Firefox, other Gecko */
              box-sizing: border-box; /* Opera/IE 8+ */
              margin: 0 auto;
              margin-top: 24px;
              @media (max-width: 800px) {
                max-width: 80%;
              }
            `,children:(0,Cs.jsx)(k$,{color:null!==p&&void 0!==p&&null!==(t=p.Theme)&&void 0!==t&&null!==(n=t.Body)&&void 0!==n&&n.ButtonColor?null===p||void 0===p||null===(r=p.Theme)||void 0===r||null===(o=r.Body)||void 0===o?void 0:o.ButtonColor:"#25282D"})}),(0,Cs.jsxs)("div",{className:bs`
              border-radius: 16px;
              display: flex;
              gap: 24px;
              padding: 24px;
              background: white;
              -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
              -moz-box-sizing: border-box; /* Firefox, other Gecko */
              box-sizing: border-box; /* Opera/IE 8+ */

              flex-wrap: wrap;
              align-items: center;
              justify-content: center;
              max-width: 700px;
              margin: 24px auto;
              @media (max-width: 800px) {
                max-width: 80%;
              }
            `,children:[(0,Cs.jsxs)("div",{children:[(0,Cs.jsx)("div",{className:bs`
                  color: #25282D;

                  text-align: center;
                  font-feature-settings: 'clig' off, 'liga' off;
                  /* H2 */
                  font-family: Roboto;
                  font-size: 24px;
                  font-style: normal;
                  font-weight: 700;
                  line-height: 32px; /
                  `,children:"Ready To Enroll in Your Benefits?"}),(0,Cs.jsx)("div",{className:bs`
                  font-family: 'Roboto';
                  font-style: normal;
                  font-weight: 400;
                  font-size: 16px;
                  line-height: 24px;
                  /* or 150% */

                  color: #66737f;
                  margin-top: 8px;
                  margin-bottom: 16px;
                  max-width: 510px;
                  text-align: center;
                `,children:"You will be enrolling online. The link has been provided by your employer and will open in a new tab"})]}),(0,Cs.jsxs)("div",{className:bs`
                border: 1px solid #d1dae3;
                border-radius: 8px;
                display: flex;
                align-items: center;
                padding: 24px;
                gap: 24px;
                justify-content: center;
                flex-wrap: wrap;
                @media (max-width: 400px) {
                  border: 1px solid transparent;
                }
              `,children:[c&&(0,Cs.jsx)("div",{className:bs`
                    max-width: 250px;
                    width: 250px;

                    box-sizing: border-box;

                    overflow-wrap: break-word;
                  `,children:(0,Cs.jsx)("img",{src:c,className:bs`
                      max-width: 100%;
                      max-height: 100%;
                    `})}),(0,Cs.jsx)("div",{children:(0,Cs.jsx)(iS,{style:{padding:"16px 24px",width:"282px",backgroundColor:null!==p&&void 0!==p&&null!==(i=p.Theme)&&void 0!==i&&null!==(a=i.Body)&&void 0!==a&&a.ButtonColor?null===p||void 0===p||null===(s=p.Theme)||void 0===s||null===(l=s.Body)||void 0===l?void 0:l.ButtonColor:"#25282D"},onClick:()=>{window.open(u,"_blank")},color:"primary",variant:"contained",size:"large",endIcon:(0,Cs.jsx)(d$,{size:24,color:"#fff"}),"data-ph-capture-attribute-source":r_.types.NAVIGATION,"data-ph-capture-attribute-action":r_.actions.ENROLL,children:"Enroll Now"})})]})]})]})})})},_$=e=>{var n;const r=Hw("depersonalize-premium"),{data:{selectedBenefits:o},setStore:i}=Ww(),a=e=>{let t=e;"function"===typeof e&&(t=e(o)),i("selectedBenefits",t)},[s,l]=t.useState(!1),[u,c]=t.useState(!1),[d,p]=t.useState(!1),f=()=>{e.clearStoredRecs(),e.restartRecommendationFunction(),a([])},h=()=>{e.setUserSelectedRecs(null)};return(0,t.useEffect)((()=>{var t,n,r;null!==e&&void 0!==e&&null!==(t=e.userSelectedRecs)&&void 0!==t&&null!==(n=t.selectedBenefits)&&void 0!==n&&n.length&&a([...null===e||void 0===e||null===(r=e.userSelectedRecs)||void 0===r?void 0:r.selectedBenefits])}),[null===e||void 0===e||null===(n=e.userSelectedRecs)||void 0===n?void 0:n.selectedBenefits]),e.decisionTool?!e.decisionTool||"aca"!==e.decisionTool&&e.userSelectedRecs?"open"===e.decisionTool&&e.userSelectedRecs?(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsx)(s$,{setCurrentPageIndex:e.setCurrentPageIndex,oldPageIndex:e.oldPageIndex,...e,...e.userSelectedRecs,restart:f,shareClicked:s,setShareClicked:l,recId:e.recId,setRecId:e.setRecId,closeClicked:u,setCloseClicked:c,designStyles:e.designStyles,isDesktop:e.isDesktop,selectedBenefits:o,setSelectedBenefits:a,editResponses:h,toggleEnrolledClicked:()=>{p((e=>!e))},changeLanguageCallback:e.changeLanguageCallback}),d&&(0,Cs.jsx)(E$,{setShow:p,url:null===e||void 0===e||null===(v=e.currentPage)||void 0===v?void 0:v.EnrollmentURL,logoURL:null===e||void 0===e||null===(y=e.currentPage)||void 0===y?void 0:y.EnrollmentLogoURL,designStyles:e.designStyles,setCloseClicked:c})]}):void 0:(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsx)(n$,{setCurrentPageIndex:e.setCurrentPageIndex,oldPageIndex:e.oldPageIndex,...e,recId:e.recId,setRecId:e.setRecId,shareClicked:s,setShareClicked:l,closeClicked:u,setCloseClicked:c,designStyles:e.designStyles,isDesktop:e.isDesktop,selectedBenefits:o,setSelectedBenefits:a,setUserAnswers:e.setUserAnswers,userAnswers:e.userAnswers,toggleEnrolledClicked:()=>{p((e=>!e))},changeLanguageCallback:e.changeLanguageCallback}),d&&(0,Cs.jsx)(E$,{setShow:p,url:null===e||void 0===e||null===(m=e.currentPage)||void 0===m?void 0:m.EnrollmentURL,logoURL:null===e||void 0===e||null===(g=e.currentPage)||void 0===g?void 0:g.EnrollmentLogoURL,designStyles:e.designStyles,setCloseClicked:c})]}):(0,Cs.jsx)("div",{className:"themeable-content",children:(0,Cs.jsx)(a$,{...e,fedexVerbiageChangesFF:r})});var m,g,v,y};var C$=t.forwardRef((function(e,n){var r=e.absolute,i=void 0!==r&&r,a=e.classes,s=e.className,l=e.component,u=void 0===l?"hr":l,c=e.flexItem,d=void 0!==c&&c,p=e.light,f=void 0!==p&&p,h=e.orientation,m=void 0===h?"horizontal":h,g=e.role,v=void 0===g?"hr"!==u?"separator":void 0:g,y=e.variant,x=void 0===y?"fullWidth":y,b=(0,Is.A)(e,["absolute","classes","className","component","flexItem","light","orientation","role","variant"]);return t.createElement(u,(0,Fs.A)({className:(0,o.A)(a.root,s,"fullWidth"!==x&&a[x],i&&a.absolute,d&&a.flexItem,f&&a.light,"vertical"===m&&a.vertical),role:v,ref:n},b))}));const S$=(0,$s.A)((function(e){return{root:{height:1,margin:0,border:"none",flexShrink:0,backgroundColor:e.palette.divider},absolute:{position:"absolute",bottom:0,left:0,width:"100%"},inset:{marginLeft:72},light:{backgroundColor:(0,zs.X4)(e.palette.divider,.08)},middle:{marginLeft:e.spacing(2),marginRight:e.spacing(2)},vertical:{height:"100%",width:1},flexItem:{alignSelf:"stretch",height:"auto"}}}),{name:"MuiDivider"})(C$);var D$=t.forwardRef((function(e,n){var r=e.classes,i=e.className,a=e.color,s=void 0===a?"primary":a,l=e.position,u=void 0===l?"fixed":l,c=(0,Is.A)(e,["classes","className","color","position"]);return t.createElement(xc,(0,Fs.A)({square:!0,component:"header",elevation:4,className:(0,o.A)(r.root,r["position".concat((0,Hs.A)(u))],r["color".concat((0,Hs.A)(s))],i,"fixed"===u&&"mui-fixed"),ref:n},c))}));const j$=(0,$s.A)((function(e){var t="light"===e.palette.type?e.palette.grey[100]:e.palette.grey[900];return{root:{display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",zIndex:e.zIndex.appBar,flexShrink:0},positionFixed:{position:"fixed",top:0,left:"auto",right:0,"@media print":{position:"absolute"}},positionAbsolute:{position:"absolute",top:0,left:"auto",right:0},positionSticky:{position:"sticky",top:0,left:"auto",right:0},positionStatic:{position:"static"},positionRelative:{position:"relative"},colorDefault:{backgroundColor:t,color:e.palette.getContrastText(t)},colorPrimary:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText},colorSecondary:{backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText},colorInherit:{color:"inherit"},colorTransparent:{backgroundColor:"transparent",color:"inherit"}}}),{name:"MuiAppBar"})(D$);var A$=t.forwardRef((function(e,n){var r=e.classes,i=e.className,a=e.component,s=void 0===a?"div":a,l=e.disableGutters,u=void 0!==l&&l,c=e.variant,d=void 0===c?"regular":c,p=(0,Is.A)(e,["classes","className","component","disableGutters","variant"]);return t.createElement(s,(0,Fs.A)({className:(0,o.A)(r.root,r[d],i,!u&&r.gutters),ref:n},p))}));const P$=(0,$s.A)((function(e){return{root:{position:"relative",display:"flex",alignItems:"center"},gutters:(0,Bs.A)({paddingLeft:e.spacing(2),paddingRight:e.spacing(2)},e.breakpoints.up("sm"),{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}),regular:e.mixins.toolbar,dense:{minHeight:48}}}),{name:"MuiToolbar"})(A$);var L$=t.forwardRef((function(e,n){var r=e.classes,i=e.className,a=e.color,s=void 0===a?"default":a,l=e.component,u=void 0===l?"li":l,c=e.disableGutters,d=void 0!==c&&c,p=e.disableSticky,f=void 0!==p&&p,h=e.inset,m=void 0!==h&&h,g=(0,Is.A)(e,["classes","className","color","component","disableGutters","disableSticky","inset"]);return t.createElement(u,(0,Fs.A)({className:(0,o.A)(r.root,i,"default"!==s&&r["color".concat((0,Hs.A)(s))],m&&r.inset,!f&&r.sticky,!d&&r.gutters),ref:n},g))}));const M$=(0,$s.A)((function(e){return{root:{boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:e.palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},colorPrimary:{color:e.palette.primary.main},colorInherit:{color:"inherit"},gutters:{paddingLeft:16,paddingRight:16},inset:{paddingLeft:72},sticky:{position:"sticky",top:0,zIndex:1,backgroundColor:"inherit"}}}),{name:"MuiListSubheader"})(L$);var N$=new Map;N$.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"116",cy:"116",r:"84",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"175.4",y1:"175.4",x2:"224",y2:"224",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),N$.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"116",cy:"116",r:"84",opacity:"0.2"}),t.createElement("circle",{cx:"116",cy:"116",r:"84",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"175.4",y1:"175.4",x2:"224",y2:"224",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),N$.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M176,116a60,60,0,1,1-60-60A60,60,0,0,1,176,116Zm53.6,113.7A8,8,0,0,1,224,232a8.3,8.3,0,0,1-5.7-2.3l-43.2-43.3a92.2,92.2,0,1,1,11.3-11.3l43.2,43.2A8,8,0,0,1,229.6,229.7ZM116,192a76,76,0,1,0-76-76A76.1,76.1,0,0,0,116,192Z"}))})),N$.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"116",cy:"116",r:"84",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"175.4",y1:"175.4",x2:"224",y2:"224",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),N$.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"116",cy:"116",r:"84",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"175.4",y1:"175.4",x2:"224",y2:"224",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),N$.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("circle",{cx:"116",cy:"116",r:"84",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"175.4",y1:"175.4",x2:"224",y2:"224",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var O$=function(e,t){return Ua(e,t,N$)},T$=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:O$}))}));T$.displayName="MagnifyingGlass";const F$=T$,R$=function(e,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{immediateFirst:o=!1,runAtEveryInterval:i=!1}=r,a=(0,t.useRef)(null),s=(0,t.useRef)(null);return function(){for(var t=arguments.length,r=new Array(t),l=0;l<t;l++)r[l]=arguments[l];a.current=r,o?null===s.current?(e(...a.current),s.current=setTimeout((()=>{e(...a.current),s.current=null}),n)):i||(clearTimeout(s.current),s.current=setTimeout((()=>{e(...a.current),s.current=null}),n)):(null!==s.current&&(clearTimeout(s.current),s.current=null),s.current=setTimeout((()=>{e(...a.current)}),n))}},I$=BC((e=>({appBar:{position:"relative",borderBottom:"1px solid #E8EDF3"},search:{position:"relative",flex:1,borderRadius:e.shape.borderRadius,backgroundColor:"transparent",display:"flex",marginRight:e.spacing(2),marginLeft:0,width:"100%",[e.breakpoints.up("sm")]:{width:"auto"}},searchIcon:{height:"100%",position:"absolute",pointerEvents:"none",display:"flex",alignItems:"center",justifyContent:"center"},inputRoot:{color:"inherit",flex:1},primary:{fontFamily:"Roboto",fontWeight:700,fontSize:"18px",lineHeight:"24px",letterSpacing:"0.15px",color:"#25282D"},secondary:{fontFamily:"Roboto",fontWeight:400,fontSize:"16px",lineHeight:"24px",letterSpacing:"0.15px",color:"#66737F"},inputInput:{padding:e.spacing(1,1,1,0),paddingLeft:`calc(1em + ${e.spacing(5)}px)`,transition:e.transitions.create("width"),width:"100%",flex:1,fontFamily:"Roboto",fontStyle:"normal",fontWeight:400,fontSize:16,lineHeight:"24px",letterSpacing:.15,color:"#25282D",[e.breakpoints.up("md")]:{width:"20ch"}}}))),B$=t.forwardRef((function(e,t){return(0,Cs.jsx)(JC,{direction:"up",ref:t,...e})}));function W$(e,t){if(!e)return JSON.stringify(t);return(new DOMParser).parseFromString(e,"text/html").body.textContent||""}function z$(e){const n=I$(),[r,o]=t.useState(!1),[i,a]=(0,t.useState)(""),[s,l]=(0,t.useState)([]),u=R$((async()=>{if(i)try{await Ha.get(`/public/v1/guide/${e.courseId}/search?search=${i}`)}catch(ce){console.log("error recording search",ce)}}),2e3);(0,t.useEffect)((()=>{const t=setTimeout((()=>{let t=e.pages.filter((e=>W$(e.HTMLContent,e.Content).toLowerCase().includes(i.toLowerCase().trim())));for(let e of t){const t=W$(e.HTMLContent,e.Content);if(!e.HTMLContent)continue;let n=t.toLowerCase().indexOf(i.toLowerCase().trim()),r=t.length,o=n-40,a=n+40,s=!1;a>r&&(a=r-1,s=!0),o<0&&(o=0);let l=t.substring(o,a);0!==o&&(l=`...${l}`),s||(l=`${l}...`),e.excerpt=l}i||(t=[]),u(),l(t)}),500);return()=>clearTimeout(t)}),[i]);const c=()=>{o(!1),a("")};return(0,Cs.jsxs)("div",{children:[(0,Cs.jsx)(Ou,{PopperProps:{style:{zIndex:234234}},title:"Search",children:(0,Cs.jsx)(zC,{color:"inherit","aria-label":"Search",onClick:()=>{o(!0)},edge:"end",children:(0,Cs.jsx)(F$,{})})}),(0,Cs.jsxs)(uS,{fullScreen:!0,open:r,onClose:c,TransitionComponent:B$,children:[(0,Cs.jsx)(j$,{className:n.appBar,color:"transparent",elevation:"0",children:(0,Cs.jsxs)(P$,{children:[(0,Cs.jsxs)("div",{className:n.search,children:[(0,Cs.jsx)("div",{className:n.searchIcon,children:(0,Cs.jsx)(F$,{})}),(0,Cs.jsx)($f,{value:i,onChange:e=>a(e.target.value),placeholder:"Search",classes:{root:n.inputRoot,input:n.inputInput},autoFocus:!0,inputProps:{"aria-label":"search"}})]}),(0,Cs.jsx)(zC,{edge:"start","aria-label":"Close Search",color:"inherit",onClick:c,"aria-label":"close",children:(0,Cs.jsx)(kh,{})})]})}),(0,Cs.jsxs)(jc,{style:{marginTop:"32px"},subheader:(0,Cs.jsx)(M$,{disableSticky:!0,component:"div",id:"nested-list-subheader",style:{paddingLeft:"28px",fontFamily:"Roboto",fontStyle:"normal",fontWeight:400,fontSize:"14px",lineHeight:"24px",letterSpacing:"0.15px",color:"#66737F",marginBottom:"16px"},children:"Search Results"}),children:[i&&s&&0===s.length&&(0,Cs.jsx)(vE,{style:{padding:"16px",paddingLeft:"28px",paddingRight:"28px"},button:!0,onClick:()=>{},children:(0,Cs.jsx)(RB,{primary:"No Results",classes:{primary:n.primary,secondary:n.secondary}})}),s.map((r=>(0,Cs.jsxs)(t.Fragment,{children:[(0,Cs.jsx)(vE,{style:{padding:"16px",paddingLeft:"28px",paddingRight:"28px"},button:!0,onClick:()=>{(t=>{let n=0;for(let r of e.pages){if(r.Order===t)break;n++}e.setCurrentPageIndex(n),o(!1),a("")})(r.Order)},children:(0,Cs.jsx)(RB,{classes:{primary:n.primary,secondary:n.secondary},primary:r.Name,secondary:r.excerpt})}),(0,Cs.jsx)(S$,{})]},r.ID)))]})]})]})}var $$=n(2261),H$=n.n($$),V$=new Map;V$.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M210.3,35.9,23.9,88.4a8,8,0,0,0-1.2,15l85.6,40.5a7.8,7.8,0,0,1,3.8,3.8l40.5,85.6a8,8,0,0,0,15-1.2L220.1,45.7A7.9,7.9,0,0,0,210.3,35.9Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"110.9",y1:"145.1",x2:"156.1",y2:"99.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),V$.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M210.3,35.9,23.9,88.4a8,8,0,0,0-1.2,15l85.6,40.5a7.8,7.8,0,0,1,3.8,3.8l40.5,85.6a8,8,0,0,0,15-1.2L220.1,45.7A7.9,7.9,0,0,0,210.3,35.9Z",opacity:"0.2"}),t.createElement("path",{d:"M210.3,35.9,23.9,88.4a8,8,0,0,0-1.2,15l85.6,40.5a7.8,7.8,0,0,1,3.8,3.8l40.5,85.6a8,8,0,0,0,15-1.2L220.1,45.7A7.9,7.9,0,0,0,210.3,35.9Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"110.9",y1:"145.1",x2:"156.1",y2:"99.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),V$.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M227.7,48.3,175.3,234.2a15.9,15.9,0,0,1-14.1,11.6h-1.4a16,16,0,0,1-14.4-9.1l-35.7-75.4a4.1,4.1,0,0,1,.8-4.6l51.3-51.3a8,8,0,1,0-11.3-11.3L99.2,145.5a4.1,4.1,0,0,1-4.6.8l-75-35.5a16.6,16.6,0,0,1-9.5-15.6A15.9,15.9,0,0,1,21.8,80.7L208.1,28.2a16,16,0,0,1,17.7,6.5A16.7,16.7,0,0,1,227.7,48.3Z"}))})),V$.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M210.3,35.9,23.9,88.4a8,8,0,0,0-1.2,15l85.6,40.5a7.8,7.8,0,0,1,3.8,3.8l40.5,85.6a8,8,0,0,0,15-1.2L220.1,45.7A7.9,7.9,0,0,0,210.3,35.9Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"110.9",y1:"145.1",x2:"156.1",y2:"99.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),V$.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M210.3,35.9,23.9,88.4a8,8,0,0,0-1.2,15l85.6,40.5a7.8,7.8,0,0,1,3.8,3.8l40.5,85.6a8,8,0,0,0,15-1.2L220.1,45.7A7.9,7.9,0,0,0,210.3,35.9Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"110.9",y1:"145.1",x2:"156.1",y2:"99.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),V$.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M210.3,35.9,23.9,88.4a8,8,0,0,0-1.2,15l85.6,40.5a7.8,7.8,0,0,1,3.8,3.8l40.5,85.6a8,8,0,0,0,15-1.2L220.1,45.7A7.9,7.9,0,0,0,210.3,35.9Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"110.9",y1:"145.1",x2:"156.1",y2:"99.9",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var U$=function(e,t){return Ua(e,t,V$)},q$=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:U$}))}));q$.displayName="PaperPlaneTilt";const Y$=q$,G$={layer:{container:{zIndex:2e3},zIndex:2e3}};const Z$=e=>{var n,r,o,i,a,s;let{shareData:l={title:"",text:"",url:""},designStyles:u}=e;const[c,d]=(0,t.useState)(!1);return(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsx)(Pp,{theme:G$,children:c&&(0,Cs.jsx)(hf,{responsive:!0,position:"center",modal:!0,margin:"small",onClickOutside:()=>d(!1),onEsc:()=>d(!1),className:bs`
              width: 100vw;
              max-width: 500px !important;
            `,children:(0,Cs.jsxs)("div",{className:bs`
                padding: 24px 32px;
              `,children:[(0,Cs.jsxs)("div",{className:bs`
                  display: flex;
                  justify-content: space-between;
                  align-items: center;
                `,children:[(0,Cs.jsx)("div",{className:bs`
                    font-family: 'Roboto';
                    font-style: normal;
                    font-weight: 700;
                    font-size: 24px;
                    line-height: 32px;
                    /* identical to box height, or 133% */

                    color: #25282d;
                  `,children:"Share"}),(0,Cs.jsx)(zC,{onClick:()=>d(!1),children:(0,Cs.jsx)(kh,{})})]}),(0,Cs.jsx)("div",{className:bs`
                  font-family: 'Roboto';
                  font-style: normal;
                  font-weight: 400;
                  font-size: 16px;
                  line-height: 24px;
                  /* or 150% */

                  letter-spacing: 0.15px;

                  color: #66737f;
                  margin-top: 18px;
                `,children:"We are all about communication. If you have someone in your family who needs to know about this guide, let's get the conversation going!"}),(0,Cs.jsx)("div",{className:bs`
                  display: flex;
                  align-items: center;
                  justify-content: center;
                  gap: 32px;
                  margin-top: 32px;
                  margin-bottom: 32px;
                `,children:(0,Cs.jsxs)("div",{onClick:()=>{navigator.clipboard.writeText(l.url),d(!1),O.success("Guide link has been copied ",{position:O.POSITION.TOP_CENTER,closeButton:(0,Cs.jsx)(kh,{size:"32",color:"#25282D"}),progressClassName:bs`
                        background: #25282d;
                      `,className:bs`
                        background: white !important;
                        font-family: 'Roboto';
                        font-style: normal;
                        font-weight: 700;
                        font-size: 18px;
                        line-height: 133.4%;
                        /* identical to box height, or 24px */
                        display: flex;
                        align-items: center;
                        color: #25282d;
                      `})},className:bs`
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    cursor: pointer;
                  `,children:[(0,Cs.jsx)("div",{className:bs`
                      background: ${null!==u&&void 0!==u&&null!==(n=u.Theme)&&void 0!==n&&null!==(r=n.Body)&&void 0!==r&&r.ButtonColor?null===u||void 0===u||null===(o=u.Theme)||void 0===o||null===(i=o.Body)||void 0===i?void 0:i.ButtonColor:"#25282D"};
                      border-radius: 51px;
                      display: flex;
                      flex-direction: column;
                      align-items: center;
                      padding: 20px;
                      &:hover {
                        opacity: 0.9;
                      }
                    `,children:(0,Cs.jsx)(vB,{size:"40px",color:"white"})}),(0,Cs.jsx)("div",{className:bs`
                      font-family: 'Roboto';
                      font-style: normal;
                      font-weight: 400;
                      font-size: 16px;
                      line-height: 24px;
                      /* identical to box height, or 150% */

                      text-align: center;
                      letter-spacing: 0.15px;

                      color: #25282d;
                      margin-top: 16px;
                    `,children:"Copy Link"})]})}),(0,Cs.jsx)("div",{className:bs`
                  font-family: 'Roboto';
                  font-style: normal;
                  font-weight: 400;
                  font-size: 16px;
                  line-height: 24px;
                  /* or 150% */

                  letter-spacing: 0.15px;

                  color: #66737f;
                  margin-top: 18px;
                `,children:"Click the button above to copy the link and then share it with anyone by sending them the text or email."})]})})}),(0,Cs.jsx)("div",{className:bs`
          margin-left: -2px;
        `,children:(0,Cs.jsx)(Ou,{PopperProps:{style:{zIndex:234234}},title:"Share",children:(0,Cs.jsx)(zC,{color:"inherit","aria-label":"Share",edge:"end","data-ph-capture-attribute-source":null===r_||void 0===r_||null===(a=r_.types)||void 0===a?void 0:a.RECOMMENDATIONS,"data-ph-capture-attribute-action":null===r_||void 0===r_||null===(s=r_.actions)||void 0===s?void 0:s.SHARE,onClick:()=>(async()=>{if(window.navigator.share)try{await navigator.share(l),d(!1)}catch(e){d(!0)}else d(!0)})(),children:(0,Cs.jsx)(Y$,{})})})})]})},K$=BC((e=>({appBar:{position:"relative"},search:{position:"relative",flex:1,borderRadius:e.shape.borderRadius,backgroundColor:"transparent",display:"flex",marginRight:e.spacing(2),marginLeft:0,width:"100%",[e.breakpoints.up("sm")]:{width:"auto"}},searchIcon:{height:"100%",position:"absolute",pointerEvents:"none",display:"flex",alignItems:"center",justifyContent:"center"},inputRoot:{color:"inherit",flex:1},primary:{fontFamily:"Roboto",fontWeight:700,fontSize:"18px",lineHeight:"24px",letterSpacing:"0.15px",color:"#25282D"},secondary:{fontFamily:"Roboto",fontWeight:400,fontSize:"16px",lineHeight:"24px",letterSpacing:"0.15px",color:"#66737F"},inputInput:{padding:e.spacing(1,1,1,0),paddingLeft:`calc(1em + ${e.spacing(5)}px)`,transition:e.transitions.create("width"),width:"100%",flex:1,fontFamily:"Roboto",fontStyle:"normal",fontWeight:400,fontSize:16,lineHeight:"24px",letterSpacing:.15,color:"#25282D",[e.breakpoints.up("md")]:{width:"20ch"}}})));function Q$(e,t){if(!e)return JSON.stringify(t);return(new DOMParser).parseFromString(e,"text/html").body.textContent||""}function X$(e){const n=K$(),[r,o]=t.useState(!1),[i,a]=(0,t.useState)(""),[s,l]=(0,t.useState)([]),u=R$((async()=>{if(i)try{await Ha.get(`/public/v1/guide/${e.courseId}/search?search=${i}`)}catch(ce){console.log("error recording search",ce)}}),2e3);(0,t.useEffect)((()=>{const t=setTimeout((()=>{let t=e.pages.filter((e=>Q$(e.HTMLContent,e.Content).toLowerCase().includes(i.toLowerCase().trim())));for(let e of t){const t=Q$(e.HTMLContent,e.Content);if(!e.HTMLContent)continue;let n=t.toLowerCase().indexOf(i.toLowerCase().trim()),r=t.length,o=n-40,a=n+40,s=!1;a>r&&(a=r-1,s=!0),o<0&&(o=0);let l=t.substring(o,a);0!==o&&(l=`...${l}`),s||(l=`${l}...`),e.excerpt=l}i||(t=[]),u(),l(t)}),500);return()=>clearTimeout(t)}),[i]);return(0,Cs.jsxs)("div",{className:bs`
        flex: 1;
        max-width: 768px;
        margin-left: 32px;
        margin-right: 32px;
      `,children:[(0,Cs.jsx)("div",{className:n.appBar,color:"transparent",elevation:"0",children:(0,Cs.jsxs)("div",{className:bs`
            display: flex;
          `,children:[(0,Cs.jsxs)("div",{className:n.search,children:[(0,Cs.jsx)("div",{className:n.searchIcon,children:(0,Cs.jsx)(F$,{})}),(0,Cs.jsx)($f,{value:i,onChange:e=>a(e.target.value),placeholder:"Search",classes:{root:n.inputRoot,input:n.inputInput},autoFocus:!0,inputProps:{"aria-label":"search"}})]}),(0,Cs.jsx)(zC,{edge:"start","aria-label":"Close Search",color:"inherit",onClick:()=>{o(!1),a(""),e.setSearchDesktopOpen(!1)},"aria-label":"close",children:(0,Cs.jsx)(kh,{})})]})}),i&&(0,Cs.jsx)("div",{className:bs`
            position: fixed;
            top: 108px;
            left: 50%;
            transform: translate(-50%, 0);
            z-index: 999999;
            background: #ffffff;
            width: 100%;
            max-width: 736px;
            margin-left: 24px;

            box-shadow: 0px 2px 8px rgba(37, 40, 45, 0.25);
            border-radius: 16px;
            max-height: 400px;
            overflow: auto;
          `,children:(0,Cs.jsxs)(jc,{style:{marginTop:"32px",marginBottom:"48px"},subheader:(0,Cs.jsx)(M$,{disableSticky:!0,component:"div",id:"nested-list-subheader",style:{paddingLeft:"28px",fontFamily:"Roboto",fontStyle:"normal",fontWeight:400,fontSize:"14px",lineHeight:"24px",letterSpacing:"0.15px",color:"#66737F",marginBottom:"16px"},children:"Search Results"}),children:[i&&s&&0===s.length&&(0,Cs.jsx)(vE,{style:{padding:"16px",paddingLeft:"28px",paddingRight:"28px"},button:!0,onClick:()=>{},children:(0,Cs.jsx)(RB,{primary:"No Results",classes:{primary:n.primary,secondary:n.secondary}})}),s.map((r=>(0,Cs.jsxs)(t.Fragment,{children:[(0,Cs.jsx)(vE,{style:{padding:"16px",paddingLeft:"28px",paddingRight:"28px"},button:!0,onClick:()=>{(t=>{let n=0;for(let r of e.pages){if(r.Order===t)break;n++}e.setCurrentPageIndex(n),o(!1),a(""),e.setSearchDesktopOpen(!1)})(r.Order)},children:(0,Cs.jsx)(RB,{classes:{primary:n.primary,secondary:n.secondary},primary:r.Name,secondary:r.excerpt})}),(0,Cs.jsx)(S$,{})]},r.ID)))]})})]})}function J$(){const[e,n]=(0,t.useState)(null),[r,o]=(0,t.useState)(null),[i,a]=(0,t.useState)(null),[s,l]=(0,t.useState)(!1),[u,c]=(0,t.useState)(""),d=jB(),{setStore:p}=Ww();(0,t.useEffect)((()=>{p("acaCostData",{members:(null===i||void 0===i?void 0:i.acaEnrollingMembers)||[],state:null===i||void 0===i?void 0:i.livingState,zipCode:null===i||void 0===i?void 0:i.zipCode})}),[i]);const f=()=>{(()=>{let e=window.location.pathname.split("/"),t=1;for(let n of e)"survey"===n&&(t=2);const r=d.getItem(DO+e[t]),o=JSON.parse(r)||{};o.updatedAt&&xO(new Date(o.updatedAt))?n(o):(d.removeItem(DO+e[t]),n(null))})(),(()=>{let e=window.location.pathname.split("/"),t=1;for(let o of e)"survey"===o&&(t=2);const n=d.getItem(AO+e[t]),r=JSON.parse(n)||{};r.updatedAt&&xO(new Date(r.updatedAt))?a(r):(d.removeItem(AO+e[t]),a(null))})(),(()=>{let e=window.location.pathname.split("/"),t=1;for(let o of e)"survey"===o&&(t=2);const n=d.getItem(jO+e[t]),r=JSON.parse(n)||{};r.updatedAt&&xO(new Date(r.updatedAt))?o(r):(d.removeItem(jO+e[t]),o(null))})()};(0,t.useEffect)((()=>{(async()=>{const e=new URLSearchParams(window.location.search).get("rec");if(e){c(e);try{const t=`/public/v1/bp/employee_elections?id=eq.${e}`,{data:n}=await Ha.get(t,{headers:{"Accept-Profile":"brite_public"}});n&&n.length&&n.length>0&&n[0].id&&l(!0);let r=(new Date).toISOString(),o=window.location.pathname.split("/"),i=1;for(let e of o)"survey"===e&&(i=2);try{d.setItem(DO+o[i],JSON.stringify({...n[0].plan_elections[0],updatedAt:r}))}catch(ce){d.clear()}try{d.setItem(jO+o[i],JSON.stringify({...n[0].plan_elections[0],updatedAt:r}))}catch(ce){d.clear()}f()}catch(t){console.error(t),c(""),f()}}else c(""),f()})()}),[]);return{originalRecs:e,userSelectedRecs:r,userAnswers:i,clearStoredRecs:()=>{let e=window.location.pathname.split("/"),t=1;for(let n of e)"survey"===n&&(t=2);d.removeItem(DO+e[t]),d.removeItem(jO+e[t]),d.removeItem(AO+e[t]),n(null),o(null),a(null),c("")},openRecResults:s,recId:u,setRecId:c,setUserSelectedRecs:o,setOriginalRecs:n,setUserAnswers:a}}var eH=new Map;eH.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"128",y1:"116",x2:"128",y2:"172",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"156",y1:"144",x2:"100",y2:"144",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("rect",{x:"32",y:"72",width:"192",height:"144",rx:"8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("path",{d:"M168,72V52a16,16,0,0,0-16-16H104A16,16,0,0,0,88,52V72",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),eH.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("rect",{x:"32",y:"72",width:"192",height:"144",rx:"8",opacity:"0.2"}),t.createElement("line",{x1:"128",y1:"116",x2:"128",y2:"172",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"156",y1:"144",x2:"100",y2:"144",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("rect",{x:"32",y:"72",width:"192",height:"144",rx:"8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M168,72V56a16,16,0,0,0-16-16H104A16,16,0,0,0,88,56V72",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),eH.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M216,64H176V56a24.1,24.1,0,0,0-24-24H104A24.1,24.1,0,0,0,80,56v8H40A16,16,0,0,0,24,80V208a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V80A16,16,0,0,0,216,64ZM96,56a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm60,96H136v20a8,8,0,0,1-16,0V152H100a8,8,0,0,1,0-16h20V116a8,8,0,0,1,16,0v20h20a8,8,0,0,1,0,16Z"}))})),eH.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"128",y1:"116",x2:"128",y2:"172",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"156",y1:"144",x2:"100",y2:"144",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("rect",{x:"32",y:"72",width:"192",height:"144",rx:"8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("path",{d:"M168,72V56a16,16,0,0,0-16-16H104A16,16,0,0,0,88,56V72",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),eH.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"128",y1:"116",x2:"128",y2:"172",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"156",y1:"144",x2:"100",y2:"144",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("rect",{x:"32",y:"72",width:"192",height:"144",rx:"8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("path",{d:"M168,72V56a16,16,0,0,0-16-16H104A16,16,0,0,0,88,56V72",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),eH.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("rect",{x:"32",y:"72",width:"192",height:"144",rx:"8",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("path",{d:"M168,72V56a16,16,0,0,0-16-16H104A16,16,0,0,0,88,56V72",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"128",y1:"116",x2:"128",y2:"172",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"156",y1:"144",x2:"100",y2:"144",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var tH=function(e,t){return Ua(e,t,eH)},nH=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:tH}))}));nH.displayName="FirstAidKit";const rH=nH;var oH=new Map;oH.set("bold",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"40",y1:"64",x2:"216",y2:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.createElement("line",{x1:"40",y1:"192",x2:"216",y2:"192",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))})),oH.set("duotone",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"40",y1:"64",x2:"216",y2:"64",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"40",y1:"192",x2:"216",y2:"192",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))})),oH.set("fill",(function(){return t.createElement(t.Fragment,null,t.createElement("path",{d:"M216,120H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"}),t.createElement("path",{d:"M40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16Z"}),t.createElement("path",{d:"M216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"}))})),oH.set("light",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"40",y1:"64",x2:"216",y2:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.createElement("line",{x1:"40",y1:"192",x2:"216",y2:"192",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))})),oH.set("thin",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"40",y1:"64",x2:"216",y2:"64",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.createElement("line",{x1:"40",y1:"192",x2:"216",y2:"192",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))})),oH.set("regular",(function(e){return t.createElement(t.Fragment,null,t.createElement("line",{x1:"40",y1:"128",x2:"216",y2:"128",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"40",y1:"64",x2:"216",y2:"64",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.createElement("line",{x1:"40",y1:"192",x2:"216",y2:"192",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}));var iH=function(e,t){return Ua(e,t,oH)},aH=(0,t.forwardRef)((function(e,n){return t.createElement(fh,Object.assign({ref:n},e,{renderPath:iH}))}));aH.displayName="List";const sH=aH;var lH=t.forwardRef((function(e,n){var r=e.classes,i=e.className,a=e.raised,s=void 0!==a&&a,l=(0,Is.A)(e,["classes","className","raised"]);return t.createElement(xc,(0,Fs.A)({className:(0,o.A)(r.root,i),elevation:s?8:1,ref:n},l))}));const uH=(0,$s.A)({root:{overflow:"hidden"}},{name:"MuiCard"})(lH);var cH=t.forwardRef((function(e,n){var r=e.classes,i=e.className,a=e.component,s=void 0===a?"div":a,l=(0,Is.A)(e,["classes","className","component"]);return t.createElement(s,(0,Fs.A)({className:(0,o.A)(r.root,i),ref:n},l))}));const dH=(0,$s.A)({root:{padding:16,"&:last-child":{paddingBottom:24}}},{name:"MuiCardContent"})(cH);var pH=n(3903),fH=n(6763);const hH=BC((e=>({appBar:{position:"relative"},search:{position:"relative",flex:1,borderRadius:e.shape.borderRadius,backgroundColor:(0,zs.Rv)(e.palette.common.black,.15),"&:hover":{backgroundColor:(0,zs.Rv)(e.palette.common.black,.25)},display:"flex",marginRight:e.spacing(2),marginLeft:0,width:"100%",[e.breakpoints.up("sm")]:{marginLeft:e.spacing(3),width:"auto"}},searchIcon:{padding:e.spacing(0,2),height:"100%",position:"absolute",pointerEvents:"none",display:"flex",alignItems:"center",justifyContent:"center"},inputRoot:{color:"inherit",flex:1},primary:{color:e.palette.primary.main},inputInput:{padding:e.spacing(1,1,1,0),paddingLeft:`calc(1em + ${e.spacing(4)}px)`,transition:e.transitions.create("width"),width:"100%",flex:1,[e.breakpoints.up("md")]:{width:"20ch"}}}))),mH=t.forwardRef((function(e,t){return(0,Cs.jsx)(JC,{direction:"up",ref:t,...e})}));function gH(e){const n=hH(),[r,o]=t.useState(!1),[i,a]=(0,t.useState)(""),[s,l]=(0,t.useState)(""),[u,c]=(0,t.useState)([]),[d,p]=(0,t.useState)(!1);(0,t.useEffect)((()=>{const t=setTimeout((()=>{if(!i)return c([]),l(""),void p(!1);p(!0),(async()=>{try{let t=await Ha.post(`/public/v1/chat/course/${e.courseId}/message`,{Message:i});l(t.data.Message),c(t.data.RelevantURLs)}catch(ce){console.log("error querying chatbot",ce),O.error("Sorry, we were unable to get an answer to that question.",{position:O.POSITION.TOP_RIGHT})}p(!1)})()}),800);return()=>clearTimeout(t)}),[i]);const f=()=>{o(!1),a("")};return(0,Cs.jsxs)("div",{children:[(0,Cs.jsx)(Ou,{PopperProps:{style:{zIndex:234234}},title:"Search",children:(0,Cs.jsx)(zC,{color:"inherit","aria-label":"Search",onClick:()=>{o(!0)},edge:"end",children:(0,Cs.jsx)(F$,{})})}),(0,Cs.jsxs)(uS,{fullScreen:!0,open:r,onClose:f,TransitionComponent:mH,children:[(0,Cs.jsx)(j$,{className:n.appBar,color:"transparent",children:(0,Cs.jsxs)(P$,{children:[(0,Cs.jsx)(zC,{edge:"start","aria-label":"Close Search",color:"inherit",onClick:f,children:(0,Cs.jsx)(pH.A,{})}),(0,Cs.jsxs)("div",{className:n.search,children:[(0,Cs.jsx)("div",{className:n.searchIcon,children:(0,Cs.jsx)(F$,{size:24})}),(0,Cs.jsx)($f,{value:i,onChange:e=>a(e.target.value),placeholder:"Ask a question...",classes:{root:n.inputRoot,input:n.inputInput},autoFocus:!0,inputProps:{"aria-label":"search"}})]})]})}),d&&(0,Cs.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,Cs.jsx)(xf,{})}),i&&s&&(0,Cs.jsx)("div",{children:(0,Cs.jsx)(uH,{sx:{minWidth:275,maxWidth:750},children:(0,Cs.jsxs)(dH,{children:[(0,Cs.jsx)(gS,{sx:{fontSize:14},color:"secondary",gutterBottom:!0,children:"Answer"}),(0,Cs.jsx)(gS,{variant:"h5",component:"div",children:(0,Cs.jsx)("span",{dangerouslySetInnerHTML:{__html:(h=s,h=(h=h.replace(/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gi,'<a target="_blank" href="$1">$1</a>')).replaceAll("\n","<br />"))}})})]})})}),(0,Cs.jsxs)(jc,{subheader:(0,Cs.jsx)(M$,{disableSticky:!0,component:"div",id:"nested-list-subheader",children:i?"Resources":"No query started"}),children:[i&&u&&0===u.length&&(0,Cs.jsx)(vE,{button:!0,onClick:()=>{},children:(0,Cs.jsx)(RB,{classes:{primary:n.primary},primary:"No Results"})}),u.map((r=>(0,Cs.jsxs)(t.Fragment,{children:[(0,Cs.jsx)(vE,{button:!0,onClick:()=>{if(o(!1),a(""),r.URL.startsWith("/")&&r.URL.split("/").length>=3){let t=r.URL.split("/"),n=t[t.length-1],o=parseInt(n);e.setCurrentPageIndex(o-1)}else window.open(r.URL,"_blank")},children:(0,Cs.jsx)(RB,{classes:{primary:n.primary},primary:(0,Cs.jsxs)(Cs.Fragment,{children:[r.DisplayName," ",r.URL.startsWith("/")?null:(0,Cs.jsx)(fH.A,{fontSize:"small",color:"secondary"})]})})}),(0,Cs.jsx)(S$,{})]},r.URL)))]}),(()=>{for(let t of e.pages)if("decision"===t.Type)return!0;return!1})()&&(0,Cs.jsx)(jc,{subheader:(0,Cs.jsx)(M$,{disableSticky:!0,component:"div",id:"nested-list-subheader",children:"Quick Links"}),children:(0,Cs.jsx)(vE,{button:!0,onClick:()=>{(()=>{let t=0;for(let n of e.pages)"decision"===n.Type&&(t=n.Order-1);e.setCurrentPageIndex(t),o(!1),a("")})()},children:(0,Cs.jsx)(RB,{classes:{primary:n.primary},primary:"Get your recommendations",secondary:"Answer a few simple questions and we will provide personalized recommendations for you."})})})]})]});var h}const vH=e=>{var n,r,o,i,a,s,l,u,c,d,p,f,h,m,g,v,y,x,b,k,w,E,_,C,S,D,j,A,P,L,M,N,O,T,F,R,I,B,W,z,$,H,V,U,q,Y,G,Z,K,Q,X,J,ee,te,ne,re,oe,ie,ae,se,le,ue,ce,de;const{originalRecs:pe,userSelectedRecs:fe,userAnswers:he,clearStoredRecs:me,openRecResults:ge,setRecId:ve,recId:ye,setUserSelectedRecs:xe,setOriginalRecs:be,setUserAnswers:ke}=J$(),we=jB(),{data:{decisionTool:Ee=""},setStore:_e}=Ww(),Ce=e=>_e("decisionTool",e?"open":""),[Se,De]=(0,t.useState)(!1),je=(0,t.useRef)(),Ae=(0,t.useRef)(),[Pe,Le]=(0,t.useState)(!1),[Me,Ne]=(0,t.useState)(!1),[Oe,Te]=(0,t.useState)(-1),Fe=()=>{var t,n;e.setHeaderHeight((null===Ae||void 0===Ae||null===(t=Ae.current)||void 0===t?void 0:t.clientHeight)||0),e.setContainerHeight((null===je||void 0===je||null===(n=je.current)||void 0===n?void 0:n.clientHeight)||0)};(0,t.useEffect)((()=>(Fe(),window.addEventListener("resize",Fe),function(){window.removeEventListener("resize",Fe)})),[Ae]),(0,t.useEffect)((()=>{ge&&(Te(-1),ze(),Ce(!0))}),[ge]);const[Re,Ie]=(0,t.useState)((()=>{const e=we.getItem("chatbotEnabled");return JSON.parse(e)||!1})),Be=()=>je.current.scrollTop=0;(0,t.useEffect)((()=>{we.setItem("chatbotEnabled",JSON.stringify(Re))}),[Re]),e$({"alt+ctrl+shift+KeyM":()=>{Ie(!Re)}}),(0,t.useEffect)((()=>{setTimeout((()=>De(!0)),2e3)}),[]);const We=()=>{for(let t of e.pages)if("decision"===t.Type)return!0;return!1},ze=()=>{for(let t=0;t<e.pages.length;t++)"decision"===e.pages[t].Type&&e.setCurrentPageIndex(t)},$e=()=>{var e;return null!==fe&&void 0!==fe&&fe.selectedBenefits?(null===fe||void 0===fe||null===(e=fe.selectedBenefits)||void 0===e?void 0:e.length)+1:0},He=(0,t.useMemo)((()=>(0,Cs.jsx)(SC,{page:e.currentPage,themeLoaded:Se,updateContentPosition:e.updateContentPosition},e.currentPageIndex)),[Se,e.currentPageIndex,e.updateContentPosition,null===(n=e.currentPage)||void 0===n?void 0:n.ID]);return(0,Cs.jsxs)("div",{className:bs`
        display: flex;
        flex-direction: column;
        height: 100%;
      `,children:[(0,Cs.jsxs)("header",{className:bs`
          display: flex;
          align-items: center;
          justify-content: space-between;
          padding: ${e.isDesktop?"16px":"4px"};
          max-height: 80px;
          border-bottom: 1px solid #e8edf3;
        `,ref:Ae,children:[e.pages[e.currentPageIndex].CourseID?(0,Cs.jsx)("link",{rel:"stylesheet",href:`${Ha.baseURL()}public/v1/course/${e.pages[e.currentPageIndex].CourseID}/theme-css`,onLoad:()=>De(!0),onLoadStart:()=>De(!1)}):null,(0,Cs.jsxs)("div",{className:bs`
            display: flex;
            align-items: center;
            cursor: pointer;
          `,onClick:()=>{e.setCurrentPageIndex(0)},children:[e.logoUrl&&e.isDesktop&&(0,Cs.jsx)("img",{alt:"Logo",src:e.logoUrl,className:bs`
                max-height: 54px;
              `}),e.logoUrl&&!e.isDesktop&&(0,Cs.jsx)("img",{alt:"Logo",src:e.logoUrl,className:bs`
                padding-left: 12px;

                max-height: 32px;
              `})]}),Me&&(0,Cs.jsx)(Cs.Fragment,{children:(0,Cs.jsx)(X$,{courseId:null===(r=e.currentPage)||void 0===r?void 0:r.CourseID,pages:e.pages,setCurrentPageIndex:e.setCurrentPageIndex,setSearchDesktopOpen:Ne})}),(0,Cs.jsxs)("div",{className:bs`
            display: flex;
            align-items: center;
            gap: 4px;
          `,children:[We()&&!Me&&(0,Cs.jsx)(Cs.Fragment,{children:e.isDesktop?(0,Cs.jsxs)("div",{"data-ph-capture-attribute-source":r_.types.NAVIGATION,"data-ph-capture-attribute-action":r_.actions.GET_RECOMMENDATIONS,onClick:()=>{Te(e.currentPageIndex),ze(),Ce(!0)},className:bs`
                    box-shadow: 0px 2px 8px rgba(37, 40, 45, 0.25);
                    border-radius: 51px;
                    padding: 6px;
                    display: flex;
                    align-items: center;
                    gap: 16px;
                    cursor: pointer;
                    border: 2px solid transparent;
                    &:hover {
                      border: 2px solid
                        ${null!==(o=e.designStyles)&&void 0!==o&&null!==(i=o.Theme)&&void 0!==i&&null!==(a=i.Body)&&void 0!==a&&a.ButtonColor?null===(s=e.designStyles)||void 0===s||null===(l=s.Theme)||void 0===l||null===(u=l.Body)||void 0===u?void 0:u.ButtonColor:"#25282D"};
                    }
                  `,children:[(0,Cs.jsx)("div",{className:bs`
                      background: ${null!==(c=e.designStyles)&&void 0!==c&&null!==(d=c.Theme)&&void 0!==d&&null!==(p=d.Body)&&void 0!==p&&p.ButtonColor?null===(f=e.designStyles)||void 0===f||null===(h=f.Theme)||void 0===h||null===(m=h.Body)||void 0===m?void 0:m.ButtonColor:"#25282D"};
                      padding: 8px;
                      border-radius: 51px;
                      display: flex;
                      flex-direction: column;
                      align-items: center;
                    `,children:(0,Cs.jsx)(rH,{color:"white",size:"24"})}),(0,Cs.jsx)("div",{className:bs`
                      font-family: 'Roboto';
                      font-style: normal;
                      font-weight: 700;
                      font-size: 14px;
                      line-height: 24px;
                      /* identical to box height, or 171% */

                      color: #25282d;
                      padding-right: 12px;
                    `,children:$e()>0?`${$e()} Benefit${$e()>1?"s":""}`:"Get Recommendations"})]}):(0,Cs.jsx)(Ou,{PopperProps:{style:{zIndex:234234}},title:"Get Recommendations",children:(0,Cs.jsx)("div",{onClick:()=>{Te(e.currentPageIndex),ze(),Ce(!0)},"data-ph-capture-attribute-source":r_.types.NAVIGATION,"data-ph-capture-attribute-action":r_.actions.GET_RECOMMENDATIONS,className:bs`
                      background: ${null!==(g=e.designStyles)&&void 0!==g&&null!==(v=g.Theme)&&void 0!==v&&null!==(y=v.Body)&&void 0!==y&&y.ButtonColor?null===(x=e.designStyles)||void 0===x||null===(b=x.Theme)||void 0===b||null===(k=b.Body)||void 0===k?void 0:k.ButtonColor:"#25282D"};
                      padding: 8px;
                      border-radius: 51px;
                      display: flex;
                      flex-direction: column;
                      align-items: center;
                      cursor: pointer;

                      &:hover {
                        opacity: 0.9;
                      }
                    `,children:(0,Cs.jsxs)("div",{className:bs`
                        display: flex;
                        gap: 8px;
                        padding: 0 8px;
                      `,children:[(0,Cs.jsx)(rH,{color:"white",size:"24"}),$e()>0&&(0,Cs.jsx)("div",{className:bs`
                            font-family: 'Roboto';
                            font-style: normal;
                            font-weight: 700;
                            font-size: 14px;
                            line-height: 24px;
                            /* identical to box height, or 171% */

                            letter-spacing: 0.15px;

                            color: #ffffff;
                            padding: 0px 4px;
                          `,children:$e()})]})})})}),!e.isDesktop&&(0,Cs.jsxs)(Cs.Fragment,{children:[!e.isSurvey&&(Re?(0,Cs.jsx)(gH,{courseId:e.pages[e.currentPageIndex].CourseID,pages:e.pages,setCurrentPageIndex:e.setCurrentPageIndex}):(0,Cs.jsx)(z$,{courseId:null===(w=e.currentPage)||void 0===w?void 0:w.CourseID,pages:e.pages,setCurrentPageIndex:e.setCurrentPageIndex}))," "]}),e.isDesktop&&!Me&&(0,Cs.jsx)(Cs.Fragment,{children:(0,Cs.jsx)("div",{children:(0,Cs.jsx)(Ou,{PopperProps:{style:{zIndex:234234}},title:"Search",children:(0,Cs.jsx)(zC,{"data-ph-capture-attribute-source":r_.types.NAVIGATION,"data-ph-capture-attribute-action":r_.actions.SEARCH,color:"inherit","aria-label":"Search",onClick:()=>{Ne(!0)},edge:"end",children:(0,Cs.jsx)(F$,{})})})})}),(0,Cs.jsx)(Jz,{guideID:null===(E=e.currentPage)||void 0===E?void 0:E.CourseID,changeLanguageCallback:e.changeLanguageCallback}),(0,Cs.jsx)(Z$,{shareData:{title:"Check out our Benefits",text:"Click the link to learn about how our benefits work. ",url:window.location.origin+window.location.pathname},designStyles:e.designStyles}),(0,Cs.jsx)("div",{className:bs`
              padding-right: 16px;
            `,children:(0,Cs.jsx)(Ou,{PopperProps:{style:{zIndex:234234}},title:"Menu",children:(0,Cs.jsx)(zC,{id:"navigation",color:"inherit","aria-label":"Toggle Navigation Menu",edge:"end","data-ph-capture-attribute-source":r_.types.NAVIGATION,"data-ph-capture-attribute-action":r_.actions.PAGES_MENU,onClick:()=>Le(!Pe),children:Pe?(0,Cs.jsx)(kh,{}):(0,Cs.jsx)(sH,{})})})})]})]}),(0,Cs.jsxs)("main",{id:"main-content",ref:je,className:bs`
          flex: auto;
          overflow-y: auto;
          ${e.isDesktop&&Pe?"width: calc(100% - 300px);":""}
        `,children:[!e.isDesktop&&(0,Cs.jsx)(rS,{anchor:"right",open:Pe,onClose:()=>Le(!1),variant:"temporary",children:(0,Cs.jsx)(HC,{title:e.pages&&e.pages[0]&&e.pages[0].ShowGuideName&&e.pages[0].CourseName,setCurrentPageIndex:e.setCurrentPageIndex,pages:e.pages,currentPageIndex:e.currentPageIndex,isDesktop:e.isDesktop,setOpen:Le,open:Pe})}),e.isDesktop&&Pe&&(0,Cs.jsx)("div",{className:bs`
              width: 300px;
              border-left: 1px solid #d1dae3;
              position: fixed;
              top: 89px;
              right: 0;
              z-index: 1200;
              height: 100%;
              margin-bottom: 100px;
              overflow: auto;
            `,children:(0,Cs.jsx)(HC,{title:e.pages&&e.pages[0]&&e.pages[0].ShowGuideName&&e.pages[0].CourseName,setCurrentPageIndex:e.setCurrentPageIndex,pages:e.pages,currentPageIndex:e.currentPageIndex,isDesktop:e.isDesktop,setOpen:Le,open:Pe})}),e.currentPage&&"endOfGuideEnroll"===e.currentPage.Type&&(0,Cs.jsxs)("div",{className:bs`
              max-width: 700px;
              margin: 16px auto;
              padding: 24px;
            `,children:[(0,Cs.jsx)("div",{className:bs`
                font-family: 'Roboto';
                font-style: normal;
                font-weight: 700;
                font-size: 34px;
                line-height: 48px;
                margin-bottom: 24px;
                /* or 141% */

                color: #25282d;
              `,children:"You\u2019ve reached the end of the Benefit Guide"}),We()&&0===$e()&&(0,Cs.jsxs)("div",{className:bs`
                  background: #f5f7fa;

                  border-radius: 8px;
                  padding: 16px 24px;
                  display: flex;

                  align-items: center;
                  gap: 14px;
                  flex-wrap: wrap;
                  margin-bottom: 24px;
                `,children:[(0,Cs.jsx)("div",{children:(0,Cs.jsx)(Qw,{color:null!==(_=e.designStyles)&&void 0!==_&&null!==(C=_.Theme)&&void 0!==C&&null!==(S=C.Body)&&void 0!==S&&S.ButtonColor?null===(D=e.designStyles)||void 0===D||null===(j=D.Theme)||void 0===j||null===(A=j.Body)||void 0===A?void 0:A.ButtonColor:"#25282d"})}),(0,Cs.jsx)("div",{className:bs`
                    font-family: 'Roboto';

                    font-style: normal;
                    font-weight: 400;
                    font-size: 16px;
                    line-height: 24px;
                    /* identical to box height, or 150% */

                    letter-spacing: 0.15px;

                    color: #25282d;
                    flex: 1;
                  `,children:"Don\u2019t forget to get your benefit recommendations"}),(0,Cs.jsx)("div",{className:bs`
                    margin: 0 auto;
                  `,children:(0,Cs.jsx)(iS,{style:{padding:"8px 24px",backgroundColor:null!==(P=e.designStyles)&&void 0!==P&&null!==(L=P.Theme)&&void 0!==L&&null!==(M=L.Body)&&void 0!==M&&M.ButtonColor?null===(N=e.designStyles)||void 0===N||null===(O=N.Theme)||void 0===O||null===(T=O.Body)||void 0===T?void 0:T.ButtonColor:"#25282d",color:"#fff",width:"234px"},id:"footer",variant:"contained",role:"nav",className:"page-nav-next",onClick:()=>{ze(),Ce(!0)},children:"Get Recommendations"})})]}),e.currentPage.ShowFeedbackPage&&(0,Cs.jsx)(k$,{color:null!==(F=e.designStyles)&&void 0!==F&&null!==(R=F.Theme)&&void 0!==R&&null!==(I=R.Body)&&void 0!==I&&I.ButtonColor?null===(B=e.designStyles)||void 0===B||null===(W=B.Theme)||void 0===W||null===(z=W.Body)||void 0===z?void 0:z.ButtonColor:"#25282D",forceShowThankYou:!e.currentPage.EnrollmentURL&&!We()}),e.currentPage.EnrollmentURL&&(0,Cs.jsxs)("div",{className:bs`
                  border: 2px solid #25282d;
                  border-radius: 8px;
                  display: flex;
                  gap: 24px;
                  padding: 24px;
                  background: white;
                  margin-top: 24px;

                  flex-wrap: wrap;
                  align-items: center;
                  justify-content: center;
                `,children:[(0,Cs.jsxs)("div",{children:[(0,Cs.jsx)("div",{className:bs`
                  color: #25282D;

                  text-align: center;
                  font-feature-settings: 'clig' off, 'liga' off;
                  /* H2 */
                  font-family: Roboto;
                  font-size: 24px;
                  font-style: normal;
                  font-weight: 700;
                  line-height: 32px; /
                  `,children:"Ready To Enroll in Your Benefits?"}),(0,Cs.jsx)("div",{className:bs`
                      font-family: 'Roboto';
                      font-style: normal;
                      font-weight: 400;
                      font-size: 16px;
                      line-height: 24px;
                      /* or 150% */

                      color: #66737f;
                      margin-top: 8px;
                      margin-bottom: 16px;
                      max-width: 510px;
                      text-align: center;
                    `,children:"You will be enrolling online. The link has been provided by your employer and will open in a new tab"})]}),(0,Cs.jsxs)("div",{className:bs`
                    border: 1px solid #d1dae3;
                    border-radius: 8px;
                    display: flex;
                    align-items: center;
                    padding: 24px;
                    gap: 24px;
                    justify-content: center;
                    flex-wrap: wrap;
                    @media (max-width: 400px) {
                      border: 1px solid transparent;
                    }
                  `,children:[e.currentPage.EnrollmentLogoURL&&(0,Cs.jsx)("div",{className:bs`
                        max-width: 250px;
                        width: 250px;

                        box-sizing: border-box;

                        overflow-wrap: break-word;
                      `,children:(0,Cs.jsx)("img",{src:e.currentPage.EnrollmentLogoURL,className:bs`
                          max-width: 100%;
                          max-height: 100%;
                        `})}),(0,Cs.jsx)("div",{children:(0,Cs.jsx)(iS,{style:{padding:"16px 24px",width:"282px",backgroundColor:`${null!==($=e.designStyles)&&void 0!==$&&null!==(H=$.Theme)&&void 0!==H&&null!==(V=H.Body)&&void 0!==V&&V.ButtonColor?null===(U=e.designStyles)||void 0===U||null===(q=U.Theme)||void 0===q||null===(Y=q.Body)||void 0===Y?void 0:Y.ButtonColor:"#25282D"}`},onClick:()=>{window.open(e.currentPage.EnrollmentURL,"_blank")},color:"primary",variant:"contained",size:"large",endIcon:(0,Cs.jsx)(d$,{size:24,color:"#fff"}),"data-ph-capture-attribute-source":r_.types.NAVIGATION,"data-ph-capture-attribute-action":r_.actions.ENROLL,children:"Enroll Now"})})]})]}),We()&&$e()>0&&(0,Cs.jsxs)("div",{className:bs`
                  background: #f5f7fa;

                  border-radius: 8px;
                  padding: 16px 24px;
                  display: flex;

                  align-items: center;
                  gap: 14px;
                  flex-wrap: wrap;
                  margin-top: 24px;
                `,children:[(0,Cs.jsx)("div",{children:(0,Cs.jsx)(Qw,{size:32,color:null!==(G=e.designStyles)&&void 0!==G&&null!==(Z=G.Theme)&&void 0!==Z&&null!==(K=Z.Body)&&void 0!==K&&K.ButtonColor?null===(Q=e.designStyles)||void 0===Q||null===(X=Q.Theme)||void 0===X||null===(J=X.Body)||void 0===J?void 0:J.ButtonColor:"#25282d"})}),(0,Cs.jsx)("div",{className:bs`
                    font-family: 'Roboto';

                    font-style: normal;
                    font-weight: 400;
                    font-size: 16px;
                    line-height: 24px;
                    /* identical to box height, or 150% */

                    letter-spacing: 0.15px;

                    color: #25282d;
                    flex: 1;
                  `,children:"Refer to Your Recommendations while Enrolling"}),(0,Cs.jsx)("div",{className:bs`
                    margin: 0 auto;
                  `,children:(0,Cs.jsx)(iS,{style:{padding:"8px 24px",backgroundColor:null!==(ee=e.designStyles)&&void 0!==ee&&null!==(te=ee.Theme)&&void 0!==te&&null!==(ne=te.Body)&&void 0!==ne&&ne.ButtonColor?null===(re=e.designStyles)||void 0===re||null===(oe=re.Theme)||void 0===oe||null===(ie=oe.Body)||void 0===ie?void 0:ie.ButtonColor:"#25282d",color:"#fff",width:"234px"},id:"footer",variant:"contained",role:"nav",className:"page-nav-next",onClick:()=>{ze(),Ce(!0)},children:"View Recommendations"})})]})]}),e.currentPage&&"regular"===e.currentPage.Type&&(0,Cs.jsx)("div",{className:"themeable-content",children:(0,Cs.jsx)(Cs.Fragment,{children:(0,Cs.jsx)(aS,{currentPage:e.currentPage,handlePageHTMLLoaded:e.handlePageHTMLLoaded})})}),e.currentPage&&"brite-editor"===e.currentPage.Type&&He,(e.currentPage&&"decision"===e.currentPage.Type||Ee)&&(0,Cs.jsx)(_$,{setCurrentPageIndex:e.setCurrentPageIndex,logoUrl:e.logoUrl,goToNextPage:e.nextPage,currentPage:e.currentPage,pages:e.pages,restartRecommendation:e.restartRecommendation,restartRecommendationFunction:e.restartRecommendationFunction,isDesktop:e.isDesktop,isAcaPlan:e.isAcaPlan,isIchraPlan:e.isIchraPlan,promptOptions:e.promptOptions,isSurvey:e.isSurvey,customQuestions:e.customQuestions,dynamicQuestions:e.dynamicQuestions,setOnRecommendationListPage:e.setOnRecommendationListPage,onRecommendationListPage:e.onRecommendationListPage,showRecActionModal:e.showRecActionModal,setShowRecActionModal:e.setShowRecActionModal,displaySettings:e.displaySettings,setDecisionToolOpen:Ce,decisionTool:Ee,designStyles:e.designStyles,clearStoredRecs:me,originalRecs:pe,userSelectedRecs:fe,userAnswers:he,setUserAnswers:ke,openRecResults:ge,setUserSelectedRecs:xe,setOriginalRecs:be,recId:ye,setRecId:ve,oldPageIndex:Oe,changeLanguageCallback:e.changeLanguageCallback}),e.currentPage&&"question"===e.currentPage.Type&&(0,Cs.jsx)(cO,{currentPage:e.currentPage,nextPage:e.nextPage})]}),!e.hideNavigation&&(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsxs)("footer",{className:bs`
              height: 80px;
              width: 100%;
              background: white;
              border-top: 1px solid #e8edf3;
              display: flex;
              justify-content: space-between;
              align-items: center;
              min-height: 80px;
              gap: 12px;
              z-index: 1300;
            `,children:[(0,Cs.jsx)(iS,{style:{padding:"12px 42px",marginLeft:"32px",width:"156px"},role:"nav",variant:"outlined","aria-label":"Go to previous page",className:"page-nav-prev","data-ph-capture-attribute-source":r_.types.NAVIGATION,"data-ph-capture-attribute-action":r_.actions.PREV_PAGE,onClick:()=>{Be(),e.prevPage()},disabled:e.disablePrevPage(),children:"Back"}),(0,Cs.jsx)(iS,{style:{padding:"12px 42px",backgroundColor:e.disableNextPage()?"#D1DAE3":null!==(ae=e.designStyles)&&void 0!==ae&&null!==(se=ae.Theme)&&void 0!==se&&null!==(le=se.Body)&&void 0!==le&&le.ButtonColor?null===(ue=e.designStyles)||void 0===ue||null===(ce=ue.Theme)||void 0===ce||null===(de=ce.Body)||void 0===de?void 0:de.ButtonColor:"#25282D",color:"#fff",marginRight:"32px",width:"156px"},id:"footer",variant:"contained",role:"nav",className:"page-nav-next","data-ph-capture-attribute-source":r_.types.NAVIGATION,"data-ph-capture-attribute-action":r_.actions.NEXT_PAGE,onClick:()=>{Be(),e.nextPage()},disabled:e.disableNextPage(),"aria-label":"Go to next page",children:"Next"})]}),(0,Cs.jsx)(H$(),{handleKeys:["space","left","right","up","down","enter"],onKeyEvent:(t,n)=>{"space"!==t&&"right"!==t&&"up"!==t&&"enter"!==t||e.disableNextPage()||e.nextPage(),"left"!==t&&"down"!==t||e.disablePrevPage()||e.prevPage()}})," "]})]})},yH=e=>{const[n,r]=t.useState(""),o=jB();return(0,Cs.jsxs)("div",{className:bs`
        max-width: 500px;
        margin: 40px auto;
      `,children:[(0,Cs.jsx)("div",{className:bs`
          color: #25282d;
          font-weight: bold;
          font-size: 24px;
          line-height: 32px;
          margin-bottom: 32px;
          font-family: Roboto;
        `,children:"Passcode Protected Course"}),(0,Cs.jsxs)("div",{className:bs`
          display: flex;
          align-items: center;

          margin-bottom: 40px;
        `,children:[(0,Cs.jsx)("div",{className:bs`
            color: #25282d;
            font-size: 16px;
            margin-right: 60px;
            font-family: Roboto;
          `,children:"Enter Passcode"}),(0,Cs.jsx)(b$,{type:"password",style:{flexGrow:"1"},value:n,onChange:e=>r(e.target.value),variant:"outlined"})]}),(0,Cs.jsx)(iS,{fullWidth:!0,color:"primary",variant:"contained",onClick:()=>(Ha.setHeader("X-Brite-Course-Passcode",n),o.setItem("passcode",n,!0),e.setLoading(!0),void e.setShowPasscodePage(!1)),children:"Submit"})]})};function xH(){const{data:{pages:e,isAcaPlan:n=!1,isIchraPlan:r=!1,displaySettings:o},setStore:i}=Ww(),[a,s]=(0,t.useState)(!0),[l,u]=(0,t.useState)(!1),[c,d]=(0,t.useState)(!1),[p,f]=(0,t.useState)([]),[h,m]=(0,t.useState)(!1),[g,v]=(0,t.useState)([]),[y,x]=(0,t.useState)({promptAge:!1,needTobacco:!1,defaultEnrolling:""}),{BusinessID:b="",BenefitsPackageID:k=""}=(null===e||void 0===e?void 0:e[0])||{};qw(b,k,(e=>i("displaySettings",e)));const w=e=>e.toUpperCase().startsWith("ACAPLANS"),E=e=>e.toUpperCase().startsWith("ICHRA"),_=async()=>{const{BenefitsPackageID:t="",BusinessID:n=""}=(null===e||void 0===e?void 0:e[0])||{};if(i("businessId",n),t)try{const e=`/public/v1/business/${n}/benefitspackage/${t}/product`,{data:r}=await Ha.get(e);let o=[];for(const t of r)if("insurance_plan"===t.Type){const e=`/public/v1/plans/${t.ID}`,{data:n}=await Ha.get(e);o.push(n)}else o.push(t);i("benefitsPackage",o)}catch(r){console.error(r)}};return(0,t.useEffect)((()=>{_(),(async()=>{const{BenefitsPackageID:t="",BusinessID:n=""}=(null===e||void 0===e?void 0:e[0])||{};if(t&&n)try{const e=`/public/v1/business/${n}/benefitspackage/${t}/product-layout`,{data:o}=await Ha.get(e),{data:a}=await Ha.get(`/public/v2/business/${n}/benefitspackage/${t}/product`);let s=(0,Wc.cloneDeep)((null===o||void 0===o?void 0:o.Data)||[]);for(let t of s)for(let e of null===t||void 0===t||null===(r=t.Layout)||void 0===r?void 0:r.Sections){var r;let t=[];for(let n of null===e||void 0===e?void 0:e.Fields)"visionFrequency"==n.Type?(t[t.length-1].frequency=n,t[t.length-1].Type="visionFrequency"):t.push(n);e.Fields=t}const l=s.reduce(((e,t)=>({...e,[t.ProductID]:t})),{}),u=a.reduce(((e,t)=>{var n,r;return[...e,{...t,sections:(null===l||void 0===l||null===(n=l[null===t||void 0===t?void 0:t.ID])||void 0===n||null===(r=n.Layout)||void 0===r?void 0:r.Sections)||[]}]}),[]);i("products",u),i("productLayouts",l)}catch(o){console.warn(o)}})()}),[e.length]),(0,t.useEffect)((()=>{let e=!1;return h||async function(){s(!0),_();let t=window.location.pathname.split("/"),n=!1,r=1;for(let e of t)"survey"===e&&(n=!0,r=2);try{const a=localStorage.getItem("passcode",!0);a&&Ha.setHeader("X-Brite-Course-Passcode",a);let s=`/public/v1/course/${t[r]}`;n&&(s+="/survey");const c=await Ha.get(s);if(!e){0===c.data.length?u(!0):u(!1);let e,n=(0,Wc.sortBy)(c.data,["Order"]);for(let t of n)if(t.ArchivedAt){d(!0);break}let a=!1,s=!1,p=!1,h=!1,m=!1,g=!1,y="",b="";for(let o of n){if(e||(e={courseURL:t[r],courseID:o.CourseID,courseName:o.CourseName,businessName:o.BusinessName,businessID:o.BusinessID,parentBusinessName:o.ParentBusinessName,parentBusinessID:o.ParentBusinessID}),m=m||"decision"===o.Type,o.EnrollmentURL){if(y=o.EnrollmentURL,y){let e=y;e.match(/^http?:\/\//i)||e.match(/^https?:\/\//i)||(e="https://"+e),y=e}o.EnrollmentLogoURL&&(b=o.EnrollmentLogoURL)}if(g=g||"question"===o.Type,o.InsurancePlans&&o.InsurancePlans.length>0)for(let e of o.InsurancePlans)(w(e.PlanType)||E(e.PlanType))&&(p=p||w(e.PlanType),h=h||E(e.PlanType),e.OptionalPremiumLocation&&"NY"==e.OptionalPremiumLocation.State||(a=!0,s=!0))}e&&(e.hasDecisionToolPage=m,e.hasQuestionPage=g,wo.register(e),wo.setPersonProperties({courseURL:e.courseURL,businessID:e.businessID,currentBusinessID:e.businessID,currentParentID:e.parentBusinessID,parentBusinessID:e.parentBusinessID,businessName:e.businessName,parentBusinessName:e.parentBusinessName})),x({promptAge:a,promptTobacco:s,defaultEnrolling:!p&&!h||a?"":"Self Only"}),i("isAcaPlan",p),i("isIchraPlan",h);let k=!1;if(n.length>0&&n[0]&&(k=n[0].ShowFeedbackPage),y||k){if(y&&!b)try{const e=await Ha.get("/public/v1/bp/ben_admin?share_scope=eq.global",{headers:{"Accept-Profile":"brite_public"}});for(let t of null===e||void 0===e?void 0:e.data)for(let e of t.domains)if(y.includes(e)){b=t.logo_url;break}}catch(o){console.error(o)}n=[...n,{Type:"endOfGuideEnroll",ID:"endOfGuideEnroll",Name:y?"Enroll":"Feedback",EnrollmentURL:y||"",EnrollmentLogoURL:b||"",HTMLContent:"",Content:"",ShowFeedbackPage:k,...e}]}i("pages",n);try{Ha.post(`/public/v1/${n[0].CourseID}/analytics/courseActivity`,{CourseID:n[0].CourseID,LinkClickedAt:kO().utc().format()})}catch(l){console.log(`/public/v1/${n[0].CourseID}/analytics/courseActivity failed to save.`)}try{let e=await Ha.get(`/public/v2/course/${n[0].CourseID}/decisiontool/questions`),t=[];e&&e.data&&e.data.Questions&&(t=e.data.Questions);let r=[],o=[];for(let n of t)"hardcoded"===n.QuestionType||"scale"===n.QuestionType?o.push(n.Question):n.Question.Responses&&n.Question.Text&&r.push(n.Question);v(o),f(r)}catch(l){v([]),f([])}}}catch(ce){!e&&ce.response&&403===ce.response.status?m(!0):e||u(!0)}finally{e||s(!1)}}(),()=>{e=!0}}),[h]),{pages:e,loading:a,error:l,isAcaPlan:n,isIchraPlan:r,promptOptions:y,customQuestions:p,dynamicQuestions:g,showPasscodePage:h,archived:c,setShowPasscodePage:m,setLoading:s,displaySettings:o}}const bH=(0,n(6725).A)({overrides:{MuiButton:{root:{borderRadius:8,fontWeight:700},contained:{borderRadius:8,boxShadow:"none"}},MuiTooltip:{tooltip:{fontSize:16,backgroundColor:"#66737F",fontWeight:700,boxShadow:"0px 2px 1px -1px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 1px 3px 0px rgba(0,0,0,0.12)"}}},typography:{fontFamily:["Roboto","Montserrat","sans-serif"].join(",")},palette:{primary:{main:"#000000"},secondary:{main:"#b1b1b1"}}}),kH=e=>{let{changeLanguageCallback:n}=e;const[r,o]=(0,t.useState)(window.innerWidth>900),[i,a]=(0,t.useState)(!1),[s,l]=(0,t.useState)(!1),[u,c]=(0,t.useState)(new Date),[d,p]=(0,t.useState)(null),[f,h]=(0,t.useState)(0),[m,g]=(0,t.useState)(0),[v,y]=(0,t.useState)(0),[x,b]=(0,t.useState)(0),k=(0,t.useCallback)(((e,t)=>{y(e),b(t)}),[]),{pages:w,loading:E,error:_,isAcaPlan:C,isIchraPlan:S,promptOptions:D,customQuestions:j,showPasscodePage:A,dynamicQuestions:P,setShowPasscodePage:L,setLoading:M,archived:N,displaySettings:O}=xH();(0,t.useEffect)((()=>{w&&w.length>0&&(async()=>{const{CourseID:e=""}=(null===w||void 0===w?void 0:w[0])||{};try{const t=`/public/v1/course/${e}/theme`,{data:n}=await Ha.get(t);p(n)}catch(t){console.warn(t)}})()}),[w.length]);const[T,F]=(0,t.useState)(!1),[R,I]=(0,t.useState)(!1),[B,W]=(0,t.useState)(new Date),[z,$]=(0,t.useState)(null),[H,V]=(0,t.useState)({ID:""});e$({"meta+shift+KeyX":()=>{var e;const t=null!==(e=window.location.origin)&&void 0!==e&&e.includes("employee-view-staging")?"admin-frontend-staging-tqtafkpv4q-uw.a.run.app":"app.be-brite.com";window.open(`https://${t}/${null===H||void 0===H?void 0:H.BusinessID}/courses/${null===H||void 0===H?void 0:H.CourseID}?pageId=${null===H||void 0===H?void 0:H.ID}`,"_blank")},"meta+shift+KeyD":()=>window.open(`localhost:3000/${null===H||void 0===H?void 0:H.BusinessID}/courses/${null===H||void 0===H?void 0:H.CourseID}?pageId=${null===H||void 0===H?void 0:H.ID}`,"_blank")});const[U,q]=(0,t.useState)((()=>{let e=window.location.pathname;if(e){let t=e.split("/"),n=3;for(let e of t)"survey"===e&&(n=4);if(t.length<n)return 0;{let e=Number(t[t.length-1]);return Number.isInteger(e)?Math.max(0,e-1):0}}return 0}));(0,t.useEffect)((()=>{w.length>0&&U>w.length&&q(0)}),[w.length,U]);const Y=w&&w[0]&&("openenrollment"===w[0].CourseType||"newhire"===w[0].CourseType),[G,Z]=(0,t.useState)([]),K=(e,t,n)=>{if(A)return;let r=null!==t&&w[t]?w[t].ID:null;const o=new Date;let i=Math.round((o-B)/1e3),a=0,s=0,l=!1,u=0,c=0;if(w[U]&&"brite-editor"===w[U].Type){l=!0;let e=v-m;e<0&&(e=0),c=e,a=m,s=v,u=Math.abs(x-(f+1))}ko.capture("BritePageViewed",{pageID:e,durationSeconds:i,previousPageID:z,nextPageID:r,associatedCarrierIDs:G,scrollData:{scrollDataCaptured:l,viewportHeight:a,totalContentHeight:s,distanceScrolled:u,distanceNeededToScrollTheEntireContent:c}},n),W(o),$(e)},Q=e=>{e!==U&&(K(w[U].ID,e,{transport:"sendbeacon"}),q(e))};(0,t.useEffect)((()=>{const e=e=>{LC.Fr&&"hidden"===e.target.visibilityState&&K(w[U].ID,null)},t=e=>{LC.Fr||K(w[U].ID,null)};return window.addEventListener("visibilitychange",e),window.addEventListener("beforeunload",t),()=>{window.removeEventListener("visibilitychange",e),window.removeEventListener("beforeunload",t)}}),[z,B,U,w.length,LC.Fr]),(0,t.useEffect)((()=>{if(!s&&0!==U&&w.length>0&&!A&&U===w.length-1){let e=(new Date-u)/1e3;if(l(!0),e<2e3){let t=w[U].courseID;t||(t=w[U].CourseID),Ha.post(`/public/v1/${t}/analytics/courseTime`,{TotalTime:e,CourseID:t})}}}),[U,w.length,u,s,A]),(0,t.useEffect)((()=>{w.length&&w.length>0&&w[U]&&V(w[U])}),[w.length,U]),(0,t.useEffect)((()=>{H.ID&&(ko.register({pageID:H.ID}),ko.capture("$pageview"))}),[H.ID]),(0,t.useEffect)((()=>{if(!E&&w.length){let e=window.location.pathname;if(e){let t=e.split("/"),n=3;for(let e of t)"survey"===e&&(n=4);t.length<n?t.push("1"):t[n-1]=Number(U)+1;let r=t.join("/");window.history.pushState({},"Brite",r+window.location.search)}}}),[U]);const X=(0,t.useMemo)((()=>window.location.pathname),[]);(0,t.useEffect)((()=>{if(!E&&null!==w&&void 0!==w&&w.length){const e=X.split("/");if(e.length>2){let t=e.at(-1);const n=w.findIndex((e=>{let{ID:n}=e;return n===t}));n>-1?(e[e.length-1]=n,Q(n)):/^\d+$/.test(t)&&t<=w.length?Q(t-1):Q(0)}else if(2===window.location.pathname.split("/").length){Q(0);const e=window.location.pathname+"/1";window.history.pushState({},"Brite",e+window.location.search)}}}),[E,w.length]),(0,t.useEffect)((()=>(window.addEventListener("resize",J),window.onpopstate=e=>{let t=window.location.pathname.split("/"),n=2;for(let o of t)"survey"===o&&(n=3);let r=t[n];void 0===r?r=0:r-=1,Q(r)},function(){window.removeEventListener("resize",J),window.onpopstate=()=>{}})),[]);const J=()=>{o(window.innerWidth>900)};return A?(0,Cs.jsx)(PC,{theme:bH,children:(0,Cs.jsx)(yH,{setShowPasscodePage:L,setLoading:M})}):_?(0,Cs.jsx)(NC,{}):N?(0,Cs.jsx)("div",{className:bs`
          display: flex;
          margin: 40px;
          justify-content: center;

          font-family: 'Roboto', sans-serif;
          flex-direction: column;
          text-align: center;
        `,children:(0,Cs.jsx)("p",{children:"This course has been archived and is no longer viewable"})}):E?(0,Cs.jsx)(RC,{}):(0,Cs.jsx)(PC,{theme:bH,children:(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsx)("button",{id:"skip-to-content",className:bs`
            position: absolute;
            left: -999px;
            width: 1px;
            height: 1px;
            top: auto;

            &:focus {
              color: black;
              display: inline-block;
              height: auto;
              width: auto;
              position: static;
              margin: auto;
            }
          `,onClick:e=>{e.preventDefault();const t=document.querySelector("#main-content");t&&(t.tabIndex=-1,t.focus(),setTimeout((()=>t.removeAttribute("tabindex")),1e3))},children:"Skip to Content"}),(0,Cs.jsx)("button",{id:"skip-to-navigation",className:bs`
            position: absolute;
            left: -2000px;
            width: 1px;
            height: 1px;
            top: auto;

            &:focus {
              color: black;
              display: inline-block;
              height: auto;
              width: auto;
              position: static;
              margin: auto;
            }
          `,onClick:e=>{e.preventDefault();const t=document.querySelector("#navigation");t&&(t.tabIndex=-1,t.focus(),setTimeout((()=>t.removeAttribute("tabindex")),1e3))},children:"Skip to Navigation"}),(0,Cs.jsx)("button",{id:"skip-to-footer",className:bs`
            position: absolute;
            left: -3000px;
            width: 1px;
            height: 1px;
            top: auto;

            &:focus {
              color: black;
              display: inline-block;
              height: auto;
              width: auto;
              position: static;
              margin: auto;
            }
          `,onClick:e=>{e.preventDefault();const t=document.querySelector("#footer");t&&(t.tabIndex=-1,t.focus(),setTimeout((()=>t.removeAttribute("tabindex")),1e3))},children:"Skip to Footer"}),(0,Cs.jsx)("div",{className:bs`
            background: white;
            height: 100%;
            font-family: 'Roboto', 'Montserrat', sans-serif;
            overflow: hidden;
            .page-nav-next {
              :disabled {
                opacity: 0.5;
              }
            }
          `,children:(0,Cs.jsx)(vH,{isDesktop:r,pages:w,logoUrl:w.length>0?w[0].CourseLogoURL:"",currentPageIndex:U,setCurrentPageIndex:Q,currentPage:w[U],hideNavigation:w[U].HideNavigation||1===(null===w||void 0===w?void 0:w.length),nextPage:e=>{U+1<w.length&&Q(U+1)},prevPage:e=>{U>0&&Q(U-1)},disableNextPage:()=>U+1>=w.length,disablePrevPage:()=>0===U,restartRecommendation:i,restartRecommendationFunction:()=>{a((e=>!e))},isAcaPlan:C,isIchraPlan:S,promptOptions:D,isSurvey:(()=>{let e=window.location.pathname.split("/");for(let t of e)if("survey"===t)return!0;return!1})(),customQuestions:j,dynamicQuestions:P,setOnRecommendationListPage:F,onRecommendationListPage:T,showRecActionModal:R,setShowRecActionModal:I,handlePageHTMLLoaded:e=>{e&&e.AssociatedCarrierIDs&&e.AssociatedCarrierIDs.length?Z(e.AssociatedCarrierIDs):Z([])},courseTypeIncludesElections:Y,displaySettings:O,designStyles:d,setHeaderHeight:h,setContainerHeight:g,updateContentPosition:k,changeLanguageCallback:n})})]})})},wH=e=>{var t,n,r,o;let{item:i,containerStyle:a}=e;return(0,Cs.jsx)("div",{className:a,children:(0,Cs.jsxs)("div",{className:EH,children:[(0,Cs.jsx)("div",{className:"title",children:(0,Cs.jsx)("pre",{className:"text-h4-component",dangerouslySetInnerHTML:{__html:(null===i||void 0===i||null===(t=i.data)||void 0===t||null===(n=t.title)||void 0===n?void 0:n.content)||""}})}),(0,Cs.jsx)(ch,{in:!0,children:(0,Cs.jsx)("div",{className:bs`
              margin-left: 40px;
              margin-top: 8px;
            `,children:(0,Cs.jsx)("pre",{className:"text-body-component",dangerouslySetInnerHTML:{__html:(null===i||void 0===i||null===(r=i.data)||void 0===r||null===(o=r.body)||void 0===o?void 0:o.content)||""}})})})]})})},EH=bs`
  padding: 16px;
  margin: 8px;
  width: calc(100% - 48px);
  border-radius: 8px;
  border: 1px solid var(--accent-color-4);
  cursor: pointer;
  :hover {
    outline: 2px solid var(--accent-color-0);
    outline-offset: -2px;
  }
  .title {
    ${Tu("left")}
    .svg-container {
      ${Tu("center")}
      border-radius: 50%;
      background-color: var(--button-background-color);
      color: var(--button-text-color);
      margin-right: 16px;
      min-width: 24px;
      min-height: 24px;
      svg {
        width: 16px;
        height: 16px;
        animation: rotateFoward 0.4s forwards;
      }
    }
  }

  .text-body-component {
    margin-left: 40px;
  }

  .content {
    margin-left: 40px;
    margin-top: 8px;
  }

  pre {
    ol,
    ul,
    p {
      margin: 0;
      li {
        margin: 0;
      }
    }
  }
`,_H=e=>{const{data:t,markHidden:n=!1,comparisonView:r=!1,premiumsSetExternally:o=!1}=e,{data:{displaySettings:i}}=Ww(),{product:a}=t,s=null===a||void 0===a?void 0:a.Cost,{tiers:l,tierLabels:u}=Yw({cost:s,displaySettings:i});return o?(0,Cs.jsx)(Jw,{data:null===e||void 0===e?void 0:e.data,props:e,Summary:_H}):(0,Cs.jsxs)(Ku,{css:bs`
        width: 100%;
      `,children:[(0,Cs.jsxs)(Ts,{h4:!0,className:bs`
          padding: 16px 0;
          ${r?"color: var(--text-h4); font-size: 22px;":""}
        `,children:["Cost ",12===(null===i||void 0===i?void 0:i.premiumInterval)?"per month":"per pay period"]}),null===l||void 0===l?void 0:l.map(((e,t)=>(0,Cs.jsxs)(Ku,{className:"alternating-item",css:bs`
            ${r?"":Tu("space-between")}
            padding: 8px 24px;
          `,children:[(0,Cs.jsx)(Ts,{label:!0,children:null===u||void 0===u?void 0:u[t]}),(0,Cs.jsx)(Ts,{label:!0,bold:!0,h4:r,children:n?"-":Mw({cost:s,key:e,interval:null===i||void 0===i?void 0:i.premiumInterval})})]})))]})},CH=e=>{var t;let{product:n,field:r,config:o,comparisonView:i=!1}=e;if(!r||!i&&"hide"===r.State||null!==o&&void 0!==o&&o.hideField)return null;const a="sectionTitle"in r,s=e=>{let{children:t}=e;return(0,Cs.jsx)(Ku,{css:bs`
          overflow: hidden;
          ${i&&"hide"===(null===r||void 0===r?void 0:r.State)}
          padding: 8px 24px;
          ${"highlight"===(null===r||void 0===r?void 0:r.State)?`\n            border-left: 4px solid var(--button-background-color, ${ks.purple});\n            p {\n              font-size: 1.3em;\n              font-weight: bold;\n            }\n          `:""}
        `,children:t})};return null!==o&&void 0!==o&&o.hideField?null:null!==o&&void 0!==o&&null!==(t=o.components)&&void 0!==t&&t.length?(0,Cs.jsx)(Cs.Fragment,{children:null===o||void 0===o||null===(l=o.components)||void 0===l?void 0:l.map((e=>(0,Cs.jsx)(s,{children:(0,Cs.jsx)(e,{field:r,Wrapper:s})})))}):a?(0,Cs.jsx)(Ts,{h4:!0,className:bs`
          padding: 16px 0;
          width: 100%;
        `,children:r.sectionTitle}):"label"===r.Type?(0,Cs.jsx)(Ts,{h4:!0,bold:"insurance_plan"===(null===n||void 0===n?void 0:n.Type),className:bs`
          padding: 16px 0;
          width: 100%;
        `,children:r.RecDisplayValue||r.DisplayValue}):(0,Cs.jsx)(s,{children:a?null:(0,Cs.jsxs)(Ku,{css:bs`
            ${r.RecDisplayValue||null!==r&&void 0!==r&&r.DisplayValue?i?"":Tu("space-between start"):""} flex-grow: 1;
          `,children:[(0,Cs.jsx)(Ts,{label:!0,children:r.RecDisplayValue||r.DisplayValue}),"label"!==r.Type&&(0,Cs.jsx)(Tw,{field:r,product:n,comparisonView:i})]})});var l},SH=["hsa_buyup"],DH={telemedicine:"Telemedicine",wellness_differential:"Wellness Differential",disease_management_program:"Disease Management",specialty_pharmacy_program:"Specialty Pharmacy",health_reimbursement_arrangement:"Health Reimbursement Arrangement",health_savings_account:"Health Savings Account",flexible_spending_account:"Flexible Spending Account",custom:"Custom"},jH=Object.entries(DH),AH=e=>{var n,r,o,i,a,s,l,u,c,d,p,f,h,m,g,v;let{data:y}=e;const{product:x,layout:b,includedPrograms:k,meta:{networks:w,fieldsObject:E}}=y,[_,C]=(0,t.useState)(!0),S="custom"===(null===x||void 0===x?void 0:x.Type),D=_h(Fw,{product:x,fieldsObject:E}),{aboveFold:j=[],expandable:A=[]}=(0,t.useMemo)((()=>{var e,t;if(null===b||void 0===b||!b.Sections)return{};const n=IE(x,b),r=null===n||void 0===n?void 0:n.reduce(((e,t)=>{if("hide"===t.State)return e;const n=(null===D||void 0===D?void 0:D[null===t||void 0===t?void 0:t.PropertyChain])||{};return null!==n&&void 0!==n&&n.aboveTheFold?{...e,aboveFold:[...e.aboveFold,t]}:{...e,expandable:[...e.expandable,t]}}),{aboveFold:[],expandable:[]});return{allFields:n,aboveFold:null!==r&&void 0!==r&&null!==(e=r.aboveFold)&&void 0!==e&&e.length?null===r||void 0===r?void 0:r.aboveFold:null===r||void 0===r?void 0:r.expandable,expandable:null!==r&&void 0!==r&&null!==(t=r.aboveFold)&&void 0!==t&&t.length?null===r||void 0===r?void 0:r.expandable:[]}})),P=(0,t.useMemo)((()=>{var e;const t=null===b||void 0===b||null===(e=b.Sections)||void 0===e?void 0:e.findIndex((e=>{let{DisplayValue:t}=e;return"Premiums & Contributions"===t}));if(t>-1){var n,r;const e=null===b||void 0===b||null===(n=b.Sections)||void 0===n?void 0:n[t],o=null===e||void 0===e||null===(r=e.Fields)||void 0===r?void 0:r.find((e=>{let{PropertyChain:t}=e;return"Cost"===t}));return"hide"!==(null===o||void 0===o?void 0:o.State)}return!1})),L="insurance_plan"===(null===x||void 0===x?void 0:x.Type)?w.core:x,M=!(null===x||void 0===x||!x.Disclaimer),N=SH.includes(x.Type)||S,O=null===x||void 0===x||null===(n=x.TitleDescriptions)||void 0===n?void 0:n.filter((e=>{let{Autogenerated:t}=e;return!t})),T=N?null===O||void 0===O?void 0:O.slice(0,5):[],F=N?null===O||void 0===O?void 0:O.slice(5):O,R=!(null===(r=Object.entries(k||{}))||void 0===r||!r.length)&&"hsa_buyup"!==(null===x||void 0===x?void 0:x.Type),I=null===x||void 0===x||null===(o=x.Details)||void 0===o||null===(i=o.ConditionPercentages)||void 0===i?void 0:i.filter((e=>e.Name&&e.Percentage)),B="critical_illness"===x.Type&&(null===I||void 0===I?void 0:I.length),W=!!A.length||!(null===F||void 0===F||!F.length)||R,z=!(null===F||void 0===F||!F.length),$=(0,Wc.get)(x,"Details.InNetworkPlanDesign.SingleEmbeddedDeductibleOOPM"),H=(e=>{try{const t=(null===e||void 0===e?void 0:e.replace(/(?:^|[^"'])((ftp|http|https|file):\/\/[\S]+(\b|$))/gi," <a href='$1' target='_blank'>$1</a>"))||"";return n_(t)}catch{return""}})(null===x||void 0===x?void 0:x.Disclaimer),V=(0,t.useMemo)((()=>null===k||void 0===k?void 0:k.map((e=>{let{ProgramType:t}=e;return t}))),[k]);return(0,Cs.jsx)(Ku,{css:bs`
        ${Tu("center")};
        box-sizing: border-box;
      `,children:(0,Cs.jsxs)(Ku,{css:bs`
          position: relative;
          min-height: 200px;
          width: 100%;
          border-radius: 8px;
          ${Iu}
          padding: 24px 32px;
          background-color: white;
        `,children:[(0,Cs.jsxs)(Ku,{css:bs`
            ${Tu("row jcsb")};
            padding: 16px 0px;
            gap: 32px;
          `,children:[(0,Cs.jsx)(Ku,{css:bs`
              width: 50%;
            `,children:null!==L&&void 0!==L&&null!==(a=L.Details)&&void 0!==a&&a.IsMultiCarrier?(0,Cs.jsxs)(Ku,{css:bs`
                  display: flex;
                  align-items: center;
                  gap: 16px;
                  justify-content: space-between;
                `,children:[(0,Cs.jsx)(wh,{carrierID:(null===L||void 0===L?void 0:L.ProviderID)||"00000000-0000-0000-0000-000000000000",planCarrierName:(null===L||void 0===L?void 0:L.ProviderName)||"",maxWidth:"150px",maxHeight:"100px",position:"center"}),(0,Cs.jsx)(Ku,{css:bs`
                    border-left: 1px solid #26282d;
                    height: 50px;
                  `}),(0,Cs.jsx)(wh,{carrierID:(null===L||void 0===L||null===(s=L.Details)||void 0===s?void 0:s.MultiCarrierID)||"00000000-0000-0000-0000-000000000000",planCarrierName:(null===L||void 0===L||null===(l=L.Details)||void 0===l?void 0:l.MultiCarrierName)||"",maxWidth:"150px",maxHeight:"100px",position:"center"})]}):(0,Cs.jsx)(wh,{carrierID:(null===L||void 0===L?void 0:L.ProviderID)||"00000000-0000-0000-0000-000000000000",planCarrierName:(null===L||void 0===L?void 0:L.ProviderName)||"",maxWidth:"350px",maxHeight:"100px",position:"center"})}),(0,Cs.jsxs)(Ku,{css:bs`
              ${Tu("end column")} width: 50%;
            `,children:[(0,Cs.jsx)(Ts,{styles:"h4",children:(null===L||void 0===L?void 0:L.ProductName)||"Benefit Summary"}),S?(0,Cs.jsx)(Ts,{children:null===x||void 0===x?void 0:x.Description}):null,null!==x&&void 0!==x&&null!==(u=x.Details)&&void 0!==u&&u.NetworkName?(0,Cs.jsxs)(Ts,{css:`\n                  ${Tu("center")} padding-top: 8px;\n                `,children:[null===x||void 0===x||null===(c=x.Details)||void 0===c?void 0:c.NetworkName," ",null!==x&&void 0!==x&&null!==(d=x.Details)&&void 0!==d&&d.MultiCarrierNetworkName&&null!==L&&void 0!==L&&null!==(p=L.Details)&&void 0!==p&&p.IsMultiCarrier?`| ${null===x||void 0===x||null===(f=x.Details)||void 0===f?void 0:f.MultiCarrierNetworkName}`:""]}):null,(null===L||void 0===L||null===(h=L.Details)||void 0===h?void 0:h.IsMultiCarrier)&&(0,Cs.jsx)(Ts,{label:!0,css:`\n                  margin-top: 8px;\n                  background-color: ${ks.gray[100]};\n                  padding: 4px 8px;\n                  border-radius: 16px;\n                `,children:"Multi Carrier"})]})]}),"insurance_plan"===(null===x||void 0===x?void 0:x.Type)&&(0,Cs.jsx)(Ts,{className:bs`
              padding: 16px 0;
              padding-bottom: 0;
            `,children:"*AD = After Deductible"}),(0,Cs.jsxs)(Ku,{css:bs`
             {
              display: flex;
              flex-direction: row;
              width: 100%;
              gap: 32px;
            }
          `,children:[(0,Cs.jsxs)(Ku,{css:bs`
               {
                display: flex;
                flex-direction: column;
                flex-basis: 100%;
                flex: 1;
              }
            `,children:[(0,Cs.jsx)(Ku,{styles:"alternatingList",children:P&&(0,Cs.jsx)(_H,{data:y,premiumsSetExternally:null===y||void 0===y||null===(m=y.product)||void 0===m||null===(g=m.Details)||void 0===g||null===(v=g.PlanType)||void 0===v?void 0:v.startsWith("aca")})}),(0,Cs.jsx)(Ku,{styles:"alternatingList",children:null===j||void 0===j?void 0:j.map((e=>(0,Cs.jsx)(CH,{product:x,field:e,config:(null===D||void 0===D?void 0:D[null===e||void 0===e?void 0:e.PropertyChain])||{}})))}),z&&null!==T&&void 0!==T&&T.length?(0,Cs.jsx)(Ku,{styles:"alternatingList",children:null===T||void 0===T?void 0:T.map(((e,t)=>{let{Title:n}=e;return(0,Cs.jsx)(CH,{product:{TitleDescriptions:T},field:{DisplayValue:n,State:"show",Type:"text-input",PropertyChain:`TitleDescriptions[${t}].Description`}})}))}):null,B?(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsx)(Ts,{label:!0,bold:!0,css:bs`
                    padding: 16px 32px;
                  `,children:"Listed Conditions"}),(0,Cs.jsx)(Ku,{styles:"alternatingListOdd",children:null===I||void 0===I?void 0:I.map(((e,t)=>{let{Name:n}=e;return(0,Cs.jsx)(CH,{product:{Details:{ConditionPercentages:I}},field:{DisplayValue:n,State:"show",Type:"percent",PropertyChain:`Details.ConditionPercentages[${t}].Percentage`}})}))})]}):null]}),W&&(0,Cs.jsxs)(Ku,{css:bs`
                 {
                  display: flex;
                  flex-direction: column;
                  flex-basis: 100%;
                  flex: 1;
                  width: 50%;
                }
              `,children:[(0,Cs.jsx)(Ku,{styles:"alternatingList",children:null===A||void 0===A?void 0:A.map((e=>(0,Cs.jsx)(CH,{product:x,field:e,config:(null===D||void 0===D?void 0:D[null===e||void 0===e?void 0:e.PropertyChain])||{}})))}),R&&(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsx)(Ts,{h4:!0,css:bs`
                      padding: 16px 0px;
                    `,children:"Included Programs"}),(0,Cs.jsx)(Ku,{styles:"alternatingListOdd",children:null===jH||void 0===jH?void 0:jH.map((e=>{var t,n,r;let[o,i]=e;return V.includes(o)?(0,Cs.jsxs)(Ku,{className:"alternating-item",css:bs`
                            padding: 8px 24px;
                            ${Tu("space-between")}
                            svg {
                              color: var(--button-background-color, ${ks.purple});
                            }
                          `,children:[(0,Cs.jsx)(Ts,{label:!0,children:(null===k||void 0===k||null===(t=k[o])||void 0===t||null===(n=t.RawData)||void 0===n||null===(r=n.Details)||void 0===r?void 0:r.Name)||DH[o]}),(0,Cs.jsx)(vh,{size:24})]},o):null}))})]}),(null===F||void 0===F?void 0:F.length)>0&&(0,Cs.jsxs)(Cs.Fragment,{children:[(0,Cs.jsx)(Ts,{h4:!0,className:bs`
                      padding: 16px 0;
                    `,children:"Other Details"}),(0,Cs.jsx)(Ku,{styles:"alternatingListOdd",children:null===F||void 0===F?void 0:F.map(((e,t)=>{let{Title:n}=e;return(0,Cs.jsx)(CH,{product:{TitleDescriptions:F},field:{DisplayValue:n,State:"show",Type:"text-input",PropertyChain:`TitleDescriptions[${t}].Description`}})}))})]})]})]}),$?(0,Cs.jsx)(Ts,{css:"\n              margin: 16px;\n              font-size: 0.9em;\n            ",children:"* All dependents deductibles & OOPM are subject to the single deductible & OOPM."}):null,M?(0,Cs.jsxs)(Ts,{className:bs`
              font-size: 14px;
              padding: 32px;
              margin-top: -16px;
              padding-top: 0;
            `,children:[H.slice(0,200),(null===H||void 0===H?void 0:H.length)>200?"...":"",(null===H||void 0===H?void 0:H.length)>200?(0,Cs.jsx)(Ts,{as:"span",onClick:()=>C(!_),css:`\n                  margin-left: 16px;\n                  text-decoration: underline;\n                  color: ${ks.black};\n                  cursor: pointer;\n                  :hover {\n                    font-weight: bold;\n                  }\n                `,children:"See All"}):null]}):null]})})};var PH=n(3245);const LH=e=>{var t;let{data:n}=e;const{IsMultiCarrier:r,MultiCarrierNetworkName:o,MultiCarrierNetworkDescription:i,MultiCarrierNetworkCarrierSearchUrl:a,NetworkName:s,NetworkDescription:l,NetworkProviderSearchUrl:u}=(null===n||void 0===n||null===(t=n.product)||void 0===t?void 0:t.Details)||{},{ProductNetworkName:c,ProductNetworkDescription:d,ProductNetworkProviderSearchUrl:p}=(null===n||void 0===n?void 0:n.product)||{};return(0,Cs.jsxs)(Ku,{css:bs`
        padding: 8px;
        width: 100%;
      `,children:[(0,Cs.jsx)(Ku,{css:bs`
          display: flex;
          padding: 16px 0px;
          align-items: flex-start;
          gap: 24px;
          align-self: stretch;
        `,children:(0,Cs.jsx)(Ts,{h4:!0,children:"Network Information"})}),(0,Cs.jsxs)(Ku,{css:bs`
          display: flex;
          flex-direction: column;
          gap: 16px;
        `,children:[(0,Cs.jsxs)(Ku,{css:bs`
            display: flex;
            justify-content: space-between;
          `,children:[(0,Cs.jsxs)(Ku,{css:bs`
              display: flex;
              flex-direction: column;
              align-items: flex-start;
              gap: 16px;
            `,children:[(0,Cs.jsxs)(Ts,{h2:!0,children:["Search for ",c||s," Providers"]}),(0,Cs.jsx)(Ts,{body:!0,children:d||l})]}),(0,Cs.jsx)(Ku,{css:bs`
              padding: 8px;
            `,children:(0,Cs.jsx)(PH.Ay,{size:108,value:p||u||""})})]}),r&&(0,Cs.jsx)(Ku,{css:bs`
              display: flex;
              justify-content: space-between;
            `,children:(0,Cs.jsxs)(Ku,{css:bs`
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                gap: 16px;
              `,children:[(0,Cs.jsxs)(Ts,{h2:!0,children:["Search for ",o," Providers"]}),(0,Cs.jsx)(Ts,{body:!0,children:i}),(0,Cs.jsx)(Ku,{css:bs`
                  padding: 8px;
                `,children:(0,Cs.jsx)(PH.Ay,{size:108,value:a||""})})]})})]})]})},MH=e=>{let{item:n,containerStyle:r}=e;const{component:o,data:i,type:a}=n,s=E_({productId:null===i||void 0===i?void 0:i.id,productType:a}),l=(0,t.useMemo)((()=>{if("benefits"===o)return(0,Cs.jsx)(AH,{data:s});if("pricing"===o){var e,t,n;const o=null===s||void 0===s||null===(e=s.product)||void 0===e||null===(t=e.Details)||void 0===t||null===(n=t.PlanType)||void 0===n?void 0:n.startsWith("aca"),l={data:s,summary:i,type:a,premiumsSetExternally:o};return(0,Cs.jsx)(Ku,{style:r,children:(0,Cs.jsx)(x_,{isPDF:!0,...l})})}return"network"===o?(0,Cs.jsx)(LH,{data:s}):void 0}),[null===i||void 0===i?void 0:i.id,null===i||void 0===i?void 0:i.variant,s]);return null!==i&&void 0!==i&&i.id?l:null},NH=e=>{let{title:t="",description:n="",url:r=""}=e;return(0,Cs.jsx)(Ku,{css:bs`
        display: inline-block;
        width: 100%;
      `,children:(0,Cs.jsx)(Ku,{css:bs`
          display: flex;
          flex-direction: column;
          gap: 16px;
        `,children:(0,Cs.jsxs)(Ku,{css:bs`
            display: flex;
            justify-content: space-between;
            overflow-wrap: break-word;
          `,children:[(0,Cs.jsxs)(Ku,{css:bs`
              display: flex;
              flex-direction: column;
              align-items: flex-start;
              padding: 8px;
              gap: 16px;
            `,children:[t&&(0,Cs.jsx)(Ts,{h2:!0,children:t}),n&&(0,Cs.jsx)(Ts,{body:!0,css:bs`
                  word-break: break-all;
                `,children:n})]}),(0,Cs.jsx)(Ku,{children:(0,Cs.jsx)(PH.Ay,{size:108,value:r})})]})})})},OH=e=>{let{text:t}=e;return(0,Cs.jsx)("div",{className:bs`
      background-color: rgba(0, 0, 0, 0);
      padding: 8px;
      width: 100%;
      height: 100%;
      box-sizing: border-box;
    `,children:(0,Cs.jsx)("span",{className:"text-body-component",style:{color:"var(--button-background-color)"},children:t})})},TH=e=>{var t,n,r,o,i,a,s;let{item:l,totalColumns:u,containerStyle:c}=e;const d=j_({column:l,length:u,type:"component"}),p=P_(l);switch(null===l||void 0===l||null===(t=l.action)||void 0===t?void 0:t.type){case"open-website":return(0,Cs.jsx)(NH,{title:l.content,description:null===l||void 0===l||null===(n=l.action)||void 0===n||null===(r=n.data)||void 0===r?void 0:r.url,url:null===l||void 0===l||null===(o=l.action)||void 0===o||null===(i=o.data)||void 0===i?void 0:i.url});case"route-to-page":return null;case"call-phone":return(0,Cs.jsx)(OH,{text:null===l||void 0===l||null===(a=l.action)||void 0===a||null===(s=a.data)||void 0===s?void 0:s.callNumber});default:return(0,Cs.jsx)("div",{style:c,children:(0,Cs.jsx)("button",{...d,onClick:p,children:l.content})})}},FH=e=>{let{hasDefaultContainer:t=!0,size:n,value:r=""}=e;const o={size:n,value:r};return t?(0,Cs.jsx)(Ku,{css:bs`
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 8px;
      `,children:(0,Cs.jsx)(PH.Ay,{...o})}):(0,Cs.jsx)(PH.Ay,{...o})},RH=e=>{var t,n;let{item:r,totalColumns:o,containerStyle:i}=e;const a=j_({column:r,length:o,type:"component"});return(0,Cs.jsx)("div",{style:i,children:(0,Cs.jsx)("div",{...a,style:{width:"100%",boxSizing:"border-box"},children:(0,Cs.jsxs)("div",{className:bs`
            background-color: ${ks.gray[100]};
            display: flex;
            align-items: center;
            justify-content: start;
            border-radius: 8px;
            width: 100%;
            height: 64px;
          `,children:[(0,Cs.jsx)(FH,{hasDefaultContainer:!1,size:64,value:null===r||void 0===r||null===(t=r.document)||void 0===t?void 0:t.PublicURL}),(0,Cs.jsx)("p",{className:bs`
              font-size: 18px;
              color: ${ks.black};
              margin-left: 16px;
              overflow: hidden;
              white-space: nowrap;
              text-overflow: ellipsis;
            `,children:null===r||void 0===r||null===(n=r.document)||void 0===n?void 0:n.Name})]})})})},IH=e=>{var t;let{item:n,totalColumns:r,containerAttributes:o,containerStyle:i}=e;const a=j_({column:n,length:r,type:"component"});return(0,Cs.jsx)("div",{style:i,children:null!==n&&void 0!==n&&n.crop?(0,Cs.jsx)(aC,{style:null===a||void 0===a?void 0:a.style,width:null===o||void 0===o||null===(t=o.style)||void 0===t?void 0:t.width,crop:null===n||void 0===n?void 0:n.crop,imageProps:{src:null===a||void 0===a?void 0:a.src,alt:null===a||void 0===a?void 0:a.alt}}):(0,Cs.jsx)("img",{alt:"",...a})})},BH=e=>{var t;let{item:n,totalColumns:r,containerAttributes:o,containerStyle:i}=e;const a=j_({column:n,length:r,type:"component"}),s="space"===n.component?{borderRadius:(null===o||void 0===o||null===(t=o.style)||void 0===t?void 0:t.borderRadius)||"0"}:{},l={...a.style,...s};return(0,Cs.jsx)("div",{style:i,children:(0,Cs.jsx)("div",{...a,style:l})})},WH=e=>{var t;let{item:n,totalColumns:r,containerStyle:o}=e;if(null!==n&&void 0!==n&&null!==(t=n.content)&&void 0!==t&&t.includes("href")){var i,a;const e=document.createElement("div");e.innerHTML=n.content;const t=null===e||void 0===e||null===(i=e.querySelector("a"))||void 0===i?void 0:i.href,r=null===e||void 0===e||null===(a=e.querySelector("u"))||void 0===a?void 0:a.outerHTML;n.content=n.content.replace(r,`\n${t}`)}const s=j_({column:n,length:r,type:"component"}),l=xs(s.className,bs`
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      line-height: 1.2em;
      p {
        display: inline-block;
        line-height: 1.2em;
        width: 100%;
        margin: 0;
        padding: 0;
      }
      ol,
      ul {
        margin: 0;
        line-height: 0;
      }
      li {
        margin: 0;
        line-height: 1.5em;
        white-space: pre-line;
      }
    `),u=xs(s.className,bs`
      ol,
      ul,
      p {
        margin: 0;
        li {
          margin: 0;
        }
      }
    `);return(0,Cs.jsx)("div",{style:o,children:(0,Cs.jsx)("pre",{...s,className:"textV2"===(null===n||void 0===n?void 0:n.component)?u:l,dangerouslySetInnerHTML:{__html:(null===n||void 0===n?void 0:n.content)||""}})})},zH=e=>{let{item:t}=e;return(0,Cs.jsx)(NH,{description:null===t||void 0===t?void 0:t.videoUrl,url:null===t||void 0===t?void 0:t.videoUrl})},$H=e=>{var t,n,r,o;let{item:i}=e;return(0,Cs.jsx)(NH,{title:null===i||void 0===i?void 0:i.content,description:null===i||void 0===i||null===(t=i.action)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.url,url:null===i||void 0===i||null===(r=i.action)||void 0===r||null===(o=r.data)||void 0===o?void 0:o.url})},HH=e=>{var t,n;const{item:r,totalColumns:o}=e;if(null!==r&&void 0!==r&&null!==(t=r.mediaSetting)&&void 0!==t&&null!==(n=t.pdf)&&void 0!==n&&n.hidden)return null;const i=j_({column:r,length:o,type:"container"}),a={...i.style,height:"100%",width:"100%",boxSizing:"border-box"},s={...e,containerAttributes:i,containerStyle:a};switch(r.component){case"accordion":return(0,Cs.jsx)(wH,{...s});case"benefits":case"pricing":case"network":return(0,Cs.jsx)(MH,{...s});case"button":return(0,Cs.jsx)(TH,{...s});case"document":return(0,Cs.jsx)(RH,{...s});case"image":return(0,Cs.jsx)(IH,{...s});case"space":case"line":return(0,Cs.jsx)(BH,{...s});case"text":case"textV2":return(0,Cs.jsx)(WH,{...s});case"video":return(0,Cs.jsx)(zH,{...s});case"website":return(0,Cs.jsx)($H,{...s});default:return null}},VH=bs`
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
`,UH=e=>{var n,r,o;const{item:i,totalColumns:a}=e,s=C_(i,a),l=bs`
    width: ${100*s}%;
    box-sizing: border-box;
  `;return(0,Cs.jsx)(Cs.Fragment,{children:"list"===(null===e||void 0===e||null===(n=e.item)||void 0===n?void 0:n.type)?(0,Cs.jsx)("div",{className:xs(VH,l,"component-container"),children:null===e||void 0===e||null===(r=e.item)||void 0===r||null===(o=r.list)||void 0===o?void 0:o.map(((n,r)=>(0,t.createElement)(HH,{...e,item:n,key:r})))}):(0,Cs.jsx)("div",{className:xs(l,"component-container"),children:(0,Cs.jsx)(HH,{...e})})})},qH="\n  .mobile-only {\n    display: none !important;\n  }\n",YH="\n  .desktop-only {\n    display: none !important;\n  }\n",GH=(e,t)=>bs`
    box-sizing: border-box;
    padding: 8px;
    margin: 0 auto;
    ${e}
    overflow-x: visible;

    @media only screen and (min-width: 420px) {
      ${"unknown"===t&&qH}
    }
    @media only screen and (max-width: 420px) {
      .row.stack-columns {
        flex-direction: column;
        .component-container {
          width: 100%;
        }
      }
      ${"unknown"!==t?YH:""}
    }

    ${"unknown"!==t?YH:""}
    ${"unknown"===t?qH:""}

    ${"unknown"!==t?"\n    .row.stack-columns {\n      flex-direction: column;\n      .component-container {\n        width: 100%;\n      }\n    }\n    ":""}

    .row {
      z-index: 5;
      page-break-inside: avoid;
      a {
        color: inherit;
        text-decoration: inherit;
      }
    }

    .non-viewable {
      display: none !important;
    }
    opacity: 100%;

    ${Wu("fadein",".35s ease")};
    img {
      ${Wu("fadein",".2s ease")};
    }
  `,ZH=e=>bs`
  z-index: -1;
  position: absolute;
  top: 0;
  bottom: 0;
  ${null!==e&&void 0!==e&&e.fullScreenWidth?`\n    left: calc(100% / 2 - ${window.innerWidth/2}px);\n    width: ${1*window.innerWidth}px;\n  `:"\n      left: 0;\n      right: 0;\n  "}
`,KH=e=>{var n,r;let{page:o}=e;const i=(0,t.useRef)(),a=null===o||void 0===o?void 0:o.Content,{data:{displaySettings:s}}=Ww(),l=e=>{let t=["row"];return null!==e&&void 0!==e&&e.hideOnMobile&&null!==e&&void 0!==e&&e.hideOnDesktop?t.push("non-viewable"):null!==e&&void 0!==e&&e.hideOnMobile?t.push("desktop-only"):null!==e&&void 0!==e&&e.hideOnDesktop&&t.push("mobile-only"),null!==e&&void 0!==e&&e.stackColumns&&t.push("stack-columns"),null!==e&&void 0!==e&&e.fullScreenWidth&&t.push("full-screen-width"),t.join(" ")},u=A_();return a&&s?(0,Cs.jsx)("div",{style:{backgroundColor:"var(--background-color)",breakAfter:"page",width:1080,...(null===a||void 0===a||null===(n=a.root)||void 0===n?void 0:n.containerStyle)||{}},children:(0,Cs.jsx)("div",{ref:i,className:xs("_brite-content",GH("\n  width: 100%,\n  max-width: 1080px,\n  min-width: 1080px,\n",u)),children:null===a||void 0===a||null===(r=a.rows)||void 0===r?void 0:r.map(((e,t)=>{var n,r;return!(null!==e&&void 0!==e&&e.hideOnExport)&&(0,Cs.jsxs)("div",{className:l(e),children:[(0,Cs.jsx)("div",{className:ZH(e),style:(null===e||void 0===e?void 0:e.style)||{}}),null===e||void 0===e||null===(r=e.columns)||void 0===r?void 0:r.map(((n,r)=>{var i;return(0,Cs.jsx)(UH,{item:n,rowIdx:t,isStackColumns:null===e||void 0===e?void 0:e.stackColumns,totalColumns:(null===e||void 0===e||null===(i=e.columns)||void 0===i?void 0:i.length)||0},(null===o||void 0===o?void 0:o.ID)+(null===e||void 0===e?void 0:e.rowId)+r)}))]},(null===e||void 0===e?void 0:e.rowId)+(null===i||void 0===i||null===(n=i.current)||void 0===n?void 0:n.offsetLeft))}))})}):null};function QH(e){let{guideId:n}=e;const{data:{pages:r},setStore:o}=Ww(),[i,a]=(0,t.useState)(!0),[s,l]=(0,t.useState)(!1),[u,c]=(0,t.useState)(!1),{BusinessID:d="",BenefitsPackageID:p=""}=(null===r||void 0===r?void 0:r[0])||{};qw(d,p,(e=>o("displaySettings",e)));const f=jB(),h=e=>e.toUpperCase().startsWith("ACAPLANS"),m=e=>e.toUpperCase().startsWith("ICHRA"),g=async()=>{if(o("businessId",d),p&&d)try{const e=`/public/v1/business/${d}/benefitspackage/${p}/product`,{data:t}=await Ha.get(e);let n=[];for(const r of t)if("insurance_plan"===r.Type){const e=`/public/v1/plans/${r.ID}`,{data:t}=await Ha.get(e);n.push(t)}else n.push(r);o("benefitsPackage",n)}catch(e){console.error(e)}};return(0,t.useEffect)((()=>{g(),(async()=>{if(p||d)try{const t=`/public/v1/business/${d}/benefitspackage/${p}/product-layout`,{data:n}=await Ha.get(t),{data:r}=await Ha.get(`/public/v2/business/${d}/benefitspackage/${p}/product`);let i=(0,Wc.cloneDeep)((null===n||void 0===n?void 0:n.Data)||[]);for(let o of i)for(let t of null===o||void 0===o||null===(e=o.Layout)||void 0===e?void 0:e.Sections){var e;let n=[];for(let e of null===t||void 0===t?void 0:t.Fields)"visionFrequency"===e.Type?(n[n.length-1].frequency=e,n[n.length-1].Type="visionFrequency"):n.push(e);t.Fields=n}const a=i.reduce(((e,t)=>({...e,[t.ProductID]:t})),{}),s=r.reduce(((e,t)=>{var n,r;return[...e,{...t,sections:(null===a||void 0===a||null===(n=a[null===t||void 0===t?void 0:t.ID])||void 0===n||null===(r=n.Layout)||void 0===r?void 0:r.Sections)||[]}]}),[]);o("products",s),o("productLayouts",a)}catch(t){console.warn(t)}})()}),[r.length]),(0,t.useEffect)((()=>{let e=!1;return u||async function(){a(!0),g();try{const r=f.getItem("passcode",!0);r&&Ha.setHeader("X-Brite-Course-Passcode",r);let i=`/public/v1/course/${n}`;const a=await Ha.get(i);if(!e){0===a.data.length?l(!0):l(!1);let e,n=(0,Wc.sortBy)(a.data,["Order"]).filter((e=>"brite-editor"===e.Type)),r=!1,i=!1,s=!1,u=!1,c="",d="";for(let t of n){if(e||(e={courseID:t.CourseID,courseName:t.CourseName,businessName:t.BusinessName,businessID:t.BusinessID,parentBusinessName:t.ParentBusinessName,parentBusinessID:t.ParentBusinessID}),s=s||"decision"===t.Type,t.EnrollmentURL){if(c=t.EnrollmentURL,c){let e=c;e.match(/^http?:\/\//i)||e.match(/^https?:\/\//i)||(e="https://"+e),c=e}t.EnrollmentLogoURL&&(d=t.EnrollmentLogoURL)}if(u=u||"question"===t.Type,t.InsurancePlans&&t.InsurancePlans.length>0)for(let e of t.InsurancePlans)(h(e.PlanType)||m(e.PlanType))&&(r=r||h(e.PlanType),i=i||m(e.PlanType))}o("isAcaPlan",r),o("isIchraPlan",i);let p=!1;if(n.length>0&&n[0]&&(p=n[0].ShowFeedbackPage),c||p){if(c&&!d)try{const e=await Ha.get("/public/v1/bp/ben_admin?share_scope=eq.global",{headers:{"Accept-Profile":"brite_public"}});for(let t of null===e||void 0===e?void 0:e.data)for(let e of t.domains)if(c.includes(e)){d=t.logo_url;break}}catch(t){console.error(t)}n=[...n,{Type:"endOfGuideEnroll",ID:"endOfGuideEnroll",Name:c?"Enroll":"Feedback",EnrollmentURL:c||"",EnrollmentLogoURL:d||"",HTMLContent:"",Content:"",ShowFeedbackPage:p,...e}]}o("pages",n)}}catch(ce){console.log(ce),!e&&ce.response&&403===ce.response.status?c(!0):e||l(!0)}finally{e||a(!1)}}(),()=>{e=!0}}),[u]),{pages:r,loading:i,error:s}}const XH=e=>{var t;let{guideId:n,pageId:r}=e;const{pages:o,loading:i}=QH({guideId:n});return 0===(null===o||void 0===o?void 0:o.length)?null:(0,Cs.jsx)(PC,{theme:bH,children:(0,Cs.jsx)(Ku,{css:bs`
          background: white;
          height: 100%;
          font-family: 'Roboto', 'Montserrat', sans-serif;
          overflow: visible;
        `,children:(0,Cs.jsx)(Ku,{css:bs`
            display: flex;
            flex-direction: column;
            height: 100%;
          `,children:i?(0,Cs.jsx)(Ku,{css:bs`
                width: 100%;
                height: 100%;
                display: flex;
                justify-content: center;
                align-items: center;
              `,children:(0,Cs.jsx)(xf,{})}):(0,Cs.jsxs)("main",{id:"main-content",className:bs`
                flex: auto;
                overflow-y: visible;
              `,children:[(0,Cs.jsx)("link",{rel:"stylesheet",href:`${Ha.baseURL()}public/v1/course/${null===(t=o[0])||void 0===t?void 0:t.CourseID}/theme-css`}),r?(0,Cs.jsx)(KH,{page:null===o||void 0===o?void 0:o.find((e=>e.ID===r))}):null===o||void 0===o?void 0:o.map(((e,t)=>(0,Cs.jsx)(KH,{page:e},t)))]})})})})},JH=()=>{const[e,n,r]=window.location.pathname.substring(1).split("/"),[o,i]=(0,t.useState)(""),a=Hw("integrated-language-translation"),s=jB();(0,t.useEffect)((()=>{if(null!==a&&void 0!==a&&a.value)if(o)ko.register({currentLanguage:o});else{const e=s.getItem("wglang",!0);e&&i(e)}else i("")}),[o,null===a||void 0===a?void 0:a.value]);const l=e=>{i(e)};switch(e){case"brite-template-preview":return n?(0,Cs.jsx)(DC,{templateId:n}):null;case"pdf-preview":return n?(0,Cs.jsx)(XH,{guideId:n,pageId:r}):null;default:return(0,Cs.jsx)(kH,{changeLanguageCallback:l},o)}},eV=()=>{const e={color:ks.black,size:32,weight:"regular",mirrored:!1},n=Hw("integrated-language-translation");return(0,t.useEffect)((()=>{if(null===n||void 0===n||!n.value)return;const e=document.createElement("script");e.innerText="Weglot.initialize({\n            api_key: 'wg_a2ba8b2e281abc096c1790426f0419d13',\n            hide_switcher: true,\n        });",document.head.appendChild(e),document.documentElement.removeAttribute("translate")}),[null===n||void 0===n?void 0:n.value]),(0,Cs.jsx)(Va.Provider,{value:e,children:(0,Cs.jsx)(As,{children:(0,Cs.jsx)(JH,{})})})};let tV=window.location.pathname.split("/"),nV={"uslbm-benefits.com":"uslbm-benefits/1","uslbmbenefits.com":"uslbm-benefits/1","brites.app":"hoolibenefits/1",localhost:"hoolibenefits/1"};(tV.length<2||!tV[1])&&nV[window.location.hostname]&&(window.location.href=window.location.href+nV[window.location.hostname]),tV.length>1&&"varex-demo"===tV[1]&&window.location.replace("https://britebenefits.com");const rV="c9b6a17",oV="main";if(F.start({key:"AIzaSyAzd0qhj-7FGS0zdseN09-WnHoa_6BYjQA",projectId:"be-brite",service:"employee-view",version:oV+"."+rV,disabled:!1}),console.log("VERSION >>>",rV),console.log("BRANCH >>>",oV),tV.length>=2&&("brite-template-preview"===tV[1]||"pdf-preview"===tV[1])){const e=new URLSearchParams(window.location.search).get("passcode");e&&(Ha.setHeader("X-Brite-Course-Passcode",e),window.localStorage.setItem("passcode",e)),r.render((0,Cs.jsx)(eV,{}),document.getElementById("root"))}else{const e=new URLSearchParams(window.location.search);if(e.get("lang")){let t=window.location.href;"localhost"===window.location.hostname&&(console.log("cannot translate localhost, translating production instead"),t=`https://britehr.app${window.location.pathname}${window.location.search}`);const n=`https://translate.google.com/translate?hl=&sl=en&tl=${e.get("lang")}&u=${encodeURIComponent(t)}`;window.location.href=n}const t=t=>{wo.init("phc_E7ZZJ6g6bxVfbXHXCGMhJoE257tTURmxcLHe4G2HmUO",{api_host:"https://app.posthog.com",capture_pageview:!1,loaded:function(n){let r={};const o=e.get("lt");o&&(r.initialLinkTracker=o),"preview"===o?(Ha.setHeader("Cache-Control","no-cache"),Ha.setHeader("X-Brite-Bypass-Cache","true"),n.opt_out_capturing()):n.has_opted_out_capturing()&&n.opt_in_capturing(),null!==t?n.identify(t,{},r):(n.register_once(r),t=n.get_distinct_id()),n.setPersonProperties({currentBusinessID:null,currentParentID:null}),Ha.setHeader("X-Brite-User-Identifier",t),o?(n.register({linkTracker:o}),Ha.setHeader("X-Brite-Link-Tracker",o)):n.unregister("linkTracker")}}),r.render((0,Cs.jsx)(eV,{}),document.getElementById("root"))};ue().then((e=>{t(e.visitorId)})).catch((e=>{F.report(`Error getting visitor ID: ${e}`),t(null)}))}})()})();
//# sourceMappingURL=main.441460ad.js.map