1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9cecbb5e-150a-4d09-a70c-cb838bb1241f",e._sentryDebugIdIdentifier="sentry-dbid-9cecbb5e-150a-4d09-a70c-cb838bb1241f")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[811],{34152:function(e,t,r){"use strict";r.d(t,{Z:function(){return Z}});var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t;this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t))}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else r.appendChild(document.createTextNode(e));this.ctr++}
vendor: 9,083 bytes, line 1
1,t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),i=Math.abs,a=String.fromCharCode,o=Object.assign;function s(e,t,r){return e.replace(t,r)}function l(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function c(e,t,r){return e.slice(t,r)}function d(e){return e.length}function p(e,t){return t.push(e),e}var f=1,h=1,m=0,g=0,v=0,y="";function b(e,t,r,n,i,a,o){return{value:e,root:t,parent:r,type:n,props:i,children:a,line:f,column:h,length:o,return:""}}function x(e,t){return o(b("",null,null,"",null,null,0),e,{length:-e.length},t)}function w(){return v=g<m?u(y,g++):0,h++,10===v&&(h=1,f++),v}function E(){return u(y,g)}function S(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function T(e){return f=h=1,m=d(y=e),g=0,[]}function _(e){var t,r;return(t=g-1,r=function e(t){for(;w();)switch(v){case t:return g;case 34:case 39:34!==t&&39!==t&&e(v);break;case 40:41===t&&e(t);break;case 92:w()}return g}(91===e?e+2:40===e?e+1:e),c(y,t,r)).trim()}var k="-ms-",C="-moz-",O="-webkit-",A="comm",I="rule",P="decl",M="@keyframes";function R(e,t){for(var r="",n=e.length,i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function L(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case P:return e.return=e.return||e.value;case A:return"";case M:return e.return=e.value+"{"+R(e.children,n)+"}";case I:e.value=e.props.join(",")}return d(r=R(e.children,n))?e.return=e.value+"{"+r+"}":""}function j(e,t,r,n,a,o,l,u,d,p,f){for(var h=a-1,m=0===a?o:[""],g=m.length,v=0,y=0,x=0;v<n;++v)for(var w=0,E=c(e,h+1,h=i(y=l[v])),S=e;w<g;++w)(S=(y>0?m[w]+" "+E:s(E,/&\f/g,m[w])).trim())&&(d[x++]=S);return b(e,t,r,0===a?I:u,d,p,f)}function N(e,t,r,n){return b(e,t,r,P,c(e,0,n),c(e,n+1,-1),n)}var D=function(e,t,r){for(var n=0,i=0;n=i,i=E(),38===n&&12===i&&(t[r]=1),!S(i);)w();return c(y,e,g)},B=function(e,t){var r=-1,n=44;do switch(S(n)){case 0:38===n&&12===E()&&(t[r]=1),e[r]+=D(g-1,t,r);break;case 2:e[r]+=_(n);break;case 4:if(44===n){e[++r]=58===E()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=a(n)}while(n=w());return e},F=function(e,t){var r;return r=B(T(e),t),y="",r},z=new WeakMap,H=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||z.get(r))&&!n){z.set(e,!0);for(var i=[],a=F(t,i),o=r.props,s=0,l=0;s<a.length;s++)for(var u=0;u<o.length;u++,l++)e.props[l]=i[s]?a[s].replace(/&\f/g,o[u]):o[u]+" "+a[s]}}},V=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},$=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case P:e.return=function e(t,r){switch(45^u(t,0)?(((r<<2^u(t,0))<<2^u(t,1))<<2^u(t,2))<<2^u(t,3):0){case 5103:return O+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return O+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return O+t+C+t+k+t+t;case 6828:case 4268:return O+t+k+t+t;case 6165:return O+t+k+"flex-"+t+t;case 5187:return O+t+s(t,/(\w+).+(:[^]+)/,O+"box-$1$2"+k+"flex-$1$2")+t;case 5443:return O+t+k+"flex-item-"+s(t,/flex-|-self/,"")+t;case 4675:return O+t+k+"flex-line-pack"+s(t,/align-content|flex-|-self/,"")+t;case 5548:return O+t+k+s(t,"shrink","negative")+t;case 5292:return O+t+k+s(t,"basis","preferred-size")+t;case 6060:return O+"box-"+s(t,"-grow","")+O+t+k+s(t,"grow","positive")+t;case 4554:return O+s(t,/([^-])(transform)/g,"$1"+O+"$2")+t;case 6187:return s(s(s(t,/(zoom-|grab)/,O+"$1"),/(image-set)/,O+"$1"),t,"")+t;case 5495:case 3959:return s(t,/(image-set\([^]*)/,O+"$1$`$1");case 4968:return s(s(t,/(.+:)(flex-)?(.*)/,O+"box-pack:$3"+k+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+O+t+t;case 4095:case 3583:case 4068:case 2532:return s(t,/(.+)-inline(.+)/,O+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(d(t)-1-r>6)switch(u(t,r+1)){case 109:if(45!==u(t,r+4))break;case 102:return s(t,/(.+:)(.+)-([^]+)/,"$1"+O+"$2-$3$1"+C+(108==u(t,r+3)?"$3":"$2-$3"))+t;case 115:return~l(t,"stretch")?e(s(t,"stretch","fill-available"),r)+t:t}break;case 4949:if(115!==u(t,r+1))break;case 6444:switch(u(t,d(t)-3-(~l(t,"!important")&&10))){case 107:return s(t,":",":"+O)+t;case 101:return s(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+O+(45===u(t,14)?"inline-":"")+"box$3$1"+O+"$2$3$1"+k+"$2box$3")+t}break;case 5936:switch(u(t,r+11)){case 114:return O+t+k+s(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return O+t+k+s(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return O+t+k+s(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return O+t+k+t+t}return t}(e.value,e.length);break;case M:return R([x(e,{value:s(e.value,"@","@"+O)})],n);case I:if(e.length){var i,a;return i=e.props,a=function(t){var r;switch(r=t,(r=/(::plac\w+|:read-\w+)/.exec(r))?r[0]:r){case":read-only":case":read-write":return R([x(e,{props:[s(t,/:(read-\w+)/,":"+C+"$1")]})],n);case"::placeholder":return R([x(e,{props:[s(t,/:(plac\w+)/,":"+O+"input-$1")]}),x(e,{props:[s(t,/:(plac\w+)/,":"+C+"$1")]}),x(e,{props:[s(t,/:(plac\w+)/,k+"input-$1")]})],n)}return""},i.map(a).join("")}}}],Z=function(e){var t,r,i,o,m,x,k=e.key;if("css"===k){var C=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(C,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var O=e.stylisPlugins||$,I={},P=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+k+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)I[t[r]]=!0;P.push(e)});var M=(r=(t=[H,V].concat(O,[L,(i=function(e){x.insert(e)},function(e){!e.root&&(e=e.return)&&i(e)})])).length,function(e,n,i,a){for(var o="",s=0;s<r;s++)o+=t[s](e,n,i,a)||"";return o}),D=function(e){var t,r;return R((r=function e(t,r,n,i,o,m,x,T,k){for(var C,O=0,I=0,P=x,M=0,R=0,L=0,D=1,B=1,F=1,z=0,H="",V=o,$=m,Z=i,U=H;B;)switch(L=z,z=w()){case 40:if(108!=L&&58==u(U,P-1)){-1!=l(U+=s(_(z),"&","&\f"),"&\f")&&(F=-1);break}case 34:case 39:case 91:U+=_(z);break;case 9:case 10:case 13:case 32:U+=function(e){for(;v=E();)if(v<33)w();else break;return S(e)>2||S(v)>3?"":" "}(L);break;case 92:U+=function(e,t){for(var r;--t&&w()&&!(v<48)&&!(v>102)&&(!(v>57)||!(v<65))&&(!(v>70)||!(v<97)););return r=g+(t<6&&32==E()&&32==w()),c(y,e,r)}(g-1,7);continue;case 47:switch(E()){case 42:case 47:p(b(C=function(e,t){for(;w();)if(e+v===57)break;else if(e+v===84&&47===E())break;return"/*"+c(y,t,g-1)+"*"+a(47===e?e:w())}(w(),g),r,n,A,a(v),c(C,2,-2),0),k);break;default:U+="/"}break;case 123*D:T[O++]=d(U)*F;case 125*D:case 59:case 0:switch(z){case 0:case 125:B=0;case 59+I:-1==F&&(U=s(U,/\f/g,"")),R>0&&d(U)-P&&p(R>32?N(U+";",i,n,P-1):N(s(U," ","")+";",i,n,P-2),k);break;case 59:U+=";";default:if(p(Z=j(U,r,n,O,I,o,T,H,V=[],$=[],P),m),123===z){if(0===I)e(U,r,Z,Z,V,m,P,T,$);else switch(99===M&&110===u(U,3)?100:M){case 100:case 108:case 109:case 115:e(t,Z,Z,i&&p(j(t,Z,Z,0,0,o,T,H,o,V=[],P),$),o,$,P,T,i?V:$);break;default:e(U,Z,Z,Z,[""],$,0,T,$)}}}O=I=R=0,D=F=1,H=U="",P=x;break;case 58:P=1+d(U),R=L;default:if(D<1){if(123==z)--D;else if(125==z&&0==D++&&125==(v=g>0?u(y,--g):0,h--,10===v&&(h=1,f--),v))continue}switch(U+=a(z),z*D){case 38:F=I>0?1:(U+="\f",-1);break;case 44:T[O++]=(d(U)-1)*F,F=1;break;case 64:45===E()&&(U+=_(w())),M=E(),I=P=d(H=U+=function(e){for(;!S(E());)w();return c(y,e,g)}(g)),z++;break;case 45:45===L&&2==d(U)&&(D=0)}}return m}("",null,null,null,[""],t=T(t=e),0,[0],t),y="",r),M)};m=function(e,t,r,n){x=r,D(e?e+"{"+t.styles+"}":t.styles),n&&(B.inserted[t.name]=!0)};var B={key:k,sheet:new n({key:k,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:I,registered:{},insert:m};return B.sheet.hydrate(P),B}},75114:function(e,t,r){"use strict";r.d(t,{iv:function(){return M},tZ:function(){return P},F4:function(){return R}});var n,i,a,o,s=r(2265),l=r.t(s,2),u=r(34152),c=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},d=function(e,t,r){c(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do e.insert(t===i?"."+n:"",i,e.sheet,!0),i=i.next;while(void 0!==i)}},p={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGr
1idRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},f=/[A-Z]|^ms/g,h=/_EMO_([^_]+?)_([^]*?)_EMO_/g,m=function(e){return 45===e.charCodeAt(1)},g=function(e){return null!=e&&"boolean"!=typeof e},v=(n=function(e){return m(e)?e:e.replace(f,"-$&").toLowerCase()},i=Object.create(null),function(e){return void 0===i[e]&&(i[e]=n(e)),i[e]}),y=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(h,function(e,t,r){return o={name:t,styles:r,next:o},t})}return 1===p[e]||m(e)||"number"!=typeof t||0===t?t:t+"px"};function b(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return o={name:r.name,styles:r.styles,next:o},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)o={name:n.name,styles:n.styles,next:o},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=b(e,t,r[i])+";";else for(var a in r){var o=r[a];if("object"!=typeof o)null!=t&&void 0!==t[o]?n+=a+"{"+t[o]+"}":g(o)&&(n+=v(a)+":"+y(a,o)+";");else if(Array.isArray(o)&&"string"==typeof o[0]&&(null==t||void 0===t[o[0]]))for(var s=0;s<o.length;s++)g(o[s])&&(n+=v(a)+":"+y(a,o[s])+";");else{var l=b(e,t,o);switch(a){case"animation":case"animationName":n+=v(a)+":"+l+";";break;default:n+=a+"{"+l+"}"}}}return n}(e,t,r);case"function":if(void 0!==e){var i=o,a=r(e);return o=i,b(e,t,a)}}if(null==t)return r;var s=t[r];return void 0!==s?s:r}var x=/label:\s*([^\s;{]+)\s*(;|$)/g;function w(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n,i=!0,a="";o=void 0;var s=e[0];null==s||void 0===s.raw?(i=!1,a+=b(r,t,s)):a+=s[0];for(var l=1;l<e.length;l++)a+=b(r,t,e[l]),i&&(a+=s[l]);x.lastIndex=0;for(var u="";null!==(n=x.exec(a));)u+="-"+n[1];return{name:function(e){for(var t,r=0,n=0,i=e.length;i>=4;++n,i-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,r=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&r)*1540483477+((r>>>16)*59797<<16);switch(i){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*1540483477+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)}(a)+u,styles:a,next:o}}var E=!!l.useInsertionEffect&&l.useInsertionEffect,S=E||function(e){return e()};E||s.useLayoutEffect;var T=s.createContext("undefined"!=typeof HTMLElement?(0,u.Z)({key:"css"}):null);T.Provider;var _=s.createContext({}),k={}.hasOwnProperty,C="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",O=function(e,t){var r={};for(var n in t)k.call(t,n)&&(r[n]=t[n]);return r[C]=e,r},A=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return c(t,r,n),S(function(){return d(t,r,n)}),null},I=(a=function(e,t,r){var n,i,a,o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var l=e[C],u=[o],c="";"string"==typeof e.className?(n=t.registered,i=e.className,a="",i.split(" ").forEach(function(e){void 0!==n[e]?u.push(n[e]+";"):e&&(a+=e+" ")}),c=a):null!=e.className&&(c=e.className+" ");var d=w(u,void 0,s.useContext(_));c+=t.key+"-"+d.name;var p={};for(var f in e)k.call(e,f)&&"css"!==f&&f!==C&&(p[f]=e[f]);return p.className=c,r&&(p.ref=r),s.createElement(s.Fragment,null,s.createElement(A,{cache:t,serialized:d,isStringTag:"string"==typeof l}),s.createElement(l,p))},(0,s.forwardRef)(function(e,t){return a(e,(0,s.useContext)(T),t)}));r(31403);var P=function(e,t){var r=arguments;if(null==t||!k.call(t,"css"))return s.createElement.apply(void 0,r);var n=r.length,i=Array(n);i[0]=I,i[1]=O(e,t);for(var a=2;a<n;a++)i[a]=r[a];return s.createElement.apply(null,i)};function M(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return w(t)}var R=function(){var e=M.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},29312:function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{html:t,height:r=null,width:a=null,children:o,dataNtpc:s=""}=e;return(0,i.useEffect)(()=>{s&&performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-".concat(s)}})},[s]),(0,n.jsxs)(n.Fragment,{children:[o,t?(0,n.jsx)("div",{style:{height:null!=r?"".concat(r,"px"):"auto",width:null!=a?"".concat(a,"px"):"auto"},"data-ntpc":s,dangerouslySetInnerHTML:{__html:t}}):null]})};let n=r(57437),i=r(2265)},40779:function(e,t,r){"use strict";var n;let i;Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleAnalytics=function(e){let{gaId:t,debugMode:r,dataLayerName:n="dataLayer",nonce:l}=e;return void 0===i&&(i=n),(0,o.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-ga"}})},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.default,{id:"_next-ga-init",dangerouslySetInnerHTML:{__html:"\n window['".concat(n,"'] = window['").concat(n,"'] || [];\n function gtag(){window['").concat(n,"'].push(arguments);}\n gtag('js', new Date());\n\n gtag('config', '").concat(t,"' ").concat(r?",{ 'debug_mode': true }":"",");")},nonce:l}),(0,a.jsx)(s.default,{id:"_next-ga",src:"https://www.googletagmanager.com/gtag/js?id=".concat(t),nonce:l})]})},t.sendGAEvent=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if(void 0===i){console.warn("@next/third-parties: GA has not been initialized");return}window[i]?window[i].push(arguments):console.warn("@next/third-parties: GA dataLayer ".concat(i," does not exist"))};let a=r(57437),o=r(2265),s=(n=r(91351))&&n.__esModule?n:{default:n}},28267:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{apiKey:t,...r}=e,n={...r,key:t},{html:s}=(0,a.GoogleMapsEmbed)(n);return(0,i.jsx)(o.default,{height:n.height||null,width:n.width||null,html:s,dataNtpc:"GoogleMapsEmbed"})};let i=r(57437),a=r(54248),o=n(r(29312))},31635:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.sendGTMEvent=void 0,t.GoogleTagManager=function(e){let{gtmId:t,gtmScriptUrl:r="https://www.googletagmanager.com/gtm.js",dataLayerName:n="dataLayer",auth:l,preview:u,dataLayer:c,nonce:d}=e;s=n;let p="dataLayer"!==n?"&l=".concat(n):"";return(0,a.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-gtm"}})},[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.default,{id:"_next-gtm-init",dangerouslySetInnerHTML:{__html:"\n (function(w,l){\n w[l]=w[l]||[];\n w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});\n ".concat(c?"w[l].push(".concat(JSON.stringify(c),")"):"","\n })(window,'").concat(n,"');")},nonce:d}),(0,i.jsx)(o.default,{id:"_next-gtm","data-ntpc":"GTM",src:"".concat(r,"?id=").concat(t).concat(p).concat(l?">m_auth=".concat(l):"").concat(u?">m_preview=".concat(u,">m_cookies_win=x"):"")})]})};let i=r(57437),a=r(2265),o=(n=r(91351))&&n.__esModule?n:{default:n},s="dataLayer";t.sendGTMEvent=(e,t)=>{let r=t||s;window[r]=window[r]||[],window[r].push(e)}},1981:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.sendGAEvent=t.GoogleAnalytics=t.sendGTMEvent=t.GoogleTagManager=t.YouTubeEmbed=t.GoogleMapsEmbed=void 0;var i=r(28267);Object.defineProperty(t,"GoogleMapsEmbed",{enumerable:!0,get:function(){return n(i).default}});var a=r(99613);Object.defineProperty(t,"YouTubeEmbed",{enumerable:!0,get:function(){return n(a).default}});var o=r(31635);Object.defineProperty(t,"GoogleTagManager",{enumerable:!0,get:function(){return o.GoogleTagManager}}),Object.defineProperty(t,"sendGTMEvent",{enumerable:!0,get:function(){return o.sendGTMEvent}});var s=r(40779);Object.defineProperty(t,"GoogleAnalytics",{enumerable:!0,get:function(){return s.GoogleAnalytics}}),Object.defineProperty(t,"sendGAEvent",{enumerable:!0,get:function(){return s.sendGAEvent}})},99613:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esMo
1dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{html:t,scripts:r,stylesheets:n}=(0,o.YouTubeEmbed)(e);return(0,i.jsx)(s.default,{height:e.height||null,width:e.width||null,html:t,dataNtpc:"YouTubeEmbed",children:null==r?void 0:r.map(e=>(0,i.jsx)(a.default,{src:e.url,strategy:l[e.strategy],stylesheets:n},e.url))})};let i=r(57437),a=n(r(91351)),o=r(54248),s=n(r(29312)),l={server:"beforeInteractive",client:"afterInteractive",idle:"lazyOnload",worker:"worker"}},56551:function(e,t,r){"use strict";r.d(t,{Ry:function(){return u}});var n=new WeakMap,i=new WeakMap,a={},o=0,s=function(e){return e&&(e.host||s(e.parentNode))},l=function(e,t,r,l){var u=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=s(e);return r&&t.contains(r)?r:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});a[r]||(a[r]=new WeakMap);var c=a[r],d=[],p=new Set,f=new Set(u),h=function(e){!e||p.has(e)||(p.add(e),h(e.parentNode))};u.forEach(h);var m=function(e){!e||f.has(e)||Array.prototype.forEach.call(e.children,function(e){if(p.has(e))m(e);else try{var t=e.getAttribute(l),a=null!==t&&"false"!==t,o=(n.get(e)||0)+1,s=(c.get(e)||0)+1;n.set(e,o),c.set(e,s),d.push(e),1===o&&a&&i.set(e,!0),1===s&&e.setAttribute(r,"true"),a||e.setAttribute(l,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return m(t),p.clear(),o++,function(){d.forEach(function(e){var t=n.get(e)-1,a=c.get(e)-1;n.set(e,t),c.set(e,a),t||(i.has(e)||e.removeAttribute(l),i.delete(e)),a||e.removeAttribute(r)}),--o||(n=new WeakMap,n=new WeakMap,i=new WeakMap,a={})}},u=function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),i=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live]"))),l(n,i,r,"aria-hidden")):function(){return null}}},29244:function(e,t){"use strict";t.Z=function(e,t){if(e&&t){var r=Array.isArray(t)?t:t.split(",");if(0===r.length)return!0;var n=e.name||"",i=(e.type||"").toLowerCase(),a=i.replace(/\/.*$/,"");return r.some(function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?n.toLowerCase().endsWith(t):t.endsWith("/*")?a===t.replace(/\/.*$/,""):i===t})}return!0}},78044:function(e){"use strict";var t=function(e){var t;return!!e&&"object"==typeof e&&"[object RegExp]"!==(t=Object.prototype.toString.call(e))&&"[object Date]"!==t&&e.$$typeof!==r},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s(Array.isArray(e)?[]:{},e,t):e}function i(e,t,r){return e.concat(t).map(function(e){return n(e,r)})}function a(e){return Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[])}function o(e,t){try{return t in e}catch(e){return!1}}function s(e,r,l){(l=l||{}).arrayMerge=l.arrayMerge||i,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=n;var u,c,d=Array.isArray(r);return d!==Array.isArray(e)?n(r,l):d?l.arrayMerge(e,r,l):(c={},(u=l).isMergeableObject(e)&&a(e).forEach(function(t){c[t]=n(e[t],u)}),a(r).forEach(function(t){(!o(e,t)||Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))&&(o(e,t)&&u.isMergeableObject(r[t])?c[t]=(function(e,t){if(!t.customMerge)return s;var r=t.customMerge(e);return"function"==typeof r?r:s})(t,u)(e[t],r[t],u):c[t]=n(r[t],u))}),c)}s.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,r){return s(e,r,t)},{})},e.exports=s},15340:function(e){"use strict";function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}let r=Object.entries,n=Object.setPrototypeOf,i=Object.isFrozen,a=Object.getPrototypeOf,o=Object.getOwnPropertyDescriptor,s=Object.freeze,l=Object.seal,u=Object.create,c="undefined"!=typeof Reflect&&Reflect,d=c.apply,p=c.construct;s||(s=function(e){return e}),l||(l=function(e){return e}),d||(d=function(e,t){for(var r=arguments.length,n=Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];return e.apply(t,n)}),p||(p=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return new e(...r)});let f=R(Array.prototype.forEach),h=R(Array.prototype.lastIndexOf),m=R(Array.prototype.pop),g=R(Array.prototype.push),v=R(Array.prototype.splice),y=Array.isArray,b=R(String.prototype.toLowerCase),x=R(String.prototype.toString),w=R(String.prototype.match),E=R(String.prototype.replace),S=R(String.prototype.indexOf),T=R(String.prototype.trim),_=R(Number.prototype.toString),k=R(Boolean.prototype.toString),C="undefined"==typeof BigInt?null:R(BigInt.prototype.toString),O="undefined"==typeof Symbol?null:R(Symbol.prototype.toString),A=R(Object.prototype.hasOwnProperty),I=R(Object.prototype.toString),P=R(RegExp.prototype.test),M=(es=TypeError,function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return p(es,t)}
1);function R(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return d(e,t,n)}}function L(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:b;if(n&&n(e,null),!y(t))return e;let a=t.length;for(;a--;){let n=t[a];if("string"==typeof n){let e=r(n);e!==n&&(i(t)||(t[a]=e),n=e)}e[n]=!0}return e}function j(e){let n=u(null);for(let a of r(e)){var i=function(e){if(Array.isArray(e))return e}(a)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,a,o,s=[],l=!0,u=!1;try{for(a=(r=r.call(e)).next;!(l=(n=a.call(r)).done)&&(s.push(n.value),2!==s.length);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(u)throw i}}return s}}(a,2)||function(e,r){if(e){if("string"==typeof e)return t(e,2);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t(e,2):void 0}}(a,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();let r=i[0],o=i[1];A(e,r)&&(y(o)?n[r]=function(e){for(let t=0;t<e.length;t++)A(e,t)||(e[t]=null);return e}(o):o&&"object"==typeof o&&o.constructor===Object?n[r]=j(o):n[r]=o)}return n}function N(e,t){for(;null!==e;){let r=o(e,t);if(r){if(r.get)return R(r.get);if("function"==typeof r.value)return R(r.value)}e=a(e)}return function(){return null}}let D=s(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),B=s(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),F=s(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),z=s(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),H=s(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),V=s(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),$=s(["#text"]),Z=s(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
1spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),U=s(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),G=s(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),W=s(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),q=l(/{{[\w\W]*|^[\w\W]*}}/g),Y=l(/<%[\w\W]*|^[\w\W]*%>/g),K=l(/\${[\w\W]*/g),X=l(/^data-[\-\w.\u00B7-\uFFFF]+$/),J=l(/^aria-[\-\w]+$/),Q=l(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ee=l(/^(?:\w+script|data):/i),et=l(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),er=l(/^html$/i),en=l(/^[a-z][.\w]*(-[.\w]+)+$/i),ei={element:1,text:3,progressingInstruction:7,comment:8,document:9,documentFragment:11},ea=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let r=null,n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(r=t.getAttribute(n));let i="dompurify"+(r?"#"+r:"");try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}},eo=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};var es,el=function e(){let t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,i=t=>e(t);if(i.version="3.4.8",i.removed=[],!n||!n.document||n.document.nodeType!==ei.document||!n.Element)return i.isSupported=!1,i;let a=n.document,o=a,l=o.currentScript;n.DocumentFragment;let c=n.HTMLTemplateElement,d=n.Node,p=n.Element,R=n.NodeFilter;void 0===n.NamedNodeMap&&(n.NamedNodeMap||n.MozNamedAttrMap),n.HTMLFormElement;let es=n.DOMParser,el=n.trustedTypes,eu=p.prototype,ec=N(eu,"cloneNode"),ed=N(eu,"remove"),ep=N(eu,"nextSibling"),ef=N(eu,"childNodes"),eh=N(eu,"parentNode"),em=N(eu,"shadowRoot"),eg=N(eu,"attributes"),ev=d&&d.prototype?N(d.prototype,"nodeType"):null,ey=d&&d.prototype?N(d.prototype,"nodeName"):null;if("function"==typeof c){let e=a.createElement("template");e.content&&e.content.ownerDocument&&(a=e.content.ownerDocument)}let eb="",ex=0,ew=function(e){if(ex>0)throw M('The configured TRUSTED_TYPES_POLICY.createHTML must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose createHTML wraps DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.');ex++;try{return t.createHTML(e)}finally{ex--}},eE=a,eS=eE.implementation,eT=eE.createNodeIterator,e_=eE.createDocumentFragment,ek=eE.getElementsByTagName,eC=o.importNode,eO=eo();i.isSupported="function"==typeof r&&"function"==typeof eh&&eS&&void 0!==eS.createHTMLDocument;let eA=Q,eI=null,eP=L({},[...D,...B,...F,...H,...$]),eM=null,eR=L({}
1,[...Z,...U,...G,...W]),eL=Object.seal(u(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ej=null,eN=null,eD=Object.seal(u(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),eB=!0,eF=!0,ez=!1,eH=!0,eV=!1,e$=!0,eZ=!1,eU=!1,eG=!1,eW=!1,eq=!1,eY=!1,eK=!0,eX=!1,eJ="user-content-",eQ=!0,e0=!1,e1={},e2=null,e3=L({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),e5=null,e8=L({},["audio","video","img","source","image","track"]),e6=null,e4=L({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),e9="http://www.w3.org/1998/Math/MathML",e7="http://www.w3.org/2000/svg",te="http://www.w3.org/1999/xhtml",tt=te,tr=!1,tn=null,ti=L({},[e9,e7,te],x),ta=L({},["mi","mo","mn","ms","mtext"]),to=L({},["annotation-xml"]),ts=L({},["title","style","font","a","script"]),tl=null,tu=["application/xhtml+xml","text/html"],tc=null,td=null,tp=a.createElement("form"),tf=function(e){return e instanceof RegExp||e instanceof Function},th=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(td&&td===e)return;e&&"object"==typeof e||(e={}),e=j(e),tc="application/xhtml+xml"===(tl=-1===tu.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE)?x:b,eI=A(e,"ALLOWED_TAGS")&&y(e.ALLOWED_TAGS)?L({},e.ALLOWED_TAGS,tc):eP,eM=A(e,"ALLOWED_ATTR")&&y(e.ALLOWED_ATTR)?L({},e.ALLOWED_ATTR,tc):eR,tn=A(e,"ALLOWED_NAMESPACES")&&y(e.ALLOWED_NAMESPACES)?L({},e.ALLOWED_NAMESPACES,x):ti,e6=A(e,"ADD_URI_SAFE_ATTR")&&y(e.ADD_URI_SAFE_ATTR)?L(j(e4),e.ADD_URI_SAFE_ATTR,tc):e4,e5=A(e,"ADD_DATA_URI_TAGS")&&y(e.ADD_DATA_URI_TAGS)?L(j(e8),e.ADD_DATA_URI_TAGS,tc):e8,e2=A(e,"FORBID_CONTENTS")&&y(e.FORBID_CONTENTS)?L({},e.FORBID_CONTENTS,tc):e3,ej=A(e,"FORBID_TAGS")&&y(e.FORBID_TAGS)?L({},e.FORBID_TAGS,tc):j({}),eN=A(e,"FORBID_ATTR")&&y(e.FORBID_ATTR)?L({},e.FORBID_ATTR,tc):j({}),e1=!!A(e,"USE_PROFILES")&&(e.USE_PROFILES&&"object"==typeof e.USE_PROFILES?j(e.USE_PROFILES):e.USE_PROFILES),eB=!1!==e.ALLOW_ARIA_ATTR,eF=!1!==e.ALLOW_DATA_ATTR,ez=e.ALLOW_UNKNOWN_PROTOCOLS||!1,eH=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,eV=e.SAFE_FOR_TEMPLATES||!1,e$=!1!==e.SAFE_FOR_XML,eZ=e.WHOLE_DOCUMENT||!1,eW=e.RETURN_DOM||!1,eq=e.RETURN_DOM_FRAGMENT||!1,eY=e.RETURN_TRUSTED_TYPE||!1,eG=e.FORCE_BODY||!1,eK=!1!==e.SANITIZE_DOM,eX=e.SANITIZE_NAMED_PROPS||!1,eQ=!1!==e.KEEP_CONTENT,e0=e.IN_PLACE||!1,eA=!function(e){try{return P(e,""),!0}catch(e){return!1}}(e.ALLOWED_URI_REGEXP)?Q:e.ALLOWED_URI_REGEXP,tt="string"==typeof e.NAMESPACE?e.NAMESPACE:te,ta=A(e,"MATHML_TEXT_INTEGRATION_POINTS")&&e.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof e.MATHML_TEXT_INTEGRATION_POINTS?j(e.MATHML_TEXT_INTEGRATION_POINTS):L({},["mi","mo","mn","ms","mtext"]),to=A(e,"HTML_INTEGRATION_POINTS")&&e.HTML_INTEGRATION_POINTS&&"object"==typeof e.HTML_INTEGRATION_POINTS?j(e.HTML_INTEGRATION_POINTS):L({},["annotation-xml"]);let r=A(e,"CUSTOM_ELEMENT_HANDLING")&&e.CUSTOM_ELEMENT_HANDLING&&"object"==typeof e.CUSTOM_ELEMENT_HANDLING?j(e.CUSTOM_ELEMENT_HANDLING):u(null);if(eL=u(null),A(r,"tagNameCheck")&&tf(r.tagNameCheck)&&(eL.tagNameCheck=r.tagNameCheck),A(r,"attributeNameCheck")&&tf(r.attributeNameCheck)&&(eL.attributeNameCheck=r.attributeNameCheck),A(r,"allowCustomizedBuiltInElements")&&"boolean"==typeof r.allowCustomizedBuiltInElements&&(eL.allowCustomizedBuiltInElements=r.allowCustomizedBuiltInElements),eV&&(eF=!1),eq&&(eW=!0),e1&&(eI=L({},$),eM=u(null),!0===e1.html&&(L(eI,D),L(eM,Z)),!0===e1.svg&&(L(eI,B),L(eM,U),L(eM,W)),!0===e1.svgFilters&&(L(eI,F),L(eM,U),L(eM,W)),!0===e1.mathMl&&(L(eI,H),L(eM,G),L(eM,W))),eD.tagCheck=null,eD.attributeCheck=null,A(e,"ADD_TAGS")&&("function"==typeof e.ADD_TAGS?eD.tagCheck=e.ADD_TAGS:y(e.ADD_TAGS)&&(eI===eP&&(eI=j(eI)),L(eI,e.ADD_TAGS,tc))),A(e,"ADD_ATTR")&&("function"==typeof e.ADD_ATTR?eD.attributeCheck=e.ADD_ATTR:y(e.ADD_ATTR)&&(eM===eR&&(eM=j(eM)),L(eM,e.ADD_ATTR,tc))),A(e,"ADD_URI_SAFE_ATTR")&&y(e.ADD_URI_SAFE_ATTR)&&L(e6,e.ADD_URI_SAFE_ATTR,tc),A(e,"FORBID_CONTENTS")&&y(e.FORBID_CONTENTS)&&(e2===e3&&(e2
1=j(e2)),L(e2,e.FORBID_CONTENTS,tc)),A(e,"ADD_FORBID_CONTENTS")&&y(e.ADD_FORBID_CONTENTS)&&(e2===e3&&(e2=j(e2)),L(e2,e.ADD_FORBID_CONTENTS,tc)),eQ&&(eI["#text"]=!0),eZ&&L(eI,["html","head","body"]),eI.table&&(L(eI,["tbody"]),delete ej.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw M('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw M('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');let r=t;t=e.TRUSTED_TYPES_POLICY;try{eb=ew("")}catch(e){throw t=r,e}}else void 0===t&&null!==e.TRUSTED_TYPES_POLICY&&(t=ea(el,l)),t&&"string"==typeof eb&&(eb=ew(""));(eO.uponSanitizeElement.length>0||eO.uponSanitizeAttribute.length>0)&&eI===eP&&(eI=j(eI)),eO.uponSanitizeAttribute.length>0&&eM===eR&&(eM=j(eM)),s&&s(e),td=e},tm=L({},[...B,...F,...z]),tg=L({},[...H,...V]),tv=function(e){let t=eh(e);t&&t.tagName||(t={namespaceURI:tt,tagName:"template"});let r=b(e.tagName),n=b(t.tagName);return!!tn[e.namespaceURI]&&(e.namespaceURI===e7?t.namespaceURI===te?"svg"===r:t.namespaceURI===e9?"svg"===r&&("annotation-xml"===n||ta[n]):!!tm[r]:e.namespaceURI===e9?t.namespaceURI===te?"math"===r:t.namespaceURI===e7?"math"===r&&to[n]:!!tg[r]:e.namespaceURI===te?(t.namespaceURI!==e7||!!to[n])&&(t.namespaceURI!==e9||!!ta[n])&&!tg[r]&&(ts[r]||!tm[r]):"application/xhtml+xml"===tl&&!!tn[e.namespaceURI])},ty=function(e){g(i.removed,{element:e});try{eh(e).removeChild(e)}catch(t){ed(e)}},tb=function(e,t){try{g(i.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){g(i.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e){if(eW||eq)try{ty(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}}},tx=function(e){let r=null,n=null;if(eG)e="<remove></remove>"+e;else{let t=w(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===tl&&tt===te&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");let i=t?ew(e):e;if(tt===te)try{r=new es().parseFromString(i,tl)}catch(e){}if(!r||!r.documentElement){r=eS.createDocument(tt,"template",null);try{r.documentElement.innerHTML=tr?eb:i}catch(e){}}let o=r.body||r.documentElement;return(e&&n&&o.insertBefore(a.createTextNode(n),o.childNodes[0]||null),tt===te)?ek.call(r,eZ?"html":"body")[0]:eZ?r.documentElement:o},tw=function(e){return eT.call(e.ownerDocument||e,e,R.SHOW_ELEMENT|R.SHOW_COMMENT|R.SHOW_TEXT|R.SHOW_PROCESSING_INSTRUCTION|R.SHOW_CDATA_SECTION,null)},tE=function(e){var t,r;e.normalize();let n=eT.call(e.ownerDocument||e,e,R.SHOW_TEXT|R.SHOW_COMMENT|R.SHOW_CDATA_SECTION|R.SHOW_PROCESSING_INSTRUCTION,null),i=n.nextNode();for(;i;){let e=i.data;f([q,Y,K],t=>{e=E(e,t," ")}),i.data=e,i=n.nextNode()}f(Array.from(null!==(t=null===(r=e.querySelectorAll)||void 0===r?void 0:r.call(e,"template"))&&void 0!==t?t:[]),e=>{tT(e.content)&&tE(e.content)})},tS=function(e){let t=ey?ey(e):null;return"string"==typeof t&&"form"===tc(t)&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||e.attributes!==eg(e)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes||e.nodeType!==ev(e)||e.childNodes!==ef(e))},tT=function(e){if(!ev||"object"!=typeof e||null===e)return!1;try{return ev(e)===ei.documentFragment}catch(e){return!1}},t_=function(e){if(!ev||"object"!=typeof e||null===e)return!1;try{return"number"==typeof ev(e)}catch(e){return!1}};function tk(e,t,r){f(e,e=>{e.call(i,t,r,td)})}let tC=function(e){let t=null;if(tk(eO.beforeSanitizeElements,e,null),tS(e))return ty(e),!0;let r=tc(ey?ey(e):e.nodeName);if(tk(eO.uponSanitizeElement,e,{tagName:r,allowedTags:eI}),e$&&e.hasChildNodes()&&!t_(e.firstElementChild)&&P(/<[/\w!]/g,e.innerHTML)&&P(/<[/\w!]/g,e.textContent)||e$&&e.namespaceURI===te&&"style"===r&&t_(e.firstElementChild)||e.nodeType===ei.progressingInstruction||e$&&e.nodeType===ei.comment&&P(/<[/\w]/g,e.data))return ty(e),!0;if(ej[r]||!(eD.tagCheck instanceof Function&&eD.tagCheck(r))&&!eI[r]){if(!ej[r]&&tI(r)&&(eL.tagNameCheck instanceof RegExp&&P(eL.tagNameCheck,r)||eL.tagNameCheck instanceof Function&&eL.tagNameCheck(r)))return!1;if(eQ&&!e2[r]){let t=eh(e),r=ef(e);if(r&&t){let n=r.length;for(let i=n-1;i>=0;--i){let n=ec(r[i],!0);t.insertBefore(n,ep(e))}}}
1return ty(e),!0}return(ev?ev(e):e.nodeType)===ei.element&&!tv(e)||("noscript"===r||"noembed"===r||"noframes"===r)&&P(/<\/no(script|embed|frames)/i,e.innerHTML)?(ty(e),!0):(eV&&e.nodeType===ei.text&&(t=e.textContent,f([q,Y,K],e=>{t=E(t,e," ")}),e.textContent!==t&&(g(i.removed,{element:e.cloneNode()}),e.textContent=t)),tk(eO.afterSanitizeElements,e,null),!1)},tO=function(e,t,r){if(eN[t]||eK&&("id"===t||"name"===t)&&(r in a||r in tp))return!1;let n=eM[t]||eD.attributeCheck instanceof Function&&eD.attributeCheck(t,e);if(eF&&!eN[t]&&P(X,t));else if(eB&&P(J,t));else if(!n||eN[t]){if(!(tI(e)&&(eL.tagNameCheck instanceof RegExp&&P(eL.tagNameCheck,e)||eL.tagNameCheck instanceof Function&&eL.tagNameCheck(e))&&(eL.attributeNameCheck instanceof RegExp&&P(eL.attributeNameCheck,t)||eL.attributeNameCheck instanceof Function&&eL.attributeNameCheck(t,e))||"is"===t&&eL.allowCustomizedBuiltInElements&&(eL.tagNameCheck instanceof RegExp&&P(eL.tagNameCheck,r)||eL.tagNameCheck instanceof Function&&eL.tagNameCheck(r))))return!1}else if(e6[t]);else if(P(eA,E(r,et,"")));else if(("src"===t||"xlink:href"===t||"href"===t)&&"script"!==e&&0===S(r,"data:")&&e5[e]);else if(ez&&!P(ee,E(r,et,"")));else if(r)return!1;return!0},tA=L({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),tI=function(e){return!tA[b(e)]&&P(en,e)},tP=function(e){tk(eO.beforeSanitizeAttributes,e,null);let r=e.attributes;if(!r||tS(e))return;let n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:eM,forceKeepAttr:void 0},a=r.length;for(;a--;){let o=r[a],s=o.name,l=o.namespaceURI,u=o.value,c=tc(s),d="value"===s?u:T(u);if(n.attrName=c,n.attrValue=d,n.keepAttr=!0,n.forceKeepAttr=void 0,tk(eO.uponSanitizeAttribute,e,n),d=n.attrValue,eX&&("id"===c||"name"===c)&&0!==S(d,eJ)&&(tb(s,e),d=eJ+d),e$&&P(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,d)||"attributename"===c&&w(d,"href")){tb(s,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr||!eH&&P(/\/>/i,d)){tb(s,e);continue}eV&&f([q,Y,K],e=>{d=E(d,e," ")});let p=tc(e.nodeName);if(!tO(p,c,d)){tb(s,e);continue}if(t&&"object"==typeof el&&"function"==typeof el.getAttributeType){if(l);else switch(el.getAttributeType(p,c)){case"TrustedHTML":d=ew(d);break;case"TrustedScriptURL":d=t.createScriptURL(d)}}if(d!==u)try{l?e.setAttributeNS(l,s,d):e.setAttribute(s,d),tS(e)?ty(e):m(i.removed)}catch(t){tb(s,e)}}tk(eO.afterSanitizeAttributes,e,null)},tM=function(e){let t=null,r=tw(e);for(tk(eO.beforeSanitizeShadowDOM,e,null);t=r.nextNode();)if(tk(eO.uponSanitizeShadowNode,t,null),tC(t),tP(t),tT(t.content)&&tM(t.content),(ev?ev(t):t.nodeType)===ei.element){let e=em?em(t):t.shadowRoot;tT(e)&&(tR(e),tM(e))}tk(eO.afterSanitizeShadowDOM,e,null)},tR=function(e){let t=ev?ev(e):e.nodeType;if(t===ei.element){let t=em?em(e):e.shadowRoot;tT(t)&&(tR(t),tM(t))}let r=ef?ef(e):e.childNodes;if(!r)return;let n=[];for(let e of(f(r,e=>{g(n,e)}),n))tR(e);if(t===ei.element){let t=ey?ey(e):null;if("string"==typeof t&&"template"===tc(t)){let t=e.content;tT(t)&&tR(t)}}};return i.sanitize=function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,a=null,s=null,l=null;if((tr=!e)&&(e="<!-->"),"string"!=typeof e&&!t_(e)&&"string"!=typeof(e=function(e){switch(typeof e){case"string":return e;case"number":return _(e);case"boolean":return k(e);case"bigint":return C?C(e):"0";case"symbol":return O?O(e):"Symbol()";case"undefined":default:return I(e);case"function":case"object":{if(null===e)return I(e);let t=N(e,"toString");if("function"==typeof t){let r=t(e);return"string"==typeof r?r:I(r)}return I(e)}}}(e)))throw M("dirty is not a string, aborting");if(!i.isSupported)return e;if(eU||th(r),i.removed=[],"string"==typeof e&&(e0=!1),e0){let t=ey?ey(e):e.nodeName;if("string"==typeof t){let e=tc(t);if(!eI[e]||ej[e])throw M("root node is forbidden and cannot be sanitized in-place")}if(tS(e))throw M("root node is clobbered and cannot be sanitized in-place");tR(e)}else if(t_(e))(a=(n=tx("<!---->")).ownerDocument.importNode(e,!0)).nodeType===ei.element&&"BODY"===a.nodeName?n=a:"HTML"===a.nodeName?n=a:n.appendChild(a),tR(a);else{if(!eW&&!eV&&!eZ&&-1===e.indexOf("<"))return t&&eY?ew(e):e;if(!(n=tx(e)))return eW?null:eY?eb:""}n&&eG&&ty(n.firstChild);let u=tw(e0?e:n);for(;s=u.nextNode();)tC(s),tP(s),tT(s.content)&&tM(s.content);if(e0)return eV&&tE(e),e;if(eW){if(eV&&tE(n),eq)for(l=e_.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(eM.shadowroot||eM.shadowrootmode)&&(l=eC.call(o,l,!0)),l}let c=eZ?n.outerHTML:n.innerHTML;return eZ&&eI["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&P(er,n.ownerDocument.doctype.name)&&(c="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+c),eV&&f([q,Y,K],e=>{c=E(c,e," ")}),t&&eY?ew(c):c},i.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};th(e),eU=!0},i.clearConfig=function(){td=null,eU=!1},i.isValidAttribute=function(e,t,r){return td||th({}),tO(tc(e),tc(t),r)},i.addHook=function(e,t){"function"==typeof t&&g(eO[e],t)},i.removeHook=function(e,t){if(void 0!==t){let r=h(eO[e],t);return -1===r?void 0:v(eO[e],r,1)[0]}return m(eO[e])},i.removeHooks=function(e){eO[e]=[]},i.removeAllHooks=function(){eO=eo()},i}();e.exports=el},31403:function(e,t,r){"use strict";var n=r(84988),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?o:s[e.$$typeof]||i}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=o;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var i=f(r);i&&i!==h&&e(t,i,n)}var o=c(r);
1d&&(o=o.concat(d(r)));for(var s=l(t),m=l(r),g=0;g<o.length;++g){var v=o[g];if(!a[v]&&!(n&&n[v])&&!(m&&m[v])&&!(s&&s[v])){var y=p(r,v);try{u(t,v,y)}catch(e){}}}}return t}},88397:function(e,t,r){"use strict";r.r(t),r.d(t,{ErrorCode:function(){return f},FormatError:function(){return es},IntlMessageFormat:function(){return eh},InvalidValueError:function(){return el},InvalidValueTypeError:function(){return eu},MissingValueError:function(){return ec},PART_TYPE:function(){return h},default:function(){return em},formatToParts:function(){return ep},isFormatXMLElementFn:function(){return ed}});var n,i,a,o,s,l,u,c,d,p,f,h,m=r(74952),g=r(35088);function v(e){return e.type===u.literal}function y(e){return e.type===u.number}function b(e){return e.type===u.date}function x(e){return e.type===u.time}function w(e){return e.type===u.select}function E(e){return e.type===u.plural}function S(e){return e.type===u.tag}function T(e){return!!(e&&"object"==typeof e&&e.type===c.number)}function _(e){return!!(e&&"object"==typeof e&&e.type===c.dateTime)}(n=l||(l={}))[n.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",n[n.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",n[n.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",n[n.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",n[n.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",n[n.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",n[n.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",n[n.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",n[n.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",n[n.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",n[n.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",n[n.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",n[n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",n[n.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",n[n.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",n[n.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",n[n.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",n[n.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",n[n.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",n[n.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",n[n.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",n[n.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",n[n.INVALID_TAG=23]="INVALID_TAG",n[n.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",n[n.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",n[n.UNCLOSED_TAG=27]="UNCLOSED_TAG",(i=u||(u={}))[i.literal=0]="literal",i[i.argument=1]="argument",i[i.number=2]="number",i[i.date=3]="date",i[i.time=4]="time",i[i.select=5]="select",i[i.plural=6]="plural",i[i.pound=7]="pound",i[i.tag=8]="tag",(a=c||(c={}))[a.number=0]="number",a[a.dateTime=1]="dateTime";var k=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,C=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,O=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,A=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,I=/^(@+)?(\+|#+)?[rs]?$/g,P=/(\*)(0+)|(#+)(0+)|(0+)/g,M=/^(0+)$/;function R(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(I,function(e,r,n){return"string"!=typeof n?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===n?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""}),t}function L(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function j(e){return L(e)||{}}var N={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA
1:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},D=new RegExp("^".concat(k.source,"*")),B=new RegExp("".concat(k.source,"*$"));function F(e,t){return{start:e,end:t}}var z=!!String.prototype.startsWith&&"_a".startsWith("a",1),H=!!String.fromCodePoint,V=!!Object.fromEntries,$=!!String.prototype.codePointAt,Z=!!String.prototype.trimStart,U=!!String.prototype.trimEnd,G=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&9007199254740991>=Math.abs(e)},W=!0;try{var q=et("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");W=(null===(d=q.exec("a"))||void 0===d?void 0:d[0])==="a"}catch(e){W=!1}var Y=z?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},K=H?String.fromCodePoint:function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,a=0;i>a;){if((e=t[a++])>1114111)throw RangeError(e+" is not a valid code point");n+=e<65536?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,e%1024+56320)}return n},X=V?Object.fromEntries:function(e){for(var t={},r=0;r<e.length;r++){var n=e[r],i=n[0],a=n[1];t[i]=a}return t},J=$?function(e,t){return e.codePointAt(t)}:function(e,t){var r,n=e.length;if(!(t<0)&&!(t>=n)){var i=e.charCodeAt(t);return i<55296||i>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?i:(i-55296<<10)+(r-56320)+65536}},Q=Z?function(e){return e.trimStart()}:function(e){return e.replace(D,"")},ee=U?function(e){return e.trimEnd()}:function(e){return e.replace(B,"")};function et(e,t){return new RegExp(e,t)}if(W){var er=et("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");p=function(e,t){var r;return er.lastIndex=t,null!==(r=er.exec(e)[1])&&void 0!==r?r:""}}else p=function(e,t){for(var r=[];;){var n,i=J(e,t);if(void 0===i||ea(i)||(n=i)>=33&&n<=35||36===n||n>=37&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||n>=46&&n<=47||n>=58&&n<=59||n>=60&&n<=62||n>=63&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||n>=162&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||n>=8208&&n<=8213||n>=8214&&n<=8215||8216===n||8217===n||8218===n||n>=8219&&n<=8220||8221===n||8222===n||8223===n||n>=8224&&n<=8231||n>=8240&&n<=8248||8249===n||8250===n||n>=8251&&n<=8254||n>=8257&&n<=8259||8260===n||8261===n||8262===n||n>=8263&&n<=8273||8274===n||8275===n||n>=8277&&n<=8286||n>=8592&&n<=8596||n>=8597&&n<=8601||n>=8602&&n<=8603||n>=8604&&n<=8607||8608===n||n>=8609&&n<=8610||8611===n||n>=8612&&n<=8613||8614===n||n>=8615&&n<=8621||8622===n||n>=8623&&n<=8653||n>=8654&&n<=8655||n>=8656&&n<=8657||8658===n||8659===n||8660===n||n>=8661&&n<=8691||n>=8692&&n<=8959||n>=8960&&n<=8967||8968===n||8969===n||8970===n||8971===n||n>=8972&&n<=8991||n>=8992&&n<=8993||n>=8994&&n<=9e3||9001===n||9002===n||n>=9003&&n<=9083||9084===n||n>=9085&&n<=9114||n>=9115&&n<=9139||n>=9140&&n<=9179||n>=9180&&n<=9185||n>=9186&&n<=9254||n>=9255&&n<=9279||n>=9280&&n<=9290||n>=9291&&n<=9311||n>=9472&&n<=9654||9655===n||n>
1=9656&&n<=9664||9665===n||n>=9666&&n<=9719||n>=9720&&n<=9727||n>=9728&&n<=9838||9839===n||n>=9840&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||n>=10132&&n<=10175||n>=10176&&n<=10180||10181===n||10182===n||n>=10183&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||n>=10224&&n<=10239||n>=10240&&n<=10495||n>=10496&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||n>=10649&&n<=10711||10712===n||10713===n||10714===n||10715===n||n>=10716&&n<=10747||10748===n||10749===n||n>=10750&&n<=11007||n>=11008&&n<=11055||n>=11056&&n<=11076||n>=11077&&n<=11078||n>=11079&&n<=11084||n>=11085&&n<=11123||n>=11124&&n<=11125||n>=11126&&n<=11157||11158===n||n>=11159&&n<=11263||n>=11776&&n<=11777||11778===n||11779===n||11780===n||11781===n||n>=11782&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||n>=11790&&n<=11798||11799===n||n>=11800&&n<=11801||11802===n||11803===n||11804===n||11805===n||n>=11806&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||n>=11818&&n<=11822||11823===n||n>=11824&&n<=11833||n>=11834&&n<=11835||n>=11836&&n<=11839||11840===n||11841===n||11842===n||n>=11843&&n<=11855||n>=11856&&n<=11857||11858===n||n>=11859&&n<=11903||n>=12289&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||n>=12306&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||n>=12318&&n<=12319||12320===n||12336===n||64830===n||64831===n||n>=65093&&n<=65094)break;r.push(i),t+=i>=65536?2:1}return K.apply(void 0,r)};var en=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var i=this.char();if(123===i){var a=this.parseArgument(e,r);if(a.err)return a;n.push(a.val)}else if(125===i&&e>0)break;else if(35===i&&("plural"===t||"selectordinal"===t)){var o=this.clonePosition();this.bump(),n.push({type:u.pound,location:F(o,this.clonePosition())})}else if(60!==i||this.ignoreTag||47!==this.peek()){if(60===i&&!this.ignoreTag&&ei(this.peek()||0)){var a=this.parseTag(e,t);if(a.err)return a;n.push(a.val)}else{var a=this.parseLiteral(e,t);if(a.err)return a;n.push(a.val)}}else{if(!r)return this.error(l.UNMATCHED_CLOSING_TAG,F(this.clonePosition(),this.clonePosition()));break}}return{val:n,err:null}},e.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:u.literal,value:"<".concat(n,"/>"),location:F(r,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(l.INVALID_TAG,F(r,this.clonePosition()));var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var a=i.val,o=this.clonePosition();if(!this.bumpIf("</"))return this.error(l.UNCLOSED_TAG,F(r,this.clonePosition()));if(this.isEOF()||!ei(this.char()))return this.error(l.INVALID_TAG,F(o,this.clonePosition()));var s=this.clonePosition();return n!==this.parseTagName()?this.error(l.UNMATCHED_CLOSING_TAG,F(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:u.tag,value:n,children:a,location:F(r,this.clonePosition())},err:null}:this.error(l.INVALID_TAG,F(o,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(t);if(i){n+=i;continue}var a=this.tryParseUnquoted(e,t);if(a){n+=a;continue}var o=this.tryParseLeftAngleBracket();if(o){n+=o;continue}break}var s=F(r,this.clonePosition());return{val:{type:u.literal,value:n,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(ei(e=this.peek()||0)||47===e)?null:(this.bump(),"<")},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";
1case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39===this.peek())t.push(39),this.bump();else{this.bump();break}}else t.push(r);this.bump()}return K.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),K(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(l.EXPECT_ARGUMENT_CLOSING_BRACE,F(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(l.EMPTY_ARGUMENT,F(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(l.MALFORMED_ARGUMENT,F(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(l.EXPECT_ARGUMENT_CLOSING_BRACE,F(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:u.argument,value:n,location:F(r,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(l.EXPECT_ARGUMENT_CLOSING_BRACE,F(r,this.clonePosition()));return this.parseArgumentOptions(e,t,n,r);default:return this.error(l.MALFORMED_ARGUMENT,F(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=p(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:F(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,r,n){var i,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(l.EXPECT_ARGUMENT_TYPE,F(a,s));case"number":case"date":case"time":this.bumpSpace();var d=null;if(this.bumpIf(",")){this.bumpSpace();var p=this.clonePosition(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var h=ee(f.val);if(0===h.length)return this.error(l.EXPECT_ARGUMENT_STYLE,F(this.clonePosition(),this.clonePosition()));d={style:h,styleLocation:F(p,this.clonePosition())}}var g=this.tryParseArgumentClose(n);if(g.err)return g;var v=F(n,this.clonePosition());if(d&&Y(null==d?void 0:d.style,"::",0)){var y,b=Q(d.style.slice(2));if("number"===o){var f=this.parseNumberSkeletonFromString(b,d.styleLocation);if(f.err)return f;return{val:{type:u.number,value:r,location:v,style:f.val},err:null}}if(0===b.length)return this.error(l.EXPECT_DATE_TIME_SKELETON,v);var x=b;this.locale&&(x=function(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if("j"===i){for(var a=0;n+1<e.length&&e.charAt(n+1)===i;)a++,n++;var o=1+(1&a),s=a<2?1:3+(a>>1),l=function(e){var t,r=e.hourCycle;if(void 0===r&&e.hourCycles&&e.hourCycles.length&&(r=e.hourCycles[0]),r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}var n=e.language;return"root"!==n&&(t=e.maximize().region),(N[t||""]||N[n||""]||N["".concat(n,"-001")]||N["001"])[0]}(t);for(("H"==l||"k"==l)&&(s=0);s-- >0;)r+="a";for(;o-- >0;)r=l+r}else"J"===i?r+="H":r+=i}return r}(b,this.locale));var h={type:c.dateTime,pattern:x,location:d.styleLocation,parsedOptions:this.shouldParseSkeletons?(y={},x.replace(C,function(e){var t=e.length;switch(e[0]){case"G":y.era=4===t?"long":5===t?"narrow":"short";break;case"y":y.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":y.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":y.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":y.weekday=4===t?"long":5===t?"narrow":"short";break;case"e":if(t<4)throw RangeError("`e..eee` (weekday) patterns are not supported");y.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");y.weekday=["short","long","narrow","short"][t-4];break;case"a":y.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":y.hourCycle="h12",y.hour=["numeric","2-digit"][t-1];break;case"H":y.hourCycle="h23",y.hour=["numeric","2-digit"][t-1];break;case"K":y.hourCycle="h11",y.hour=["numeric","2-digit"][t-1];break;case"k":y.hourCycle="h24",y.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":y.minute=["numeric","2-digit"][t-1];break;case"s":y.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":y.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),y):{}};return{val:{type:"date"===o?u.date:u.time,value:r,location:v,style:h},err:null}}
1return{val:{type:"number"===o?u.number:"date"===o?u.date:u.time,value:r,location:v,style:null!==(i=null==d?void 0:d.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var w=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(l.EXPECT_SELECT_ARGUMENT_OPTIONS,F(w,(0,m.pi)({},w)));this.bumpSpace();var E=this.parseIdentifierIfPossible(),S=0;if("select"!==o&&"offset"===E.value){if(!this.bumpIf(":"))return this.error(l.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,F(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(l.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,l.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),E=this.parseIdentifierIfPossible(),S=f.val}var T=this.tryParsePluralOrSelectOptions(e,o,t,E);if(T.err)return T;var g=this.tryParseArgumentClose(n);if(g.err)return g;var _=F(n,this.clonePosition());if("select"===o)return{val:{type:u.select,value:r,options:X(T.val),location:_},err:null};return{val:{type:u.plural,value:r,options:X(T.val),offset:S,pluralType:"plural"===o?"cardinal":"ordinal",location:_},err:null};default:return this.error(l.INVALID_ARGUMENT_TYPE,F(a,s))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(l.EXPECT_ARGUMENT_CLOSING_BRACE,F(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(l.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,F(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw Error("Number skeleton cannot be empty");for(var t=e.split(O).filter(function(e){return e.length>0}),r=[],n=0;n<t.length;n++){var i=t[n].split("/");if(0===i.length)throw Error("Invalid number skeleton");for(var a=i[0],o=i.slice(1),s=0;s<o.length;s++)if(0===o[s].length)throw Error("Invalid number skeleton");r.push({stem:a,options:o})}return r}(e)}catch(e){return this.error(l.INVALID_NUMBER_SKELETON,t)}return{val:{type:c.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?function(e){for(var t={},r=0;r<e.length;r++){var n=e[r];switch(n.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=n.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=n.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=(0,m.pi)((0,m.pi)((0,m.pi)({},t),{notation:"scientific"}),n.options.reduce(function(e,t){return(0,m.pi)((0,m.pi)({},e),L(t)||{})},{}));continue;case"engineering":t=(0,m.pi)((0,m.pi)((0,m.pi)({},t),{notation:"engineering"}),n.options.reduce(function(e,t){return(0,m.pi)((0,m.pi)({},e),L(t)||{})},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(n.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(n.options.length>1)throw RangeError("integer-width stems only accept a single optional option");n.options[0].replace(P,function(e,r,n,i,a,o){if(r)t.minimumIntegerDigits=n.length;else if(i&&a)throw Error("We currently do not support maximum integer digits");else if(o)throw Error("We currently do not support exact integer digits");return""});continue}if(M.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(A.test(n.stem)){if(n.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(A,function(e,r,n,i,a,o){return"*"===n?t.minimumFractionDigits=r.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:a&&o?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+o.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""});var i=n.options[0];"w"===i?t=(0,m.pi)((0,m.pi)({}
1,t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=(0,m.pi)((0,m.pi)({},t),R(i)));continue}if(I.test(n.stem)){t=(0,m.pi)((0,m.pi)({},t),R(n.stem));continue}var a=L(n.stem);a&&(t=(0,m.pi)((0,m.pi)({},t),a));var o=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!M.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(n.stem);o&&(t=(0,m.pi)((0,m.pi)({},t),o))}return t}(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var i,a=!1,o=[],s=new Set,u=n.value,c=n.location;;){if(0===u.length){var d=this.clonePosition();if("select"!==t&&this.bumpIf("=")){var p=this.tryParseDecimalInteger(l.EXPECT_PLURAL_ARGUMENT_SELECTOR,l.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;c=F(d,this.clonePosition()),u=this.message.slice(d.offset,this.offset())}else break}if(s.has(u))return this.error("select"===t?l.DUPLICATE_SELECT_ARGUMENT_SELECTOR:l.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===u&&(a=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?l.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:l.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,F(this.clonePosition(),this.clonePosition()));var h=this.parseMessage(e+1,t,r);if(h.err)return h;var m=this.tryParseArgumentClose(f);if(m.err)return m;o.push([u,{value:h.val,location:F(f,this.clonePosition())}]),s.add(u),this.bumpSpace(),u=(i=this.parseIdentifierIfPossible()).value,c=i.location}return 0===o.length?this.error("select"===t?l.EXPECT_SELECT_ARGUMENT_SELECTOR:l.EXPECT_PLURAL_ARGUMENT_SELECTOR,F(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(l.MISSING_OTHER_CLAUSE,F(this.clonePosition(),this.clonePosition())):{val:o,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,a=0;!this.isEOF();){var o=this.char();if(o>=48&&o<=57)i=!0,a=10*a+(o-48),this.bump();else break}var s=F(n,this.clonePosition());return i?G(a*=r)?{val:a,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=J(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(Y(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),r=this.message.indexOf(e,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&ea(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),r=this.message.charCodeAt(t+(e>=65536?2:1));return null!=r?r:null},e}();function ei(e){return e>=97&&e<=122||e>=65&&e<=90}function ea(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function eo(e,t){void 0===t&&(t={});var r=new en(e,t=(0,m.pi)({shouldParseSkeletons:!0,requiresOtherClause:!0},t)).parse();if(r.err){var n=SyntaxError(l[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return(null==t?void 0:t.captureLocation)||function e(t){t.forEach(function(t){if(delete t.location,w(t)||E(t))for(var r in t.options)delete t.options[r].location,e(t.options[r].value);else y(t)&&T(t.style)?delete t.style.location:(b(t)||x(t))&&_(t.style)?delete t.style.location:S(t)&&e(t.children)})}(r.val),r.val}(o=f||(f={})).MISSING_VALUE="MISSING_VALUE",o.INVALID_VALUE="INVALID_VALUE",o.MISSING_INTL_API="MISSING_INTL_API";var es=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.code=r,i.originalMessage=n,i}return(0,m.ZT)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),el=function(e){function t(t,r,n,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),f.INVALID_VALUE,i)||this}return(0,m.ZT)(t,e),t}(es),eu=function(e){function t(t,r,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(r),f.INVALID_VALUE,n)||this}return(0,m.ZT)(t,e),t}(es),ec=function(e){function t(t,r){return e.call(this,'The intl str
1ing context variable "'.concat(t,'" was not provided to the string "').concat(r,'"'),f.MISSING_VALUE,r)||this}return(0,m.ZT)(t,e),t}(es);function ed(e){return"function"==typeof e}function ep(e,t,r,n,i,a,o){if(1===e.length&&v(e[0]))return[{type:h.literal,value:e[0].value}];for(var s=[],l=0;l<e.length;l++){var c=e[l];if(v(c)){s.push({type:h.literal,value:c.value});continue}if(c.type===u.pound){"number"==typeof a&&s.push({type:h.literal,value:r.getNumberFormat(t).format(a)});continue}var d=c.value;if(!(i&&d in i))throw new ec(d,o);var p=i[d];if(c.type===u.argument){p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),s.push({type:"string"==typeof p?h.literal:h.object,value:p});continue}if(b(c)){var m="string"==typeof c.style?n.date[c.style]:_(c.style)?c.style.parsedOptions:void 0;s.push({type:h.literal,value:r.getDateTimeFormat(t,m).format(p)});continue}if(x(c)){var m="string"==typeof c.style?n.time[c.style]:_(c.style)?c.style.parsedOptions:n.time.medium;s.push({type:h.literal,value:r.getDateTimeFormat(t,m).format(p)});continue}if(y(c)){var m="string"==typeof c.style?n.number[c.style]:T(c.style)?c.style.parsedOptions:void 0;m&&m.scale&&(p*=m.scale||1),s.push({type:h.literal,value:r.getNumberFormat(t,m).format(p)});continue}if(S(c)){var g=c.children,k=c.value,C=i[k];if(!ed(C))throw new eu(k,"function",o);var O=C(ep(g,t,r,n,i,a).map(function(e){return e.value}));Array.isArray(O)||(O=[O]),s.push.apply(s,O.map(function(e){return{type:"string"==typeof e?h.literal:h.object,value:e}}))}if(w(c)){var A=c.options[p]||c.options.other;if(!A)throw new el(c.value,p,Object.keys(c.options),o);s.push.apply(s,ep(A.value,t,r,n,i));continue}if(E(c)){var A=c.options["=".concat(p)];if(!A){if(!Intl.PluralRules)throw new es('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',f.MISSING_INTL_API,o);var I=r.getPluralRules(t,{type:c.pluralType}).select(p-(c.offset||0));A=c.options[I]||c.options.other}if(!A)throw new el(c.value,p,Object.keys(c.options),o);s.push.apply(s,ep(A.value,t,r,n,i,p-(c.offset||0)));continue}}return s.length<2?s:s.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===h.literal&&t.type===h.literal?r.value+=t.value:e.push(t),e},[])}function ef(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}(s=h||(h={}))[s.literal=0]="literal",s[s.object=1]="object";var eh=function(){function e(t,r,n,i){void 0===r&&(r=e.defaultLocale);var a,o,s=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);if(1===t.length)return t[0].value;var r=t.reduce(function(e,t){return e.length&&t.type===h.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(e){return ep(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=s.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),"string"==typeof t){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var l=i||{},u=(l.formatters,(0,m._T)(l,["formatters"]));this.ast=e.__parse(t,(0,m.pi)((0,m.pi)({},u),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=(a=e.formats,n?Object.keys(a).reduce(function(e,t){var r,i;return e[t]=(r=a[t],(i=n[t])?(0,m.pi)((0,m.pi)((0,m.pi)({},r||{}),i||{}),Object.keys(r).reduce(function(e,t){return e[t]=(0,m.pi)((0,m.pi)({},r[t]),i[t]||{}),e},{})):r),e},(0,m.pi)({},a)):a),this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,g.memoize)(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,(0,m.ev)([void 0],t,!1)))},{cache:ef(o.number),strategy:g.strategies.variadic}),getDateTimeFormat:(0,g.memoize)(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,(0,m.ev)([void 0],t,!1)))},{cache:ef(o.dateTime),strategy:g.strategies.variadic}),getPluralRules:(0,g.memoize)(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,(0,m.ev)([void 0],t,!1)))},{cache:ef(o.pluralRules),strategy:g.strategies.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale}
1,enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(void 0!==Intl.Locale){var t=Intl.NumberFormat.supportedLocalesOf(e);return new Intl.Locale(t.length>0?t[0]:"string"==typeof e?e:e[0])}},e.__parse=eo,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}(),em=eh},41808:function(e,t,r){e.exports=window.DOMPurify||(window.DOMPurify=r(15340).default||r(15340))},23825:function(e,t,r){var n=0/0,i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt,u="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,c="object"==typeof self&&self&&self.Object===Object&&self,d=u||c||Function("return this")(),p=Object.prototype.toString,f=Math.max,h=Math.min,m=function(){return d.Date.now()};function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==p.call(t))return n;if(g(e)){var t,r="function"==typeof e.valueOf?e.valueOf():e;e=g(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var u=o.test(e);return u||s.test(e)?l(e.slice(2),u?2:8):a.test(e)?n:+e}e.exports=function(e,t,r){var n,i,a,o,s,l,u=0,c=!1,d=!1,p=!0;if("function"!=typeof e)throw TypeError("Expected a function");function y(t){var r=n,a=i;return n=i=void 0,u=t,o=e.apply(a,r)}function b(e){var r=e-l,n=e-u;return void 0===l||r>=t||r<0||d&&n>=a}function x(){var e,r,n,i=m();if(b(i))return w(i);s=setTimeout(x,(e=i-l,r=i-u,n=t-e,d?h(n,a-r):n))}function w(e){return(s=void 0,p&&n)?y(e):(n=i=void 0,o)}function E(){var e,r=m(),a=b(r);if(n=arguments,i=this,l=r,a){if(void 0===s)return u=e=l,s=setTimeout(x,t),c?y(e):o;if(d)return s=setTimeout(x,t),y(l)}return void 0===s&&(s=setTimeout(x,t)),o}return t=v(t)||0,g(r)&&(c=!!r.leading,a=(d="maxWait"in r)?f(v(r.maxWait)||0,t):a,p="trailing"in r?!!r.trailing:p),E.cancel=function(){void 0!==s&&clearTimeout(s),u=0,n=l=i=s=void 0},E.flush=function(){return void 0===s?o:w(m())},E}},93627:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(2265);let i=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),a=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((e,t,r)=>!!e&&r.indexOf(e)===t).join(" ")};var o={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let s=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:i=24,strokeWidth:s=2,absoluteStrokeWidth:l,className:u="",children:c,iconNode:d,...p}=e;return(0,n.createElement)("svg",{ref:t,...o,width:i,height:i,stroke:r,strokeWidth:l?24*Number(s)/Number(i):s,className:a("lucide",u),...p},[...d.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(c)?c:[c]])}),l=(e,t)=>{let r=(0,n.forwardRef)((r,o)=>{let{className:l,...u}=r;return(0,n.createElement)(s,{ref:o,iconNode:t,className:a("lucide-".concat(i(e)),l),...u})});return r.displayName="".concat(e),r}},15490:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(93627).Z)("Car",[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]])},50226:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(93627).Z)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},11082:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(93627).Z)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},23196:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(93627).Z)("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},55398:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(93627).Z)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},98115:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(93627).Z)("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},43655:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(93627).Z)("CirclePlus",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]])},33157:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(93627).Z)("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},78020:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(93627).Z)("Fuel",[["line",{x1:"3",x2:"15",y1:"22",y2:"22",key:"xegly4"}],["line",{x1:"4",x2:"14",y1:"9",y2:"9",key:"xcnuvu"}],["path",{d:"M14 22V4a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v18",key:"16j0yd"}],["path",{d:"M14 13h2a2 2 0 0 1 2 2v2a2 2 0 0 0 2 2a2 2 0 0 0 2-2V9.83a2 2 0 0 0-.59-1.42L18 5",key:"7cu91f"}]])},20176:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(93627).Z)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},58935:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(93627).Z)("Navigation",[["polygon",{points:"3 11 22 2 13 21 11 13 3 11",key:"1ltx0t"}]])},5849:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(93627).Z)("Plug",[["path",{d:"M12 22v-5",key:"1ega77"}
1],["path",{d:"M9 8V2",key:"14iosj"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z",key:"osxo6l"}]])},88822:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(93627).Z)("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},37742:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(93627).Z)("ShoppingCart",[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]])},32216:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(93627).Z)("SlidersHorizontal",[["line",{x1:"21",x2:"14",y1:"4",y2:"4",key:"obuewd"}],["line",{x1:"10",x2:"3",y1:"4",y2:"4",key:"1q6298"}],["line",{x1:"21",x2:"12",y1:"12",y2:"12",key:"1iu8h1"}],["line",{x1:"8",x2:"3",y1:"12",y2:"12",key:"ntss68"}],["line",{x1:"21",x2:"16",y1:"20",y2:"20",key:"14d8ph"}],["line",{x1:"12",x2:"3",y1:"20",y2:"20",key:"m0wm8r"}],["line",{x1:"14",x2:"14",y1:"2",y2:"6",key:"14e1ph"}],["line",{x1:"8",x2:"8",y1:"10",y2:"14",key:"1i6ji0"}],["line",{x1:"16",x2:"16",y1:"18",y2:"22",key:"1lctlv"}]])},11850:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(93627).Z)("SquareArrowRight",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"m12 16 4-4-4-4",key:"1i9zcv"}]])},13032:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(93627).Z)("Utensils",[["path",{d:"M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2",key:"cjf0a3"}],["path",{d:"M7 2v20",key:"1473qp"}],["path",{d:"M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7",key:"j28e5"}]])},82489:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(93627).Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},83710:function(e,t){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}Object.defineProperty(t,"__esModule",{value:!0}),t.extends=r},78689:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(29989),i=r(14342),a=r(40753),o=r(74332);t.useFormatter=n.useFormatter,t.useTranslations=n.useTranslations,t.useLocale=i.default,t.NextIntlClientProvider=a.default,Object.keys(o).forEach(function(e){"default"===e||Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})})},94595:function(e,t,r){"use strict";var n=r(16221),i=r(81150),a=r(68843);n.default,i.default,t.os=a.default},12314:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(83710),i=r(2265),a=r(14342),o=r(42841),s=r(16307),l=i&&i.__esModule?i:{default:i};let u=i.forwardRef(function(e,t){let{locale:r,localePrefix:i,...u}=e,c=a.default(),d=r||c,p=o.getLocalePrefix(d,i);return l.default.createElement(s.default,n.extends({ref:t,locale:d,localePrefixMode:i.mode,prefix:p},u))});u.displayName="ClientLink",t.default=u},81150:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(83710),i=r(2265),a=r(14342),o=r(92346),s=r(95551),l=r(12314),u=r(21615),c=r(27607),d=r(57464),p=i&&i.__esModule?i:{default:i};t.default=function(e){let t=o.receiveRoutingConfig(e),r=o.receiveLocaleCookie(e.localeCookie);function f(){let e=a.default();if(!t.locales.includes(e))throw Error(void 0);return e}let h=i.forwardRef(function(e,i){let{href:a,locale:o,...u}=e,c=f(),d=o||c;return p.default.createElement(l.default,n.extends({ref:i,href:s.compileLocalizedPathname({locale:d,pathname:a,params:"object"==typeof a?a.params:void 0,pathnames:t.pathnames}),locale:o,localeCookie:r,localePrefix:t.localePrefix},u))});function m(e){let{href:r,locale:n}=e;return s.compileLocalizedPathname({...s.normalizeNameOrNameWithParams(r),locale:n,pathnames:t.pathnames})}return h.displayName="Link",{Link:h,redirect:function(e){let r=m({href:e,locale:f()});for(var n=arguments.length,i=Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];return u.clientRedirect({pathname:r,localePrefix:t.localePrefix},...i)},permanentRedirect:function(e){let r=m({href:e,locale:f()});for(var n=arguments.length,i=Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];return u.clientPermanentRedirect({pathname:r,localePrefix:t.localePrefix},...i)},usePathname:function(){let e=c.default(t),r=f();return i.useMemo(()=>e?s.getRoute(r,e,t.pathnames):e,[r,e])},useRouter:function(){let e=d.default(t.localePrefix,r),n=f();return i.useMemo(()=>({...e,push(t){for(var r,i=arguments.length,a=Array(i>1?i-1:0),o=1;o<i;o++)a[o-1]=arguments[o];let s=m({href:t,locale:(null===(r=a[0])||void 0===r?void 0:r.locale)||n});return e.push(s,...a)},replace(t){for(var r,i=arguments.length,a=Array(i>1?i-1:0),o=1;o<i;o++)a[o-1]=arguments[o];let s=m({href:t,locale:(null===(r=a[0])||void 0===r?void 0:r.locale)||n});return e.replace(s,...a)},prefetch(t){for(var r,i=arguments.length,a=Array(i>1?i-1:0),o=1;o<i;o++)a[o-1]=arguments[o];let s=m({href:t,locale:(null===(r=a[0])||void 0===r?void 0:r.locale)||n});return e.prefetch(s,...a)}}),[e,n])},getPathname:m}}},68843:function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var n=r(72301),i=r(2265),a=r(14342),o=r(74148),s=r(8110),l=r(95551),u=r(27607);t.default=function(e){function t(){return a.default()}let{Link:r,config:c,getPathname:d,...p}=o.default(t,e);return{...p,Link:r,usePathname:function(){let e=u.default(c),r=t();return i.useMemo(()=>e&&c.pathnames?l.getRoute(r,e,c.pathnames):e,[r,e])},useRouter:function(){let e=n.useRouter(),r=t(),a=n.usePathname();return i.useMemo(()=>{function t(e){return function(t,n){let{locale:i,...o}=n||{},l=[d({href:t,locale:i||r,domain:window.location.host})];Object.keys(o).length>0&&l.push(o),e(...l),s.default(c.localeCookie,a,r,i)}}return{...e,push:t(e.push),replace:t(e.replace),prefetch:t(e.prefetch)}},[r,a,e])},getPathname:d}}},16221:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(83710),i=r(2265),a=r(92346),o=r(12314),s=r(21615),l=r(27607),u=r(57464),c=i&&i.__esModule?i:{default:i};t.default=function(e){let t=a.receiveLocalePrefixConfig(null==e?void 0:e.localePrefix),r=a.receiveLocaleCookie(null==e?void 0:e.localeCookie),d=i.forwardRef(function(e,i){return c.default.createElement(o.default,n.extends({ref:i,localeCookie:r,localePrefix:t},e))});return d.displayName="Link",{Link:d,redirect:function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return s.clientRedirect({pathname:e,localePrefix:t},...n)},permanentRedirect:function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return s.clientPermanentRedirect({pathname:e,localePrefix:t},...n)},usePathname:function(){return l.default({localePrefix:t,defaultLocale:null==e?void 0:e.defaultLocale})},useRouter:function(){return u.default(t,r)}}}},21615:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(14342),i=r(51522);function a(e){return function(t){let r;try{r=n.default()}catch(e){throw e}for(var i=arguments.length,a=Array(i>1?i-1:0),o=1;o<i;o++)a[o-1]=arguments[o];return e({...t,locale:r},...a)}}let o=a(i.baseRedirect),s=a(i.basePermanentRedirect);t.clientPermanentRedirect=s,t.clientRedirect=o},27607:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(72301),i=r(2265),a=r(14342),o=r(42841);t.default=function(e){let t=n.usePathname(),r=a.default();return i.useMemo(()=>{if(!t)return t;let n=t,i=o.getLocalePrefix(r,e.localePrefix);if(o.hasPathnamePrefixed(i,t))n=o.unprefixPathname(t,i);else if("as-needed"===e.localePrefix.mode&&e.localePrefix.prefixes){let e=o.getLocaleAsPrefix(r);o.hasPathnamePrefixed(e,t)&&(n=o.unprefixPathname(t,e))}return n},[e.localePrefix,r,t])}},57464:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(72301),i=r(2265),a=r(14342),o=r(42841),s=r(8110),l=r(95551);t.default=function(e,t){let r=n.useRouter(),u=a.default(),c=n.usePathname();return i.useMemo(()=>{function n(r){return function(n,i){let{locale:a,...d}=i||{};s.default(t,c,u,a);let p=[function(t,r){let n=window.location.pathname,i=l.getBasePath(c);i&&(n=n.replace(i,""));let a=r||u,s=o.getLocalePrefix(a,e);return o.localizeHref(t,a,u,n,s)}(n,a)];return Object.keys(d).length>0&&p.push(d),r(...p)}}return{...r,push:n(r.push),replace:n(r.replace),prefetch:n(r.prefetch)}},[u,t,e,c,r])}},37558:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(83710),i=r(99485),a=r(72301),o=r(2265),s=r(14342),l=r(8110);function u(e){return e&&e.__esModule?e:{default:e}}var c=u(i),d=u(o),p=o.forwardRef(function(e,t){let{defaultLocale:r,href:i,locale:u,localeCookie:p,onClick:f,prefetch:h,unprefixed:m,...g}=e,v=s.default(),y=null!=u&&u!==v,b=u||v,x=function(){let[e,t]=o.useState();return o.useEffect(()=>{t(window.location.host)},[]),e}(),w=x&&m&&(m.domains[x]===b||!Object.keys(m.domains).includes(x)&&v===r&&!u)?m.pathname:i,E=a.usePathname();return y&&(h=!1),d.default.createElement(c.default,n.extends({ref:t,href:w,hrefLang:y?u:void 0,onClick:function(e){l.default(p,E,v,u),f&&f(e)},prefetch:h},g))});t.default=p},16307:function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var n=r(83710),i=r(72301),a=r(2265),o=r(14342),s=r(42841),l=r(37558),u=a&&a.__esModule?a:{default:a};let c=a.forwardRef(function(e,t){let{href:r,locale:c,localeCookie:d,localePrefixMode:p,prefix:f,...h}=e,m=i.usePathname(),g=o.default(),v=c!==g,[y,b]=a.useState(()=>s.isLocalizableHref(r)&&("never"!==p||v)?s.prefixHref(r,f):r);return a.useEffect(()=>{m&&b(s.localizeHref(r,c,g,m,f))},[g,r,c,m,f]),u.default.createElement(l.default,n.extends({ref:t,href:y,locale:c,localeCookie:d},h))});c.displayName="ClientLink",t.default=c},74148:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(83710),i=r(72301),a=r(2265),o=r(92346),s=r(42841),l=r(37558),u=r(95551),c=a&&a.__esModule?a:{default:a};t.default=function(e,t){let r=o.receiveRoutingConfig(t||{}),d=r.pathnames,p="as-needed"===r.localePrefix.mode&&r.domains||void 0,f=a.forwardRef(function(t,i){let o,u,f,{href:m,locale:g,...v}=t;"object"==typeof m?(o=m.pathname,f=m.query,u=m.params):o=m;let y=s.isLocalizableHref(m),b=e(),x=s.isPromise(b)?a.use(b):b,w=y?h({locale:g||x,href:null==d?o:{pathname:o,params:u}},null!=g||p||void 0):o;return c.default.createElement(l.default,n.extends({ref:i,defaultLocale:r.defaultLocale,href:"object"==typeof m?{...m,pathname:w}:w,locale:g,localeCookie:r.localeCookie,unprefixed:p&&y?{domains:r.domains.reduce((e,t)=>(e[t.domain]=t.defaultLocale,e),{}),pathname:h({locale:x,href:null==d?{pathname:o,query:f}:{pathname:o,query:f,params:u}},!1)}:void 0},v))});function h(e,t){let n;let{href:i,locale:a}=e;return null==d?"object"==typeof i?(n=i.pathname,i.query&&(n+=u.serializeSearchParams(i.query))):n=i:n=u.compileLocalizedPathname({locale:a,...u.normalizeNameOrNameWithParams(i),pathnames:r.pathnames}),u.applyPathnamePrefix(n,a,r,e.domain,t)}function m(e){return function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return e(h(t,t.domain?void 0:p),...n)}}return{config:r,Link:f,redirect:m(i.redirect),permanentRedirect:m(i.permanentRedirect),getPathname:h}}},51522:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(72301),i=r(42841);function a(e){return function(t){let r=i.getLocalePrefix(t.locale,t.localePrefix),n="never"!==t.localePrefix.mode&&i.isLocalizableHref(t.pathname)?i.prefixPathname(r,t.pathname):t.pathname;for(var a=arguments.length,o=Array(a>1?a-1:0),s=1;s<a;s++)o[s-1]=arguments[s];return e(n,...o)}}let o=a(n.redirect),s=a(n.permanentRedirect);t.basePermanentRedirect=s,t.baseRedirect=o},8110:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(95551);t.default=function(e,t,r,i){if(!e||!(i!==r&&null!=i)||!t)return;let a=n.getBasePath(t),{name:o,...s}=e;s.path||(s.path=""!==a?a:"/");let l="".concat(o,"=").concat(i,";");for(let[e,t]of Object.entries(s))l+="".concat("maxAge"===e?"max-age":e),"boolean"!=typeof t&&(l+="="+t),l+=";";document.cookie=l}},95551:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(42841);function i(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))Array.isArray(n)?n.forEach(e=>{t.append(r,String(e))}):t.set(r,String(n));return"?"+t.toString()}t.applyPathnamePrefix=function(e,t,r,i,a){let o;let{mode:s}=r.localePrefix;if(void 0!==a)o=a;else if(n.isLocalizableHref(e)){if("always"===s)o=!0;else if("as-needed"===s){let e=r.defaultLocale;if(r.domains){let t=r.domains.find(e=>e.domain===i);t&&(e=t.defaultLocale)}o=e!==t}}return o?n.prefixPathname(n.getLocalePrefix(t,r.localePrefix),e):e},t.compileLocalizedPathname=function(e){let{pathname:t,locale:r,params:a,pathnames:o,query:s}=e;function l(e){let t=o[e];return t||(t=e),t}function u(e){let t="string"==typeof e?e:e[r];return a&&Object.entries(a).forEach(e=>{let r,n,[i,a]=e;Array.isArray(a)?(r="(\\[)?\\[...".concat(i,"\\](\\])?"),n=a.map(e=>String(e)).join("/")):(r="\\[".concat(i,"\\]"),n=String(a)),t=t.replace(RegExp(r,"g"),n)}),t=t.replace(/\[\[\.\.\..+\]\]/g,""),t=n.normalizeTrailingSlash(t),s&&(t+=i(s)),t}if("string"==typeof t)return u(l(t));{let{pathname:e,...r}=t;return{...r,pathname:u(l(e))}}},t.getBasePath=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location.pathname;return"/"===e?t:t.replace(e,"")},t.getRoute=function(e,t,r){let i=n.getSortedPathnames(Object.keys(r)),a=decodeURI(t);for(let t of i){let i=r[t];if("string"==typeof i){if(n.matchesPathname(i,a))return t}else if(n.matchesPathname(i[e],a))return t}return t},t.normalizeNameOrNameWithParams=function(e){return"string"==typeof e?{pathname:e}:e},t.serializeSearchParams=i},29989:function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var n=r(74332);function i(e,t){return function(){try{return t(...arguments)}catch(e){throw Error(void 0)}}}let a=i(0,n.useTranslations),o=i(0,n.useFormatter);t.useFormatter=o,t.useTranslations=a,Object.keys(n).forEach(function(e){"default"===e||Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}})})},14342:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(72301),i=r(18706),a=r(95308);t.default=function(){let e;let t=n.useParams();try{e=i.useLocale()}catch(r){if("string"!=typeof(null==t?void 0:t[a.LOCALE_SEGMENT_NAME]))throw r;e=t[a.LOCALE_SEGMENT_NAME]}return e}},8133:function(e,t,r){"use strict";var n=r(74150);t.R=n.default},92346:function(e,t){"use strict";function r(e){return!(null!=e&&!e)&&{name:"NEXT_LOCALE",maxAge:31536e3,sameSite:"lax",..."object"==typeof e&&e}}function n(e){return"object"==typeof e?e:{mode:e||"always"}}Object.defineProperty(t,"__esModule",{value:!0}),t.receiveLocaleCookie=r,t.receiveLocalePrefixConfig=n,t.receiveRoutingConfig=function(e){var t,i;return{...e,localePrefix:n(e.localePrefix),localeCookie:r(e.localeCookie),localeDetection:null===(t=e.localeDetection)||void 0===t||t,alternateLinks:null===(i=e.alternateLinks)||void 0===i||i}}},74150:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},71808:function(e,t,r){"use strict";var n=r(75229);n.getFormatter,t.Kd=n.getLocale,n.getMessages,n.getNow,n.getRequestConfig,n.getTimeZone,t.FC=n.getTranslations,n.setRequestLocale,n.unstable_setRequestLocale},75229:function(e,t){"use strict";function r(e){return()=>{throw Error("`".concat(e,"` is not supported in Client Components."))}}Object.defineProperty(t,"__esModule",{value:!0});let n=r("getFormatter"),i=r("getNow"),a=r("getTimeZone"),o=r("getMessages"),s=r("getLocale"),l=r("getTranslations"),u=r("unstable_setRequestLocale"),c=r("setRequestLocale");t.getFormatter=n,t.getLocale=s,t.getMessages=o,t.getNow=i,t.getRequestConfig=function(){return r("getRequestConfig")},t.getTimeZone=a,t.getTranslations=l,t.setRequestLocale=c,t.unstable_setRequestLocale=u},40753:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(83710),i=r(2265),a=r(85831),o=i&&i.__esModule?i:{default:i};t.default=function(e){let{locale:t,...r}=e;if(!t)throw Error(void 0);return o.default.createElement(a.IntlProvider,n.extends({locale:t},r))}},95308:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HEADER_LOCALE_NAME="X-NEXT-INTL-LOCALE",t.LOCALE_SEGMENT_NAME="locale"},42841:function(e,t,r){"use strict";var n=r(37658);function i(e){return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&!function(e){let t="object"==typeof e?e.pathname:e;return null!=t&&!t.startsWith("/")}(e)}function a(e,t){let r;return"string"==typeof e?r=o(t,e):(r={...e},e.pathname&&(r.pathname=o(t,e.pathname))),r}function o(e,t){let r=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),r+=t}function s(e,t){return t===e||t.startsWith("".concat(e,"/"))}function l(e){let t=function(){try{return"true"===n.env._next_intl_trailing_slash}catch(e){return!1}}();if("/"!==e){let r=e.endsWith("/");t&&!r?e+="/":!t&&r&&(e=e.slice(0,-1))}return e}function u(e){return"/"+e}function c(e){let t=e.replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"?(.*)").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)");return new RegExp("^".concat(t,"$"))}function d(e){return e.includes("[[...")}function p(e){return e.includes("[...")}function f(e){return e.includes("[")}function h(e,t){let r=e.split("/"),n=t.split("/"),i=Math.max(r.length,n.length);for(let e=0;e<i;e++){let t=r[e],i=n[e];if(!t&&i)return -1;if(t&&!i)return 1;if(t||i){if(!f(t)&&f(i))return -1;if(f(t)&&!f(i))return 1;if(!p(t)&&p(i))return -1;if(p(t)&&!p(i))return 1;if(!d(t)&&d(i))return -1;if(d(t)&&!d(i))return 1}}return 0}Object.defineProperty(t,"__esModule",{value:!0}),t.getLocaleAsPrefix=u,t.getLocalePrefix=function(e,t){var r;return"never"!==t.mode&&(null===(r=t.prefixes)||void 0===r?void 0:r[e])||u(e)},t.getSortedPathnames=function(e){return e.sort(h)},t.hasPathnamePrefixed=s,t.isLocalizableHref=i,t.isPromise=function(e){return"function"==typeof e.then},t.localizeHref=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,n=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;if(!i(e))return e;let l=s(o,n);return(t!==r||l)&&null!=o?a(e,o):e},t.matchesPathname=function(e,t){let r=l(e),n=l(t);return c(r).test(n)},t.normalizeTrailingSlash=l,t.prefixHref=a,t.prefixPathname=o,t.templateToRegex=c,t.unprefixPathname=function(e,t){return e.replace(new RegExp("^".concat(t)),"")||"/"}},11210:function(e,t,r){"use strict";r.d(t,{default:function(){return i.a}});var n=r(36960),i=r.n(n)},63726:function(e,t,r){"use strict";r.d(t,{default:function(){return i.a}});var n=r(20717),i=r.n(n)},91351:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return i.a}});var n=r(87512),i=r.n(n),a={};for(var o in n)"default"!==o&&(a[o]=(function(e){return n[e]}).bind(0,o));r.d(t,a)},61474:function(e,t,r){"use strict";Object.defineProperty(t,"$",{enumerable:!0,get:function(){return i}});let n=r(6431);function i(e){let{createServerReference:t}=r(6671);return t(e,n.callServer)}},92267:function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return b}});let n=r(43150),i=r(452),a=r(57437),o=i._(r(2265)),s=n._(r(54887)),l=n._(r(49813)),u=r(10249),c=r(68953),d=r(13947);r(8977);let p=r(2853),f=n._(r(46208)),h={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function m(e,t,r,n,i,a,o){let s=null==e?void 0:e.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}}))}function g(e){return o.use?{fetchPriority:e}:{fetchpriority:e}}"undefined"==typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let v=(0,o.forwardRef)((e,t)=>{let{src:r,srcSet:n,sizes:i,height:s,width:l,decoding:u,className:c,style:d,fetchPriority:p,placeholder:f,loading:h,unoptimized:v,fill:y,onLoadRef:b,onLoadingCompleteRef:x,setBlurComplete:w,setShowAltText:E,sizesInput:S,onLoad:T,onError:_,...k}=e;return(0,a.jsx)("img",{...k,...g(p),loading:h,width:l,height:s,decoding:u,"data-nimg":y?"fill":"1",className:c,style:d,sizes:i,srcSet:n,src:r,ref:(0,o.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(_&&(e.src=e.src),e.complete&&m(e,f,b,x,w,v,S))},[r,f,b,x,w,_,v,S,t]),onLoad:e=>{m(e.currentTarget,f,b,x,w,v,S)},onError:e=>{E(!0),"empty"!==f&&w(!0),_&&_(e)}})});function y(e){let{isAppRouter:t,imgAttributes:r}=e,n={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...g(r.fetchPriority)};return t&&s.default.preload?(s.default.preload(r.src,n),null):(0,a.jsx)(l.default,{children:(0,a.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...n},"__nimg-"+r.src+r.srcSet+r.sizes)})}let b=(0,o.forwardRef)((e,t)=>{let r=(0,o.useContext)(p.RouterContext),n=(0,o.useContext)(d.ImageConfigContext),i=(0,o.useMemo)(()=>{var e;let t=h||n||c.imageConfigDefault,r=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>e-t),i=t.deviceSizes.sort((e,t)=>e-t),a=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:r,deviceSizes:i,qualities:a}},[n]),{onLoad:s,onLoadingComplete:l}=e,m=(0,o.useRef)(s);(0,o.useEffect)(()=>{m.current=s},[s]);let g=(0,o.useRef)(l);(0,o.useEffect)(()=>{g.current=l},[l]);let[b,x]=(0,o.useState)(!1),[w,E]=(0,o.useState)(!1),{props:S,meta:T}=(0,u.getImgProps)(e,{defaultLoader:f.default,imgConf:i,blurComplete:b,showAltText:w});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(v,{...S,unoptimized:T.unoptimized,placeholder:T.placeholder,fill:T.fill,onLoadRef:m,onLoadingCompleteRef:g,setBlurComplete:x,setShowAltText:E,sizesInput:e.sizes,ref:t}),T.priority?(0,a.jsx)(y,{isAppRouter:!r,imgAttributes:S}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},94144:function(e){!function(){var t={675:function(e,t){"use strict";t.byteLength=function(e){var t=l(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,a=l(e),o=a[0],s=a[1],u=new i((o+s)*3/4-s),c=0,d=s>0?o-4:o;for(r=0;r<d;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],u[c++]=t>>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,u[c++]=255&t),1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,a=[],o=0,s=n-i;o<s;o+=16383)a.push(function(e,t,n){for(var i,a=[],o=t;o<n;o+=3)a.push(r[(i=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]))>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}(e,o,o+16383>
1s?s:o+16383));return 1===i?a.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&a.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),a.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,s=a.length;o<s;++o)r[o]=a[o],n[a.charCodeAt(o)]=o;function l(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},72:function(e,t,r){"use strict";var n=r(675),i=r(783),a="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function o(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return l(e,t,r)}function l(e,t,r){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!s.isEncoding(t))throw TypeError("Unknown encoding: "+t);var r=0|f(e,t),n=o(r),i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}(e,t);if(ArrayBuffer.isView(e))return d(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(A(e,ArrayBuffer)||e&&A(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(A(e,SharedArrayBuffer)||e&&A(e.buffer,SharedArrayBuffer)))return function(e,t,r){var n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),s.prototype),n}(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return s.from(n,t,r);var i=function(e){if(s.isBuffer(e)){var t,r=0|p(e.length),n=o(r);return 0===n.length||e.copy(n,0,0,r),n}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?o(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return u(e),o(e<0?0:0|p(e))}function d(e){for(var t=e.length<0?0:0|p(e.length),r=o(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function p(e){if(e>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function f(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||A(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return _(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return C(e).length;default:if(i)return n?-1:_(e).length;t=(""+t).toLowerCase(),i=!0}}function h(e,t,r){var i,a,o=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=t;a<r;++a)i+=I[e[a]];return i}(this,t,r);case"utf8":case"utf-8":return y(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}(this,t,r);case"base64":return i=t,a=r,0===i&&a===this.length?n.fromByteArray(this):n.fromByteArray(this.slice(i,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),i="",a=0;a<n.length;a+=2)i+=String.fromCharCode(n[a]+256*n[a+1]);return i}(this,t,r);default:if(o)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}function m(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function g(e,t,r,n,i){var a;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),(a=r=+r)!=a&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return -1;r=e.length-1}
1else if(r<0){if(!i)return -1;r=0}if("string"==typeof t&&(t=s.from(t,n)),s.isBuffer(t))return 0===t.length?-1:v(e,t,r,n,i);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):v(e,[t],r,n,i);throw TypeError("val must be string, number or Buffer")}function v(e,t,r,n,i){var a,o=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;o=2,s/=2,l/=2,r/=2}function u(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var c=-1;for(a=r;a<s;a++)if(u(e,a)===u(t,-1===c?0:a-c)){if(-1===c&&(c=a),a-c+1===l)return c*o}else -1!==c&&(a-=a-c),c=-1}else for(r+l>s&&(r=s-l),a=r;a>=0;a--){for(var d=!0,p=0;p<l;p++)if(u(e,a+p)!==u(t,p)){d=!1;break}if(d)return a}return -1}function y(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var a,o,s,l,u=e[i],c=null,d=u>239?4:u>223?3:u>191?2:1;if(i+d<=r)switch(d){case 1:u<128&&(c=u);break;case 2:(192&(a=e[i+1]))==128&&(l=(31&u)<<6|63&a)>127&&(c=l);break;case 3:a=e[i+1],o=e[i+2],(192&a)==128&&(192&o)==128&&(l=(15&u)<<12|(63&a)<<6|63&o)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:a=e[i+1],o=e[i+2],s=e[i+3],(192&a)==128&&(192&o)==128&&(192&s)==128&&(l=(15&u)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,d=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return r}(n)}function b(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function x(e,t,r,n,i,a){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<a)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function w(e,t,r,n,i,a){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function E(e,t,r,n,a){return t=+t,r>>>=0,a||w(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function S(e,t,r,n,a){return t=+t,r>>>=0,a||w(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}t.Buffer=s,t.SlowBuffer=function(e){return+e!=e&&(e=0),s.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=2147483647,s.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,t,r){return l(e,t,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,r){return(u(e),e<=0)?o(e):void 0!==t?"string"==typeof r?o(e).fill(t,r):o(e).fill(t):o(e)},s.allocUnsafe=function(e){return c(e)},s.allocUnsafeSlow=function(e){return c(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),A(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,a=Math.min(r,n);i<a;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return s.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=s.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var a=e[r];if(A(a,Uint8Array)&&(a=s.from(a)),!s.isBuffer(a))throw TypeError('"list" argument must be an Array of Buffers');a.copy(n,i),i+=a.length}return n},s.byteLength=f,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},s.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},s.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},s.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?y(this,0,e):h.apply(this,arguments)}
vendor: 8,902 bytes, line 1
1,s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(e){if(!s.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===s.compare(this,e)},s.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},a&&(s.prototype[a]=s.prototype.inspect),s.prototype.compare=function(e,t,r,n,i){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var a=i-n,o=r-t,l=Math.min(a,o),u=this.slice(n,i),c=e.slice(t,r),d=0;d<l;++d)if(u[d]!==c[d]){a=u[d],o=c[d];break}return a<o?-1:o<a?1:0},s.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},s.prototype.indexOf=function(e,t,r){return g(this,e,t,r,!0)},s.prototype.lastIndexOf=function(e,t,r){return g(this,e,t,r,!1)},s.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,a,o,s,l,u,c,d,p,f,h,m,g=this.length-t;if((void 0===r||r>g)&&(r=g),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var v=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var a=t.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var s=parseInt(t.substr(2*o,2),16);if(s!=s)break;e[r+o]=s}return o}(this,e,t,r);case"utf8":case"utf-8":return l=t,u=r,O(_(e,this.length-l),this,l,u);case"ascii":return c=t,d=r,O(k(e),this,c,d);case"latin1":case"binary":return i=this,a=e,o=t,s=r,O(k(a),i,o,s);case"base64":return p=t,f=r,O(C(e),this,p,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return h=t,m=r,O(function(e,t){for(var r,n,i=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,i.push(r%256),i.push(n);return i}(e,this.length-h),this,h,m);default:if(v)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),v=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,s.prototype),n},s.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e],i=1,a=0;++a<t&&(i*=256);)n+=this[e+a]*i;return n},s.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},s.prototype.readUInt8=function(e,t){return e>>>=0,t||b(e,1,this.length),this[e]},s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e],i=1,a=0;++a<t&&(i*=256);)n+=this[e+a]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},s.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=t,i=1,a=this[e+--n];n>0&&(i*=256);)a+=this[e+--n]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},s.prototype.readInt8=function(e,t){return(e>>>=0,t||b(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||b(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt16BE=function(e,t){e>>>=0,t||b(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return e>>>=0,t||b(e,4,this.length),i.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||b(e,4,this.length),i.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||b(e,8,this.length),i.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||b(e,8,this.length),i.read(this,e,!1,52,8)},s.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;x(this,e,t,r,i,0)}var a=1,o=0;for(this[t]=255&e;++o<r&&(a*=256);)this[t+o]=e/a&255;return t+r},s.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;x(this,e,t,r,i,0)}var a=r-1,o=1;for(this[t+a]=255&e;--a>=0&&(o*=256);)this[t+a]=e/o&255;return t+r},s.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},s.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);x(this,e,t,r,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a<r&&(o*=256);)e<0&&0===s&&0!==this[t+a-1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+r},s.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);x(this,e,t,r,i-1,-i)}var a=r-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+r},s.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeFloatLE=function(e,t,r){return E(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return E(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return S(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return S(this,e,t,!1,r)},s.prototype.copy=function(e,t,r,n){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i=n-r;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,r,n);else if(this===e&&r<t&&t<n)for(var a=i-1;a>=0;--a)e[a+t]=this[a+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return i},s.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!s.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var i,a=e.charCodeAt(0);("utf8"===n&&a<128||"latin1"===n)&&(e=a)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var o=s.isBuffer(e)?e:s.from(e,n),l=o.length;
1if(0===l)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=o[i%l]}return this};var T=/[^+/0-9A-Za-z-_]/g;function _(e,t){t=t||1/0;for(var r,n=e.length,i=null,a=[],o=0;o<n;++o){if((r=e.charCodeAt(o))>55295&&r<57344){if(!i){if(r>56319||o+1===n){(t-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return a}function k(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function C(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(T,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function O(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function A(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var I=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()},783:function(e,t){t.read=function(e,t,r,n,i){var a,o,s=8*i-n-1,l=(1<<s)-1,u=l>>1,c=-7,d=r?i-1:0,p=r?-1:1,f=e[t+d];for(d+=p,a=f&(1<<-c)-1,f>>=-c,c+=s;c>0;a=256*a+e[t+d],d+=p,c-=8);for(o=a&(1<<-c)-1,a>>=-c,c+=n;c>0;o=256*o+e[t+d],d+=p,c-=8);if(0===a)a=1-u;else{if(a===l)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,n),a-=u}return(f?-1:1)*o*Math.pow(2,a-n)},t.write=function(e,t,r,n,i,a){var o,s,l,u=8*a-i-1,c=(1<<u)-1,d=c>>1,p=23===i?5960464477539062e-23:0,f=n?0:a-1,h=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,o=c):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),o+d>=1?t+=p/l:t+=p*Math.pow(2,1-d),t*l>=2&&(o++,l/=2),o+d>=c?(s=0,o=c):o+d>=1?(s=(t*l-1)*Math.pow(2,i),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),o=0));i>=8;e[r+f]=255&s,f+=h,s/=256,i-=8);for(o=o<<i|s,u+=i;u>0;e[r+f]=255&o,f+=h,o/=256,u-=8);e[r+f-h]|=128*m}}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var a=r[e]={exports:{}},o=!0;try{t[e](a,a.exports,n),o=!1}finally{o&&delete r[e]}return a.exports}n.ab="//";var i=n(72);e.exports=i}()},59366:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=r(43150)._(r(2265)).default.createContext({})},83166:function(e,t){"use strict";function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},36960:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let n=r(43150);r(57437),r(2265);let i=n._(r(96435));function a(e,t){var r;let n={loading:e=>{let{error:t,isLoading:r,pastDelay:n}=e;return null}};"function"==typeof e&&(n.loader=e);let a={...n,...t};return(0,i.default)({...a,modules:null==(r=a.loadableGenerated)?void 0:r.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},10249:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return s}}),r(8977);let n=r(31709),i=r(68953);function a(e){return void 0!==e.default}function o(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function s(e,t){var r,s;let l,u,c,{src:d,sizes:p,unoptimized:f=!1,priority:h=!1,loading:m,className:g,quality:v,width:y,height:b,fill:x=!1,style:w,overrideSrc:E,onLoad:S,onLoadingComplete:T,placeholder:_="empty",blurDataURL:k,fetchPriority:C,decoding:O="async",layout:A,objectFit:I,objectPosition:P,lazyBoundary:M,lazyRoot:R,...L}=e,{imgConf:j,showAltText:N,blurComplete:D,defaultLoader:B}=t,F=j||i.imageConfigDefault;if("allSizes"in F)l=F;else{let e=[...F.deviceSizes,...F.imageSizes].sort((e,t)=>
1e-t),t=F.deviceSizes.sort((e,t)=>e-t),n=null==(r=F.qualities)?void 0:r.sort((e,t)=>e-t);l={...F,allSizes:e,deviceSizes:t,qualities:n}}if(void 0===B)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let z=L.loader||B;delete L.loader,delete L.srcSet;let H="__next_img_default"in z;if(H){if("custom"===l.loader)throw Error('Image with src "'+d+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=z;z=t=>{let{config:r,...n}=t;return e(n)}}if(A){"fill"===A&&(x=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[A];e&&(w={...w,...e});let t={responsive:"100vw",fill:"100vw"}[A];t&&!p&&(p=t)}let V="",$=o(y),Z=o(b);if("object"==typeof(s=d)&&(a(s)||void 0!==s.src)){let e=a(d)?d.default:d;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(u=e.blurWidth,c=e.blurHeight,k=k||e.blurDataURL,V=e.src,!x){if($||Z){if($&&!Z){let t=$/e.width;Z=Math.round(e.height*t)}else if(!$&&Z){let t=Z/e.height;$=Math.round(e.width*t)}}else $=e.width,Z=e.height}}let U=!h&&("lazy"===m||void 0===m);(!(d="string"==typeof d?d:V)||d.startsWith("data:")||d.startsWith("blob:"))&&(f=!0,U=!1),l.unoptimized&&(f=!0),H&&d.endsWith(".svg")&&!l.dangerouslyAllowSVG&&(f=!0),h&&(C="high");let G=o(v),W=Object.assign(x?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:I,objectPosition:P}:{},N?{}:{color:"transparent"},w),q=D||"empty"===_?null:"blur"===_?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:$,heightInt:Z,blurWidth:u,blurHeight:c,blurDataURL:k||"",objectFit:W.objectFit})+'")':'url("'+_+'")',Y=q?{backgroundSize:W.objectFit||"cover",backgroundPosition:W.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:q}:{},K=function(e){let{config:t,src:r,unoptimized:n,width:i,quality:a,sizes:o,loader:s}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function(e,t,r){let{deviceSizes:n,allSizes:i}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);n)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:n,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,o),c=l.length-1;return{sizes:o||"w"!==u?o:"100vw",srcSet:l.map((e,n)=>s({config:t,src:r,quality:a,width:e})+" "+("w"===u?e:n+1)+u).join(", "),src:s({config:t,src:r,quality:a,width:l[c]})}}({config:l,src:d,unoptimized:f,width:$,quality:G,sizes:p,loader:z});return{props:{...L,loading:U?"lazy":m,fetchPriority:C,width:$,height:Z,decoding:O,className:g,style:{...W,...Y},sizes:K.sizes,srcSet:K.srcSet,src:E||K.src},meta:{unoptimized:f,priority:h,placeholder:_,fill:x}}}},49813:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return m},defaultHead:function(){return d}});let n=r(43150),i=r(452),a=r(57437),o=i._(r(2265)),s=n._(r(78432)),l=r(59366),u=r(39729),c=r(83166);function d(e){void 0===e&&(e=!1);let t=[(0,a.jsx)("meta",{charSet:"utf-8"})];return e||t.push((0,a.jsx)("meta",{name:"viewport",content:"width=device-width"})),t}function p(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(8977);let f=["name","httpEquiv","charSet","itemProp"];function h(e,t){let{inAmpMode:r}=t;return e.reduce(p,[]).reverse().concat(d(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return i=>{let a=!0,o=!1;if(i.key&&"number"!=typeof i.key&&i.key.indexOf("$")>0){o=!0;let t=i.key.slice(i.key.indexOf("$")+1);e.has(t)?a=!1:e.add(t)}switch(i.type){case"title":case"base":t.has(i.type)?a=!1:t.add(i.type);break;case"meta":for(let e=0,t=f.length;e<t;e++){let t=f[e];if(i.props.hasOwnProperty(t)){if("charSet"===t)r.has(t)?a=!1:r.add(t);else{let e=i.props[t],r=n[t]||new Set;("name"!==t||!o)&&r.has(e)?a=!1:(r.add(e),n[t]=r)}}}}return a}}()).reverse().map((e,t)=>{let n=e.key||t;if(!r&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,o.default.cloneElement(e,t)}return o.default.cloneElement(e,{key:n})})}let m=function(e){let{children:t}=e,r=(0,o.useContext)(l.AmpStateContext),n=(0,o.useContext)(u.HeadManagerContext);return(0,a.jsx)(s.default,{reduceComponentsToState:h,headManager:n,inAmpMode:(0,c.isInAmpMode)(r),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},31709:function(e,t){"use strict";function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:i,blurDataURL:a,objectFit:o}=e,s=n?40*n:t,l=i?40*i:r,u=s&&l?"viewBox='0 0 "+s+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+a+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},13947:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return a}});let n=r(43150)._(r(2265)),i=r(68953),a=n.default.createContext(i.imageConfigDefault)},68953:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});let r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1}},20717:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return l},getImageProps:function(){return s}});let n=r(43150),i=r(10249),a=r(92267),o=n._(r(46208));function s(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let l=a.Image},46208:function(e,t){"use strict";function r(e){var t;let{config:r,src:n,width:i,quality:a}=e,o=a||(null==(t=r.qualities)?void 0:t.reduce((e,t)=>Math.abs(t-75)<Math.abs(e-75)?t:e))||75;return r.path+"?url="+encodeURIComponent(n)+"&w="+i+"&q="+o+"&dpl=dpl_GCLqrZbgUe5AYLa5pk2i1nKiq4Vk"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}}),r.__next_img_default=!0;let n=r},12007:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return i}});let n=r(41677);function i(e){let{reason:t,children:r}=e;if("undefined"==typeof window)throw new n.BailoutToCSRError(t);return r}},96435:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});let n=r(57437),i=r(2265),a=r(12007),o=r(4164);function s(e){return{default:e&&"default"in e?e.default:e}}let l={loader:()=>Promise.resolve(s(()=>null)),loading:null,ssr:!0},u=function(e){let t={...l,...e},r=(0,i.lazy)(()=>t.loader().then(s)),u=t.loading;function c(e){let s=u?(0,n.jsx)(u,{isLoading:!0,pastDelay:!0,error:null}):null,l=t.ssr?(0,n.jsxs)(n.Fragment,{children:["undefined"==typeof window?(0,n.jsx)(o.PreloadCss,{moduleIds:t.modules}):null,(0,n.jsx)(r,{...e})]}):(0,n.jsx)(a.BailoutToCSR,{reason:"next/dynamic",children:(0,n.jsx)(r,{...e})});return(0,n.jsx)(i.Suspense,{fallback:s,children:l})}return c.displayName="LoadableComponent",c}},4164:function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadCss",{enumerable:!0,get:function(){return a}});let n=r(57437),i=r(89720);function a(e){let{moduleIds:t}=e;if("undefined"!=typeof window)return null;let r=(0,i.getExpectedRequestStore)("next/dynamic css"),a=[];if(r.reactLoadableManifest&&t){let e=r.reactLoadableManifest;for(let r of t){if(!e[r])continue;let t=e[r].files.filter(e=>e.endsWith(".css"));a.push(...t)}}return 0===a.length?null:(0,n.jsx)(n.Fragment,{children:a.map(e=>(0,n.jsx)("link",{precedence:"dynamic",rel:"stylesheet",href:r.assetPrefix+"/_next/"+encodeURI(e),as:"style"},e))})}},78432:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let n=r(2265),i="undefined"==typeof window,a=i?()=>{}:n.useLayoutEffect,o=i?()=>{}:n.useEffect;function s(e){let{headManager:t,reduceComponentsToState:r}=e;function s(){if(t&&t.mountedInstances){let i=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(i,e))}}if(i){var l;null==t||null==(l=t.mountedInstances)||l.add(e.children),s()}return a(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),a(()=>(t&&(t._pendingUpdate=s),()=>{t&&(t._pendingUpdate=s)})),o(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},39887:function(e,t,r){"use strict";var n=r(86336);function i(){}function a(){}a.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,a,o){if(o!==n){var s=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 r={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:a,resetWarningCache:i}
1;return r.PropTypes=r,r}},3345:function(e,t,r){e.exports=r(39887)()},86336:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},66589:function(e,t,r){"use strict";r.d(t,{uI:function(){return ee}});var n=r(2265),i=r(3345),a=r.n(i),o=r(74952);let s
vendor: 41,168 bytes, line 1
1=new Map([["1km","application/vnd.1000minds.decision-model+xml"],["3dml","text/vnd.in3d.3dml"],["3ds","image/x-3ds"],["3g2","video/3gpp2"],["3gp","video/3gp"],["3gpp","video/3gpp"],["3mf","model/3mf"],["7z","application/x-7z-compressed"],["7zip","application/x-7z-compressed"],["123","application/vnd.lotus-1-2-3"],["aab","application/x-authorware-bin"],["aac","audio/x-acc"],["aam","application/x-authorware-map"],["aas","application/x-authorware-seg"],["abw","application/x-abiword"],["ac","application/vnd.nokia.n-gage.ac+xml"],["ac3","audio/ac3"],["acc","application/vnd.americandynamics.acc"],["ace","application/x-ace-compressed"],["acu","application/vnd.acucobol"],["acutc","application/vnd.acucorp"],["adp","audio/adpcm"],["aep","application/vnd.audiograph"],["afm","application/x-font-type1"],["afp","application/vnd.ibm.modcap"],["ahead","application/vnd.ahead.space"],["ai","application/pdf"],["aif","audio/x-aiff"],["aifc","audio/x-aiff"],["aiff","audio/x-aiff"],["air","application/vnd.adobe.air-application-installer-package+zip"],["ait","application/vnd.dvb.ait"],["ami","application/vnd.amiga.ami"],["amr","audio/amr"],["apk","application/vnd.android.package-archive"],["apng","image/apng"],["appcache","text/cache-manifest"],["application","application/x-ms-application"],["apr","application/vnd.lotus-approach"],["arc","application/x-freearc"],["arj","application/x-arj"],["asc","application/pgp-signature"],["asf","video/x-ms-asf"],["asm","text/x-asm"],["aso","application/vnd.accpac.simply.aso"],["asx","video/x-ms-asf"],["atc","application/vnd.acucorp"],["atom","application/atom+xml"],["atomcat","application/atomcat+xml"],["atomdeleted","application/atomdeleted+xml"],["atomsvc","application/atomsvc+xml"],["atx","application/vnd.antix.game-component"],["au","audio/x-au"],["avi","video/x-msvideo"],["avif","image/avif"],["aw","application/applixware"],["azf","application/vnd.airzip.filesecure.azf"],["azs","application/vnd.airzip.filesecure.azs"],["azv","image/vnd.airzip.accelerator.azv"],["azw","application/vnd.amazon.ebook"],["b16","image/vnd.pco.b16"],["bat","application/x-msdownload"],["bcpio","application/x-bcpio"],["bdf","application/x-font-bdf"],["bdm","application/vnd.syncml.dm+wbxml"],["bdoc","application/x-bdoc"],["bed","application/vnd.realvnc.bed"],["bh2","application/vnd.fujitsu.oasysprs"],["bin","application/octet-stream"],["blb","application/x-blorb"],["blorb","application/x-blorb"],["bmi","application/vnd.bmi"],["bmml","application/vnd.balsamiq.bmml+xml"],["bmp","image/bmp"],["book","application/vnd.framemaker"],["box","application/vnd.previewsystems.box"],["boz","application/x-bzip2"],["bpk","application/octet-stream"],["bpmn","application/octet-stream"],["bsp","model/vnd.valve.source.compiled-map"],["btif","image/prs.btif"],["buffer","application/octet-stream"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["c","text/x-c"],["c4d","application/vnd.clonk.c4group"],["c4f","application/vnd.clonk.c4group"],["c4g","application/vnd.clonk.c4group"],["c4p","application/vnd.clonk.c4group"],["c4u","application/vnd.clonk.c4group"],["c11amc","application/vnd.cluetrust.cartomobile-config"],["c11amz","application/vnd.cluetrust.cartomobile-config-pkg"],["cab","application/vnd.ms-cab-compressed"],["caf","audio/x-caf"],["cap","application/vnd.tcpdump.pcap"],["car","application/vnd.curl.car"],["cat","application/vnd.ms-pki.seccat"],["cb7","application/x-cbr"],["cba","application/x-cbr"],["cbr","application/x-cbr"],["cbt","application/x-cbr"],["cbz","application/x-cbr"],["cc","text/x-c"],["cco","application/x-cocoa"],["cct","application/x-director"],["ccxml","application/ccxml+xml"],["cdbcmsg","application/vnd.contact.cmsg"],["cda","application/x-cdf"],["cdf","application/x-netcdf"],["cdfx","application/cdfx+xml"],["cdkey","application/vnd.mediastation.cdkey"],["cdmia","application/cdmi-capability"],["cdmic","application/cdmi-container"],["cdmid","application/cdmi-domain"],["cdmio","application/cdmi-object"],["cdmiq","application/cdmi-queue"],["cdr","application/cdr"],["cdx","chemical/x-cdx"],["cdxml","application/vnd.chemdraw+xml"],["cdy","application/vnd.cinderella"],["cer","application/pkix-cert"],["cfs","application/x-cfs-compressed"],["cgm","image/cgm"],["chat","application/x-chat"],["chm","application/vnd.ms-htmlhelp"],["chrt","application/vnd.kde.kchart"],["cif","chemical/x-cif"],["cii","application/vnd.anser-web-certificate-issue-initiation"],["cil","application/vnd.ms-artgalry"],["cjs","application/node"],["cla","application/vnd.claymore"],["class","application/octet-stream"],["clkk","application/vnd.crick.clicker.keyboard"],["clkp","application/vnd.crick.clicker.palette"],["clkt","application/vnd.crick.clicker.template"],["clkw","application/vnd.crick.clicker.wordbank"],["clkx","application/vnd.crick.clicker"],["clp","application/x-msclip"],["cmc","application/vnd.cosmocaller"],["cmdf","chemical/x-cmdf"],["cml","chemical/x-cml"],["cmp","application/vnd.yellowriver-custom-menu"],["cmx","image/x-cmx"],["cod","application/vnd.rim.cod"],["coffee","text/coffeescript"],["com","application/x-msdownload"],["conf","text/plain"],["cpio","application/x-cpio"],["cpp","text/x-c"],["cpt","application/mac-compactpro"],["crd","application/x-mscardfile"],["crl","application/pkix-crl"],["crt","application/x-x509-ca-cert"],["crx","application/x-chrome-extension"],["cryptonote","application/vnd.rig.cryptonote"],["csh","application/x-csh"],["csl","application/vnd.citationstyles.style+xml"],["csml","chemical/x-csml"],["csp","application/vnd.commonspace"],["csr","application/octet-stream"],["css","text/css"],["cst","application/x-director"],["csv","text/csv"],["cu","application/cu-seeme"],["curl","text/vnd.curl"],["cww","application/prs.cww"],["cxt","application/x-director"],["cxx","text/x-c"],["dae","model/vnd.collada+xml"],["daf","application/vnd.mobius.daf"],["dart","application/vnd.dart"],["dataless","application/vnd.fdsn.seed"],["davmount","application/davmount+xml"],["dbf","application/vnd.dbf"],["dbk","application/docbook+xml"],["dcr","application/x-director"],["dcurl","text/vnd.curl.dcurl"],["dd2","application/vnd.oma.dd2+xml"],["ddd","application/vnd.fujixerox.ddd"],["ddf","application/vnd.syncml.dmddf+xml"],["dds","image/vnd.ms-dds"],["deb","application/x-debian-package"],["def","text/plain"],["deploy","application/octet-stream"],["der","application/x-x509-ca-cert"],["dfac","application/vnd.dreamfactory"],["dgc","application/x-dgc-compressed"],["dic","text/x-c"],["dir","application/x-director"],["dis","application/vnd.mobius.dis"],["disposition-notification","message/disposition-notification"],["dist","application/octet-stream"],["distz","application/octet-stream"],["djv","image/vnd.djvu"],["djvu","image/vnd.djvu"],["dll","application/octet-stream"],["dmg","application/x-apple-diskimage"],["dmn","application/octet-stream"],["dmp","application/vnd.tcpdump.pcap"],["dms","application/octet-stream"],["dna","application/vnd.dna"],["doc","application/msword"],["docm","application/vnd.ms-word.template.macroEnabled.12"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["dot","application/msword"],["dotm","application/vnd.ms-word.template.macroEnabled.12"],["dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"],["dp","application/vnd.osgi.dp"],["dpg","application/vnd.dpgraph"],["dra","audio/vnd.dra"],["drle","image/dicom-rle"],["dsc","text/prs.lines.tag"],["dssc","application/dssc+der"],["dtb","application/x-dtbook+xml"],["dtd","application/xml-dtd"],["dts","audio/vnd.dts"],["dtshd","audio/vnd.dts.hd"],["dump","application/octet-stream"],["dvb","video/vnd.dvb.file"],["dvi","application/x-dvi"],["dwd","application/atsc-dwd+xml"],["dwf","model/vnd.dwf"],["dwg","image/vnd.dwg"],["dxf","image/vnd.dxf"],["dxp","application/vnd.spotfire.dxp"],["dxr","application/x-director"],["ear","application/java-archive"],["ecelp4800","audio/vnd.nuera.ecelp4800"],["ecelp7470","audio/vnd.nuera.ecelp7470"],["ecelp9600","audio/vnd.nuera.ecelp9600"],["ecma","application/ecmascript"],["edm","application/vnd.novadigm.edm"],["edx","application/vnd.novadigm.edx"],["efif","application/vnd.picsel"],["ei6","application/vnd.pg.osasli"],["elc","application/octet-stream"],["emf","image/emf"],["eml","message/rfc822"],["emma","application/emma+xml"],["emotionml","application/emotionml+xml"],["emz","application/x-msmetafile"],["eol","audio/vnd.digital-winds"],["eot","application/vnd.ms-fontobject"],["eps","application/postscript"],["epub","application/epub+zip"],["es","application/ecmascript"],["es3","application/vnd.eszigno3+xml"],["esa","application/vnd.osgi.subsystem"],["esf","application/vnd.epson.esf"],["et3","application/vnd.eszigno3+xml"],["etx","text/x-setext"],["eva","application/x-eva"],["evy","application/x-envoy"],["exe","application/octet-stream"],["exi","application/exi"],["exp","application/express"],["exr","image/aces"],["ext","application/vnd.novadigm.ext"],["ez","application/andrew-inset"],["ez2","application/vnd.ezpix-album"],["ez3","application/vnd.ezpix-package"],["f","text/x-fortran"],["f4v","video/mp4"],["f77","text/x-fortran"],["f90","text/x-fortran"],["fbs","image/vnd.fastbidsheet"],["fcdt","application/vnd.adobe.formscentral.fcdt"],["fcs","application/vnd.isac.fcs"],["fdf","application/vnd.fdf"],["fdt","application/fdt+xml"],["fe_launch","application/vnd.denovo.fcselayout-link"],["fg5","application/vnd.fujitsu.oasysgp"],["fgd","application/x-director"],["fh","image/x-freehand"],["fh4","image/x-freehand"],["fh5","image/x-freehand"],["fh7","image/x-freehand"],["fhc","image/x-freehand"],["fig","application/x-xfig"],["fits","image/fits"],["flac","audio/x-flac"],["fli","video/x-fli"],["flo","application/vnd.micrografx.flo"],["flv","video/x-flv"],["flw","application/vnd.kde.kivio"],["flx","text/vnd.fmi.flexstor"],["fly","text/vnd.fly"],["fm","application/vnd.framemaker"],["fnc","application/vnd.frogans.fnc"],["fo","application/vnd.software602.filler.form+xml"],["for","text/x-fortran"],["fpx","image/vnd.fpx"],["frame","application/vnd.framemaker"],["fsc","application/vnd.fsc.weblaunch"],["fst","image/vnd.fst"],["ftc","application/vnd.fluxtime.clip"],["fti","application/vnd.anser-web-funds-transfer-initiation"],["fvt","video/vnd.fvt"],["fxp","application/vnd.adobe.fxp"],["fxpl","application/vnd.adobe.fxp"],["fzs","application/vnd.fuzzysheet"],["g2w","application/vnd.geoplan"],["g3","image/g3fax"],["g3w","application/vnd.geospace"],["gac","application/vnd.groove-account"],["gam","application/x-tads"],["gbr","application/rpki-ghostbusters"],["gca","application/x-gca-compressed"],["gdl","model/vnd.gdl"],["gdoc","application/vnd.google-apps.document"],["geo","application/vnd.dynageo"],["geojson","application/geo+json"],["gex","application/vnd.geometry-explorer"],["ggb","application/vnd.geogebra.file"],["ggt","application/vnd.geogebra.tool"],["ghf","application/vnd.groove-help"],["gif","image/gif"],["gim","application/vnd.groove-identity-message"],["glb","model/gltf-binary"],["gltf","model/gltf+json"],["gml","application/gml+xml"],["gmx","application/vnd.gmx"],["gnumeric","application/x-gnumeric"],["gpg","application/gpg-keys"],["gph","application/vnd.flographit"],["gpx","application/gpx+xml"],["gqf","application/vnd.grafeq"],["gqs","application/vnd.grafeq"],["gram","application/srgs"],["gramps","application/x-gramps-xml"],["gre","application/vnd.geometry-explorer"],["grv","application/vnd.groove-injector"],["grxml","application/srgs+xml"],["gsf","application/x-font-ghostscript"],["gsheet","application/vnd.google-apps.spreadsheet"],["gslides","application/vnd.google-apps.presentation"],["gtar","application/x-gtar"],["gtm","application/vnd.groove-tool-message"],["gtw","model/vnd.gtw"],["gv","text/vnd.graphviz"],["gxf","application/gxf"],["gxt","application/vnd.geonext"],["gz","application/gzip"],["gzip","application/gzip"],["h","text/x-c"],["h261","video/h261"],["h263","video/h263"],["h264","video/h264"],["hal","application/vnd.hal+xml"],["hbci","application/vnd.hbci"],["hbs","text/x-handlebars-template"],["hdd","application/x-virtualbox-hdd"],["hdf","application/x-hdf"],["heic","image/heic"],["heics","image/heic-sequence"],["heif","image/heif"],["heifs","image/heif-sequence"],["hej2","image/hej2k"],["held","application/atsc-held+xml"],["hh","text/x-c"],["hjson","application/hjson"],["hlp","application/winhlp"],["hpgl","application/vnd.hp-hpgl"],["hpid","application/vnd.hp-hpid"],["hps","application/vnd.hp-hps"],["hqx","application/mac-binhex40"],["hsj2","image/hsj2"],["htc","text/x-component"],["htke","application/vnd.kenameaapp"],["htm","text/html"],["html","text/html"],["hvd","application/vnd.yamaha.hv-dic"],["hvp","application/vnd.yamaha.hv-voice"],["hvs","application/vnd.yamaha.hv-script"],["i2g","application/vnd.intergeo"],["icc","application/vnd.iccprofile"],["ice","x-conference/x-cooltalk"],["icm","application/vnd.iccprofile"],["ico","image/x-icon"],["ics","text/calendar"],["ief","image/ief"],["ifb","text/calendar"],["ifm","application/vnd.shana.informed.formdata"],["iges","model/iges"],["igl","application/vnd.igloader"],["igm","application/vnd.insors.igm"],["igs","model/iges"],["igx","application/vnd.micrografx.igx"],["iif","application/vnd.shana.informed.interchange"],["img","application/octet-stream"],["imp","application/vnd.accpac.simply.imp"],["ims","application/vnd.ms-ims"],["in","text/plain"],["ini","text/plain"],["ink","application/inkml+xml"],["inkml","application/inkml+xml"],["install","application/x-install-instructions"],["iota","application/vnd.astraea-software.iota"],["ipfix","application/ipfix"],["ipk","application/vnd.shana.informed.package"],["irm","application/vnd.ibm.rights-management"],["irp","application/vnd.irepository.package+xml"],["iso","application/x-iso9660-image"],["itp","application/vnd.shana.informed.formtemplate"],["its","application/its+xml"],["ivp","application/vnd.immervision-ivp"],["ivu","application/vnd.immervision-ivu"],["jad","text/vnd.sun.j2me.app-descriptor"],["jade","text/jade"],["jam","application/vnd.jam"],["jar","application/java-archive"],["jardiff","application/x-java-archive-diff"],["java","text/x-java-source"],["jhc","image/jphc"],["jisp","application/vnd.jisp"],["jls","image/jls"],["jlt","application/vnd.hp-jlyt"],["jng","image/x-jng"],["jnlp","application/x-java-jnlp-file"],["joda","application/vnd.joost.joda-archive"],["jp2","image/jp2"],["jpe","image/jpeg"],["jpeg","image/jpeg"],["jpf","image/jpx"],["jpg","image/jpeg"],["jpg2","image/jp2"],["jpgm","video/jpm"],["jpgv","video/jpeg"],["jph","image/jph"],["jpm","video/jpm"],["jpx","image/jpx"],["js","application/javascript"],["json","application/json"],["json5","application/json5"],["jsonld","application/ld+json"],["jsonl","application/jsonl"],["jsonml","application/jsonml+json"],["jsx","text/jsx"],["jxr","image/jxr"],["jxra","image/jxra"],["jxrs","image/jxrs"],["jxs","image/jxs"],["jxsc","image/jxsc"],["jxsi","image/jxsi"],["jxss","image/jxss"],["kar","audio/midi"],["karbon","application/vnd.kde.karbon"],["kdb","application/octet-stream"],["kdbx","application/x-keepass2"],["key","application/x-iwork-keynote-sffkey"],["kfo","application/vnd.kde.kformula"],["kia","application/vnd.kidspiration"],["kml","application/vnd.google-earth.kml+xml"],["kmz","application/vnd.google-earth.kmz"],["kne","application/vnd.kinar"],["knp","application/vnd.kinar"],["kon","application/vnd.kde.kontour"],["kpr","application/vnd.kde.kpresenter"],["kpt","application/vnd.kde.kpresenter"],["kpxx","application/vnd.ds-keypoint"],["ksp","application/vnd.kde.kspread"],["ktr","application/vnd.kahootz"],["ktx","image/ktx"],["ktx2","image/ktx2"],["ktz","application/vnd.kahootz"],["kwd","application/vnd.kde.kword"],["kwt","application/vnd.kde.kword"],["lasxml","application/vnd.las.las+xml"],["latex","application/x-latex"],["lbd","application/vnd.llamagraphics.life-balance.desktop"],["lbe","application/vnd.llamagraphics.life-balance.exchange+xml"],["les","application/vnd.hhe.lesson-player"],["less","text/less"],["lgr","application/lgr+xml"],["lha","application/octet-stream"],["link66","application/vnd.route66.link66+xml"],["list","text/plain"],["list3820","application/vnd.ibm.modcap"],["listafp","application/vnd.ibm.modcap"],["litcoffee","text/coffeescript"],["lnk","application/x-ms-shortcut"],["log","text/plain"],["lostxml","application/lost+xml"],["lrf","application/octet-stream"],["lrm","application/vnd.ms-lrm"],["ltf","application/vnd.frogans.ltf"],["lua","text/x-lua"],["luac","application/x-lua-bytecode"],["lvp","audio/vnd.lucent.voice"],["lwp","application/vnd.lotus-wordpro"],["lzh","application/octet-stream"],["m1v","video/mpeg"],["m2a","audio/mpeg"],["m2v","video/mpeg"],["m3a","audio/mpeg"],["m3u","text/plain"],["m3u8","application/vnd.apple.mpegurl"],["m4a","audio/x-m4a"],["m4p","application/mp4"],["m4s","video/iso.segment"],["m4u","application/vnd.mpegurl"],["m4v","video/x-m4v"],["m13","application/x-msmediaview"],["m14","application/x-msmediaview"],["m21","application/mp21"],["ma","application/mathematica"],["mads","application/mads+xml"],["maei","application/mmt-aei+xml"],["mag","application/vnd.ecowin.chart"],["maker","application/vnd.framemaker"],["man","text/troff"],["manifest","text/cache-manifest"],["map","application/json"],["mar","application/octet-stream"],["markdown","text/markdown"],["mathml","application/mathml+xml"],["mb","application/mathematica"],["mbk","application/vnd.mobius.mbk"],["mbox","application/mbox"],["mc1","application/vnd.medcalcdata"],["mcd","application/vnd.mcd"],["mcurl","text/vnd.curl.mcurl"],["md","text/markdown"],["mdb","application/x-msaccess"],["mdi","image/vnd.ms-modi"],["mdx","text/mdx"],["me","text/troff"],["mesh","model/mesh"],["meta4","application/metalink4+xml"],["metalink","application/metalink+xml"],["mets","application/mets+xml"],["mfm","application/vnd.mfmp"],["mft","application/rpki-manifest"],["mgp","application/vnd.osgeo.mapguide.package"],["mgz","application/vnd.proteus.magazine"],["mid","audio/midi"],["midi","audio/midi"],["mie","application/x-mie"],["mif","application/vnd.mif"],["mime","message/rfc822"],["mj2","video/mj2"],["mjp2","video/mj2"],["mjs","application/javascript"],["mk3d","video/x-matroska"],["mka","audio/x-matroska"],["mkd","text/x-markdown"],["mks","video/x-matroska"],["mkv","video/x-matroska"],["mlp","application/vnd.dolby.mlp"],["mmd","application/vnd.chipnuts.karaoke-mmd"],["mmf","application/vnd.smaf"],["mml","text/mathml"],["mmr","image/vnd.fujixerox.edmics-mmr"],["mng","video/x-mng"],["mny","application/x-msmoney"],["mobi","application/x-mobipocket-ebook"],["mods","application/mods+xml"],["mov","video/quicktime"],["movie","video/x-sgi-movie"],["mp2","audio/mpeg"],["mp2a","audio/mpeg"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mp4a","audio/mp4"],["mp4s","application/mp4"],["mp4v","video/mp4"],["mp21","application/mp21"],["mpc","application/vnd.mophun.certificate"],["mpd","application/dash+xml"],["mpe","video/mpeg"],["mpeg","video/mpeg"],["mpg","video/mpeg"],["mpg4","video/mp4"],["mpga","audio/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["mpm","application/vnd.blueice.multipass"],["mpn","application/vnd.mophun.application"],["mpp","application/vnd.ms-project"],["mpt","application/vnd.ms-project"],["mpy","application/vnd.ibm.minipay"],["mqy","application/vnd.mobius.mqy"],["mrc","application/marc"],["mrcx","application/marcxml+xml"],["ms","text/troff"],["mscml","application/mediaservercontrol+xml"],["mseed","application/vnd.fdsn.mseed"],["mseq","application/vnd.mseq"],["msf","application/vnd.epson.msf"],["msg","application/vnd.ms-outlook"],["msh","model/mesh"],["msi","application/x-msdownload"],["msl","application/vnd.mobius.msl"],["msm","application/octet-stream"],["msp","application/octet-stream"],["msty","application/vnd.muvee.style"],["mtl","model/mtl"],["mts","model/vnd.mts"],["mus","application/vnd.musician"],["musd","application/mmt-usd+xml"],["musicxml","application/vnd.recordare.musicxml+xml"],["mvb","application/x-msmediaview"],["mvt","application/vnd.mapbox-vector-tile"],["mwf","application/vnd.mfer"],["mxf","application/mxf"],["mxl","application/vnd.recordare.musicxml"],["mxmf","audio/mobile-xmf"],["mxml","application/xv+xml"],["mxs","application/vnd.triscape.mxs"],["mxu","video/vnd.mpegurl"],["n-gage","application/vnd.nokia.n-gage.symbian.install"],["n3","text/n3"],["nb","application/mathematica"],["nbp","application/vnd.wolfram.player"],["nc","application/x-netcdf"],["ncx","application/x-dtbncx+xml"],["nfo","text/x-nfo"],["ngdat","application/vnd.nokia.n-gage.data"],["nitf","application/vnd.nitf"],["nlu","application/vnd.neurolanguage.nlu"],["nml","application/vnd.enliven"],["nnd","application/vnd.noblenet-directory"],["nns","application/vnd.noblenet-sealer"],["nnw","application/vnd.noblenet-web"],["npx","image/vnd.net-fpx"],["nq","application/n-quads"],["nsc","application/x-conference"],["nsf","application/vnd.lotus-notes"],["nt","application/n-triples"],["ntf","application/vnd.nitf"],["numbers","application/x-iwork-numbers-sffnumbers"],["nzb","application/x-nzb"],["oa2","application/vnd.fujitsu.oasys2"],["oa3","application/vnd.fujitsu.oasys3"],["oas","application/vnd.fujitsu.oasys"],["obd","application/x-msbinder"],["obgx","application/vnd.openblox.game+xml"],["obj","model/obj"],["oda","application/oda"],["odb","application/vnd.oasis.opendocument.database"],["odc","application/vnd.oasis.opendocument.chart"],["odf","application/vnd.oasis.opendocument.formula"],["odft","application/vnd.oasis.opendocument.formula-template"],["odg","application/vnd.oasis.opendocument.graphics"],["odi","application/vnd.oasis.opendocument.image"],["odm","application/vnd.oasis.opendocument.text-master"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogex","model/vnd.opengex"],["ogg","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["omdoc","application/omdoc+xml"],["onepkg","application/onenote"],["onetmp","application/onenote"],["onetoc","application/onenote"],["onetoc2","application/onenote"],["opf","application/oebps-package+xml"],["opml","text/x-opml"],["oprc","application/vnd.palm"],["opus","audio/ogg"],["org","text/x-org"],["osf","application/vnd.yamaha.openscoreformat"],["osfpvg","application/vnd.yamaha.openscoreformat.osfpvg+xml"],["osm","application/vnd.openstreetmap.data+xml"],["otc","application/vnd.oasis.opendocument.chart-template"],["otf","font/otf"],["otg","application/vnd.oasis.opendocument.graphics-template"],["oth","application/vnd.oasis.opendocument.text-web"],["oti","application/vnd.oasis.opendocument.image-template"],["otp","application/vnd.oasis.opendocument.presentation-template"],["ots","application/vnd.oasis.opendocument.spreadsheet-template"],["ott","application/vnd.oasis.opendocument.text-template"],["ova","application/x-virtualbox-ova"],["ovf","application/x-virtualbox-ovf"],["owl","application/rdf+xml"],["oxps","application/oxps"],["oxt","application/vnd.openofficeorg.extension"],["p","text/x-pascal"],["p7a","application/x-pkcs7-signature"],["p7b","application/x-pkcs7-certificates"],["p7c","application/pkcs7-mime"],["p7m","application/pkcs7-mime"],["p7r","application/x-pkcs7-certreqresp"],["p7s","application/pkcs7-signature"],["p8","application/pkcs8"],["p10","application/x-pkcs10"],["p12","application/x-pkcs12"],["pac","application/x-ns-proxy-autoconfig"],["pages","application/x-iwork-pages-sffpages"],["pas","text/x-pascal"],["paw","application/vnd.pawaafile"],["pbd","application/vnd.powerbuilder6"],["pbm","image/x-portable-bitmap"],["pcap","application/vnd.tcpdump.pcap"],["pcf","application/x-font-pcf"],["pcl","application/vnd.hp-pcl"],["pclxl","application/vnd.hp-pclxl"],["pct","image/x-pict"],["pcurl","application/vnd.curl.pcurl"],["pcx","image/x-pcx"],["pdb","application/x-pilot"],["pde","text/x-processing"],["pdf","application/pdf"],["pem","application/x-x509-user-cert"],["pfa","application/x-font-type1"],["pfb","application/x-font-type1"],["pfm","application/x-font-type1"],["pfr","application/font-tdpfr"],["pfx","application/x-pkcs12"],["pgm","image/x-portable-graymap"],["pgn","application/x-chess-pgn"],["pgp","application/pgp"],["php","application/x-httpd-php"],["php3","application/x-httpd-php"],["php4","application/x-httpd-php"],["phps","application/x-httpd-php-source"],["phtml","application/x-httpd-php"],["pic","image/x-pict"],["pkg","application/octet-stream"],["pki","application/pkixcmp"],["pkipath","application/pkix-pkipath"],["pkpass","application/vnd.apple.pkpass"],["pl","application/x-perl"],["plb","application/vnd.3gpp.pic-bw-large"],["plc","application/vnd.mobius.plc"],["plf","application/vnd.pocketlearn"],["pls","application/pls+xml"],["pm","application/x-perl"],["pml","application/vnd.ctc-posml"],["png","image/png"],["pnm","image/x-portable-anymap"],["portpkg","application/vnd.macports.portpkg"],["pot","application/vnd.ms-powerpoint"],["potm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["potx","application/vnd.openxmlformats-officedocument.presentationml.template"],["ppa","application/vnd.ms-powerpoint"],["ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"],["ppd","application/vnd.cups-ppd"],["ppm","image/x-portable-pixmap"],["pps","application/vnd.ms-powerpoint"],["ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],["ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"],["ppt","application/powerpoint"],["pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["pqa","application/vnd.palm"],["prc","application/x-pilot"],["pre","application/vnd.lotus-freelance"],["prf","application/pics-rules"],["provx","application/provenance+xml"],["ps","application/postscript"],["psb","application/vnd.3gpp.pic-bw-small"],["psd","application/x-photoshop"],["psf","application/x-font-linux-psf"],["pskcxml","application/pskc+xml"],["pti","image/prs.pti"],["ptid","application/vnd.pvi.ptid1"],["pub","application/x-mspublisher"],["pvb","application/vnd.3gpp.pic-bw-var"],["pwn","application/vnd.3m.post-it-notes"],["pya","audio/vnd.ms-playready.media.pya"],["pyv","video/vnd.ms-playready.media.pyv"],["qam","application/vnd.epson.quickanime"],["qbo","application/vnd.intu.qbo"],["qfx","application/vnd.intu.qfx"],["qps","application/vnd.publishare-delta-tree"],["qt","video/quicktime"],["qwd","application/vnd.quark.quarkxpress"],["qwt","application/vnd.quark.quarkxpress"],["qxb","application/vnd.quark.quarkxpress"],["qxd","application/vnd.quark.quarkxpress"],["qxl","application/vnd.quark.quarkxpress"],["qxt","application/vnd.quark.quarkxpress"],["ra","audio/x-realaudio"],["ram","audio/x-pn-realaudio"],["raml","application/raml+yaml"],["rapd","application/route-apd+xml"],["rar","application/x-rar"],["ras","image/x-cmu-raster"],["rcprofile","application/vnd.ipunplugged.rcprofile"],["rdf","application/rdf+xml"],["rdz","application/vnd.data-vision.rdz"],["relo","application/p2p-overlay+xml"],["rep","application/vnd.businessobjects"],["res","application/x-dtbresource+xml"],["rgb","image/x-rgb"],["rif","application/reginfo+xml"],["rip","audio/vnd.rip"],["ris","application/x-research-info-systems"],["rl","application/resource-lists+xml"],["rlc","image/vnd.fujixerox.edmics-rlc"],["rld","application/resource-lists-diff+xml"],["rm","audio/x-pn-realaudio"],["rmi","audio/midi"],["rmp","audio/x-pn-realaudio-plugin"],["rms","application/vnd.jcp.javame.midlet-rms"],["rmvb","application/vnd.rn-realmedia-vbr"],["rnc","application/relax-ng-compact-syntax"],["rng","application/xml"],["roa","application/rpki-roa"],["roff","text/troff"],["rp9","application/vnd.cloanto.rp9"],["rpm","audio/x-pn-realaudio-plugin"],["rpss","application/vnd.nokia.radio-presets"],["rpst","application/vnd.nokia.radio-preset"],["rq","application/sparql-query"],["rs","application/rls-services+xml"],["rsa","application/x-pkcs7"],["rsat","application/atsc-rsat+xml"],["rsd","application/rsd+xml"],["rsheet","application/urc-ressheet+xml"],["rss","application/rss+xml"],["rtf","text/rtf"],["rtx","text/richtext"],["run","application/x-makeself"],["rusd","application/route-usd+xml"],["rv","video/vnd.rn-realvideo"],["s","text/x-asm"],["s3m","audio/s3m"],["saf","application/vnd.yamaha.smaf-audio"],["sass","text/x-sass"],["sbml","application/sbml+xml"],["sc","application/vnd.ibm.secure-container"],["scd","application/x-msschedule"],["scm","application/vnd.lotus-screencam"],["scq","application/scvp-cv-request"],["scs","application/scvp-cv-response"],["scss","text/x-scss"],["scurl","text/vnd.curl.scurl"],["sda","application/vnd.stardivision.draw"],["sdc","application/vnd.stardivision.calc"],["sdd","application/vnd.stardivision.impress"],["sdkd","application/vnd.solent.sdkm+xml"],["sdkm","application/vnd.solent.sdkm+xml"],["sdp","application/sdp"],["sdw","application/vnd.stardivision.writer"],["sea","application/octet-stream"],["see","application/vnd.seemail"],["seed","application/vnd.fdsn.seed"],["sema","application/vnd.sema"],["semd","application/vnd.semd"],["semf","application/vnd.semf"],["senmlx","application/senml+xml"],["sensmlx","application/sensml+xml"],["ser","application/java-serialized-object"],["setpay","application/set-payment-initiation"],["setreg","application/set-registration-initiation"],["sfd-hdstx","application/vnd.hydrostatix.sof-data"],["sfs","application/vnd.spotfire.sfs"],["sfv","text/x-sfv"],["sgi","image/sgi"],["sgl","application/vnd.stardivision.writer-global"],["sgm","text/sgml"],["sgml","text/sgml"],["sh","application/x-sh"],["shar","application/x-shar"],["shex","text/shex"],["shf","application/shf+xml"],["shtml","text/html"],["sid","image/x-mrsid-image"],["sieve","application/sieve"],["sig","application/pgp-signature"],["sil","audio/silk"],["silo","model/mesh"],["sis","application/vnd.symbian.install"],["sisx","application/vnd.symbian.install"],["sit","application/x-stuffit"],["sitx","application/x-stuffitx"],["siv","application/sieve"],["skd","application/vnd.koan"],["skm","application/vnd.koan"],["skp","application/vnd.koan"],["skt","application/vnd.koan"],["sldm","application/vnd.ms-powerpoint.slide.macroenabled.12"],["sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"],["slim","text/slim"],["slm","text/slim"],["sls","application/route-s-tsid+xml"],["slt","application/vnd.epson.salt"],["sm","application/vnd.stepmania.stepchart"],["smf","application/vnd.stardivision.math"],["smi","application/smil"],["smil","application/smil"],["smv","video/x-smv"],["smzip","application/vnd.stepmania.package"],["snd","audio/basic"],["snf","application/x-font-snf"],["so","application/octet-stream"],["spc","application/x-pkcs7-certificates"],["spdx","text/spdx"],["spf","application/vnd.yamaha.smaf-phrase"],["spl","application/x-futuresplash"],["spot","text/vnd.in3d.spot"],["spp","application/scvp-vp-response"],["spq","application/scvp-vp-request"],["spx","audio/ogg"],["sql","application/x-sql"],["src","application/x-wais-source"],["srt","application/x-subrip"],["sru","application/sru+xml"],["srx","application/sparql-results+xml"],["ssdl","application/ssdl+xml"],["sse","application/vnd.kodak-descriptor"],["ssf","application/vnd.epson.ssf"],["ssml","application/ssml+xml"],["sst","application/octet-stream"],["st","application/vnd.sailingtracker.track"],["stc","application/vnd.sun.xml.calc.template"],["std","application/vnd.sun.xml.draw.template"],["stf","application/vnd.wt.stf"],["sti","application/vnd.sun.xml.impress.template"],["stk","application/hyperstudio"],["stl","model/stl"],["stpx","model/step+xml"],["stpxz","model/step-xml+zip"],["stpz","model/step+zip"],["str","application/vnd.pg.format"],["stw","application/vnd.sun.xml.writer.template"],["styl","text/stylus"],["stylus","text/stylus"],["sub","text/vnd.dvb.subtitle"],["sus","application/vnd.sus-calendar"],["susp","application/vnd.sus-calendar"],["sv4cpio","application/x-sv4cpio"],["sv4crc","application/x-sv4crc"],["svc","application/vnd.dvb.service"],["svd","application/vnd.svd"],["svg","image/svg+xml"],["svgz","image/svg+xml"],["swa","application/x-director"],["swf","application/x-shockwave-flash"],["swi","application/vnd.aristanetworks.swi"],["swidtag","application/swid+xml"],["sxc","application/vnd.sun.xml.calc"],["sxd","application/vnd.sun.xml.draw"],["sxg","application/vnd.sun.xml.writer.global"],["sxi","application/vnd.sun.xml.impress"],["sxm","application/vnd.sun.xml.math"],["sxw","application/vnd.sun.xml.writer"],["t","text/troff"],["t3","application/x-t3vm-image"],["t38","image/t38"],["taglet","application/vnd.mynfc"],["tao","application/vnd.tao.intent-module-archive"],["tap","image/vnd.tencent.tap"],["tar","application/x-tar"],["tcap","application/vnd.3gpp2.tcap"],["tcl","application/x-tcl"],["td","application/urc-targetdesc+xml"],["teacher","application/vnd.smart.teacher"],["tei","application/tei+xml"],["teicorpus","application/tei+xml"],["tex","application/x-tex"],["texi","application/x-texinfo"],["texinfo","application/x-texinfo"],["text","text/plain"],["tfi","application/thraud+xml"],["tfm","application/x-tex-tfm"],["tfx","image/tiff-fx"],["tga","image/x-tga"],["tgz","application/x-tar"],["thmx","application/vnd.ms-officetheme"],["tif","image/tiff"],["tiff","image/tiff"],["tk","application/x-tcl"],["tmo","application/vnd.tmobile-livetv"],["toml","application/toml"],["torrent","application/x-bittorrent"],["tpl","application/vnd.groove-tool-template"],["tpt","application/vnd.trid.tpt"],["tr","text/troff"],["tra","application/vnd.trueapp"],["trig","application/trig"],["trm","application/x-msterminal"],["ts","video/mp2t"],["tsd","application/timestamped-data"],["tsv","text/tab-separated-values"],["ttc","font/collection"],["ttf","font/ttf"],["ttl","text/turtle"],["ttml","application/ttml+xml"],["twd","application/vnd.simtech-mindmapper"],["twds","application/vnd.simtech-mindmapper"],["txd","application/vnd.genomatix.tuxedo"],["txf","application/vnd.mobius.txf"],["txt","text/plain"],["u8dsn","message/global-delivery-status"],["u8hdr","message/global-headers"],["u8mdn","message/global-disposition-notification"],["u8msg","message/global"],["u32","application/x-authorware-bin"],["ubj","application/ubjson"],["udeb","application/x-debian-package"],["ufd","application/vnd.ufdl"],["ufdl","application/vnd.ufdl"],["ulx","application/x-glulx"],["umj","application/vnd.umajin"],["unityweb","application/vnd.unity"],["uoml","application/vnd.uoml+xml"],["uri","text/uri-list"],["uris","text/uri-list"],["urls","text/uri-list"],["usdz","model/vnd.usdz+zip"],["ustar","application/x-ustar"],["utz","application/vnd.uiq.theme"],["uu","text/x-uuencode"],["uva","audio/vnd.dece.audio"],["uvd","application/vnd.dece.data"],["uvf","application/vnd.dece.data"],["uvg","image/vnd.dece.graphic"],["uvh","video/vnd.dece.hd"],["uvi","image/vnd.dece.graphic"],["uvm","video/vnd.dece.mobile"],["uvp","video/vnd.dece.pd"],["uvs","video/vnd.dece.sd"],["uvt","application/vnd.dece.ttml+xml"],["uvu","video/vnd.uvvu.mp4"],["uvv","video/vnd.dece.video"],["uvva","audio/vnd.dece.audio"],["uvvd","application/vnd.dece.data"],["uvvf","application/vnd.dece.data"],["uvvg","image/vnd.dece.graphic"],["uvvh","video/vnd.dece.hd"],["uvvi","image/vnd.dece.graphic"],["uvvm","video/vnd.dece.mobile"],["uvvp","video/vnd.dece.pd"],["uvvs","video/vnd.dece.sd"],["uvvt","application/vnd.dece.ttml+xml"],["uvvu","video/vnd.uvvu.mp4"],["uvvv","video/vnd.dece.video"],["uvvx","application/vnd.dece.unspecified"],["uvvz","application/vnd.dece.zip"],["uvx","application/vnd.dece.unspecified"],["uvz","application/vnd.dece.zip"],["vbox","application/x-virtualbox-vbox"],["vbox-extpack","application/x-virtualbox-vbox-extpack"],["vcard","text/vcard"],["vcd","application/x-cdlink"],["vcf","text/x-vcard"],["vcg","application/vnd.groove-vcard"],["vcs","text/x-vcalendar"],["vcx","application/vnd.vcx"],["vdi","application/x-virtualbox-vdi"],["vds","model/vnd.sap.vds"],["vhd","application/x-virtualbox-vhd"],["vis","application/vnd.visionary"],["viv","video/vnd.vivo"],["vlc","application/videolan"],["vmdk","application/x-virtualbox-vmdk"],["vob","video/x-ms-vob"],["vor","application/vnd.stardivision.writer"],["vox","application/x-authorware-bin"],["vrml","model/vrml"],["vsd","application/vnd.visio"],["vsf","application/vnd.vsf"],["vss","application/vnd.visio"],["vst","application/vnd.visio"],["vsw","application/vnd.visio"],["vtf","image/vnd.valve.source.texture"],["vtt","text/vtt"],["vtu","model/vnd.vtu"],["vxml","application/voicexml+xml"],["w3d","application/x-director"],["wad","application/x-doom"],["wadl","application/vnd.sun.wadl+xml"],["war","application/java-archive"],["wasm","application/wasm"],["wav","audio/x-wav"],["wax","audio/x-ms-wax"],["wbmp","image/vnd.wap.wbmp"],["wbs","application/vnd.criticaltools.wbs+xml"],["wbxml","application/wbxml"],["wcm","application/vnd.ms-works"],["wdb","application/vnd.ms-works"],["wdp","image/vnd.ms-photo"],["weba","audio/webm"],["webapp","application/x-web-app-manifest+json"],["webm","video/webm"],["webmanifest","application/manifest+json"],["webp","image/webp"],["wg","application/vnd.pmi.widget"],["wgt","application/widget"],["wks","application/vnd.ms-works"],["wm","video/x-ms-wm"],["wma","audio/x-ms-wma"],["wmd","application/x-ms-wmd"],["wmf","image/wmf"],["wml","text/vnd.wap.wml"],["wmlc","application/wmlc"],["wmls","text/vnd.wap.wmlscript"],["wmlsc","application/vnd.wap.wmlscriptc"],["wmv","video/x-ms-wmv"],["wmx","video/x-ms-wmx"],["wmz","application/x-msmetafile"],["woff","font/woff"],["woff2","font/woff2"],["word","application/msword"],["wpd","application/vnd.wordperfect"],["wpl","application/vnd.ms-wpl"],["wps","application/vnd.ms-works"],["wqd","application/vnd.wqd"],["wri","application/x-mswrite"],["wrl","model/vrml"],["wsc","message/vnd.wfa.wsc"],["wsdl","application/wsdl+xml"],["wspolicy","application/wspolicy+xml"],["wtb","application/vnd.webturbo"],["wvx","video/x-ms-wvx"],["x3d","model/x3d+xml"],["x3db","model/x3d+fastinfoset"],["x3dbz","model/x3d+binary"],["x3dv","model/x3d-vrml"],["x3dvz","model/x3d+vrml"],["x3dz","model/x3d+xml"],["x32","application/x-authorware-bin"],["x_b","model/vnd.parasolid.transmit.binary"],["x_t","model/vnd.parasolid.transmit.text"],["xaml","application/xaml+xml"],["xap","application/x-silverlight-app"],["xar","application/vnd.xara"],["xav","application/xcap-att+xml"],["xbap","application/x-ms-xbap"],["xbd","application/vnd.fujixerox.docuworks.binder"],["xbm","image/x-xbitmap"],["xca","application/xcap-caps+xml"],["xcs","application/calendar+xml"],["xdf","application/xcap-diff+xml"],["xdm","application/vnd.syncml.dm+xml"],["xdp","application/vnd.adobe.xdp+xml"],["xdssc","application/dssc+xml"],["xdw","application/vnd.fujixerox.docuworks"],["xel","application/xcap-el+xml"],["xenc","application/xenc+xml"],["xer","application/patch-ops-error+xml"],["xfdf","application/vnd.adobe.xfdf"],["xfdl","application/vnd.xfdl"],["xht","application/xhtml+xml"],["xhtml","application/xhtml+xml"],["xhvml","application/xv+xml"],["xif","image/vnd.xiff"],["xl","application/excel"],["xla","application/vnd.ms-excel"],["xlam","application/vnd.ms-excel.addin.macroEnabled.12"],["xlc","application/vnd.ms-excel"],["xlf","application/xliff+xml"],["xlm","application/vnd.ms-excel"],["xls","application/vnd.ms-excel"],["xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],["xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xlt","application/vnd.ms-excel"],["xltm","application/vnd.ms-excel.template.macroEnabled.12"],["xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"],["xlw","application/vnd.ms-excel"],["xm","audio/xm"],["xml","application/xml"],["xns","application/xcap-ns+xml"],["xo","application/vnd.olpc-sugar"],["xop","application/xop+xml"],["xpi","application/x-xpinstall"],["xpl","application/xproc+xml"],["xpm","image/x-xpixmap"],["xpr","application/vnd.is-xpr"],["xps","application/vnd.ms-xpsdocument"],["xpw","application/vnd.intercon.formnet"],["xpx","application/vnd.intercon.formnet"],["xsd","application/xml"],["xsl","application/xml"],["xslt","application/xslt+xml"],["xsm","application/vnd.syncml+xml"],["xspf","application/xspf+xml"],["xul","application/vnd.mozilla.xul+xml"],["xvm","application/xv+xml"],["xvml","application/xv+xml"],["xwd","image/x-xwindowdump"],["xyz","chemical/x-xyz"],["xz","application/x-xz"],["yaml","text/yaml"],["yang","application/yang"],["yin","application/yin+xml"],["yml","text/yaml"],["ymp","text/x-suse-ymp"],["z","application/x-compress"],["z1","application/x-zmachine"],["z2","application/x-zmachine"],["z3","application/x-zmachine"],["z4","application/x-zmachine"],["z5","application/x-zmachine"],["z6","application/x-zmachine"],["z7","application/x-zmachine"],["z8","application/x-zmachine"],["zaz","application/vnd.zzazz.deck+xml"],["zip","application/zip"],["zir","application/vnd.zul"],["zirz","application/vnd.zul"],["zmm","application/vnd.handheld-entertainment+xml"],["zsh","text/x-scriptzsh"]]);function
1l(e,t,r){let n=function(e){let{name:t}=e;if(t&&-1!==t.lastIndexOf(".")&&!e.type){let r=t.split(".").pop().toLowerCase(),n=s.get(r);n&&Object.defineProperty(e,"type",{value:n,writable:!1,configurable:!1,enumerable:!0})}return e}(e),{webkitRelativePath:i}=e,a="string"==typeof t?t:"string"==typeof i&&i.length>0?i:`./${e.name}`;return"string"!=typeof n.path&&u(n,"path",a),void 0!==r&&Object.defineProperty(n,"handle",{value:r,writable:!1,configurable:!1,enumerable:!0}),u(n,"relativePath",a),n}function u(e,t,r){Object.defineProperty(e,t,{value:r,writable:!1,configurable:!1,enumerable:!0})}let c=[".DS_Store","Thumbs.db"];function d(e){return"object"==typeof e&&null!==e}function p(e){return e.filter(e=>-1===c.indexOf(e.name))}function f(e){if(null===e)return[];let t=[];for(let r=0;r<e.length;r++){let n=e[r];t.push(n)}return t}function h(e){if("function"!=typeof e.webkitGetAsEntry)return m(e);let t=e.webkitGetAsEntry();return t&&t.isDirectory?v(t):m(e,t)}function m(e,t){return(0,o.mG)(this,void 0,void 0,function*(){var r;if(globalThis.isSecureContext&&"function"==typeof e.getAsFileSystemHandle){let t=yield e.getAsFileSystemHandle();if(null===t)throw Error(`${e} is not a File`);if(void 0!==t){let e=yield t.getFile();return e.handle=t,l(e)}}let n=e.getAsFile();if(!n)throw Error(`${e} is not a File`);return l(n,null!==(r=null==t?void 0:t.fullPath)&&void 0!==r?r:void 0)})}function g(e){return(0,o.mG)(this,void 0,void 0,function*(){return e.isDirectory?v(e):function(e){return(0,o.mG)(this,void 0,void 0,function*(){return new Promise((t,r)=>{e.file(r=>{t(l(r,e.fullPath))},e=>{r(e)})})})}(e)})}function v(e){let t=e.createReader();return new Promise((e,r)=>{let n=[];!function i(){t.readEntries(t=>(0,o.mG)(this,void 0,void 0,function*(){if(t.length){let e=Promise.all(t.map(g));n.push(e),i()}else try{let t=yield Promise.all(n);e(t)}catch(e){r(e)}}),e=>{r(e)})}()})}var y=r(29244);function b(e){return function(e){if(Array.isArray(e))return _(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||T(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function w(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(Object(r),!0).forEach(function(t){E(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function S(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var a=[],o=!0,s=!1;try{for(i=i.call(e);!(o=(r=i.next()).done)&&(a.push(r.value),!t||a.length!==t);o=!0);}catch(e){s=!0,n=e}finally{try{o||null==i.return||i.return()}finally{if(s)throw n}}return a}}(e,t)||T(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(e,t){if(e){if("string"==typeof e)return _(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _(e,t)}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var k="function"==typeof y.Z?y.Z:y.Z.default,C=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split(","),r=t.length>1?"one of ".concat(t.join(", ")):t[0];return{code:"file-invalid-type",message:"File type must be ".concat(r)}},O=function(e){return{code:"file-too-large",message:"File is larger than ".concat(e," ").concat(1===e?"byte":"bytes")}},A=function(e){return{code:"file-too-small",message:"File is smaller than ".concat(e," ").concat(1===e?"byte":"bytes")}},I={code:"too-many-files",message:"Too many files"};function P(e,t){var r="application/x-moz-file"===e.type||k(e,t);return[r,r?null:C(t)]}function M(e,t,r){if(R(e.size)){if(R(t)&&R(r)){if(e.size>r)return[!1,O(r)];if(e.size<t)return[!1,A(t)]}else if(R(t)&&e.size<t)return[!1,A(t)];else if(R(r)&&e.size>r)return[!1,O(r)]}return[!0,null]}function R(e){return null!=e}function L(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function j(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(e){return"Files"===e||"application/x-moz-file"===e}):!!e.target&&!!e.target.files}function N(e){e.preventDefault()}function D(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return t.some(function(t){return!L(e)&&t&&t.apply(void 0,[e].concat(n)),L(e)})}}function B(e){return"audio/*"===e||"video/*"===e||"image/*"===e||"text/*"===e||"application/*"===e||/\w+\/[-+.\w]+/g.test(e)}function F(e){return/^.*\.[\w]+$/.test(e)}var z=["children"],H=["open"],V=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],$=["refKey","onChange","onClick"];function Z(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var a=[],o=!0,s=!1;try{for(i=i.call(e);!(o=(r=i.next()).done)&&(a.push(r.value),!t||a.length!==t);o=!0);}catch(e){s=!0,n=e}finally{try{o||null==i.return||i.return()}finally{if(s)throw n}}return a}}(e,t)||U(e,t)||function(){throw TypeError("Invalid attempt to de
1structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function U(e,t){if(e){if("string"==typeof e)return G(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return G(e,t)}}function G(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function W(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?W(Object(r),!0).forEach(function(t){Y(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):W(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function K(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var X=(0,n.forwardRef)(function(e,t){var r=e.children,i=ee(K(e,z)),a=i.open,o=K(i,H);return(0,n.useImperativeHandle)(t,function(){return{open:a}},[a]),n.createElement(n.Fragment,null,r(q(q({},o),{},{open:a})))});X.displayName="Dropzone";var J={disabled:!1,getFilesFromEvent:function(e){return(0,o.mG)(this,void 0,void 0,function*(){return d(e)&&d(e.dataTransfer)?function(e,t){return(0,o.mG)(this,void 0,void 0,function*(){if(e.items){let r=f(e.items).filter(e=>"file"===e.kind);return"drop"!==t?r:p(function e(t){return t.reduce((t,r)=>[...t,...Array.isArray(r)?e(r):[r]],[])}((yield Promise.all(r.map(h)))))}return p(f(e.files).map(e=>l(e)))})}(e.dataTransfer,e.type):d(e)&&d(e.target)?f(e.target.files).map(e=>l(e)):Array.isArray(e)&&e.every(e=>"getFile"in e&&"function"==typeof e.getFile)?function(e){return(0,o.mG)(this,void 0,void 0,function*(){return(yield Promise.all(e.map(e=>e.getFile()))).map(e=>l(e))})}(e):[]})},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};X.defaultProps=J,X.propTypes={children:a().func,accept:a().objectOf(a().arrayOf(a().string)),multiple:a().bool,preventDropOnDocument:a().bool,noClick:a().bool,noKeyboard:a().bool,noDrag:a().bool,noDragEventsBubbling:a().bool,minSize:a().number,maxSize:a().number,maxFiles:a().number,disabled:a().bool,getFilesFromEvent:a().func,onFileDialogCancel:a().func,onFileDialogOpen:a().func,useFsAccessApi:a().bool,autoFocus:a().bool,onDragEnter:a().func,onDragLeave:a().func,onDragOver:a().func,onDrop:a().func,onDropAccepted:a().func,onDropRejected:a().func,onError:a().func,validator:a().func};var Q={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function ee(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=q(q({},J),e),r=t.accept,i=t.disabled,a=t.getFilesFromEvent,o=t.maxSize,s=t.minSize,l=t.multiple,u=t.maxFiles,c=t.onDragEnter,d=t.onDragLeave,p=t.onDragOver,f=t.onDrop,h=t.onDropAccepted,m=t.onDropRejected,g=t.onFileDialogCancel,v=t.onFileDialogOpen,y=t.useFsAccessApi,x=t.autoFocus,T=t.preventDropOnDocument,_=t.noClick,k=t.noKeyboard,C=t.noDrag,O=t.noDragEventsBubbling,A=t.onError,z=t.validator,H=(0,n.useMemo)(function(){return function(e){if(R(e))return Object.entries(e).reduce(function(e,t){var r=S(t,2),n=r[0],i=r[1];return[].concat(b(e),[n],b(i))},[]).filter(function(e){return B(e)||F(e)}).join(",")}(r)},[r]),W=(0,n.useMemo)(function(){return R(r)?[{description:"Files",accept:Object.entries(r).filter(function(e){var t=S(e,2),r=t[0],n=t[1],i=!0;return B(r)||(console.warn('Skipped "'.concat(r,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),i=!1),Array.isArray(n)&&n.every(F)||(console.warn('Skipped "'.concat(r,'" because an invali
1d file extension was provided.')),i=!1),i}).reduce(function(e,t){var r=S(t,2),n=r[0],i=r[1];return w(w({},e),{},E({},n,i))},{})}]:r},[r]),X=(0,n.useMemo)(function(){return"function"==typeof v?v:er},[v]),ee=(0,n.useMemo)(function(){return"function"==typeof g?g:er},[g]),en=(0,n.useRef)(null),ei=(0,n.useRef)(null),ea=Z((0,n.useReducer)(et,Q),2),eo=ea[0],es=ea[1],el=eo.isFocused,eu=eo.isFileDialogActive,ec=(0,n.useRef)("undefined"!=typeof window&&window.isSecureContext&&y&&"showOpenFilePicker"in window),ed=function(){!ec.current&&eu&&setTimeout(function(){ei.current&&!ei.current.files.length&&(es({type:"closeDialog"}),ee())},300)};(0,n.useEffect)(function(){return window.addEventListener("focus",ed,!1),function(){window.removeEventListener("focus",ed,!1)}},[ei,eu,ee,ec]);var ep=(0,n.useRef)([]),ef=function(e){en.current&&en.current.contains(e.target)||(e.preventDefault(),ep.current=[])};(0,n.useEffect)(function(){return T&&(document.addEventListener("dragover",N,!1),document.addEventListener("drop",ef,!1)),function(){T&&(document.removeEventListener("dragover",N),document.removeEventListener("drop",ef))}},[en,T]),(0,n.useEffect)(function(){return!i&&x&&en.current&&en.current.focus(),function(){}},[en,x,i]);var eh=(0,n.useCallback)(function(e){A?A(e):console.error(e)},[A]),em=(0,n.useCallback)(function(e){var t;e.preventDefault(),e.persist(),eO(e),ep.current=[].concat(function(e){if(Array.isArray(e))return G(e)}(t=ep.current)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||U(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[e.target]),j(e)&&Promise.resolve(a(e)).then(function(t){if(!L(e)||O){var r,n,i,a,d,p,f,h,m=t.length,g=m>0&&(n=(r={files:t,accept:H,minSize:s,maxSize:o,multiple:l,maxFiles:u,validator:z}).files,i=r.accept,a=r.minSize,d=r.maxSize,p=r.multiple,f=r.maxFiles,h=r.validator,(!!p||!(n.length>1))&&(!p||!(f>=1)||!(n.length>f))&&n.every(function(e){var t=S(P(e,i),1)[0],r=S(M(e,a,d),1)[0],n=h?h(e):null;return t&&r&&!n}));es({isDragAccept:g,isDragReject:m>0&&!g,isDragActive:!0,type:"setDraggedFiles"}),c&&c(e)}}).catch(function(e){return eh(e)})},[a,c,eh,O,H,s,o,l,u,z]),eg=(0,n.useCallback)(function(e){e.preventDefault(),e.persist(),eO(e);var t=j(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return t&&p&&p(e),!1},[p,O]),ev=(0,n.useCallback)(function(e){e.preventDefault(),e.persist(),eO(e);var t=ep.current.filter(function(e){return en.current&&en.current.contains(e)}),r=t.indexOf(e.target);-1!==r&&t.splice(r,1),ep.current=t,!(t.length>0)&&(es({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),j(e)&&d&&d(e))},[en,d,O]),ey=(0,n.useCallback)(function(e,t){var r=[],n=[];e.forEach(function(e){var t=Z(P(e,H),2),i=t[0],a=t[1],l=Z(M(e,s,o),2),u=l[0],c=l[1],d=z?z(e):null;if(i&&u&&!d)r.push(e);
1else{var p=[a,c];d&&(p=p.concat(d)),n.push({file:e,errors:p.filter(function(e){return e})})}}),(!l&&r.length>1||l&&u>=1&&r.length>u)&&(r.forEach(function(e){n.push({file:e,errors:[I]})}),r.splice(0)),es({acceptedFiles:r,fileRejections:n,isDragReject:n.length>0,type:"setFiles"}),f&&f(r,n,t),n.length>0&&m&&m(n,t),r.length>0&&h&&h(r,t)},[es,l,H,s,o,u,f,h,m,z]),eb=(0,n.useCallback)(function(e){e.preventDefault(),e.persist(),eO(e),ep.current=[],j(e)&&Promise.resolve(a(e)).then(function(t){(!L(e)||O)&&ey(t,e)}).catch(function(e){return eh(e)}),es({type:"reset"})},[a,ey,eh,O]),ex=(0,n.useCallback)(function(){if(ec.current){es({type:"openDialog"}),X(),window.showOpenFilePicker({multiple:l,types:W}).then(function(e){return a(e)}).then(function(e){ey(e,null),es({type:"closeDialog"})}).catch(function(e){e instanceof DOMException&&("AbortError"===e.name||e.code===e.ABORT_ERR)?(ee(e),es({type:"closeDialog"})):e instanceof DOMException&&("SecurityError"===e.name||e.code===e.SECURITY_ERR)?(ec.current=!1,ei.current?(ei.current.value=null,ei.current.click()):eh(Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):eh(e)});return}ei.current&&(es({type:"openDialog"}),X(),ei.current.value=null,ei.current.click())},[es,X,ee,y,ey,eh,W,l]),ew=(0,n.useCallback)(function(e){en.current&&en.current.isEqualNode(e.target)&&(" "===e.key||"Enter"===e.key||32===e.keyCode||13===e.keyCode)&&(e.preventDefault(),ex())},[en,ex]),eE=(0,n.useCallback)(function(){es({type:"focus"})},[]),eS=(0,n.useCallback)(function(){es({type:"blur"})},[]),eT=(0,n.useCallback)(function(){_||(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return -1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/")}()?setTimeout(ex,0):ex())},[_,ex]),e_=function(e){return i?null:e},ek=function(e){return k?null:e_(e)},eC=function(e){return C?null:e_(e)},eO=function(e){O&&e.stopPropagation()},eA=(0,n.useMemo)(function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,r=e.role,n=e.onKeyDown,a=e.onFocus,o=e.onBlur,s=e.onClick,l=e.onDragEnter,u=e.onDragOver,c=e.onDragLeave,d=e.onDrop,p=K(e,V);return q(q(Y({onKeyDown:ek(D(n,ew)),onFocus:ek(D(a,eE)),onBlur:ek(D(o,eS)),onClick:e_(D(s,eT)),onDragEnter:eC(D(l,em)),onDragOver:eC(D(u,eg)),onDragLeave:eC(D(c,ev)),onDrop:eC(D(d,eb)),role:"string"==typeof r&&""!==r?r:"presentation"},void 0===t?"ref":t,en),i||k?{}:{tabIndex:0}),p)}},[en,ew,eE,eS,eT,em,eg,ev,eb,k,C,i]),eI=(0,n.useCallback)(function(e){e.stopPropagation()},[]),eP=(0,n.useMemo)(function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,r=e.onChange,n=e.onClick,i=K(e,$);return q(q({},Y({accept:H,multiple:l,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:e_(D(r,eb)),onClick:e_(D(n,eI)),tabIndex:-1},void 0===t?"ref":t,ei)),i)}},[ei,r,l,eb,i]);return q(q({},eo),{},{isFocused:el&&!i,getRootProps:eA,getInputProps:eP,rootRef:en,inputRef:ei,open:e_(ex)})}function et(e,t){switch(t.type){case"focus":return q(q({},e),{},{isFocused:!0});case"blur":return q(q({},e),{},{isFocused:!1});case"openDialog":return q(q({},Q),{},{isFileDialogActive:!0});case"closeDialog":return q(q({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return q(q({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return q(q({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections,isDragReject:t.isDragReject});case"reset":return q({},Q);default:return e}}function er(){}},72979:function(e,t,r){"use strict";r.r(t),r.d(t,{ErrorBoundary:function(){return o},ErrorBoundaryContext:function(){return i},useErrorBoundary:function(){return s},withErrorBoundary:function(){return l}});var n=r(2265);let i=(0,n.createContext)(null),a={didCatch:!1,error:null};class o extends n.Component{static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(){let{error:e}=this.state;if(null!==e){for(var t,r,n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];null===(t=(r=this.props).onReset)||void 0===t||t.call(r,{args:i,reason:"imperative-api"}),this.setState(a)}}componentDidCatch(e,t){var r,n;null===(r=(n=this.props).onError)||void 0===r||r.call(n,e,t)}componentDidUpdate(e,t){let{didCatch:r}=this.state,{resetKeys:n}=this.props;if(r&&null!==t.error&&function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length!==t.length||e.some((e,r)=>!Object.is(e,t[r]))}(e.resetKeys,n)){var i,o;null===(i=(o=this.props).onReset)||void 0===i||i.call(o,{next:n,prev:e.resetKeys,reason:"keys"}),this.setState(a)}}render(){let{children:e,fallbackRender:t,FallbackComponent:r,fallback:a}=this.props,{didCatch:o,error:s}=this.state,l=e;if(o){let e={error:s,resetErrorBoundary:this.resetErrorBoundary};if("function"==typeof t)l=t(e);else if(r)l=(0,n.createElement)(r,e);else if(void 0!==a)l=a;else throw s}return(0,n.createElement)(i.Provider,{value:{didCatch:o,error:s,resetErrorBoundary:this.resetErrorBoundary}},l)}constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=a}}function s(){let e=(0,n.useContext)(i);!function(e){if(null==e||"boolean"!=typeof e.didCatch||"function"!=typeof e.resetErrorBoundary)throw Error("ErrorBoundaryContext not found")}(e);
1let[t,r]=(0,n.useState)({error:null,hasError:!1}),a=(0,n.useMemo)(()=>({resetBoundary:()=>{e.resetErrorBoundary(),r({error:null,hasError:!1})},showBoundary:e=>r({error:e,hasError:!0})}),[e.resetErrorBoundary]);if(t.hasError)throw t.error;return a}function l(e,t){let r=(0,n.forwardRef)((r,i)=>(0,n.createElement)(o,t,(0,n.createElement)(e,{...r,ref:i}))),i=e.displayName||e.name||"Unknown";return r.displayName="withErrorBoundary(".concat(i,")"),r}},26178:function(e,t){"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,o=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,c=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,f=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,x=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case c:case d:case a:case s:case o: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 i:return t}}}function E(e){return w(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=n,t.ForwardRef=p,t.Fragment=a,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=o,t.Suspense=f,t.isAsyncMode=function(e){return E(e)||w(e)===c},t.isConcurrentMode=E,t.isContextConsumer=function(e){return w(e)===u},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===p},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===i},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===o},t.isSuspense=function(e){return w(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===o||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===b||e.$$typeof===x||e.$$typeof===v)},t.typeOf=w},84988:function(e,t,r){"use strict";e.exports=r(26178)},33287:function(e,t,r){"use strict";r.d(t,{Z:function(){return Y}});var n,i,a,o,s,l,u,c=r(74952),d=r(2265),p="right-scroll-bar-position",f="width-before-scroll-bar";function h(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var m="undefined"!=typeof window?d.useLayoutEffect:d.useEffect,g=new WeakMap,v=(void 0===n&&(n={}),(void 0===i&&(i=function(e){return e}),a=[],o=!1,s={read:function(){if(o)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return a.length?a[a.length-1]:null},useMedium:function(e){var t=i(e,o);return a.push(t),function(){a=a.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(o=!0;a.length;){var t=a;a=[],t.forEach(e)}a={push:function(t){return e(t)},filter:function(){return a}}},assignMedium:function(e){o=!0;var t=[];if(a.length){var r=a;a=[],r.forEach(e),t=a}var n=function(){var r=t;t=[],r.forEach(e)},i=function(){return Promise.resolve().then(n)};i(),a={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),a}}}}).options=(0,c.pi)({async:!0,ssr:!1},n),s),y=function(){},b=d.forwardRef(function(e,t){var r,n,i,a,o=d.useRef(null),s=d.useState({onScrollCapture:y,onWheelCapture:y,onTouchMoveCapture:y}),l=s[0],u=s[1],p=e.forwardProps,f=e.children,b=e.className,x=e.removeScrollBar,w=e.enabled,E=e.shards,S=e.sideCar,T=e.noIsolation,_=e.inert,k=e.allowPinchZoom,C=e.as,O=e.gapMode,A=(0,c._T)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),I=(r=[o,t],n=function(e){return r.forEach(function(t){return h(t,e)})},(i=(0,d.useState)(function(){return{value:null,callback:n,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=n,a=i.facade,m(function(){var e=g.get(a);if(e){var t=new Set(e),n=new Set(r),i=a.current;t.forEach(function(e){n.has(e)||h(e,null)}
1),n.forEach(function(e){t.has(e)||h(e,i)})}g.set(a,r)},[r]),a),P=(0,c.pi)((0,c.pi)({},A),l);return d.createElement(d.Fragment,null,w&&d.createElement(S,{sideCar:v,removeScrollBar:x,shards:E,noIsolation:T,inert:_,setCallbacks:u,allowPinchZoom:!!k,lockRef:o,gapMode:O}),p?d.cloneElement(d.Children.only(f),(0,c.pi)((0,c.pi)({},P),{ref:I})):d.createElement(void 0===C?"div":C,(0,c.pi)({},P,{className:b,ref:I}),f))});b.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},b.classNames={fullWidth:f,zeroRight:p};var x=function(e){var t=e.sideCar,r=(0,c._T)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return d.createElement(n,(0,c.pi)({},r))};x.isSideCarExport=!0;var w=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=u||r.nc;return t&&e.setAttribute("nonce",t),e}())){var i,a;(i=t).styleSheet?i.styleSheet.cssText=n:i.appendChild(document.createTextNode(n)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},E=function(){var e=w();return function(t,r){d.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},S=function(){var e=E();return function(t){return e(t.styles,t.dynamic),null}},T={left:0,top:0,right:0,gap:0},_=function(e){return parseInt(e||"",10)||0},k=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[_(r),_(n),_(i)]},C=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return T;var t=k(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},O=S(),A="data-scroll-locked",I=function(e,t,r,n){var i=e.left,a=e.top,o=e.right,s=e.gap;return void 0===r&&(r="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(n,";\n padding-right: ").concat(s,"px ").concat(n,";\n }\n body[").concat(A,"] {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(a,"px;\n padding-right: ").concat(o,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(n,";\n "),"padding"===r&&"padding-right: ".concat(s,"px ").concat(n,";")].filter(Boolean).join(""),"\n }\n \n .").concat(p," {\n right: ").concat(s,"px ").concat(n,";\n }\n \n .").concat(f," {\n margin-right: ").concat(s,"px ").concat(n,";\n }\n \n .").concat(p," .").concat(p," {\n right: 0 ").concat(n,";\n }\n \n .").concat(f," .").concat(f," {\n margin-right: 0 ").concat(n,";\n }\n \n body[").concat(A,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},P=function(){var e=parseInt(document.body.getAttribute(A)||"0",10);return isFinite(e)?e:0},M=function(){d.useEffect(function(){return document.body.setAttribute(A,(P()+1).toString()),function(){var e=P()-1;e<=0?document.body.removeAttribute(A):document.body.setAttribute(A,e.toString())}},[])},R=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,i=void 0===n?"margin":n;M();var a=d.useMemo(function(){return C(i)},[i]);return d.createElement(O,{styles:I(a,!t,i,r?"":"!important")})},L=!1;if("undefined"!=typeof window)try{var j=Object.defineProperty({},"passive",{get:function(){return L=!0,!0}});window.addEventListener("test",j,j),window.removeEventListener("test",j,j)}catch(e){L=!1}var N=!!L&&{passive:!1},D=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&!(r.overflowY===r.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===r[t])},B=function(e,t){var r=t.ownerDocument,n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),F(e,n)){var i=z(e,n);if(i[1]>i[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},F=function(e,t){return"v"===e?D(t,"overflowY"):D(t,"overflowX")},z=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},H=function(e,t,r,n,i){var a,o=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),s=o*n,l=r.target,u=t.contains(l),c=!1,d=s>0,p=0,f=0;do{var h=z(e,l),m=h[0],g=h[1]-h[2]-o*m;(m||g)&&F(e,l)&&(p+=g,f+=m),l instanceof ShadowRoot?l=l.host:l=l.parentNode}while(!u&&l!==document.body||u&&(t.contains(l)||t===l));return d&&(i&&1>Math.abs(p)||!i&&s>p)?c=!0:!d&&(i&&1>Math.abs(f)||!i&&-s>f)&&(c=!0),c},V=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},$=function(e){return[e.deltaX,e.deltaY]},Z=function(e){return e&&"current"in e?e.current:e},U=0,G=[],W=(l=function(e){var t=d.useRef([]),r=d.useRef([0,0]),n=d.useRef(),i=d.use
1State(U++)[0],a=d.useState(S)[0],o=d.useRef(e);d.useEffect(function(){o.current=e},[e]),d.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(0,c.ev)([e.lockRef.current],(e.shards||[]).map(Z),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=d.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!o.current.allowPinchZoom;var i,a=V(e),s=r.current,l="deltaX"in e?e.deltaX:s[0]-a[0],u="deltaY"in e?e.deltaY:s[1]-a[1],c=e.target,d=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var p=B(d,c);if(!p)return!0;if(p?i=d:(i="v"===d?"h":"v",p=B(d,c)),!p)return!1;if(!n.current&&"changedTouches"in e&&(l||u)&&(n.current=i),!i)return!0;var f=n.current||i;return H(f,t,e,"h"===f?l:u,!0)},[]),l=d.useCallback(function(e){if(G.length&&G[G.length-1]===a){var r="deltaY"in e?$(e):V(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta)[0]===r[0]&&n[1]===r[1]})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var i=(o.current.shards||[]).map(Z).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?s(e,i[0]):!o.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=d.useCallback(function(e,r,n,i){var a={name:e,delta:r,target:n,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),p=d.useCallback(function(e){r.current=V(e),n.current=void 0},[]),f=d.useCallback(function(t){u(t.type,$(t),t.target,s(t,e.lockRef.current))},[]),h=d.useCallback(function(t){u(t.type,V(t),t.target,s(t,e.lockRef.current))},[]);d.useEffect(function(){return G.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:h}),document.addEventListener("wheel",l,N),document.addEventListener("touchmove",l,N),document.addEventListener("touchstart",p,N),function(){G=G.filter(function(e){return e!==a}),document.removeEventListener("wheel",l,N),document.removeEventListener("touchmove",l,N),document.removeEventListener("touchstart",p,N)}},[]);var m=e.removeScrollBar,g=e.inert;return d.createElement(d.Fragment,null,g?d.createElement(a,{styles:"\n .block-interactivity-".concat(i," {pointer-events: none;}\n .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,m?d.createElement(R,{gapMode:e.gapMode}):null)},v.useMedium(l),x),q=d.forwardRef(function(e,t){return d.createElement(b,(0,c.pi)({},e,{ref:t,sideCar:W}))});q.classNames=b.classNames;var Y=q},23691:function(e,t,r){"use strict";r.d(t,{S:function(){return eh}});var n=r(82970),i=r(84894),a=r(98926);function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(0,a.Z)(n.key),n)}}function s(e,t){return(s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(u=function(){return!!e})()}var c=r(26390),d=r(44196),p=r(73292);function f(e){return function(e){if(Array.isArray(e))return(0,d.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,p.Z)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var h=r(2265),m=r(58620),g=r(75114),v=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function y(e,t){if(e.length!==t.length)return!1;for(var r,n,i=0;i<e.length;i++)if(!((r=e[i])===(n=t[i])||v(r)&&v(n)))return!1;return!0}for(var b=r(52991),x={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},w=function(e){return(0,g.tZ)("span",(0,n.Z)({css:x},e))},E={guidance:function(e){var t=e.isSearchable,r=e.isMulti,n=e.tabSelectsValue,i=e.context,a=e.isInitialFocus;switch(i){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(n?", press Tab to select the option and exit the menu":"",".");case"input":return a?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,r=e.label,n=void 0===r?"":r,i=e.labels,a=e.isDisabled;
1switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(n,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return a?"option ".concat(n," is disabled. Select another option."):"option ".concat(n,", selected.");default:return""}},onFocus:function(e){var t=e.context,r=e.focused,n=e.options,i=e.label,a=void 0===i?"":i,o=e.selectValue,s=e.isDisabled,l=e.isSelected,u=e.isAppleDevice,c=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&o)return"value ".concat(a," focused, ").concat(c(o,r),".");if("menu"===t&&u){var d="".concat(l?" selected":"").concat(s?" disabled":"");return"".concat(a).concat(d,", ").concat(c(n,r),".")}return""},onFilter:function(e){var t=e.inputValue,r=e.resultsMessage;return"".concat(r).concat(t?" for search term "+t:"",".")}},S=function(e){var t=e.ariaSelection,r=e.focusedOption,n=e.focusedValue,a=e.focusableOptions,o=e.isFocused,s=e.selectValue,l=e.selectProps,u=e.id,c=e.isAppleDevice,d=l.ariaLiveMessages,p=l.getOptionLabel,f=l.inputValue,m=l.isMulti,v=l.isOptionDisabled,y=l.isSearchable,b=l.menuIsOpen,x=l.options,S=l.screenReaderStatus,T=l.tabSelectsValue,_=l.isLoading,k=l["aria-label"],C=l["aria-live"],O=(0,h.useMemo)(function(){return(0,i.Z)((0,i.Z)({},E),d||{})},[d]),A=(0,h.useMemo)(function(){var e="";if(t&&O.onChange){var r=t.option,n=t.options,a=t.removedValue,o=t.removedValues,l=t.value,u=a||r||(Array.isArray(l)?null:l),c=u?p(u):"",d=n||o||void 0,f=d?d.map(p):[],h=(0,i.Z)({isDisabled:u&&v(u,s),label:c,labels:f},t);e=O.onChange(h)}return e},[t,O,v,s,p]),I=(0,h.useMemo)(function(){var e="",t=r||n,i=!!(r&&s&&s.includes(r));if(t&&O.onFocus){var o={focused:t,label:p(t),isDisabled:v(t,s),isSelected:i,options:a,context:t===r?"menu":"value",selectValue:s,isAppleDevice:c};e=O.onFocus(o)}return e},[r,n,p,v,O,a,s,c]),P=(0,h.useMemo)(function(){var e="";if(b&&x.length&&!_&&O.onFilter){var t=S({count:a.length});e=O.onFilter({inputValue:f,resultsMessage:t})}return e},[a,f,b,O,x,S,_]),M=(null==t?void 0:t.action)==="initial-input-focus",R=(0,h.useMemo)(function(){var e="";if(O.guidance){var t=n?"value":b?"menu":"input";e=O.guidance({"aria-label":k,context:t,isDisabled:r&&v(r,s),isMulti:m,isSearchable:y,tabSelectsValue:T,isInitialFocus:M})}return e},[k,r,n,m,v,y,b,O,s,T,M]),L=(0,g.tZ)(h.Fragment,null,(0,g.tZ)("span",{id:"aria-selection"},A),(0,g.tZ)("span",{id:"aria-focused"},I),(0,g.tZ)("span",{id:"aria-results"},P),(0,g.tZ)("span",{id:"aria-guidance"},R));return(0,g.tZ)(h.Fragment,null,(0,g.tZ)(w,{id:u},M&&L),(0,g.tZ)(w,{"aria-live":C,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!M&&L))},T=[{base:"A",letters:"Aâ¶ï¼¡\xc0\xc1\xc2ẦẤẪẨ\xc3ÄÄáº°áº®áº´áº²È¦Ç \xc4ÇẢ\xc5ǺÇÈÈẠẬẶá¸ÄȺⱯ"},{base:"AA",letters:"ê²"},{base:"AE",letters:"\xc6ǼǢ"},{base:"AO",letters:"ê´"},{base:"AU",letters:"ê¶"},{base:"AV",letters:"ê¸êº"},{base:"AY",letters:"ê¼"},{base:"B",letters:"Bâ·ï¼¢á¸á¸á¸ÉÆÆ"},{base:"C",letters:"Câ¸ï¼£ÄÄÄÄ\xc7á¸ÆÈ»ê¾"},{base:"D",letters:"Dâ¹ï¼¤á¸Äá¸á¸á¸á¸ÄÆÆÆê¹"},{base:"DZ",letters:"DZÇ"},{base:"Dz",letters:"DzÇ
"},{base:"E",letters:"Eâºï¼¥\xc8\xc9\xcaá»áº¾á»á»áº¼Äá¸á¸ÄÄ\xcbẺÄÈÈẸá»È¨á¸Äá¸á¸ÆÆ"},{base:"F",letters:"Fâ»ï¼¦á¸Æê»"},{base:"G",letters:"Gâ¼ï¼§Ç´ÄḠÄÄ Ç¦Ä¢Ç¤Æê ê½ê¾"},{base:"H",letters:"Hâ½ï¼¨Ä¤á¸¢á¸¦ÈḤḨḪĦⱧⱵê"},{base:"I",letters:"Iâ¾ï¼©\xcc\xcd\xceĨĪĬİ\xcfḮá»ÇÈÈá»Ä®á¸¬Æ"},{base:"J",letters:"Jâ¿ï¼ªÄ´É"},{base:"K",letters:"KâKḰǨḲĶḴÆâ±©êêêê¢"},{base:"L",letters:"LâLĿĹĽḶḸĻḼḺÅȽⱢⱠêêê"},{base:"LJ",letters:"Ç"},{base:"Lj",letters:"Ç"},{base:"M",letters:"Mâï¼á¸¾á¹á¹â±®Æ"},{base:"N",letters:"NâNǸÅ\xd1á¹Åá¹Å
á¹á¹È Æêê¤"},{base:"NJ",letters:"Ç"},{base:"Nj",letters:"Ç"},{base:"O",letters:"OâO\xd2\xd3\xd4á»á»á»á»\xd5á¹È¬á¹Åá¹á¹ÅȮȰ\xd6Ȫá»ÅÇÈÈÆ á»á»á» á»á»¢á»á»ÇªÇ¬\xd8Ç¾ÆÆêê"},{base:"OI",letters:"Æ¢"},{base:"OO",letters:"ê"},{base:"OU",letters:"È¢"},{base:"P",letters:"Pâ
ï¼°á¹á¹Æ¤â±£êêê"},{base:"Q",letters:"Qâï¼±êêÉ"}
1,{base:"R",letters:"Râï¼²Åá¹ÅÈÈá¹á¹Åá¹ÉⱤêê¦ê"},{base:"S",letters:"Sâï¼³áºÅṤÅṠŠṦṢṨÈÅâ±¾ê¨ê"},{base:"T",letters:"TâTṪŤṬÈŢṰṮŦƬƮȾê"},{base:"TZ",letters:"ê¨"},{base:"U",letters:"Uâï¼µ\xd9\xda\xdbŨṸŪṺŬ\xdcÇÇÇÇỦŮŰÇÈÈÆ¯á»ªá»¨á»®á»¬á»°á»¤á¹²Å²á¹¶á¹´É"},{base:"V",letters:"VâVṼṾƲêÉ
"},{base:"VY",letters:"ê "},{base:"W",letters:"Wâï¼·áºáºÅ´áºáºáºâ±²"},{base:"X",letters:"XâXáºáº"},{base:"Y",letters:"YâYỲ\xddŶỸȲáºÅ¸á»¶á»´Æ³ÉỾ"},{base:"Z",letters:"ZâZŹáºÅ»Å½áºáºÆµÈ¤â±¿â±«ê¢"},{base:"a",letters:"aâï½áº\xe0\xe1\xe2ầấẫẩ\xe3ÄÄằắẵẳȧǡ\xe4Çả\xe5Ç»ÇÈÈạáºáº·á¸Ä
â±¥É"},{base:"aa",letters:"ê³"},{base:"ae",letters:"\xe6ǽǣ"},{base:"ao",letters:"êµ"},{base:"au",letters:"ê·"},{base:"av",letters:"ê¹ê»"},{base:"ay",letters:"ê½"},{base:"b",letters:"bâï½á¸á¸
á¸ÆÆÉ"},{base:"c",letters:"câï½ÄÄÄÄ\xe7á¸ÆÈ¼ê¿â"},{base:"d",letters:"dâï½á¸Äá¸á¸á¸á¸ÄÆÉÉêº"},{base:"dz",letters:"dzÇ"},{base:"e",letters:"eâï½
\xe8\xe9\xeaá»áº¿á»
á»áº½Äá¸á¸ÄÄ\xebẻÄÈ
Èẹá»È©á¸Äá¸á¸ÉÉÇ"},{base:"f",letters:"fâï½á¸Æê¼"},{base:"g",letters:"gâï½ÇµÄḡÄÄ¡Ç§Ä£Ç¥É ê¡áµ¹ê¿"},{base:"h",letters:"hâï½Ä¥á¸£á¸§ÈḥḩḫáºÄ§â±¨â±¶É¥"},{base:"hv",letters:"Æ"},{base:"i",letters:"iâï½\xec\xed\xeeĩīÄ\xefḯá»ÇÈÈá»Ä¯á¸É¨Ä±"},{base:"j",letters:"jâï½ÄµÇ°É"},{base:"k",letters:"kâï½á¸±Ç©á¸³Ä·á¸µÆâ±ªêêê
ê£"},{base:"l",letters:"lâï½ÅÄºÄ¾á¸·á¸¹Ä¼á¸½á¸»Å¿ÅÆÉ«â±¡êêê"},{base:"lj",letters:"Ç"},{base:"m",letters:"mâï½á¸¿á¹á¹É±É¯"},{base:"n",letters:"nâï½Ç¹Å\xf1á¹
Åá¹Åá¹á¹ÆÉ²Åêê¥"},{base:"nj",letters:"Ç"},{base:"o",letters:"oâï½\xf2\xf3\xf4á»á»á»á»\xf5á¹Èá¹Åá¹á¹Åȯȱ\xf6È«á»ÅÇÈÈÆ¡á»á»á»¡á»á»£á»á»Ç«Ç\xf8Ç¿Éêêɵ"},{base:"oi",letters:"Æ£"},{base:"ou",letters:"È£"},{base:"oo",letters:"ê"},{base:"p",letters:"pâï½á¹á¹Æ¥áµ½êêê"},{base:"q",letters:"qâ ï½Éêê"},{base:"r",letters:"râ¡ï½Åá¹ÅÈÈá¹á¹Åá¹Éɽêê§ê"},{base:"s",letters:"sâ¢ï½\xdfÅá¹¥ÅṡšṧṣṩÈÅÈ¿ê©ê
áº"},{base:"t",letters:"tâ£ï½á¹«áºÅ¥á¹ÈţṱṯŧÆÊⱦê"},{base:"tz",letters:"ê©"},{base:"u",letters:"uâ¤ï½\xf9\xfa\xfbũṹūṻÅ\xfcÇÇÇÇủůűÇÈÈÆ°á»«á»©á»¯á»á»±á»¥á¹³Å³á¹·á¹µÊ"},{base:"v",letters:"vâ¥ï½á¹½á¹¿ÊêÊ"},{base:"vy",letters:"ê¡"},{base:"w",letters:"wâ¦ï½áºáºÅµáºáº
áºáºâ±³"},{base:"x",letters:"xâ§ï½áºáº"},{base:"y",letters:"yâ¨ï½á»³\xfdŷỹȳáº\xffá»·áºá»µÆ´Éỿ"},{base:"z",letters:"zâ©ï½ÅºáºÅ¼Å¾áºáºÆ¶È¥Éⱬê£"}],_=RegExp("["+T.map(function(e){return e.letters}).join("")+"]","g"),k={},C=0;C<T.length;C++)for(var O=T[C],A=0;A<O.letters.length;A++)k[O.letters[A]]=O.base;var I=function(e){return e.replace(_,function(e){return k[e]})},P=function(e,t){void 0===t&&(t=y);var r=null;function n(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(r&&r.lastThis===this&&t(n,r.lastArgs))return r.lastResult;var a=e.apply(this,n);return r={lastResult:a,lastArgs:n,lastThis:this},a}return n.clear=function(){r=null},n}(I),M=function(e){return e.replace(/^\s+|\s+$/g,"")},R=function(e){return"".concat(e.label," ").concat(e.value)},L=["innerRef"];function j(e){var t=e.innerRef,r=(0,b.Z)(e,L),i=(0,m.r)(r,"onExited","in","enter","exit","appear");return(0,g.tZ)("input",(0,n.Z)({ref:t},i,{css:(0,g.iv)({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var N=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()},D=["boxSizing","height","overflow","paddingRight","position"],B={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function F(e){e.cancelable&&e.preventDefault()}function z(e){e.stopPropagation()}function H(){var e=this.scrollTop,t=this.scrollHeight,r=e+this.offsetHeight;0===e?this.scrollTop=1:r===t&&(this.scrollTop=e-1)}function V(){return"ontouchstart"in window||navigator.maxTouchPoints}var $=!!("undefined"!=typeof window&&window.document&&window.document.createElement),Z=0,U={capture:!1,passive:!1},G=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},W={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function q(e){var t,r,n,i,a,o,s,l,u,c,d,p,f,v,y,b,x,w,E,S,T,_,k,C,O=e.children,A=e.lockEnabled,I=e.captureEnabled,P=(r=(t={
1isEnabled:void 0===I||I,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}).isEnabled,n=t.onBottomArrive,i=t.onBottomLeave,a=t.onTopArrive,o=t.onTopLeave,s=(0,h.useRef)(!1),l=(0,h.useRef)(!1),u=(0,h.useRef)(0),c=(0,h.useRef)(null),d=(0,h.useCallback)(function(e,t){if(null!==c.current){var r=c.current,u=r.scrollTop,d=r.scrollHeight,p=r.clientHeight,f=c.current,h=t>0,m=d-p-u,g=!1;m>t&&s.current&&(i&&i(e),s.current=!1),h&&l.current&&(o&&o(e),l.current=!1),h&&t>m?(n&&!s.current&&n(e),f.scrollTop=d,g=!0,s.current=!0):!h&&-t>u&&(a&&!l.current&&a(e),f.scrollTop=0,g=!0,l.current=!0),g&&N(e)}},[n,i,a,o]),p=(0,h.useCallback)(function(e){d(e,e.deltaY)},[d]),f=(0,h.useCallback)(function(e){u.current=e.changedTouches[0].clientY},[]),v=(0,h.useCallback)(function(e){var t=u.current-e.changedTouches[0].clientY;d(e,t)},[d]),y=(0,h.useCallback)(function(e){if(e){var t=!!m.s&&{passive:!1};e.addEventListener("wheel",p,t),e.addEventListener("touchstart",f,t),e.addEventListener("touchmove",v,t)}},[v,f,p]),b=(0,h.useCallback)(function(e){e&&(e.removeEventListener("wheel",p,!1),e.removeEventListener("touchstart",f,!1),e.removeEventListener("touchmove",v,!1))},[v,f,p]),(0,h.useEffect)(function(){if(r){var e=c.current;return y(e),function(){b(e)}}},[r,y,b]),function(e){c.current=e}),M=(w=(x={isEnabled:A}).isEnabled,S=void 0===(E=x.accountForScrollbars)||E,T=(0,h.useRef)({}),_=(0,h.useRef)(null),k=(0,h.useCallback)(function(e){if($){var t=document.body,r=t&&t.style;if(S&&D.forEach(function(e){var t=r&&r[e];T.current[e]=t}),S&&Z<1){var n=parseInt(T.current.paddingRight,10)||0,i=document.body?document.body.clientWidth:0,a=window.innerWidth-i+n||0;Object.keys(B).forEach(function(e){var t=B[e];r&&(r[e]=t)}),r&&(r.paddingRight="".concat(a,"px"))}t&&V()&&(t.addEventListener("touchmove",F,U),e&&(e.addEventListener("touchstart",H,U),e.addEventListener("touchmove",z,U))),Z+=1}},[S]),C=(0,h.useCallback)(function(e){if($){var t=document.body,r=t&&t.style;Z=Math.max(Z-1,0),S&&Z<1&&D.forEach(function(e){var t=T.current[e];r&&(r[e]=t)}),t&&V()&&(t.removeEventListener("touchmove",F,U),e&&(e.removeEventListener("touchstart",H,U),e.removeEventListener("touchmove",z,U)))}},[S]),(0,h.useEffect)(function(){if(w){var e=_.current;return k(e),function(){C(e)}}},[w,k,C]),function(e){_.current=e});return(0,g.tZ)(h.Fragment,null,A&&(0,g.tZ)("div",{onClick:G,css:W}),O(function(e){P(e),M(e)}))}var Y={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},K=function(e){var t=e.name,r=e.onFocus;return(0,g.tZ)("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:Y,value:"",onChange:function(){}})};function X(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}var J={clearIndicator:m.a,container:m.b,control:m.d,dropdownIndicator:m.e,group:m.g,groupHeading:m.f,indicatorsContainer:m.i,indicatorSeparator:m.h,input:m.j,loadingIndicator:m.l,loadingMessage:m.k,menu:m.m,menuList:m.n,menuPortal:m.o,multiValue:m.p,multiValueLabel:m.q,multiValueRemove:m.t,noOptionsMessage:m.u,option:m.v,placeholder:m.w,singleValue:m.x,valueContainer:m.y},Q={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},ee={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:(0,m.z)(),captureMenuScroll:!(0,m.z)(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var r=(0,i.Z)({ignoreCase:!0,ignoreAccents:!0,stringify:R,trim:!0,matchFrom:"any"},void 0),n=r.ignoreCase,a=r.ignoreAccents,o=r.stringify,s=r.trim,l=r.matchFrom,u=s?M(t):t,c=s?M(o(e)):o(e);return n&&(u=u.toLowerCase(),c=c.toLowerCase()),a&&(u=P(u),c=I(c)),"start"===l?c.substr(0,u.length)===u:c.indexOf(u)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!(0,m.A)(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function et(e,t,r,n){var i=eu(e,t,r),a=ec(e,t,r),o=es(e,t),s=el(e,t);return{type:"option",data:t,isDisabled:i,isSelected:a,label:o,value:s,index:n}}function er(e,t){return e.options.map(function(r,n){if("options"in r){var i=r.options.map(function(r,n){return et(e,r,t,n)}).filter(function(t){return ea(e,t)});return i.length>0?{type:"group",data:r,options:i,index:n}:void 0}var a=et(e,r,t,n);return ea(e,a)?a:void 0}).filter(m.K)}function en(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,f(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function ei(e,t){return e.reduce(function(e,r){return"group"===r.type?e.push.apply(e,f(r.options.map(function(e){return{data:e.data,id:"".concat(t,"-").concat(r.index,"-").concat(e.index)}}))):e.push({data:r.data,id:"".concat(t,"-").concat(r.index)}),e},[])}function ea(e,t){var r=e.inputValue,n=t.data,i=t.isSelected,a=t.label,o=t.value;return(!ep(e)||!i)&&ed(e,{label:a,value:o,data:n},void 0===r?"":r)}var eo=function(e,t){var r;return(null===(r=e.find(function(e){return e.data===t}))||void 0===r?void 0:r.id)||null},es=function(e,t){return e.getOptionLabel(t)}
1,el=function(e,t){return e.getOptionValue(t)};function eu(e,t,r){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,r)}function ec(e,t,r){if(r.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,r);var n=el(e,t);return r.some(function(t){return el(e,t)===n})}function ed(e,t,r){return!e.filterOption||e.filterOption(t,r)}var ep=function(e){var t=e.hideSelectedOptions,r=e.isMulti;return void 0===t?r:t},ef=1,eh=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw 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&&s(e,t)}(p,e);var t,r,a,d=(t=u(),function(){var e,r=l(p);return e=t?Reflect.construct(r,arguments,l(this).constructor):r.apply(this,arguments),function(e,t){if(t&&("object"==(0,c.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function p(e){var t;if(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,p),(t=d.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},t.blockOptionHover=!1,t.isComposing=!1,t.commonProps=void 0,t.initialTouchX=0,t.initialTouchY=0,t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.isAppleDevice=X(/^Mac/i)||X(/^iPhone/i)||X(/^iPad/i)||X(/^Mac/i)&&navigator.maxTouchPoints>1,t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,r){var n=t.props,i=n.onChange,a=n.name;r.name=a,t.ariaOnChange(e,r),i(e,r)},t.setValue=function(e,r,n){var i=t.props,a=i.closeMenuOnSelect,o=i.isMulti,s=i.inputValue;t.onInputChange("",{action:"set-value",prevInputValue:s}),a&&(t.setState({inputIsHiddenAfterUpdate:!o}),t.onMenuClose()),t.setState({clearFocusValueOnUpdate:!0}),t.onChange(e,{action:r,option:n})},t.selectOption=function(e){var r=t.props,n=r.blurInputOnSelect,i=r.isMulti,a=r.name,o=t.state.selectValue,s=i&&t.isOptionSelected(e,o),l=t.isOptionDisabled(e,o);if(s){var u=t.getOptionValue(e);t.setValue((0,m.B)(o.filter(function(e){return t.getOptionValue(e)!==u})),"deselect-option",e)}else if(l){t.ariaOnChange((0,m.C)(e),{action:"select-option",option:e,name:a});return}else i?t.setValue((0,m.B)([].concat(f(o),[e])),"select-option",e):t.setValue((0,m.C)(e),"select-option");n&&t.blurInput()},t.removeValue=function(e){var r=t.props.isMulti,n=t.state.selectValue,i=t.getOptionValue(e),a=n.filter(function(e){return t.getOptionValue(e)!==i}),o=(0,m.D)(r,a,a[0]||null);t.onChange(o,{action:"remove-value",removedValue:e}),t.focusInput()},t.clearValue=function(){var e=t.state.selectValue;t.onChange((0,m.D)(t.props.isMulti,[],null),{action:"clear",removedValues:e})},t.popValue=function(){var e=t.props.isMulti,r=t.state.selectValue,n=r[r.length-1],i=r.slice(0,r.length-1),a=(0,m.D)(e,i,i[0]||null);n&&t.onChange(a,{action:"pop-value",removedValue:n})},t.getFocusedOptionId=function(e){return eo(t.state.focusableOptionsWithIds,e)},t.getFocusableOptionsWithIds=function(){return ei(er(t.props,t.state.selectValue),t.getElementId("option"))},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return m.E.apply(void 0,[t.props.classNamePrefix].concat(r))},t.getOptionLabel=function(e){return es(t.props,e)},t.getOptionValue=function(e){return el(t.props,e)},t.getStyles=function(e,r){var n=t.props.unstyled,i=J[e](r,n);i.boxSizing="border-box";var a=t.props.styles[e];return a?a(i,r):i},t.getClassNames=function(e,r){var n,i;return null===(n=(i=t.props.classNames)[e])||void 0===n?void 0:n.call(i,r)},t.getElementId=function(e){return"".concat(t.state.instancePrefix,"-").concat(e)},t.getComponents=function(){return(0,m.F)(t.props)},t.buildCategorizedOptions=function(){return er(t.props,t.state.selectValue)},t.getCategorizedOptions=function(){return t.props.menuIsOpen?t.buildCategorizedOptions():[]},t.buildFocusableOptions=function(){return en(t.buildCategorizedOptions())},t.getFocusableOptions=function(){return t.props.menuIsOpen?t.buildFocusableOptions():[]},t.ariaOnChange=function(e,r){t.setState({ariaSelection:(0,i.Z)({value:e},r)})},t.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),t.focusInput())},t.onMenuMouseMove=function(e){t.blockOptionHover=!1},t.onControlMouseDown=function(e){if(!e.defaultPrevented){var r=t.props.openMenuOnClick;t.state.isFocused?t.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&t.onMenuClose():r&&t.openMenu("first"):(r&&(t.openAfterFocus=!0),t.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},t.onDropdownIndicatorMouseDown=function(e){if((!e||"mousedown"!==e.type||0===e.button)&&!t.props.isDisabled){var r=t.props,n=r.isMulti,i=r.menuIsOpen;t.focusInput(),i?(t.setState({inputIsHiddenAfterUpdate:!n}),t.onMenuClose()):t.openMenu("first"),e.preventDefault()}},t.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(t.clearValue(),e.preventDefault(),t.openAfterFocus=!1,"touchend"===e.type?t.focu
vendor: 10,535 bytes, line 1
1sInput():setTimeout(function(){return t.focusInput()}))},t.onScroll=function(e){"boolean"==typeof t.props.closeMenuOnScroll?e.target instanceof HTMLElement&&(0,m.G)(e.target)&&t.props.onMenuClose():"function"==typeof t.props.closeMenuOnScroll&&t.props.closeMenuOnScroll(e)&&t.props.onMenuClose()},t.onCompositionStart=function(){t.isComposing=!0},t.onCompositionEnd=function(){t.isComposing=!1},t.onTouchStart=function(e){var r=e.touches,n=r&&r.item(0);n&&(t.initialTouchX=n.clientX,t.initialTouchY=n.clientY,t.userIsDragging=!1)},t.onTouchMove=function(e){var r=e.touches,n=r&&r.item(0);if(n){var i=Math.abs(n.clientX-t.initialTouchX),a=Math.abs(n.clientY-t.initialTouchY);t.userIsDragging=i>5||a>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var r=t.props.inputValue,n=e.currentTarget.value;t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(n,{action:"input-change",prevInputValue:r}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){t.props.onFocus&&t.props.onFocus(e),t.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu("first"),t.openAfterFocus=!1},t.onInputBlur=function(e){var r=t.props.inputValue;if(t.menuListRef&&t.menuListRef.contains(document.activeElement)){t.inputRef.focus();return}t.props.onBlur&&t.props.onBlur(e),t.onInputChange("",{action:"input-blur",prevInputValue:r}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1})},t.onOptionHover=function(e){if(!t.blockOptionHover&&t.state.focusedOption!==e){var r=t.getFocusableOptions().indexOf(e);t.setState({focusedOption:e,focusedOptionId:r>-1?t.getFocusedOptionId(e):null})}},t.shouldHideSelectedOptions=function(){return ep(t.props)},t.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),t.focus()},t.onKeyDown=function(e){var r=t.props,n=r.isMulti,i=r.backspaceRemovesValue,a=r.escapeClearsValue,o=r.inputValue,s=r.isClearable,l=r.isDisabled,u=r.menuIsOpen,c=r.onKeyDown,d=r.tabSelectsValue,p=r.openMenuOnFocus,f=t.state,h=f.focusedOption,m=f.focusedValue,g=f.selectValue;if(!l){if("function"==typeof c&&(c(e),e.defaultPrevented))return;switch(t.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||o)return;t.focusValue("previous");break;case"ArrowRight":if(!n||o)return;t.focusValue("next");break;case"Delete":case"Backspace":if(o)return;if(m)t.removeValue(m);else{if(!i)return;n?t.popValue():s&&t.clearValue()}break;case"Tab":if(t.isComposing||e.shiftKey||!u||!d||!h||p&&t.isOptionSelected(h,g))return;t.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(u){if(!h||t.isComposing)return;t.selectOption(h);break}return;case"Escape":u?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange("",{action:"menu-close",prevInputValue:o}),t.onMenuClose()):s&&a&&t.clearValue();break;case" ":if(o)return;if(!u){t.openMenu("first");break}if(!h)return;t.selectOption(h);break;case"ArrowUp":u?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":u?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!u)return;t.focusOption("pageup");break;case"PageDown":if(!u)return;t.focusOption("pagedown");break;case"Home":if(!u)return;t.focusOption("first");break;case"End":if(!u)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.state.instancePrefix="react-select-"+(t.props.instanceId||++ef),t.state.selectValue=(0,m.H)(e.value),e.menuIsOpen&&t.state.selectValue.length){var r=t.getFocusableOptionsWithIds(),n=t.buildFocusableOptions(),a=n.indexOf(t.state.selectValue[0]);t.state.focusableOptionsWithIds=r,t.state.focusedOption=n[a],t.state.focusedOptionId=eo(r,n[a])}return t}return r=[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&(0,m.I)(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.isDisabled,n=t.menuIsOpen,i=this.state.isFocused;(i&&!r&&e.isDisabled||i&&n&&!e.menuIsOpen)&&this.focusInput(),i&&r&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):i||r||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&((0,m.I)(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,r=this.state,n=r.selectValue,i=r.isFocused,a=this.buildFocusableOptions(),o="first"===e?0:a.length-1;if(!this.props.isMulti){var s=a.indexOf(n[0]);s>-1&&(o=s)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:a[o],focusedOptionId:this.getFocusedOptionId(a[o])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,r=t.selectValue,n=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=r.indexOf(n);n||(i=-1);var a=r.length-1,o=-1;if(r.length){switch(e){case"previous":o=0===i?0:-1===i?a:i-1;break;case"next":i>-1&&i<a&&(o=i+1)}this.setState({inputIsHidden:-1!==o,focusedValue:r[o]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,r=this.state.focusedOption,n=this.getFocusableOptions();if(n.length){var i=0,a=n.indexOf(r);r||(a=-1),"up"===e?i=a>0?a-1:n.length-1:"down"===e?i=(a+1)%n.length:"pageup"===e?(i=a-t)<0&&(i=0):"pagedown"===e?(i=a+t)>n.length-1&&(i=n.length-1):"last"===e&&(i=n.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:n[i],focusedValue:null,focusedOptionId:this.getFocusedOptionId(n[i])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Q):(0,i.Z)((0,i.Z)({},Q),this.props.theme):Q}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,r=this.getStyles,n=this.getClassNames,i=this.getValue,a=this.selectOption,o=this.setValue,s=this.props,l=s.isMulti,u=s.isRtl,c=s.options;return{clearValue:e,cx:t,getStyles:r,getClassNames:n,getValue:i,hasValue:this.hasValue(),isMulti:l,isRtl:u,options:c,selectOption:a,selectProps:s,setValue:o,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,r=e.isMulti;return void 0===t?r:t}},{key:"isOptionDisabled",value:function(e,t){return eu(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return ec(this.props,e,t)}},{key:"filterOption",value:function(e,t){return ed(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"!=typeof this.props.formatOptionLabel)return this.getOptionLabel(e);var r=this.props.inputValue,n=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:r,selectValue:n})}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,r=e.isSearchable,a=e.inputId,o=e.inputValue,s=e.tabIndex,l=e.form,u=e.menuIsOpen,c=e.required,d=this.getComponents().Input,p=this.state,f=p.inputIsHidden,g=p.ariaSelection,v=this.commonProps,y=a||this.getElementId("input"),b=(0,i.Z)((0,i.Z)((0,i.Z)({"aria-autocomplete":"list","aria-expanded":u,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":c,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},u&&{"aria-controls":this.getElementId("listbox")}),!r&&{"aria-readonly":!0}),this.hasValue()?(null==g?void 0:g.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return r?h.createElement(d,(0,n.Z)({},v,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:y,innerRef:this.getInputRef,isDisabled:t,isHidden:f,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:s,form:l,type:"text",value:o},b)):h.createElement(j,(0,n.Z)({id:y,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:m.J,onF
1ocus:this.onInputFocus,disabled:t,tabIndex:s,inputMode:"none",form:l,value:""},b))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),r=t.MultiValue,i=t.MultiValueContainer,a=t.MultiValueLabel,o=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,u=this.commonProps,c=this.props,d=c.controlShouldRenderValue,p=c.isDisabled,f=c.isMulti,m=c.inputValue,g=c.placeholder,v=this.state,y=v.selectValue,b=v.focusedValue,x=v.isFocused;if(!this.hasValue()||!d)return m?null:h.createElement(l,(0,n.Z)({},u,{key:"placeholder",isDisabled:p,isFocused:x,innerProps:{id:this.getElementId("placeholder")}}),g);if(f)return y.map(function(t,s){var l=t===b,c="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return h.createElement(r,(0,n.Z)({},u,{components:{Container:i,Label:a,Remove:o},isFocused:l,isDisabled:p,key:c,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(m)return null;var w=y[0];return h.createElement(s,(0,n.Z)({},u,{data:w,isDisabled:p}),this.formatOptionLabel(w,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,r=this.props,i=r.isDisabled,a=r.isLoading,o=this.state.isFocused;if(!this.isClearable()||!e||i||!this.hasValue()||a)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return h.createElement(e,(0,n.Z)({},t,{innerProps:s,isFocused:o}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,r=this.props,i=r.isDisabled,a=r.isLoading,o=this.state.isFocused;return e&&a?h.createElement(e,(0,n.Z)({},t,{innerProps:{"aria-hidden":"true"},isDisabled:i,isFocused:o})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,r=e.IndicatorSeparator;if(!t||!r)return null;var i=this.commonProps,a=this.props.isDisabled,o=this.state.isFocused;return h.createElement(r,(0,n.Z)({},i,{isDisabled:a,isFocused:o}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,r=this.props.isDisabled,i=this.state.isFocused,a={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return h.createElement(e,(0,n.Z)({},t,{innerProps:a,isDisabled:r,isFocused:i}))}},{key:"renderMenu",value:function(){var e,t=this,r=this.getComponents(),i=r.Group,a=r.GroupHeading,o=r.Menu,s=r.MenuList,l=r.MenuPortal,u=r.LoadingMessage,c=r.NoOptionsMessage,d=r.Option,p=this.commonProps,f=this.state.focusedOption,g=this.props,v=g.captureMenuScroll,y=g.inputValue,b=g.isLoading,x=g.loadingMessage,w=g.minMenuHeight,E=g.maxMenuHeight,S=g.menuIsOpen,T=g.menuPlacement,_=g.menuPosition,k=g.menuPortalTarget,C=g.menuShouldBlockScroll,O=g.menuShouldScrollIntoView,A=g.noOptionsMessage,I=g.onMenuScrollToTop,P=g.onMenuScrollToBottom;if(!S)return null;var M=function(e,r){var i=e.type,a=e.data,o=e.isDisabled,s=e.isSelected,l=e.label,u=e.value,c=f===a,m=o?void 0:function(){return t.onOptionHover(a)},g=o?void 0:function(){return t.selectOption(a)},v="".concat(t.getElementId("option"),"-").concat(r),y={id:v,onClick:g,onMouseMove:m,onMouseOver:m,tabIndex:-1,role:"option","aria-selected":t.isAppleDevice?void 0:s};return h.createElement(d,(0,n.Z)({},p,{innerProps:y,data:a,isDisabled:o,isSelected:s,key:v,label:l,type:i,value:u,isFocused:c,innerRef:c?t.getFocusedOptionRef:void 0}),t.formatOptionLabel(e.data,"menu"))};if(this.hasOptions())e=this.getCategorizedOptions().map(function(e){if("group"===e.type){var r=e.data,o=e.options,s=e.index,l="".concat(t.getElementId("group"),"-").concat(s),u="".concat(l,"-heading");return h.createElement(i,(0,n.Z)({},p,{key:l,data:r,options:o,Heading:a,headingProps:{id:u,data:e.data},label:t.formatGroupLabel(e.data)}),e.options.map(function(e){return M(e,"".concat(s,"-").concat(e.index))}))}if("option"===e.type)return M(e,"".concat(e.index))});else if(b){var R=x({inputValue:y});if(null===R)return null;e=h.createElement(u,p,R)}else{var L=A({inputValue:y});if(null===L)return null;e=h.createElement(c,p,L)}var j={minMenuHeight:w,maxMenuHeight:E,menuPlacement:T,menuPosition:_,menuShouldScrollIntoView:O},N=h.createElement(m.M,(0,n.Z)({},p,j),function(r){var i=r.ref,a=r.placerProps,l=a.placement,u=a.maxHeight;return h.createElement(o,(0,n.Z)({},p,j,{innerRef:i,innerProps:{onMouseDown:t.onMenuMouseDown,onMouseMove:t.onMenuMouseMove},isLoading:b,placement:l}),h.createElement(q,{captureEnabled:v,onTopArrive:I,onBottomArrive:P,lockEnabled:C},function(r){return h.createElement(s,(0,n.Z)({},p,{innerRef:function(e){t.getMenuListRef(e),r(e)},innerProps:{role:"listbox","aria-multiselectable":p.isMulti,id:t.getElementId("listbox")},isLoading:b,maxHeight:u,focusedOption:f}),e)}))});return k||"fixed"===_?h.createElement(l,(0,n.Z)({},p,{appendTo:k,controlElement:this.controlRef,menuPlacement:T,menuPosition:_}),N):N}},{key:"renderFormField",value:function(){var e=this,t=this.props,r=t.delimiter,n=t.isDisabled,i=t.isMulti,a=t.name,o=t.required,s=this.state.selectValue;if(o&&!this.hasValue()&&!n)return h.createElement(K,{name:a,onFocus:this.onValueInputFocus});if(a&&!n){if(i){if(r){var l=s.map(function(t){return e.getOptionValue(t)}).join(r);return h.createElement("input",{name:a,type:"hidden",value:l})}var u=s.length>0?s.map(function(t,r){return h.createElement("input",{key:"i-".concat(r),name:a,type:"hidden",value:e.getOptionValue(t)})}):h.createElement("input",{name:a,type:"hidden",value:""});return h.createElement("div",null,u)}var c=s[0]?this.getOptionValue(s[0]):"";return h.createElement("input",{name:a,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,r=t.ariaSelection,i=t.focusedOption,a=t.focusedValue,o=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return h.createElement(S,(0,n.Z)({},e,{id:this.getElementId("live-region"),ariaSelection:r,focusedOption:i,focusedValue:a,isFocused:o,selectValue:s,focusableOptions:l,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,r=e.IndicatorsContainer,i=e.SelectContainer,a=e.ValueContainer,o=this.props,s=o.className,l=o.id,u=o.isDisabled,c=o.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return h.createElement(i,(0,n.Z)({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:u,isFocused:d}),this.renderLiveRegion(),h.createElement(t,(0,n.Z)({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:u,isFocused:d,menuIsOpen:c}),h.createElement(a,(0,n.Z)({},p,{isDisabled:u}),this.renderPlaceholderOrValue(),this.renderInput()),h.createElement(r,(0,n.Z)({},p,{isDisabled:u}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],a=[{key:"getDerivedStateFromProps",value:function(e,t){var r=t.prevProps,n=t.clearFocusValueOnUpdate,a=t.inputIsHiddenAfterUpdate,o=t.ariaSelection,s=t.isFocused,l=t.prevWasFocused,u=t.instancePrefix,c=e.options,d=e.value,p=e.menuIsOpen,f=e.inputValue,h=e.isMulti,g=(0,m.H)(d),v={};if(r&&(d!==r.value||c!==r.options||p!==r.menuIsOpen||f!==r.inputValue)){var y,b=p?en(er(e,g)):[],x=p?ei(er(e,g),"".concat(u,"-option")):[],w=n?function(e,t){var r=e.focusedValue,n=e.selectValue.indexOf(r);if(n>-1){if(t.indexOf(r)>-1)return r;if(n<t.length)return t[n]}return null}(t,g):null,E=(y=t.focusedOption)&&b.indexOf(y)>-1?y:b[0],S=eo(x,E);v={selectValue:g,focusedOption:E,focusedOptionId:S,focusableOptionsWithIds:x,focusedValue:w,clearFocusValueOnUpdate:!1}}var T=null!=a&&e!==r?{inputIsHidden:a,inputIsHiddenAfterUpdate:void 0}:{},_=o,k=s&&l;return s&&!k&&(_={value:(0,m.D)(h,g,g[0]||null),options:g,action:"initial-input-focus"},k=!l),(null==o?void 0:o.action)==="initial-input-focus"&&(_=null),(0,i.Z)((0,i.Z)((0,i.Z)({},v),T),{},{prevProps:e,ariaSelection:_,prevWasFocused:k})}}],r&&o(p.prototype,r),a&&o(p,a),Object.defineProperty(p,"prototype",{writable:!1}),p}(h.Component);eh.defaultProps=ee},58620:function(e,t,r){"use strict";r.d(t,{A:function(){return I},B:function(){return D},C:function(){return N},D:function(){return j},E:function(){return b},F:function(){return eO},G:function(){return T},H:function(){return x},I:function(){return O},J:function(){return y},K:function(){return L},L:function(){return S},M:function(){return Z},a:function(){return es},b:function(){return K},d:function(){return ep},e:function(){return eo},f:function(){return em},g:function(){return eh},h:function(){return el},i:function(){return J},j:function(){return ev},k:function(){return q},l:function(){return ec},m:function(){return V},n:function(){return U},o:function(){return Y},p:function(){return ex},q:function(){return ew},r:function(){return B},s:function(){return R},t:function(){return eE},u:function(){return W},v:function(){return eT},w:function(){return e_},x:function(){return ek},y:function(){return X},z:function(){return A}});
1var n,i,a,o=r(84894),s=r(82970),l=r(75114),u=r(18693),c=r(52991),d=r(26390),p=r(28578),f=r(2265),h=r(54887),m=r(85815),g=r(18461),v=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],y=function(){};function b(e,t){for(var r=arguments.length,n=Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];var a=[].concat(n);if(t&&e)for(var o in t)t.hasOwnProperty(o)&&t[o]&&a.push("".concat(o?"-"===o[0]?e+o:e+"__"+o:e));return a.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var x=function(e){return Array.isArray(e)?e.filter(Boolean):"object"===(0,d.Z)(e)&&null!==e?[e]:[]},w=function(e){e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme;var t=(0,c.Z)(e,v);return(0,o.Z)({},t)},E=function(e,t,r){var n=e.cx,i=e.getStyles,a=e.getClassNames,o=e.className;return{css:i(t,e),className:n(null!=r?r:{},a(t,e),o)}};function S(e,t,r){if(r){var n=r(e,t);if("string"==typeof n)return n}return e}function T(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function _(e){return T(e)?window.pageYOffset:e.scrollTop}function k(e,t){if(T(e)){window.scrollTo(0,t);return}e.scrollTop=t}function C(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:y,i=_(e),a=t-i,o=0;!function t(){var s;o+=10,k(e,a*((s=(s=o)/r-1)*s*s+1)+i),o<r?window.requestAnimationFrame(t):n(e)}()}function O(e,t){var r=e.getBoundingClientRect(),n=t.getBoundingClientRect(),i=t.offsetHeight/3;n.bottom+i>r.bottom?k(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):n.top-i<r.top&&k(e,Math.max(t.offsetTop-i,0))}function A(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function I(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}var P=!1,M="undefined"!=typeof window?window:{};M.addEventListener&&M.removeEventListener&&(M.addEventListener("p",y,{get passive(){return P=!0}}),M.removeEventListener("p",y,!1));var R=P;function L(e){return null!=e}function j(e,t,r){return e?t:r}function N(e){return e}function D(e){return e}var B=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return Object.entries(e).filter(function(e){var t=(0,u.Z)(e,1)[0];return!r.includes(t)}).reduce(function(e,t){var r=(0,u.Z)(t,2),n=r[0],i=r[1];return e[n]=i,e},{})},F=["children","innerProps"],z=["children","innerProps"],H=function(e){return"auto"===e?"bottom":e},V=function(e,t){var r,n=e.placement,i=e.theme,a=i.borderRadius,s=i.spacing,l=i.colors;return(0,o.Z)((r={label:"menu"},(0,p.Z)(r,n?({bottom:"top",top:"bottom"})[n]:"bottom","100%"),(0,p.Z)(r,"position","absolute"),(0,p.Z)(r,"width","100%"),(0,p.Z)(r,"zIndex",1),r),t?{}:{backgroundColor:l.neutral0,borderRadius:a,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:s.menuGutter,marginTop:s.menuGutter})},$=(0,f.createContext)(null),Z=function(e){var t=e.children,r=e.minMenuHeight,n=e.maxMenuHeight,i=e.menuPlacement,a=e.menuPosition,s=e.menuShouldScrollIntoView,l=e.theme,c=((0,f.useContext)($)||{}).setPortalPlacement,d=(0,f.useRef)(null),p=(0,f.useState)(n),h=(0,u.Z)(p,2),m=h[0],v=h[1],y=(0,f.useState)(null),b=(0,u.Z)(y,2),x=b[0],w=b[1],E=l.spacing.controlHeight;return(0,g.Z)(function(){var e=d.current;if(e){var t="fixed"===a,o=function(e){var t=e.maxHeight,r=e.menuEl,n=e.minHeight,i=e.placement,a=e.shouldScroll,o=e.isFixedPosition,s=e.controlHeight,l=function(e){var t=getComputedStyle(e),r="absolute"===t.position,n=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!r||"static"!==t.position)&&n.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}(r),u={placement:"bottom",maxHeight:t};if(!r||!r.offsetParent)return u;var c=l.getBoundingClientRect().height,d=r.getBoundingClientRect(),p=d.bottom,f=d.height,h=d.top,m=r.offsetParent.getBoundingClientRect().top,g=o?window.innerHeight:T(l)?window.innerHeight:l.clientHeight,v=_(l),y=parseInt(getComputedStyle(r).marginBottom,10),b=parseInt(getComputedStyle(r).marginTop,10),x=m-b,w=g-h,E=x+v,S=c-v-h,O=p-g+v+y,A=v+h-b;switch(i){case"auto":case"bottom":if(w>=f)return{placement:"bottom",maxHeight:t};if(S>=f&&!o)return a&&C(l,O,160),{placement:"bottom",maxHeight:t};if(!o&&S>=n||o&&w>=n)return a&&C(l,O,160),{placement:"bottom",maxHeight:o?w-y:S-y};if("auto"===i||o){var I=t,P=o?x:E;return P>=n&&(I=Math.min(P-y-s,t)),{placement:"top",maxHeight:I}}if("bottom"===i)return a&&k(l,O),{placement:"bottom",maxHeight:t};break;case"top":if(x>=f)return{placement:"top",maxHeight:t};if(E>=f&&!o)return a&&C(l,A,160),{placement:"top",maxHeight:t};if(!o&&E>=n||o&&x>=n){var M=t;return(!o&&E>=n||o&&x>=n)&&(M=o?x-b:E-b),a&&C(l,A,160),{placement:"top",maxHeight:M}}return{placement:"bottom",maxHeight:t};default:throw Error('Invalid placement provided "'.concat(i,'".'))}return u}({maxHeight:n,menuEl:e,minHeight:r,placement:i,shouldScroll:s&&!t,isFixedPosition:t,controlHeight:E});v(o.maxHeight),w(o.placement),null==c||c(o.placement)}},[n,i,a,s,r,c,E]),t({ref:d,placerProps:(0,o.Z)((0,o.Z)({},e),{},{placement:x||H(i),maxHeight:m})})},U=function(e,t){var r=e.maxHeight,n=e.theme.spacing.baseUnit;return(0,o.Z)({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:n,paddingTop:n})},G=function(e,t){var r=e.theme,n=r.spacing.baseUnit,i=r.colors;return(0,o.Z)({textAlign:"center"},t?{}:{color:i.neutral40,padding:"".concat(2*n,"px ").concat(3*n,"px")}
vendor: 4,636 bytes, line 1
1)},W=G,q=G,Y=function(e){var t=e.rect,r=e.offset,n=e.position;return{left:t.left,position:n,top:r,width:t.width,zIndex:1}},K=function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},X=function(e,t){var r=e.theme.spacing,n=e.isMulti,i=e.hasValue,a=e.selectProps.controlShouldRenderValue;return(0,o.Z)({alignItems:"center",display:n&&i&&a?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(2*r.baseUnit,"px")})},J=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},Q=["size"],ee=["innerProps","isRtl","size"],et={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},er=function(e){var t=e.size,r=(0,c.Z)(e,Q);return(0,l.tZ)("svg",(0,s.Z)({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:et},r))},en=function(e){return(0,l.tZ)(er,(0,s.Z)({size:20},e),(0,l.tZ)("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},ei=function(e){return(0,l.tZ)(er,(0,s.Z)({size:20},e),(0,l.tZ)("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},ea=function(e,t){var r=e.isFocused,n=e.theme,i=n.spacing.baseUnit,a=n.colors;return(0,o.Z)({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:r?a.neutral60:a.neutral20,padding:2*i,":hover":{color:r?a.neutral80:a.neutral40}})},eo=ea,es=ea,el=function(e,t){var r=e.isDisabled,n=e.theme,i=n.spacing.baseUnit,a=n.colors;return(0,o.Z)({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:r?a.neutral10:a.neutral20,marginBottom:2*i,marginTop:2*i})},eu=(0,l.F4)(a||(n=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],i||(i=n.slice(0)),a=Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(i)}})))),ec=function(e,t){var r=e.isFocused,n=e.size,i=e.theme,a=i.colors,s=i.spacing.baseUnit;return(0,o.Z)({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"},t?{}:{color:r?a.neutral60:a.neutral20,padding:2*s})},ed=function(e){var t=e.delay,r=e.offset;return(0,l.tZ)("span",{css:(0,l.iv)({animation:"".concat(eu," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},ep=function(e,t){var r=e.isDisabled,n=e.isFocused,i=e.theme,a=i.colors,s=i.borderRadius,l=i.spacing;return(0,o.Z)({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:l.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:r?a.neutral5:a.neutral0,borderColor:r?a.neutral10:n?a.primary:a.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(a.primary):void 0,"&:hover":{borderColor:n?a.primary:a.neutral30}})},ef=["data"],eh=function(e,t){var r=e.theme.spacing;return t?{}:{paddingBottom:2*r.baseUnit,paddingTop:2*r.baseUnit}},em=function(e,t){var r=e.theme,n=r.colors,i=r.spacing;return(0,o.Z)({label:"group",cursor:"default",display:"block"},t?{}:{color:n.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*i.baseUnit,paddingRight:3*i.baseUnit,textTransform:"uppercase"})},eg=["innerRef","isDisabled","isHidden","inputClassName"],ev=function(e,t){var r=e.isDisabled,n=e.value,i=e.theme,a=i.spacing,s=i.colors;return(0,o.Z)((0,o.Z)({visibility:r?"hidden":"visible",transform:n?"translateZ(0)":""},eb),t?{}:{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,color:s.neutral80})},ey={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},eb={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":(0,o.Z)({content:'attr(data-value) " "',visibility:"hidden",
1whiteSpace:"pre"},ey)},ex=function(e,t){var r=e.theme,n=r.spacing,i=r.borderRadius,a=r.colors;return(0,o.Z)({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:a.neutral10,borderRadius:i/2,margin:n.baseUnit/2})},ew=function(e,t){var r=e.theme,n=r.borderRadius,i=r.colors,a=e.cropWithEllipsis;return(0,o.Z)({overflow:"hidden",textOverflow:a||void 0===a?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:n/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},eE=function(e,t){var r=e.theme,n=r.spacing,i=r.borderRadius,a=r.colors,s=e.isFocused;return(0,o.Z)({alignItems:"center",display:"flex"},t?{}:{borderRadius:i/2,backgroundColor:s?a.dangerLight:void 0,paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:a.dangerLight,color:a.danger}})},eS=function(e){var t=e.children,r=e.innerProps;return(0,l.tZ)("div",r,t)},eT=function(e,t){var r=e.isDisabled,n=e.isFocused,i=e.isSelected,a=e.theme,s=a.spacing,l=a.colors;return(0,o.Z)({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:i?l.primary:n?l.primary25:"transparent",color:r?l.neutral20:i?l.neutral0:"inherit",padding:"".concat(2*s.baseUnit,"px ").concat(3*s.baseUnit,"px"),":active":{backgroundColor:r?void 0:i?l.primary:l.primary50}})},e_=function(e,t){var r=e.theme,n=r.spacing,i=r.colors;return(0,o.Z)({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:i.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2})},ek=function(e,t){var r=e.isDisabled,n=e.theme,i=n.spacing,a=n.colors;return(0,o.Z)({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:r?a.neutral40:a.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},eC={ClearIndicator:function(e){var t=e.children,r=e.innerProps;return(0,l.tZ)("div",(0,s.Z)({},E(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),t||(0,l.tZ)(en,null))},Control:function(e){var t=e.children,r=e.isDisabled,n=e.isFocused,i=e.innerRef,a=e.innerProps,o=e.menuIsOpen;return(0,l.tZ)("div",(0,s.Z)({ref:i},E(e,"control",{control:!0,"control--is-disabled":r,"control--is-focused":n,"control--menu-is-open":o}),a,{"aria-disabled":r||void 0}),t)},DropdownIndicator:function(e){var t=e.children,r=e.innerProps;return(0,l.tZ)("div",(0,s.Z)({},E(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),t||(0,l.tZ)(ei,null))},DownChevron:ei,CrossIcon:en,Group:function(e){var t=e.children,r=e.cx,n=e.getStyles,i=e.getClassNames,a=e.Heading,o=e.headingProps,u=e.innerProps,c=e.label,d=e.theme,p=e.selectProps;return(0,l.tZ)("div",(0,s.Z)({},E(e,"group",{group:!0}),u),(0,l.tZ)(a,(0,s.Z)({},o,{selectProps:p,theme:d,getStyles:n,getClassNames:i,cx:r}),c),(0,l.tZ)("div",null,t))},GroupHeading:function(e){var t=w(e);t.data;var r=(0,c.Z)(t,ef);return(0,l.tZ)("div",(0,s.Z)({},E(e,"groupHeading",{"group-heading":!0}),r))},IndicatorsContainer:function(e){var t=e.children,r=e.innerProps;return(0,l.tZ)("div",(0,s.Z)({},E(e,"indicatorsContainer",{indicators:!0}),r),t)},IndicatorSeparator:function(e){var t=e.innerProps;return(0,l.tZ)("span",(0,s.Z)({},t,E(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,r=e.value,n=w(e),i=n.innerRef,a=n.isDisabled,u=n.isHidden,d=n.inputClassName,p=(0,c.Z)(n,eg);return(0,l.tZ)("div",(0,s.Z)({},E(e,"input",{"input-container":!0}),{"data-value":r||""}),(0,l.tZ)("input",(0,s.Z)({className:t({input:!0},d),ref:i,style:(0,o.Z)({label:"input",color:"inherit",background:0,opacity:u?0:1,width:"100%"},ey),disabled:a},p)))},LoadingIndicator:function(e){var t=e.innerProps,r=e.isRtl,n=e.size,i=(0,c.Z)(e,ee);return(0,l.tZ)("div",(0,s.Z)({},E((0,o.Z)((0,o.Z)({},i),{},{innerProps:t,isRtl:r,size:void 0===n?4:n}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),(0,l.tZ)(ed,{delay:0,offset:r}),(0,l.tZ)(ed,{delay:160,offset:!0}),(0,l.tZ)(ed,{delay:320,offset:!r}))},Menu:function(e){var t=e.children,r=e.innerRef,n=e.innerProps;return(0,l.tZ)("div",(0,s.Z)({},E(e,"menu",{menu:!0}),{ref:r},n),t)},MenuList:function(e){var t=e.children,r=e.innerProps,n=e.innerRef,i=e.isMulti;return(0,l.tZ)("div",(0,s.Z)({},E(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:n},r),t)},MenuPortal:function(e){var t=e.appendTo,r=e.children,n=e.controlElement,i=e.innerProps,a=e.menuPlacement,c=e.menuPosition,d=(0,f.useRef)(null),p=(0,f.useRef)(null),v=(0,f.useState)(H(a)),y=(0,u.Z)(v,2),b=y[0],x=y[1],w=(0,f.useMemo)(function(){return{setPortalPlacement:x}},[]),S=(0,f.useState)(null),T=(0,u.Z)(S,2),_=T[0],k=T[1],C=(0,f.useCallback)(function(){if(n){var e,t={bottom:(e=n.getBoundingClientRect()).bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width},r="fixed"===c?0:window.pageYOffset,i=t[b]+r;(i!==(null==_?void 0:_.offset)||t.left!==(null==_?void 0:_.rect.left)||t.width!==(null==_?void 0:_.rect.width))&&k({offset:i,rect:t})}},[n,c,b,null==_?void 0:_.offset,null==_?void 0:_.rect.left,null==_?void 0:_.rect.width]);(0,g.Z)(function(){C()},[C]);var O=(0,f.useCallback)(function(){"function"==typeof p.current&&(p.current(),p.current=null),n&&d.current&&(p.current=(0,m.Me)(n,d.current,C,{elementResize:"ResizeObserver"in window}))},[n,C]);(0,g.Z)(function(){O()},[O]);var A=(0,f.useCallback)(function(e){d.current=e,O()},[O]);if(!t&&"fixed"!==c||!_)return null;var I=(0,l.tZ)("div",(0,s.Z)({ref:A},E((0,o.Z)((0,o.Z)({},e),{},{offset:_.offset,position:c,rect:_.rect}),"menuPortal",{"menu-portal":!0}),i),r);return(0,l.tZ)($.Provider,{value:w},t?(0,h.createPortal)(I,t):I)}
1,LoadingMessage:function(e){var t=e.children,r=void 0===t?"Loading...":t,n=e.innerProps,i=(0,c.Z)(e,z);return(0,l.tZ)("div",(0,s.Z)({},E((0,o.Z)((0,o.Z)({},i),{},{children:r,innerProps:n}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),n),r)},NoOptionsMessage:function(e){var t=e.children,r=void 0===t?"No options":t,n=e.innerProps,i=(0,c.Z)(e,F);return(0,l.tZ)("div",(0,s.Z)({},E((0,o.Z)((0,o.Z)({},i),{},{children:r,innerProps:n}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),n),r)},MultiValue:function(e){var t=e.children,r=e.components,n=e.data,i=e.innerProps,a=e.isDisabled,s=e.removeProps,u=e.selectProps,c=r.Container,d=r.Label,p=r.Remove;return(0,l.tZ)(c,{data:n,innerProps:(0,o.Z)((0,o.Z)({},E(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":a})),i),selectProps:u},(0,l.tZ)(d,{data:n,innerProps:(0,o.Z)({},E(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:u},t),(0,l.tZ)(p,{data:n,innerProps:(0,o.Z)((0,o.Z)({},E(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},s),selectProps:u}))},MultiValueContainer:eS,MultiValueLabel:eS,MultiValueRemove:function(e){var t=e.children,r=e.innerProps;return(0,l.tZ)("div",(0,s.Z)({role:"button"},r),t||(0,l.tZ)(en,{size:14}))},Option:function(e){var t=e.children,r=e.isDisabled,n=e.isFocused,i=e.isSelected,a=e.innerRef,o=e.innerProps;return(0,l.tZ)("div",(0,s.Z)({},E(e,"option",{option:!0,"option--is-disabled":r,"option--is-focused":n,"option--is-selected":i}),{ref:a,"aria-disabled":r},o),t)},Placeholder:function(e){var t=e.children,r=e.innerProps;return(0,l.tZ)("div",(0,s.Z)({},E(e,"placeholder",{placeholder:!0}),r),t)},SelectContainer:function(e){var t=e.children,r=e.innerProps,n=e.isDisabled,i=e.isRtl;return(0,l.tZ)("div",(0,s.Z)({},E(e,"container",{"--is-disabled":n,"--is-rtl":i}),r),t)},SingleValue:function(e){var t=e.children,r=e.isDisabled,n=e.innerProps;return(0,l.tZ)("div",(0,s.Z)({},E(e,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),n),t)},ValueContainer:function(e){var t=e.children,r=e.innerProps,n=e.isMulti,i=e.hasValue;return(0,l.tZ)("div",(0,s.Z)({},E(e,"valueContainer",{"value-container":!0,"value-container--is-multi":n,"value-container--has-value":i}),r),t)}},eO=function(e){return(0,o.Z)((0,o.Z)({},eC),e.components)}},87253:function(e,t,r){"use strict";r.d(t,{ZP:function(){return s}});var n=r(52917),i=r(82970),a=r(2265),o=r(23691);r(34152),r(54887),r(18461);var s=(0,a.forwardRef)(function(e,t){var r=(0,n.u)(e);return a.createElement(o.S,(0,i.Z)({ref:t},r))})},52917:function(e,t,r){"use strict";r.d(t,{u:function(){return l}});var n=r(84894),i=r(18693),a=r(52991),o=r(2265),s=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function l(e){var t=e.defaultInputValue,r=e.defaultMenuIsOpen,l=e.defaultValue,u=e.inputValue,c=e.menuIsOpen,d=e.onChange,p=e.onInputChange,f=e.onMenuClose,h=e.onMenuOpen,m=e.value,g=(0,a.Z)(e,s),v=(0,o.useState)(void 0!==u?u:void 0===t?"":t),y=(0,i.Z)(v,2),b=y[0],x=y[1],w=(0,o.useState)(void 0!==c?c:void 0!==r&&r),E=(0,i.Z)(w,2),S=E[0],T=E[1],_=(0,o.useState)(void 0!==m?m:void 0===l?null:l),k=(0,i.Z)(_,2),C=k[0],O=k[1],A=(0,o.useCallback)(function(e,t){"function"==typeof d&&d(e,t),O(e)},[d]),I=(0,o.useCallback)(function(e,t){var r;"function"==typeof p&&(r=p(e,t)),x(void 0!==r?r:e)},[p]),P=(0,o.useCallback)(function(){"function"==typeof h&&h(),T(!0)},[h]),M=(0,o.useCallback)(function(){"function"==typeof f&&f(),T(!1)},[f]),R=void 0!==u?u:b,L=void 0!==c?c:S,j=void 0!==m?m:C;return(0,n.Z)((0,n.Z)({},g),{},{inputValue:R,menuIsOpen:L,onChange:A,onInputChange:I,onMenuClose:M,onMenuOpen:P,value:j})}},11753:function(e,t,r){"use strict";r.d(t,{Eu:function(){return d},ME:function(){return f},MM:function(){return c},S2:function(){return h},bw:function(){return p},e3:function(){return s},et:function(){return m},iZ:function(){return l},mD:function(){return u},sY:function(){return g}});var n=r(2265);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?i(Object(r),!0).forEach(function(t){var n,i;n=t,i=r[t],(n=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(n))in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let o=["component"],s="paragraph",l="ordered_list",u="bullet_list",c="image",d="table",p="tableHeader",f="tableRow",h="tableCell",m="link";function g(e,t={}){if("object"==typeof e&&"doc"===e.type&&Array.isArray(e.content)){let r=t.blokResolvers,i=void 0===r?{}:r,s=t.defaultBlokResolver,l=void 0===s?function(){return null}:s,u=t.nodeResolvers,c=t.markResolvers,d=t.textResolver,p=void 0===d?function(e){return e}:d,f=a(a({},w),void 0===u?{}:u),h=a(a({},E),void 0===c?{}:c),m=0,g=function(e){return n.isValidElement(e)?n.cloneElement(e,{key:m++}):e},v=function(e){let t=e?e.map(y).filter(function(e){return null!=e}):null;return Array.isArray(t)&&0===t.length?null:t},y=function(e){if("blok"===e.type)return e.attrs.body.map(function(e){let t=e.component,r=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&({}).propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,o),n=i[t];return g(n?n(r):l(t,r))});{var t;let r;if("text"===e.type)r=p(e.text);else{let t=f[e.type];r=t?g(t(v(e.content),e.attrs)):null}return(null!==(t=e.marks)&&void 0!==t?t:[]).reduceRight(function(e,t){let r=h[t.type];return r?g(r(e,t.attrs)):e},r)}};return v(e.content)}if("string"==typeof e){let r=t.defaultStringResolver,n=t.textResolver;return(void 0===r?function(e){return e}:r)((void 0===n?function(e){return e}:n)(e))}return null}let v=function(e){return function(t){return null!=t?n.createElement(e,null,t):null}},y=function(e){return function(){return n.createElement(e)}},b=function(e){return function(t,r){let i={},a={};return 1!==r.colspan&&(i.colspan=r.colspan),1!==r.rowspan&&(i.rowspan=r.rowspan),r.backgroundColor&&(a.backgroundColor=r.backgroundColor),Array.isArray(r.colwidth)&&(1===r.colwidth.length?a.width=r.colwidth[0]+"px":i["data-colwidth"]=r.colwidth.join(",")),Object.keys(a).length>0&&(i.style=a),n.createElement(e,i,t)}},x=function(e){return function(t){return n.createElement(e,null,t)}},w={heading:function(e,t){return n.createElement(`h${t.level}`,null,e)},code_block:function(e,t){let r={className:t.class},i=n.createElement("code",r,e);return n.createElement("pre",null,i)},[c]:function(e,t){return n.createElement("img",t,e)},[s]:v("p"),blockquote:v("blockquote"),[l]:v("ol"),[u]:v("ul"),list_item:v("li"),horizontal_rule:y("hr"),hard_break:y("br"),emoji:function(e,t){if(!t)return null;let r={"data-type":"emoji","data-name":t.name,emoji:t.emoji};if(t.emoji||!t.fallbackImage)return n.createElement("span",r,t.emoji);{let e={src:t.fallbackImage,draggable:"false",loading:"lazy",align:"absmiddle",alt:t.name},i=n.createElement("img",e);return n.createElement("span",r,i)}},[d]:v("table"),[f]:v("tr"),[p]:b("th"),[h]:b("td")},E={[m]:function(e,t){let r=t?{href:"email"===t.linktype?`mailto:${t.href}`:t.href,target:t.target}:{};return n.createElement("a",r,e)},styled:function(e,t){let r=t?{className:t.class}:{};return n.createElement("span",r,e)},bold:x("b"),italic:x("i"),strike:x("s"),underline:x("u"),code:x("code"),subscript:x("sub"),superscript:x("sup"),highlight:function(e,t){let r=t?{style:{backgroundColor:t.color}}:{};return n.createElement("span",r,e)},textStyle:function(e,t){let r=t?.color?{style:{color:t.color}}:{};return n.createElement("span",r,e)},anchor:function(e,t){let r=t?{id:t.id}:{};return n.createElement("span",r,e)}}},54248:function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.YouTubeEmbed=t.GoogleMapsEmbed=t.GoogleAnalytics=void 0;var n=r(98951);Object.defineProperty(t,"GoogleAnalytics",{enumerable:!0,get:function(){return n.GoogleAnalytics}});var i=r(95060);Object.defineProperty(t,"GoogleMapsEmbed",{enumerable:!0,get:function(){return i.GoogleMapsEmbed}});var a=r(81722);Object.defineProperty(t,"YouTubeEmbed",{enumerable:!0,get:function(){return a.YouTubeEmbed}})},98951:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleAnalytics=void 0;let a=i(r(46893)),o=r(59090);t.GoogleAnalytics=e=>{var t=n(e,[]);return(0,o.formatData)(a.default,t)}},95060:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleMapsEmbed=void 0;let a=i(r(46362)),o=r(59090);t.GoogleMapsEmbed=e=>{var t=n(e,[]);return(0,o.formatData)(a.default,t)}},81722:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.YouTubeEmbed=void 0;let a=i(r(95825)),o=r(59090);t.YouTubeEmbed=e=>{var t=n(e,[]);return(0,o.formatData)(a.default,t)}},59090:function(e,t){"use strict";function r(e,t,r=!1){return t?Object.keys(e).filter(e=>r?!t.includes(e):t.includes(e)).reduce((t,r)=>(t[r]=e[r],t),{}):{}}function n(e,t,r,n){let i=n&&Object.keys(n).length>0?new URL(Object.values(n)[0],e):new URL(e);return t&&r&&t.forEach(e=>{r[e]&&i.searchParams.set(e,r[e])}),i.toString()}function i(e,t,r,i,a){var o;if(!t)return`<${e}></${e}>`;let s=(null===(o=t.src)||void 0===o?void 0:o.url)?Object.assign(Object.assign({},t),{src:n(t.src.url,t.src.params,i,a)}):t,l=Object.keys(Object.assign(Object.assign({},s),r)).reduce((e,t)=>{let n=null==r?void 0:r[t],i=s[t],a=null!=n?n:i,o=!0===a?t:`${t}="${a}"`;return a?e+` ${o}`:e},"");return`<${e}${l}></${e}>`}Object.defineProperty(t,"__esModule",{value:!0}),t.formatData=t.createHtml=t.formatUrl=void 0,t.formatUrl=n,t.createHtml=i,t.formatData=function(e,t){var a,o,s,l,u;let c=r(t,null===(a=e.scripts)||void 0===a?void 0:a.reduce((e,t)=>[...e,...Array.isArray(t.params)?t.params:[]],[])),d=r(t,null===(s=null===(o=e.html)||void 0===o?void 0:o.attributes.src)||void 0===s?void 0:s.params),p=r(t,[null===(u=null===(l=e.html)||void 0===l?void 0:l.attributes.src)||void 0===u?void 0:u.slugParam]),f=r(t,[...Object.keys(c),...Object.keys(d),...Object.keys(p)],!0);return Object.assign(Object.assign({},e),{html:e.html?i(e.html.element,e.html.attributes,f,d,p):null,scripts:e.scripts?e.scripts.map(e=>Object.assign(Object.assign({},e),{url:n(e.url,e.params,c)})):null})}},85831:function(e,t,r){"use strict";e.exports=r(99896)},18706:function(e,t,r){"use strict";e.exports=r(89450)},74332:function(e,t,r){"use strict";e.exports=r(7839)},75883:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(18202),i=r(158);r(88397),r(2265),r(35088),t.IntlError=n.IntlError,t.IntlErrorCode=n.IntlErrorCode,t.createFormatter=n.createFormatter,t._createCache=i.createCache,t._createIntlFormatters=i.createIntlFormatters,t.initializeConfig=i.initializeConfig,t.createTranslator=function(e){let{_cache:t=i.createCache(),_formatters:r=i.createIntlFormatters(t),getMessageFallback:a=i.defaultGetMessageFallback,messages:o,namespace:s,onError:l=i.defaultOnError,...u}=e;return function(e,t){let{messages:r,namespace:i,...a}=e;return r=r["!"],i=n.resolveNamespace(i,"!"),n.createBaseTranslator({...a,messages:r,namespace:i})}
1({...u,onError:l,cache:t,formatters:r,getMessageFallback:a,messages:{"!":o},namespace:s?"!.".concat(s):"!"},0)}},18202:function(e,t,r){"use strict";var n,i=r(88397),a=r(2265),o=r(158),s=i&&i.__esModule?i:{default:i};function l(e,t,r){var n;return(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let u=((n={}).MISSING_MESSAGE="MISSING_MESSAGE",n.MISSING_FORMAT="MISSING_FORMAT",n.ENVIRONMENT_FALLBACK="ENVIRONMENT_FALLBACK",n.INSUFFICIENT_PATH="INSUFFICIENT_PATH",n.INVALID_MESSAGE="INVALID_MESSAGE",n.INVALID_KEY="INVALID_KEY",n.FORMATTING_ERROR="FORMATTING_ERROR",n);class c extends Error{constructor(e,t){let r=e;t&&(r+=": "+t),super(r),l(this,"code",void 0),l(this,"originalMessage",void 0),this.code=e,t&&(this.originalMessage=t)}}function d(e,t){return e?Object.keys(e).reduce((r,n)=>(r[n]={timeZone:t,...e[n]},r),{}):e}function p(e,t,r,n){let i=o.joinPath(n,r);if(!t)throw Error(i);let a=t;return r.split(".").forEach(t=>{let r=a[t];if(null==t||null==r)throw Error(i+" (".concat(e,")"));a=r}),a}let f=365/12*86400,h={second:1,seconds:1,minute:60,minutes:60,hour:3600,hours:3600,day:86400,days:86400,week:604800,weeks:604800,month:365/12*86400,months:365/12*86400,quarter:365/12*259200,quarters:365/12*259200,year:31536e3,years:31536e3};t.IntlError=c,t.IntlErrorCode=u,t.createBaseTranslator=function(e){let t=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:o.defaultOnError;try{if(!t)throw Error(void 0);let n=r?p(e,t,r):t;if(!n)throw Error(r);return n}catch(t){let e=new c(u.MISSING_MESSAGE,t.message);return n(e),e}}(e.locale,e.messages,e.namespace,e.onError);return function(e){let{cache:t,defaultTranslationValues:r,formats:n,formatters:i,getMessageFallback:l=o.defaultGetMessageFallback,locale:f,messagesOrError:h,namespace:m,onError:g,timeZone:v}=e,y=h instanceof c;function b(e,t,r){let n=new c(t,r);return g(n),l({error:n,key:e,namespace:m})}function x(e,c,g){let x,w;if(y)return l({error:h,key:e,namespace:m});try{x=p(f,h,e,m)}catch(t){return b(e,u.MISSING_MESSAGE,t.message)}if("object"==typeof x){let t;return b(e,Array.isArray(x)?u.INVALID_MESSAGE:u.INSUFFICIENT_PATH,t)}let E=function(e,t){if(t)return;let r=e.replace(/'([{}])/gi,"$1");return/<|{/.test(r)?void 0:r}(x,c);if(E)return E;i.getMessageFormat||(i.getMessageFormat=o.memoFn(function(){return new s.default(arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],{formatters:i,...arguments.length<=3?void 0:arguments[3]})},t.message));try{w=i.getMessageFormat(x,f,function(e,t){let r=t?{...e,dateTime:d(e.dateTime,t)}:e,n=s.default.formats.date,i=t?d(n,t):n,a=s.default.formats.time,o=t?d(a,t):a;return{...r,date:{...i,...r.dateTime},time:{...o,...r.dateTime}}}({...n,...g},v),{formatters:{...i,getDateTimeFormat:(e,t)=>i.getDateTimeFormat(e,{timeZone:v,...t})}})}catch(t){return b(e,u.INVALID_MESSAGE,t.message)}try{let e=w.format(function(e){if(0===Object.keys(e).length)return;let t={};return Object.keys(e).forEach(r=>{let n,i=0,o=e[r];n="function"==typeof o?e=>{let t=o(e);return a.isValidElement(t)?a.cloneElement(t,{key:r+i++}):t}:o,t[r]=n}),t}({...r,...c}));if(null==e)throw Error(void 0);return a.isValidElement(e)||Array.isArray(e)||"string"==typeof e?e:String(e)}catch(t){return b(e,u.FORMATTING_ERROR,t.message)}}function w(e,t,r){let n=x(e,t,r);return"string"!=typeof n?b(e,u.INVALID_MESSAGE,void 0):n}return w.rich=x,w.markup=(e,t,r)=>{let n=x(e,t,r);if("string"!=typeof n){let t=new c(u.FORMATTING_ERROR,void 0);return g(t),l({error:t,key:e,namespace:m})}return n},w.raw=e=>{if(y)return l({error:h,key:e,namespace:m});try{return p(f,h,e,m)}catch(t){return b(e,u.MISSING_MESSAGE,t.message)}},w.has=e=>{if(y)return!1;try{return p(f,h,e,m),!0}catch(e){return!1}},w}({...e,messagesOrError:t})},t.createFormatter=function(e){let{_cache:t=o.createCache(),_formatters:r=o.createIntlFormatters(t),formats:n,locale:i,now:a,onError:s=o.defaultOnError,timeZone:l}=e;function d(e){var t;return null!==(t=e)&&void 0!==t&&t.timeZone||(l?e={...e,timeZone:l}:s(new c(u.ENVIRONMENT_FALLBACK,void 0))),e}function p(e,t,r,n){let i;try{i=function(e,t){let r;if("string"==typeof t){if(!(r=null==e?void 0:e[t])){let e=new c(u.MISSING_FORMAT,void 0);throw s(e),e}}else r=t;return r}(t,e)}catch(e){return n()}try{return r(i)}catch(e){return s(new c(u.FORMATTING_ERROR,e.message)),n()}}function m(e,t){return p(t,null==n?void 0:n.dateTime,t=>(t=d(t),r.getDateTimeFormat(i,t).format(e)),()=>String(e))}function g(){return a||(s(new c(u.ENVIRONMENT_FALLBACK,void 0)),new Date)}return{dateTime:m,number:function(e,t){return p(t,null==n?void 0:n.number,t=>r.getNumberFormat(i,t).format(e),()=>String(e))},relativeTime:function(e,t){try{var n;let a,o;let s={};t instanceof Date||"number"==typeof t?a=new Date(t):t&&(a=null!=t.now?new Date(t.now):g(),o=t.unit,s.style=t.style,s.numberingSystem=t.numberingSystem),a||(a=g());let l=(new Date(e).getTime()-a.getTime())/1e3;o||(o=function(e){let t=Math.abs(e);return t<60?"second":t<3600?"minute":t<86400?"hour":t<604800?"day":t<f?"week":t<31536e3?"month":"year"}(l)),s.numeric="second"===o?"auto":"always";let u=(n=o,Math.round(l/h[n]));return r.getRelativeTimeFormat(i,s).format(u,o)}catch(t){return s(new c(u.FORMATTING_ERROR,t.message)),String(e)}},list:function(e,t){let a=[],o=new Map,s=0;for(let t of e){let e;"object"==typeof t?(e=String(s),o.set(e,t)):e=String(t),a.push(e),s++}return p(t,null==n?void 0:n.list,e=>{let t=r.getListFormat(i,e).formatToParts(a).map(e=>
1"literal"===e.type?e.value:o.get(e.value)||e.value);return o.size>0?t:t.join("")},()=>String(e))},dateTimeRange:function(e,t,a){return p(a,null==n?void 0:n.dateTime,n=>(n=d(n),r.getDateTimeFormat(i,n).formatRange(e,t)),()=>[m(e),m(t)].join("âââ"))}}},t.resolveNamespace=function(e,t){return e===t?void 0:e.slice((t+".").length)}},7839:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(18202),i=r(75883),a=r(158),o=r(99896),s=r(96706),l=r(92479);r(88397),r(2265),r(35088),r(77461),t.IntlError=n.IntlError,t.IntlErrorCode=n.IntlErrorCode,t.createFormatter=n.createFormatter,t.createTranslator=i.createTranslator,t._createCache=a.createCache,t._createIntlFormatters=a.createIntlFormatters,t.initializeConfig=a.initializeConfig,t.IntlProvider=o.IntlProvider,t.useFormatter=s.useFormatter,t.useMessages=s.useMessages,t.useNow=s.useNow,t.useTimeZone=s.useTimeZone,t.useTranslations=s.useTranslations,t.useLocale=l.useLocale},96706:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(99896),i=r(92479),a=r(2265),o=r(18202);r(158),r(35088),r(77461),r(88397);let s=!1,l="undefined"==typeof window;t.IntlProvider=n.IntlProvider,t.useLocale=i.useLocale,t.useFormatter=function(){let{formats:e,formatters:t,locale:r,now:n,onError:s,timeZone:l}=i.useIntlContext();return a.useMemo(()=>o.createFormatter({formats:e,locale:r,now:n,onError:s,timeZone:l,_formatters:t}),[e,t,n,r,s,l])},t.useMessages=function(){let e=i.useIntlContext();if(!e.messages)throw Error(void 0);return e.messages},t.useNow=function(e){let t=null==e?void 0:e.updateInterval,{now:r}=i.useIntlContext(),[n,o]=a.useState(r||new Date);return a.useEffect(()=>{if(!t)return;let e=setInterval(()=>{o(new Date)},t);return()=>{clearInterval(e)}},[r,t]),null==t&&r?r:n},t.useTimeZone=function(){return i.useIntlContext().timeZone},t.useTranslations=function(e){return function(e,t,r){let{cache:n,defaultTranslationValues:u,formats:c,formatters:d,getMessageFallback:p,locale:f,onError:h,timeZone:m}=i.useIntlContext(),g=e["!"],v=o.resolveNamespace(t,"!");return m||s||!l||(s=!0,h(new o.IntlError(o.IntlErrorCode.ENVIRONMENT_FALLBACK,void 0))),a.useMemo(()=>o.createBaseTranslator({cache:n,formatters:d,getMessageFallback:p,messages:g,defaultTranslationValues:u,namespace:v,onError:h,formats:c,locale:f,timeZone:m}),[n,d,p,g,u,v,h,c,f,m])}({"!":i.useIntlContext().messages},e?"!.".concat(e):"!",0)}},18461:function(e,t,r){"use strict";var n=r(2265).useLayoutEffect;t.Z=n},44196:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,{Z:function(){return n}})},28578:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(98926);function i(e,t,r){return(t=(0,n.Z)(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},82970:function(e,t,r){"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}r.d(t,{Z:function(){return n}})},84894:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(28578);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}},52991:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&({}).propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}r.d(t,{Z:function(){return n}})},18693:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(73292);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,a,o,s=[],l=!0,u=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){u=!0,i=e}
1finally{try{if(!l&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(u)throw i}}return s}}(e,t)||(0,n.Z)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},98926:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(26390);function i(e){var t=function(e,t){if("object"!=(0,n.Z)(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=(0,n.Z)(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,n.Z)(t)?t:t+""}},26390:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}r.d(t,{Z:function(){return n}})},73292:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(44196);function i(e,t){if(e){if("string"==typeof e)return(0,n.Z)(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?(0,n.Z)(e,t):void 0}}},85815:function(e,t,r){"use strict";r.d(t,{x7:function(){return ec},Me:function(){return ei},oo:function(){return ep},RR:function(){return es},Cp:function(){return eu},dr:function(){return ed},cv:function(){return ea},uY:function(){return eo},dp:function(){return el}});let n=["top","right","bottom","left"],i=Math.min,a=Math.max,o=Math.round,s=Math.floor,l=e=>({x:e,y:e}),u={left:"right",right:"left",bottom:"top",top:"bottom"},c={start:"end",end:"start"};function d(e,t){return"function"==typeof e?e(t):e}function p(e){return e.split("-")[0]}function f(e){return e.split("-")[1]}function h(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}function g(e){return["top","bottom"].includes(p(e))?"y":"x"}function v(e){return e.replace(/start|end/g,e=>c[e])}function y(e){return e.replace(/left|right|bottom|top/g,e=>u[e])}function b(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function x(e){let{x:t,y:r,width:n,height:i}=e;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}function w(e,t,r){let n,{reference:i,floating:a}=e,o=g(t),s=h(g(t)),l=m(s),u=p(t),c="y"===o,d=i.x+i.width/2-a.width/2,v=i.y+i.height/2-a.height/2,y=i[l]/2-a[l]/2;switch(u){case"top":n={x:d,y:i.y-a.height};break;case"bottom":n={x:d,y:i.y+i.height};break;case"right":n={x:i.x+i.width,y:v};break;case"left":n={x:i.x-a.width,y:v};break;default:n={x:i.x,y:i.y}}switch(f(t)){case"start":n[s]-=y*(r&&c?-1:1);break;case"end":n[s]+=y*(r&&c?-1:1)}return n}let E=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:o}=r,s=a.filter(Boolean),l=await (null==o.isRTL?void 0:o.isRTL(t)),u=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=w(u,n,l),p=n,f={},h=0;for(let r=0;r<s.length;r++){let{name:a,fn:m}=s[r],{x:g,y:v,data:y,reset:b}=await m({x:c,y:d,initialPlacement:n,placement:p,strategy:i,middlewareData:f,re
1cts:u,platform:o,elements:{reference:e,floating:t}});c=null!=g?g:c,d=null!=v?v:d,f={...f,[a]:{...f[a],...y}},b&&h<=50&&(h++,"object"==typeof b&&(b.placement&&(p=b.placement),b.rects&&(u=!0===b.rects?await o.getElementRects({reference:e,floating:t,strategy:i}):b.rects),{x:c,y:d}=w(u,p,l)),r=-1)}return{x:c,y:d,placement:p,strategy:i,middlewareData:f}};async function S(e,t){var r;void 0===t&&(t={});let{x:n,y:i,platform:a,rects:o,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:p="floating",altBoundary:f=!1,padding:h=0}=d(t,e),m=b(h),g=s[f?"floating"===p?"reference":"floating":p],v=x(await a.getClippingRect({element:null==(r=await (null==a.isElement?void 0:a.isElement(g)))||r?g:g.contextElement||await (null==a.getDocumentElement?void 0:a.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),y="floating"===p?{x:n,y:i,width:o.floating.width,height:o.floating.height}:o.reference,w=await (null==a.getOffsetParent?void 0:a.getOffsetParent(s.floating)),E=await (null==a.isElement?void 0:a.isElement(w))&&await (null==a.getScale?void 0:a.getScale(w))||{x:1,y:1},S=x(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:y,offsetParent:w,strategy:l}):y);return{top:(v.top-S.top+m.top)/E.y,bottom:(S.bottom-v.bottom+m.bottom)/E.y,left:(v.left-S.left+m.left)/E.x,right:(S.right-v.right+m.right)/E.x}}function T(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function _(e){return n.some(t=>e[t]>=0)}async function k(e,t){let{placement:r,platform:n,elements:i}=e,a=await (null==n.isRTL?void 0:n.isRTL(i.floating)),o=p(r),s=f(r),l="y"===g(r),u=["left","top"].includes(o)?-1:1,c=a&&l?-1:1,h=d(t,e),{mainAxis:m,crossAxis:v,alignmentAxis:y}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return s&&"number"==typeof y&&(v="end"===s?-1*y:y),l?{x:v*c,y:m*u}:{x:m*u,y:v*c}}function C(){return"undefined"!=typeof window}function O(e){return P(e)?(e.nodeName||"").toLowerCase():"#document"}function A(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function I(e){var t;return null==(t=(P(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function P(e){return!!C()&&(e instanceof Node||e instanceof A(e).Node)}function M(e){return!!C()&&(e instanceof Element||e instanceof A(e).Element)}function R(e){return!!C()&&(e instanceof HTMLElement||e instanceof A(e).HTMLElement)}function L(e){return!!C()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof A(e).ShadowRoot)}function j(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=z(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(i)}function N(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function D(e){let t=B(),r=M(e)?z(e):e;return"none"!==r.transform||"none"!==r.perspective||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","perspective","filter"].some(e=>(r.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(r.contain||"").includes(e))}function B(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function F(e){return["html","body","#document"].includes(O(e))}function z(e){return A(e).getComputedStyle(e)}function H(e){return M(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function V(e){if("html"===O(e))return e;let t=e.assignedSlot||e.parentNode||L(e)&&e.host||I(e);return L(t)?t.host:t}function $(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let i=function e(t){let r=V(t);return F(r)?t.ownerDocument?t.ownerDocument.body:t.body:R(r)&&j(r)?r:e(r)}(e),a=i===(null==(n=e.ownerDocument)?void 0:n.body),o=A(i);if(a){let e=Z(o);return t.concat(o,o.visualViewport||[],j(i)?i:[],e&&r?$(e):[])}return t.concat(i,$(i,[],r))}function Z(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function U(e){let t=z(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=R(e),a=i?e.offsetWidth:r,s=i?e.offsetHeight:n,l=o(r)!==a||o(n)!==s;return l&&(r=a,n=s),{width:r,height:n,$:l}}function G(e){return M(e)?e:e.contextElement}function W(e){let t=G(e);
1if(!R(t))return l(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:a}=U(t),s=(a?o(r.width):r.width)/n,u=(a?o(r.height):r.height)/i;return s&&Number.isFinite(s)||(s=1),u&&Number.isFinite(u)||(u=1),{x:s,y:u}}let q=l(0);function Y(e){let t=A(e);return B()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:q}function K(e,t,r,n){var i;void 0===t&&(t=!1),void 0===r&&(r=!1);let a=e.getBoundingClientRect(),o=G(e),s=l(1);t&&(n?M(n)&&(s=W(n)):s=W(e));let u=(void 0===(i=r)&&(i=!1),n&&(!i||n===A(o))&&i)?Y(o):l(0),c=(a.left+u.x)/s.x,d=(a.top+u.y)/s.y,p=a.width/s.x,f=a.height/s.y;if(o){let e=A(o),t=n&&M(n)?A(n):n,r=e,i=Z(r);for(;i&&n&&t!==r;){let e=W(i),t=i.getBoundingClientRect(),n=z(i),a=t.left+(i.clientLeft+parseFloat(n.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(n.paddingTop))*e.y;c*=e.x,d*=e.y,p*=e.x,f*=e.y,c+=a,d+=o,i=Z(r=A(i))}}return x({width:p,height:f,x:c,y:d})}function X(e,t){let r=H(e).scrollLeft;return t?t.left+r:K(I(e)).left+r}function J(e,t,r){let n;if("viewport"===t)n=function(e,t){let r=A(e),n=I(e),i=r.visualViewport,a=n.clientWidth,o=n.clientHeight,s=0,l=0;if(i){a=i.width,o=i.height;let e=B();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:a,height:o,x:s,y:l}}(e,r);else if("document"===t)n=function(e){let t=I(e),r=H(e),n=e.ownerDocument.body,i=a(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=a(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+X(e),l=-r.scrollTop;return"rtl"===z(n).direction&&(s+=a(t.clientWidth,n.clientWidth)-i),{width:i,height:o,x:s,y:l}}(I(e));else if(M(t))n=function(e,t){let r=K(e,!0,"fixed"===t),n=r.top+e.clientTop,i=r.left+e.clientLeft,a=R(e)?W(e):l(1),o=e.clientWidth*a.x;return{width:o,height:e.clientHeight*a.y,x:i*a.x,y:n*a.y}}(t,r);else{let r=Y(e);n={...t,x:t.x-r.x,y:t.y-r.y}}return x(n)}function Q(e){return"static"===z(e).position}function ee(e,t){if(!R(e)||"fixed"===z(e).position)return null;if(t)return t(e);let r=e.offsetParent;return I(e)===r&&(r=r.ownerDocument.body),r}function et(e,t){let r=A(e);if(N(e))return r;if(!R(e)){let t=V(e);for(;t&&!F(t);){if(M(t)&&!Q(t))return t;t=V(t)}return r}let n=ee(e,t);for(;n&&["table","td","th"].includes(O(n))&&Q(n);)n=ee(n,t);return n&&F(n)&&Q(n)&&!D(n)?r:n||function(e){let t=V(e);for(;R(t)&&!F(t);){if(D(t))return t;if(N(t))break;t=V(t)}return null}(e)||r}let er=async function(e){let t=this.getOffsetParent||et,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=R(t),i=I(t),a="fixed"===r,o=K(e,!0,a,t),s={scrollLeft:0,scrollTop:0},u=l(0);if(n||!n&&!a){if(("body"!==O(t)||j(i))&&(s=H(t)),n){let e=K(t,!0,a,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else i&&(u.x=X(i))}let c=0,d=0;if(i&&!n&&!a){let e=i.getBoundingClientRect();d=e.top+s.scrollTop,c=e.left+s.scrollLeft-X(i,e)}return{x:o.left+s.scrollLeft-u.x-c,y:o.top+s.scrollTop-u.y-d,width:o.width,height:o.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},en={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e,a="fixed"===i,o=I(n),s=!!t&&N(t.floating);if(n===o||s&&a)return r;let u={scrollLeft:0,scrollTop:0},c=l(1),d=l(0),p=R(n);if((p||!p&&!a)&&(("body"!==O(n)||j(o))&&(u=H(n)),R(n))){let e=K(n);c=W(n),d.x=e.x+n.clientLeft,d.y=e.y+n.clientTop}return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-u.scrollLeft*c.x+d.x,y:r.y*c.y-u.scrollTop*c.y+d.y}},getDocumentElement:I,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e,s=[..."clippingAncestors"===r?N(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=$(e,[],!1).filter(e=>M(e)&&"body"!==O(e)),i=null,a="fixed"===z(e).position,o=a?V(e):e;for(;M(o)&&!F(o);){let t=z(o),r=D(o);r||"fixed"!==t.position||(i=null),(a?!r&&!i:!r&&"static"===t.position&&!!i&&["absolute","fixed"].includes(i.position)||j(o)&&!r&&function e(t,r){let n=V(t);return!(n===r||!M(n)||F(n))&&("fixed"===z(n).position||e(n,r))}(e,o))?n=n.filter(e=>e!==o):i=t,o=V(o)}return t.set(e,n),n}(t,this._c):[].concat(r),n],l=s[0],u=s.reduce((e,r)=>{let n=J(t,r,o);return e.top=a(n.top,e.top),e.right=i(n.right,e.right),e.bottom=i(n.bottom,e.bottom),e.left=a(n.left,e.left),e},J(t,l,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:et,getElementRects:er,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=U(e);return{width:t,height:r}},getScale:W,isElement:M,isRTL:function(e){return"rtl"===z(e).direction}};function ei(e,t,r,n){let o;void 0===n&&(n={});let{ancestorScroll:l=!0,ancestorResize:u=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:p=!1}=n,f=G(e),h=l||u?[...f?$(f):[],...$(t)]:[];
1h.forEach(e=>{l&&e.addEventListener("scroll",r,{passive:!0}),u&&e.addEventListener("resize",r)});let m=f&&d?function(e,t){let r,n=null,o=I(e);function l(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return function u(c,d){void 0===c&&(c=!1),void 0===d&&(d=1),l();let{left:p,top:f,width:h,height:m}=e.getBoundingClientRect();if(c||t(),!h||!m)return;let g=s(f),v=s(o.clientWidth-(p+h)),y={rootMargin:-g+"px "+-v+"px "+-s(o.clientHeight-(f+m))+"px "+-s(p)+"px",threshold:a(0,i(1,d))||1},b=!0;function x(e){let t=e[0].intersectionRatio;if(t!==d){if(!b)return u();t?u(!1,t):r=setTimeout(()=>{u(!1,1e-7)},1e3)}b=!1}try{n=new IntersectionObserver(x,{...y,root:o.ownerDocument})}catch(e){n=new IntersectionObserver(x,y)}n.observe(e)}(!0),l}(f,r):null,g=-1,v=null;c&&(v=new ResizeObserver(e=>{let[n]=e;n&&n.target===f&&v&&(v.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(t)})),r()}),f&&!p&&v.observe(f),v.observe(t));let y=p?K(e):null;return p&&function t(){let n=K(e);y&&(n.x!==y.x||n.y!==y.y||n.width!==y.width||n.height!==y.height)&&r(),y=n,o=requestAnimationFrame(t)}(),r(),()=>{var e;h.forEach(e=>{l&&e.removeEventListener("scroll",r),u&&e.removeEventListener("resize",r)}),null==m||m(),null==(e=v)||e.disconnect(),v=null,p&&cancelAnimationFrame(o)}}let ea=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:i,y:a,placement:o,middlewareData:s}=t,l=await k(t,e);return o===(null==(r=s.offset)?void 0:r.placement)&&null!=(n=s.arrow)&&n.alignmentOffset?{}:{x:i+l.x,y:a+l.y,data:{...l,placement:o}}}}},eo=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:o}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:u={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...c}=d(e,t),f={x:r,y:n},m=await S(t,c),v=g(p(o)),y=h(v),b=f[y],x=f[v];if(s){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",r=b+m[e],n=b-m[t];b=a(r,i(b,n))}if(l){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",r=x+m[e],n=x-m[t];x=a(r,i(x,n))}let w=u.fn({...t,[y]:b,[v]:x});return{...w,data:{x:w.x-r,y:w.y-n,enabled:{[y]:s,[v]:l}}}}}},es=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n,i,a,o;let{placement:s,middlewareData:l,rects:u,initialPlacement:c,platform:b,elements:x}=t,{mainAxis:w=!0,crossAxis:E=!0,fallbackPlacements:T,fallbackStrategy:_="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:C=!0,...O}=d(e,t);if(null!=(r=l.arrow)&&r.alignmentOffset)return{};let A=p(s),I=g(c),P=p(c)===c,M=await (null==b.isRTL?void 0:b.isRTL(x.floating)),R=T||(P||!C?[y(c)]:function(e){let t=y(e);return[v(e),t,v(t)]}(c)),L="none"!==k;!T&&L&&R.push(...function(e,t,r,n){let i=f(e),a=function(e,t,r){let n=["left","right"],i=["right","left"];switch(e){case"top":case"bottom":if(r)return t?i:n;return t?n:i;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(p(e),"start"===r,n);return i&&(a=a.map(e=>e+"-"+i),t&&(a=a.concat(a.map(v)))),a}(c,C,k,M));let j=[c,...R],N=await S(t,O),D=[],B=(null==(n=l.flip)?void 0:n.overflows)||[];if(w&&D.push(N[A]),E){let e=function(e,t,r){void 0===r&&(r=!1);let n=f(e),i=h(g(e)),a=m(i),o="x"===i?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[a]>t.floating[a]&&(o=y(o)),[o,y(o)]}(s,u,M);D.push(N[e[0]],N[e[1]])}if(B=[...B,{placement:s,overflows:D}],!D.every(e=>e<=0)){let e=((null==(i=l.flip)?void 0:i.index)||0)+1,t=j[e];if(t)return{data:{index:e,overflows:B},reset:{placement:t}};let r=null==(a=B.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:a.placement;if(!r)switch(_){case"bestFit":{let e=null==(o=B.filter(e=>{if(L){let t=g(e.placement);return t===I||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:o[0];e&&(r=e);break}case"initialPlacement":r=c}if(s!==r)return{reset:{placement:r}}}return{}}}},el=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var r,n;let o,s;let{placement:l,rects:u,platform:c,elements:h}=t,{apply:m=()=>{},...v}=d(e,t),y=await S(t,v),b=p(l),x=f(l),w="y"===g(l),{width:E,height:T}=u.floating;"top"===b||"bottom"===b?(o=b,s=x===(await (null==c.isRTL?void 0:c.isRTL(h.floating))?"start":"end")?"left":"right"):(s=b,o="end"===x?"top":"bottom");let _=T-y.top-y.bottom,k=E-y.left-y.right,C=i(T-y[o],_),O=i(E-y[s],k),A=!t.middlewareData.shift,I=C,P=O;if(null!=(r=t.middlewareData.shift)&&r.enabled.x&&(P=k),null!=(n=t.middlewareData.shift)&&n.enabled.y&&(I=_),A&&!x){let e=a(y.left,0),t=a(y.right,0),r=a(y.top,0),n=a(y.bottom,0);w?P=E-2*(0!==e||0!==t?e+t:a(y.left,y.right)):I=T-2*(0!==r||0!==n?r+n:a(y.top,y.bottom))}await m({...t,availableWidth:P,availableHeight:I});let M=await c.getDimensions(h.floating);return E!==M.width||T!==M.height?{reset:{rects:!0}}:{}}}},eu=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:r}=t,{strategy:n="referenceHidden",...i}=d(e,t);switch(n){case"referenceHidden":{let e=T(await S(t,{...i,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:_(e)}}}case"escaped":{let e=T(await S(t,{...i,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:_(e)}}}default:return{}}}}},ec=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:o,rects:s,platform:l,elements:u,middlewareData:c}=t,{element:p,padding:v=0}=d(e,t)||{};if(null==p)return{};let y=b(v),x={x:r,y:n},w=h(g(o)),E=m(w),S=await l.getDimensions(p),T="y"===w,_=T?"clientHeight":"clientWidth",k=s.reference[E]+s.reference[w]-x[w]-s.floating[E],C=x[w]-s.reference[w],O
1=await (null==l.getOffsetParent?void 0:l.getOffsetParent(p)),A=O?O[_]:0;A&&await (null==l.isElement?void 0:l.isElement(O))||(A=u.floating[_]||s.floating[E]);let I=A/2-S[E]/2-1,P=i(y[T?"top":"left"],I),M=i(y[T?"bottom":"right"],I),R=A-S[E]-M,L=A/2-S[E]/2+(k/2-C/2),j=a(P,i(L,R)),N=!c.arrow&&null!=f(o)&&L!==j&&s.reference[E]/2-(L<P?P:M)-S[E]/2<0,D=N?L<P?L-P:L-R:0;return{[w]:x[w]+D,data:{[w]:j,centerOffset:L-j-D,...N&&{alignmentOffset:D}},reset:N}}}),ed=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:r,y:n,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=d(e,t),c={x:r,y:n},f=g(i),m=h(f),v=c[m],y=c[f],b=d(s,t),x="number"==typeof b?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(l){let e="y"===m?"height":"width",t=a.reference[m]-a.floating[e]+x.mainAxis,r=a.reference[m]+a.reference[e]-x.mainAxis;v<t?v=t:v>r&&(v=r)}if(u){var w,E;let e="y"===m?"width":"height",t=["top","left"].includes(p(i)),r=a.reference[f]-a.floating[e]+(t&&(null==(w=o.offset)?void 0:w[f])||0)+(t?0:x.crossAxis),n=a.reference[f]+a.reference[e]+(t?0:(null==(E=o.offset)?void 0:E[f])||0)-(t?x.crossAxis:0);y<r?y=r:y>n&&(y=n)}return{[m]:v,[f]:y}}}},ep=(e,t,r)=>{let n=new Map,i={platform:en,...r},a={...i.platform,_c:n};return E(e,t,{...i,platform:a})}},67695:function(e,t,r){"use strict";r.d(t,{F:function(){return u}});var n=r(25820);let i=(e,t,r)=>{if(e&&"reportValidity"in e){let i=(0,n.U2)(r,t);e.setCustomValidity(i&&i.message||""),e.reportValidity()}},a=(e,t)=>{for(let r in t.fields){let n=t.fields[r];n&&n.ref&&"reportValidity"in n.ref?i(n.ref,r,e):n.refs&&n.refs.forEach(t=>i(t,r,e))}},o=(e,t)=>{t.shouldUseNativeValidation&&a(e,t);let r={};for(let i in e){let a=(0,n.U2)(t.fields,i),o=Object.assign(e[i]||{},{ref:a&&a.ref});if(s(t.names||Object.keys(e),i)){let e=Object.assign({},(0,n.U2)(r,i));(0,n.t8)(e,"root",o),(0,n.t8)(r,i,e)}else(0,n.t8)(r,i,o)}return r},s=(e,t)=>e.some(e=>e.startsWith(t+"."));var l=function(e,t){for(var r={};e.length;){var i=e[0],a=i.code,o=i.message,s=i.path.join(".");if(!r[s]){if("unionErrors"in i){var l=i.unionErrors[0].errors[0];r[s]={message:l.message,type:l.code}}else r[s]={message:o,type:a}}if("unionErrors"in i&&i.unionErrors.forEach(function(t){return t.errors.forEach(function(t){return e.push(t)})}),t){var u=r[s].types,c=u&&u[i.code];r[s]=(0,n.KN)(s,t,r,a,c?[].concat(c,i.message):i.message)}e.shift()}return r},u=function(e,t,r){return void 0===r&&(r={}),function(n,i,s){try{return Promise.resolve(function(i,o){try{var l=Promise.resolve(e["sync"===r.mode?"parse":"parseAsync"](n,t)).then(function(e){return s.shouldUseNativeValidation&&a({},s),{errors:{},values:r.raw?n:e}})}catch(e){return o(e)}return l&&l.then?l.then(void 0,o):l}(0,function(e){if(Array.isArray(null==e?void 0:e.errors))return{values:{},errors:o(l(e.errors,!s.shouldUseNativeValidation&&"all"===s.criteriaMode),s)};throw e}))}catch(e){return Promise.reject(e)}}}},82159:function(e,t,r){"use strict";function n(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}r.d(t,{M:function(){return n}})},51584:function(e,t,r){"use strict";r.d(t,{VY:function(){return eo},h4:function(){return ei},ck:function(){return en},fC:function(){return er},xz:function(){return ea}});var n=r(2265),i=r(9883),a=r(28402),o=r(39963),s=r(82159),l=r(98571),u=r(26978),c=r(81747),d=r(88889),p=r(52145),f=r(57437),h="Collapsible",[m,g]=(0,i.b)(h),[v,y]=m(h),b=n.forwardRef((e,t)=>{let{__scopeCollapsible:r,open:i,defaultOpen:a,disabled:o,onOpenChange:s,...c}=e,[d=!1,h]=(0,l.T)({prop:i,defaultProp:a,onChange:s});return(0,f.jsx)(v,{scope:r,disabled:o,contentId:(0,p.M)(),open:d,onOpenToggle:n.useCallback(()=>h(e=>!e),[h]),children:(0,f.jsx)(u.WV.div,{"data-state":_(d),"data-disabled":o?"":void 0,...c,ref:t})})});b.displayName=h;var x="CollapsibleTrigger",w=n.forwardRef((e,t)=>{let{__scopeCollapsible:r,...n}=e,i=y(x,r);return(0,f.jsx)(u.WV.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":_(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...n,ref:t,onClick:(0,s.M)(e.onClick,i.onOpenToggle)})});w.displayName=x;var E="CollapsibleContent",S=n.forwardRef((e,t)=>
1{let{forceMount:r,...n}=e,i=y(E,e.__scopeCollapsible);return(0,f.jsx)(d.z,{present:r||i.open,children:e=>{let{present:r}=e;return(0,f.jsx)(T,{...n,ref:t,present:r})}})});S.displayName=E;var T=n.forwardRef((e,t)=>{let{__scopeCollapsible:r,present:i,children:a,...s}=e,l=y(E,r),[d,p]=n.useState(i),h=n.useRef(null),m=(0,o.e)(t,h),g=n.useRef(0),v=g.current,b=n.useRef(0),x=b.current,w=l.open||d,S=n.useRef(w),T=n.useRef();return n.useEffect(()=>{let e=requestAnimationFrame(()=>S.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,c.b)(()=>{let e=h.current;if(e){T.current=T.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();g.current=t.height,b.current=t.width,S.current||(e.style.transitionDuration=T.current.transitionDuration,e.style.animationName=T.current.animationName),p(i)}},[l.open,i]),(0,f.jsx)(u.WV.div,{"data-state":_(l.open),"data-disabled":l.disabled?"":void 0,id:l.contentId,hidden:!w,...s,ref:m,style:{"--radix-collapsible-content-height":v?"".concat(v,"px"):void 0,"--radix-collapsible-content-width":x?"".concat(x,"px"):void 0,...e.style},children:w&&a})});function _(e){return e?"open":"closed"}var k=r(82911),C="Accordion",O=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[A,I,P]=(0,a.B)(C),[M,R]=(0,i.b)(C,[P,g]),L=g(),j=n.forwardRef((e,t)=>{let{type:r,...n}=e;return(0,f.jsx)(A.Provider,{scope:e.__scopeAccordion,children:"multiple"===r?(0,f.jsx)(H,{...n,ref:t}):(0,f.jsx)(z,{...n,ref:t})})});j.displayName=C;var[N,D]=M(C),[B,F]=M(C,{collapsible:!1}),z=n.forwardRef((e,t)=>{let{value:r,defaultValue:i,onValueChange:a=()=>{},collapsible:o=!1,...s}=e,[u,c]=(0,l.T)({prop:r,defaultProp:i,onChange:a});return(0,f.jsx)(N,{scope:e.__scopeAccordion,value:u?[u]:[],onItemOpen:c,onItemClose:n.useCallback(()=>o&&c(""),[o,c]),children:(0,f.jsx)(B,{scope:e.__scopeAccordion,collapsible:o,children:(0,f.jsx)(Z,{...s,ref:t})})})}),H=n.forwardRef((e,t)=>{let{value:r,defaultValue:i,onValueChange:a=()=>{},...o}=e,[s=[],u]=(0,l.T)({prop:r,defaultProp:i,onChange:a}),c=n.useCallback(e=>u(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...t,e]}),[u]),d=n.useCallback(e=>u(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.filter(t=>t!==e)}),[u]);return(0,f.jsx)(N,{scope:e.__scopeAccordion,value:s,onItemOpen:c,onItemClose:d,children:(0,f.jsx)(B,{scope:e.__scopeAccordion,collapsible:!0,children:(0,f.jsx)(Z,{...o,ref:t})})})}),[V,$]=M(C),Z=n.forwardRef((e,t)=>{let{__scopeAccordion:r,disabled:i,dir:a,orientation:l="vertical",...c}=e,d=n.useRef(null),p=(0,o.e)(d,t),h=I(r),m="ltr"===(0,k.gm)(a),g=(0,s.M)(e.onKeyDown,e=>{var t;if(!O.includes(e.key))return;let r=e.target,n=h().filter(e=>{var t;return!(null===(t=e.ref.current)||void 0===t?void 0:t.disabled)}),i=n.findIndex(e=>e.ref.current===r),a=n.length;if(-1===i)return;e.preventDefault();let o=i,s=a-1,u=()=>{(o=i+1)>s&&(o=0)},c=()=>{(o=i-1)<0&&(o=s)};switch(e.key){case"Home":o=0;break;case"End":o=s;break;case"ArrowRight":"horizontal"===l&&(m?u():c());break;case"ArrowDown":"vertical"===l&&u();break;case"ArrowLeft":"horizontal"===l&&(m?c():u());break;case"ArrowUp":"vertical"===l&&c()}null===(t=n[o%a].ref.current)||void 0===t||t.focus()});return(0,f.jsx)(V,{scope:r,disabled:i,direction:a,orientation:l,children:(0,f.jsx)(A.Slot,{scope:r,children:(0,f.jsx)(u.WV.div,{...c,"data-orientation":l,ref:p,onKeyDown:i?void 0:g})})})}),U="AccordionItem",[G,W]=M(U),q=n.forwardRef((e,t)=>{let{__scopeAccordion:r,value:n,...i}=e,a=$(U,r),o=D(U,r),s=L(r),l=(0,p.M)(),u=n&&o.value.includes(n)||!1,c=a.disabled||e.disabled;return(0,f.jsx)(G,{scope:r,open:u,disabled:c,triggerId:l,children:(0,f.jsx)(b,{"data-orientation":a.orientation,"data-state":et(u),...s,...i,ref:t,disabled:c,open:u,onOpenChange:e=>{e?o.onItemOpen(n):o.onItemClose(n)}})})});q.displayName=U;var Y="AccordionHeader",K=n.forwardRef((e,t)=>{let{__scopeAccordion:r,...n}=e,i=$(C,r),a=W(Y,r);return(0,f.jsx)(u.WV.h3,{"data-orientation":i.orientation,"data-state":et(a.open),"data-disabled":a.disabled?"":void 0,...n,ref:t})});K.displayName=Y;var X="AccordionTrigger",J=n.forwardRef((e,t)=>
1{let{__scopeAccordion:r,...n}=e,i=$(C,r),a=W(X,r),o=F(X,r),s=L(r);return(0,f.jsx)(A.ItemSlot,{scope:r,children:(0,f.jsx)(w,{"aria-disabled":a.open&&!o.collapsible||void 0,"data-orientation":i.orientation,id:a.triggerId,...s,...n,ref:t})})});J.displayName=X;var Q="AccordionContent",ee=n.forwardRef((e,t)=>{let{__scopeAccordion:r,...n}=e,i=$(C,r),a=W(Q,r),o=L(r);return(0,f.jsx)(S,{role:"region","aria-labelledby":a.triggerId,"data-orientation":i.orientation,...o,...n,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function et(e){return e?"open":"closed"}ee.displayName=Q;var er=j,en=q,ei=K,ea=J,eo=ee},19891:function(e,t,r){"use strict";r.d(t,{fC:function(){return T},z$:function(){return _}});var n=r(2265),i=r(39963),a=r(9883),o=r(82159),s=r(98571),l=r(82253),u=r(35352),c=r(88889),d=r(26978),p=r(57437),f="Checkbox",[h,m]=(0,a.b)(f),[g,v]=h(f),y=n.forwardRef((e,t)=>{let{__scopeCheckbox:r,name:a,checked:l,defaultChecked:u,required:c,disabled:f,value:h="on",onCheckedChange:m,form:v,...y}=e,[b,x]=n.useState(null),T=(0,i.e)(t,e=>x(e)),_=n.useRef(!1),k=!b||v||!!b.closest("form"),[C=!1,O]=(0,s.T)({prop:l,defaultProp:u,onChange:m}),A=n.useRef(C);return n.useEffect(()=>{let e=null==b?void 0:b.form;if(e){let t=()=>O(A.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[b,O]),(0,p.jsxs)(g,{scope:r,state:C,disabled:f,children:[(0,p.jsx)(d.WV.button,{type:"button",role:"checkbox","aria-checked":E(C)?"mixed":C,"aria-required":c,"data-state":S(C),"data-disabled":f?"":void 0,disabled:f,value:h,...y,ref:T,onKeyDown:(0,o.M)(e.onKeyDown,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,o.M)(e.onClick,e=>{O(e=>!!E(e)||!e),k&&(_.current=e.isPropagationStopped(),_.current||e.stopPropagation())})}),k&&(0,p.jsx)(w,{control:b,bubbles:!_.current,name:a,value:h,checked:C,required:c,disabled:f,form:v,style:{transform:"translateX(-100%)"},defaultChecked:!E(u)&&u})]})});y.displayName=f;var b="CheckboxIndicator",x=n.forwardRef((e,t)=>{let{__scopeCheckbox:r,forceMount:n,...i}=e,a=v(b,r);return(0,p.jsx)(c.z,{present:n||E(a.state)||!0===a.state,children:(0,p.jsx)(d.WV.span,{"data-state":S(a.state),"data-disabled":a.disabled?"":void 0,...i,ref:t,style:{pointerEvents:"none",...e.style}})})});x.displayName=b;var w=e=>{let{control:t,checked:r,bubbles:i=!0,defaultChecked:a,...o}=e,s=n.useRef(null),c=(0,l.D)(r),d=(0,u.t)(t);n.useEffect(()=>{let e=s.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(c!==r&&t){let n=new Event("click",{bubbles:i});e.indeterminate=E(r),t.call(e,!E(r)&&r),e.dispatchEvent(n)}},[c,r,i]);let f=n.useRef(!E(r)&&r);return(0,p.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:null!=a?a:f.current,...o,tabIndex:-1,ref:s,style:{...e.style,...d,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function E(e){return"indeterminate"===e}function S(e){return E(e)?"indeterminate":e?"checked":"unchecked"}var T=y,_=x},28402:function(e,t,r){"use strict";r.d(t,{B:function(){return s}});var n=r(2265),i=r(57437),a=r(39963),o=r(98230);function s(e){let t=e+"CollectionProvider",[r,s]=function(e,t=[]){let r=[],a=()=>{let t=r.map(e=>n.createContext(e));return function(r){let i=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])}};return a.scopeName=e,[function(t,a){let o=n.createContext(a),s=r.length;function l(t){let{scope:r,children:a,...l}=t,u=r?.[e][s]||o,c=n.useMemo(()=>l,Object.values(l));return(0,i.jsx)(u.Provider,{value:c,children:a})}return r=[...r,a],l.displayName=t+"Provider",[l,function(r,i){let l=i?.[e][s]||o,u=n.useContext(l);if(u)return u;if(void 0!==a)return a;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=r.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}(a,...t)]}(t),[l,u]=r(t,{collectionRef:{current:null},itemMap:new Map}),c=e=>{let{scope:t,children:r}=e,a=n.useRef(null),o=n.useRef(new Map).current;return(0,i.jsx)(l,{scope:t,itemMap:o,collectionRef:a,children:r})};c.displayName=t;let d=e+"CollectionSlot",p=n.forwardRef((e,t)=>
1{let{scope:r,children:n}=e,s=u(d,r),l=(0,a.e)(t,s.collectionRef);return(0,i.jsx)(o.g7,{ref:l,children:n})});p.displayName=d;let f=e+"CollectionItemSlot",h="data-radix-collection-item",m=n.forwardRef((e,t)=>{let{scope:r,children:s,...l}=e,c=n.useRef(null),d=(0,a.e)(t,c),p=u(f,r);return n.useEffect(()=>(p.itemMap.set(c,{ref:c,...l}),()=>void p.itemMap.delete(c))),(0,i.jsx)(o.g7,{[h]:"",ref:d,children:s})});return m.displayName=f,[{Provider:c,Slot:p,ItemSlot:m},function(t){let r=u(e+"CollectionConsumer",t);return n.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(h,"]")));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},s]}},39963:function(e,t,r){"use strict";r.d(t,{F:function(){return i},e:function(){return a}});var n=r(2265);function i(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}function a(...e){return n.useCallback(i(...e),e)}},9883:function(e,t,r){"use strict";r.d(t,{b:function(){return o},k:function(){return a}});var n=r(2265),i=r(57437);function a(e,t){let r=n.createContext(t),a=e=>{let{children:t,...a}=e,o=n.useMemo(()=>a,Object.values(a));return(0,i.jsx)(r.Provider,{value:o,children:t})};return a.displayName=e+"Provider",[a,function(i){let a=n.useContext(r);if(a)return a;if(void 0!==t)return t;throw Error(`\`${i}\` must be used within \`${e}\``)}]}function o(e,t=[]){let r=[],a=()=>{let t=r.map(e=>n.createContext(e));return function(r){let i=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])}};return a.scopeName=e,[function(t,a){let o=n.createContext(a),s=r.length;r=[...r,a];let l=t=>{let{scope:r,children:a,...l}=t,u=r?.[e]?.[s]||o,c=n.useMemo(()=>l,Object.values(l));return(0,i.jsx)(u.Provider,{value:c,children:a})};return l.displayName=t+"Provider",[l,function(r,i){let l=i?.[e]?.[s]||o,u=n.useContext(l);if(u)return u;if(void 0!==a)return a;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=r.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}(a,...t)]}},82911:function(e,t,r){"use strict";r.d(t,{gm:function(){return a}});var n=r(2265);r(57437);var i=n.createContext(void 0);function a(e){let t=n.useContext(i);return e||t||"ltr"}},6712:function(e,t,r){"use strict";r.d(t,{XB:function(){return p}});var n,i=r(2265),a=r(82159),o=r(26978),s=r(39963),l=r(30272),u=r(57437),c="dismissableLayer.update",d=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),p=i.forwardRef((e,t)=>{var r,p;let{disableOutsidePointerEvents:m=!1,onEscapeKeyDown:g,onPointerDownOutside:v,onFocusOutside:y,onInteractOutside:b,onDismiss:x,...w}=e,E=i.useContext(d),[S,T]=i.useState(null),_=null!==(p=null==S?void 0:S.ownerDocument)&&void 0!==p?p:null===(r=globalThis)||void 0===r?void 0:r.document,[,k]=i.useState({}),C=(0,s.e)(t,e=>T(e)),O=Array.from(E.layers),[A]=[...E.layersWithOutsidePointerEventsDisabled].slice(-1),I=O.indexOf(A),P=S?O.indexOf(S):-1,M=E.layersWithOutsidePointerEventsDisabled.size>0,R=P>=I,L=function(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,n=(0,l.W)(e),a=i.useRef(!1),o=i.useRef(()=>{});return i.useEffect(()=>{let e=e=>{if(e.target&&!a.current){let t=function(){h("dismissableLayer.pointerDownOutside",n,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(r.removeEventListener("click",o.current),o.current=t,r.addEventListener("click",o.current,{once:!0})):t()}else r.removeEventListener("click",o.current);a.current=!1},t=window.setTimeout(()=>{r.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),r.removeEventListener("pointerdown",e),r.removeEventListener("click",o.current)}},[r,n]),{onPointerDownCapture:()=>a.current=!0}}(e=>{let t=e.target,r=[...E.branches].some(e=>e.contains(t));!R||r||(null==v||v(e),null==b||b(e),e.defaultPrevented||null==x||x())},_),j=function(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,n=(0,l.W)(e),a=i.useRef(!1);return i.useEffect(()=>{let e=e=>{e.target&&!a.current&&h("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return r.addEventListener("focusin",e),()=>r.removeEventListener("focusin",e)},[r,n]),{onFocusCapture:()=>a.current=!0,onBlurCapture:()=>a.current=!1}}(e=>{let t=e.target;[...E.branches].some(e=>e.contains(t))||(null==y||y(e),null==b||b(e),e.defaultPrevented||null==x||x())},_);return function(e,t=globalThis?.document){let r=(0,l.W)(e);i.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{P!==E.layers.size-1||(null==g||g(e),!e.defaultPrevented&&x&&(e.preventDefault(),x()))},_),i.useEffect(()=>{if(S)return m&&(0===E.layersWithOutsidePointerEventsDisabled.size&&(n=_.body.style.pointerEvents,_.body.style.pointerEvents="none"),E.layersWithOutsidePointerEventsDisabled.add(S)),E.layers.add(S),f(),()=>{m&&1===E.layersWithOutsidePointerEventsDisabled.size&&(_.body.style.pointerEvents=n)}},[S,_,m,E]),i.useEffect(()=>()=>{S&&(E.layers.delete(S),E.layersWithOutsidePointerEventsDisabled.delete(S),f())},[S,E]),i.useEffect(()=>{let e=()=>k({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,u.jsx)(o.WV.div,{...w,ref:C,style:{pointerEvents:M?R?"auto":"none":void 0,...e.style},onFocusCapture:(0,a.M)(e.onFocusCapture,j.onFocusCapture),onBlurCapture:(0,a.M)(e.onBlurCapture,j.onBlurCapture),onPointerDownCapture:(0,a.M)(e.onPointerDownCapture,L.onPointerDownCapture)})});function f(){let e=new CustomEvent(c);document.dispatchEvent(e)}function h(e,t,r,n){let{discrete:i}=n,a=r.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),i?(0,o.jH)(a,s):a.dispatchEvent(s)}p.displayName="DismissableLayer",i.forwardRef((e,t)=>
1{let r=i.useContext(d),n=i.useRef(null),a=(0,s.e)(t,n);return i.useEffect(()=>{let e=n.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,u.jsx)(o.WV.div,{...e,ref:a})}).displayName="DismissableLayerBranch"},81697:function(e,t,r){"use strict";r.d(t,{EW:function(){return a}});var n=r(2265),i=0;function a(){n.useEffect(()=>{var e,t;let r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=r[0])&&void 0!==e?e:o()),document.body.insertAdjacentElement("beforeend",null!==(t=r[1])&&void 0!==t?t:o()),i++,()=>{1===i&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),i--}},[])}function o(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}},47126:function(e,t,r){"use strict";let n;r.d(t,{M:function(){return p}});var i=r(2265),a=r(39963),o=r(26978),s=r(30272),l=r(57437),u="focusScope.autoFocusOnMount",c="focusScope.autoFocusOnUnmount",d={bubbles:!1,cancelable:!0},p=i.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:p,onUnmountAutoFocus:v,...y}=e,[b,x]=i.useState(null),w=(0,s.W)(p),E=(0,s.W)(v),S=i.useRef(null),T=(0,a.e)(t,e=>x(e)),_=i.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;i.useEffect(()=>{if(n){let e=function(e){if(_.paused||!b)return;let t=e.target;b.contains(t)?S.current=t:m(S.current,{select:!0})},t=function(e){if(_.paused||!b)return;let t=e.relatedTarget;null===t||b.contains(t)||m(S.current,{select:!0})};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&m(b)});return b&&r.observe(b,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[n,b,_.paused]),i.useEffect(()=>{if(b){g.add(_);let e=document.activeElement;if(!b.contains(e)){let t=new CustomEvent(u,d);b.addEventListener(u,w),b.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=document.activeElement;for(let n of e)if(m(n,{select:t}),document.activeElement!==r)return}(f(b).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&m(b))}return()=>{b.removeEventListener(u,w),setTimeout(()=>{let t=new CustomEvent(c,d);b.addEventListener(c,E),b.dispatchEvent(t),t.defaultPrevented||m(null!=e?e:document.body,{select:!0}),b.removeEventListener(c,E),g.remove(_)},0)}}},[b,w,E,_]);let k=i.useCallback(e=>{if(!r&&!n||_.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[n,a]=function(e){let t=f(e);return[h(t,e),h(t.reverse(),e)]}(t);n&&a?e.shiftKey||i!==a?e.shiftKey&&i===n&&(e.preventDefault(),r&&m(a,{select:!0})):(e.preventDefault(),r&&m(n,{select:!0})):i===t&&e.preventDefault()}},[r,n,_.paused]);return(0,l.jsx)(o.WV.div,{tabIndex:-1,...y,ref:T,onKeyDown:k})});function f(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function h(e,t){for(let r of e)if(!function(e,t){let{upTo:r}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===r||e!==r);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function m(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}p.displayName="FocusScope";var g=(n=[],{add(e){let t=n[0];e!==t&&(null==t||t.pause()),(n=v(n,e)).unshift(e)},remove(e){var t;null===(t=(n=v(n,e))[0])||void 0===t||t.resume()}});function v(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}},52145:function(e,t,r){"use strict";r.d(t,{M:function(){return l}});var n,i=r(2265),a=r(81747),o=(n||(n=r.t(i,2)))["useId".toString()]||(()=>void 0),s=0;function l(e){let[t,r]=i.useState(o());return(0,a.b)(()=>{e||r(e=>e??String(s++))},[e]),e||(t?`radix-${t}`:"")}},23640:function(e,t,r){"use strict";r.d(t,{f:function(){return s}});var n=r(2265),i=r(26978),a=r(57437),o=n.forwardRef((e,t)=>
1(0,a.jsx)(i.WV.label,{...e,ref:t,onMouseDown:t=>{var r;t.target.closest("button, input, select, textarea")||(null===(r=e.onMouseDown)||void 0===r||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));o.displayName="Label";var s=o},60870:function(e,t,r){"use strict";r.d(t,{ee:function(){return U},Eh:function(){return W},VY:function(){return G},fC:function(){return Z},D7:function(){return O}});var n=r(2265),i=r(85815),a=r(54887),o="undefined"!=typeof document?n.useLayoutEffect:n.useEffect;function s(e,t){let r,n,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!s(e[n],t[n]))return!1;return!0}if((r=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,i[n]))return!1;for(n=r;0!=n--;){let r=i[n];if(("_owner"!==r||!e.$$typeof)&&!s(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function l(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){let r=l(e);return Math.round(t*r)/r}function c(e){let t=n.useRef(e);return o(()=>{t.current=e}),t}let d=e=>({name:"arrow",options:e,fn(t){let{element:r,padding:n}="function"==typeof e?e(t):e;return r&&({}).hasOwnProperty.call(r,"current")?null!=r.current?(0,i.x7)({element:r.current,padding:n}).fn(t):{}:r?(0,i.x7)({element:r,padding:n}).fn(t):{}}}),p=(e,t)=>({...(0,i.cv)(e),options:[e,t]}),f=(e,t)=>({...(0,i.uY)(e),options:[e,t]}),h=(e,t)=>({...(0,i.dr)(e),options:[e,t]}),m=(e,t)=>({...(0,i.RR)(e),options:[e,t]}),g=(e,t)=>({...(0,i.dp)(e),options:[e,t]}),v=(e,t)=>
1({...(0,i.Cp)(e),options:[e,t]}),y=(e,t)=>({...d(e),options:[e,t]});var b=r(26978),x=r(57437),w=n.forwardRef((e,t)=>{let{children:r,width:n=10,height:i=5,...a}=e;return(0,x.jsx)(b.WV.svg,{...a,ref:t,width:n,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,x.jsx)("polygon",{points:"0,0 30,0 15,10"})})});w.displayName="Arrow";var E=r(39963),S=r(30272),T=r(81747),_=r(35352),k="Popper",[C,O]=function(e,t=[]){let r=[],i=()=>{let t=r.map(e=>n.createContext(e));return function(r){let i=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])}};return i.scopeName=e,[function(t,i){let a=n.createContext(i),o=r.length;function s(t){let{scope:r,children:i,...s}=t,l=r?.[e][o]||a,u=n.useMemo(()=>s,Object.values(s));return(0,x.jsx)(l.Provider,{value:u,children:i})}return r=[...r,i],s.displayName=t+"Provider",[s,function(r,s){let l=s?.[e][o]||a,u=n.useContext(l);if(u)return u;if(void 0!==i)return i;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=r.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}(i,...t)]}(k),[A,I]=C(k),P=e=>{let{__scopePopper:t,children:r}=e,[i,a]=n.useState(null);return(0,x.jsx)(A,{scope:t,anchor:i,onAnchorChange:a,children:r})};P.displayName=k;var M="PopperAnchor",R=n.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:i,...a}=e,o=I(M,r),s=n.useRef(null),l=(0,E.e)(t,s);return n.useEffect(()=>{o.onAnchorChange((null==i?void 0:i.current)||s.current)}),i?null:(0,x.jsx)(b.WV.div,{...a,ref:l})});R.displayName=M;var L="PopperContent",[j,N]=C(L),D=n.forwardRef((e,t)=>{var r,d,w,k,C,O,A,P;let{__scopePopper:M,side:R="bottom",sideOffset:N=0,align:D="center",alignOffset:B=0,arrowPadding:F=0,avoidCollisions:z=!0,collisionBoundary:Z=[],collisionPadding:U=0,sticky:G="partial",hideWhenDetached:W=!1,updatePositionStrategy:q="optimized",onPlaced:Y,...K}=e,X=I(L,M),[J,Q]=n.useState(null),ee=(0,E.e)(t,e=>Q(e)),[et,er]=n.useState(null),en=(0,_.t)(et),ei=null!==(A=null==en?void 0:en.width)&&void 0!==A?A:0,ea=null!==(P=null==en?void 0:en.height)&&void 0!==P?P:0,eo="number"==typeof U?U:{top:0,right:0,bottom:0,left:0,...U},es=Array.isArray(Z)?Z:[Z],el=es.length>0,eu={padding:eo,boundary:es.filter(H),altBoundary:el},{refs:ec,floatingStyles:ed,placement:ep,isPositioned:ef,middlewareData:eh}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:d=[],platform:p,elements:{reference:f,floating:h}={},transform:m=!0,whileElementsMounted:g,open:v}=e,[y,b]=n.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[x,w]=n.useState(d);s(x,d)||w(d);let[E,S]=n.useState(null),[T,_]=n.useState(null),k=n.useCallback(e=>{e!==I.current&&(I.current=e,S(e))},[]),C=n.useCallback(e=>{e!==P.current&&(P.current=e,_(e))},[]),O=f||E,A=h||T,I=n.useRef(null),P=n.useRef(null),M=n.useRef(y),R=null!=g,L=c(g),j=c(p),N=c(v),D=n.useCallback(()=>{if(!I.current||!P.current)return;let e={placement:t,strategy:r,middleware:x};j.current&&(e.platform=j.current),(0,i.oo)(I.current,P.current,e).then(e=>{let t={...e,isPositioned:!1!==N.current};B.current&&!s(M.current,t)&&(M.current=t,a.flushSync(()=>{b(t)}))})},[x,t,r,j,N]);o(()=>{!1===v&&M.current.isPositioned&&(M.current.isPositioned=!1,b(e=>({...e,isPositioned:!1})))},[v]);let B=n.useRef(!1);o(()=>(B.current=!0,()=>{B.current=!1}),[]),o(()=>{if(O&&(I.current=O),A&&(P.current=A),O&&A){if(L.current)return L.current(O,A,D);D()}},[O,A,D,L,R]);let F=n.useMemo(()=>({reference:I,floating:P,setReference:k,setFloating:C}),[k,C]),z=n.useMemo(()=>({reference:O,floating:A}),[O,A]),H=n.useMemo(()=>{let e={position:r,left:0,top:0};if(!z.floating)return e;let t=u(z.floating,y.x),n=u(z.floating,y.y);return m?{...e,transform:"translate("+t+"px, "+n+"px)",...l(z.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,m,z.floating,y.x,y.y]);return n.useMemo(()=>({...y,update:D,refs:F,elements:z,floatingStyles:H}),[y,D,F,z,H])}({strategy:"fixed",placement:R+("center"!==D?"-"+D:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,i.Me)(...t,{animationFrame:"always"===q})},elements:{reference:X.anchor},middleware:[p({mainAxis:N+ea,alignmentAxis:B}),z&&f({mainAxis:!0,crossAxis:!1,limiter:"partial"===G?h():void 0,...eu}),z&&m({...eu}),g({...eu,apply:e=>{let{elements:t,rects:r,availableWidth:n,availableHeight:i}=e,{width:a,height:o}=r.reference,s=t.floating.style;s.setProperty("--radix-popper-available-width","".concat(n,"px")),s.setProperty("--radix-popper-available-height","".concat(i,"px")),s.setProperty("--radix-popper-anchor-width","".concat(a,"px")),s.setProperty("--radix-popper-anchor-height","".concat(o,"px"))}}),et&&y({element:et,padding:F}),V({arrowWidth:ei,arrowHeight:ea}),W&&v({strategy:"referenceHidden",...eu})]}),[em,eg]=$(ep),ev=(0,S.W)(Y);(0,T.b)(()=>{ef&&(null==ev||ev())},[ef,ev]);let ey=null===(r=eh.arrow)||void 0===r?void 0:r.x,eb=null===(d=eh.arrow)||void 0===d?void 0:d.y,ex=(null===(w=eh.arrow)||void 0===w?void 0:w.centerOffset)!==0,[ew,eE]=n.useState();return(0,T.b)(()=>{J&&eE(window.getComputedStyle(J).zIndex)},[J]),(0,x.jsx)("div",{ref:ec.setFloating,"data-radix-popper-content-wrapper":"",style:{...ed,transform:ef?ed.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ew,"--radix-popper-transform-origin":[null===(k=eh.transformOrigin)||void 0===k?void 0:k.x,null===(C=eh.transformOrigin)||void 0===C?void 0:C.y].join(" "),...(null===(O=eh.hide)||void 0===O?void 0:O.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,x.jsx)(j,{scope:M,placedSide:em,onArrowChange:er,arrowX:ey,arrowY:eb,shouldHideArrow:ex,children:(0,x.jsx)(b.WV.div,{"data-side":em,"data-align":eg,...K,ref:ee,style:{...K.style,animation:ef?void 0:"none"}})})})});D.displayName=L;var B="PopperArrow",F={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},z=n.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,i=N(B,r),a=F[i.placedSide];return(0,x.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,x.jsx)(w,{...n,ref:t,style:{...n.style,display:"block"}})})});function H(e){return null!==e}z.displayName=B;var V=e=>({name:"transformOrigin",options:e,fn(t){var r,n,i,a,o;let{placement:s,rects:l,middlewareData:u}=t,c=(null===(r=u.arrow)||void 0===r?void 0:r.centerOffset)!==0,d=c?0:e.arrowWidth,p=c?0:e.arrowHeight,[f,h]=$(s),m={start:"0%",center:"50%",end:"100%"}[h],g=(null!==(a=null===(n=u.arrow)||void 0===n?void 0:n.x)&&void 0!==a?a:0)+d/2,v=(null!==(o=null===(i=u.arrow)||void 0===i?void 0:i.y)&&void 0!==o?o:0)+p/2,y="",b="";return"bottom"===f?(y=c?m:"".concat(g,"px"),b="".concat(-p,"px")):"top"===f?(y=c?m:"".concat(g,"px"),b="".concat(l.floating.height+p,"px")):"right"===f?(y="".concat(-p,"px"),b=c?m:"".concat(v,"px")):"left"===f&&(y="".concat(l.floating.width+p,"px"),b=c?m:"".concat(v,"px")),{data:{x:y,y:b}}}});function $(e){let[t,r="center"]=e.split("-");return[t,r]}var Z=P,U=R,G=D,W=z},18332:function(e,t,r){"use strict";r.d(t,{h:function(){return l}});var n=r(2265),i=r(54887),a=r(26978),o=r(81747),s=r(57437),l=n.forwardRef((e,t)=>{var r,l;let{container:u,...c}=e,[d,p]=n.useState(!1);(0,o.b)(()=>p(!0),[]);let f=u||d&&(null===(l=globalThis)||void 0===l?void 0:null===(r=l.document)||void 0===r?void 0:r.body);return f?i.createPortal((0,s.jsx)(a.WV.div,{...c,ref:t}),f):null});l.displayName="Portal"},88889:function(e,t,r){"use strict";r.d(t,{z:function(){return o}});var n=r(2265),i=r(39963),a=r(81747),o=e=>{var t,r;let o,l;let{present:u,children:c}=e,d=function(e){var t,r;let[i,o]=n.useState(),l=n.useRef({}),u=n.useRef(e),c=n.useRef("none"),[d,p]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,t)=>{let n=r[e][t];return null!=n?n:e},t));return n.useEffect(()=>{let e=s(l.current);c.current="mounted"===d?e:"none"},[d]),(0,a.b)(()=>{let t=l.current,r=u.current;if(r!==e){let n=c.current,i=s(t);e?p("MOUNT"):"none"===i||(null==t?void 0:t.display)==="none"?p("UNMOUNT"):r&&n!==i?p("ANIMATION_OUT"):p("UNMOUNT"),u.current=e}},[e,p]),(0,a.b)(()=>{if(i){var e;let t;let r=null!==(e=i.ownerDocument.defaultView)&&void 0!==e?e:window,n=e=>{let n=s(l.current).includes(e.animationName);if(e.target===i&&n&&(p("ANIMATION_END"),!u.current)){let e=i.style.animationFillMode;i.style.animationFillMode="forwards",t=r.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=e)})}},a=e=>{e.target===i&&(c.current=s(l.current))};return i.addEventListener("animationstart",a),i.addEventListener("animationcancel",n),i.addEventListener("animationend",n),()=>{r.clearTimeout(t),i.removeEventListener("animationstart",a),i.removeEventListener("animationcancel",n),i.removeEventListener("animationend",n)}}p("ANIMATION_END")},[i,p]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:n.useCallback(e=>{e&&(l.current=getComputedStyle(e)),o(e)},[])}}(u),p="function"==typeof c?c({present:d.isPresent}):n.Children.only(c),f=(0,i.e)(d.ref,(o=null===(t=Object.getOwnPropertyDescriptor(p.props,"ref"))||void 0===t?void 0:t.get)&&"isReactWarning"in o&&o.isReactWarning?p.ref:(o=null===(r=Object.getOwnPropertyDescriptor(p,"ref"))||void 0===r?void 0:r.get)&&"isReactWarning"in o&&o.isReactWarning?p.props.ref:p.props.ref||p.ref);return"function"==typeof c||d.isPresent?n.cloneElement(p,{ref:f}):null};function s(e){return(null==e?void 0:e.animationName)||"none"}o.displayName="Presence"},26978:function(e,t,r){"use strict";r.d(t,{WV:function(){return s},jH:function(){return l}});var n=r(2265),i=r(54887),a=r(98230),o=r(57437),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>
1{let r=n.forwardRef((e,r)=>{let{asChild:n,...i}=e,s=n?a.g7:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(s,{...i,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function l(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}},30374:function(e,t,r){"use strict";r.d(t,{ck:function(){return B},fC:function(){return D},z$:function(){return F}});var n=r(2265),i=r(82159),a=r(39963),o=r(9883),s=r(26978),l=r(2963),u=r(98571),c=r(82911),d=r(35352),p=r(82253),f=r(88889),h=r(57437),m="Radio",[g,v]=(0,o.b)(m),[y,b]=g(m),x=n.forwardRef((e,t)=>{let{__scopeRadio:r,name:o,checked:l=!1,required:u,disabled:c,value:d="on",onCheck:p,form:f,...m}=e,[g,v]=n.useState(null),b=(0,a.e)(t,e=>v(e)),x=n.useRef(!1),w=!g||f||!!g.closest("form");return(0,h.jsxs)(y,{scope:r,checked:l,disabled:c,children:[(0,h.jsx)(s.WV.button,{type:"button",role:"radio","aria-checked":l,"data-state":T(l),"data-disabled":c?"":void 0,disabled:c,value:d,...m,ref:b,onClick:(0,i.M)(e.onClick,e=>{l||null==p||p(),w&&(x.current=e.isPropagationStopped(),x.current||e.stopPropagation())})}),w&&(0,h.jsx)(S,{control:g,bubbles:!x.current,name:o,value:d,checked:l,required:u,disabled:c,form:f,style:{transform:"translateX(-100%)"}})]})});x.displayName=m;var w="RadioIndicator",E=n.forwardRef((e,t)=>{let{__scopeRadio:r,forceMount:n,...i}=e,a=b(w,r);return(0,h.jsx)(f.z,{present:n||a.checked,children:(0,h.jsx)(s.WV.span,{"data-state":T(a.checked),"data-disabled":a.disabled?"":void 0,...i,ref:t})})});E.displayName=w;var S=e=>{let{control:t,checked:r,bubbles:i=!0,...a}=e,o=n.useRef(null),s=(0,p.D)(r),l=(0,d.t)(t);return n.useEffect(()=>{let e=o.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(s!==r&&t){let n=new Event("click",{bubbles:i});t.call(e,r),e.dispatchEvent(n)}},[s,r,i]),(0,h.jsx)("input",{type:"radio","aria-hidden":!0,defaultChecked:r,...a,tabIndex:-1,ref:o,style:{...e.style,...l,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function T(e){return e?"checked":"unchecked"}var _=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],k="RadioGroup",[C,O]=(0,o.b)(k,[l.Pc,v]),A=(0,l.Pc)(),I=v(),[P,M]=C(k),R=n.forwardRef((e,t)=>{let{__scopeRadioGroup:r,name:n,defaultValue:i,value:a,required:o=!1,disabled:d=!1,orientation:p,dir:f,loop:m=!0,onValueChange:g,...v}=e,y=A(r),b=(0,c.gm)(f),[x,w]=(0,u.T)({prop:a,defaultProp:i,onChange:g});return(0,h.jsx)(P,{scope:r,name:n,required:o,disabled:d,value:x,onValueChange:w,children:(0,h.jsx)(l.fC,{asChild:!0,...y,orientation:p,dir:b,loop:m,children:(0,h.jsx)(s.WV.div,{role:"radiogroup","aria-required":o,"aria-orientation":p,"data-disabled":d?"":void 0,dir:b,...v,ref:t})})})});R.displayName=k;var L="RadioGroupItem",j=n.forwardRef((e,t)=>{let{__scopeRadioGroup:r,disabled:o,...s}=e,u=M(L,r),c=u.disabled||o,d=A(r),p=I(r),f=n.useRef(null),m=(0,a.e)(t,f),g=u.value===s.value,v=n.useRef(!1);return n.useEffect(()=>{let e=e=>{_.includes(e.key)&&(v.current=!0)},t=()=>v.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}},[]),(0,h.jsx)(l.ck,{asChild:!0,...d,focusable:!c,active:g,children:(0,h.jsx)(x,{disabled:c,required:u.required,checked:g,...p,...s,name:u.name,ref:m,onCheck:()=>u.onValueChange(s.value),onKeyDown:(0,i.M)(e=>{"Enter"===e.key&&e.preventDefault()}),onFocus:(0,i.M)(s.onFocus,()=>{var e;v.current&&(null===(e=f.current)||void 0===e||e.click())})})})});j.displayName=L;var N=n.forwardRef((e,t)=>{let{__scopeRadioGroup:r,...n}=e,i=I(r);return(0,h.jsx)(E,{...i,...n,ref:t})});N.displayName="RadioGroupIndicator";var D=R,B=j,F=N},2963:function(e,t,r){"use strict";r.d(t,{ck:function(){return I},fC:function(){return A},Pc:function(){return x}});var n=r(2265),i=r(82159),a=r(28402),o=r(39963),s=r(57437),l=r(52145),u=r(26978),c=r(30272),d=r(98571),p=r(82911),f="rovingFocusGroup.onEntryFocus",h={bubbles:!1,cancelable:!0},m="RovingFocusGroup",[g,v,y]=(0,a.B)(m),[b,x]=function(e,t=[]){let r=[],i=()=>{let t=r.map(e=>n.createContext(e));return function(r){let i=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])}};return i.scopeName=e,[function(t,i){let a=n.createContext(i),o=r.length;function l(t){let{scope:r,children:i,...l}=t,u=r?.[e][o]||a,c=n.useMemo(()=>l,Object.values(l));return(0,s.jsx)(u.Provider,{value:c,children:i})}return r=[...r,i],l.displayName=t+"Provider",[l,function(r,s){let l=s?.[e][o]||a,u=n.useContext(l);if(u)return u;if(void 0!==i)return i;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=r.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}(i,...t)]}(m,[y]),[w,E]=b(m),S=n.forwardRef((e,t)=>
1(0,s.jsx)(g.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,s.jsx)(g.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,s.jsx)(T,{...e,ref:t})})}));S.displayName=m;var T=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:a,loop:l=!1,dir:m,currentTabStopId:g,defaultCurrentTabStopId:y,onCurrentTabStopIdChange:b,onEntryFocus:x,preventScrollOnEntryFocus:E=!1,...S}=e,T=n.useRef(null),_=(0,o.e)(t,T),k=(0,p.gm)(m),[C=null,A]=(0,d.T)({prop:g,defaultProp:y,onChange:b}),[I,P]=n.useState(!1),M=(0,c.W)(x),R=v(r),L=n.useRef(!1),[j,N]=n.useState(0);return n.useEffect(()=>{let e=T.current;if(e)return e.addEventListener(f,M),()=>e.removeEventListener(f,M)},[M]),(0,s.jsx)(w,{scope:r,orientation:a,dir:k,loop:l,currentTabStopId:C,onItemFocus:n.useCallback(e=>A(e),[A]),onItemShiftTab:n.useCallback(()=>P(!0),[]),onFocusableItemAdd:n.useCallback(()=>N(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>N(e=>e-1),[]),children:(0,s.jsx)(u.WV.div,{tabIndex:I||0===j?-1:0,"data-orientation":a,...S,ref:_,style:{outline:"none",...e.style},onMouseDown:(0,i.M)(e.onMouseDown,()=>{L.current=!0}),onFocus:(0,i.M)(e.onFocus,e=>{let t=!L.current;if(e.target===e.currentTarget&&t&&!I){let t=new CustomEvent(f,h);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=R().filter(e=>e.focusable);O([e.find(e=>e.active),e.find(e=>e.id===C),...e].filter(Boolean).map(e=>e.ref.current),E)}}L.current=!1}),onBlur:(0,i.M)(e.onBlur,()=>P(!1))})})}),_="RovingFocusGroupItem",k=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:a=!0,active:o=!1,tabStopId:c,...d}=e,p=(0,l.M)(),f=c||p,h=E(_,r),m=h.currentTabStopId===f,y=v(r),{onFocusableItemAdd:b,onFocusableItemRemove:x}=h;return n.useEffect(()=>{if(a)return b(),()=>x()},[a,b,x]),(0,s.jsx)(g.ItemSlot,{scope:r,id:f,focusable:a,active:o,children:(0,s.jsx)(u.WV.span,{tabIndex:m?0:-1,"data-orientation":h.orientation,...d,ref:t,onMouseDown:(0,i.M)(e.onMouseDown,e=>{a?h.onItemFocus(f):e.preventDefault()}),onFocus:(0,i.M)(e.onFocus,()=>h.onItemFocus(f)),onKeyDown:(0,i.M)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){h.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let i=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(i))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(i)))return C[i]}(e,h.orientation,h.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let i=y().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)i.reverse();else if("prev"===t||"next"===t){var r,n;"prev"===t&&i.reverse();let a=i.indexOf(e.currentTarget);i=h.loop?(r=i,n=a+1,r.map((e,t)=>r[(n+t)%r.length])):i.slice(a+1)}setTimeout(()=>O(i))}})})})});k.displayName=_;var C={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function O(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}var A=S,I=k},65644:function(e,t,r){"use strict";r.d(t,{VY:function(){return eL},ZA:function(){return eN},JO:function(){return eM},ck:function(){return eB},wU:function(){return ez},eT:function(){return eF},__:function(){return eD},h_:function(){return eR},fC:function(){return eA},$G:function(){return eV},u_:function(){return eH},Z0:function(){return e$},xz:function(){return eI},B4:function(){return eP},l_:function(){return ej}});var n=r(2265),i=r(54887);function a(e,[t,r]){return Math.min(r,Math.max(t,e))}var o=r(82159),s=r(28402),l=r(39963),u=r(9883),c=r(82911),d=r(6712),p=r(81697),f=r(47126),h=r(52145),m=r(60870),g=r(18332),v=r(26978),y=r(98230),b=r(30272),x=r(98571),w=r(81747),E=r(82253),S=r(57437),T=n.forwardRef((e,t)=>(0,S.jsx)(v.WV.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));T.displayName="VisuallyHidden";var _=r(56551),k=r(33287),C=[" ","Enter","ArrowUp","ArrowDown"],O=[" ","Enter"],A="Select",[I,P,M]=(0,s.B)(A),[R,L]=(0,u.b)(A,[M,m.D7]),j=(0,m.D7)(),[N,D]=R(A),[B,F]=R(A),z=e=>{let{__scopeSelect:t,children:r,open:i,defaultOpen:a,onOpenChange:o,value:s,defaultValue:l,onValueChange:u,dir:d,name:p,autoComplete:f,disabled:g,required:v,form:y}=e,b=j(t),[w,E]=n.useState(null),[T,_]=n.useState(null),[k,C]=n.useState(!1),O=(0,c.gm)(d),[A=!1,P]=(0,x.T)({prop:i,defaultProp:a,onChange:o}),[M,R]=(0,x.T)({prop:s,defaultProp:l,onChange:u}),L=n.useRef(null),D=!w||y||!!w.closest("form"),[F,z]=n.useState(new Set),H=Array.from(F).map(e=>e.props.value).join(";");return(0,S.jsx)(m.fC,{...b,children:(0,S.jsxs)(N,{required:v,scope:t,trigger:w,onTriggerChange:E,valueNode:T,onValueNodeChange:_,valueNodeHasChildren:k,onValueNodeHasChildrenChange:C,contentId:(0,h.M)(),value:M,onValueChange:R,open:A,onOpenChange:P,dir:O,triggerPointerDownPosRef:L,disabled:g,children:[(0,S.jsx)(I.Provider,{scope:t,children:(0,S.jsx)(B,{scope:e.__scopeSelect,onNativeOptionAdd:n.useCallback(e=>{z(t=>new Set(t).add(e))},[]),onNativeOptionRemove:n.useCallback(e=>{z(t=>{let r=new Set(t);return r.delete(e),r})},[]),children:r})}),D?(0,S.jsxs)(ek,{"aria-hidden":!0,required:v,tabIndex:-1,name:p,autoComplete:f,value:M,onChange:e=>R(e.target.value),disabled:g,form:y,children:[void 0===M?(0,S.jsx)("option",{value:""}):null,Array.from(F)]},H):null]})})};z.displayName=A;var H="SelectTrigger",V=n.forwardRef((e,t)=>
1{let{__scopeSelect:r,disabled:i=!1,...a}=e,s=j(r),u=D(H,r),c=u.disabled||i,d=(0,l.e)(t,u.onTriggerChange),p=P(r),f=n.useRef("touch"),[h,g,y]=eC(e=>{let t=p().filter(e=>!e.disabled),r=t.find(e=>e.value===u.value),n=eO(t,e,r);void 0!==n&&u.onValueChange(n.value)}),b=e=>{c||(u.onOpenChange(!0),y()),e&&(u.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,S.jsx)(m.ee,{asChild:!0,...s,children:(0,S.jsx)(v.WV.button,{type:"button",role:"combobox","aria-controls":u.contentId,"aria-expanded":u.open,"aria-required":u.required,"aria-autocomplete":"none",dir:u.dir,"data-state":u.open?"open":"closed",disabled:c,"data-disabled":c?"":void 0,"data-placeholder":e_(u.value)?"":void 0,...a,ref:d,onClick:(0,o.M)(a.onClick,e=>{e.currentTarget.focus(),"mouse"!==f.current&&b(e)}),onPointerDown:(0,o.M)(a.onPointerDown,e=>{f.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(b(e),e.preventDefault())}),onKeyDown:(0,o.M)(a.onKeyDown,e=>{let t=""!==h.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||g(e.key),(!t||" "!==e.key)&&C.includes(e.key)&&(b(),e.preventDefault())})})})});V.displayName=H;var $="SelectValue",Z=n.forwardRef((e,t)=>{let{__scopeSelect:r,className:n,style:i,children:a,placeholder:o="",...s}=e,u=D($,r),{onValueNodeHasChildrenChange:c}=u,d=void 0!==a,p=(0,l.e)(t,u.onValueNodeChange);return(0,w.b)(()=>{c(d)},[c,d]),(0,S.jsx)(v.WV.span,{...s,ref:p,style:{pointerEvents:"none"},children:e_(u.value)?(0,S.jsx)(S.Fragment,{children:o}):a})});Z.displayName=$;var U=n.forwardRef((e,t)=>{let{__scopeSelect:r,children:n,...i}=e;return(0,S.jsx)(v.WV.span,{"aria-hidden":!0,...i,ref:t,children:n||"â¼"})});U.displayName="SelectIcon";var G=e=>(0,S.jsx)(g.h,{asChild:!0,...e});G.displayName="SelectPortal";var W="SelectContent",q=n.forwardRef((e,t)=>{let r=D(W,e.__scopeSelect),[a,o]=n.useState();return((0,w.b)(()=>{o(new DocumentFragment)},[]),r.open)?(0,S.jsx)(X,{...e,ref:t}):a?i.createPortal((0,S.jsx)(Y,{scope:e.__scopeSelect,children:(0,S.jsx)(I.Slot,{scope:e.__scopeSelect,children:(0,S.jsx)("div",{children:e.children})})}),a):null});q.displayName=W;var[Y,K]=R(W),X=n.forwardRef((e,t)=>{let{__scopeSelect:r,position:i="item-aligned",onCloseAutoFocus:a,onEscapeKeyDown:s,onPointerDownOutside:u,side:c,sideOffset:h,align:m,alignOffset:g,arrowPadding:v,collisionBoundary:b,collisionPadding:x,sticky:w,hideWhenDetached:E,avoidCollisions:T,...C}=e,O=D(W,r),[A,I]=n.useState(null),[M,R]=n.useState(null),L=(0,l.e)(t,e=>I(e)),[j,N]=n.useState(null),[B,F]=n.useState(null),z=P(r),[H,V]=n.useState(!1),$=n.useRef(!1);n.useEffect(()=>{if(A)return(0,_.Ry)(A)},[A]),(0,p.EW)();let Z=n.useCallback(e=>{let[t,...r]=z().map(e=>e.ref.current),[n]=r.slice(-1),i=document.activeElement;for(let r of e)if(r===i||(null==r||r.scrollIntoView({block:"nearest"}),r===t&&M&&(M.scrollTop=0),r===n&&M&&(M.scrollTop=M.scrollHeight),null==r||r.focus(),document.activeElement!==i))return},[z,M]),U=n.useCallback(()=>Z([j,A]),[Z,j,A]);n.useEffect(()=>{H&&U()},[H,U]);let{onOpenChange:G,triggerPointerDownPosRef:q}=O;n.useEffect(()=>{if(A){let e={x:0,y:0},t=t=>{var r,n,i,a;e={x:Math.abs(Math.round(t.pageX)-(null!==(i=null===(r=q.current)||void 0===r?void 0:r.x)&&void 0!==i?i:0)),y:Math.abs(Math.round(t.pageY)-(null!==(a=null===(n=q.current)||void 0===n?void 0:n.y)&&void 0!==a?a:0))}},r=r=>{e.x<=10&&e.y<=10?r.preventDefault():A.contains(r.target)||G(!1),document.removeEventListener("pointermove",t),q.current=null};return null!==q.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",r,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",r,{capture:!0})}}},[A,G,q]),n.useEffect(()=>{let e=()=>G(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[G]);let[K,X]=eC(e=>{let t=z().filter(e=>!e.disabled),r=t.find(e=>e.ref.current===document.activeElement),n=eO(t,e,r);n&&setTimeout(()=>n.ref.current.focus())}),ee=n.useCallback((e,t,r)=>{let n=!$.current&&!r;(void 0!==O.value&&O.value===t||n)&&(N(e),n&&($.current=!0))},[O.value]),et=n.useCallback(()=>null==A?void 0:A.focus(),[A]),er=n.useCallback((e,t,r)=>{let n=!$.current&&!r;(void 0!==O.value&&O.value===t||n)&&F(e)},[O.value]),en="popper"===i?Q:J,ei=en===Q?{side:c,sideOffset:h,align:m,alignOffset:g,arrowPadding:v,collisionBoundary:b,collisionPadding:x,sticky:w,hideWhenDetached:E,avoidCollisions:T}:{};return(0,S.jsx)(Y,{scope:r,content:A,viewport:M,onViewportChange:R,itemRefCallback:ee,selectedItem:j,onItemLeave:et,itemTextRefCallback:er,focusSelectedItem:U,selectedItemText:B,position:i,isPositioned:H,searchRef:K,children:(0,S.jsx)(k.Z,{as:y.g7,allowPinchZoom:!0,children:(0,S.jsx)(f.M,{asChild:!0,trapped:O.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,o.M)(a,e=>{var t;null===(t=O.trigger)||void 0===t||t.focus({preventScroll:!0}),e.preventDefault()}),children:(0,S.jsx)(d.XB,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>O.onOpenChange(!1),children:(0,S.jsx)(en,{role:"listbox",id:O.contentId,"data-state":O.open?"open":"closed",dir:O.dir,onContextMenu:e=>e.preventDefault(),...C,...ei,onPlaced:()=>V(!0),ref:L,style:{display:"flex",flexDirection:"column",outline:"none",...C.style},onKeyDown:(0,o.M)(C.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;
1if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||X(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=z().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let r=e.target,n=t.indexOf(r);t=t.slice(n+1)}setTimeout(()=>Z(t)),e.preventDefault()}})})})})})})});X.displayName="SelectContentImpl";var J=n.forwardRef((e,t)=>{let{__scopeSelect:r,onPlaced:i,...o}=e,s=D(W,r),u=K(W,r),[c,d]=n.useState(null),[p,f]=n.useState(null),h=(0,l.e)(t,e=>f(e)),m=P(r),g=n.useRef(!1),y=n.useRef(!0),{viewport:b,selectedItem:x,selectedItemText:E,focusSelectedItem:T}=u,_=n.useCallback(()=>{if(s.trigger&&s.valueNode&&c&&p&&b&&x&&E){let e=s.trigger.getBoundingClientRect(),t=p.getBoundingClientRect(),r=s.valueNode.getBoundingClientRect(),n=E.getBoundingClientRect();if("rtl"!==s.dir){let i=n.left-t.left,o=r.left-i,s=e.left-o,l=e.width+s,u=Math.max(l,t.width),d=a(o,[10,Math.max(10,window.innerWidth-10-u)]);c.style.minWidth=l+"px",c.style.left=d+"px"}else{let i=t.right-n.right,o=window.innerWidth-r.right-i,s=window.innerWidth-e.right-o,l=e.width+s,u=Math.max(l,t.width),d=a(o,[10,Math.max(10,window.innerWidth-10-u)]);c.style.minWidth=l+"px",c.style.right=d+"px"}let o=m(),l=window.innerHeight-20,u=b.scrollHeight,d=window.getComputedStyle(p),f=parseInt(d.borderTopWidth,10),h=parseInt(d.paddingTop,10),v=parseInt(d.borderBottomWidth,10),y=f+h+u+parseInt(d.paddingBottom,10)+v,w=Math.min(5*x.offsetHeight,y),S=window.getComputedStyle(b),T=parseInt(S.paddingTop,10),_=parseInt(S.paddingBottom,10),k=e.top+e.height/2-10,C=x.offsetHeight/2,O=f+h+(x.offsetTop+C);if(O<=k){let e=o.length>0&&x===o[o.length-1].ref.current;c.style.bottom="0px";let t=p.clientHeight-b.offsetTop-b.offsetHeight;c.style.height=O+Math.max(l-k,C+(e?_:0)+t+v)+"px"}else{let e=o.length>0&&x===o[0].ref.current;c.style.top="0px";let t=Math.max(k,f+b.offsetTop+(e?T:0)+C);c.style.height=t+(y-O)+"px",b.scrollTop=O-k+b.offsetTop}c.style.margin="".concat(10,"px 0"),c.style.minHeight=w+"px",c.style.maxHeight=l+"px",null==i||i(),requestAnimationFrame(()=>g.current=!0)}},[m,s.trigger,s.valueNode,c,p,b,x,E,s.dir,i]);(0,w.b)(()=>_(),[_]);let[k,C]=n.useState();(0,w.b)(()=>{p&&C(window.getComputedStyle(p).zIndex)},[p]);let O=n.useCallback(e=>{e&&!0===y.current&&(_(),null==T||T(),y.current=!1)},[_,T]);return(0,S.jsx)(ee,{scope:r,contentWrapper:c,shouldExpandOnScrollRef:g,onScrollButtonChange:O,children:(0,S.jsx)("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:k},children:(0,S.jsx)(v.WV.div,{...o,ref:h,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});J.displayName="SelectItemAlignedPosition";var Q=n.forwardRef((e,t)=>{let{__scopeSelect:r,align:n="start",collisionPadding:i=10,...a}=e,o=j(r);return(0,S.jsx)(m.VY,{...o,...a,ref:t,align:n,collisionPadding:i,style:{boxSizing:"border-box",...a.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Q.displayName="SelectPopperPosition";var[ee,et]=R(W,{}),er="SelectViewport",en=n.forwardRef((e,t)=>{let{__scopeSelect:r,nonce:i,...a}=e,s=K(er,r),u=et(er,r),c=(0,l.e)(t,s.onViewportChange),d=n.useRef(0);return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:i}),(0,S.jsx)(I.Slot,{scope:r,children:(0,S.jsx)(v.WV.div,{"data-radix-select-viewport":"",role:"presentation",...a,ref:c,style:{position:"relative",flex:1,overflow:"hidden auto",...a.style},onScroll:(0,o.M)(a.onScroll,e=>{let t=e.currentTarget,{contentWrapper:r,shouldExpandOnScrollRef:n}=u;if((null==n?void 0:n.current)&&r){let e=Math.abs(d.current-t.scrollTop);if(e>0){let n=window.innerHeight-20,i=Math.max(parseFloat(r.style.minHeight),parseFloat(r.style.height));if(i<n){let a=i+e,o=Math.min(n,a),s=a-o;r.style.height=o+"px","0px"===r.style.bottom&&(t.scrollTop=s>0?s:0,r.style.justifyContent="flex-end")}}}d.current=t.scrollTop})})})]})});en.displayName=er;var ei="SelectGroup",[ea,eo]=R(ei),es=n.forwardRef((e,t)=>
1{let{__scopeSelect:r,...n}=e,i=(0,h.M)();return(0,S.jsx)(ea,{scope:r,id:i,children:(0,S.jsx)(v.WV.div,{role:"group","aria-labelledby":i,...n,ref:t})})});es.displayName=ei;var el="SelectLabel",eu=n.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e,i=eo(el,r);return(0,S.jsx)(v.WV.div,{id:i.id,...n,ref:t})});eu.displayName=el;var ec="SelectItem",[ed,ep]=R(ec),ef=n.forwardRef((e,t)=>{let{__scopeSelect:r,value:i,disabled:a=!1,textValue:s,...u}=e,c=D(ec,r),d=K(ec,r),p=c.value===i,[f,m]=n.useState(null!=s?s:""),[g,y]=n.useState(!1),b=(0,l.e)(t,e=>{var t;return null===(t=d.itemRefCallback)||void 0===t?void 0:t.call(d,e,i,a)}),x=(0,h.M)(),w=n.useRef("touch"),E=()=>{a||(c.onValueChange(i),c.onOpenChange(!1))};if(""===i)throw Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,S.jsx)(ed,{scope:r,value:i,disabled:a,textId:x,isSelected:p,onItemTextChange:n.useCallback(e=>{m(t=>{var r;return t||(null!==(r=null==e?void 0:e.textContent)&&void 0!==r?r:"").trim()})},[]),children:(0,S.jsx)(I.ItemSlot,{scope:r,value:i,disabled:a,textValue:f,children:(0,S.jsx)(v.WV.div,{role:"option","aria-labelledby":x,"data-highlighted":g?"":void 0,"aria-selected":p&&g,"data-state":p?"checked":"unchecked","aria-disabled":a||void 0,"data-disabled":a?"":void 0,tabIndex:a?void 0:-1,...u,ref:b,onFocus:(0,o.M)(u.onFocus,()=>y(!0)),onBlur:(0,o.M)(u.onBlur,()=>y(!1)),onClick:(0,o.M)(u.onClick,()=>{"mouse"!==w.current&&E()}),onPointerUp:(0,o.M)(u.onPointerUp,()=>{"mouse"===w.current&&E()}),onPointerDown:(0,o.M)(u.onPointerDown,e=>{w.current=e.pointerType}),onPointerMove:(0,o.M)(u.onPointerMove,e=>{if(w.current=e.pointerType,a){var t;null===(t=d.onItemLeave)||void 0===t||t.call(d)}else"mouse"===w.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,o.M)(u.onPointerLeave,e=>{if(e.currentTarget===document.activeElement){var t;null===(t=d.onItemLeave)||void 0===t||t.call(d)}}),onKeyDown:(0,o.M)(u.onKeyDown,e=>{var t;(null===(t=d.searchRef)||void 0===t?void 0:t.current)!==""&&" "===e.key||(O.includes(e.key)&&E()," "===e.key&&e.preventDefault())})})})})});ef.displayName=ec;var eh="SelectItemText",em=n.forwardRef((e,t)=>{let{__scopeSelect:r,className:a,style:o,...s}=e,u=D(eh,r),c=K(eh,r),d=ep(eh,r),p=F(eh,r),[f,h]=n.useState(null),m=(0,l.e)(t,e=>h(e),d.onItemTextChange,e=>{var t;return null===(t=c.itemTextRefCallback)||void 0===t?void 0:t.call(c,e,d.value,d.disabled)}),g=null==f?void 0:f.textContent,y=n.useMemo(()=>(0,S.jsx)("option",{value:d.value,disabled:d.disabled,children:g},d.value),[d.disabled,d.value,g]),{onNativeOptionAdd:b,onNativeOptionRemove:x}=p;return(0,w.b)(()=>(b(y),()=>x(y)),[b,x,y]),(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(v.WV.span,{id:d.textId,...s,ref:m}),d.isSelected&&u.valueNode&&!u.valueNodeHasChildren?i.createPortal(s.children,u.valueNode):null]})});em.displayName=eh;var eg="SelectItemIndicator",ev=n.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e;return ep(eg,r).isSelected?(0,S.jsx)(v.WV.span,{"aria-hidden":!0,...n,ref:t}):null});ev.displayName=eg;var ey="SelectScrollUpButton",eb=n.forwardRef((e,t)=>{let r=K(ey,e.__scopeSelect),i=et(ey,e.__scopeSelect),[a,o]=n.useState(!1),s=(0,l.e)(t,i.onScrollButtonChange);return(0,w.b)(()=>{if(r.viewport&&r.isPositioned){let e=function(){o(t.scrollTop>0)},t=r.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[r.viewport,r.isPositioned]),a?(0,S.jsx)(eE,{...e,ref:s,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=r;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});eb.displayName=ey;var ex="SelectScrollDownButton",ew=n.forwardRef((e,t)=>{let r=K(ex,e.__scopeSelect),i=et(ex,e.__scopeSelect),[a,o]=n.useState(!1),s=(0,l.e)(t,i.onScrollButtonChange);return(0,w.b)(()=>{if(r.viewport&&r.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;o(Math.ceil(t.scrollTop)<e)},t=r.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[r.viewport,r.isPositioned]),a?(0,S.jsx)(eE,{...e,ref:s,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=r;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});ew.displayName=ex;var eE=n.forwardRef((e,t)=>
1{let{__scopeSelect:r,onAutoScroll:i,...a}=e,s=K("SelectScrollButton",r),l=n.useRef(null),u=P(r),c=n.useCallback(()=>{null!==l.current&&(window.clearInterval(l.current),l.current=null)},[]);return n.useEffect(()=>()=>c(),[c]),(0,w.b)(()=>{var e;let t=u().find(e=>e.ref.current===document.activeElement);null==t||null===(e=t.ref.current)||void 0===e||e.scrollIntoView({block:"nearest"})},[u]),(0,S.jsx)(v.WV.div,{"aria-hidden":!0,...a,ref:t,style:{flexShrink:0,...a.style},onPointerDown:(0,o.M)(a.onPointerDown,()=>{null===l.current&&(l.current=window.setInterval(i,50))}),onPointerMove:(0,o.M)(a.onPointerMove,()=>{var e;null===(e=s.onItemLeave)||void 0===e||e.call(s),null===l.current&&(l.current=window.setInterval(i,50))}),onPointerLeave:(0,o.M)(a.onPointerLeave,()=>{c()})})}),eS=n.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e;return(0,S.jsx)(v.WV.div,{"aria-hidden":!0,...n,ref:t})});eS.displayName="SelectSeparator";var eT="SelectArrow";function e_(e){return""===e||void 0===e}n.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e,i=j(r),a=D(eT,r),o=K(eT,r);return a.open&&"popper"===o.position?(0,S.jsx)(m.Eh,{...i,...n,ref:t}):null}).displayName=eT;var ek=n.forwardRef((e,t)=>{let{value:r,...i}=e,a=n.useRef(null),o=(0,l.e)(t,a),s=(0,E.D)(r);return n.useEffect(()=>{let e=a.current,t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(s!==r&&t){let n=new Event("change",{bubbles:!0});t.call(e,r),e.dispatchEvent(n)}},[s,r]),(0,S.jsx)(T,{asChild:!0,children:(0,S.jsx)("select",{...i,ref:o,defaultValue:r})})});function eC(e){let t=(0,b.W)(e),r=n.useRef(""),i=n.useRef(0),a=n.useCallback(e=>{let n=r.current+e;t(n),function e(t){r.current=t,window.clearTimeout(i.current),""!==t&&(i.current=window.setTimeout(()=>e(""),1e3))}(n)},[t]),o=n.useCallback(()=>{r.current="",window.clearTimeout(i.current)},[]);return n.useEffect(()=>()=>window.clearTimeout(i.current),[]),[r,a,o]}function eO(e,t,r){var n;let i=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,a=(n=Math.max(r?e.indexOf(r):-1,0),e.map((t,r)=>e[(n+r)%e.length]));1===i.length&&(a=a.filter(e=>e!==r));let o=a.find(e=>e.textValue.toLowerCase().startsWith(i.toLowerCase()));return o!==r?o:void 0}ek.displayName="BubbleSelect";var eA=z,eI=V,eP=Z,eM=U,eR=G,eL=q,ej=en,eN=es,eD=eu,eB=ef,eF=em,ez=ev,eH=eb,eV=ew,e$=eS},98230:function(e,t,r){"use strict";r.d(t,{g7:function(){return o}});var n=r(2265),i=r(39963),a=r(57437),o=n.forwardRef((e,t)=>{let{children:r,...i}=e,o=n.Children.toArray(r),l=o.find(u);if(l){let e=l.props.children,r=o.map(t=>t!==l?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,a.jsx)(s,{...i,ref:t,children:n.isValidElement(e)?n.cloneElement(e,void 0,r):null})}return(0,a.jsx)(s,{...i,ref:t,children:r})});o.displayName="Slot";var s=n.forwardRef((e,t)=>{let{children:r,...a}=e;if(n.isValidElement(r)){let e,o;let s=(e=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.ref:(e=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.props.ref:r.props.ref||r.ref;return n.cloneElement(r,{...function(e,t){let r={...t};for(let n in t){let i=e[n],a=t[n];/^on[A-Z]/.test(n)?i&&a?r[n]=(...e)=>{a(...e),i(...e)}:i&&(r[n]=i):"style"===n?r[n]={...i,...a}:"className"===n&&(r[n]=[i,a].filter(Boolean).join(" "))}return{...e,...r}}(a,r.props),ref:t?(0,i.F)(t,s):s})}return n.Children.count(r)>1?n.Children.only(null):null});s.displayName="SlotClone";var l=({children:e})=>(0,a.jsx)(a.Fragment,{children:e});function u(e){return n.isValidElement(e)&&e.type===l}},30272:function(e,t,r){"use strict";r.d(t,{W:function(){return i}});var n=r(2265);function i(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},98571:function(e,t,r){"use strict";r.d(t,{T:function(){return a}});var n=r(2265),i=r(30272);function a({prop:e,defaultProp:t,onChange:r=()=>{}}){let[a,o]=function({defaultProp:e,onChange:t}){let r=n.useState(e),[a]=r,o=n.useRef(a),s=(0,i.W)(t);return n.useEffect(()=>{o.current!==a&&(s(a),o.current=a)},[a,o,s]),r}({defaultProp:t,onChange:r}),s=void 0!==e,l=s?e:a,u=(0,i.W)(r);return[l,n.useCallback(t=>{if(s){let r="function"==typeof t?t(e):t;r!==e&&u(r)}else o(t)},[s,e,o,u])]}},81747:function(e,t,r){"use strict";r.d(t,{b:function(){return i}});var n=r(2265),i=globalThis?.document?n.useLayoutEffect:()=>{}},82253:function(e,t,r){"use strict";r.d(t,{D:function(){return i}});var n=r(2265);function i(e){let t=n.useRef({value:e,previous:e});return n.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},35352:function(e,t,r){"use strict";r.d(t,{t:function(){return a}});var n=r(2265),i=r(81747);function a(e){let[t,r]=n.useState(void 0);return(0,i.b)(()=>
1{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,i;if(!Array.isArray(t)||!t.length)return;let a=t[0];if("borderBoxSize"in a){let e=a.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,i=t.blockSize}else n=e.offsetWidth,i=e.offsetHeight;r({width:n,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}},74409:function(e,t,r){"use strict";r.d(t,{useStoryblokState:function(){return a}});var n=r(2265),i=r(57367);let a=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},[a,o]=(0,n.useState)(t),s=null!==(e=null==t?void 0:t.id)&&void 0!==e?e:0,l="u">typeof window&&"u">typeof window.storyblokRegisterEvent;return(0,n.useEffect)(()=>{o(t),l&&t&&(0,i.MB)(s,e=>o(e),r)},[t]),a}},83724:function(e,t,r){"use strict";r.d(t,{LF:function(){return n.LF}}),r(2265);var n=r(57367);r(29081),r(76231),r(74409),r(1770),r(24177),r(83498)},29081:function(e,t,r){"use strict";r.d(t,{Xr:function(){return i},Y7:function(){return o},cY:function(){return a}}),r(57367),r(83498);let n={},i=e=>n[e]?n[e]:(console.error(`Component ${e} doesn't exist.`),!1),a=()=>!1,o=()=>null},50600:function(e,t,r){"use strict";r.d(t,{default:function(){return s}});var n=r(57367),i=r(2265);r(6431);var a=(0,r(61474).$)("963e0ae37ba656de290cf7e01b37a93c34ce5e2b");let o=()=>!(typeof window>"u")&&"u">typeof window.storyblokRegisterEvent&&window.location.search.includes("_storyblok"),s=e=>{var t;let{story:r=null,bridgeOptions:s={}}=e;if(!o())return null;let l=e=>{e&&(0,i.startTransition)(()=>{a({story:e,pathToRevalidate:window.location.pathname})})},u=null!==(t=null==r?void 0:r.id)&&void 0!==t?t:0;return(0,i.useEffect)(()=>{(0,n.MB)(u,e=>l(e),s)},[]),null}},76231:function(e,t,r){"use strict";r.d(t,{P:function(){return s}});var n=r(2265),i=r(83498),a=r(57367);function o(e){var t,r;let a=null==(t=null==e?void 0:e.attrs)?void 0:t.body;return n.createElement(i.Z,{blok:Array.isArray(a)?a[0]:void 0,key:null==(r=e.attrs)?void 0:r.id})}function s(e){let t={renderFn:n.createElement,textFn:e=>n.createElement(n.Fragment,{key:Math.random().toString(36).substring(2,15)},e),resolvers:{[a.P7.COMPONENT]:o,...e.resolvers},keyedResolvers:!0};return(0,a.eS)(t)}},68731:function(e,t,r){"use strict";r.d(t,{Eo:function(){return s},M$:function(){return n.M$},LF:function(){return n.LF},$d:function(){return g}}),r(76231),r(1770);var n=r(57367),i=r(57437),a=r(2265);r(83498);var o=r(50600);(0,a.forwardRef)(({story:e,bridgeOptions:t,...r},n)=>{if(!e)return console.error("Please provide a 'story' property to the StoryblokServerComponent"),null;if(globalThis.storyCache.has(e.uuid)&&(e=globalThis.storyCache.get(e.uuid),globalThis.storyCache.delete(e.uuid)),"string"==typeof e.content)try{e.content=JSON.parse(e.content)}catch(t){console.error("An error occurred while trying to parse the story content",t),e.content={}}return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s,{ref:n,blok:e.content,...r}),(0,i.jsx)(o.default,{story:e,bridgeOptions:t})]})});let s=(0,a.forwardRef)(({blok:e,...t},r)=>{if(!e)return console.error("Please provide a 'blok' property to the StoryblokComponent"),(0,i.jsx)("div",{children:"Please provide a blok property to the StoryblokServerComponent"});let n=f(e.component);if(n)return(0,i.jsx)(n,{ref:r,blok:e,...t});if(h()){let r=m();return r?(0,i.jsx)(r,{blok:e,...t}):(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("p",{children:["Component could not be found for blok"," ",(0,i.jsx)("strong",{children:e.component}),"! Is it configured correctly?"]})})}return(0,i.jsx)("div",{})});s.displayName="StoryblokServerComponent";let l=null,u=new Map,c=!1,d=null;globalThis.storyCache=globalThis.storyCache?globalThis.storyCache:new Map;let p=e=>(Object.entries(e).forEach(([e,t])=>{u.set(e,t)}),u),f=e=>u.has(e)?u.get(e):(console.error(`Component ${e} doesn't exist.`),!1),h=()=>c,m=()=>d,g=(e={})=>{if(l)return()=>l;let{storyblokApi:t}=(0,n.$d)(e);return l=t,e.components&&p(e.components),c=e.enableFallbackComponent,d=e.customFallbackComponent,()=>t}},83498:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(57437),i=r(2265),a=r(29081);let o=(0,i.forwardRef)(({blok:e,...t},r)=>{if(!e)return console.error("Please provide a 'blok' property to the StoryblokComponent"),(0,n.jsx)("div",{children:"Please provide a blok property to the StoryblokComponent"});let i=(0,a.Xr)(e.component);if(i)return(0,n.jsx)(i,{ref:r,blok:e,...t});if((0,a.cY)()){let r=(0,a.Y7)();return r?(0,n.jsx)(r,{blok:e,...t}):(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("p",{children:["Component could not be found for blok"," ",(0,n.jsx)("strong",{children:e.component}),"! Is it configured correctly?"]})})}return(0,n.jsx)("div",{})});o.displayName="StoryblokComponent"},57367:function(e,t,r){"use strict";let n,i,a,o;r.d(t,{$d:function(){return Z},LF:function(){return O},M$:function(){return C},MB:function(){return V},P7:function(){return A},eS:function(){return F}});let s=!1,l=[],u=e=>new Promise((t,r)=>{if(typeof window>"u"||(window.storyblokRegisterEvent=e=>{if(window.location===window.parent.location){console.warn("You are not in Draft Mode or in the Visual Editor.");return}s?e():l.push(e)},document.getElementById("storyblok-javascript-bridge")))return;let n=document.createElement("script");n.async=!0,n.src=e,n.id="storyblok-javascript-bridge",n.onerror=e=>r(e),n.onload=e=>
1{l.forEach(e=>e()),s=!0,t(e)},document.getElementsByTagName("head")[0].appendChild(n)});var c=Object.defineProperty,d=(e,t,r)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,p=(e,t,r)=>d(e,"symbol"!=typeof t?t+"":t,r);class f extends Error{constructor(e){super(e),this.name="AbortError"}}class h{constructor(){p(this,"isCDNUrl",(e="")=>e.includes("/cdn/")),p(this,"getOptionsPage",(e,t=25,r=1)=>({...e,per_page:t,page:r})),p(this,"delay",e=>new Promise(t=>setTimeout(t,e))),p(this,"arrayFrom",(e=0,t)=>Array.from({length:e},t)),p(this,"range",(e=0,t=e)=>{let r=e<t?1:-1;return this.arrayFrom(Math.abs(t-e)||0,(t,n)=>n*r+e)}),p(this,"asyncMap",async(e,t)=>Promise.all(e.map(t))),p(this,"flatMap",(e=[],t)=>e.map(t).reduce((e,t)=>[...e,...t],[])),p(this,"escapeHTML",function(e){let t={"&":"&","<":"<",">":">",'"':""","'":"'"},r=/[&<>"']/g,n=new RegExp(r.source);return e&&n.test(e)?e.replace(r,e=>t[e]):e})}stringify(e,t,r){let n=[];for(let i in e){let a;if(!Object.prototype.hasOwnProperty.call(e,i))continue;let o=e[i];if(null==o)continue;let s=r?"":encodeURIComponent(i);a="object"==typeof o?this.stringify(o,t?t+encodeURIComponent(`[${s}]`):s,Array.isArray(o)):`${t?t+encodeURIComponent(`[${s}]`):s}=${encodeURIComponent(o)}`,n.push(a)}return n.join("&")}getRegionURL(e){switch(e){case"us":return"api-us.storyblok.com";case"cn":return"app.storyblokchina.cn";case"ap":return"api-ap.storyblok.com";case"ca":return"api-ca.storyblok.com";default:return"api.storyblok.com"}}}let m=function(e,t){let r={};for(let n in e){let i=e[n];t.includes(n)&&null!==i&&(r[n]=i)}return r},g=e=>"email"===e,v={nodes:{horizontal_rule:()=>({singleTag:"hr"}),blockquote:()=>({tag:"blockquote"}),bullet_list:()=>({tag:"ul"}),code_block:e=>({tag:["pre",{tag:"code",attrs:e.attrs}]}),hard_break:()=>({singleTag:"br"}),heading:e=>({tag:`h${e.attrs.level}`}),image:e=>({singleTag:[{tag:"img",attrs:m(e.attrs,["src","alt","title"])}]}),list_item:()=>({tag:"li"}),ordered_list:()=>({tag:"ol"}),paragraph:()=>({tag:"p"}),emoji:e=>({tag:[{tag:"span",attrs:{"data-type":"emoji","data-name":e.attrs.name,emoji:e.attrs.emoji}}]})},marks:{bold:()=>({tag:"b"}),strike:()=>({tag:"s"}),underline:()=>({tag:"u"}),strong:()=>({tag:"strong"}),code:()=>({tag:"code"}),italic:()=>({tag:"i"}),link:e=>{if(!e.attrs)return{tag:""};let t=new h().escapeHTML,r={...e.attrs},{linktype:n="url"}=e.attrs;if(delete r.linktype,r.href&&(r.href=t(e.attrs.href||"")),g(n)&&(r.href=`mailto:${r.href}`),r.anchor&&(r.href=`${r.href}#${r.anchor}`,delete r.anchor),r.custom){for(let e in r.custom)r[e]=r.custom[e];delete r.custom}return{tag:[{tag:"a",attrs:r}]}},styled:e=>({tag:[{tag:"span",attrs:e.attrs}]}),subscript:()=>({tag:"sub"}),superscript:()=>({tag:"sup"}),anchor:e=>({tag:[{tag:"span",attrs:e.attrs}]}),highlight:e=>{var t;return null!=(t=e.attrs)&&t.color?{tag:[{tag:"span",attrs:{style:`background-color:${e.attrs.color};`}}]}:{tag:""}},textStyle:e=>{var t;return null!=(t=e.attrs)&&t.color?{tag:[{tag:"span",attrs:{style:`color:${e.attrs.color}`}}]}:{tag:""}}}},y=function(e){let t={"&":"&","<":"<",">":">",'"':""","'":"'"},r=/[&<>"']/g,n=new RegExp(r.source);return e&&n.test(e)?e.replace(r,e=>t[e]):e},b=!1;class x{constructor(e){p(this,"marks"),p(this,"nodes"),e||(e=v),this.marks=e.marks||[],this.nodes=e.nodes||[]}addNode(e,t){this.nodes[e]=t}addMark(e,t){this.marks[e]=t}render(e,t={optimizeImages:!1},r=!0){if(!b&&r&&(console.warn("Warning â ï¸: The RichTextResolver class is deprecated and will be removed in the next major release. Please use the `@storyblok/richtext` package instead. https://github.com/storyblok/richtext/"),b=!0),e&&e.content&&Array.isArray(e.content)){let r="";return e.content.forEach(e=>{r+=this.renderNode(e)}),t.optimizeImages?this.optimizeImages(r,t.optimizeImages):r}return console.warn(`The render method must receive an Object with a "content" field. 2 The "content" field must be an array of nodes as the type ISbRichtext. 3 ISbRichtext: 4 content?: ISbRichtext[] 5 marks?: ISbRichtext[] 6 attrs?: any 7 text?: string 8 type: string 9 10 Example: 11 { 12 content: [ 13 { 14 content: [ 15 { 16 text: 'Hello World', 17 type: 'text' 18 } 19 ], 20 type: 'paragraph' 21 } 22 ], 23 type: 'doc' 24 }`),""}optimizeImages(e,t){let r=0,n=0,i="",a="";"boolean"!=typeof t&&("number"==typeof t.width&&t.width>0&&(i+=`width="${t.width}" `,r=t.width),"number"==typeof t.height&&t.height>0&&(i+=`height="${t.height}" `,n=t.height),("lazy"===t.loading||"eager"===t.loading)&&(i+=`loading="${t.loading}" `),"string"==typeof t.class&&t.class.length>0&&(i+=`class="${t.class}" `),t.filters&&("number"==typeof t.filters.blur&&t.filters.blur>=0&&t.filters.blur<=100&&(a+=`:blur(${t.filters.blur})`),"number"==typeof t.filters.brightness&&t.filters.brightness>=-100&&t.filters.brightness<=100&&(a+=`:brightness(${t.filters.brightness})`),t.filters.fill&&(t.filters.fill.match(/[0-9A-F]{6}/gi)||"transparent"===t.filters.fill)&&(a+=`:fill(${t.filters.fill})`),t.filters.format&&["webp","png","jpeg"].includes(t.filters.format)&&(a+=`:format(${t.filters.format})`),"boolean"==typeof t.filters.grayscale&&t.filters.grayscale&&(a+=":grayscale()"),"number"==typeof t.filters.quality&&t.filters.quality>=0&&t.filters.quality<=100&&(a+=`:quality(${t.filters.quality})`),t.filters.rotate&&[90,180,270].includes(t.filters.rotate)&&(a+=`:rotate(${t.filters.rotate})`),a.length>0&&(a=`/filters${a}`))),i.length>0&&(e=e.replace(/<img/g,`<img ${i.trim()}`));let o=r>0||n>0||a.length>0?`${r}x${n}${a}`:"";return e=e.replace(/a.storyblok.com\/f\/(\d+)\/([^.]+)\.(gif|jpg|jpeg|png|tif|bmp)/g,`a.storyblok.com/f/$1/$2.$3/m/${o}`),"boolean"!=typeof t&&(t.sizes||t.srcset)&&(e=e.replace(/<img.*?src=["|'](.*?)["|']/g,e=>{var r,n;let i=e.match(/a.storyblok.com\/f\/(\d+)\/([^.]+)\.(gif|jpg|jpeg|png|tif|bmp)/g);if(i&&i.length>0){let o={srcset:null==(r=t.srcset)?void 0:r.map(e=>{if("number"==typeof e)return`//${i}/m/${e}x0${a} ${e}w`;if("object"==typeof e&&2===e.length){let t=0,r=0;return"number"==typeof e[0]&&(t=e[0]),"number"==typeof e[1]&&(r=e[1]),`//${i}/m/${t}x${r}${a} ${t}w`}return""}).join(", "),sizes:null==(n=t.sizes)?void 0:n.map(e=>e).join(", ")},s="";return o.srcset&&(s+=`srcset="${o.srcset}" `),o.sizes&&(s+=`sizes="${o.sizes}" `),e.replace(/<img/g,`<img ${s.trim()}`)}return e})),e}renderNode(e){let t=[];
24e.marks&&e.marks.forEach(e=>{let r=this.getMatchingMark(e);r&&""!==r.tag&&t.push(this.renderOpeningTag(r.tag))});let r=this.getMatchingNode(e);return r&&r.tag&&t.push(this.renderOpeningTag(r.tag)),e.content?e.content.forEach(e=>{t.push(this.renderNode(e))}):e.text?t.push(y(e.text)):r&&r.singleTag?t.push(this.renderTag(r.singleTag," /")):r&&r.html?t.push(r.html):"emoji"===e.type&&t.push(this.renderEmoji(e)),r&&r.tag&&t.push(this.renderClosingTag(r.tag)),e.marks&&e.marks.slice(0).reverse().forEach(e=>{let r=this.getMatchingMark(e);r&&""!==r.tag&&t.push(this.renderClosingTag(r.tag))}),t.join("")}renderTag(e,t){return e.constructor===String?`<${e}${t}>`:e.map(e=>{if(e.constructor===String)return`<${e}${t}>`;{let r=`<${e.tag}`;if(e.attrs){for(let t in e.attrs)if(Object.prototype.hasOwnProperty.call(e.attrs,t)){let n=e.attrs[t];null!==n&&(r+=` ${t}="${n}"`)}}return`${r}${t}>`}}).join("")}renderOpeningTag(e){return this.renderTag(e,"")}renderClosingTag(e){return e.constructor===String?`</${e}>`:e.slice(0).reverse().map(e=>e.constructor===String?`</${e}>`:`</${e.tag}>`).join("")}getMatchingNode(e){let t=this.nodes[e.type];if("function"==typeof t)return t(e)}getMatchingMark(e){let t=this.marks[e.type];if("function"==typeof t)return t(e)}renderEmoji(e){if(e.attrs.emoji)return e.attrs.emoji;let t=[{tag:"img",attrs:{src:e.attrs.fallbackImage,draggable:"false",loading:"lazy",align:"absmiddle"}}];return this.renderTag(t," /")}}class w{constructor(e){p(this,"baseURL"),p(this,"timeout"),p(this,"headers"),p(this,"responseInterceptor"),p(this,"fetch"),p(this,"ejectInterceptor"),p(this,"url"),p(this,"parameters"),p(this,"fetchOptions"),this.baseURL=e.baseURL,this.headers=e.headers||new Headers,this.timeout=null!=e&&e.timeout?1e3*e.timeout:0,this.responseInterceptor=e.responseInterceptor,this.fetch=(...t)=>e.fetch?e.fetch(...t):fetch(...t),this.ejectInterceptor=!1,this.url="",this.parameters={},this.fetchOptions={}}get(e,t){return this.url=e,this.parameters=t,this._methodHandler("get")}post(e,t){return this.url=e,this.parameters=t,this._methodHandler("post")}put(e,t){return this.url=e,this.parameters=t,this._methodHandler("put")}delete(e,t){return this.url=e,this.parameters=t??{},this._methodHandler("delete")}async _responseHandler(e){let t=[],r={data:{},headers:{},status:0,statusText:""};for(let n of(204!==e.status&&await e.json().then(e=>{r.data=e}),e.headers.entries()))t[n[0]]=n[1];return r.headers={...t},r.status=e.status,r.statusText=e.statusText,r}async _methodHandler(e){let t,r=`${this.baseURL}${this.url}`,n=null;if("get"===e){let e=new h;r=`${this.baseURL}${this.url}?${e.stringify(this.parameters)}`}else n=JSON.stringify(this.parameters);let i=new URL(r),a=new AbortController,{signal:o}=a;this.timeout&&(t=setTimeout(()=>a.abort(),this.timeout));try{let r=await this.fetch(`${i}`,{method:e,headers:this.headers,body:n,signal:o,...this.fetchOptions});this.timeout&&clearTimeout(t);let a=await this._responseHandler(r);return this.responseInterceptor&&!this.ejectInterceptor?this._statusHandler(this.responseInterceptor(a)):this._statusHandler(a)}catch(e){return{message:e}}}setFetchOptions(e={}){Object.keys(e).length>0&&"method"in e&&delete e.method,this.fetchOptions={...e}}eject(){this.ejectInterceptor=!0}_statusHandler(e){let t=/20[0-6]/g;return new Promise((r,n)=>{if(t.test(`${e.status}`))return r(e);n({message:e.statusText,status:e.status,response:Array.isArray(e.data)?e.data[0]:e.data.error||e.data.slug})})}}let E="SB-Agent",S={defaultAgentName:"SB-JS-CLIENT",defaultAgentVersion:"SB-Agent-Version",packageVersion:"6.0.0"},T={},_={};class k{constructor(e,t){p(this,"client"),p(this,"maxRetries"),p(this,"retriesDelay"),p(this,"throttle"),p(this,"accessToken"),p(this,"cache"),p(this,"helpers"),p(this,"resolveCounter"),p(this,"relations"),p(this,"links"),p(this,"richTextResolver"),p(this,"resolveNestedRelations"),p(this,"stringifiedStoriesCache");let r=e.endpoint||t;if(!r){let t=new h().getRegionURL,n=!1===e.https?"http":"https";r=e.oauthToken?`${n}://${t(e.region)}/v1`:`${n}://${t(e.region)}/v2`}let n=new Headers;n.set("Content-Type","application/json"),n.set("Accept","application/json"),e.headers&&("Headers"===e.headers.constructor.name?e.headers.entries().toArray():Object.entries(e.headers)).forEac
24h(([e,t])=>{n.set(e,t)}),n.has(E)||(n.set(E,S.defaultAgentName),n.set(S.defaultAgentVersion,S.packageVersion));let i=5;e.oauthToken&&(n.set("Authorization",e.oauthToken),i=3),e.rateLimit&&(i=e.rateLimit),e.richTextSchema?this.richTextResolver=new x(e.richTextSchema):this.richTextResolver=new x,e.componentResolver&&this.setComponentResolver(e.componentResolver),this.maxRetries=e.maxRetries||10,this.retriesDelay=300,this.throttle=function(e,t,r){if(!Number.isFinite(t))throw TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(1e3))throw TypeError("Expected `interval` to be a finite number");let n=[],i=[],a=0,o=!1,s=async()=>{a++;let t=n.shift();if(t)try{let r=await e(...t.args);t.resolve(r)}catch(e){t.reject(e)}let r=setTimeout(()=>{a--,n.length>0&&s(),i=i.filter(e=>e!==r)},1e3);i.includes(r)||i.push(r)},l=(...e)=>o?Promise.reject(Error("Throttled function is already aborted and not accepting new promises")):new Promise((r,i)=>{n.push({resolve:r,reject:i,args:e}),a<t&&s()});return l.abort=()=>{o=!0,i.forEach(clearTimeout),i=[],n.forEach(e=>e.reject(()=>new f("Throttle function aborted"))),n.length=0},l}(this.throttledRequest.bind(this),i,0),this.accessToken=e.accessToken||"",this.relations={},this.links={},this.cache=e.cache||{clear:"manual"},this.helpers=new h,this.resolveCounter=0,this.resolveNestedRelations=e.resolveNestedRelations||!0,this.stringifiedStoriesCache={},this.client=new w({baseURL:r,timeout:e.timeout||0,headers:n,responseInterceptor:e.responseInterceptor,fetch:e.fetch})}setComponentResolver(e){this.richTextResolver.addNode("blok",t=>{let r="";return t.attrs.body&&t.attrs.body.forEach(t=>{r+=e(t.component,t)}),{html:r}}
24)}parseParams(e){return e.token||(e.token=this.getToken()),e.cv||(e.cv=_[e.token]),Array.isArray(e.resolve_relations)&&(e.resolve_relations=e.resolve_relations.join(",")),"u">typeof e.resolve_relations&&(e.resolve_level=2),e}factoryParamOptions(e,t){return this.helpers.isCDNUrl(e)?this.parseParams(t):t}makeRequest(e,t,r,n,i){let a=this.factoryParamOptions(e,this.helpers.getOptionsPage(t,r,n));return this.cacheResponse(e,a,void 0,i)}get(e,t,r){t||(t={});let n=`/${e}`,i=this.factoryParamOptions(n,t);return this.cacheResponse(n,i,void 0,r)}async getAll(e,t,r,n){let i=(null==t?void 0:t.per_page)||25,a=`/${e}`.replace(/\/$/,""),o=r??a.substring(a.lastIndexOf("/")+1),s=await this.makeRequest(a,t,i,1,n),l=s.total?Math.ceil(s.total/i):1,u=await this.helpers.asyncMap(this.helpers.range(1,l),e=>this.makeRequest(a,t,i,e+1,n));return this.helpers.flatMap([s,...u],e=>Object.values(e.data[o]))}post(e,t,r){let n=`/${e}`;return Promise.resolve(this.throttle("post",n,t,r))}put(e,t,r){let n=`/${e}`;return Promise.resolve(this.throttle("put",n,t,r))}delete(e,t,r){t||(t={});let n=`/${e}`;return Promise.resolve(this.throttle("delete",n,t,r))}getStories(e,t){return this._addResolveLevel(e),this.get("cdn/stories",e,t)}getStory(e,t,r){return this._addResolveLevel(t),this.get(`cdn/stories/${e}`,t,r)}getToken(){return this.accessToken}ejectInterceptor(){this.client.eject()}_addResolveLevel(e){"u">typeof e.resolve_relations&&(e.resolve_level=2)}_cleanCopy(e){return JSON.parse(JSON.stringify(e))}_insertLinks(e,t,r){let n=e[t];n&&"multilink"===n.fieldtype&&"story"===n.linktype&&"string"==typeof n.id&&this.links[r][n.id]?n.story=this._cleanCopy(this.links[r][n.id]):n&&"story"===n.linktype&&"string"==typeof n.uuid&&this.links[r][n.uuid]&&(n.story=this._cleanCopy(this.links[r][n.uuid]))}getStoryReference(e,t){return this.relations[e][t]?JSON.parse(this.stringifiedStoriesCache[t]||JSON.stringify(this.relations[e][t])):t}_resolveField(e,t,r){let n=e[t];"string"==typeof n?e[t]=this.getStoryReference(r,n):Array.isArray(n)&&(e[t]=n.map(e=>this.getStoryReference(r,e)).filter(Boolean))}_insertRelations(e,t,r,n){if(Array.isArray(r)?r.find(e=>e.endsWith(`.${t}`)):r.endsWith(`.${t}`)){this._resolveField(e,t,n);return}let i=e.component?`${e.component}.${t}`:t;(Array.isArray(r)?r.includes(i):r===i)&&this._resolveField(e,t,n)}iterateTree(e,t,r){let n=(e,i="")=>{if(!(!e||e._stopResolving)){if(Array.isArray(e))e.forEach((e,t)=>n(e,`${i}[${t}]`));else if("object"==typeof e)for(let a in e){let o=i?`${i}.${a}`:a;(e.component&&e._uid||"link"===e.type)&&(this._insertRelations(e,a,t,r),this._insertLinks(e,a,r)),n(e[a],o)}}};n(e.content)}async resolveLinks(e,t,r){let n=[];if(e.link_uuids){let r=e.link_uuids.length,i=[];for(let t=0;t<r;t+=50){let n=Math.min(r,t+50);i.push(e.link_uuids.slice(t,n))}for(let e=0;e<i.length;
24e++)(await this.getStories({per_page:50,language:t.language,version:t.version,starts_with:t.starts_with,by_uuids:i[e].join(",")})).data.stories.forEach(e=>{n.push(e)})}else n=e.links;n.forEach(e=>{this.links[r][e.uuid]={...e,_stopResolving:!0}})}async resolveRelations(e,t,r){let n=[];if(e.rel_uuids){let r=e.rel_uuids.length,i=[];for(let t=0;t<r;t+=50){let n=Math.min(r,t+50);i.push(e.rel_uuids.slice(t,n))}for(let e=0;e<i.length;e++)(await this.getStories({per_page:50,language:t.language,version:t.version,starts_with:t.starts_with,by_uuids:i[e].join(","),excluding_fields:t.excluding_fields})).data.stories.forEach(e=>{n.push(e)});n.length>0&&(e.rels=n,delete e.rel_uuids)}else n=e.rels;n&&n.length>0&&n.forEach(e=>{this.relations[r][e.uuid]={...e,_stopResolving:!0}})}async resolveStories(e,t,r){var n,i;let a=[];if(this.links[r]={},this.relations[r]={},"u">typeof t.resolve_relations&&t.resolve_relations.length>0&&("string"==typeof t.resolve_relations&&(a=t.resolve_relations.split(",")),await this.resolveRelations(e,t,r)),t.resolve_links&&["1","story","url","link"].includes(t.resolve_links)&&(null!=(n=e.links)&&n.length||null!=(i=e.link_uuids)&&i.length)&&await this.resolveLinks(e,t,r),this.resolveNestedRelations)for(let e in this.relations[r])this.iterateTree(this.relations[r][e],a,r);e.story?this.iterateTree(e.story,a,r):e.stories.forEach(e=>{this.iterateTree(e,a,r)}),this.stringifiedStoriesCache={},delete this.links[r],delete this.relations[r]}async cacheResponse(e,t,r,n){let i=this.helpers.stringify({url:e,params:t}),a=this.cacheProvider();if("published"===t.version&&"/cdn/spaces/me"!==e){let e=await a.get(i);if(e)return Promise.resolve(e)}return new Promise(async(o,s)=>{var l;try{let r=await this.throttle("get",e,t,n);if(200!==r.status)return s(r);let u={data:r.data,headers:r.headers};if(null!=(l=r.headers)&&l["per-page"]&&(u=Object.assign({},u,{perPage:r.headers["per-page"]?Number.parseInt(r.headers["per-page"]):0,total:r.headers["per-page"]?Number.parseInt(r.headers.total):0})),u.data.story||u.data.stories){let e=this.resolveCounter=++this.resolveCounter%1e3;await this.resolveStories(u.data,t,`${e}`)}"published"===t.version&&"/cdn/spaces/me"!==e&&await a.set(i,u);let c="onpreview"===this.cache.clear&&"draft"===t.version||"auto"===this.cache.clear;return t.token&&u.data.cv&&(c&&_[t.token]&&_[t.token]!==u.data.cv&&await this.flushCache(),_[t.token]=u.data.cv),o(u)}catch(n){if(n.response&&429===n.status&&(r=typeof r>"u"?0:r+1)<this.maxRetries)return console.log(`Hit rate limit. Retrying in ${this.retriesDelay/1e3} seconds.`),await this.helpers.delay(this.retriesDelay),this.cacheResponse(e,t,r).then(o).catch(s);s(n)}})}throttledRequest(e,t,r,n){return this.client.setFetchOptions(n),this.client[e](t,r)}cacheVersions(){return _}cacheVersion(){return _[this.accessToken]}setCacheVersion(e){this.accessToken&&(_[this.accessToken]=e)}clearCacheVersion(){this.accessToken&&(_[this.accessToken]=0)}cacheProvider(){switch(this.cache.type){case"memory":return{get:e=>Promise.resolve(T[e]),getAll:()=>Promise.resolve(T),set:(e,t)=>(T[e]=t,Promise.resolve(void 0)),flush:()=>(T={},Promise.resolve(void 0))};case"custom":if(this.cache.custom)return this.cache.custom;default:return{get:()=>Promise.resolve(),getAll:()=>Promise.resolve(void 0),set:()=>Promise.resolve(void 0),flush:()=>Promise.resolve(void 0)}}}async flushCache(){return await this.cacheProvider().flush(),this.clearCacheVersion(),this}}let C=(e={})=>{let{apiOptions:t}=e;if(!t||!t.accessToken){console.error("You need to provide an access token to interact with Storyblok API. Read https://www.storyblok.com/docs/api/content-delivery#topics/authentication");return}return{storyblokApi:new k(t)}},O=e=>{if("object"!=typeof e||typeof e._editable>"u")return{};try{let t=JSON.parse(e._editable.replace(/^<!--#storyblok#/,"").replace(/-->$/,""));return t?{"data-blok-c":JSON.stringify(t),"data-blok-uid":`${t.id}-${t.uid}`}:{}}catch{return{}}};var A=((n=A||{}).DOCUMENT="doc",n.HEADING="heading",n.PARAGRAPH="paragraph",n.QUOTE="blockquote",n.OL_LIST="ordered_list",n.UL_LIST="bullet_list",n.LIST_ITEM="list_item",n.CODE_BLOCK="code_block",n.HR="horizontal_rule",n.BR="hard_break",n.IMAGE="image",n.EMOJI="emoji",n.COMPONENT="blok",n.TABLE="table",n.TABLE_ROW="tableRow",
24n.TABLE_CELL="tableCell",n.TABLE_HEADER="tableHeader",n),I=((i=I||{}).BOLD="bold",i.STRONG="strong",i.STRIKE="strike",i.UNDERLINE="underline",i.ITALIC="italic",i.CODE="code",i.LINK="link",i.ANCHOR="anchor",i.STYLED="styled",i.SUPERSCRIPT="superscript",i.SUBSCRIPT="subscript",i.TEXT_STYLE="textStyle",i.HIGHLIGHT="highlight",i),P=((a=P||{}).TEXT="text",a),M=((o=M||{}).URL="url",o.STORY="story",o.ASSET="asset",o.EMAIL="email",o);let R=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"],L=(e={})=>Object.keys(e).map(t=>`${t}="${e[t]}"`).join(" "),j=(e={})=>Object.keys(e).map(t=>`${t}: ${e[t]}`).join("; ");function N(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}let D=e=>Object.fromEntries(Object.entries(e).filter(([e,t])=>void 0!==t));function B(e,t={},r){let n=L(t),i=n?`${e} ${n}`:e,a=Array.isArray(r)?r.join(""):r||"";return e?R.includes(e)?`<${i}>`:`<${i}>${a}</${e}>`:a}function F(e={}){let t=new Map,{renderFn:r=B,textFn:n=N,resolvers:i={},optimizeImages:a=!1,keyedResolvers:o=!1}=e,s=r!==B,l=()=>({render:(e,n={},i)=>{if(o&&e){let r=t.get(e)||0;t.set(e,r+1),n.key=`${e}-${r}`}return r(e,n,i)}}),u=e=>(t,r)=>{let n=t.attrs||{};return r.render(e,n,t.children||null)},c=(e,t=!1)=>({text:r,attrs:n},i)=>{let{class:a,id:o,...s}=n||{},l=t?{class:a,id:o,style:j(s)||void 0}:n||{};return i.render(e,D(l),r)},d=e=>m(e),p=(e,t)=>{let{linktype:r,href:n,anchor:i,...a}=e.attrs||{},o="";switch(r){case M.ASSET:case M.URL:o=n;break;case M.EMAIL:o=`mailto:${n}`;break;case M.STORY:o=n,i&&(o=`${o}#${i}`);break;default:o=n}let s={...a};return o&&(s.href=o),t.render("a",s,e.text)},f=new Map([[A.DOCUMENT,u("")],[A.HEADING,(e,t)=>{let{level:r,...n}=e.attrs||{};return t.render(`h${r}`,n,e.children)}],[A.PARAGRAPH,u("p")],[A.UL_LIST,u("ul")],[A.OL_LIST,u("ol")],[A.LIST_ITEM,u("li")],[A.IMAGE,(e,t)=>{let{src:r,alt:n,title:i,srcset:o,sizes:s}=e.attrs||{},l=r,u={};if(a){let{src:e,attrs:t}=function(e,t){if(!t)return{src:e,attrs:{}};let r=0,n=0,i={},a=[];function o(e,t,r,n,i){"number"!=typeof e||e<=t||e>=r?console.warn(`[StoryblokRichText] - ${n.charAt(0).toUpperCase()+n.slice(1)} value must be a number between ${t} and ${r} (inclusive)`):i.push(`${n}(${e})`)}if("object"==typeof t){if("number"==typeof t.width&&t.width>0?(i.width=t.width,r=t.width):console.warn("[StoryblokRichText] - Width value must be a number greater than 0"),t.height&&"number"==typeof t.height&&t.height>0?(i.height=t.height,n=t.height):console.warn("[StoryblokRichText] - Height value must be a number greater than 0"),t.loading&&["lazy","eager"].includes(t.loading)&&(i.loading=t.loading),t.class&&(i.class=t.class),t.filters){let{filters:e}=t||{},{blur:r,brightness:n,fill:i,format:s,grayscale:l,quality:u,rotate:c}=e||{};r&&o(r,0,100,"blur",a),u&&o(u,0,100,"quality",a),n&&o(n,0,100,"brightness",a),i&&a.push(`fill(${i})`),l&&a.push("grayscale()"),c&&[0,90,180,270].includes(t.filters.rotate||0)&&a.push(`rotate(${c})`),s&&["webp","png","jpeg"].includes(s)&&a.push(`format(${s})`)}t.srcset&&(i.srcset=t.srcset.map(t=>{if("number"==typeof t)return`${e}/m/${t}x0/${a.length>0?`filters:${a.join(":")}`:""} ${t}w`;if(Array.isArray(t)&&2===t.length){let[r,n]=t;return`${e}/m/${r}x${n}/${a.length>0?`filters:${a.join(":")}`:""} ${r}w`}console.warn("[StoryblokRichText] - srcset entry must be a number or a tuple of two numbers")}).join(", ")),t.sizes&&(i.sizes=t.sizes.join(", "))}let s=`${e}/m/`;return r>0&&n>0&&(s=`${s}${r}x${n}/`),a.length>0&&(s=`${s}filters:${a.join(":")}`),{src:s,attrs:i}}(r,a);l=e,u=t}let c={src:l,alt:n,title:i,srcset:o,sizes:s,...u};return t.render("img",D(c))}],[A.EMOJI,(e,t)=>{var r,n,i,a;let o=t.render("img",{src:null==(r=e.attrs)?void 0:r.fallbackImage,alt:null==(n=e.attrs)?void 0:n.alt,style:"width: 1.25em; height: 1.25em; vertical-align: text-top",draggable:"false",loading:"lazy"});return t.render("span",{"data-type":"emoji","data-name":null==(i=e.attrs)?void 0:i.name,"data-emoji":null==(a=e.attrs)?void 0:a.emoji},o)}],[A.CODE_BLOCK,(e,t)=>t.render("pre",e.attrs||{},t.render("code",{},e.children||""))],[A.HR,u("hr")],[A.BR,u("br")],[A.QUOTE,u("blockquote")],[A.COMPONENT,(e,t)=>{var r,n;return console.warn("[StoryblokRichtText] - BLOK resolver is not available for vanilla usage"),t.render("span",{blok:null==(r=null==e?void 0:e.attrs)?void 0:r.body[0],id:null==(n=e.attrs)?void 0:n.id,style:"display: none"})}],[P.TEXT,e=>{let{marks:r,...i}=e;if("text"in e){if(r)return r.reduce((e,t)=>
24d({...t,text:e}),d({...i,children:i.children}));let a=e.attrs||{};if(o){let e=t.get("txt")||0;t.set("txt",e+1),a.key=`txt-${e}`}return n(i.text,a)}return""}],[I.LINK,p],[I.ANCHOR,p],[I.STYLED,c("span",!0)],[I.BOLD,c("strong")],[I.TEXT_STYLE,c("span",!0)],[I.ITALIC,c("em")],[I.UNDERLINE,c("u")],[I.STRIKE,c("s")],[I.CODE,c("code")],[I.SUPERSCRIPT,c("sup")],[I.SUBSCRIPT,c("sub")],[I.HIGHLIGHT,c("mark")],[A.TABLE,(e,t)=>{let r=t.render("tbody",{},e.children);return t.render("table",{},r)}],[A.TABLE_ROW,(e,t)=>t.render("tr",{},e.children)],[A.TABLE_CELL,(e,t)=>{let{colspan:r,rowspan:n,colwidth:i,backgroundColor:a,...o}=e.attrs||{},s={...o};r>1&&(s.colspan=r),n>1&&(s.rowspan=n);let l=[];return i&&l.push(`width: ${i}px;`),a&&l.push(`background-color: ${a};`),l.length>0&&(s.style=l.join(" ")),t.render("td",D(s),e.children)}],[A.TABLE_HEADER,(e,t)=>{let{colspan:r,rowspan:n,colwidth:i,backgroundColor:a,...o}=e.attrs||{},s={...o};r>1&&(s.colspan=r),n>1&&(s.rowspan=n);let l=[];return i&&l.push(`width: ${i}px;`),a&&l.push(`background-color: ${a};`),l.length>0&&(s.style=l.join(" ")),t.render("th",D(s),e.children)}],...Object.entries(i).map(([e,t])=>[e,t])]);function h(e){let t=f.get(e.type);if(!t)return console.error("<Storyblok>",`No resolver found for node type ${e.type}`),"";let r=l();if("text"===e.type)return t(e,r);let n=e.content?e.content.map(m):void 0;return t({...e,children:n},r)}function m(e){return"doc"===e.type?s?e.content.map(h):e.content.map(h).join(""):Array.isArray(e)?e.map(h):h(e)}return{render:m}}let z,H="https://app.storyblok.com/f/storyblok-v2-latest.js",V=(e,t,r={})=>{var n;let i=!(typeof window>"u")&&"u">typeof window.storyblokRegisterEvent,a=new URL(null==(n=window.location)?void 0:n.href).searchParams.get("_storyblok");if(!(!i||!(null!==a&&+a===e))){if(!e){console.warn("Story ID is not defined. Please provide a valid ID.");return}window.storyblokRegisterEvent(()=>{new window.StoryblokBridge(r).on(["input","published","change"],r=>{var n;r&&("input"===r.action&&(null==(n=r.story)?void 0:n.id)===e?t(r.story):("change"===r.action||"published"===r.action)&&r.storyId===e&&window.location.reload())})})}},$=(e,t)=>{e.addNode("blok",e=>{let r="";return e.attrs.body.forEach(e=>{r+=t(e.component,e)}),{html:r}}
24)},Z=(e={})=>{var t,r;let{bridge:n,accessToken:i,use:a=[],apiOptions:o={},richText:s={},bridgeUrl:l}=e;o.accessToken=o.accessToken||i;let c={bridge:n,apiOptions:o},d={};a.forEach(e=>{d={...d,...e(c)}}),l&&(H=l);let p=!(typeof window>"u")&&(null==(r=null==(t=window.location)?void 0:t.search)?void 0:r.includes("_storyblok_tk"));return!1!==n&&p&&u(H),z=new x(s.schema),s.resolver&&$(z,s.resolver),d}},1770:function(e,t,r){"use strict";var n=r(57437),i=r(2265),a=r(24177),o=r(76231);(0,i.forwardRef)(({doc:e,resolvers:t},r)=>{let{render:i}=(0,o.P)({resolvers:t}),s=i(e),l=(0,a.H)(s);return(0,n.jsx)("div",{ref:r,children:l})})},24177:function(e,t,r){"use strict";r.d(t,{H:function(){return function e(t){if(Array.isArray(t))return t.map(t=>e(t));let r={class:"className",for:"htmlFor",targetAttr:"targetattr"},i=Object.keys(t.props).reduce((e,n)=>{let i=t.props[n];return"style"===n&&"string"==typeof i&&(i=i.split(";").reduce((e,t)=>{let[r,n]=t.split(":");return r=null==r?void 0:r.trim(),n=null==n?void 0:n.trim(),r&&n&&(e[r.replace(/-([a-z])/g,e=>e[1].toUpperCase())]=n),e},{})),e[r[n]||n]=i,e},{});i.key=t.key;let a=n.Children.map(t.props.children,t=>"string"==typeof t?t:e(t));return n.createElement(t.type,i,a)}}});var n=r(2265)},10827:function(e,t,r){"use strict";r.d(t,{j:function(){return a}});let n=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,i=function(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=function e(t){var r,n,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t))for(r=0;r<t.length;r++)t[r]&&(n=e(t[r]))&&(i&&(i+=" "),i+=n);else for(r in t)t[r]&&(i&&(i+=" "),i+=r)}return i}(e))&&(n&&(n+=" "),n+=t);return n},a=(e,t)=>r=>{var a;if((null==t?void 0:t.variants)==null)return i(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:o,defaultVariants:s}=t,l=Object.keys(o).map(e=>{let t=null==r?void 0:r[e],i=null==s?void 0:s[e];if(null===t)return null;let a=n(t)||n(i);return o[e][a]}),u=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return i(e,l,null==t?void 0:null===(a=t.compoundVariants)||void 0===a?void 0:a.reduce((e,t)=>{let{class:r,className:n,...i}=t;return Object.entries(i).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...s,...u}[t]):({...s,...u})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},98099:function(e,t,r){"use strict";function n(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=function e(t){var r,n,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t)){var a=t.length;for(r=0;r<a;r++)t[r]&&(n=e(t[r]))&&(i&&(i+=" "),i+=n)}else for(n in t)t[n]&&(i&&(i+=" "),i+=n)}return i}(e))&&(n&&(n+=" "),n+=t);return n}r.d(t,{W:function(){return n}})},88411:function(e,t,r){"use strict";r.d(t,{Z:function(){return a},f:function(){return i}});var n=function(){try{if("undefined"==typeof localStorage)return!1;let e="nuqs-localStorage-test";localStorage.setItem(e,e);let t=localStorage.getItem(e)===e;if(localStorage.removeItem(e),!t)return!1}catch(e){return console.error("[nuqs]: debug mode is disabled (localStorage unavailable).",e),!1}return(localStorage.getItem("debug")??"").includes("nuqs")}();function i(e,...t){if(!n)return;let r=function(e,...t){return e.replace(/%[sfdO]/g,e=>{let r=t.shift();return"%O"===e&&r?JSON.stringify(r).replace(/"([^"]+)":/g,"$1:"):String(r)})}(e,...t);performance.mark(r),console.log(e,...t)}function a(e,...t){n&&console.warn(e,...t)}},18847:function(e,t,r){"use strict";r.d(t,{R:function(){return i},YW:function(){return u},Z0:function(){return l},vU:function(){return o}});var n=r(2265);function i(e){if(0===e.size)return"";let t=[];for(let[r,n]of e.entries()){let e=r.replace(/#/g,"%23").replace(/&/g,"%26").replace(/\+/g,"%2B").replace(/=/g,"%3D").replace(/\?/g,"%3F");t.push(`${e}=${n.replace(/%/g,"%25").replace(/\+/g,"%2B").replace(/ /g,"+").replace(/#/g,"%23").replace(/&/g,"%26").replace(/"/g,"%22").replace(/'/g,"%27").replace(/`/g,"%60").replace(/</g,"%3C").replace(/>/g,"%3E")}`)}return"?"+t.join("&")}var a={404:"nuqs requires an adapter to work with your framework.",409:"Multiple versions of the library are loaded. This may lead to unexpected behavior. Currently using `%s`, but `%s` was about to load on top.",429:"URL update rate-limited by the browser. Consider increasing `throttleMs` for key(s) `%s`. %O",500:"Empty search params cac
24he. Search params can't be accessed in Layouts.",501:"Search params cache already populated. Have you called `parse` twice?"};function o(e){return`[nuqs] ${a[e]} 25 See https://err.47ng.com/NUQS-${e}`}var s=(0,n.createContext)({useAdapter(){throw Error(o(404))}});function l(e){return({children:t,...r})=>(0,n.createElement)(s.Provider,{...r,value:{useAdapter:e}},t)}function u(){let e=(0,n.useContext)(s);if(!("useAdapter"in e))throw Error(o(404));return e.useAdapter()}s.displayName="NuqsAdapterContext"},85226:function(e,t,r){"use strict";r.d(t,{S$:function(){return d},Oi:function(){return u},km:function(){return c},v1:function(){return b}});var n,i=r(88411),a=r(18847),o=r(2265);function s(e,t,r){try{return e(t)}catch(e){return(0,i.Z)("[nuqs] Error while parsing value `%s`: %O"+(r?" (for key `%s`)":""),t,e,r),null}}function l(e){function t(t){if(void 0===t)return null;let r="";if(Array.isArray(t)){if(void 0===t[0])return null;r=t[0]}return"string"==typeof t&&(r=t),s(e.parse,r)}return{eq:(e,t)=>e===t,...e,parseServerSide:t,withDefault(e){return{...this,defaultValue:e,parseServerSide(r){var n;return null!==(n=t(r))&&void 0!==n?n:e}}},withOptions(e){return{...this,...e}}}}var u=l({parse:e=>e,serialize:e=>"".concat(e)});function c(e){return l({parse:t=>e.includes(t)?t:null,serialize:e=>e.toString()})}function d(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:",",n=null!==(t=e.eq)&&void 0!==t?t:(e,t)=>e===t,i=encodeURIComponent(r);return l({parse:t=>""===t?[]:t.split(r).map((t,n)=>s(e.parse,t.replaceAll(i,r),"[".concat(n,"]"))).filter(e=>null!=e),serialize:t=>t.map(t=>(e.serialize?e.serialize(t):String(t)).replaceAll(r,i)).join(r),eq:(e,t)=>e===t||e.length===t.length&&e.every((e,r)=>n(e,t[r]))})}l({parse:e=>{let t=parseInt(e);return Number.isNaN(t)?null:t},serialize:e=>Math.round(e).toFixed()}),l({parse:e=>{let t=parseInt(e,16);return Number.isNaN(t)?null:t},serialize:e=>{let t=Math.round(e).toString(16);return t.padStart(t.length+t.length%2,"0")}}),l({parse:e=>{let t=parseFloat(e);return Number.isNaN(t)?null:t},serialize:e=>e.toString()}),l({parse:e=>"true"===e,serialize:e=>e?"true":"false"}),l({parse:e=>{let t=parseInt(e);return Number.isNaN(t)?null:new Date(t)},serialize:e=>e.valueOf().toString()}),l({parse:e=>{let t=new Date(e);return Number.isNaN(t.valueOf())?null:t},serialize:e=>e.toISOString()}),l({parse:e=>{let t=new Date(e.slice(0,10));return Number.isNaN(t.valueOf())?null:t},serialize:e=>e.toISOString().slice(0,10)});var p={all:n=n||new Map,on:function(e,t){var r=n.get(e);r?r.push(t):n.set(e,[t])},off:function(e,t){var r=n.get(e);r&&(t?r.splice(r.indexOf(t)>>>0,1):n.set(e,[]))},emit:function(e,t){var r=n.get(e);r&&r.slice().map(function(e){e(t)}),(r=n.get("*"))&&r.slice().map(function(r){r(e,t)})}},f=function(){if("undefined"==typeof window||!window.GestureEvent)return 50;try{var e;let t=null===(e=navigator.userAgent)||void 0===e?void 0:e.match(/version\/([\d\.]+) safari/i);return parseFloat(t[1])>=17?120:320}catch(e){return 320}}(),h=new Map,m={history:"replace",scroll:!1,shallow:!0,throttleMs:f},g=new Set,v=0,y=null;function b(e){var t,r,n;let{history:l="replace",shallow:u=!0,scroll:c=!1,throttleMs:d=f,parse:b=e=>e,serialize:x=String,eq:w=(e,t)=>e===t,defaultValue:E,clearOnDefault:S=!0,startTransition:T}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{history:"replace",scroll:!1,shallow:!0,throttleMs:f,parse:e=>e,serialize:String,eq:(e,t)=>e===t,clearOnDefault:!0,defaultValue:void 0},{searchParams:_,updateUrl:k,rateLimitFactor:C=1}=(0,a.YW)(),O=(0,o.useRef)(null!==(t=null==_?void 0:_.get(e))&&void 0!==t?t:null),[A,I]=(0,o.useState)(()=>{var t;let r=h.get(e),n=void 0===r?null!==(t=null==_?void 0:_.get(e))&&void 0!==t?t:null:r;return null===n?null:s(b,n,e)}),P=(0,o.useRef)(A);(0,i.f)("[nuqs `%s`] render - state: %O, iSP: %s",e,A,null!==(r=null==_?void 0:_.get(e))&&void 0!==r?r:null),(0,o.useEffect)(()=>{var t;let r=null!==(t=_.get(e))&&void 0!==t?t:null;if(r===O.current)return;let n=null===r?null:s(b,r,e);(0,i.f)("[nuqs `%s`] syncFromUseSearchParams %O",e,n),P.current=n,O.current=r,I(n)},[null==_?void 0:_.get(e),e]),(0,o.useInsertionEffect)(()=>{function t(t){let{state:r,query:n}=t;(0,i.f)("[nuqs `%s`] updateInternalState %O",e,r),P.current=r,O.current=n,I(r)}return(0,i.f)("[nuqs `%s`] subscribing to sync",e),p.on(e,t),()=>{(0,i.f)("[nuqs `%s`] unsubscribing from sync",e),p.off(e,t)}},[e]);let M=(0,o.useCallback)(function(t){var r,n,o,s,b,_,A,I;let M=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},R="function"==typeof t?t(null!==(n=null!==(r=P.current)&&void 0!==r?r:E)&&void 0!==n?n:null):t;return(null!==(o=M.clearOnDefault)&&void 0!==o?o:S)&&null!==R&&void 0!==E&&w(R,E)&&(R=null),O.current=function(e,t,r,n){var a;let o=null===t?null:r(t);return(0,i.f)("[nuqs queue] Enqueueing %s=%s %O",e,o,n),h.set(e,o),"push"===n.history&&(m.history="push"),n.scroll&&(m.scroll=!0),!1===n.shallow&&(m.shallow=!1),n.startTransition&&g.add(n.startTransition),m.throttleMs=Math.max(null!==(a=n.throttleMs)&&void 0!==a?a:f,Number.isFinite(m.throttleMs)?m.throttleMs:0),o}(e,R,x,{history:null!==(s=M.history)&&void 0!==s?s:l,shallow:null!==(b=M.shallow)&&void 0!==b?b:u,scroll:null!==(_=M.scroll)&&void 0!==_?_:c,throttleMs:null!==(A=M.throttleMs)&&void 0!==A?A:d,startTransition:null!==(I=M.startTransition)&&void 0!==I?I:T}
25),p.emit(e,{state:R,query:O.current}),null===y&&(y=new Promise((e,t)=>{if(!Number.isFinite(m.throttleMs)){(0,i.f)("[nuqs queue] Skipping flush due to throttleMs=Infinity"),e(new URLSearchParams(location.search)),setTimeout(()=>{y=null},0);return}function r(){v=performance.now();let[r,n]=function(e){let t=new URLSearchParams(location.search);if(0===h.size)return[t,null];let r=Array.from(h.entries()),n={...m},o=Array.from(g);for(let[e,a]of(h.clear(),g.clear(),m.history="replace",m.scroll=!1,m.shallow=!0,m.throttleMs=f,(0,i.f)("[nuqs queue] Flushing queue %O with options %O",r,n),r))null===a?t.delete(e):t.set(e,a);try{return function(e,t){let r=n=>{if(n===e.length)return t();let i=e[n];if(!i)throw Error("Invalid transition function");i(()=>r(n+1))};r(0)}(o,()=>{e(t,{history:n.history,scroll:n.scroll,shallow:n.shallow})}),[t,null]}catch(e){return console.error((0,a.vU)(429),r.map(e=>{let[t]=e;return t}).join(),e),[t,e]}}(k);null===n?e(r):t(r),y=null}setTimeout(function(){let e=performance.now()-v,t=m.throttleMs,n=C*Math.max(0,Math.min(t,t-e));(0,i.f)("[nuqs queue] Scheduling flush in %f ms. Throttled at %f ms",n,t),0===n?r():setTimeout(r,n)},0)})),y},[e,l,u,c,d,T,k,C]);return[null!==(n=null!=A?A:E)&&void 0!==n?n:null,M]}},25820:function(e,t,r){"use strict";r.d(t,{Dq:function(){return ef},Gc:function(){return k},KN:function(){return D},Qr:function(){return N},RV:function(){return C},U2:function(){return v},cI:function(){return eL},t8:function(){return w}});var n=r(2265),i=e=>"checkbox"===e.type,a=e=>e instanceof Date,o=e=>null==e;let s=e=>"object"==typeof e;var l=e=>!o(e)&&!Array.isArray(e)&&s(e)&&!a(e),u=e=>l(e)&&e.target?i(e.target)?e.target.checked:e.target.value:e,c=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,d=(e,t)=>e.has(c(t)),p=e=>{let t=e.constructor&&e.constructor.prototype;return l(t)&&t.hasOwnProperty("isPrototypeOf")},f="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function h(e){let t;let r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(!(f&&(e instanceof Blob||e instanceof FileList))&&(r||l(e))))return e;else if(t=r?[]:{},r||p(e))for(let r in e)e.hasOwnProperty(r)&&(t[r]=h(e[r]));else t=e;return t}var m=e=>Array.isArray(e)?e.filter(Boolean):[],g=e=>void 0===e,v=(e,t,r)=>{if(!t||!l(e))return r;let n=m(t.split(/[,[\].]+?/)).reduce((e,t)=>o(e)?e:e[t],e);return g(n)||n===e?g(e[t])?r:e[t]:n},y=e=>"boolean"==typeof e,b=e=>/^\w*$/.test(e),x=e=>m(e.replace(/["|']|\]/g,"").split(/\.|\[/)),w=(e,t,r)=>{let n=-1,i=b(t)?[t]:x(t),a=i.length,o=a-1;for(;++n<a;){let t=i[n],a=r;if(n!==o){let r=e[t];
25a=l(r)||Array.isArray(r)?r:isNaN(+i[n+1])?{}:[]}if("__proto__"===t)return;e[t]=a,e=e[t]}return e};let E={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},S={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},T={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},_=n.createContext(null),k=()=>n.useContext(_),C=e=>{let{children:t,...r}=e;return n.createElement(_.Provider,{value:r},t)};var O=(e,t,r,n=!0)=>{let i={defaultValues:t._defaultValues};for(let a in e)Object.defineProperty(i,a,{get:()=>(t._proxyFormState[a]!==S.all&&(t._proxyFormState[a]=!n||S.all),r&&(r[a]=!0),e[a])});return i},A=e=>l(e)&&!Object.keys(e).length,I=(e,t,r,n)=>{r(e);let{name:i,...a}=e;return A(a)||Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find(e=>t[e]===(!n||S.all))},P=e=>Array.isArray(e)?e:[e],M=(e,t,r)=>!e||!t||e===t||P(e).some(e=>e&&(r?e===t:e.startsWith(t)||t.startsWith(e)));function R(e){let t=n.useRef(e);t.current=e,n.useEffect(()=>{let r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}},[e.disabled])}var L=e=>"string"==typeof e,j=(e,t,r,n,i)=>L(e)?(n&&t.watch.add(e),v(r,e,i)):Array.isArray(e)?e.map(e=>(n&&t.watch.add(e),v(r,e))):(n&&(t.watchAll=!0),r);let N=e=>e.render(function(e){let t=k(),{name:r,disabled:i,control:a=t.control,shouldUnregister:o}=e,s=d(a._names.array,r),l=function(e){let t=k(),{control:r=t.control,name:i,defaultValue:a,disabled:o,exact:s}=e||{},l=n.useRef(i);l.current=i,R({disabled:o,subject:r._subjects.values,next:e=>{M(l.current,e.name,s)&&c(h(j(l.current,r._names,e.values||r._formValues,!1,a)))}});let[u,c]=n.useState(r._getWatch(i,a));return n.useEffect(()=>r._removeUnmounted()),u}({control:a,name:r,defaultValue:v(a._formValues,r,v(a._defaultValues,r,e.defaultValue)),exact:!0}),c=function(e){let t=k(),{control:r=t.control,disabled:i,name:a,exact:o}=e||{},[s,l]=n.useState(r._formState),u=n.useRef(!0),c=n.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),d=n.useRef(a);return d.current=a,R({disabled:i,next:e=>u.current&&M(d.current,e.name,o)&&I(e,c.current,r._updateFormState)&&l({...r._formState,...e}),subject:r._subjects.state}),n.useEffect(()=>(u.current=!0,c.current.isValid&&r._updateValid(!0),()=>{u.current=!1}),[r]),O(s,r,c.current,!1)}({control:a,name:r,exact:!0}),p=n.useRef(a.register(r,{...e.rules,value:l,...y(e.disabled)?{disabled:e.disabled}:{}}));return n.useEffect(()=>{let e=a._options.shouldUnregister||o,t=(e,t)=>{let r=v(a._fields,e);r&&r._f&&(r._f.mount=t)};if(t(r,!0),e){let e=h(v(a._options.defaultValues,r));w(a._defaultValues,r,e),g(v(a._formValues,r))&&w(a._formValues,r,e)}return()=>{(s?e&&!a._state.action:e)?a.unregister(r):t(r,!1)}},[r,a,s,o]),n.useEffect(()=>{v(a._fields,r)&&a._updateDisabledField({disabled:i,fields:a._fields,name:r,value:v(a._fields,r)._f.value})},[i,r,a]),{field:{name:r,value:l,...y(i)||c.disabled?{disabled:c.disabled||i}:{},onChange:n.useCallback(e=>p.current.onChange({target:{value:u(e),name:r},type:E.CHANGE}),[r]),onBlur:n.useCallback(()=>p.current.onBlur({target:{value:v(a._formValues,r),name:r},type:E.BLUR}),[r,a]),ref:n.useCallback(e=>{let t=v(a._fields,r);t&&e&&(t._f.ref={focus:()=>e.focus(),select:()=>e.select(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})},[a._fields,r])},formState:c,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!v(c.errors,r)},isDirty:{enumerable:!0,get:()=>!!v(c.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!v(c.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!v(c.validatingFields,r)},error:{enumerable:!0,get:()=>v(c.errors,r)}})}}(e));var D=(e,t,r,n,i)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:i||!0}}:{},B=()=>{let e="undefined"==typeof performance?Date.now():1e3*performance.now();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,t=>{let r=(16*Math.random()+e)%16|0;return("x"==t?r:3&r|8).toString(16)})},F=(e,t,r={})=>
25r.shouldFocus||g(r.shouldFocus)?r.focusName||`${e}.${g(r.focusIndex)?t:r.focusIndex}.`:"",z=e=>({isOnSubmit:!e||e===S.onSubmit,isOnBlur:e===S.onBlur,isOnChange:e===S.onChange,isOnAll:e===S.all,isOnTouch:e===S.onTouched}),H=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))));let V=(e,t,r,n)=>{for(let i of r||Object.keys(e)){let r=v(e,i);if(r){let{_f:e,...a}=r;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],i)&&!n||e.ref&&t(e.ref,e.name)&&!n)return!0;if(V(a,t))break}else if(l(a)&&V(a,t))break}}};var $=(e,t,r)=>{let n=P(v(e,r));return w(n,"root",t[r]),w(e,r,n),e},Z=e=>"file"===e.type,U=e=>"function"==typeof e,G=e=>{if(!f)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},W=e=>L(e),q=e=>"radio"===e.type,Y=e=>e instanceof RegExp;let K={value:!1,isValid:!1},X={value:!0,isValid:!0};var J=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!g(e[0].attributes.value)?g(e[0].value)||""===e[0].value?X:{value:e[0].value,isValid:!0}:X:K}return K};let Q={isValid:!1,value:null};var ee=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,Q):Q;function et(e,t,r="validate"){if(W(e)||Array.isArray(e)&&e.every(W)||y(e)&&!e)return{type:r,message:W(e)?e:"",ref:t}}var er=e=>l(e)&&!Y(e)?e:{value:e,message:""},en=async(e,t,r,n,a)=>{let{ref:s,refs:u,required:c,maxLength:d,minLength:p,min:f,max:h,pattern:m,validate:b,name:x,valueAsNumber:w,mount:E,disabled:S}=e._f,_=v(t,x);if(!E||S)return{};let k=u?u[0]:s,C=e=>{n&&k.reportValidity&&(k.setCustomValidity(y(e)?"":e||""),k.reportValidity())},O={},I=q(s),P=i(s),M=(w||Z(s))&&g(s.value)&&g(_)||G(s)&&""===s.value||""===_||Array.isArray(_)&&!_.length,R=D.bind(null,x,r,O),j=(e,t,r,n=T.maxLength,i=T.minLength)=>{let a=e?t:r;O[x]={type:e?n:i,message:a,ref:s,...R(e?n:i,a)}};if(a?!Array.isArray(_)||!_.length:c&&(!(I||P)&&(M||o(_))||y(_)&&!_||P&&!J(u).isValid||I&&!ee(u).isValid)){let{value:e,message:t}=W(c)?{value:!!c,message:c}:er(c);if(e&&(O[x]={type:T.required,message:t,ref:k,...R(T.required,t)},!r))return C(t),O}if(!M&&(!o(f)||!o(h))){let e,t;let n=er(h),i=er(f);if(o(_)||isNaN(_)){let r=s.valueAsDate||new Date(_),a=e=>new Date(new Date().toDateString()+" "+e),o="time"==s.type,l="week"==s.type;L(n.value)&&_&&(e=o?a(_)>a(n.value):l?_>n.value:r>new Date(n.value)),L(i.value)&&_&&(t=o?a(_)<a(i.value):l?_<i.value:r<new Date(i.value))}else{let r=s.valueAsNumber||(_?+_:_);o(n.value)||(e=r>n.value),o(i.value)||(t=r<i.value)}if((e||t)&&(j(!!e,n.message,i.message,T.max,T.min),!r))return C(O[x].message),O}if((d||p)&&!M&&(L(_)||a&&Array.isArray(_))){let e=er(d),t=er(p),n=!o(e.value)&&_.length>+e.value,i=!o(t.value)&&_.length<+t.value;if((n||i)&&(j(n,e.message,t.message),!r))return C(O[x].message),O}if(m&&!M&&L(_)){let{value:e,message:t}=er(m);if(Y(e)&&!_.match(e)&&(O[x]={type:T.pattern,message:t,ref:s,...R(T.pattern,t)},!r))return C(t),O}if(b){if(U(b)){let e=et(await b(_,t),k);if(e&&(O[x]={...e,...R(T.validate,e.message)},!r))return C(e.message),O}else if(l(b)){let e={};for(let n in b){if(!A(e)&&!r)break;let i=et(await b[n](_,t),k,n);i&&(e={...i,...R(n,i.message)},C(i.message),r&&(O[x]=e))}if(!A(e)&&(O[x]={ref:k,...e},!r))return O}}return C(!0),O},ei=(e,t)=>[...e,...P(t)],ea=e=>Array.isArray(e)?e.map(()=>void 0):void 0;function eo(e,t,r){return[...e.slice(0,t),...P(r),...e.slice(t)]}var es=(e,t,r)=>Array.isArray(e)?(g(e[r])&&(e[r]=void 0),e.splice(r,0,e.splice(t,1)[0]),e):[],el=(e,t)=>[...P(t),...P(e)],eu=(e,t)=>g(t)?[]:function(e,t){let r=0,n=[...e];for(let e of t)n.splice(e-r,1),r++;return m(n).length?n:[]}(e,P(t).sort((e,t)=>e-t)),ec=(e,t,r)=>{[e[t],e[r]]=[e[r],e[t]]};function ed(e,t){let r=Array.isArray(t)?t:b(t)?[t]:x(t),n=1===r.length?e:function(e,t){let r=t.slice(0,-1).length,n=0;for(;n<r;)e=g(e)?n++:e[t[n++]];return e}(e,r),i=r.length-1,a=r[i];return n&&delete n[a],0!==i&&(l(n)&&A(n)||Array.isArray(n)&&function(e){for(let t in e)if(e.hasOwnProperty(t)&&!g(e[t]))return!1;return!0}(n))&&ed(e,r.slice(0,-1)),e}var ep=(e,t,r)=>(e[t]=r,e);function ef(e){let t=k(),{control:r=t.control,name:i,keyName:a="id",shouldUnregister:o}=e,[s,l]=n.useState(r._getFieldArray(i)),u=n.useRef(r._getFieldArray(i).map(B)),c=n.useRef(s),d=n.useRef(i),p=n.useRef(!1);d.current=i,c.current=s,r._names.array.add(i),e.rules&&r.register(i,e.rules),R({next:({values:e,name:t})=>{if(t===d.current||!t){let t=v(e,d.current);Array.isArray(t)&&(l(t),u.current=t.map(B))}},subject:r._subjects.array});let f=n.useCallback(e=>{p.current=!0,r._updateFieldArray(i,e)},[r,i]);return n.useEffect(()=>{if(r._state.action=!1,H(i,r._names)&&r._subjects.state.next({...r._formState}),p.current&&(!z(r._options.mode).isOnSubmit||r._formState.isSubmitted)){if
25(r._options.resolver)r._executeSchema([i]).then(e=>{let t=v(e.errors,i),n=v(r._formState.errors,i);(n?!t&&n.type||t&&(n.type!==t.type||n.message!==t.message):t&&t.type)&&(t?w(r._formState.errors,i,t):ed(r._formState.errors,i),r._subjects.state.next({errors:r._formState.errors}))});else{let e=v(r._fields,i);e&&e._f&&!(z(r._options.reValidateMode).isOnSubmit&&z(r._options.mode).isOnSubmit)&&en(e,r._formValues,r._options.criteriaMode===S.all,r._options.shouldUseNativeValidation,!0).then(e=>!A(e)&&r._subjects.state.next({errors:$(r._formState.errors,e,i)}))}}r._subjects.values.next({name:i,values:{...r._formValues}}),r._names.focus&&V(r._fields,(e,t)=>{if(r._names.focus&&t.startsWith(r._names.focus)&&e.focus)return e.focus(),1}),r._names.focus="",r._updateValid(),p.current=!1},[s,i,r]),n.useEffect(()=>(v(r._formValues,i)||r._updateFieldArray(i),()=>{(r._options.shouldUnregister||o)&&r.unregister(i)}),[i,r,a,o]),{swap:n.useCallback((e,t)=>{let n=r._getFieldArray(i);ec(n,e,t),ec(u.current,e,t),f(n),l(n),r._updateFieldArray(i,n,ec,{argA:e,argB:t},!1)},[f,i,r]),move:n.useCallback((e,t)=>{let n=r._getFieldArray(i);es(n,e,t),es(u.current,e,t),f(n),l(n),r._updateFieldArray(i,n,es,{argA:e,argB:t},!1)},[f,i,r]),prepend:n.useCallback((e,t)=>{let n=P(h(e)),a=el(r._getFieldArray(i),n);r._names.focus=F(i,0,t),u.current=el(u.current,n.map(B)),f(a),l(a),r._updateFieldArray(i,a,el,{argA:ea(e)})},[f,i,r]),append:n.useCallback((e,t)=>{let n=P(h(e)),a=ei(r._getFieldArray(i),n);r._names.focus=F(i,a.length-1,t),u.current=ei(u.current,n.map(B)),f(a),l(a),r._updateFieldArray(i,a,ei,{argA:ea(e)})},[f,i,r]),remove:n.useCallback(e=>{let t=eu(r._getFieldArray(i),e);u.current=eu(u.current,e),f(t),l(t),r._updateFieldArray(i,t,eu,{argA:e})},[f,i,r]),insert:n.useCallback((e,t,n)=>{let a=P(h(t)),o=eo(r._getFieldArray(i),e,a);r._names.focus=F(i,e,n),u.current=eo(u.current,e,a.map(B)),f(o),l(o),r._updateFieldArray(i,o,eo,{argA:e,argB:ea(t)})},[f,i,r]),update:n.useCallback((e,t)=>{let n=h(t),a=ep(r._getFieldArray(i),e,n);u.current=[...a].map((t,r)=>t&&r!==e?u.current[r]:B()),f(a),l([...a]),r._updateFieldArray(i,a,ep,{argA:e,argB:n},!0,!1)},[f,i,r]),replace:n.useCallback(e=>{let t=P(h(e));u.current=t.map(B),f([...t]),l([...t]),r._updateFieldArray(i,[...t],e=>e,{},!0,!1)},[f,i,r]),fields:n.useMemo(()=>s.map((e,t)=>({...e,[a]:u.current[t]||B()})),[s,a])}}var eh=()=>{let e=[];return{get observers(){return e},next:t=>{for(let r of e)r.next&&r.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}},em=e=>o(e)||!s(e);function eg(e,t){if(em(e)||em(t))return e===t;if(a(e)&&a(t))return e.getTime()===t.getTime();let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let i of r){let r=e[i];if(!n.includes(i))return!1;if("ref"!==i){let e=t[i];if(a(r)&&a(e)||l(r)&&l(e)||Array.isArray(r)&&Array.isArray(e)?!eg(r,e):r!==e)return!1}}return!0}var ev=e=>"select-multiple"===e.type,ey=e=>q(e)||i(e),eb=e=>G(e)&&e.isConnected,ex=e=>{for(let t in e)if(U(e[t]))return!0;return!1};function ew(e,t={}){let r=Array.isArray(e);if(l(e)||r)for(let r in e)Array.isArray(e[r])||l(e[r])&&!ex(e[r])?(t[r]=Array.isArray(e[r])?[]:{},ew(e[r],t[r])):o(e[r])||(t[r]=!0);return t}var eE=(e,t)=>(function e(t,r,n){let i=Array.isArray(t);if(l(t)||i)for(let i in t)Array.isArray(t[i])||l(t[i])&&!ex(t[i])?g(r)||em(n[i])?n[i]=Array.isArray(t[i])?ew(t[i],[]):{...ew(t[i])}:e(t[i],o(r)?{}:r[i],n[i]):n[i]=!eg(t[i],r[i]);return n})(e,t,ew(t)),eS=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:n})=>g(e)?e:t?""===e?NaN:e?+e:e:r&&L(e)?new Date(e):n?n(e):e;function eT(e){let t=e.ref;return(e.refs?e.refs.every(e=>e.disabled):t.disabled)?void 0:Z(t)?t.files:q(t)?ee(e.refs).value:ev(t)?[...t.selectedOptions].map(({value:e})=>e):i(t)?J(e.refs).value:eS(g(t.value)?e.ref.value:t.value,e)}var e_=(e,t,r,n)=>{let i={};for(let r of e){let e=v(t,r);e&&w(i,r,e._f)}return{criteriaMode:r,names:[...e],fields:i,shouldUseNativeValidation:n}},ek=e=>g(e)?e:Y(e)?e.source:l(e)?Y(e.value)?e.value.source:e.value:e;let eC="AsyncFunction";var eO=e=>(!e||!e.validate)&&!!(U(e.validate)&&e.validate.constructor.name===eC||l(e.validate)&&Object.values(e.validate).find(e=>e.constructor.name===eC)),eA=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function eI(e,t,r){let n=v(e,r);if(n||b(r))return{error:n,name:r};let i=r.split(".");for(;i.length;){let n=i.join("."),a=v(t,n),o=v(e,n);if(a&&!Array.isArray(a)&&r!==n)break;if(o&&o.type)return{name:n,error:o};i.pop()}return{name:r}}var eP=(e,t,r,n,i)=>!i.isOnAll&&(!r&&i.isOnTouch?!(t||e):(r?n.isOnBlur:i.isOnBlur)?!e:(r?!n.isOnChange:!i.isOnChange)||e),eM=(e,t)=>!m(v(e,t)).length&&ed(e,t);let eR={mode:S.onSubmit,reValidateMode:S.onChange,shouldFocusError:!0};function eL(e={}){let t=n.useRef(),r=n.useRef(),[s,c]=n.useState({isDirty:!1,isValidating:!1,isLoading:U(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:U(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...function(e={}){let t,r={...eR,...e},n={submitCount:0,isDirty:!1,isLoading:U(r.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:r.errors||{},disabled:r.disabled||!1},s={},c=(l(r.defaultValues)||l(r.values))&&h(r.defaultValues||r.values)||{},p=r.shouldUnregister?{}:h(c),b={action:!1,mount:!1,watch:!1},x={mount:new Set,unMount:new Set,array:new Set,watch:new Set},T=0,_={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},k={values:eh(),array:eh(),state:eh()},C=z(r.mode),O=z(r.reValidateMode),I=r.criteriaMode===S.all,M=e=>t=>{clearTimeout(T),T=setTimeout(e,t)},R=async e=>{if(_.isValid||e){let e=r.resolver?A((await q()).errors):await K(s,!0);e!==n.isValid&&k.state.next({isValid:e})}},N=(e,t)=>{(_.isValidating||_.validatingFields)&&((e||Array.from(x.mount)).forEac
25h(e=>{e&&(t?w(n.validatingFields,e,t):ed(n.validatingFields,e))}),k.state.next({validatingFields:n.validatingFields,isValidating:!A(n.validatingFields)}))},D=(e,t)=>{w(n.errors,e,t),k.state.next({errors:n.errors})},B=(e,t,r,n)=>{let i=v(s,e);if(i){let a=v(p,e,g(r)?v(c,e):r);g(a)||n&&n.defaultChecked||t?w(p,e,t?a:eT(i._f)):Q(e,a),b.mount&&R()}},F=(e,t,r,i,a)=>{let o=!1,l=!1,u={name:e},d=!!(v(s,e)&&v(s,e)._f&&v(s,e)._f.disabled);if(!r||i){_.isDirty&&(l=n.isDirty,n.isDirty=u.isDirty=X(),o=l!==u.isDirty);let r=d||eg(v(c,e),t);l=!!(!d&&v(n.dirtyFields,e)),r||d?ed(n.dirtyFields,e):w(n.dirtyFields,e,!0),u.dirtyFields=n.dirtyFields,o=o||_.dirtyFields&&!r!==l}if(r){let t=v(n.touchedFields,e);t||(w(n.touchedFields,e,r),u.touchedFields=n.touchedFields,o=o||_.touchedFields&&t!==r)}return o&&a&&k.state.next(u),o?u:{}},W=(r,i,a,o)=>{let s=v(n.errors,r),l=_.isValid&&y(i)&&n.isValid!==i;if(e.delayError&&a?(t=M(()=>D(r,a)))(e.delayError):(clearTimeout(T),t=null,a?w(n.errors,r,a):ed(n.errors,r)),(a?!eg(s,a):s)||!A(o)||l){let e={...o,...l&&y(i)?{isValid:i}:{},errors:n.errors,name:r};n={...n,...e},k.state.next(e)}},q=async e=>{N(e,!0);let t=await r.resolver(p,r.context,e_(e||x.mount,s,r.criteriaMode,r.shouldUseNativeValidation));return N(e),t},Y=async e=>{let{errors:t}=await q(e);if(e)for(let r of e){let e=v(t,r);e?w(n.errors,r,e):ed(n.errors,r)}else n.errors=t;return t},K=async(e,t,i={valid:!0})=>{for(let a in e){let o=e[a];if(o){let{_f:e,...s}=o;if(e){let s=x.array.has(e.name),l=o._f&&eO(o._f);l&&_.validatingFields&&N([a],!0);let u=await en(o,p,I,r.shouldUseNativeValidation&&!t,s);if(l&&_.validatingFields&&N([a]),u[e.name]&&(i.valid=!1,t))break;t||(v(u,e.name)?s?$(n.errors,u,e.name):w(n.errors,e.name,u[e.name]):ed(n.errors,e.name))}A(s)||await K(s,t,i)}}return i.valid},X=(e,t)=>(e&&t&&w(p,e,t),!eg(eo(),c)),J=(e,t,r)=>j(e,x,{...b.mount?p:g(t)?c:L(e)?{[e]:t}:t},r,t),Q=(e,t,r={})=>{let n=v(s,e),a=t;if(n){let r=n._f;r&&(r.disabled||w(p,e,eS(t,r)),a=G(r.ref)&&o(t)?"":t,ev(r.ref)?[...r.ref.options].forEach(e=>e.selected=a.includes(e.value)):r.refs?i(r.ref)?r.refs.length>1?r.refs.forEach(e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(a)?!!a.find(t=>t===e.value):a===e.value)):r.refs[0]&&(r.refs[0].checked=!!a):r.refs.forEach(e=>e.checked=e.value===a):Z(r.ref)?r.ref.value="":(r.ref.value=a,r.ref.type||k.values.next({name:e,values:{...p}})))}(r.shouldDirty||r.shouldTouch)&&F(e,a,r.shouldTouch,r.shouldDirty,!0),r.shouldValidate&&ea(e)},ee=(e,t,r)=>{for(let n in t){let i=t[n],o=`${e}.${n}`,l=v(s,o);!x.array.has(e)&&em(i)&&(!l||l._f)||a(i)?Q(o,i,r):ee(o,i,r)}},et=(e,t,r={})=>{let i=v(s,e),a=x.array.has(e),l=h(t);w(p,e,l),a?(k.array.next({name:e,values:{...p}}),(_.isDirty||_.dirtyFields)&&r.shouldDirty&&k.state.next({name:e,dirtyFields:eE(c,p),isDirty:X(e,l)})):!i||i._f||o(l)?Q(e,l,r):ee(e,l,r),H(e,x)&&k.state.next({...n}),k.values.next({name:b.mount?e:void 0,values:{...p}})},er=async i=>{b.mount=!0;let a=i.target,o=a.name,l=!0,c=v(s,o),d=e=>{l=Number.isNaN(e)||eg(e,v(p,o,e))};if(c){let f,h;let m=a.type?eT(c._f):u(i),g=i.type===E.BLUR||i.type===E.FOCUS_OUT,y=!eA(c._f)&&!r.resolver&&!v(n.errors,o)&&!c._f.deps||eP(g,v(n.touchedFields,o),n.isSubmitted,O,C),b=H(o,x,g);w(p,o,m),g?(c._f.onBlur&&c._f.onBlur(i),t&&t(0)):c._f.onChange&&c._f.onChange(i);let S=F(o,m,g,!1),T=!A(S)||b;if(g||k.values.next({name:o,type:i.type,values:{...p}}),y)return _.isValid&&("onBlur"===e.mode?g&&R():R()),T&&k.state.next({name:o,...b?{}:S});if(!g&&b&&k.state.next({...n}),r.resolver){let{errors:e}=await q([o]);if(d(m),l){let t=eI(n.errors,s,o),r=eI(e,s,t.name||o);f=r.error,o=r.name,h=A(e)}}else N([o],!0),f=(await en(c,p,I,r.shouldUseNativeValidation))[o],N([o]),d(m),l&&(f?h=!1:_.isValid&&(h=await K(s,!0)));l&&(c._f.deps&&ea(c._f.deps),W(o,h,f,S))}},ei=(e,t)=>{if(v(n.errors,t)&&e.focus)return e.focus(),1},ea=async(e,t={})=>{let i,a;let o=P(e);if(r.resolver){let t=await Y(g(e)?e:o);i=A(t),a=e?!o.some(e=>v(t,e)):i}else e?((a=(await Promise.all(o.map(async e=>{let t=v(s,e);return await K(t&&t._f?{[e]:t}:t)}))).every(Boolean))||n.isValid)&&R():a=i=await K(s);return k.state.next({...!L(e)||_.isValid&&i!==n.isValid?{}:{name:e},...r.resolver||!e?{isValid:i}:{},errors:n.errors}),t.shouldFocus&&!a&&V(s,ei,e?o:x.mount),a},eo=e=>{let t={...b.mount?p:c};return g(e)?t:L(e)?v(t,e):e.map(e=>v(t,e))},es=(e,t)=>({invalid:!!v((t||n).errors,e),isDirty:!!v((t||n).dirtyFields,e),error:v((t||n).errors,e),isValidating:!!v(n.validatingFields,e),isTouched:!!v((t||n).touchedFields,e)}),el=(e,t,r)=>{let i=(v(s,e,{_f:{}})._f||{}).ref,{ref:a,message:o,type:l,...u}=v(n.errors,e)||{};w(n.errors,e,{...u,...t,ref:i}),k.state.next({name:e,errors:n.errors,isValid:!1}),r&&r.shouldFocus&&i&&i.focus&&i.focus()},eu=(e,t={})=>
25{for(let i of e?P(e):x.mount)x.mount.delete(i),x.array.delete(i),t.keepValue||(ed(s,i),ed(p,i)),t.keepError||ed(n.errors,i),t.keepDirty||ed(n.dirtyFields,i),t.keepTouched||ed(n.touchedFields,i),t.keepIsValidating||ed(n.validatingFields,i),r.shouldUnregister||t.keepDefaultValue||ed(c,i);k.values.next({values:{...p}}),k.state.next({...n,...t.keepDirty?{isDirty:X()}:{}}),t.keepIsValid||R()},ec=({disabled:e,name:t,field:r,fields:n,value:i})=>{if(y(e)&&b.mount||e){let a=e?void 0:g(i)?eT(r?r._f:v(n,t)._f):i;w(p,t,a),F(t,a,!1,!1,!0)}},ep=(t,n={})=>{let i=v(s,t),a=y(n.disabled)||y(e.disabled);return w(s,t,{...i||{},_f:{...i&&i._f?i._f:{ref:{name:t}},name:t,mount:!0,...n}}),x.mount.add(t),i?ec({field:i,disabled:y(n.disabled)?n.disabled:e.disabled,name:t,value:n.value}):B(t,!0,n.value),{...a?{disabled:n.disabled||e.disabled}:{},...r.progressive?{required:!!n.required,min:ek(n.min),max:ek(n.max),minLength:ek(n.minLength),maxLength:ek(n.maxLength),pattern:ek(n.pattern)}:{},name:t,onChange:er,onBlur:er,ref:e=>{if(e){ep(t,n),i=v(s,t);let r=g(e.value)&&e.querySelectorAll&&e.querySelectorAll("input,select,textarea")[0]||e,a=ey(r),o=i._f.refs||[];(a?o.find(e=>e===r):r===i._f.ref)||(w(s,t,{_f:{...i._f,...a?{refs:[...o.filter(eb),r,...Array.isArray(v(c,t))?[{}]:[]],ref:{type:r.type,name:t}}:{ref:r}}}),B(t,!1,void 0,r))}else(i=v(s,t,{}))._f&&(i._f.mount=!1),(r.shouldUnregister||n.shouldUnregister)&&!(d(x.array,t)&&b.action)&&x.unMount.add(t)}}},ef=()=>r.shouldFocusError&&V(s,ei,x.mount),ex=(e,t)=>async i=>{let a;i&&(i.preventDefault&&i.preventDefault(),i.persist&&i.persist());let o=h(p);if(k.state.next({isSubmitting:!0}),r.resolver){let{errors:e,values:t}=await q();n.errors=e,o=t}else await K(s);if(ed(n.errors,"root"),A(n.errors)){k.state.next({errors:{}});try{await e(o,i)}catch(e){a=e}}else t&&await t({...n.errors},i),ef(),setTimeout(ef);if(k.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:A(n.errors)&&!a,submitCount:n.submitCount+1,errors:n.errors}),a)throw a},ew=(t,r={})=>{let i=t?h(t):c,a=h(i),o=A(t),l=o?c:a;if(r.keepDefaultValues||(c=i),!r.keepValues){if(r.keepDirtyValues)for(let e of x.mount)v(n.dirtyFields,e)?w(l,e,v(p,e)):et(e,v(l,e));else{if(f&&g(t))for(let e of x.mount){let t=v(s,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(G(e)){let t=e.closest("form");if(t){t.reset();break}}}}s={}}p=e.shouldUnregister?r.keepDefaultValues?h(c):{}:h(l),k.array.next({values:{...l}}),k.values.next({values:{...l}})}x={mount:r.keepDirtyValues?x.mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},b.mount=!_.isValid||!!r.keepIsValid||!!r.keepDirtyValues,b.watch=!!e.shouldUnregister,k.state.next({submitCount:r.keepSubmitCount?n.submitCount:0,isDirty:!o&&(r.keepDirty?n.isDirty:!!(r.keepDefaultValues&&!eg(t,c))),isSubmitted:!!r.keepIsSubmitted&&n.isSubmitted,dirtyFields:o?{}:r.keepDirtyValues?r.keepDefaultValues&&p?eE(c,p):n.dirtyFields:r.keepDefaultValues&&t?eE(c,t):r.keepDirty?n.dirtyFields:{},touchedFields:r.keepTouched?n.touchedFields:{},errors:r.keepErrors?n.errors:{},isSubmitSuccessful:!!r.keepIsSubmitSuccessful&&n.isSubmitSuccessful,isSubmitting:!1})},eC=(e,t)=>ew(U(e)?e(p):e,t);return{control:{register:ep,unregister:eu,getFieldState:es,handleSubmit:ex,setError:el,_executeSchema:q,_getWatch:J,_getDirty:X,_updateValid:R,_removeUnmounted:()=>{for(let e of x.unMount){let t=v(s,e);t&&(t._f.refs?t._f.refs.every(e=>!eb(e)):!eb(t._f.ref))&&eu(e)}x.unMount=new Set},_updateFieldArray:(e,t=[],r,i,a=!0,o=!0)=>{if(i&&r){if(b.action=!0,o&&Array.isArray(v(s,e))){let t=r(v(s,e),i.argA,i.argB);a&&w(s,e,t)}if(o&&Array.isArray(v(n.errors,e))){let t=r(v(n.errors,e),i.argA,i.argB);a&&w(n.errors,e,t),eM(n.errors,e)}if(_.touchedFields&&o&&Array.isArray(v(n.touchedFields,e))){let t=r(v(n.touchedFields,e),i.argA,i.argB);a&&w(n.touchedFields,e,t)}_.dirtyFields&&(n.dirtyFields=eE(c,p)),k.state.next({name:e,isDirty:X(e,t),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else w(p,e,t)},_updateDisabledField:ec,_getFieldArray:t=>m(v(b.mount?p:c,t,e.shouldUnregister?v(c,t,[]):[])),_reset:ew,_resetDefaultValues:()=>U(r.defaultValues)&&r.defaultValues().then(e=>{eC(e,r.resetOptions),k.state.next({isLoading:!1})}),_updateFormState:e=>{n={...n,...e}},_disableForm:e=>{y(e)&&(k.state.next({disabled:e}),V(s,(t,r)=>{let n=v(s,r);n&&(t.disabled=n._f.disabled||e,Array.isArray(n._f.refs)&&n._f.refs.forEac
25h(t=>{t.disabled=n._f.disabled||e}))},0,!1))},_subjects:k,_proxyFormState:_,_setErrors:e=>{n.errors=e,k.state.next({errors:n.errors,isValid:!1})},get _fields(){return s},get _formValues(){return p},get _state(){return b},set _state(value){b=value},get _defaultValues(){return c},get _names(){return x},set _names(value){x=value},get _formState(){return n},set _formState(value){n=value},get _options(){return r},set _options(value){r={...r,...value}}},trigger:ea,register:ep,handleSubmit:ex,watch:(e,t)=>U(e)?k.values.subscribe({next:r=>e(J(void 0,t),r)}):J(e,t,!0),setValue:et,getValues:eo,reset:eC,resetField:(e,t={})=>{v(s,e)&&(g(t.defaultValue)?et(e,h(v(c,e))):(et(e,t.defaultValue),w(c,e,h(t.defaultValue))),t.keepTouched||ed(n.touchedFields,e),t.keepDirty||(ed(n.dirtyFields,e),n.isDirty=t.defaultValue?X(e,h(v(c,e))):X()),!t.keepError&&(ed(n.errors,e),_.isValid&&R()),k.state.next({...n}))},clearErrors:e=>{e&&P(e).forEach(e=>ed(n.errors,e)),k.state.next({errors:e?n.errors:{}})},unregister:eu,setError:el,setFocus:(e,t={})=>{let r=v(s,e),n=r&&r._f;if(n){let e=n.refs?n.refs[0]:n.ref;e.focus&&(e.focus(),t.shouldSelect&&e.select())}},getFieldState:es}}(e),formState:s});let p=t.current.control;return p._options=e,R({subject:p._subjects.state,next:e=>{I(e,p._proxyFormState,p._updateFormState,!0)&&c({...p._formState})}}),n.useEffect(()=>p._disableForm(e.disabled),[p,e.disabled]),n.useEffect(()=>{if(p._proxyFormState.isDirty){let e=p._getDirty();e!==s.isDirty&&p._subjects.state.next({isDirty:e})}},[p,s.isDirty]),n.useEffect(()=>{e.values&&!eg(e.values,r.current)?(p._reset(e.values,p._options.resetOptions),r.current=e.values,c(e=>({...e}))):p._resetDefaultValues()},[e.values,p]),n.useEffect(()=>{e.errors&&p._setErrors(e.errors)},[e.errors,p]),n.useEffect(()=>{p._state.mount||(p._updateValid(),p._state.mount=!0),p._state.watch&&(p._state.watch=!1,p._subjects.state.next({...p._formState})),p._removeUnmounted()}),n.useEffect(()=>{e.shouldUnregister&&p._subjects.values.next({values:p._getWatch()})},[e.shouldUnregister,p]),t.current.formState=O(s,p),t.current}},42231:function(e,t,r){"use strict";r.d(t,{OO:function(){return tB}});var n,i=r(57437),a=r(2265),o=r(54887);function s(e,t){return r=>e(t(r))}function l(e,t){return t(e)}function u(...e){return e}function c(e){e()}function d(e){return void 0!==e}function p(){}function f(e){e(2)}function h(e){return e(4)}function m(e,t){return e(1,e=>t(0,e))}function g(e,t){let r=e(1,e=>{r(),t(e)});return r}function v(){let e=[];return(t,r)=>{switch(t){case 2:e.splice(0,e.length);return;case 1:return e.push(r),()=>{let t=e.indexOf(r);t>-1&&e.splice(t,1)};case 0:e.slice().forEach(e=>{e(r)});return;default:throw Error(`unrecognized action ${t}`)}}}function y(e){let t=e,r=v();return(e,n)=>{switch(e){case 1:n(t);break;case 0:t=n;break;case 4:return t}return r(e,n)}}function b(e){var t;return m(e,t=v()),t}function x(e,t){var r;return m(e,r=y(t)),r}function w(e,...t){let r=function(...e){return t=>e.reduceRight(l,t)}(...t);return(t,n)=>{switch(t){case 1:return e(1,r(n));case 2:f(e);return}}}function E(e,t){return e===t}function S(e=E){let t;return r=>n=>{e(t,n)||(t=n,r(n))}}function T(e){return t=>r=>{e(r)&&t(r)}}function _(e){return t=>s(t,e)}function k(e){return t=>()=>t(e)}function C(e,t){return r=>n=>r(t=e(t,n))}function O(e){return t=>r=>{e>0?e--:t(r)}}function A(e){let t,r=null;return n=>i=>{r=i,t||(t=setTimeout(()=>{t=void 0,n(r)},e))}}function I(e){let t,r;return n=>i=>{t=i,r&&clearTimeout(r),r=setTimeout(()=>{n(t)},e)}}function P(...e){let t=Array(e.length),r=0,n=null,i=Math.pow(2,e.length)-1;return e.forEach((e,a)=>{let o=Math.pow(2,a);e(1,e=>{let s=r;r|=o,t[a]=e,s!==i&&r===i&&n&&(n(),n=null)})}),e=>a=>{let o=()=>e([a].concat(t));r===i?o():n=o}}function M(...e){return function(t,r){switch(t){case 1:return function(...e){return()=>{e.map(c)}}(...e.map(e=>e(1,r)));case 2:return;default:throw Error(`unrecognized action ${t}`)}}}function R(e,t=E){return w(e,S(t))}function L(...e){let t=v(),r=Array(e.length),n=0,i=Math.pow(2,e.length)-1;return e.forEach((e,a)=>{let o=Math.pow(2,a);e(1,e=>{r[a]=e,(n|=o)===i&&t(0,r)})}),function(e,a){switch(e){case 1:return n===i&&a(r),t(1,a);case 2:return f(t);default:throw Error(`unrecognized action ${e}`)}}}function j(e,t=[],{singleton:r}={singleton:!0}){return{id:N(),constructor:e,dependencies:t,singleton:r}}let N=()=>Symbol(),D="undefined"!=typeof document?a.useLayoutEffect:a.useEffect;function B(e,t,r){let n=Object.keys(t.required||{}),o=Object.keys(t.optional||{}),s=Object.keys(t.methods||{}),l=Object.keys(t.events||{}),u=a.createContext({});function c(e,r){for(let i of(e.propsReady&&(0,e.propsReady)(0,!1),n))(0,e[t.required[i]])(0,r[i]);for(let n of o)n in r&&(0,e[t.optional[n]])(0,r[n]);e.propsReady&&(0,e.propsReady)(0,!0)}return{Component:a.forwardRef((d,h)=>{var m;let{children:g,...v}=d,[y]=a.useState(()=>{var t;return c(t=function(e){let t=new Map,r=({id:e,constructor:n,dependencies:i,singleton:a})=>{if(a&&t.has(e))return t.get(e);let o=n(i.map(e=>r(e)));return a&&t.set(e,o),o};return r(e)}(e),v),t}),[b]=a.useState(()=>{var e;return e=y,l.reduce((r,n)=>(r[n]=function(e){let t,r;let n=()=>t&&t();return function(i,a){switch(i){case 1:if(!a)return n(),p;if(r===a)return;return n(),r=a,t=e(1,a);case 2:n(),r=null;return;default:throw Error(`unrecognized action ${i}`)}}}(e[t.events[n]]),r),{})});return D(()=>{for(let e of l)e in v&&(0,b[e])(1,v[e]);return()=>{Object.values(b).map(f)}},[v,b,y]),D(()=>{c(y,v)}),a.useImperativeHandle(h,(m=s.reduce((e,r)=>(e[r]=e=>{(0,y[t.methods[r]])(0,e)},e),{}),()=>m)),(0,i.jsx)(u.Provider,{value:y,children:r?(0,i.jsx)(r,{...function(e,t){let r={},n={},i=0,a=e.length;for(;i<a;)n[e[i]]=1,i+=1;for(let e in t)n.hasOwnProperty(e)||(r[e]=t[e]);return r}([...n,...o,...l],v),children:g}):g})}),usePublisher:e=>{var t;return a.useCallback((t=a.useContext(u)[e],e=>{t(0,e)}),[e])},useEmitterValue:a.version.startsWith("18")?e=>{let t=a.useContext(u)[e],r=a.useCallback(e=>t(1,e),[t]);return a.useSyncExternalStore(r,()=>h(t),()=>h(t))}:e=>{let t=a.useContext(u)[e],[r,n]=a.useState(()=>h(t));return D(()=>t(1,e=>{e!==r&&n(()=>e)}
25),[t,r]),r},useEmitter:(e,t)=>{let r=a.useContext(u)[e];D(()=>r(1,t),[t,r])}}}let F="undefined"!=typeof document?a.useLayoutEffect:a.useEffect;var z=((n=z||{})[n.DEBUG=0]="DEBUG",n[n.INFO=1]="INFO",n[n.WARN=2]="WARN",n[n.ERROR=3]="ERROR",n);let H={0:"debug",1:"log",2:"warn",3:"error"},V=()=>"undefined"==typeof globalThis?window:globalThis,$=j(()=>{let e=y(3);return{log:y((t,r,n=1)=>{var i;n>=(null!=(i=V().VIRTUOSO_LOG_LEVEL)?i:h(e))&&console[H[n]]("%creact-virtuoso: %c%s %o","color: #0253b3; font-weight: bold","color: initial",t,r)}),logLevel:e}},[],{singleton:!0});function Z(e,t,r){let n=a.useRef(null),i=e=>{};if("undefined"!=typeof ResizeObserver){let o=a.useMemo(()=>new ResizeObserver(t=>{let n=()=>{let r=t[0].target;null!==r.offsetParent&&e(r)};r?n():requestAnimationFrame(n)}),[e]);i=e=>{e&&t?(o.observe(e),n.current=e):(n.current&&o.unobserve(n.current),n.current=null)}}return{ref:n,callbackRef:i}}function U(e,t,r){return Z(e,t,r).callbackRef}function G(e,t,r,n,i,o,s,l,u){return Z(a.useCallback(r=>{let a=function(e,t,r,n){let i=e.length;if(0===i)return null;let a=[];for(let o=0;o<i;o++){let i=e.item(o);if(!i||void 0===i.dataset.index)continue;let s=parseInt(i.dataset.index),l=parseFloat(i.dataset.knownSize),u=t(i,r);if(0===u&&n("Zero-sized element, this should not happen",{child:i},z.ERROR),u===l)continue;let c=a[a.length-1];0===a.length||c.size!==u||c.endIndex!==s-1?a.push({startIndex:s,endIndex:s,size:u}):a[a.length-1].endIndex++}return a}(r.children,t,l?"offsetWidth":"offsetHeight",i),u=r.parentElement;for(;!u.dataset.virtuosoScroller;)u=u.parentElement;let c="window"===u.lastElementChild.dataset.viewportType;n({scrollTop:Math.max(s?l?s.scrollLeft:s.scrollTop:c?l?window.pageXOffset||document.documentElement.scrollLeft:window.pageYOffset||document.documentElement.scrollTop:l?u.scrollLeft:u.scrollTop,0),scrollHeight:s?l?s.scrollWidth:s.scrollHeight:c?l?document.documentElement.scrollWidth:document.documentElement.scrollHeight:l?u.scrollWidth:u.scrollHeight,viewportHeight:s?l?s.offsetWidth:s.offsetHeight:c?l?window.innerWidth:window.innerHeight:l?u.offsetWidth:u.offsetHeight}),null==o||o(l?W("column-gap",getComputedStyle(r).columnGap,i):W("row-gap",getComputedStyle(r).rowGap,i)),null!==a&&e(a)},[e,t,i,o,s,n]),r,u)}function W(e,t,r){return("normal"===t||(null==t?void 0:t.endsWith("px"))||r(`${e} was not resolved to pixel value correctly`,t,z.WARN),"normal"===t)?0:parseInt(null!=t?t:"0",10)}function q(e,t){return Math.round(e.getBoundingClientRect()[t])}function Y(e,t){return 1.01>Math.abs(e-t)}function K(e,t,r,n=p,i,s){let l=a.useRef(null),u=a.useRef(null),c=a.useRef(null),d=a.useCallback(r=>{let n=r.target,i=n===window||n===document,a=s?i?window.pageXOffset||document.documentElement.scrollLeft:n.scrollLeft:i?window.pageYOffset||document.documentElement.scrollTop:n.scrollTop,l=s?i?document.documentElement.scrollWidth:n.scrollWidth:i?document.documentElement.scrollHeight:n.scrollHeight,d=s?i?window.innerWidth:n.offsetWidth:i?window.innerHeight:n.offsetHeight,p=()=>{e({scrollTop:Math.max(a,0),scrollHeight:l,viewportHeight:d})};r.suppressFlushSync?p():o.flushSync(p),null!==u.current&&(a===u.current||a<=0||a===l-d)&&(u.current=null,t(!0),c.current&&(clearTimeout(c.current),c.current=null))},[e,t]);return a.useEffect(()=>{let e=i||l.current;return n(i||l.current),d({target:e,suppressFlushSync:!0}),e.addEventListener("scroll",d,{passive:!0}),()=>{n(null),e.removeEventListener("scroll",d)}},[l,d,r,n,i]),{scrollerRef:l,scrollByCallback:function(e){s&&(e={left:e.top,behavior:e.behavior}),l.current.scrollBy(e)},scrollToCallback:function(r){let n,i,a;let o=l.current;if(!o||(s?"offsetWidth"in o&&0===o.offsetWidth:"offsetHeight"in o&&0===o.offsetHeight))return;let d="smooth"===r.behavior;o===window?(i=Math.max(q(document.documentElement,s?"width":"height"),s?document.documentElement.scrollWidth:document.documentElement.scrollHeight),n=s?window.innerWidth:window.innerHeight,a=s?document.documentElement.scrollLeft:document.documentElement.scrollTop):(i=o[s?"scrollWidth":"scrollHeight"],n=q(o,s?"width":"height"),a=o[s?"scrollLeft":"scrollTop"]);let p=i-n;if(r.top=Math.ceil(Math.max(Math.min(p,r.top),0)),Y(n,i)||r.top===a){e({scrollTop:a,scrollHeight:i,viewportHe
25ight:n}),d&&t(!0);return}d?(u.current=r.top,c.current&&clearTimeout(c.current),c.current=setTimeout(()=>{c.current=null,u.current=null,t(!0)},1e3)):u.current=null,s&&(r={left:r.top,behavior:r.behavior}),o.scrollTo(r)}}}let X=j(()=>{let e=v(),t=v(),r=y(0),n=v(),i=y(0),a=v(),o=v(),s=y(0),l=y(0),u=y(0),c=y(0),d=v(),p=v(),f=y(!1),h=y(!1),g=y(!1);return m(w(e,_(({scrollTop:e})=>e)),t),m(w(e,_(({scrollHeight:e})=>e)),o),m(t,i),{scrollContainerState:e,scrollTop:t,viewportHeight:a,headerHeight:s,fixedHeaderHeight:l,fixedFooterHeight:u,footerHeight:c,scrollHeight:o,smoothScrollTargetReached:n,horizontalDirection:h,skipAnimationFrameInResizeObserver:g,scrollTo:d,scrollBy:p,statefulScrollTop:i,deviation:r,scrollingInProgress:f}},[],{singleton:!0}),J={lvl:0};function Q(e,t,r,n=J,i=J){return{k:e,v:t,lvl:r,l:n,r:i}}function ee(e){return e===J}function et(e,t){return ee(e)?void 0:t===e.k?e.v:t<e.k?et(e.l,t):et(e.r,t)}function er(e,t,r="k"){if(ee(e))return[-1/0,void 0];if(Number(e[r])===t)return[e.k,e.v];if(Number(e[r])<t){let n=er(e.r,t,r);return n[0]===-1/0?[e.k,e.v]:n}return er(e.l,t,r)}function en(e,t,r){return ee(e)?Q(t,r,1):t===e.k?ea(e,{k:t,v:r}):t<e.k?ec(ed(ea(e,{l:en(e.l,t,r)}))):ec(ed(ea(e,{r:en(e.r,t,r)})))}function ei(e){return ee(e)?[]:[...ei(e.l),{k:e.k,v:e.v},...ei(e.r)]}function ea(e,t){return Q(void 0!==t.k?t.k:e.k,void 0!==t.v?t.v:e.v,void 0!==t.lvl?t.lvl:e.lvl,void 0!==t.l?t.l:e.l,void 0!==t.r?t.r:e.r)}function eo(e){return ee(e)||e.lvl>e.r.lvl}function es(e){let{l:t,r,lvl:n}=e;if(r.lvl>=n-1&&t.lvl>=n-1)return e;if(n>r.lvl+1){if(eo(t))return ed(ea(e,{lvl:n-1}));if(!ee(t)&&!ee(t.r))return ea(t.r,{l:ea(t,{r:t.r.l}),r:ea(e,{l:t.r.r,lvl:n-1}),lvl:n});throw Error("Unexpected empty nodes")}if(eo(e))return ec(ea(e,{lvl:n-1}));if(ee(r)||ee(r.l))throw Error("Unexpected empty nodes");{let t=r.l,i=eo(t)?r.lvl-1:r.lvl;return ea(t,{l:ea(e,{r:t.l,lvl:n-1}),r:ec(ea(r,{l:t.r,lvl:i})),lvl:t.lvl+1})}}function el(e,t,r){if(ee(e))return[];let n=er(e,t)[0];return eu(function e(t,r,n){if(ee(t))return[];let{k:i,v:a,l:o,r:s}=t,l=[];return i>r&&(l=l.concat(e(o,r,n))),i>=r&&i<=n&&l.push({k:i,v:a}),i<=n&&(l=l.concat(e(s,r,n))),l}(e,n,r),({k:e,v:t})=>({index:e,value:t}))}function eu(e,t){let r=e.length;if(0===r)return[];let{index:n,value:i}=t(e[0]),a=[];for(let o=1;o<r;o++){let{index:r,value:s}=t(e[o]);a.push({start:n,end:r-1,value:i}),n=r,i=s}return a.push({start:n,end:1/0,value:i}),a}function ec(e){let{r:t,lvl:r}=e;return ee(t)||ee(t.r)||t.lvl!==r||t.r.lvl!==r?e:ea(t,{l:ea(e,{r:t.l}),lvl:r+1})}function ed(e){let{l:t}=e;return ee(t)||t.lvl!==e.lvl?e:ea(t,{r:ea(e,{l:t.r})})}function ep(e,t,r,n=0){let i=e.length-1;for(;n<=i;){let a=Math.floor((n+i)/2),o=r(e[a],t);if(0===o)return a;if(-1===o){if(i-n<2)return a-1;i=a-1}else{if(i===n)return a;n=a+1}}throw Error(`Failed binary finding record in array - ${e.join(",")}, searched for ${t}`)}let ef=j(()=>({recalcInProgress:y(!1)}),[],{singleton:!0});function eh(e,t){let r=0,n=0;for(;r<e;)r+=t[n+1]-t[n]-1,n++;return n-(r===e?0:1)}function em({index:e},t){return t===e?0:t<e?-1:1}function eg({offset:e},t){return t===e?0:t<e?-1:1}function ev(e){return{index:e.index,value:e}}function ey(e,t,r,n){let i=e,a=0,o=0,s=0,l=0;if(0!==t){l=ep(i,t-1,em),s=i[l].offset;let e=er(r,t-1);a=e[0],o=e[1],i.length&&i[l].size===er(r,t)[1]&&(l-=1),i=i.slice(0,l+1)}else i=[];for(let{start:e,value:l}of el(r,t,1/0)){let t=e-a,r=t*o+s+t*n;i.push({offset:r,size:l,index:e}),a=e,s=r,o=l}return{offsetTree:i,lastIndex:a,lastOffset:s,lastSize:o}}function eb(e,[t,r,n,i]){t.length>0&&n("received item sizes",t,z.DEBUG);let a=e.sizeTree,o=a,s=0;if(r.length>0&&ee(a)&&2===t.length){let e=t[0].size,n=t[1].size;o=r.reduce((t,r)=>en(en(t,r,e),r+1,n),o)}else[o,s]=function(e,t){let r=ee(e)?0:1/0;for(let n of t){let{size:t,startIndex:i,endIndex:a}=n;if(r=Math.min(r,i),ee(e)){e=en(e,0,t);continue}let o=el(e,i-1,a+1);if(o.some(function(e){let{size:t,startIndex:r,endIndex:n}=e;return e=>e.start===r&&(e.end===n||e.end===1/0)&&e.value===t}(n)))continue;let s=!1,l=!1;for(let{start:r,end:n,value:i}of o)s?(a>=r||t===i)&&(e=function e(t,r){if(ee(t))return J;let{k:n,l:i,r:a}=t;if(r===n){if(ee(i))return a;
25if(ee(a))return i;{let[e,r]=function e(t){return ee(t.r)?[t.k,t.v]:e(t.r)}(i);return es(ea(t,{k:e,v:r,l:function e(t){return ee(t.r)?t.l:es(ea(t,{r:e(t.r)}))}(i)}))}}return r<n?es(ea(t,{l:e(i,r)})):es(ea(t,{r:e(a,r)}))}(e,r)):(l=i!==t,s=!0),n>a&&a>=r&&i!==t&&(e=en(e,a+1,i));l&&(e=en(e,i,t))}return[e,r]}(o,t);if(o===a)return e;let{offsetTree:l,lastIndex:u,lastSize:c,lastOffset:d}=ey(e.offsetTree,s,o,i);return{sizeTree:o,offsetTree:l,lastIndex:u,lastOffset:d,lastSize:c,groupOffsetTree:r.reduce((e,t)=>en(e,t,ex(t,l,i)),J),groupIndices:r}}function ex(e,t,r){if(0===t.length)return 0;let{offset:n,index:i,size:a}=t[ep(t,e,em)],o=e-i,s=a*o+(o-1)*r+n;return s>0?s+r:s}function ew(e,t,r){if(void 0!==e.groupIndex)return t.groupIndices[e.groupIndex]+1;{let n=eE("LAST"===e.index?r:e.index,t);return Math.max(0,n,Math.min(r,n))}}function eE(e,t){if(!eS(t))return e;let r=0;for(;t.groupIndices[r]<=e+r;)r++;return e+r}function eS(e){return!ee(e.groupOffsetTree)}let eT={offsetHeight:"height",offsetWidth:"width"},e_=j(([{log:e},{recalcInProgress:t}])=>{let r=v(),n=v(),i=x(n,0),a=v(),o=v(),s=y(0),l=y([]),u=y(void 0),c=y(void 0),d=y((e,t)=>q(e,eT[t])),p=y(void 0),f=y(0),g={offsetTree:[],sizeTree:J,groupOffsetTree:J,lastIndex:0,lastOffset:0,lastSize:0,groupIndices:[]},E=x(w(r,P(l,e,f),C(eb,g),S()),g),k=x(w(l,S(),C((e,t)=>({prev:e.current,current:t}),{prev:[],current:[]}),_(({prev:e})=>e)),[]);m(w(l,T(e=>e.length>0),P(E,f),_(([e,t,r])=>{let n=e.reduce((e,n,i)=>en(e,n,ex(n,t.offsetTree,r)||i),J);return{...t,groupIndices:e,groupOffsetTree:n}})),E),m(w(n,P(E),T(([e,{lastIndex:t}])=>e<t),_(([e,{lastIndex:t,lastSize:r}])=>[{startIndex:e,endIndex:t,size:r}])),r),m(u,c);let O=x(w(u,_(e=>void 0===e)),!0);m(w(c,T(e=>void 0!==e&&ee(h(E).sizeTree)),_(e=>[{startIndex:0,endIndex:0,size:e}])),r);let A=b(w(r,P(E),C(({sizes:e},[t,r])=>({changed:r!==e,sizes:r}),{changed:!1,sizes:g}),_(e=>e.changed)));w(s,C((e,t)=>({diff:e.prev-t,prev:t}),{diff:0,prev:0}),_(e=>e.diff))(1,e=>{let{groupIndices:r}=h(E);if(e>0)t(0,!0),a(0,e+eh(e,r));else if(e<0){let t=h(k);t.length>0&&(e-=eh(-e,t)),o(0,e)}}),w(s,P(e))(1,([e,t])=>{e<0&&t("`firstItemIndex` prop should not be set to less than zero. If you don't know the total count, just use a very high value",{firstItemIndex:s},z.ERROR)});let I=b(a);m(w(a,P(E),_(([e,t])=>{let r=t.groupIndices.length>0,n=[],i=t.lastSize;if(r){let r=et(t.sizeTree,0),a=0,o=0;for(;a<e;){let e=t.groupIndices[o],s=t.groupIndices.length===o+1?1/0:t.groupIndices[o+1]-e-1;n.push({startIndex:e,endIndex:e,size:r}),n.push({startIndex:e+1,endIndex:e+1+s-1,size:i}),o++,a+=s+1}let s=ei(t.sizeTree);return a!==e&&s.shift(),s.reduce((t,{k:r,v:n})=>{let i=t.ranges;return 0!==t.prevSize&&(i=[...t.ranges,{startIndex:t.prevIndex,endIndex:r+e-1,size:t.prevSize}]),{ranges:i,prevIndex:r+e,prevSize:n}},{ranges:n,prevIndex:e,prevSize:0}).ranges}return ei(t.sizeTree).reduce((t,{k:r,v:n})=>({ranges:[...t.ranges,{startIndex:t.prevIndex,endIndex:r+e-1,size:t.prevSize}],prevIndex:r+e,prevSize:n}),{ranges:[],prevIndex:0,prevSize:i}).ranges})),r);let M=b(w(o,P(E,f),_(([e,{offsetTree:t},r])=>ex(-e,t,r))));return m(w(o,P(E,f),_(([e,t,r])=>{if(t.groupIndices.length>0){if(ee(t.sizeTree))return t;let n=J,i=h(k),a=0,o=0,s=0;for(;a<-e;){s=i[o];let e=i[o+1]-s-1;o++,a+=e+1}return n=ei(t.sizeTree).reduce((t,{k:r,v:n})=>en(t,Math.max(0,r+e),n),n),a!==-e&&(n=en(n,0,et(t.sizeTree,s)),n=en(n,1,er(t.sizeTree,-e+1)[1])),{...t,sizeTree:n,...ey(t.offsetTree,0,n,r)}}{let n=ei(t.sizeTree).reduce((t,{k:r,v:n})=>en(t,Math.max(0,r+e),n),J);return{...t,sizeTree:n,...ey(t.offsetTree,0,n,r)}}})),E),{data:p,totalCount:n,sizeRanges:r,groupIndices:l,defaultItemSize:c,fixedItemSize:u,unshiftWith:a,shiftWith:o,shiftWithOffset:M,beforeUnshiftWith:I,firstItemIndex:s,gap:f,sizes:E,listRefresh:A,statefulTotalCount:i,trackItemSizes:O,itemSize:d}},u($,ef),{singleton:!0}),ek="undefined"!=typeof document&&"scrollBehavior"in document.documentElement.style;function eC(e){let t="number"==typeof e?{index:e}:e;return t.align||(t.align="start"),t.behavior&&ek||(t.behavior="auto"),t.offset||(t.offset=0),t}let eO=j(([{sizes:e,totalCount:t,listRefresh:r,gap:n}
25,{scrollingInProgress:i,viewportHeight:a,scrollTo:o,smoothScrollTargetReached:s,headerHeight:l,footerHeight:u,fixedHeaderHeight:c,fixedFooterHeight:d},{log:p}])=>{let f=v(),h=v(),b=y(0),x=null,E=null,S=null;function T(){x&&(x(),x=null),S&&(S(),S=null),E&&(clearTimeout(E),E=null),i(0,!1)}return m(w(f,P(e,a,t,b,l,u,p),P(n,c,d),_(([[e,t,n,a,o,l,u,c],d,p,m])=>{let v=eC(e),{align:y,behavior:b,offset:_}=v,k=a-1,C=ew(v,t,k),O=ex(C,t.offsetTree,d)+l;"end"===y?(O+=p+er(t.sizeTree,C)[1]-n+m,C===k&&(O+=u)):"center"===y?O+=(p+er(t.sizeTree,C)[1]-n+m)/2:O-=o,_&&(O+=_);let A=t=>{T(),t?(c("retrying to scroll to",{location:e},z.DEBUG),f(0,e)):(h(0,!0),c("list did not change, scroll successful",{},z.DEBUG))};if(T(),"smooth"===b){let e=!1;S=r(1,t=>{e=e||t}),x=g(s,()=>{A(e)})}else x=g(w(r,e=>{let t=setTimeout(()=>{e(!1)},150);return r=>{r&&(e(!0),clearTimeout(t))}}),A);return E=setTimeout(()=>{T()},1200),i(0,!0),c("scrolling from index to",{index:C,top:O,behavior:b},z.DEBUG),{top:O,behavior:b}})),o),{scrollToIndex:f,scrollTargetReached:h,topListHeight:b}},u(e_,X,$),{singleton:!0}),eA="down",eI={atBottom:!1,notAtBottomBecause:"NOT_SHOWING_LAST_ITEM",state:{offsetBottom:0,scrollTop:0,viewportHeight:0,scrollHeight:0}},eP=j(([{scrollContainerState:e,scrollTop:t,viewportHeight:r,headerHeight:n,footerHeight:i,scrollBy:a}])=>{let o=y(!1),s=y(!0),l=v(),u=v(),c=y(4),d=y(0),p=x(w(M(w(R(t),O(1),k(!0)),w(R(t),O(1),k(!1),I(100))),S()),!1),f=x(w(M(w(a,k(!0)),w(a,k(!1),I(200))),S()),!1);m(w(L(R(t),R(d)),_(([e,t])=>e<=t),S()),s),m(w(s,A(50)),u);let g=b(w(L(e,R(r),R(n),R(i),R(c)),C((e,[{scrollTop:t,scrollHeight:r},n,i,a,o])=>{let s={viewportHeight:n,scrollTop:t,scrollHeight:r};if(t+n-r>-o){let r,n;return t>e.state.scrollTop?(r="SCROLLED_DOWN",n=e.state.scrollTop-t):(r="SIZE_DECREASED",n=e.state.scrollTop-t||e.scrollTopDelta),{atBottom:!0,state:s,atBottomBecause:r,scrollTopDelta:n}}return{atBottom:!1,notAtBottomBecause:s.scrollHeight>e.state.scrollHeight?"SIZE_INCREASED":n<e.state.viewportHeight?"VIEWPORT_HEIGHT_DECREASING":t<e.state.scrollTop?"SCROLLING_UPWARDS":"NOT_FULLY_SCROLLED_TO_LAST_ITEM_BOTTOM",state:s}},eI),S((e,t)=>e&&e.atBottom===t.atBottom))),E=x(w(e,C((e,{scrollTop:t,scrollHeight:r,viewportHeight:n})=>{if(Y(e.scrollHeight,r))return{scrollTop:t,scrollHeight:r,jump:0,changed:!1};{let i=r-(t+n)<1;return e.scrollTop!==t&&i?{scrollHeight:r,scrollTop:t,jump:e.scrollTop-t,changed:!0}:{scrollHeight:r,scrollTop:t,jump:0,changed:!0}}},{scrollHeight:0,jump:0,scrollTop:0,changed:!1}),T(e=>e.changed),_(e=>e.jump)),0);m(w(g,_(e=>e.atBottom)),o),m(w(o,A(50)),l);let j=y(eA);m(w(e,_(({scrollTop:e})=>e),S(),C((e,t)=>h(f)?{direction:e.direction,prevScrollTop:t}:{direction:t<e.prevScrollTop?"up":eA,prevScrollTop:t},{direction:eA,prevScrollTop:0}),_(e=>e.direction)),j),m(w(e,A(50),k("none")),j);let N=y(0);return m(w(p,T(e=>!e),k(0)),N),m(w(t,A(100),P(p),T(([e,t])=>!!t),C(([e,t],[r])=>[t,r],[0,0]),_(([e,t])=>t-e)),N),{isScrolling:p,isAtTop:s,isAtBottom:o,atBottomState:g,atTopStateChange:u,atBottomStateChange:l,scrollDirection:j,atBottomThreshold:c,atTopThreshold:d,scrollVelocity:N,lastJumpDueToItemResize:E}},u(X)),eM=j(([{log:e}])=>{let t=y(!1),r=b(w(t,T(e=>e),S()));return t(1,t=>{t&&h(e)("props updated",{},z.DEBUG)}),{propsReady:t,didMount:r}},u($),{singleton:!0});function eR(e,t){0==e?t():requestAnimationFrame(()=>eR(e-1,t))}function eL(e,t){return"number"==typeof e?e:"LAST"===e.index?t-1:e.index}let ej=j(([{sizes:e,listRefresh:t,defaultItemSize:r},{scrollTop:n},{scrollToIndex:i,scrollTargetReached:a},{didMount:o}])=>{let s=y(!0),l=y(0),u=y(!0);return m(w(o,P(l),T(([e,t])=>!!t),k(!1)),s),m(w(o,P(l),T(([e,t])=>!!t),k(!1)),u),w(L(t,o),P(s,e,r,u),T(([[,e],t,{sizeTree:r},n,i])=>e&&(!ee(r)||d(n))&&!t&&!i),P(l))(1,([,e])=>{g(a,()=>{u(0,!0)}),eR(4,()=>{g(n,()=>{s(0,!0)}),i(0,e)})}),{scrolledToInitialItem:s,initialTopMostItemIndex:l,initialItemFinalLocationReached:u}},u(e_,X,eO,eM),{singleton:!0});function eN(e){return!!e&&("smooth"===e?"smooth":"auto")}let eD=(e,t)=>"function"==typeof e?eN(e(t)):t&&eN(e),eB=j(([{totalCount:e,listRefresh:t},{isAtBottom:r,atBottomState:n},{scrollToIndex:i},{scrolledToInitialItem:a},{propsReady:o,didMount:s},{log:l},{scrollingInProgress:u}])=>{let c=y(!1),d=v(),p=null;function f(e){i(0,{index:"LAST",align:"end",behavior:e})}function m(e){setTimeout(g(n,t=>{!e||t.atBottom||"SIZE_INCREASED"!==t.notAtBottomBecause||p||(h(l)("scrolling to bottom due to increased size",{},z.DEBUG),f("auto"))}),100)}return w(L(w(R(e),O(1)),s),P(R(c),r,a,u),_(([[e,t],r,n,i,a])=>{let o=t&&i,s="auto";return o&&(s=eD(r,n||a),o=o&&!!s),{totalCount:e,shouldFollow:o,followOutputBehavior:s}}),T(({shouldFollow:e})=>e))(1,({totalCount:e,followOutputBehavior:r})=>{p&&(p(),p=null),p=g(t,()=>{h(l)("following output to ",{totalCount:e},z.DEBUG),f(r),p=null})}),w(L(R(c),e,o),T(([e,,t])=>e&&t),C(({value:e},[,t])=>({refreshed:e===t,value:t}),{refreshed:!1,value:0}),T(({refreshed:e})=>e),P(c,e))(1,([,e])=>{h(a)&&m(!1!==e)}),d(1,()=>{m(!1!==h(c))}),L(R(c),n)(1,([e,t])=>{e&&!t.atBottom&&"VIEWPORT_HEIGHT_DECREASING"===t.notAtBottomBecause&&f("auto")}
25),{followOutput:c,autoscrollToBottom:d}},u(e_,eP,eO,ej,eM,$,X));function eF(e){return e.reduce((e,t)=>(e.groupIndices.push(e.totalCount),e.totalCount+=t+1,e),{totalCount:0,groupIndices:[]})}let ez=j(([{totalCount:e,groupIndices:t,sizes:r},{scrollTop:n,headerHeight:i}])=>{let a=v(),o=v(),s=b(w(a,_(eF)));return m(w(s,_(e=>e.totalCount)),e),m(w(s,_(e=>e.groupIndices)),t),m(w(L(n,r,i),T(([e,t])=>eS(t)),_(([e,t,r])=>er(t.groupOffsetTree,Math.max(e-r,0),"v")[0]),S(),_(e=>[e])),o),{groupCounts:a,topItemsIndexes:o}},u(e_,X));function eH(e,t){return!!(e&&e[0]===t[0]&&e[1]===t[1])}function eV(e,t){return!!(e&&e.startIndex===t.startIndex&&e.endIndex===t.endIndex)}let e$="bottom",eZ="none";function eU(e,t,r){return"number"==typeof e?"up"===r&&"top"===t||r===eA&&t===e$?e:0:"up"===r?"top"===t?e.main:e.reverse:t===e$?e.main:e.reverse}function eG(e,t){return"number"==typeof e?e:e[t]||0}let eW=j(([{scrollTop:e,viewportHeight:t,deviation:r,headerHeight:n,fixedHeaderHeight:i}])=>{let a=v(),o=y(0),s=y(0),l=y(0),u=x(w(L(R(e),R(t),R(n),R(a,eH),R(l),R(o),R(i),R(r),R(s)),_(([e,t,r,[n,i],a,o,s,l,u])=>{let c=e-l,d=Math.max(r-c,0),p=eZ,f=eG(u,"top"),h=eG(u,e$);return(n-=l,n+=r+s,i+=r+s,n>e+(o+s)-f&&(p="up"),(i-=l)<e-d+t+h&&(p=eA),p!==eZ)?[Math.max(c-r-eU(a,"top",p)-f,0),c-d-s+t+eU(a,e$,p)+h]:null}),T(e=>null!=e),S(eH)),[0,0]);return{listBoundary:a,overscan:l,topListHeight:o,increaseViewportBy:s,visibleRange:u}},u(X),{singleton:!0}),eq={items:[],topItems:[],offsetTop:0,offsetBottom:0,top:0,bottom:0,topListHeight:0,totalCount:0,firstItemIndex:0};function eY(e,t,r){let n;if(0===e.length)return[];if(!eS(t))return e.map(e=>({...e,index:e.index+r,originalIndex:e.index}));let i=e[0].index,a=e[e.length-1].index,o=[],s=el(t.groupOffsetTree,i,a),l=0;for(let i of e){let e;(!n||n.end<i.index)&&(n=s.shift(),l=t.groupIndices.indexOf(n.start)),e=i.index===n.start?{type:"group",index:l}:{index:i.index-(l+1)+r,groupIndex:l},o.push({...e,size:i.size,offset:i.offset,originalIndex:i.index,data:i.data})}return o}function eK(e,t,r,n,i,a){let{lastSize:o,lastOffset:s,lastIndex:l}=i,u=0,c=0;if(e.length>0){u=e[0].offset;let t=e[e.length-1];c=t.offset+t.size}let d=r-l,p=u,f=s+d*o+(d-1)*n-c;return{items:eY(e,i,a),topItems:eY(t,i,a),topListHeight:t.reduce((e,t)=>t.size+e,0),offsetTop:u,offsetBottom:f,top:p,bottom:c,totalCount:r,firstItemIndex:a}}function eX(e,t,r,n,i,a){let o=0;if(r.groupIndices.length>0)for(let t of r.groupIndices){if(t-o>=e)break;o++}let s=e+o,l=eL(t,s);return eK(Array.from({length:s}).map((e,t)=>({index:t+l,size:0,offset:0,data:a[t+l]})),[],s,i,r,n)}let eJ=j(([{sizes:e,totalCount:t,data:r,firstItemIndex:n,gap:i},a,{visibleRange:o,listBoundary:s,topListHeight:l},{scrolledToInitialItem:u,initialTopMostItemIndex:c},{topListHeight:p},f,{didMount:g},{recalcInProgress:E}])=>{let k=y([]),C=y(0),O=v();m(a.topItemsIndexes,k);let I=x(w(L(g,E,R(o,eH),R(t),R(e),R(c),u,R(k),R(n),R(i),r),T(([e,t,,r,,,,,,,n])=>{let i=n&&n.length!==r;return e&&!t&&!i}),_(([,,[e,t],r,n,i,a,o,s,l,u])=>{var c;let{sizeTree:d,offsetTree:p}=n,f=h(C);if(0===r)return{...eq,totalCount:r};if(0===e&&0===t)return 0===f?{...eq,totalCount:r}:eX(f,i,n,s,l,u||[]);if(ee(d))return f>0?null:eK(function(e,t,r){if(eS(t)){let n=eE(e,t);return[{index:er(t.groupOffsetTree,n)[0],size:0,offset:0},{index:n,size:0,offset:0,data:r&&r[0]}]}return[{index:e,size:0,offset:0,data:r&&r[0]}]}(eL(i,r),n,u),[],r,l,n,s);let m=[];if(o.length>0){let e=o[0],t=o[o.length-1],r=0;for(let n of el(d,e,t)){let i=n.value,a=Math.max(n.start,e),o=Math.min(n.end,t);for(let e=a;e<=o;e++)m.push({index:e,size:i,offset:r,data:u&&u[e]}),r+=i}}if(!a)return eK([],m,r,l,n,s);let g=o.length>0?o[o.length-1]+1:0,v=function(e,t,r,n=0){return n>0&&(t=Math.max(t,e[ep(e,n,em)].offset)),eu(function(e,t,r,n){let i=ep(e,t,n),a=ep(e,r,n,i);return e.slice(i,a+1)}(e,t,r,eg),ev)}(p,e,t,g);if(0===v.length)return null;let y=r-1;return eK(((r=>{for(let n of v){let i=n.value,a=i.offset,o=n.start,s=i.size;if(i.offset<e){let t=(o+=Math.floor((e-i.offset+l)/(s+l)))-n.start;a+=t*s+t*l}o<g&&(a+=(g-o)*s,o=g);let c=Math.min(n.end,y);for(let e=o;e<=c&&!(a>=t);e++)r.push({index:e,size:s,offset:a,data:u&&u[e]}),a+=s+l}})(c=[]),c),m,r,l,n,s)}),T(e=>null!==e),S()),eq);m(w(r,T(d),_(e=>null==e?void 0:e.length)),t),m(w(I,_(e=>e.topListHeight)),p),m(p,l),m(w(I,_(e=>[e.top,e.bottom])),s),m(w(I,_(e=>e.items)),O);let M=b(w(I,T(({items:e})=>e.length>0),P(t,r),T(([{items:e},t])=>e[e.length-1].originalIndex===t-1),_(([,e,t])=>[e-1,t]),S(eH),_(([e])=>e))),j=b(w(I,A(200),T(({items:e,topItems:t})=>e.length>0&&e[0].originalIndex===t.length),_(({items:e})=>e[0].index),S())),N=b(w(I,T(({items:e})=>e.length>0),_(({items:e})=>{let t=0,r=e.length-1;for(;"group"===e[t].type&&t<r;
25)t++;for(;"group"===e[r].type&&r>t;)r--;return{startIndex:e[t].index,endIndex:e[r].index}}),S(eV)));return{listState:I,topItemsIndexes:k,endReached:M,startReached:j,rangeChanged:N,itemsRendered:O,initialItemCount:C,...f}},u(e_,ez,eW,ej,eO,eP,eM,ef),{singleton:!0}),eQ=j(([{sizes:e,firstItemIndex:t,data:r,gap:n},{initialTopMostItemIndex:i},{initialItemCount:a,listState:o},{didMount:s}])=>(m(w(s,P(a),T(([,e])=>0!==e),P(i,e,t,n,r),_(([[,e],t,r,n,i,a=[]])=>eX(e,t,r,n,i,a))),o),{}),u(e_,ej,eJ,eM),{singleton:!0}),e0=j(([{scrollVelocity:e}])=>{let t=y(!1),r=v(),n=y(!1);return m(w(e,P(n,t,r),T(([e,t])=>!!t),_(([e,t,r,n])=>{let{exit:i,enter:a}=t;if(r){if(i(e,n))return!1}else if(a(e,n))return!0;return r}),S()),t),w(L(t,e,r),P(n))(1,([[e,t,r],n])=>e&&n&&n.change&&n.change(t,r)),{isSeeking:t,scrollSeekConfiguration:n,scrollVelocity:e,scrollSeekRangeChanged:r}},u(eP),{singleton:!0}),e1=j(([{topItemsIndexes:e}])=>{let t=y(0);return m(w(t,T(e=>e>0),_(e=>Array.from({length:e}).map((e,t)=>t))),e),{topItemCount:t}},u(eJ)),e2=j(([{footerHeight:e,headerHeight:t,fixedHeaderHeight:r,fixedFooterHeight:n},{listState:i}])=>{let a=v(),o=x(w(L(e,n,t,r,i),_(([e,t,r,n,i])=>e+t+r+n+i.offsetBottom+i.bottom)),0);return m(R(o),a),{totalListHeight:o,totalListHeightChanged:a}},u(X,eJ),{singleton:!0});function e3(e){let t,r=!1;return()=>(r||(r=!0,t=e()),t)}let e5=e3(()=>/iP(ad|od|hone)/i.test(navigator.userAgent)&&/WebKit/i.test(navigator.userAgent)),e8=j(([{scrollBy:e,scrollTop:t,deviation:r,scrollingInProgress:n},{isScrolling:i,isAtBottom:a,scrollDirection:o,lastJumpDueToItemResize:s},{listState:l},{beforeUnshiftWith:u,shiftWithOffset:c,sizes:d,gap:p},{log:f},{recalcInProgress:h}])=>{let g=b(w(l,P(s),C(([,e,t,r],[{items:n,totalCount:i,bottom:a,offsetBottom:o},s])=>{let l=a+o,u=0;return t===i&&e.length>0&&n.length>0&&!(0===n[0].originalIndex&&0===e[0].originalIndex)&&0!=(u=l-r)&&(u+=s),[u,n,i,l]},[0,[],0,0]),T(([e])=>0!==e),P(t,o,n,a,f,h),T(([,e,t,r,,,n])=>!n&&!r&&0!==e&&"up"===t),_(([[e],,,,,t])=>(t("Upward scrolling compensation",{amount:e},z.DEBUG),e))));function v(t){t>0?(e(0,{top:-t,behavior:"auto"}),r(0,0)):(r(0,0),e(0,{top:-t,behavior:"auto"}))}return w(g,P(r,i))(1,([e,t,n])=>{n&&e5()?r(0,t-e):v(-e)}),w(L(x(i,!1),r,h),T(([e,t,r])=>!e&&!r&&0!==t),_(([e,t])=>t),A(1))(1,v),m(w(c,_(e=>({top:-e}))),e),w(u,P(d,p),_(([e,{lastSize:t,groupIndices:r,sizeTree:n},i])=>{if(0===r.length)return e*(t+i);{let a=0,o=et(n,0),s=0,l=0;for(;s<e;){s++,a+=o;let n=r.length===l+1?1/0:r[l+1]-r[l]-1;s+n>e&&(a-=o,n=e-s+1),s+=n,a+=n*(t+i),l++}return a}}))(1,t=>{r(0,t),requestAnimationFrame(()=>{e(0,{top:t}),requestAnimationFrame(()=>{r(0,0),h(0,!1)})})}),{deviation:r}},u(X,eP,eJ,e_,$,ef)),e6=j(([{didMount:e},{scrollTo:t},{listState:r}])=>{let n=y(0);return w(e,P(n),T(([,e])=>0!==e),_(([,e])=>({top:e})))(1,e=>{g(w(r,O(1),T(e=>e.items.length>1)),()=>{requestAnimationFrame(()=>{t(0,e)})})}),{initialScrollTop:n}},u(eM,X,eJ),{singleton:!0}),e4=j(([{viewportHeight:e},{totalListHeight:t}])=>{let r=y(!1),n=x(w(L(r,e,t),T(([e])=>e),_(([,e,t])=>Math.max(0,e-t)),A(0),S()),0);return{alignToBottom:r,paddingTopAddition:n}},u(X,e2),{singleton:!0}),e9=j(([{scrollTo:e,scrollContainerState:t}])=>{let r=v(),n=v(),i=v(),a=y(!1),o=y(void 0);return m(w(L(r,n),_(([{viewportHeight:e,scrollTop:t,scrollHeight:r},{offsetTop:n}])=>({scrollTop:Math.max(0,t-n),scrollHeight:r,viewportHeight:e}))),t),m(w(e,P(n),_(([e,{offsetTop:t}])=>({...e,top:e.top+t}))),i),{useWindowScroll:a,customScrollParent:o,windowScrollContainerState:r,windowViewportRect:n,windowScrollTo:i}},u(X)),e7=({itemTop:e,itemBottom:t,viewportTop:r,viewportBottom:n,locationParams:{behavior:i,align:a,...o}})=>e<r?{...o,behavior:i,align:null!=a?a:"start"}:t>n?{...o,behavior:i,align:null!=a?a:"end"}:null,te=j(([{sizes:e,totalCount:t,gap:r},{scrollTop:n,viewportHeight:i,headerHeight:a,fixedHeaderHeight:o,fixedFooterHeight:s,scrollingInProgress:l},{scrollToIndex:u}])=>{let c=v();return m(w(c,P(e,i,t,a,o,s,n),P(r),_(([[e,t,r,n,i,a,o,s],u])=>{let{done:c,behavior:d,align:p,calculateViewLocation:f=e7,...m}=e,v=ew(e,t,n-1),y=ex(v,t.offsetTree,u)+i+a,b=y+er(t.sizeTree,v)[1],x=f({itemTop:y,itemBottom:b,viewportTop:s+a,viewportBottom:s+r-o,locationParams:{behavior:d,align:p,...m}});return x?c&&g(w(l,T(e=>!1===e),O(h(l)?1:2)),c):c&&c(),x}
25),T(e=>null!==e)),u),{scrollIntoView:c}},u(e_,X,eO,eJ,$),{singleton:!0}),tt=j(([{sizes:e,sizeRanges:t},{scrollTop:r,headerHeight:n},{initialTopMostItemIndex:i},{didMount:a},{useWindowScroll:o,windowScrollContainerState:s,windowViewportRect:l}])=>{let u=v(),c=y(void 0),p=y(null),f=y(null);return m(s,p),m(l,f),w(u,P(e,r,o,p,f,n))(1,([e,t,r,n,i,a,o])=>{let s=ei(t.sizeTree).map(({k:e,v:t},r,n)=>{let i=n[r+1];return{startIndex:e,endIndex:i?i.k-1:1/0,size:t}});n&&null!==i&&null!==a&&(r=i.scrollTop-a.offsetTop),e({ranges:s,scrollTop:r-=o})}),m(w(c,T(d),_(tr)),i),m(w(a,P(c),T(([,e])=>void 0!==e),S(),_(([,e])=>e.ranges)),t),{getState:u,restoreStateFrom:c}},u(e_,X,ej,eM,e9));function tr(e){return{offset:e.scrollTop,index:0,align:"start"}}let tn=j(([e,t,r,n,i,a,o,s,l,u])=>({...e,...t,...r,...n,...i,...a,...o,...s,...l,...u}),u(eW,eQ,eM,e0,e2,e6,e4,e9,te,$)),ti=j(([{totalCount:e,sizeRanges:t,fixedItemSize:r,defaultItemSize:n,trackItemSizes:i,itemSize:a,data:o,firstItemIndex:s,groupIndices:l,statefulTotalCount:u,gap:c,sizes:d},{initialTopMostItemIndex:p,scrolledToInitialItem:f,initialItemFinalLocationReached:h},g,v,y,{listState:b,topItemsIndexes:x,...E},{scrollToIndex:S},T,{topItemCount:k},{groupCounts:C},O])=>(m(E.rangeChanged,O.scrollSeekRangeChanged),m(w(O.windowViewportRect,_(e=>e.visibleHeight)),g.viewportHeight),{totalCount:e,data:o,firstItemIndex:s,sizeRanges:t,initialTopMostItemIndex:p,scrolledToInitialItem:f,initialItemFinalLocationReached:h,topItemsIndexes:x,topItemCount:k,groupCounts:C,fixedItemHeight:r,defaultItemHeight:n,gap:c,...y,statefulTotalCount:u,listState:b,scrollToIndex:S,trackItemSizes:i,itemSize:a,groupIndices:l,...E,...O,...g,sizes:d,...v}),u(e_,ej,X,tt,eB,eJ,eO,e8,e1,ez,tn)),ta="-webkit-sticky",to="sticky",ts=e3(()=>{if("undefined"==typeof document)return to;let e=document.createElement("div");return e.style.position=ta,e.style.position===ta?ta:to});function tl(e,t,r){let n=a.useRef(null),i=a.useCallback(r=>{let i,a;if(null===r||!r.offsetParent)return;let o=r.getBoundingClientRect(),s=o.width;if(t){let e=t.getBoundingClientRect(),r=o.top-e.top;i=e.height-Math.max(0,r),a=r+t.scrollTop}else i=window.innerHeight-Math.max(0,o.top),a=o.top+window.pageYOffset;n.current={offsetTop:a,visibleHeight:i,visibleWidth:s},e(n.current)},[e,t]),{callbackRef:o,ref:s}=Z(i,!0,r),l=a.useCallback(()=>{i(s.current)},[i,s]);return a.useEffect(()=>{if(!t)return window.addEventListener("scroll",l),window.addEventListener("resize",l),()=>{window.removeEventListener("scroll",l),window.removeEventListener("resize",l)};{t.addEventListener("scroll",l);let e=new ResizeObserver(()=>{requestAnimationFrame(l)});return e.observe(t),()=>{t.removeEventListener("scroll",l),e.unobserve(t)}}},[l,t]),o}let tu=a.createContext(void 0),tc=a.createContext(void 0);function td(e){return e}let tp=j(()=>{let e=y(e=>`Item ${e}`),t=y(null),r=y(e=>`Group ${e}`),n=y({}),i=y(td),a=y("div"),o=y(p),s=(e,t=null)=>x(w(n,_(t=>t[e]),S()),t);return{context:t,itemContent:e,groupContent:r,components:n,computeItemKey:i,HeaderFooterTag:a,scrollerRef:o,FooterComponent:s("Footer"),HeaderComponent:s("Header"),TopItemListComponent:s("TopItemList"),ListComponent:s("List","div"),ItemComponent:s("Item","div"),GroupComponent:s("Group","div"),ScrollerComponent:s("Scroller","div"),EmptyPlaceholder:s("EmptyPlaceholder"),ScrollSeekPlaceholder:s("ScrollSeekPlaceholder")}}),tf=j(([e,t])=>({...e,...t}),u(ti,tp)),th=({height:e})=>(0,i.jsx)("div",{style:{height:e}}),tm={position:ts(),zIndex:1,overflowAnchor:"none"},tg={overflowAnchor:"none"},tv={...tg,display:"inline-block",height:"100%"},ty=a.memo(function({showTopList:e=!1}){let t=tL("listState"),r=tR("sizeRanges"),n=tL("useWindowScroll"),o=tL("customScrollParent"),s=tR("windowScrollContainerState"),l=tR("scrollContainerState"),u=tL("itemContent"),c=tL("context"),d=tL("groupContent"),f=tL("trackItemSizes"),h=tL("itemSize"),m=tL("log"),g=tR("gap"),v=tL("horizontalDirection"),{callbackRef:y}=G(r,h,f,e?p:o||n?s:l,m,g,o,v,tL("skipAnimationFrameInResizeObserver")),[b,x]=a.useState(0);tj("deviation",e=>{b!==e&&x(e)});let w=tL("EmptyPlaceholder"),E=tL("ScrollSeekPlaceholder")||th,S=tL("ListComponent"),T=tL("ItemComponent"),_=tL("GroupComponent"),k=tL("computeItemKey"),C=tL("isSeeking"),O=tL("groupIndices").length>
250,A=tL("alignToBottom"),I=tL("initialItemFinalLocationReached"),P=e?{}:{boxSizing:"border-box",...v?{whiteSpace:"nowrap",display:"inline-block",height:"100%",paddingLeft:t.offsetTop,paddingRight:t.offsetBottom,marginLeft:0!==b?b:A?"auto":0}:{marginTop:0!==b?b:A?"auto":0,paddingTop:t.offsetTop,paddingBottom:t.offsetBottom},...I?{}:{visibility:"hidden"}};return!e&&0===t.totalCount&&w?(0,i.jsx)(w,{...tS(w,c)}):(0,i.jsx)(S,{...tS(S,c),ref:y,style:P,"data-testid":e?"virtuoso-top-item-list":"virtuoso-item-list",children:(e?t.topItems:t.items).map(e=>{let r=e.originalIndex,n=k(r+t.firstItemIndex,e.data,c);return C?(0,a.createElement)(E,{...tS(E,c),key:n,index:e.index,height:e.size,type:e.type||"item",..."group"===e.type?{}:{groupIndex:e.groupIndex}}):"group"===e.type?(0,a.createElement)(_,{...tS(_,c),key:n,"data-index":r,"data-known-size":e.size,"data-item-index":e.index,style:tm},d(e.index,c)):(0,a.createElement)(T,{...tS(T,c),...tT(T,e.data),key:n,"data-index":r,"data-known-size":e.size,"data-item-index":e.index,"data-item-group-index":e.groupIndex,style:v?tv:tg},O?u(e.index,e.groupIndex,e.data,c):u(e.index,e.data,c))})})}),tb={height:"100%",outline:"none",overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},tx={outline:"none",overflowX:"auto",position:"relative"},tw=e=>({width:"100%",height:"100%",position:"absolute",top:0,...e?{display:"flex",flexDirection:"column"}:{}}),tE={width:"100%",position:ts(),top:0,zIndex:1};function tS(e,t){if("string"!=typeof e)return{context:t}}function tT(e,t){return{item:"string"==typeof e?void 0:t}}let t_=a.memo(function(){let e=tL("HeaderComponent"),t=tR("headerHeight"),r=tL("HeaderFooterTag"),n=U(a.useMemo(()=>e=>t(q(e,"height")),[t]),!0,tL("skipAnimationFrameInResizeObserver")),o=tL("context");return e?(0,i.jsx)(r,{ref:n,children:(0,i.jsx)(e,{...tS(e,o)})}):null}),tk=a.memo(function(){let e=tL("FooterComponent"),t=tR("footerHeight"),r=tL("HeaderFooterTag"),n=U(a.useMemo(()=>e=>t(q(e,"height")),[t]),!0,tL("skipAnimationFrameInResizeObserver")),o=tL("context");return e?(0,i.jsx)(r,{ref:n,children:(0,i.jsx)(e,{...tS(e,o)})}):null});function tC({usePublisher:e,useEmitter:t,useEmitterValue:r}){return a.memo(function({style:n,children:a,...o}){let s=e("scrollContainerState"),l=r("ScrollerComponent"),u=e("smoothScrollTargetReached"),c=r("scrollerRef"),d=r("context"),p=r("horizontalDirection")||!1,{scrollerRef:f,scrollByCallback:h,scrollToCallback:m}=K(s,u,l,c,void 0,p);return t("scrollTo",m),t("scrollBy",h),(0,i.jsx)(l,{ref:f,style:{...p?tx:tb,...n},"data-testid":"virtuoso-scroller","data-virtuoso-scroller":!0,tabIndex:0,...o,...tS(l,d),children:a})})}function tO({usePublisher:e,useEmitter:t,useEmitterValue:r}){return a.memo(function({style:n,children:a,...o}){let s=e("windowScrollContainerState"),l=r("ScrollerComponent"),u=e("smoothScrollTargetReached"),c=r("totalListHeight"),d=r("deviation"),f=r("customScrollParent"),h=r("context"),{scrollerRef:m,scrollByCallback:g,scrollToCallback:v}=K(s,u,l,p,f);return F(()=>(m.current=f||window,()=>{m.current=null}),[m,f]),t("windowScrollTo",v),t("scrollBy",g),(0,i.jsx)(l,{style:{position:"relative",...n,...0!==c?{height:c+d}:{}},"data-virtuoso-scroller":!0,...o,...tS(l,h),children:a})})}let tA=({children:e})=>{let t=a.useContext(tu),r=tR("viewportHeight"),n=tR("fixedItemHeight"),o=tL("alignToBottom"),l=tL("horizontalDirection"),u=U(a.useMemo(()=>s(r,e=>q(e,l?"width":"height")),[r,l]),!0,tL("skipAnimationFrameInResizeObserver"));return a.useEffect(()=>{t&&(r(t.viewportHeight),n(t.itemHeight))},[t,r,n]),(0,i.jsx)("div",{style:tw(o),ref:u,"data-viewport-type":"element",children:e})},tI=({children:e})=>{let t=a.useContext(tu),r=tR("windowViewportRect"),n=tR("fixedItemHeight"),o=tl(r,tL("customScrollParent"),tL("skipAnimationFrameInResizeObserver")),s=tL("alignToBottom");return a.useEffect(()=>{t&&(n(t.itemHeight),r({offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:100}))},[t,r,n]),(0,i.jsx)("div",{ref:o,style:tw(s),"data-viewport-type":"window",children:e})},tP=({children:e})=>{let t=tL("TopItemListComponent")||"div",r=tL("headerHeight"),n={...tE,marginTop:`${r}px`},a=tL("context");return(0,i.jsx)(t,{style:n,...tS(t,a),children:e})},{Component:tM,usePublisher:tR,useEmitterValue:tL,useEmitter:tj}=B(tf,{required:{}
25,optional:{restoreStateFrom:"restoreStateFrom",context:"context",followOutput:"followOutput",itemContent:"itemContent",groupContent:"groupContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",totalCount:"totalCount",groupCounts:"groupCounts",topItemCount:"topItemCount",firstItemIndex:"firstItemIndex",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"HeaderFooterTag",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",horizontalDirection:"horizontalDirection",skipAnimationFrameInResizeObserver:"skipAnimationFrameInResizeObserver"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy",autoscrollToBottom:"autoscrollToBottom",getState:"getState"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},a.memo(function(e){let t=tL("useWindowScroll"),r=tL("topItemsIndexes").length>0,n=tL("customScrollParent"),a=n||t?tD:tN,o=n||t?tI:tA;return(0,i.jsxs)(a,{...e,children:[r&&(0,i.jsx)(tP,{children:(0,i.jsx)(ty,{showTopList:!0})}),(0,i.jsxs)(o,{children:[(0,i.jsx)(t_,{}),(0,i.jsx)(ty,{}),(0,i.jsx)(tk,{})]})]})})),tN=tC({usePublisher:tR,useEmitterValue:tL,useEmitter:tj}),tD=tO({usePublisher:tR,useEmitterValue:tL,useEmitter:tj}),tB=tM,tF={items:[],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},tz={items:[{index:0}],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},{round:tH,ceil:tV,floor:t$,min:tZ,max:tU}=Math;function tG(e,t,r){return Array.from({length:t-e+1}).map((t,n)=>{let i=null===r?null:r[n+e];return{index:n+e,data:i}})}function tW(e,t){return e&&e.column===t.column&&e.row===t.row}function tq(e,t){return e&&e.width===t.width&&e.height===t.height}let tY=j(([{overscan:e,visibleRange:t,listBoundary:r,increaseViewportBy:n},{scrollTop:i,viewportHeight:a,scrollBy:o,scrollTo:s,smoothScrollTargetReached:l,scrollContainerState:u,footerHeight:c,headerHeight:d},p,f,{propsReady:h,didMount:E},{windowViewportRect:C,useWindowScroll:I,customScrollParent:M,windowScrollContainerState:j,windowScrollTo:N},D])=>{let B=y(0),F=y(0),z=y(tF),H=y({height:0,width:0}),V=y({height:0,width:0}),$=v(),Z=v(),U=y(0),G=y(null),W=y({row:0,column:0}),q=v(),Y=v(),K=y(!1),X=y(0),J=y(!0),Q=y(!1),ee=y(!1);w(E,P(X),T(([e,t])=>!!t))(1,()=>{J(0,!1)}),w(L(E,J,V,H,X,Q),T(([e,t,r,n,,i])=>e&&!t&&0!==r.height&&0!==n.height&&!i))(1,([,,,,e])=>{Q(0,!0),eR(1,()=>{$(0,e)}),g(w(i),()=>{r(0,[0,0]),J(0,!0)})}),m(w(Y,T(e=>null!=e&&e.scrollTop>0),k(0)),F),w(E,P(Y),T(([,e])=>null!=e))(1,([,e])=>{e&&(H(0,e.viewport),V(0,null==e?void 0:e.item),W(0,e.gap),e.scrollTop>0&&(K(0,!0),g(w(i,O(1)),e=>{K(0,!1)}),s(0,{top:e.scrollTop})))}),m(w(H,_(({height:e})=>e)),a),m(w(L(R(H,tq),R(V,tq),R(W,(e,t)=>e&&e.column===t.column&&e.row===t.row),R(i)),_(([e,t,r,n])=>({viewport:e,item:t,gap:r,scrollTop:n}))),q),m(w(L(R(B),t,R(W,tW),R(V,tq),R(H,tq),R(G),R(F),R(K),R(J),R(X)),T(([,,,,,,,e])=>!e),_(([e,[t,r],n,i,a,o,s,,l,u])=>{let c,d;let{row:p,column:f}=n,{height:h,width:m}=i,{width:g}=a;if(0===s&&(0===e||0===g))return tF;if(0===m){var v;let t=eL(u,e);return v=tG(t,Math.max(t+s-1,0),o),{...tz,items:v}}let y=tJ(g,m,f);l?0===t&&0===r&&s>0?(c=0,d=s-1):(c=y*t$((t+p)/(h+p)),d=tZ(e-1,tU(d=y*tV((r+p)/(h+p))-1,y-1)),c=tZ(d,tU(0,c))):(c=0,d=-1);let b=tG(c,d,o),{top:x,bottom:w}=tK(a,n,i,b),E=tV(e/y);return{items:b,offsetTop:x,offsetBottom:E*h+(E-1)*p-w,top:x,bottom:w,itemHeight:h,itemWidth:m}})),z),m(w(G,T(e=>null!==e),_(e=>e.length)),B),m(w(L(H,V,z,W),T(([e,t,{items:r}])=>r.length>0&&0!==t.height&&0!==e.height),_(([e,t,{items:r},n])=>{let{top:i,bottom:a}=tK(e,n,t,r);return[i,a]}),S(eH)),r);let et=y(!1);m(w(i,P(et),_(([e,t])=>t||0!==e)),et);let er=b(w(R(z),T(({items:e})=>e.length>0),P(B,et),T(([{items:e},t,r])=>r&&e[e.length-1].index===t-1),_(([,e])=>e-1),S())),en=b(w(R(z),T(({items:e})=>e.length>0&&0===e[0].index),k(0),S())),ei=b(w(R(z),P(K),T(([{items:e},t])=>e.length>0&&!t),_(([{items:e}])=>({startIndex:e[0].index,endIndex:e[e.length-1].index})),S(eV),A(0)));m(ei,f.scrollSeekRangeChanged),m(w($,P(H,V,B,W),_(([e,t,r,n,i])=>{let a=eC(e),{align:o,behavior:s,offset:l}=a,u=a.index;"LAST"===u&&(u=n-1);let c=tX(t,i,r,u=tU(0,u,tZ(n-1,u)));return"end"===o?c=tH(c-t.height+r.height):"center"===o&&(c=tH(c-t.height/2+r.height/2)),l&&(c+=l),{top:c,behavior:s}})),s);let ea=x(w(z,_(e=>
25e.offsetBottom+e.bottom)),0);return m(w(C,_(e=>({width:e.visibleWidth,height:e.visibleHeight}))),H),{data:G,totalCount:B,viewportDimensions:H,itemDimensions:V,scrollTop:i,scrollHeight:Z,overscan:e,increaseViewportBy:n,scrollBy:o,scrollTo:s,scrollToIndex:$,smoothScrollTargetReached:l,windowViewportRect:C,windowScrollTo:N,useWindowScroll:I,customScrollParent:M,windowScrollContainerState:j,deviation:U,scrollContainerState:u,footerHeight:c,headerHeight:d,initialItemCount:F,gap:W,restoreStateFrom:Y,...f,initialTopMostItemIndex:X,horizontalDirection:ee,gridState:z,totalListHeight:ea,...p,startReached:en,endReached:er,rangeChanged:ei,stateChanged:q,propsReady:h,stateRestoreInProgress:K,...D}},u(eW,X,eP,e0,eM,e9,$));function tK(e,t,r,n){let{height:i}=r;return void 0===i||0===n.length?{top:0,bottom:0}:{top:tX(e,t,r,n[0].index),bottom:tX(e,t,r,n[n.length-1].index)+i}}function tX(e,t,r,n){let i=t$(n/tJ(e.width,r.width,t.column)),a=i*r.height+tU(0,i-1)*t.row;return a>0?a+t.row:a}function tJ(e,t,r){return tU(1,t$((e+r)/(t$(t)+r)))}let tQ=j(()=>{let e=y(e=>`Item ${e}`),t=y({}),r=y(null),n=y("virtuoso-grid-item"),i=y("virtuoso-grid-list"),a=y(td),o=y("div"),s=y(p),l=(e,r=null)=>x(w(t,_(t=>t[e]),S()),r),u=y(!1),c=y(!1);return m(R(c),u),{readyStateChanged:u,reportReadyState:c,context:r,itemContent:e,components:t,computeItemKey:a,itemClassName:n,listClassName:i,headerFooterTag:o,scrollerRef:s,FooterComponent:l("Footer"),HeaderComponent:l("Header"),ListComponent:l("List","div"),ItemComponent:l("Item","div"),ScrollerComponent:l("Scroller","div"),ScrollSeekPlaceholder:l("ScrollSeekPlaceholder","div")}}),t0=j(([e,t])=>({...e,...t}),u(tY,tQ)),t1=a.memo(function(){let e=t9("gridState"),t=t9("listClassName"),r=t9("itemClassName"),n=t9("itemContent"),o=t9("computeItemKey"),s=t9("isSeeking"),l=t4("scrollHeight"),u=t9("ItemComponent"),c=t9("ListComponent"),d=t9("ScrollSeekPlaceholder"),p=t9("context"),f=t4("itemDimensions"),h=t4("gap"),m=t9("log"),g=t9("stateRestoreInProgress"),v=t4("reportReadyState"),y=U(a.useMemo(()=>e=>{l(e.parentElement.parentElement.scrollHeight);let t=e.firstChild;if(t){let{width:e,height:r}=t.getBoundingClientRect();f({width:e,height:r})}h({row:rr("row-gap",getComputedStyle(e).rowGap,m),column:rr("column-gap",getComputedStyle(e).columnGap,m)})},[l,f,h,m]),!0,!1);return(F(()=>{e.itemHeight>0&&e.itemWidth>0&&v(!0)},[e]),g)?null:(0,i.jsx)(c,{ref:y,className:t,...tS(c,p),style:{paddingTop:e.offsetTop,paddingBottom:e.offsetBottom},"data-testid":"virtuoso-item-list",children:e.items.map(t=>{let l=o(t.index,t.data,p);return s?(0,i.jsx)(d,{...tS(d,p),index:t.index,height:e.itemHeight,width:e.itemWidth},l):(0,a.createElement)(u,{...tS(u,p),className:r,"data-index":t.index,key:l},n(t.index,t.data,p))})})}),t2=a.memo(function(){let e=t9("HeaderComponent"),t=t4("headerHeight"),r=t9("headerFooterTag"),n=U(a.useMemo(()=>e=>t(q(e,"height")),[t]),!0,!1),o=t9("context");return e?(0,i.jsx)(r,{ref:n,children:(0,i.jsx)(e,{...tS(e,o)})}):null}),t3=a.memo(function(){let e=t9("FooterComponent"),t=t4("footerHeight"),r=t9("headerFooterTag"),n=U(a.useMemo(()=>e=>t(q(e,"height")),[t]),!0,!1),o=t9("context");return e?(0,i.jsx)(r,{ref:n,children:(0,i.jsx)(e,{...tS(e,o)})}):null}),t5=({children:e})=>{let t=a.useContext(tc),r=t4("itemDimensions"),n=t4("viewportDimensions"),o=U(a.useMemo(()=>e=>{n(e.getBoundingClientRect())},[n]),!0,!1);return a.useEffect(()=>{t&&(n({height:t.viewportHeight,width:t.viewportWidth}),r({height:t.itemHeight,width:t.itemWidth}))},[t,n,r]),(0,i.jsx)("div",{style:tw(!1),ref:o,children:e})},t8=({children:e})=>{let t=a.useContext(tc),r=t4("windowViewportRect"),n=t4("itemDimensions"),o=tl(r,t9("customScrollParent"),!1);return a.useEffect(()=>{t&&(n({height:t.itemHeight,width:t.itemWidth}),r({offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:t.viewportWidth}))},[t,r,n]),(0,i.jsx)("div",{ref:o,style:tw(!1),children:e})},{Component:t6,usePublisher:t4,useEmitterValue:t9,useEmitter:t7}=B(t0,{optional:{context:"context",totalCount:"totalCount",overscan:"overscan",itemContent:"itemContent",components:"components",computeItemKey:"computeItemKey",data:"data",initialItemCount:"initialItemCount",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"headerFooterTag",listClassName:"listClassName",itemClassName:"itemClassName",useW
25indowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",restoreStateFrom:"restoreStateFrom",initialTopMostItemIndex:"initialTopMostItemIndex",increaseViewportBy:"increaseViewportBy"},methods:{scrollTo:"scrollTo",scrollBy:"scrollBy",scrollToIndex:"scrollToIndex"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",stateChanged:"stateChanged",readyStateChanged:"readyStateChanged"}},a.memo(function({...e}){let t=t9("useWindowScroll"),r=t9("customScrollParent"),n=r||t?rt:re,a=r||t?t8:t5;return(0,i.jsx)(n,{...e,children:(0,i.jsxs)(a,{children:[(0,i.jsx)(t2,{}),(0,i.jsx)(t1,{}),(0,i.jsx)(t3,{})]})})})),re=tC({usePublisher:t4,useEmitterValue:t9,useEmitter:t7}),rt=tO({usePublisher:t4,useEmitterValue:t9,useEmitter:t7});function rr(e,t,r){return("normal"===t||(null==t?void 0:t.endsWith("px"))||r(`${e} was not resolved to pixel value correctly`,t,z.WARN),"normal"===t)?0:parseInt(null!=t?t:"0",10)}let rn=j(()=>{let e=y(e=>(0,i.jsxs)("td",{children:["Item $",e]})),t=y(null),r=y(null),n=y(null),a=y({}),o=y(td),s=y(p),l=(e,t=null)=>x(w(a,_(t=>t[e]),S()),t);return{context:t,itemContent:e,fixedHeaderContent:r,fixedFooterContent:n,components:a,computeItemKey:o,scrollerRef:s,TableComponent:l("Table","table"),TableHeadComponent:l("TableHead","thead"),TableFooterComponent:l("TableFoot","tfoot"),TableBodyComponent:l("TableBody","tbody"),TableRowComponent:l("TableRow","tr"),ScrollerComponent:l("Scroller","div"),EmptyPlaceholder:l("EmptyPlaceholder"),ScrollSeekPlaceholder:l("ScrollSeekPlaceholder"),FillerRow:l("FillerRow")}}),ri=j(([e,t])=>({...e,...t}),u(ti,rn)),ra=({height:e})=>(0,i.jsx)("tr",{children:(0,i.jsx)("td",{style:{height:e}})}),ro=({height:e})=>(0,i.jsx)("tr",{children:(0,i.jsx)("td",{style:{height:e,padding:0,border:0}})}),rs={overflowAnchor:"none"},rl=a.memo(function({showTopList:e=!1}){let t=rh("listState"),r=rh("computeItemKey"),n=rh("firstItemIndex"),o=rh("isSeeking"),s=rh("ScrollSeekPlaceholder")||ra,l=rh("context"),u=rh("TableRowComponent"),c=rh("fixedHeaderHeight"),d=rh("itemContent"),p=(e?t.topItems:[]).reduce((e,t,r)=>(0===r?e.push(t.size):e.push(e[r-1]+t.size),e),[]),f=(e?t.topItems:t.items).map(t=>{let i=t.originalIndex,f=r(i+n,t.data,l),h=e?0===i?0:p[i-1]:0;return o?(0,a.createElement)(s,{...tS(s,l),key:f,index:t.index,height:t.size,type:t.type||"item"}):(0,a.createElement)(u,{...tS(u,l),...tT(u,t.data),key:f,"data-index":i,"data-known-size":t.size,"data-item-index":t.index,style:e?{overflowAnchor:"none",position:"sticky",zIndex:2,top:c+h}:rs},d(t.index,t.data,l))});return(0,i.jsx)(i.Fragment,{children:f})}),ru=a.memo(function(){let e=rh("listState"),t=rh("topItemsIndexes").length>0,r=rf("sizeRanges"),n=rh("useWindowScroll"),o=rh("customScrollParent"),s=rf("windowScrollContainerState"),l=rf("scrollContainerState"),u=rh("trackItemSizes"),{callbackRef:c,ref:d}=G(r,rh("itemSize"),u,o||n?s:l,rh("log"),void 0,o,!1,rh("skipAnimationFrameInResizeObserver")),[p,f]=a.useState(0);rm("deviation",e=>{p!==e&&(d.current.style.marginTop=`${e}px`,f(e))});let h=rh("EmptyPlaceholder"),m=rh("FillerRow")||ro,g=rh("TableBodyComponent"),v=rh("paddingTopAddition"),y=rh("statefulTotalCount"),b=rh("context");if(0===y&&h)return(0,i.jsx)(h,{...tS(h,b)});let x=(t?e.topItems:[]).reduce((e,t)=>e+t.size,0),w=e.offsetTop+v+p-x,E=e.offsetBottom,S=w>0?(0,i.jsx)(m,{height:w,context:b},"padding-top"):null,T=E>0?(0,i.jsx)(m,{height:E,context:b},"padding-bottom"):null;return(0,i.jsxs)(g,{ref:c,"data-testid":"virtuoso-item-list",...tS(g,b),children:[S,t&&(0,i.jsx)(rl,{showTopList:!0}),(0,i.jsx)(rl,{}),T]})}),rc=({children:e})=>{let t=a.useContext(tu),r=rf("viewportHeight"),n=rf("fixedItemHeight"),o=U(a.useMemo(()=>s(r,e=>q(e,"height")),[r]),!0,rh("skipAnimationFrameInResizeObserver"));return a.useEffect(()=>{t&&(r(t.viewportHeight),n(t.itemHeight))},[t,r,n]),(0,i.jsx)("div",{style:tw(!1),ref:o,"data-viewport-type":"element",children:e})},rd=({children:e})=>{let t=a.useContext(tu),r=rf("windowViewportRect"),n=rf("fixedItemHeight"),o=tl(r,rh("customScrollParent"),rh("skipAnimationFrameInResizeObserver"));return a.useEffect(()=>
25{t&&(n(t.itemHeight),r({offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:100}))},[t,r,n]),(0,i.jsx)("div",{ref:o,style:tw(!1),"data-viewport-type":"window",children:e})},{Component:rp,usePublisher:rf,useEmitterValue:rh,useEmitter:rm}=B(ri,{required:{},optional:{restoreStateFrom:"restoreStateFrom",context:"context",followOutput:"followOutput",firstItemIndex:"firstItemIndex",itemContent:"itemContent",fixedHeaderContent:"fixedHeaderContent",fixedFooterContent:"fixedFooterContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",totalCount:"totalCount",topItemCount:"topItemCount",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",groupCounts:"groupCounts",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy",getState:"getState"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},a.memo(function(e){let t=rh("useWindowScroll"),r=rh("customScrollParent"),n=rf("fixedHeaderHeight"),o=rf("fixedFooterHeight"),l=rh("fixedHeaderContent"),u=rh("fixedFooterContent"),c=rh("context"),d=U(a.useMemo(()=>s(n,e=>q(e,"height")),[n]),!0,rh("skipAnimationFrameInResizeObserver")),p=U(a.useMemo(()=>s(o,e=>q(e,"height")),[o]),!0,rh("skipAnimationFrameInResizeObserver")),f=r||t?rv:rg,h=r||t?rd:rc,m=rh("TableComponent"),g=rh("TableHeadComponent"),v=rh("TableFooterComponent"),y=l?(0,i.jsx)(g,{style:{zIndex:2,position:"sticky",top:0},ref:d,...tS(g,c),children:l()},"TableHead"):null,b=u?(0,i.jsx)(v,{style:{zIndex:1,position:"sticky",bottom:0},ref:p,...tS(v,c),children:u()},"TableFoot"):null;return(0,i.jsx)(f,{...e,children:(0,i.jsx)(h,{children:(0,i.jsxs)(m,{style:{borderSpacing:0,overflowAnchor:"none"},...tS(m,c),children:[y,(0,i.jsx)(ru,{},"TableBody"),b]})})})})),rg=tC({usePublisher:rf,useEmitterValue:rh,useEmitter:rm}),rv=tO({usePublisher:rf,useEmitterValue:rh,useEmitter:rm})},94618:function(e,t,r){"use strict";r.d(t,{s5:function(){return c},Gk:function(){return a},tl:function(){return l},LW:function(){return u}});var n=r(28360),i=r(45078);function a({swiper:e,extendParams:t,on:r,emit:a}){let o,s;let l=(0,n.a)();t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let u=(0,i.h)(),c=[];function d(){e.enabled&&(e.mouseEntered=!0)}function p(){e.enabled&&(e.mouseEntered=!1)}function f(t){return!(e.params.mousewheel.thresholdDelta&&t.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&(0,i.h)()-u<e.params.mousewheel.thresholdTime)&&(!!(t.delta>=6&&(0,i.h)()-u<60)||(t.direction<0?e.isEnd&&!e.params.loop||e.animating||(e.slideNext(),a("scroll",t.raw)):e.isBeginning&&!e.params.loop||e.animating||(e.slidePrev(),a("scroll",t.raw)),u=new l.Date().getTime(),!1))}function h(t){var r;let n,l,u,d,p=t;if(!e.enabled||t.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;let h=e.params.mousewheel;e.params.cssMode&&p.preventDefault();let m=e.el;"container"!==e.params.mousewheel.eventsTarget&&(m=document.querySelector(e.params.mousewheel.eventsTarget));let g=m&&m.contains(p.target);if(!e.mouseEntered&&!g&&!h.releaseOnEdges)return!0;p.originalEvent&&(p=p.originalEvent);let v=0,y=e.rtlTranslate?-1:1,b=(n=0,l=0,u=0,d=0,"detail"in(r=p)&&(l=r.detail),"wheelDelta"in r&&(l=-r.wheelDelta/120),"wheelDeltaY"in r&&(l=-r.wheelDeltaY/120
25),"wheelDeltaX"in r&&(n=-r.wheelDeltaX/120),"axis"in r&&r.axis===r.HORIZONTAL_AXIS&&(n=l,l=0),u=10*n,d=10*l,"deltaY"in r&&(d=r.deltaY),"deltaX"in r&&(u=r.deltaX),r.shiftKey&&!u&&(u=d,d=0),(u||d)&&r.deltaMode&&(1===r.deltaMode?(u*=40,d*=40):(u*=800,d*=800)),u&&!n&&(n=u<1?-1:1),d&&!l&&(l=d<1?-1:1),{spinX:n,spinY:l,pixelX:u,pixelY:d});if(h.forceToAxis){if(e.isHorizontal()){if(!(Math.abs(b.pixelX)>Math.abs(b.pixelY)))return!0;v=-b.pixelX*y}else{if(!(Math.abs(b.pixelY)>Math.abs(b.pixelX)))return!0;v=-b.pixelY}}else v=Math.abs(b.pixelX)>Math.abs(b.pixelY)?-b.pixelX*y:-b.pixelY;if(0===v)return!0;h.invert&&(v=-v);let x=e.getTranslate()+v*h.sensitivity;if(x>=e.minTranslate()&&(x=e.minTranslate()),x<=e.maxTranslate()&&(x=e.maxTranslate()),(e.params.loop||x!==e.minTranslate()&&x!==e.maxTranslate())&&e.params.nested&&p.stopPropagation(),e.params.freeMode&&e.params.freeMode.enabled){let t={time:(0,i.h)(),delta:Math.abs(v),direction:Math.sign(v)},r=s&&t.time<s.time+500&&t.delta<=s.delta&&t.direction===s.direction;if(!r){s=void 0;let n=e.getTranslate()+v*h.sensitivity,l=e.isBeginning,u=e.isEnd;if(n>=e.minTranslate()&&(n=e.minTranslate()),n<=e.maxTranslate()&&(n=e.maxTranslate()),e.setTransition(0),e.setTranslate(n),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!l&&e.isBeginning||!u&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:t.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(o),o=void 0,c.length>=15&&c.shift();let r=c.length?c[c.length-1]:void 0,n=c[0];if(c.push(t),r&&(t.delta>r.delta||t.direction!==r.direction))c.splice(0);else if(c.length>=15&&t.time-n.time<500&&n.delta-t.delta>=1&&t.delta<=6){let r=v>0?.8:.2;s=t,c.splice(0),o=(0,i.n)(()=>{!e.destroyed&&e.params&&e.slideToClosest(e.params.speed,!0,void 0,r)},0)}o||(o=(0,i.n)(()=>{!e.destroyed&&e.params&&(s=t,c.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5))},500))}if(r||a("scroll",p),e.params.autoplay&&e.params.autoplay.disableOnInteraction&&e.autoplay.stop(),h.releaseOnEdges&&(n===e.minTranslate()||n===e.maxTranslate()))return!0}}else{let r={time:(0,i.h)(),delta:Math.abs(v),direction:Math.sign(v),raw:t};c.length>=2&&c.shift();let n=c.length?c[c.length-1]:void 0;if(c.push(r),n?(r.direction!==n.direction||r.delta>n.delta||r.time>n.time+150)&&f(r):f(r),function(t){let r=e.params.mousewheel;if(t.direction<0){if(e.isEnd&&!e.params.loop&&r.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&r.releaseOnEdges)return!0;return!1}(r))return!0}return p.preventDefault?p.preventDefault():p.returnValue=!1,!1}function m(t){let r=e.el;"container"!==e.params.mousewheel.eventsTarget&&(r=document.querySelector(e.params.mousewheel.eventsTarget)),r[t]("mouseenter",d),r[t]("mouseleave",p),r[t]("wheel",h)}function g(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",h),!0):!e.mousewheel.enabled&&(m("addEventListener"),e.mousewheel.enabled=!0,!0)}function v(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,h),!0):!!e.mousewheel.enabled&&(m("removeEventListener"),e.mousewheel.enabled=!1,!0)}r("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&v(),e.params.mousewheel.enabled&&g()}),r("destroy",()=>{e.params.cssMode&&g(),e.mousewheel.enabled&&v()}),Object.assign(e.mousewheel,{enable:g,disable:v})}function o(e,t,r,n){return e.params.createElements&&Object.keys(n).forEach(a=>{if(!r[a]&&!0===r.auto){let o=(0,i.e)(e.el,`.${n[a]}`)[0];o||((o=(0,i.c)("div",n[a])).className=n[a],e.el.append(o)),r[a]=o,t[a]=o}}),r}function s(e=""){return`.${e.trim().replace(/([\.:!+\/()[\]#>~*^$|=,'"@{}\\])/g,"\\$1").replace(/ /g,".")}`}function l({swiper:e,extendParams:t,on:r,emit:n}){let a;let l="swiper-pagination";t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${l}-bullet`,bulletActiveClass:`${l}-bullet-active`,modifierClass:`${l}-`,currentClass:`${l}-current`,totalClass:`${l}-total`,hiddenClass:`${l}-hidden`,progressbarFillClass:`${l}-progressbar-fill`,progressbarOppositeClass:`${l}-progressbar-opposite`,clickableClass:`${l}-clickable`,lockClass:`${l}-lock`,horizontalClass:`${l}-horizontal`,verticalClass:`${l}-vertical`,paginationDisabledClass:`${l}-disabled`}}),e.pagination={el:null,bullets:[]};let u=0;function c(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&0===e.pagination.el.length}function d(t,r){let{bulletActiveClass:n}=e.params.pagination;t&&(t=t[`${"prev"===r?"previous":"next"}ElementSibling`])&&(t.classList.add(`${n}-${r}`),(t=t[`${"prev"===r?"previous":"next"}ElementSibling`])&&t.classList.add(`${n}-${r}-${r}`))}function p(t){let r=t.target.closest(s(e.params.pagination.bulletClass));if(!r)return;t.preventDefault();let n=(0,i.j)(r)*e.params.slidesPerGroup;if(e.params.loop){var a,o,l;if(e.realIndex===n)return;let t=(a=e.realIndex,o=n,(a%=l=e.slides.length,(o%=l)===a+1)?"next":o===a-1?"previous":void 0);"next"===t?e.slideNext():"previous"===t?e.slidePrev():e.slideToLoop(n)}else e.slideTo(n)}function f(){let t,r;let o=e.rtl,l=e.params.pagination;if(c())return;let p=e.pagination.el;p=(0,i.m)(p);let f=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,h=e.params.loop?Math.
25ceil(f/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(r=e.previousRealIndex||0,t=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):void 0!==e.snapIndex?(t=e.snapIndex,r=e.previousSnapIndex):(r=e.previousIndex||0,t=e.activeIndex||0),"bullets"===l.type&&e.pagination.bullets&&e.pagination.bullets.length>0){let n,s,c;let f=e.pagination.bullets;if(l.dynamicBullets&&(a=(0,i.i)(f[0],e.isHorizontal()?"width":"height",!0),p.forEach(t=>{t.style[e.isHorizontal()?"width":"height"]=`${a*(l.dynamicMainBullets+4)}px`}),l.dynamicMainBullets>1&&void 0!==r&&((u+=t-(r||0))>l.dynamicMainBullets-1?u=l.dynamicMainBullets-1:u<0&&(u=0)),c=((s=(n=Math.max(t-u,0))+(Math.min(f.length,l.dynamicMainBullets)-1))+n)/2),f.forEach(e=>{let t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>`${l.bulletActiveClass}${e}`)].map(e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e).flat();e.classList.remove(...t)}),p.length>1)f.forEach(r=>{let a=(0,i.j)(r);a===t?r.classList.add(...l.bulletActiveClass.split(" ")):e.isElement&&r.setAttribute("part","bullet"),l.dynamicBullets&&(a>=n&&a<=s&&r.classList.add(...`${l.bulletActiveClass}-main`.split(" ")),a===n&&d(r,"prev"),a===s&&d(r,"next"))});else{let r=f[t];if(r&&r.classList.add(...l.bulletActiveClass.split(" ")),e.isElement&&f.forEach((e,r)=>{e.setAttribute("part",r===t?"bullet-active":"bullet")}),l.dynamicBullets){let e=f[n],t=f[s];for(let e=n;e<=s;e+=1)f[e]&&f[e].classList.add(...`${l.bulletActiveClass}-main`.split(" "));d(e,"prev"),d(t,"next")}}if(l.dynamicBullets){let t=Math.min(f.length,l.dynamicMainBullets+4),r=(a*t-a)/2-c*a,n=o?"right":"left";f.forEach(t=>{t.style[e.isHorizontal()?n:"top"]=`${r}px`})}}p.forEach((r,a)=>{if("fraction"===l.type&&(r.querySelectorAll(s(l.currentClass)).forEach(e=>{e.textContent=l.formatFractionCurrent(t+1)}),r.querySelectorAll(s(l.totalClass)).forEach(e=>{e.textContent=l.formatFractionTotal(h)})),"progressbar"===l.type){let n;n=l.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";let i=(t+1)/h,a=1,o=1;"horizontal"===n?a=i:o=i,r.querySelectorAll(s(l.progressbarFillClass)).forEach(t=>{t.style.transform=`translate3d(0,0,0) scaleX(${a}) scaleY(${o})`,t.style.transitionDuration=`${e.params.speed}ms`})}"custom"===l.type&&l.renderCustom?((0,i.s)(r,l.renderCustom(e,t+1,h)),0===a&&n("paginationRender",r)):(0===a&&n("paginationRender",r),n("paginationUpdate",r)),e.params.watchOverflow&&e.enabled&&r.classList[e.isLocked?"add":"remove"](l.lockClass)})}function h(){let t=e.params.pagination;if(c())return;let r=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length,a=e.pagination.el;a=(0,i.m)(a);let o="";if("bullets"===t.type){let n=e.params.loop?Math.ceil(r/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&n>r&&(n=r);for(let r=0;r<n;r+=1)t.renderBullet?o+=t.renderBullet.call(e,r,t.bulletClass):o+=`<${t.bulletElement} ${e.isElement?'part="bullet"':""} class="${t.bulletClass}"></${t.bulletElement}>`}"fraction"===t.type&&(o=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):`<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`),"progressbar"===t.type&&(o=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):`<span class="${t.progressbarFillClass}"></span>`),e.pagination.bullets=[],a.forEach(r=>{"custom"!==t.type&&(0,i.s)(r,o||""),"bullets"===t.type&&e.pagination.bullets.push(...r.querySelectorAll(s(t.bulletClass)))}),"custom"!==t.type&&n("paginationRender",a[0])}function m(){let t;e.params.pagination=o(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});let r=e.params.pagination;r.el&&("string"==typeof r.el&&e.isElement&&(t=e.el.querySelector(r.el)),t||"string"!=typeof r.el||(t=[...document.querySelectorAll(r.el)]),t||(t=r.el),t&&0!==t.length&&(e.params.uniqueNavElements&&"string"==typeof r.el&&Array.isArray(t)&&t.length>1&&(t=[...e.el.querySelectorAll(r.el)]).length>1&&(t=t.find(t=>(0,i.d)(t,".swiper")[0]===e.el)),Array.isArray(t)&&1===t.length&&(t=t[0]),Object.assign(e.pagination,{el:t}
25),(t=(0,i.m)(t)).forEach(t=>{"bullets"===r.type&&r.clickable&&t.classList.add(...(r.clickableClass||"").split(" ")),t.classList.add(r.modifierClass+r.type),t.classList.add(e.isHorizontal()?r.horizontalClass:r.verticalClass),"bullets"===r.type&&r.dynamicBullets&&(t.classList.add(`${r.modifierClass}${r.type}-dynamic`),u=0,r.dynamicMainBullets<1&&(r.dynamicMainBullets=1)),"progressbar"===r.type&&r.progressbarOpposite&&t.classList.add(r.progressbarOppositeClass),r.clickable&&t.addEventListener("click",p),e.enabled||t.classList.add(r.lockClass)})))}function g(){let t=e.params.pagination;if(c())return;let r=e.pagination.el;r&&(r=(0,i.m)(r)).forEach(r=>{r.classList.remove(t.hiddenClass),r.classList.remove(t.modifierClass+t.type),r.classList.remove(e.isHorizontal()?t.horizontalClass:t.verticalClass),t.clickable&&(r.classList.remove(...(t.clickableClass||"").split(" ")),r.removeEventListener("click",p))}),e.pagination.bullets&&e.pagination.bullets.forEach(e=>e.classList.remove(...t.bulletActiveClass.split(" ")))}r("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;let t=e.params.pagination,{el:r}=e.pagination;(r=(0,i.m)(r)).forEach(r=>{r.classList.remove(t.horizontalClass,t.verticalClass),r.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass)})}),r("init",()=>{!1===e.params.pagination.enabled?v():(m(),h(),f())}),r("activeIndexChange",()=>{void 0===e.snapIndex&&f()}),r("snapIndexChange",()=>{f()}),r("snapGridLengthChange",()=>{h(),f()}),r("destroy",()=>{g()}),r("enable disable",()=>{let{el:t}=e.pagination;t&&(t=(0,i.m)(t)).forEach(t=>t.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass))}),r("lock unlock",()=>{f()}),r("click",(t,r)=>{let a=r.target,o=(0,i.m)(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&o&&o.length>0&&!a.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&a===e.navigation.nextEl||e.navigation.prevEl&&a===e.navigation.prevEl))return;!0===o[0].classList.contains(e.params.pagination.hiddenClass)?n("paginationShow"):n("paginationHide"),o.forEach(t=>t.classList.toggle(e.params.pagination.hiddenClass))}});let v=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=(0,i.m)(t)).forEach(t=>t.classList.add(e.params.pagination.paginationDisabledClass)),g()};Object.assign(e.pagination,{enable:()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=(0,i.m)(t)).forEach(t=>t.classList.remove(e.params.pagination.paginationDisabledClass)),m(),h(),f()},disable:v,render:h,update:f,init:m,destroy:g})}function u({swiper:e,extendParams:t,on:r,emit:a}){let l,u,c,d;let p=(0,n.g)(),f=!1,h=null,m=null;function g(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;let{scrollbar:t,rtlTranslate:r}=e,{dragEl:n,el:i}=t,a=e.params.scrollbar,o=e.params.loop?e.progressLoop:e.progress,s=u,l=(c-u)*o;r?(l=-l)>0?(s=u-l,l=0):-l+u>c&&(s=c+l):l<0?(s=u+l,l=0):l+u>c&&(s=c-l),e.isHorizontal()?(n.style.transform=`translate3d(${l}px, 0, 0)`,n.style.width=`${s}px`):(n.style.transform=`translate3d(0px, ${l}px, 0)`,n.style.height=`${s}px`),a.hide&&(clearTimeout(h),i.style.opacity=1,h=setTimeout(()=>{i.style.opacity=0,i.style.transitionDuration="400ms"},1e3))}function v(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;let{scrollbar:t}=e,{dragEl:r,el:n}=t;r.style.width="",r.style.height="",c=e.isHorizontal()?n.offsetWidth:n.offsetHeight,d=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),u="auto"===e.params.scrollbar.dragSize?c*d:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?r.style.width=`${u}px`:r.style.height=`${u}px`,d>=1?n.style.display="none":n.style.display="",e.params.scrollbar.hide&&(n.style.opacity=0),e.params.watchOverflow&&e.enabled&&t.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function y(t){return e.isHorizontal()?t.clientX:t.clientY}function b(t){let r;let{scrollbar:n,rtlTranslate:a}=e,{el:o}=n;r=Math.max(Math.min(r=(y(t)-(0,i.f)(o)[e.isHorizontal()?"left":"top"]-(null!==l?l:u/2))/(c-u),1),0),a&&(r=1-r);let s=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*r;e.updateProgress(s),e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}function x(t){let r=e.params.scrollbar,{scrollbar:n,wrapperEl:i}=e,{el:o,dragEl:s}=n;f=!0,l=t.target===s?y(t)-t.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,t.preventDefault(),t.stopPropagation(),i.style.transitionDuration="100ms",s.style.transitionDuration="100ms",b(t),clearTimeout(m),o.style.transitionDuration="0ms",r.hide&&(o.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),a("scrollbarDragStart",t)}function w(t){let{scrollbar:r,wrapperEl:n}=e,{el:i,dragEl:o}=r;f&&(t.preventDefault&&t.cancelable?t.preventDefault():t.returnValue=!1,b(t),n.style.transitionDuration="0ms",i.style.transitionDuration="0ms",o.style.transitionDuration="0ms",a("scrollbarDragMove",t))}function E(t){let r=e.params.scrollbar,{scrollbar:n,wrapperEl:o}=e,{el:s}=n;f&&(f=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",o.style.transitionDuration=""),r.hide&&(clearTimeout(m),m=(0,i.n)(()=>{s.style.opacity=0,s.style.transitionDuration="400ms"},1e3)),a("scrollbarDragEnd",t),r.snapOnRelease&&e.slideToClosest())}function S(t){let{scrollbar:r,params:n}=e,i=r.el;if(!i)return;let a=!!n.passiveListeners&&{passive:!1,capture:!1},o=!!n.passiveListeners&&{passive:!0,capture:!1};if(!i)return;let s="on"===t?"addEventListener":"removeEventListener";i[s]("pointerdown",x,a),p[s]("pointermove",w,a),p[s]("pointerup",E,o)}function T(){let t,r;let{scrollbar:n,el:a}=e;e.params.scrollbar=o(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});let l=e.params.scrollbar;if(l.el){if("string"==typeof l.el&&e.isElement&&(t=e.el.querySelector(l.el)),t||"string"!=typeof l.el)t||(t=l.el);else if(!(t=p.querySelectorAll(l.el)).length)return;e.params.uniqueNavElements&&"string"==typeof l.el&&t.length>1&&1===a.querySelectorAll(l.el).length&&(t=a.querySelector(l.el)),t.length>0&&(t=t[0]),t.classList.add(e.isHorizontal()?l.horizontalClass:l.verticalClass),!t||(r=t.querySelector(s(e.params.scrollbar.dragClass)))||(r=(0,i.c)("div",e.params.scrollbar.dragClass),t.append(r)),Object.assign(n,{el:t,dragEl:r}),!l.draggable||e.params.scrollbar.el&&e.scrollbar.el&&S("on"),t&&t.classList[e.enabled?"remove":"add"](...(0,i.k)(e.params.scrollbar.lockClass))}}function _(){let t=e.params.scrollbar,r=e.scrollbar.el;r&&r.classList.remove(...(0,i.k)(e.isHorizontal()?t.horizontalClass:t.verticalClass)),e.params.scrollbar.el&&e.scrollbar.el&&S("off")}t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null},r("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;let t=e.params.scrollbar,{el:r}=e.scrollbar;
25(r=(0,i.m)(r)).forEach(r=>{r.classList.remove(t.horizontalClass,t.verticalClass),r.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass)})}),r("init",()=>{!1===e.params.scrollbar.enabled?k():(T(),v(),g())}),r("update resize observerUpdate lock unlock changeDirection",()=>{v()}),r("setTranslate",()=>{g()}),r("setTransition",(t,r)=>{e.params.scrollbar.el&&e.scrollbar.el&&(e.scrollbar.dragEl.style.transitionDuration=`${r}ms`)}),r("enable disable",()=>{let{el:t}=e.scrollbar;t&&t.classList[e.enabled?"remove":"add"](...(0,i.k)(e.params.scrollbar.lockClass))}),r("destroy",()=>{_()});let k=()=>{e.el.classList.add(...(0,i.k)(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...(0,i.k)(e.params.scrollbar.scrollbarDisabledClass)),_()};Object.assign(e.scrollbar,{enable:()=>{e.el.classList.remove(...(0,i.k)(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...(0,i.k)(e.params.scrollbar.scrollbarDisabledClass)),T(),v(),g()},disable:k,updateSize:v,setTranslate:g,init:T,destroy:_})}function c({swiper:e,extendParams:t,on:r}){let a,o;t({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0,wrapperLiveRegion:!0}}),e.a11y={clicked:!1};let l=null,u=new Date().getTime();function c(e){let t=l;0!==t.length&&(0,i.s)(t,e)}function d(e){(e=(0,i.m)(e)).forEach(e=>{e.setAttribute("tabIndex","0")})}function p(e){(e=(0,i.m)(e)).forEach(e=>{e.setAttribute("tabIndex","-1")})}function f(e,t){(e=(0,i.m)(e)).forEach(e=>{e.setAttribute("role",t)})}function h(e,t){(e=(0,i.m)(e)).forEach(e=>{e.setAttribute("aria-roledescription",t)})}function m(e,t){(e=(0,i.m)(e)).forEach(e=>{e.setAttribute("aria-label",t)})}function g(e){(e=(0,i.m)(e)).forEach(e=>{e.setAttribute("aria-disabled",!0)})}function v(e){(e=(0,i.m)(e)).forEach(e=>{e.removeAttribute("aria-disabled")})}function y(t){if(13!==t.keyCode&&32!==t.keyCode)return;let r=e.params.a11y,n=t.target;if(!(e.pagination&&e.pagination.el&&(n===e.pagination.el||e.pagination.el.contains(t.target)))||t.target.matches(s(e.params.pagination.bulletClass))){if(e.navigation&&e.navigation.prevEl&&e.navigation.nextEl){let t=(0,i.m)(e.navigation.prevEl);(0,i.m)(e.navigation.nextEl).includes(n)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?c(r.lastSlideMessage):c(r.nextSlideMessage)),t.includes(n)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?c(r.firstSlideMessage):c(r.prevSlideMessage))}e.pagination&&n.matches(s(e.params.pagination.bulletClass))&&n.click()}}function b(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function x(){return b()&&e.params.pagination.clickable}let w=(e,t,r)=>{d(e),"BUTTON"!==e.tagName&&(f(e,"button"),e.addEventListener("keydown",y)),m(e,r)},E=t=>
25{o&&o!==t.target&&!o.contains(t.target)&&(a=!0),e.a11y.clicked=!0},S=()=>{a=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},T=e=>{u=new Date().getTime()},_=t=>{if(e.a11y.clicked||!e.params.a11y.scrollOnFocus||new Date().getTime()-u<100)return;let r=t.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!r||!e.slides.includes(r))return;o=r;let n=e.virtual&&e.params.virtual.enabled,i=(n?parseInt(r.getAttribute("data-swiper-slide-index"),10):e.slides.indexOf(r))===e.activeIndex,s=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(r);!i&&!s&&(t.sourceCapabilities&&t.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,requestAnimationFrame(()=>{a||(e.params.loop?e.slideToLoop(e.getSlideIndexWhenGrid(parseInt(r.getAttribute("data-swiper-slide-index"))),0):n?e.slideTo(e.getSlideIndexWhenGrid(parseInt(r.getAttribute("data-swiper-slide-index"),10)),0):e.slideTo(e.getSlideIndexWhenGrid(e.slides.indexOf(r)),0),a=!1)})))},k=()=>{let t=e.params.a11y;t.itemRoleDescriptionMessage&&h(e.slides,t.itemRoleDescriptionMessage),t.slideRole&&f(e.slides,t.slideRole);let r=e.slides.length;t.slideLabelMessage&&e.slides.forEach((n,i)=>{let a=e.params.loop?parseInt(n.getAttribute("data-swiper-slide-index"),10):i;m(n,t.slideLabelMessage.replace(/\{\{index\}\}/,a+1).replace(/\{\{slidesLength\}\}/,r))})},C=()=>{let t=e.params.a11y;e.el.append(l);let r=e.el;t.containerRoleDescriptionMessage&&h(r,t.containerRoleDescriptionMessage),t.containerMessage&&m(r,t.containerMessage),t.containerRole&&f(r,t.containerRole);let a=e.wrapperEl,o=t.id||a.getAttribute("id")||`swiper-wrapper-${function(e=16){return"x".repeat(e).replace(/x/g,()=>Math.round(16*Math.random()).toString(16))}(16)}`;(function(e,t){(e=(0,i.m)(e)).forEach(e=>{e.setAttribute("id",t)})})(a,o),t.wrapperLiveRegion&&function(e,t){(e=(0,i.m)(e)).forEach(e=>{e.setAttribute("aria-live",t)})}(a,e.params.autoplay&&e.params.autoplay.enabled?"off":"polite"),k();let{nextEl:s,prevEl:u}=e.navigation?e.navigation:{};s=(0,i.m)(s),u=(0,i.m)(u),s&&s.forEach(e=>w(e,o,t.nextSlideMessage)),u&&u.forEach(e=>w(e,o,t.prevSlideMessage)),x()&&(0,i.m)(e.pagination.el).forEach(e=>{e.addEventListener("keydown",y)}),(0,n.g)().addEventListener("visibilitychange",T),e.el.addEventListener("focus",_,!0),e.el.addEventListener("pointerdown",E,!0),e.el.addEventListener("pointerup",S,!0)};r("beforeInit",()=>{(l=(0,i.c)("span",e.params.a11y.notificationClass)).setAttribute("aria-live","assertive"),l.setAttribute("aria-atomic","true")}),r("afterInit",()=>{e.params.a11y.enabled&&C()}),r("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&k()}),r("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&function(){if(e.params.loop||e.params.rewind||!e.navigation)return;let{nextEl:t,prevEl:r}=e.navigation;r&&(e.isBeginning?(g(r),p(r)):(v(r),d(r))),t&&(e.isEnd?(g(t),p(t)):(v(t),d(t)))}()}),r("paginationUpdate",()=>{e.params.a11y.enabled&&function(){let t=e.params.a11y;b()&&e.pagination.bullets.forEach(r=>{e.params.pagination.clickable&&(d(r),e.params.pagination.renderBullet||(f(r,"button"),m(r,t.paginationBulletMessage.replace(/\{\{index\}\}/,(0,i.j)(r)+1)))),r.matches(s(e.params.pagination.bulletActiveClass))?r.setAttribute("aria-current","true"):r.removeAttribute("aria-current")})}()}),r("destroy",()=>{e.params.a11y.enabled&&function(){l&&l.remove();let{nextEl:t,prevEl:r}=e.navigation?e.navigation:{};t=(0,i.m)(t),r=(0,i.m)(r),t&&t.forEach(e=>e.removeEventListener("keydown",y)),r&&r.forEach(e=>e.removeEventListener("keydown",y)),x()&&(0,i.m)(e.pagination.el).forEach(e=>{e.removeEventListener("keydown",y)}),(0,n.g)().removeEventListener("visibilitychange",T),e.el&&"string"!=typeof e.el&&(e.el.removeEventListener("focus",_,!0),e.el.removeEventListener("pointerdown",E,!0),e.el.removeEventListener("pointerup",S,!0))}()})}},28360:function(e,t,r){"use strict";function n(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function i(e={},t={}){let r=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>0>
25r.indexOf(e)).forEach(r=>{void 0===e[r]?e[r]=t[r]:n(t[r])&&n(e[r])&&Object.keys(t[r]).length>0&&i(e[r],t[r])})}r.d(t,{a:function(){return l},g:function(){return o}});let a={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function o(){let e="undefined"!=typeof document?document:{};return i(e,a),e}let s={document:a,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function l(){let e="undefined"!=typeof window?window:{};return i(e,s),e}},45078:function(e,t,r){"use strict";r.d(t,{b:function(){return c},c:function(){return m},d:function(){return w},e:function(){return p},f:function(){return g},h:function(){return s},i:function(){return E},j:function(){return x},k:function(){return i},l:function(){return l},m:function(){return S},n:function(){return o},q:function(){return b},r:function(){return y},s:function(){return T},t:function(){return v},u:function(){return d},v:function(){return h},w:function(){return f},x:function(){return function e(...t){let r=Object(t[0]);for(let n=1;n<t.length;n+=1){let i=t[n];if(null!=i&&("undefined"!=typeof window&&void 0!==window.HTMLElement?!(i instanceof HTMLElement):!i||1!==i.nodeType&&11!==i.nodeType)){let t=Object.keys(Object(i)).filter(e=>"__proto__"!==e&&"constructor"!==e&&"prototype"!==e);for(let n=0,a=t.length;n<a;n+=1){let a=t[n],o=Object.getOwnPropertyDescriptor(i,a);void 0!==o&&o.enumerable&&(u(r[a])&&u(i[a])?i[a].__swiper__?r[a]=i[a]:e(r[a],i[a]):!u(r[a])&&u(i[a])?(r[a]={},i[a].__swiper__?r[a]=i[a]:e(r[a],i[a])):r[a]=i[a])}}}return r}},y:function(){return a}});var n=r(28360);function i(e=""){return e.trim().split(" ").filter(e=>!!e.trim())}function a(e){Object.keys(e).forEach(t=>{try{e[t]=null}catch(e){}try{delete e[t]}catch(e){}})}function o(e,t=0){return setTimeout(e,t)}function s(){return Date.now()}function l(e,t="x"){let r,i,a;let o=(0,n.a)(),s=function(e){let t;let r=(0,n.a)();return r.getComputedStyle&&(t=r.getComputedStyle(e,null)),!t&&e.currentStyle&&(t=e.currentStyle),t||(t=e.style),t}(e);return o.WebKitCSSMatrix?((i=s.transform||s.webkitTransform).split(",").length>6&&(i=i.split(", ").map(e=>e.replace(",",".")).join(", ")),a=new o.WebKitCSSMatrix("none"===i?"":i)):r=(a=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(i=o.WebKitCSSMatrix?a.m41:16===r.length?parseFloat(r[12]):parseFloat(r[4])),"y"===t&&(i=o.WebKitCSSMatrix?a.m42:16===r.length?parseFloat(r[13]):parseFloat(r[5])),i||0}function u(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function c(e,t,r){e.style.setProperty(t,r)}function d({swiper:e,targetPosition:t,side:r}){let i;let a=(0,n.a)(),o=-e.translate,s=null,l=e.params.speed;e.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(e.cssModeFrameID);let u=t>o?"next":"prev",c=(e,t)=>"next"===u&&e>=t||"prev"===u&&e<=t,d=()=>{i=new Date().getTime(),null===s&&(s=i);let n=o+(.5-Math.cos(Math.max(Math.min((i-s)/l,1),0)*Math.PI)/2)*(t-o);if(c(n,t)&&(n=t),e.wrapperEl.scrollTo({[r]:n}),c(n,t)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[r]:n})}),a.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=a.requestAnimationFrame(d)};d()}function p(e,t=""){let r=(0,n.a)(),i=[...e.children];return(r.HTMLSlotElement&&e instanceof HTMLSlotElement&&i.push(...e.assignedElements()),t)?i.filter(e=>e.matches(t)):i}function f(e,t){let r=(0,n.a)(),i=t.contains(e);return!i&&r.HTMLSlotElement&&t instanceof HTMLSlotElement&&!(i=[...t.assignedElements()].includes(e))&&(i=function(e,t){let r=[t];for(;r.length>0;){let t=r.shift();if(e===t)return!0;r.push(...t.children,...t.shadowRoot?t.shadowRoot.children:[],...t.assignedElements?t.assignedElements():[])}}(e,t)),i}function h(e){try{console.warn(e);return}catch(e){}}function m(e,t=[]){let r=document.createElement(e);return r.classList.add(...Array.isArray(t)?t:i(t)),r}function g(e){let t=(0,n.a)(),r=(0,n.g)(),i=e.getBoundingClientRect(),a=r.body,o=e.clientTop||a.clientTop||0,s=e.clientLeft||a.clientLeft||0,l=e===t?t.scrollY:e.scrollTop,u=e===t?t.scrollX:e.scrollLeft;
25return{top:i.top+l-o,left:i.left+u-s}}function v(e,t){let r=[];for(;e.previousElementSibling;){let n=e.previousElementSibling;t?n.matches(t)&&r.push(n):r.push(n),e=n}return r}function y(e,t){let r=[];for(;e.nextElementSibling;){let n=e.nextElementSibling;t?n.matches(t)&&r.push(n):r.push(n),e=n}return r}function b(e,t){return(0,n.a)().getComputedStyle(e,null).getPropertyValue(t)}function x(e){let t,r=e;if(r){for(t=0;null!==(r=r.previousSibling);)1===r.nodeType&&(t+=1);return t}}function w(e,t){let r=[],n=e.parentElement;for(;n;)t?n.matches(t)&&r.push(n):r.push(n),n=n.parentElement;return r}function E(e,t,r){let i=(0,n.a)();return r?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function S(e){return(Array.isArray(e)?e:[e]).filter(e=>!!e)}function T(e,t=""){"undefined"!=typeof trustedTypes?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:e=>e}).createHTML(t):e.innerHTML=t}},46747:function(e,t,r){"use strict";let n,i,a;r.d(t,{tq:function(){return W},o5:function(){return q},oc:function(){return G}});var o=r(2265),s=r(28360),l=r(45078);function u(){return n||(n=function(){let e=(0,s.a)(),t=(0,s.g)();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),n}function c(e={}){return i||(i=function({userAgent:e}={}){let t=u(),r=(0,s.a)(),n=r.navigator.platform,i=e||r.navigator.userAgent,a={ios:!1,android:!1},o=r.screen.width,l=r.screen.height,c=i.match(/(Android);?[\s\/]+([\d.]+)?/),d=i.match(/(iPad)(?!\1).*OS\s([\d_]+)/),p=i.match(/(iPod)(.*OS\s([\d_]+))?/),f=!d&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="MacIntel"===n;return!d&&h&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${o}x${l}`)>=0&&((d=i.match(/(Version)\/([\d.]+)/))||(d=[0,1,"13_0_0"]),h=!1),c&&"Win32"!==n&&(a.os="android",a.android=!0),(d||f||p)&&(a.os="ios",a.ios=!0),a}(e)),i}function d(){return a||(a=function(){let e=(0,s.a)(),t=c(),r=!1;function n(){let t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&0>t.indexOf("chrome")&&0>t.indexOf("android")}if(n()){let t=String(e.navigator.userAgent);if(t.includes("Version/")){let[e,n]=t.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));r=e<16||16===e&&n<2}}let i=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),a=n(),o=a||i&&t.ios;return{isSafari:r||a,needPerspectiveFix:r,need3dFix:o,isWebView:i}}()),a}let p=(e,t,r)=>{t&&!e.classList.contains(r)?e.classList.add(r):!t&&e.classList.contains(r)&&e.classList.remove(r)},f=(e,t,r)=>{t&&!e.classList.contains(r)?e.classList.add(r):!t&&e.classList.contains(r)&&e.classList.remove(r)},h=(e,t)=>{if(!e||e.destroyed||!e.params)return;let r=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(r){let t=r.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(r.shadowRoot?t=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{r.shadowRoot&&(t=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`))&&!t.lazyPreloaderManaged&&t.remove()})),t&&!t.lazyPreloaderManaged&&t.remove()}},m=(e,t)=>{if(!e.slides[t])return;let r=e.slides[t].querySelector('[loading="lazy"]');r&&r.removeAttribute("loading")},g=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext,r=e.slides.length;if(!r||!t||t<0)return;t=Math.min(t,r);let n="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){let r=[i-t];r.push(...Array.from({length:t}).map((e,t)=>i+n+t)),e.slides.forEach((t,n)=>{r.includes(t.column)&&m(e,n)});return}let a=i+n-1;if(e.params.rewind||e.params.loop)for(let n=i-t;n<=a+t;n+=1){let t=(n%r+r)%r;(t<i||t>a)&&m(e,t)}else for(let n=Math.max(i-t,0);n<=Math.min(a+t,r-1);n+=1)n!==i&&(n>a||n<i)&&m(e,n)};function v({swiper:e,runCallbacks:t,direction:r,step:n}){let{activeIndex:i,previousIndex:a}=e,o=r;o||(o=i>a?"next":i<a?"prev":"reset"),e.emit(`transition${n}`),t&&"reset"===o?e.emit(`slideResetTransition${n}`):t&&i!==a&&(e.emit(`slideChangeTransition${n}`),"next"===o?e.emit(`slideNextTransition${n}`):e.emit(`slidePrevTransition${n}`))}function y(e,t,r){let n=(0,s.a)(),{params:i}=e,a=i.edgeSwipeDetection,o=i.edgeSwipeThreshold;return!a||!(r<=o)&&!(r>=n.innerWidth-o)||"prevent"===a&&(t.preventDefault(),!0)}function b(e){if(this.destroyed)return;let t=(0,s.g)(),r=e;r.originalEvent&&(r=r.originalEvent);let n=this.touchEventsData;if("pointerdown"===r.type){if(null!==n.pointerId&&n.pointerId!==r.pointerId)return;n.pointerId=r.pointerId}else"touchstart"===r.type&&1===r.targetTouches.length&&(n.touchId=r.targetTouches[0].identifier);if("touchstart"===r.type){y(this,r,r.targetTouches[0].pageX);return}let{params:i,touches:a,enabled:o}=this;if(!o||!i.simulateTouch&&"mouse"===r.pointerType||this.animating&&i.preventInteractionOnTransition)return;!this.animating&&i.cssMode&&i.loop&&this.loopFix();let u=r.target;if("wrapper"===i.touchEventsTarget&&!(0,l.w)(u,this.wrapperEl)||"which"in r&&3===r.which||"button"in r&&r.button>0||n.isTouched&&n.isMoved)return;let c=!!i.noSwipingClass&&""!==i.noSwipingClass,d=r.composedPath?r.composedPath():r.path;
25c&&r.target&&r.target.shadowRoot&&d&&(u=d[0]);let p=i.noSwipingSelector?i.noSwipingSelector:`.${i.noSwipingClass}`,f=!!(r.target&&r.target.shadowRoot);if(i.noSwiping&&(f?function(e,t=this){return function t(r){if(!r||r===(0,s.g)()||r===(0,s.a)())return null;r.assignedSlot&&(r=r.assignedSlot);let n=r.closest(e);return n||r.getRootNode?n||t(r.getRootNode().host):null}(t)}(p,u):u.closest(p))){this.allowClick=!0;return}if(i.swipeHandler&&!u.closest(i.swipeHandler))return;a.currentX=r.pageX,a.currentY=r.pageY;let h=a.currentX,m=a.currentY;if(!y(this,r,h))return;Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=h,a.startY=m,n.touchStartTime=(0,l.h)(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,i.threshold>0&&(n.allowThresholdMove=!1);let g=!0;u.matches(n.focusableElements)&&(g=!1,"SELECT"===u.nodeName&&(n.isTouched=!1)),t.activeElement&&t.activeElement.matches(n.focusableElements)&&t.activeElement!==u&&("mouse"===r.pointerType||"mouse"!==r.pointerType&&!u.matches(n.focusableElements))&&t.activeElement.blur();let v=g&&this.allowTouchMove&&i.touchStartPreventDefault;(i.touchStartForcePreventDefault||v)&&!u.isContentEditable&&r.preventDefault(),i.freeMode&&i.freeMode.enabled&&this.freeMode&&this.animating&&!i.cssMode&&this.freeMode.onTouchStart(),this.emit("touchStart",r)}function x(e){let t,r;let n=(0,s.g)();if(this.destroyed)return;let i=this.touchEventsData,{params:a,touches:o,rtlTranslate:u,enabled:c}=this;if(!c||!a.simulateTouch&&"mouse"===e.pointerType)return;let d=e;if(d.originalEvent&&(d=d.originalEvent),"pointermove"===d.type&&(null!==i.touchId||d.pointerId!==i.pointerId))return;if("touchmove"===d.type){if(!(t=[...d.changedTouches].find(e=>e.identifier===i.touchId))||t.identifier!==i.touchId)return}else t=d;if(!i.isTouched){i.startMoving&&i.isScrolling&&this.emit("touchMoveOpposite",d);return}let p=t.pageX,f=t.pageY;if(d.preventedByNestedSwiper){o.startX=p,o.startY=f;return}if(!this.allowTouchMove){d.target.matches(i.focusableElements)||(this.allowClick=!1),i.isTouched&&(Object.assign(o,{startX:p,startY:f,currentX:p,currentY:f}),i.touchStartTime=(0,l.h)());return}if(a.touchReleaseOnEdges&&!a.loop){if(this.isVertical()){if(f<o.startY&&this.translate<=this.maxTranslate()||f>o.startY&&this.translate>=this.minTranslate()){i.isTouched=!1,i.isMoved=!1;return}}else if(u&&(p>o.startX&&-this.translate<=this.maxTranslate()||p<o.startX&&-this.translate>=this.minTranslate()))return;else if(!u&&(p<o.startX&&this.translate<=this.maxTranslate()||p>o.startX&&this.translate>=this.minTranslate()))return}if(n.activeElement&&n.activeElement.matches(i.focusableElements)&&n.activeElement!==d.target&&"mouse"!==d.pointerType&&n.activeElement.blur(),n.activeElement&&d.target===n.activeElement&&d.target.matches(i.focusableElements)){i.isMoved=!0,this.allowClick=!1;return}i.allowTouchCallbacks&&this.emit("touchMove",d),o.previousX=o.currentX,o.previousY=o.currentY,o.currentX=p,o.currentY=f;let h=o.currentX-o.startX,m=o.currentY-o.startY;if(this.params.threshold&&Math.sqrt(h**2+m**2)<this.params.threshold)return;if(void 0===i.isScrolling){let e;this.isHorizontal()&&o.currentY===o.startY||this.isVertical()&&o.currentX===o.startX?i.isScrolling=!1:h*h+m*m>=25&&(e=180*Math.atan2(Math.abs(m),Math.abs(h))/Math.PI,i.isScrolling=this.isHorizontal()?e>a.touchAngle:90-e>a.touchAngle)}if(i.isScrolling&&this.emit("touchMoveOpposite",d),void 0===i.startMoving&&(o.currentX!==o.startX||o.currentY!==o.startY)&&(i.startMoving=!0),i.isScrolling||"touchmove"===d.type&&i.preventTouchMoveFromPointerMove){i.isTouched=!1;return}if(!i.startMoving)return;this.allowClick=!1,!a.cssMode&&d.cancelable&&d.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&d.stopPropagation();let g=this.isHorizontal()?h:m,v=this.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;a.oneWayMovement&&(g=Math.abs(g)*(u?1:-1),v=Math.abs(v)*(u?1:-1)),o.diff=g,g*=a.touchRatio,u&&(g=-g,v=-v);let y=this.touchesDirection;this.swipeDirection=g>0?"prev":"next",this.touchesDirection=v>0?"prev":"next";let b=this.params.loop&&!a.cssMode,x="next"===this.touchesDirection&&this.allowSlideNext||"prev"===this.touchesDirection&&this.allowSlidePrev;if(!i.isMoved){if(b&&x&&this.loopFix({direction:this.swipeDirection}),i.startTranslate=this.getTranslate(),this.setTransition(0),this.animating){let e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});
25this.wrapperEl.dispatchEvent(e)}i.allowMomentumBounce=!1,a.grabCursor&&(!0===this.allowSlideNext||!0===this.allowSlidePrev)&&this.setGrabCursor(!0),this.emit("sliderFirstMove",d)}if(new Date().getTime(),!1!==a._loopSwapReset&&i.isMoved&&i.allowThresholdMove&&y!==this.touchesDirection&&b&&x&&Math.abs(g)>=1){Object.assign(o,{startX:p,startY:f,currentX:p,currentY:f,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,i.startTranslate=i.currentTranslate;return}this.emit("sliderMove",d),i.isMoved=!0,i.currentTranslate=g+i.startTranslate;let w=!0,E=a.resistanceRatio;if(a.touchReleaseOnEdges&&(E=0),g>0?(b&&x&&!r&&i.allowThresholdMove&&i.currentTranslate>(a.centeredSlides?this.minTranslate()-this.slidesSizesGrid[this.activeIndex+1]-("auto"!==a.slidesPerView&&this.slides.length-a.slidesPerView>=2?this.slidesSizesGrid[this.activeIndex+1]+this.params.spaceBetween:0)-this.params.spaceBetween:this.minTranslate())&&this.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>this.minTranslate()&&(w=!1,a.resistance&&(i.currentTranslate=this.minTranslate()-1+(-this.minTranslate()+i.startTranslate+g)**E))):g<0&&(b&&x&&!r&&i.allowThresholdMove&&i.currentTranslate<(a.centeredSlides?this.maxTranslate()+this.slidesSizesGrid[this.slidesSizesGrid.length-1]+this.params.spaceBetween+("auto"!==a.slidesPerView&&this.slides.length-a.slidesPerView>=2?this.slidesSizesGrid[this.slidesSizesGrid.length-1]+this.params.spaceBetween:0):this.maxTranslate())&&this.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:this.slides.length-("auto"===a.slidesPerView?this.slidesPerViewDynamic():Math.ceil(parseFloat(a.slidesPerView,10)))}),i.currentTranslate<this.maxTranslate()&&(w=!1,a.resistance&&(i.currentTranslate=this.maxTranslate()+1-(this.maxTranslate()-i.startTranslate-g)**E))),w&&(d.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),this.allowSlidePrev||this.allowSlideNext||(i.currentTranslate=i.startTranslate),a.threshold>0){if(Math.abs(g)>a.threshold||i.allowThresholdMove){if(!i.allowThresholdMove){i.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,i.currentTranslate=i.startTranslate,o.diff=this.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY;return}}else{i.currentTranslate=i.startTranslate;return}}a.followFinger&&!a.cssMode&&((a.freeMode&&a.freeMode.enabled&&this.freeMode||a.watchSlidesProgress)&&(this.updateActiveIndex(),this.updateSlidesClasses()),a.freeMode&&a.freeMode.enabled&&this.freeMode&&this.freeMode.onTouchMove(),this.updateProgress(i.currentTranslate),this.setTranslate(i.currentTranslate))}function w(e){let t,r;let n=this;if(n.destroyed)return;let i=n.touchEventsData,a=e;if(a.originalEvent&&(a=a.originalEvent),"touchend"===a.type||"touchcancel"===a.type){if(!(t=[...a.changedTouches].find(e=>e.identifier===i.touchId))||t.identifier!==i.touchId)return}else{if(null!==i.touchId||a.pointerId!==i.pointerId)return;t=a}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(a.type)&&!(["pointercancel","contextmenu"].includes(a.type)&&(n.browser.isSafari||n.browser.isWebView)))return;i.pointerId=null,i.touchId=null;let{params:o,touches:s,rtlTranslate:u,slidesGrid:c,enabled:d}=n;if(!d||!o.simulateTouch&&"mouse"===a.pointerType)return;if(i.allowTouchCallbacks&&n.emit("touchEnd",a),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&o.grabCursor&&n.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}o.grabCursor&&i.isMoved&&i.isTouched&&(!0===n.allowSlideNext||!0===n.allowSlidePrev)&&n.setGrabCursor(!1);let p=(0,l.h)(),f=p-i.touchStartTime;if(n.allowClick){let e=a.path||a.composedPath&&a.composedPath();n.updateClickedSlide(e&&e[0]||a.target,e),n.emit("tap click",a),f<300&&p-i.lastClickTime<300&&n.emit("doubleTap doubleClick",a)}if(i.lastClickTime=(0,l.h)(),(0,l.n)(()=>{n.destroyed||(n.allowClick=!0)}),!i.isTouched||!i.isMoved||!n.swipeDirection||0===s.diff&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,r=o.followFinger?u?n.translate:-n.translate:-i.currentTranslate,o.cssMode)return;if(o.freeMode&&o.freeMode.enabled){n.freeMode.onTouchEnd({currentPos:r});return}let h=r>=-n.maxTranslate()&&!n.params.loop,m=0,g=n.slidesSizesGrid[0];for(let e=0;e<c.length;e+=e<o.slidesPerGroupSkip?1:o.slidesPerGroup){let t=e<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;void 0!==c[e+t]?(h||r>=c[e]&&r<c[e+t])&&(m=e,g=c[e+t]-c[e]):(h||r>=c[e])&&(m=e,g=c[c.length-1]-c[c.length-2])}let v=null,y=null;o.rewind&&(n.isBeginning?y=o.virtual&&o.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1:n.isEnd&&(v=0));let b=(r-c[m])/g,x=m<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;if(f>
25o.longSwipesMs){if(!o.longSwipes){n.slideTo(n.activeIndex);return}"next"===n.swipeDirection&&(b>=o.longSwipesRatio?n.slideTo(o.rewind&&n.isEnd?v:m+x):n.slideTo(m)),"prev"===n.swipeDirection&&(b>1-o.longSwipesRatio?n.slideTo(m+x):null!==y&&b<0&&Math.abs(b)>o.longSwipesRatio?n.slideTo(y):n.slideTo(m))}else{if(!o.shortSwipes){n.slideTo(n.activeIndex);return}n.navigation&&(a.target===n.navigation.nextEl||a.target===n.navigation.prevEl)?a.target===n.navigation.nextEl?n.slideTo(m+x):n.slideTo(m):("next"===n.swipeDirection&&n.slideTo(null!==v?v:m+x),"prev"===n.swipeDirection&&n.slideTo(null!==y?y:m))}}function E(){let e=this,{params:t,el:r}=e;if(r&&0===r.offsetWidth)return;t.breakpoints&&e.setBreakpoint();let{allowSlideNext:n,allowSlidePrev:i,snapGrid:a}=e,o=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();let s=o&&t.loop;if("auto"!==t.slidesPerView&&!(t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||s)e.params.loop&&!o?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0);else{let t=o?e.virtual.slides:e.slides;e.slideTo(t.length-1,0,!1,!0)}e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=i,e.allowSlideNext=n,e.params.watchOverflow&&a!==e.snapGrid&&e.checkOverflow()}function S(e){!this.destroyed&&this.enabled&&!this.allowClick&&(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function T(){if(this.destroyed)return;let{wrapperEl:e,rtlTranslate:t,enabled:r}=this;if(!r)return;this.previousTranslate=this.translate,this.isHorizontal()?this.translate=-e.scrollLeft:this.translate=-e.scrollTop,0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses();let n=this.maxTranslate()-this.minTranslate();(0===n?0:(this.translate-this.minTranslate())/n)!==this.progress&&this.updateProgress(t?-this.translate:this.translate),this.emit("setTranslate",this.translate,!1)}function _(e){this.destroyed||(h(this,e.target),!this.params.cssMode&&("auto"===this.params.slidesPerView||this.params.autoHeight)&&this.update())}function k(){this.destroyed||this.documentTouchHandlerProceeded||(this.documentTouchHandlerProceeded=!0,this.params.touchReleaseOnEdges&&(this.el.style.touchAction="auto"))}let C=(e,t)=>{let r=(0,s.g)(),{params:n,el:i,wrapperEl:a,device:o}=e,l=!!n.nested,u="on"===t?"addEventListener":"removeEventListener";i&&"string"!=typeof i&&(r[u]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:l}),i[u]("touchstart",e.onTouchStart,{passive:!1}),i[u]("pointerdown",e.onTouchStart,{passive:!1}),r[u]("touchmove",e.onTouchMove,{passive:!1,capture:l}),r[u]("pointermove",e.onTouchMove,{passive:!1,capture:l}),r[u]("touchend",e.onTouchEnd,{passive:!0}),r[u]("pointerup",e.onTouchEnd,{passive:!0}),r[u]("pointercancel",e.onTouchEnd,{passive:!0}),r[u]("touchcancel",e.onTouchEnd,{passive:!0}),r[u]("pointerout",e.onTouchEnd,{passive:!0}),r[u]("pointerleave",e.onTouchEnd,{passive:!0}),r[u]("contextmenu",e.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&i[u]("click",e.onClick,!0),n.cssMode&&a[u]("scroll",e.onScroll),n.updateOnWindowResize?e[t](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",E,!0):e[t]("observerUpdate",E,!0),i[u]("load",e.onLoad,{capture:!0}))},O=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var A={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",
25spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,snapToSlideEdge:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};let I={eventsEmitter:{on(e,t,r){let n=this;if(!n.eventsListeners||n.destroyed||"function"!=typeof t)return n;let i=r?"unshift":"push";return e.split(" ").forEach(e=>{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][i](t)}),n},once(e,t,r){let n=this;if(!n.eventsListeners||n.destroyed||"function"!=typeof t)return n;function i(...r){n.off(e,i),i.__emitterProxy&&delete i.__emitterProxy,t.apply(n,r)}return i.__emitterProxy=t,n.on(e,i,r)},onAny(e,t){return!this.eventsListeners||this.destroyed||"function"!=typeof e||0>this.eventsAnyListeners.indexOf(e)&&this.eventsAnyListeners[t?"unshift":"push"](e),this},offAny(e){if(!this.eventsListeners||this.destroyed||!this.eventsAnyListeners)return this;let t=this.eventsAnyListeners.indexOf(e);return t>=0&&this.eventsAnyListeners.splice(t,1),this},off(e,t){let r=this;return r.eventsListeners&&!r.destroyed&&r.eventsListeners&&e.split(" ").forEach(e=>{void 0===t?r.eventsListeners[e]=[]:r.eventsListeners[e]&&r.eventsListeners[e].forEach((n,i)=>{(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&r.eventsListeners[e].splice(i,1)})}),r},emit(...e){let t,r,n;let i=this;return i.eventsListeners&&!i.destroyed&&i.eventsListeners&&("string"==typeof e[0]||Array.isArray(e[0])?(t=e[0],r=e.slice(1,e.length),n=i):(t=e[0].events,r=e[0].data,n=e[0].context||i),r.unshift(n),(Array.isArray(t)?t:t.split(" ")).forEach(e=>{i.eventsAnyListeners&&i.eventsAnyListeners.length&&i.eventsAnyListeners.forEach(t=>{t.apply(n,[e,...r])}),i.eventsListeners&&i.eventsListeners[e]&&i.eventsListeners[e].forEach(e=>{e.apply(n,r)})})),i}},update:{updateSize:function(){let e,t;let r=this.el;e=void 0!==this.params.width&&null!==this.params.width?this.params.width:r.clientWidth,t=void 0!==this.params.height&&null!==this.params.height?this.params.height:r.clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt((0,l.q)(r,"padding-left")||0,10)-parseInt((0,l.q)(r,"padding-right")||0,10),t=t-parseInt((0,l.q)(r,"padding-top")||0,10)-parseInt((0,l.q)(r,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){let e;let t=this;function r(e,r){return parseFloat(e.getPropertyValue(t.getDirectionLabel(r))||0)}let n=t.params,{wrapperEl:i,slidesEl:a,rtlTranslate:o,wrongRTL:s}=t,u=t.virtual&&n.virtual.enabled,c=u?t.virtual.slides.length:t.slides.length,d=(0,l.e)(a,`.${t.params.slideClass}, swiper-slide`),p=u?t.virtual.slides.length:d.length,f=[],h=[],m=[],g=n.slidesOffsetBefore;"function"==typeof g&&(g=n.slidesOffsetBefore.call(t));let v=n.slidesOffsetAfter;"function"==typeof v&&(v=n.slidesOffsetAfter.call(t));let y=t.snapGrid.length,b=t.slidesGrid.length,x=t.size-g-v,w=n.spaceBetween,E=-g,S=0,T=0;if(void 0===x)return;"string"==typeof w&&w.indexOf("%")>=0?w=parseFloat(w.replace("%",""))/100*x:"string"==typeof w&&(w=parseFloat(w)),t.virtualSize=-w-g-v,d.forEach(e
25=>{o?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),n.centeredSlides&&n.cssMode&&((0,l.b)(i,"--swiper-centered-offset-before",""),(0,l.b)(i,"--swiper-centered-offset-after","")),n.cssMode&&((0,l.b)(i,"--swiper-slides-offset-before",`${g}px`),(0,l.b)(i,"--swiper-slides-offset-after",`${v}px`));let _=n.grid&&n.grid.rows>1&&t.grid;_?t.grid.initSlides(d):t.grid&&t.grid.unsetSlides();let k="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter(e=>void 0!==n.breakpoints[e].slidesPerView).length>0;for(let i=0;i<p;i+=1){e=0;let a=d[i];if(!a||(_&&t.grid.updateSlide(i,a,d),"none"!==(0,l.q)(a,"display"))){if(u&&"auto"===n.slidesPerView)n.virtual.slidesPerViewAutoSlideSize&&(e=n.virtual.slidesPerViewAutoSlideSize),e&&a&&(n.roundLengths&&(e=Math.floor(e)),a.style[t.getDirectionLabel("width")]=`${e}px`);else if("auto"===n.slidesPerView){k&&(a.style[t.getDirectionLabel("width")]="");let i=getComputedStyle(a),o=a.style.transform,s=a.style.webkitTransform;if(o&&(a.style.transform="none"),s&&(a.style.webkitTransform="none"),n.roundLengths)e=t.isHorizontal()?(0,l.i)(a,"width",!0):(0,l.i)(a,"height",!0);else{let t=r(i,"width"),n=r(i,"padding-left"),o=r(i,"padding-right"),s=r(i,"margin-left"),l=r(i,"margin-right"),u=i.getPropertyValue("box-sizing");if(u&&"border-box"===u)e=t+s+l;else{let{clientWidth:r,offsetWidth:i}=a;e=t+n+o+s+l+(i-r)}}o&&(a.style.transform=o),s&&(a.style.webkitTransform=s),n.roundLengths&&(e=Math.floor(e))}else e=(x-(n.slidesPerView-1)*w)/n.slidesPerView,n.roundLengths&&(e=Math.floor(e)),a&&(a.style[t.getDirectionLabel("width")]=`${e}px`);a&&(a.swiperSlideSize=e),m.push(e),n.centeredSlides?(E=E+e/2+S/2+w,0===S&&0!==i&&(E=E-x/2-w),0===i&&(E=E-x/2-w),.001>Math.abs(E)&&(E=0),n.roundLengths&&(E=Math.floor(E)),T%n.slidesPerGroup==0&&f.push(E),h.push(E)):(n.roundLengths&&(E=Math.floor(E)),(T-Math.min(t.params.slidesPerGroupSkip,T))%t.params.slidesPerGroup==0&&f.push(E),h.push(E),E=E+e+w),t.virtualSize+=e+w,S=e,T+=1}}if(t.virtualSize=Math.max(t.virtualSize,x)+v,o&&s&&("slide"===n.effect||"coverflow"===n.effect)&&(i.style.width=`${t.virtualSize+w}px`),n.setWrapperSize&&(i.style[t.getDirectionLabel("width")]=`${t.virtualSize+w}px`),_&&t.grid.updateWrapperSize(e,f),!n.centeredSlides){let e="auto"!==n.slidesPerView&&n.slidesPerView%1!=0,r=n.snapToSlideEdge&&!n.loop&&("auto"===n.slidesPerView||e),i=f.length;if(r){let e;if("auto"===n.slidesPerView){e=1;let t=0;for(let r=m.length-1;r>=0;r-=1)if((t+=m[r]+(r<m.length-1?w:0))<=x)e=m.length-r;else break}else e=Math.floor(n.slidesPerView);i=Math.max(p-e,0)}let a=[];for(let e=0;e<f.length;e+=1){let o=f[e];n.roundLengths&&(o=Math.floor(o)),r?e<=i&&a.push(o):f[e]<=t.virtualSize-x&&a.push(o)}f=a,Math.floor(t.virtualSize-x)-Math.floor(f[f.length-1])>1&&!r&&f.push(t.virtualSize-x)}if(u&&n.loop){let e=m[0]+w;if(n.slidesPerGroup>1){let r=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/n.slidesPerGroup),i=e*n.slidesPerGroup;for(let e=0;e<r;e+=1)f.push(f[f.length-1]+i)}for(let r=0;r<t.virtual.slidesBefore+t.virtual.slidesAfter;r+=1)1===n.slidesPerGroup&&f.push(f[f.length-1]+e),h.push(h[h.length-1]+e),t.virtualSize+=e}if(0===f.length&&(f=[0]),0!==w){let e=t.isHorizontal()&&o?"marginLeft":t.getDirectionLabel("marginRight");d.filter((e,t)=>!n.cssMode||!!n.loop||t!==d.length-1).forEach(t=>{t.style[e]=`${w}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;m.forEach(t=>{e+=t+(w||0)});let t=(e-=w)>x?e-x:0;f=f.map(e=>e<=0?-g:e>t?t+v:e)}if(n.centerInsufficientSlides){let e=0;if(m.forEach(t=>{e+=t+(w||0)}),(e-=w)<x){let t=(x-e)/2;f.forEach((e,r)=>{f[r]=e-t}),h.forEach((e,r)=>{h[r]=e+t})}}if(Object.assign(t,{slides:d,snapGrid:f,slidesGrid:h,slidesSizesGrid:m}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){(0,l.b)(i,"--swiper-centered-offset-before",`${-f[0]}px`),(0,l.b)(i,"--swiper-centered-offset-after",`${t.size/2-m[m.length-1]/2}px`);let e=-t.snapGrid[0],r=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(t=>t+e),t.slidesGrid=t.slidesGrid.map(e=>e+r)}if(p!==c&&t.emit("slidesLengthChange"),f.length!==y&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),h.length!==b&&t.emit("slidesGridLengthChange"),n.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!u&&!n.cssMode&&("slide"===n.effect||"fade"===n.effect)){let e=`${n.containerModifierClass}backface-hidden`,r=t.el.classList.contains(e);p<=n.maxBackfaceHiddenSlides?r||t.el.classList.add(e):r&&t.el.classList.remove(e)}},updateAutoHeight:function(e){let t;let r=this,n=[],i=r.virtual&&r.params.virtual.enabled,a=0;"number"==typeof e?r.setTransition(e):!0===e&&r.setTransition(r.params.speed);let o=e=>i?r.slides[r.getSlideIndexByData(e)]:r.slides[e];if("auto"!==r.params.slidesPerView&&r.params.slidesPerView>
251){if(r.params.centeredSlides)(r.visibleSlides||[]).forEach(e=>{n.push(e)});else for(t=0;t<Math.ceil(r.params.slidesPerView);t+=1){let e=r.activeIndex+t;if(e>r.slides.length&&!i)break;n.push(o(e))}}else n.push(o(r.activeIndex));for(t=0;t<n.length;t+=1)if(void 0!==n[t]){let e=n[t].offsetHeight;a=e>a?e:a}(a||0===a)&&(r.wrapperEl.style.height=`${a}px`)},updateSlidesOffset:function(){let e=this.slides,t=this.isElement?this.isHorizontal()?this.wrapperEl.offsetLeft:this.wrapperEl.offsetTop:0;for(let r=0;r<e.length;r+=1)e[r].swiperSlideOffset=(this.isHorizontal()?e[r].offsetLeft:e[r].offsetTop)-t-this.cssOverflowAdjustment()},updateSlidesProgress:function(e=this&&this.translate||0){let t=this.params,{slides:r,rtlTranslate:n,snapGrid:i}=this;if(0===r.length)return;void 0===r[0].swiperSlideOffset&&this.updateSlidesOffset();let a=-e;n&&(a=e),this.visibleSlidesIndexes=[],this.visibleSlides=[];let o=t.spaceBetween;"string"==typeof o&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*this.size:"string"==typeof o&&(o=parseFloat(o));for(let e=0;e<r.length;e+=1){let s=r[e],l=s.swiperSlideOffset;t.cssMode&&t.centeredSlides&&(l-=r[0].swiperSlideOffset);let u=(a+(t.centeredSlides?this.minTranslate():0)-l)/(s.swiperSlideSize+o),c=(a-i[0]+(t.centeredSlides?this.minTranslate():0)-l)/(s.swiperSlideSize+o),d=-(a-l),f=d+this.slidesSizesGrid[e],h=d>=0&&d<=this.size-this.slidesSizesGrid[e],m=d>=0&&d<this.size-1||f>1&&f<=this.size||d<=0&&f>=this.size;m&&(this.visibleSlides.push(s),this.visibleSlidesIndexes.push(e)),p(s,m,t.slideVisibleClass),p(s,h,t.slideFullyVisibleClass),s.progress=n?-u:u,s.originalProgress=n?-c:c}},updateProgress:function(e){if(void 0===e){let t=this.rtlTranslate?-1:1;e=this&&this.translate&&this.translate*t||0}let t=this.params,r=this.maxTranslate()-this.minTranslate(),{progress:n,isBeginning:i,isEnd:a,progressLoop:o}=this,s=i,l=a;if(0===r)n=0,i=!0,a=!0;else{n=(e-this.minTranslate())/r;let t=1>Math.abs(e-this.minTranslate()),o=1>Math.abs(e-this.maxTranslate());i=t||n<=0,a=o||n>=1,t&&(n=0),o&&(n=1)}if(t.loop){let t=this.getSlideIndexByData(0),r=this.getSlideIndexByData(this.slides.length-1),n=this.slidesGrid[t],i=this.slidesGrid[r],a=this.slidesGrid[this.slidesGrid.length-1],s=Math.abs(e);(o=s>=n?(s-n)/a:(s+a-i)/a)>1&&(o-=1)}Object.assign(this,{progress:n,progressLoop:o,isBeginning:i,isEnd:a}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&this.updateSlidesProgress(e),i&&
25!s&&this.emit("reachBeginning toEdge"),a&&!l&&this.emit("reachEnd toEdge"),(s&&!i||l&&!a)&&this.emit("fromEdge"),this.emit("progress",n)},updateSlidesClasses:function(){let e,t,r;let{slides:n,params:i,slidesEl:a,activeIndex:o}=this,s=this.virtual&&i.virtual.enabled,u=this.grid&&i.grid&&i.grid.rows>1,c=e=>(0,l.e)(a,`.${i.slideClass}${e}, swiper-slide${e}`)[0];if(s){if(i.loop){let t=o-this.virtual.slidesBefore;t<0&&(t=this.virtual.slides.length+t),t>=this.virtual.slides.length&&(t-=this.virtual.slides.length),e=c(`[data-swiper-slide-index="${t}"]`)}else e=c(`[data-swiper-slide-index="${o}"]`)}else u?(e=n.find(e=>e.column===o),r=n.find(e=>e.column===o+1),t=n.find(e=>e.column===o-1)):e=n[o];e&&!u&&(r=(0,l.r)(e,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!r&&(r=n[0]),t=(0,l.t)(e,`.${i.slideClass}, swiper-slide`)[0],i.loop),n.forEach(n=>{f(n,n===e,i.slideActiveClass),f(n,n===r,i.slideNextClass),f(n,n===t,i.slidePrevClass)}),this.emitSlidesClasses()},updateActiveIndex:function(e){let t,r;let n=this,i=n.rtlTranslate?n.translate:-n.translate,{snapGrid:a,params:o,activeIndex:s,realIndex:l,snapIndex:u}=n,c=e,d=e=>{let t=e-n.virtual.slidesBefore;return t<0&&(t=n.virtual.slides.length+t),t>=n.virtual.slides.length&&(t-=n.virtual.slides.length),t};if(void 0===c&&(c=function(e){let t;let{slidesGrid:r,params:n}=e,i=e.rtlTranslate?e.translate:-e.translate;for(let e=0;e<r.length;e+=1)void 0!==r[e+1]?i>=r[e]&&i<r[e+1]-(r[e+1]-r[e])/2?t=e:i>=r[e]&&i<r[e+1]&&(t=e+1):i>=r[e]&&(t=e);return n.normalizeSlideIndex&&(t<0||void 0===t)&&(t=0),t}(n)),a.indexOf(i)>=0)t=a.indexOf(i);else{let e=Math.min(o.slidesPerGroupSkip,c);t=e+Math.floor((c-e)/o.slidesPerGroup)}if(t>=a.length&&(t=a.length-1),c===s&&!n.params.loop){t!==u&&(n.snapIndex=t,n.emit("snapIndexChange"));return}if(c===s&&n.params.loop&&n.virtual&&n.params.virtual.enabled){n.realIndex=d(c);return}let p=n.grid&&o.grid&&o.grid.rows>1;if(n.virtual&&o.virtual.enabled)r=o.loop?d(c):c;else if(p){let e=n.slides.find(e=>e.column===c),t=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(t)&&(t=Math.max(n.slides.indexOf(e),0)),r=Math.floor(t/o.grid.rows)}else if(n.slides[c]){let e=n.slides[c].getAttribute("data-swiper-slide-index");r=e?parseInt(e,10):c}else r=c;Object.assign(n,{previousSnapIndex:u,snapIndex:t,previousRealIndex:l,realIndex:r,previousIndex:s,activeIndex:c}),n.initialized&&g(n),n.emit("activeIndexChange"),n.emit("snapIndexChange"),(n.initialized||n.params.runCallbacksOnInit)&&(l!==r&&n.emit("realIndexChange"),n.emit("slideChange"))},updateClickedSlide:function(e,t){let r;let n=this.params,i=e.closest(`.${n.slideClass}, swiper-slide`);!i&&this.isElement&&t&&t.length>
251&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!i&&e.matches&&e.matches(`.${n.slideClass}, swiper-slide`)&&(i=e)});let a=!1;if(i){for(let e=0;e<this.slides.length;e+=1)if(this.slides[e]===i){a=!0,r=e;break}}if(i&&a)this.clickedSlide=i,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(i.getAttribute("data-swiper-slide-index"),10):this.clickedIndex=r;else{this.clickedSlide=void 0,this.clickedIndex=void 0;return}n.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}},translate:{getTranslate:function(e=this.isHorizontal()?"x":"y"){let{params:t,rtlTranslate:r,translate:n,wrapperEl:i}=this;if(t.virtualTranslate)return r?-n:n;if(t.cssMode)return n;let a=(0,l.l)(i,e);return a+=this.cssOverflowAdjustment(),r&&(a=-a),a||0},setTranslate:function(e,t){let{rtlTranslate:r,params:n,wrapperEl:i,progress:a}=this,o=0,s=0;this.isHorizontal()?o=r?-e:e:s=e,n.roundLengths&&(o=Math.floor(o),s=Math.floor(s)),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?o:s,n.cssMode?i[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-o:-s:n.virtualTranslate||(this.isHorizontal()?o-=this.cssOverflowAdjustment():s-=this.cssOverflowAdjustment(),i.style.transform=`translate3d(${o}px, ${s}px, 0px)`);let l=this.maxTranslate()-this.minTranslate();(0===l?0:(e-this.minTranslate())/l)!==a&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e=0,t=this.params.speed,r=!0,n=!0,i){let a;let o=this,{params:s,wrapperEl:u}=o;if(o.animating&&s.preventInteractionOnTransition)return!1;let c=o.minTranslate(),d=o.maxTranslate();if(a=n&&e>c?c:n&&e<d?d:e,o.updateProgress(a),s.cssMode){let e=o.isHorizontal();if(0===t)u[e?"scrollLeft":"scrollTop"]=-a;else{if(!o.support.smoothScroll)return(0,l.u)({swiper:o,targetPosition:-a,side:e?"left":"top"}),!0;u.scrollTo({[e?"left":"top"]:-a,behavior:"smooth"})}return!0}return 0===t?(o.setTransition(0),o.setTranslate(a),r&&(o.emit("beforeTransitionStart",t,i),o.emit("transitionEnd"))):(o.setTransition(t),o.setTranslate(a),r&&(o.emit("beforeTransitionStart",t,i),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,o.animating=!1,r&&o.emit("transitionEnd"))}),o.wrapperEl.addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){this.params.cssMode||(this.wrapperEl.style.transitionDuration=`${e}ms`,this.wrapperEl.style.transitionDelay=0===e?"0ms":""),this.emit("setTransition",e,t)},transitionStart:function(e=!0,t){let{params:r}=this;r.cssMode||(r.autoHeight&&this.updateAutoHeight(),v({swiper:this,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e=!0,t){let{params:r}=this;this.animating=!1,r.cssMode||(this.setTransition(0),v({swiper:this,runCallbacks:e,direction:t,step:"End"}))}},slide:{slideTo:function(e=0,t,r=!0,n,i){let a;"string"==typeof e&&(e=parseInt(e,10));let o=this,s=e;s<0&&(s=0);let{params:u,snapGrid:c,slidesGrid:p,previousIndex:f,activeIndex:h,rtlTranslate:m,wrapperEl:g,enabled:v}=o;if(!v&&!n&&!i||o.destroyed||o.animating&&u.preventInteractionOnTransition)return!1;void 0===t&&(t=o.params.speed);let y=Math.min(o.params.slidesPerGroupSkip,s),b=y+Math.floor((s-y)/o.params.slidesPerGroup);b>=c.length&&(b=c.length-1);let x=-c[b];if(u.normalizeSlideIndex)for(let e=0;e<p.length;e+=1){let t=-Math.floor(100*x),r=Math.floor(100*p[e]),n=Math.floor(100*p[e+1]);void 0!==p[e+1]?t>=r&&t<n-(n-r)/2?s=e:t>=r&&t<n&&(s=e+1):t>=r&&(s=e)}if(o.initialized&&s!==h&&(!o.allowSlideNext&&(m?x>o.translate&&x>o.minTranslate():x<o.translate&&x<o.minTranslate())||!o.allowSlidePrev&&x>o.translate&&x>o.maxTranslate()&&(h||0)!==s))return!1;s!==(f||0)&&r&&o.emit("beforeSlideChangeStart"),o.updateProgress(x),a=s>h?"next":s<h?"prev":"reset";let w=o.virtual&&o.params.virtual.enabled;if(!(w&&i)&&(m&&-x===o.translate||!m&&x===o.translate))return o.updateActiveIndex(s),u.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),"slide"!==u.effect&&o.setTranslate(x),"reset"!==a&&(o.transitionStart(r,a),o.transitionEnd(r,a)),!1;if(u.cssMode){let e=o.isHorizontal(),r=m?x:-x;if(0===t)w&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),w&&!o._cssModeVirtualInitialSet&&o.params.initialSlide>0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{g[e?"scrollLeft":"scrollTop"]=r})):g[e?"scrollLeft":"scrollTop"]=r,w&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1});else{if(!o.support.smoothScroll)return(0,l.u)({swiper:o,targetPosition:r,side:e?"left"
25:"top"}),!0;g.scrollTo({[e?"left":"top"]:r,behavior:"smooth"})}return!0}let E=d().isSafari;return w&&!i&&E&&o.isElement&&o.virtual.update(!1,!1,s),o.setTransition(t),o.setTranslate(x),o.updateActiveIndex(s),o.updateSlidesClasses(),o.emit("beforeTransitionStart",t,n),o.transitionStart(r,a),0===t?o.transitionEnd(r,a):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(r,a))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e=0,t,r=!0,n){"string"==typeof e&&(e=parseInt(e,10));let i=this;if(i.destroyed)return;void 0===t&&(t=i.params.speed);let a=i.grid&&i.params.grid&&i.params.grid.rows>1,o=e;if(i.params.loop){if(i.virtual&&i.params.virtual.enabled)o+=i.virtual.slidesBefore;else{let e;if(a){let t=o*i.params.grid.rows;e=i.slides.find(e=>1*e.getAttribute("data-swiper-slide-index")===t).column}else e=i.getSlideIndexByData(o);let t=a?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:r,slidesOffsetBefore:s,slidesOffsetAfter:l}=i.params,u=r||!!s||!!l,c=i.params.slidesPerView;"auto"===c?c=i.slidesPerViewDynamic():(c=Math.ceil(parseFloat(i.params.slidesPerView,10)),u&&c%2==0&&(c+=1));let d=t-e<c;if(u&&(d=d||e<Math.ceil(c/2)),n&&u&&"auto"!==i.params.slidesPerView&&!a&&(d=!1),d){let r=u?e<i.activeIndex?"prev":"next":e-i.activeIndex-1<i.params.slidesPerView?"next":"prev";i.loopFix({direction:r,slideTo:!0,activeSlideIndex:"next"===r?e+1:e-t+1,slideRealIndex:"next"===r?i.realIndex:void 0})}if(a){let e=o*i.params.grid.rows;o=i.slides.find(t=>1*t.getAttribute("data-swiper-slide-index")===e).column}else o=i.getSlideIndexByData(o)}}return requestAnimationFrame(()=>{i.slideTo(o,t,r,n)}),i},slideNext:function(e,t=!0,r){let n=this,{enabled:i,params:a,animating:o}=n;if(!i||n.destroyed)return n;void 0===e&&(e=n.params.speed);let s=a.slidesPerGroup;"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(s=Math.max(n.slidesPerViewDynamic("current",!0),1));let l=n.activeIndex<a.slidesPerGroupSkip?1:s,u=n.virtual&&a.virtual.enabled;if(a.loop){if(o&&!u&&a.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&a.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+l,e,t,r)}),!0}return a.rewind&&n.isEnd?n.slideTo(0,e,t,r):n.slideTo(n.activeIndex+l,e,t,r)},slidePrev:function(e,t=!0,r){let n=this,{params:i,snapGrid:a,slidesGrid:o,rtlTranslate:s,enabled:l,animating:u}=n;if(!l||n.destroyed)return n;void 0===e&&(e=n.params.speed);let c=n.virtual&&i.virtual.enabled;if(i.loop){if(u&&!c&&i.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}let p=d(s?n.translate:-n.translate),f=a.map(e=>d(e)),h=i.freeMode&&i.freeMode.enabled,m=a[f.indexOf(p)-1];if(void 0===m&&(i.cssMode||h)){let e;a.forEach((t,r)=>{p>=t&&(e=r)}),void 0!==e&&(m=h?a[e]:a[e>0?e-1:e])}let g=0;if(void 0!==m&&((g=o.indexOf(m))<0&&(g=n.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(g=Math.max(g=g-n.slidesPerViewDynamic("previous",!0)+1,0))),i.rewind&&n.isBeginning){let i=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(i,e,t,r)}return i.loop&&0===n.activeIndex&&i.cssMode?(requestAnimationFrame(()=>{n.slideTo(g,e,t,r)}),!0):n.slideTo(g,e,t,r)},slideReset:function(e,t=!0,r){if(!this.destroyed)return void 0===e&&(e=this.params.speed),this.slideTo(this.activeIndex,e,t,r)},slideToClosest:function(e,t=!0,r,n=.5){if(this.destroyed)return;void 0===e&&(e=this.params.speed);let i=this.activeIndex,a=Math.min(this.params.slidesPerGroupSkip,i),o=a+Math.floor((i-a)/this.params.slidesPerGroup),s=this.rtlTranslate?this.translate:-this.translate;if(s>=this.snapGrid[o]){let e=this.snapGrid[o];s-e>(this.snapGrid[o+1]-e)*n&&(i+=this.params.slidesPerGroup)}else{let e=this.snapGrid[o-1];s-e<=(this.snapGrid[o]-e)*n&&(i-=this.params.slidesPerGroup)}return i=Math.min(i=Math.max(i,0),this.slidesGrid.length-1),this.slideTo(i,e,t,r)},slideToClickedSlide:function(){let e;let t=this;if(t.destroyed)return;let{params:r,slidesEl:n}=t,i="auto"===r.slidesPerView?t.slidesPerViewDynamic():r.slidesPerView,a=t.getSlideIndexWhenGrid(t.clickedIndex),o=t.isElement?"swiper-slide":`.${r.slideClass}`,s=t.grid&&t.params.grid&&t.params.grid.rows>1;if(r.loop){if(t.animating)return;e=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),r.centeredSlides?t.slideToLoop(e):a>(s?(t.slides.length-i)/2-(t.params.grid.rows-1):t.slides.length-i)?(t.loopFix(),a=t.getSlideIndex((0,l.e)(n,`${o}[data-swiper-slide-index="${e}"]`)[0]),(0,l.n)(()=>{t.slideTo(a)})):t.slideTo(a)}else t.slideTo(a)}},loop:{loopCreate:function(e,t){let r=this,{params:n,slidesEl:i}=r;if(!n.loop||r.virtual&&r.params.virtual.enabled)return;let a=r.grid&&n.grid&&n.grid.rows>1;n.loopAddBlankSlides&&(n.slidesPerGroup>1||a)&&(()=>{let e=(0,l.e)(i,`.${n.slideBlankClass}`);
25e.forEach(e=>{e.remove()}),e.length>0&&(r.recalcSlides(),r.updateSlides())})();let o=n.slidesPerGroup*(a?n.grid.rows:1),s=r.slides.length%o!=0,u=a&&r.slides.length%n.grid.rows!=0,c=e=>{for(let t=0;t<e;t+=1){let e=r.isElement?(0,l.c)("swiper-slide",[n.slideBlankClass]):(0,l.c)("div",[n.slideClass,n.slideBlankClass]);r.slidesEl.append(e)}};s?n.loopAddBlankSlides?(c(o-r.slides.length%o),r.recalcSlides(),r.updateSlides()):(0,l.v)("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"):u&&(n.loopAddBlankSlides?(c(n.grid.rows-r.slides.length%n.grid.rows),r.recalcSlides(),r.updateSlides()):(0,l.v)("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)")),(0,l.e)(i,`.${n.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)});let d=n.centeredSlides||!!n.slidesOffsetBefore||!!n.slidesOffsetAfter;r.loopFix({slideRealIndex:e,direction:d?void 0:"next",initial:t})},loopFix:function({slideRealIndex:e,slideTo:t=!0,direction:r,setTranslate:n,activeSlideIndex:i,initial:a,byController:o,byMousewheel:s}={}){let u=this;if(!u.params.loop)return;u.emit("beforeLoopFix");let{slides:c,allowSlidePrev:d,allowSlideNext:p,slidesEl:f,params:h}=u,{centeredSlides:m,slidesOffsetBefore:g,slidesOffsetAfter:v,initialSlide:y}=h,b=m||!!g||!!v;if(u.allowSlidePrev=!0,u.allowSlideNext=!0,u.virtual&&h.virtual.enabled){t&&(b||0!==u.snapIndex?b&&u.snapIndex<h.slidesPerView?u.slideTo(u.virtual.slides.length+u.snapIndex,0,!1,!0):u.snapIndex===u.snapGrid.length-1&&u.slideTo(u.virtual.slidesBefore,0,!1,!0):u.slideTo(u.virtual.slides.length,0,!1,!0)),u.allowSlidePrev=d,u.allowSlideNext=p,u.emit("loopFix");return}let x=h.slidesPerView;"auto"===x?x=u.slidesPerViewDynamic():(x=Math.ceil(parseFloat(h.slidesPerView,10)),b&&x%2==0&&(x+=1));let w=h.slidesPerGroupAuto?x:h.slidesPerGroup,E=b?Math.max(w,Math.ceil(x/2)):w;E%w!=0&&(E+=w-E%w),E+=h.loopAdditionalSlides,u.loopedSlides=E;let S=u.grid&&h.grid&&h.grid.rows>1;c.length<x+E||"cards"===u.params.effect&&c.length<x+2*E?(0,l.v)("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):S&&"row"===h.grid.fill&&(0,l.v)("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");let T=[],_=[],k=S?Math.ceil(c.length/h.grid.rows):c.length,C=a&&k-y<x&&!b,O=C?y:u.activeIndex;void 0===i?i=u.getSlideIndex(c.find(e=>e.classList.contains(h.slideActiveClass))):O=i;let A="next"===r||!r,I="prev"===r||!r,P=0,M=0,R=(S?c[i].column:i)+(b&&void 0===n?-x/2+.5:0);if(R<E){P=Math.max(E-R,w);for(let e=0;e<E-R;e+=1){let t=e-Math.floor(e/k)*k;if(S){let e=k-t-1;for(let t=c.length-1;t>=0;t-=1)c[t].column===e&&T.push(t)}else T.push(k-t-1)}}else if(R+x>k-E){M=Math.max(R-(k-2*E),w),C&&(M=Math.max(M,x-k+y+1));for(let e=0;e<M;e+=1){let t=e-Math.floor(e/k)*k;S?c.forEach((e,r)=>{e.column===t&&_.push(r)}):_.push(t)}}if(u.__preventObserver__=!0,requestAnimationFrame(()=>{u.__preventObserver__=!1}),"cards"===u.params.effect&&c.length<x+2*E&&(_.includes(i)&&_.splice(_.indexOf(i),1),T.includes(i)&&T.splice(T.indexOf(i),1)),I&&T.forEach(e=>{c[e].swiperLoopMoveDOM=!0,f.prepend(c[e]),c[e].swiperLoopMoveDOM=!1}),A&&_.forEach(e=>{c[e].swiperLoopMoveDOM=!0,f.append(c[e]),c[e].swiperLoopMoveDOM=!1}),u.recalcSlides(),"auto"===h.slidesPerView?u.updateSlides():S&&(T.length>0&&I||_.length>0&&A)&&u.slides.forEach((e,t)=>{u.grid.updateSlide(t,e,u.slides)}),h.watchSlidesProgress&&u.updateSlidesOffset(),t){if(T.length>0&&I){if(void 0===e){let e=u.slidesGrid[O],t=u.slidesGrid[O+P]-e;s?u.setTranslate(u.translate-t):(u.slideTo(O+Math.ceil(P),0,!1,!0),n&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-t,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-t))}else if(n){let e=S?T.length/h.grid.rows:T.length;u.slideTo(u.activeIndex+e,0,!1,!0),u.touchEventsData.currentTranslate=u.translate}}else if(_.length>0&&A){if(void 0===e){let e=u.slidesGrid[O],t=u.slidesGrid[O-M]-e;s?u.setTranslate(u.translate-t):(u.slideTo(O-M,0,!1,!0),n&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-t,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-t))}else{let e=S?_.length/h.grid.rows:_.length;u.slideTo(u.activeIndex-e,0,!1,!0)}}}if(u.allowSlidePrev=d,u.allowSlideNext=p,u.controller&&u.controller.control&&!o){let a={slideRealIndex:e,direction:r,setTranslate:n,activeSlideIndex:i,byController:!0};Array.isArray(u.controller.control)?u.controller.control.forEach(e
25=>{!e.destroyed&&e.params.loop&&e.loopFix({...a,slideTo:e.params.slidesPerView===h.slidesPerView&&t})}):u.controller.control instanceof u.constructor&&u.controller.control.params.loop&&u.controller.control.loopFix({...a,slideTo:u.controller.control.params.slidesPerView===h.slidesPerView&&t})}u.emit("loopFix")},loopDestroy:function(){let{params:e,slidesEl:t}=this;if(!e.loop||!t||this.virtual&&this.params.virtual.enabled)return;this.recalcSlides();let r=[];this.slides.forEach(e=>{r[void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex]=e}),this.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),r.forEach(e=>{t.append(e)}),this.recalcSlides(),this.slideTo(this.realIndex,0)}},grabCursor:{setGrabCursor:function(e){let t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;let r="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),r.style.cursor="move",r.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})},unsetGrabCursor:function(){let e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){let{params:e}=this;this.onTouchStart=b.bind(this),this.onTouchMove=x.bind(this),this.onTouchEnd=w.bind(this),this.onDocumentTouchStart=k.bind(this),e.cssMode&&(this.onScroll=T.bind(this)),this.onClick=S.bind(this),this.onLoad=_.bind(this),C(this,"on")},detachEvents:function(){C(this,"off")}},breakpoints:{setBreakpoint:function(){let e=this,{realIndex:t,initialized:r,params:n,el:i}=e,a=n.breakpoints;if(!a||a&&0===Object.keys(a).length)return;let o=(0,s.g)(),u="window"!==n.breakpointsBase&&n.breakpointsBase?"container":n.breakpointsBase,c=["window","container"].includes(n.breakpointsBase)||!n.breakpointsBase?e.el:o.querySelector(n.breakpointsBase),d=e.getBreakpoint(a,u,c);if(!d||e.currentBreakpoint===d)return;let p=(d in a?a[d]:void 0)||e.originalParams,f=O(e,n),h=O(e,p),m=e.params.grabCursor,g=p.grabCursor,v=n.enabled;f&&!h?(i.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),e.emitContainerClasses()):!f&&h&&(i.classList.add(`${n.containerModifierClass}grid`),(p.grid.fill&&"column"===p.grid.fill||!p.grid.fill&&"column"===n.grid.fill)&&i.classList.add(`${n.containerModifierClass}grid-column`),e.emitContainerClasses()),m&&!g?e.unsetGrabCursor():!m&&g&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(t=>{if(void 0===p[t])return;let r=n[t]&&n[t].enabled,i=p[t]&&p[t].enabled;r&&!i&&e[t].disable(),!r&&i&&e[t].enable()});let y=p.direction&&p.direction!==n.direction,b=n.loop&&(p.slidesPerView!==n.slidesPerView||y),x=n.loop;y&&r&&e.changeDirection(),(0,l.x)(e.params,p);let w=e.params.enabled,E=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),v&&!w?e.disable():!v&&w&&e.enable(),e.currentBreakpoint=d,e.emit("_beforeBreakpoint",p),r&&(b?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!x&&E?(e.loopCreate(t),e.updateSlides()):x&&!E&&e.loopDestroy()),e.emit("breakpoint",p)},getBreakpoint:function(e,t="window",r){if(!e||"container"===t&&!r)return;let n=!1,i=(0,s.a)(),a="window"===t?i.innerHeight:r.clientHeight,o=Object.keys(e).map(e=>"string"==typeof e&&0===e.indexOf("@")?{value:a*parseFloat(e.substr(1)),point:e}:{value:e,point:e});o.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<o.length;e+=1){let{point:a,value:s}=o[e];"window"===t?i.matchMedia(`(min-width: ${s}px)`).matches&&(n=a):s<=r.clientWidth&&(n=a)}return n||"max"}},checkOverflow:{checkOverflow:function(){let{isLocked:e,params:t}=this,{slidesOffsetBefore:r}=t;if(r){let e=this.slides.length-1,t=this.slidesGrid[e]+this.slidesSizesGrid[e]+2*r;this.isLocked=this.size>t}else this.isLocked=1===this.snapGrid.length;!0===t.allowSlideNext&&(this.allowSlideNext=!this.isLocked),!0===t.allowSlidePrev&&(this.allowSlidePrev=!this.isLocked),e&&e!==this.isLocked&&(this.isEnd=!1),e!==this.isLocked&&this.emit
25(this.isLocked?"lock":"unlock")}},classes:{addClasses:function(){let{classNames:e,params:t,rtl:r,el:n,device:i}=this,a=function(e,t){let r=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(n=>{e[n]&&r.push(t+n)}):"string"==typeof e&&r.push(t+e)}),r}(["initialized",t.direction,{"free-mode":this.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:r},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&"column"===t.grid.fill},{android:i.android},{ios:i.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...a),n.classList.add(...e),this.emitContainerClasses()},removeClasses:function(){let{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}}},P={};class M{constructor(...e){let t,r;1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?r=e[0]:[t,r]=e,r||(r={}),r=(0,l.x)({},r),t&&!r.el&&(r.el=t);let n=(0,s.g)();if(r.el&&"string"==typeof r.el&&n.querySelectorAll(r.el).length>1){let e=[];return n.querySelectorAll(r.el).forEach(t=>{let n=(0,l.x)({},r,{el:t});e.push(new M(n))}),e}let i=this;i.__swiper__=!0,i.support=u(),i.device=c({userAgent:r.userAgent}),i.browser=d(),i.eventsListeners={},i.eventsAnyListeners=[],i.modules=[...i.__modules__],r.modules&&Array.isArray(r.modules)&&r.modules.forEach(e=>{"function"==typeof e&&0>i.modules.indexOf(e)&&i.modules.push(e)});let a={};i.modules.forEach(e=>{var t;e({params:r,swiper:i,extendParams:(t=r,function(e={}){let r=Object.keys(e)[0],n=e[r];if("object"!=typeof n||null===n||(!0===t[r]&&(t[r]={enabled:!0}),"navigation"===r&&t[r]&&t[r].enabled&&!t[r].prevEl&&!t[r].nextEl&&(t[r].auto=!0),["pagination","scrollbar"].indexOf(r)>=0&&t[r]&&t[r].enabled&&!t[r].el&&(t[r].auto=!0),!(r in t&&"enabled"in n))){(0,l.x)(a,e);return}"object"!=typeof t[r]||"enabled"in t[r]||(t[r].enabled=!0),t[r]||(t[r]={enabled:!1}),(0,l.x)(a,e)}),on:i.on.bind(i),once:i.once.bind(i),off:i.off.bind(i),emit:i.emit.bind(i)})});let o=(0,l.x)({},A,a);return i.params=(0,l.x)({},o,P,r),i.originalParams=(0,l.x)({},i.params),i.passedParams=(0,l.x)({}
25,r),i.params&&i.params.on&&Object.keys(i.params.on).forEach(e=>{i.on(e,i.params.on[e])}),i.params&&i.params.onAny&&i.onAny(i.params.onAny),Object.assign(i,{enabled:i.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===i.params.direction,isVertical:()=>"vertical"===i.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return 8388608*Math.trunc(this.translate/8388608)},allowSlideNext:i.params.allowSlideNext,allowSlidePrev:i.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:i.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:i.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),i.emit("_swiper"),i.params.init&&i.init(),i}getDirectionLabel(e){return this.isHorizontal()?e:({width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"})[e]}getSlideIndex(e){let{slidesEl:t,params:r}=this,n=(0,l.e)(t,`.${r.slideClass}, swiper-slide`),i=(0,l.j)(n[0]);return(0,l.j)(e)-i}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(t=>1*t.getAttribute("data-swiper-slide-index")===e))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&("column"===this.params.grid.fill?e=Math.floor(e/this.params.grid.rows):"row"===this.params.grid.fill&&(e%=Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){let{slidesEl:e,params:t}=this;this.slides=(0,l.e)(e,`.${t.slideClass}, swiper-slide`)}enable(){this.enabled||(this.enabled=!0,this.params.grabCursor&&this.setGrabCursor(),this.emit("enable"))}disable(){this.enabled&&(this.enabled=!1,this.params.grabCursor&&this.unsetGrabCursor(),this.emit("disable"))}setProgress(e,t){e=Math.min(Math.max(e,0),1);let r=this.minTranslate(),n=(this.maxTranslate()-r)*e+r;this.translateTo(n,void 0===t?0:t),this.updateActiveIndex(),this.updateSlidesClasses()}emitContainerClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){let t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=[];e.slides.forEach(r=>{let n=e.getSlideClasses(r);t.push({slideEl:r,classNames:n}),e.emit("_slideClass",r,n)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){let{params:r,slides:n,slidesGrid:i,slidesSizesGrid:a,size:o,activeIndex:s}=this,l=1;if("number"==typeof r.slidesPerView)return r.slidesPerView;if(r.centeredSlides){let e,t=n[s]?Math.ceil(n[s].swiperSlideSize):0;for(let r=s+1;r<n.length;r+=1)n[r]&&!e&&(t+=Math.ceil(n[r].swiperSlideSize),l+=1,t>o&&(e=!0));for(let r=s-1;r>=0;r-=1)n[r]&&!e&&(t+=n[r].swiperSlideSize,l+=1,t>o&&(e=!0))}else if("current"===e)for(let e=s+1;e<n.length;e+=1)(t?i[e]+a[e]-i[s]<o:i[e]-i[s]<o)&&(l+=1);else for(let e=s-1;e>=0;e-=1)i[s]-i[e]<o&&(l+=1);return l}update(){let e;let t=this;if(!t||t.destroyed)return;let{snapGrid:r,params:n}=t;function i(){let e=Math.min(Math.max(t.rtlTranslate?-1*t.translate:t.translate,t.maxTranslate()),t.minTranslate());t.setTranslate(e),t.updateActiveIndex(),t.updateSlidesClasses()}if(n.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(e=>{e.complete&&h(t,e)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),n.freeMode&&n.freeMode.enabled&&!n.cssMode)i(),n.autoHeight&&t.updateAutoHeight();else{if(("auto"===n.slidesPerView||n.slidesPerView>1)&&t.isEnd&&!n.centeredSlides){let r=t.virtual&&n.virtual.enabled?t.virtual.slides:t.slides;
25e=t.slideTo(r.length-1,0,!1,!0)}else e=t.slideTo(t.activeIndex,0,!1,!0);e||i()}n.watchOverflow&&r!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(e,t=!0){let r=this.params.direction;return e||(e="horizontal"===r?"vertical":"horizontal"),e===r||"horizontal"!==e&&"vertical"!==e||(this.el.classList.remove(`${this.params.containerModifierClass}${r}`),this.el.classList.add(`${this.params.containerModifierClass}${e}`),this.emitContainerClasses(),this.params.direction=e,this.slides.forEach(t=>{"vertical"===e?t.style.width="":t.style.height=""}),this.emit("changeDirection"),t&&this.update()),this}changeLanguageDirection(e){(!this.rtl||"rtl"!==e)&&(this.rtl||"ltr"!==e)&&(this.rtl="rtl"===e,this.rtlTranslate="horizontal"===this.params.direction&&this.rtl,this.rtl?(this.el.classList.add(`${this.params.containerModifierClass}rtl`),this.el.dir="rtl"):(this.el.classList.remove(`${this.params.containerModifierClass}rtl`),this.el.dir="ltr"),this.update())}mount(e){let t=this;if(t.mounted)return!0;let r=e||t.params.el;if("string"==typeof r&&(r=document.querySelector(r)),!r)return!1;r.swiper=t,r.parentNode&&r.parentNode.host&&r.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);let n=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`,i=r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(n()):(0,l.e)(r,n())[0];return!i&&t.params.createElements&&(i=(0,l.c)("div",t.params.wrapperClass),r.append(i),(0,l.e)(r,`.${t.params.slideClass}`).forEach(e=>{i.append(e)})),Object.assign(t,{el:r,wrapperEl:i,slidesEl:t.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:i,hostEl:t.isElement?r.parentNode.host:r,mounted:!0,rtl:"rtl"===r.dir.toLowerCase()||"rtl"===(0,l.q)(r,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===r.dir.toLowerCase()||"rtl"===(0,l.q)(r,"direction")),wrongRTL:"-webkit-box"===(0,l.q)(i,"display")}),!0}init(e){let t=this;if(t.initialized||!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();let r=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&r.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),r.forEach(e=>{e.complete?h(t,e):e.addEventListener("load",e=>{h(t,e.target)})}),g(t),t.initialized=!0,g(t),t.emit("init"),t.emit("afterInit"),t}destroy(e=!0,t=!0){let r=this,{params:n,el:i,wrapperEl:a,slides:o}=r;return void 0===r.params||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),n.loop&&r.loopDestroy(),t&&(r.removeClasses(),i&&"string"!=typeof i&&i.removeAttribute("style"),a&&a.removeAttribute("style"),o&&o.length&&o.forEach(e=>{e.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),r.emit("destroy"),Object.keys(r.eventsListeners).forEach(e=>{r.off(e)}),!1!==e&&(r.el&&"string"!=typeof r.el&&(r.el.swiper=null),(0,l.y)(r)),r.destroyed=!0),null}static extendDefaults(e){(0,l.x)(P,e)}static get extendedDefaults(){return P}static get defaults(){return A}static installModule(e){M.prototype.__modules__||(M.prototype.__modules__=[]);let t=M.prototype.__modules__;"function"==typeof e&&0>t.indexOf(e)&&t.push(e)}static use(e){return Array.isArray(e)?e.forEach(e=>M.installModule(e)):M.installModule(e),M}}Object.keys(I).forEach(e=>{Object.keys(I[e]).forEach(t=>{M.prototype[t]=I[e][t]})}),M.use([function({swiper:e,on:t,emit:r}){let n=(0,s.a)(),i=null,a=null,o=()=>{e&&!e.destroyed&&e.initialized&&(r("beforeResize"),r("resize"))},l=()=>{e&&!e.destroyed&&e.initialized&&(i=new ResizeObserver(t=>{a=n.requestAnimationFrame(()=>{let{width:r,height:n}=e,i=r,a=n;t.forEach(({contentBoxSize:t,contentRect:r,target:n})=>{n&&n!==e.el||(i=r?r.width:(t[0]||t).inlineSize,a=r?r.height:(t[0]||t).blockSize)}),(i!==r||a!==n)&&o()})})).observe(e.el)},u=()=>{a&&n.cancelAnimationFrame(a),i&&i.unobserve&&e.el&&(i.unobserve(e.el),i=null)},c=()=>{e&&!e.destroyed&&e.initialized&&r("orientationchange")};t("init",()=>{if(e.params.resizeObserver&&void 0!==n.ResizeObserver){l();return}n.addEventListener("resize",o),n.addEventListener("orientationchange",c)}),t("destroy",()=>{u(),n.removeEventListener("resize",o),n.removeEventListener("orientationchange",c)})},function({swiper:e,extendParams:t,on:r,emit:n}){let i=[],a=(0,s.a)(),o=(t,r={})=>{let o=new(a.MutationObserver||a.WebkitMutationObserver)(t=>{if(e.__preventObserver__)return;if(1===t.length){n("observerUpdate",t[0]);return}let r=function(){n("observerUpdate",t[0])};a.requestAnimationFrame?a.requestAnimationFrame(r):a.setTimeout(r,0)});o.observe(t,{attributes:void 0===r.attributes||r.attributes,childList:e.isElement||(void 0===r.childList||r).childList,characterData:void 0===r.characterData||r.characterData}),i.push(o)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",()=>{if(e.params.observer){if(e.params.observeParents){let t=(0,l.d)(e.hostEl);for(let e=0;e<t.length;e+=1)o(t[e])}o(e.hostEl,{childList:e.params.observeSlideChildren}),o(e.wrapperEl,{attributes:!1})}}),r("destroy",()=>
25{i.forEach(e=>{e.disconnect()}),i.splice(0,i.length)})}]);let R=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_snapToSlideEdge","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function L(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)&&!e.__swiper__}function j(e,t){let r=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>0>r.indexOf(e)).forEach(r=>{void 0===e[r]?e[r]=t[r]:L(t[r])&&L(e[r])&&Object.keys(t[r]).length>0?t[r].__swiper__?e[r]=t[r]:j(e[r],t[r]):e[r]=t[r]})}function N(e={}){return e.navigation&&void 0===e.navigation.nextEl&&void 0===e.navigation.prevEl}function D(e={}){return e.pagination&&void 0===e.pagination.el}function B(e={}){return e.scrollbar&&void 0===e.scrollbar.el}function F(e=""){let t=e.split(" ").map(e=>e.trim()).filter(e=>!!e),r=[];return t.forEach(e=>{0>r.indexOf(e)&&r.push(e)}),r.join(" ")}let z=e=>{e&&!e.destroyed&&e.params.virtual&&(!e.params.virtual||e.params.virtual.enabled)&&(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.emit("_virtualUpdated"),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())};function H(){return(H=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function V(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function $(e,t){return"undefined"==typeof window?(0,o.useEffect)(e,t):(0,o.useLayoutEffect)(e,t)}let Z=(0,o.createContext)(null),U=(0,o.createContext)(null),G=()=>(0,o.useContext)(U),W=(0,o.forwardRef)(({className:e,tag:t="div",wrapperTag:r="div",children:n,onSwiper:i,...a}={},s)=>{let u=!1,[c,d]=(0,o.useState)("swiper"),[p,f]=(0,o.useState)(null),[h,m]=(0,o.useState)(!1),g=(0,o.useRef)(!1),v=(0,o.useRef)(null),y=(0,o.useRef)(null),b=(0,o.useRef)(null),x=(0,o.useRef)(null),w=(0,o.useRef)(null),E=(0,o.useRef)(null),S=(0,o.useRef)(null),T=(0,o.useRef)(null),{params:_,passedParams:k,rest:C,events:O}=function(e={},t=!0){let r={on:{}},n={},i={};j(r,A),r._emitClasses=!0,r.init=!1;let a={},o=R.map(e=>e.replace(/_/,""));return Object.keys(Object.assign({}
25,e)).forEach(s=>{void 0!==e[s]&&(o.indexOf(s)>=0?L(e[s])?(r[s]={},i[s]={},j(r[s],e[s]),j(i[s],e[s])):(r[s]=e[s],i[s]=e[s]):0===s.search(/on[A-Z]/)&&"function"==typeof e[s]?t?n[`${s[2].toLowerCase()}${s.substr(3)}`]=e[s]:r.on[`${s[2].toLowerCase()}${s.substr(3)}`]=e[s]:a[s]=e[s])}),["navigation","pagination","scrollbar"].forEach(e=>{!0===r[e]&&(r[e]={}),!1===r[e]&&delete r[e]}),{params:r,passedParams:i,rest:a,events:n}}(a),{slides:I,slots:P}=function(e){let t=[],r={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return o.Children.toArray(e).forEach(e=>{if(V(e))t.push(e);else if(e.props&&e.props.slot&&r[e.props.slot])r[e.props.slot].push(e);else if(e.props&&e.props.children){let n=function e(t){let r=[];return o.Children.toArray(t).forEach(t=>{V(t)?r.push(t):t.props&&t.props.children&&e(t.props.children).forEach(e=>r.push(e))}),r}(e.props.children);n.length>0?n.forEach(e=>t.push(e)):r["container-end"].push(e)}else r["container-end"].push(e)}),{slides:t,slots:r}}(n),Z=()=>{m(!h)};Object.assign(_.on,{_containerClasses(e,t){d(t)}});let G=()=>{Object.assign(_.on,O),u=!0;let e={..._};if(delete e.wrapperClass,y.current=new M(e),y.current.virtual&&y.current.params.virtual.enabled){y.current.virtual.slides=I;let e={cache:!1,slides:I,renderExternal:f,renderExternalUpdate:!1};j(y.current.params.virtual,e),j(y.current.originalParams.virtual,e)}};v.current||G(),y.current&&y.current.on("_beforeBreakpoint",Z);let W=()=>{!u&&O&&y.current&&Object.keys(O).forEach(e=>{y.current.on(e,O[e])})},q=()=>{O&&y.current&&Object.keys(O).forEach(e=>{y.current.off(e,O[e])})};return(0,o.useEffect)(()=>()=>{y.current&&y.current.off("_beforeBreakpoint",Z)}),(0,o.useEffect)(()=>{!g.current&&y.current&&(y.current.emitSlidesClasses(),g.current=!0)}),$(()=>{if(s&&(s.current=v.current),v.current)return y.current.destroyed&&G(),function({el:e,nextEl:t,prevEl:r,paginationEl:n,scrollbarEl:i,swiper:a},o){N(o)&&t&&r&&(a.params.navigation.nextEl=t,a.originalParams.navigation.nextEl=t,a.params.navigation.prevEl=r,a.originalParams.navigation.prevEl=r),D(o)&&n&&(a.params.pagination.el=n,a.originalParams.pagination.el=n),B(o)&&i&&(a.params.scrollbar.el=i,a.originalParams.scrollbar.el=i),a.init(e)}({el:v.current,nextEl:w.current,prevEl:E.current,paginationEl:S.current,scrollbarEl:T.current,swiper:y.current},_),i&&!y.current.destroyed&&i(y.current),()=>{y.current&&!y.current.destroyed&&y.current.destroy(!0,!1)}},[]),$(()=>{W();let e=function(e,t,r,n,i){let a=[];if(!t)return a;let o=e=>{0>a.indexOf(e)&&a.push(e)};if(r&&n){let e=n.map(i),t=r.map(i);e.join("")!==t.join("")&&o("children"),n.length!==r.length&&o("children")}return R.filter(e=>"_"===e[0]).map(e=>e.replace(/_/,"")).forEach(r=>{if(r in e&&r in t){if(L(e[r])&&L(t[r])){let n=Object.keys(e[r]),i=Object.keys(t[r]);n.length!==i.length?o(r):(n.forEach(n=>{e[r][n]!==t[r][n]&&o(r)}),i.forEach(n=>{e[r][n]!==t[r][n]&&o(r)}))}else e[r]!==t[r]&&o(r)}}),a}(k,b.current,I,x.current,e=>e.key);return b.current=k,x.current=I,e.length&&y.current&&!y.current.destroyed&&function({swiper:e,slides:t,passedParams:r,changedParams:n,nextEl:i,prevEl:a,scrollbarEl:o,paginationEl:s}){let u,c,d,p,f,h,m,g;let v=n.filter(e=>"children"!==e&&"direction"!==e&&"wrapperClass"!==e),{params:y,pagination:b,navigation:x,scrollbar:w,virtual:E,thumbs:S}=e;n.includes("thumbs")&&r.thumbs&&r.thumbs.swiper&&!r.thumbs.swiper.destroyed&&y.thumbs&&(!y.thumbs.swiper||y.thumbs.swiper.destroyed)&&(u=!0),n.includes("controller")&&r.controller&&r.controller.control&&y.controller&&!y.controller.control&&(c=!0),n.includes("pagination")&&r.pagination&&(r.pagination.el||s)&&(y.pagination||!1===y.pagination)&&b&&!b.el&&(d=!0),n.includes("scrollbar")&&r.scrollbar&&(r.scrollbar.el||o)&&(y.scrollbar||!1===y.scrollbar)&&w&&!w.el&&(p=!0),n.includes("navigation")&&r.navigation&&(r.navigation.prevEl||a)&&(r.navigation.nextEl||i)&&(y.navigation||!1===y.navigation)&&x&&!x.prevEl&&!x.nextEl&&(f=!0);let T=t=>{e[t]&&(e[t].destroy(),"navigation"===t?(e.isElement&&(e[t].prevEl.remove(),e[t].nextEl.remove()),y[t].prevEl=void 0,y[t].nextEl=void 0,e[t].prevEl=void 0,e[t].nextEl=void 0):(e.isElement&&e[t].el.remove(),y[t].el=void 0,e[t].el=void 0))};n.includes("loop")&&e.isElement&&(y.loop&&!r.loop?h=!0:!y.loop&&r.loop?m=!0:g=!0),v.forEach(e
25=>{if(L(y[e])&&L(r[e]))Object.assign(y[e],r[e]),("navigation"===e||"pagination"===e||"scrollbar"===e)&&"enabled"in r[e]&&!r[e].enabled&&T(e);else{let t=r[e];(!0===t||!1===t)&&("navigation"===e||"pagination"===e||"scrollbar"===e)?!1===t&&T(e):y[e]=r[e]}}),v.includes("controller")&&!c&&e.controller&&e.controller.control&&y.controller&&y.controller.control&&(e.controller.control=y.controller.control),n.includes("children")&&t&&E&&y.virtual.enabled?(E.slides=t,E.update(!0)):n.includes("virtual")&&E&&y.virtual.enabled&&(t&&(E.slides=t),E.update(!0)),n.includes("children")&&t&&y.loop&&(g=!0),u&&S.init()&&S.update(!0),c&&(e.controller.control=y.controller.control),d&&(e.isElement&&(!s||"string"==typeof s)&&((s=document.createElement("div")).classList.add("swiper-pagination"),s.part.add("pagination"),e.el.appendChild(s)),s&&(y.pagination.el=s),b.init(),b.render(),b.update()),p&&(e.isElement&&(!o||"string"==typeof o)&&((o=document.createElement("div")).classList.add("swiper-scrollbar"),o.part.add("scrollbar"),e.el.appendChild(o)),o&&(y.scrollbar.el=o),w.init(),w.updateSize(),w.setTranslate()),f&&(e.isElement&&(i&&"string"!=typeof i||((i=document.createElement("div")).classList.add("swiper-button-next"),(0,l.s)(i,e.navigation.arrowSvg),i.part.add("button-next"),e.el.appendChild(i)),a&&"string"!=typeof a||((a=document.createElement("div")).classList.add("swiper-button-prev"),(0,l.s)(a,e.navigation.arrowSvg),a.part.add("button-prev"),e.el.appendChild(a))),i&&(y.navigation.nextEl=i),a&&(y.navigation.prevEl=a),x.init(),x.update()),n.includes("allowSlideNext")&&(e.allowSlideNext=r.allowSlideNext),n.includes("allowSlidePrev")&&(e.allowSlidePrev=r.allowSlidePrev),n.includes("direction")&&e.changeDirection(r.direction,!1),(h||g)&&e.loopDestroy(),(m||g)&&e.loopCreate(),e.update()}({swiper:y.current,slides:I,passedParams:k,changedParams:e,nextEl:w.current,prevEl:E.current,scrollbarEl:T.current,paginationEl:S.current}),()=>{q()}}),$(()=>{z(y.current)},[p]),o.createElement(t,H({ref:v,className:F(`${c}${e?` ${e}`:""}`)},C),o.createElement(U.Provider,{value:y.current},P["container-start"],o.createElement(r,{className:function(e=""){return e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}(_.wrapperClass)},P["wrapper-start"],_.virtual?function(e,t,r){if(!r)return null;let n=e=>{let r=e;return e<0?r=t.length+e:r>=t.length&&(r-=t.length),r},i=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${r.offset}px`}:{top:`${r.offset}px`},{from:a,to:s}=r,l=e.params.loop?-t.length:0,u=e.params.loop?2*t.length:t.length,c=[];for(let e=l;e<u;e+=1)e>=a&&e<=s&&c.push(t[n(e)]);return c.map((t,r)=>o.cloneElement(t,{swiper:e,style:i,key:t.props.virtualIndex||t.key||`slide-${r}`}))}(y.current,I,p):I.map((e,t)=>o.cloneElement(e,{swiper:y.current,swiperSlideIndex:t})),P["wrapper-end"]),N(_)&&o.createElement(o.Fragment,null,o.createElement("div",{ref:E,className:"swiper-button-prev"}),o.createElement("div",{ref:w,className:"swiper-button-next"})),B(_)&&o.createElement("div",{ref:T,className:"swiper-scrollbar"}),D(_)&&o.createElement("div",{ref:S,className:"swiper-pagination"}),P["container-end"]))});W.displayName="Swiper";let q=(0,o.forwardRef)(({tag:e="div",children:t,className:r="",swiper:n,zoom:i,lazy:a,virtualIndex:s,swiperSlideIndex:l,...u}={},c)=>{let d=(0,o.useRef)(null),[p,f]=(0,o.useState)("swiper-slide"),[h,m]=(0,o.useState)(!1);function g(e,t,r){t===d.current&&f(r)}$(()=>{if(void 0!==l&&(d.current.swiperSlideIndex=l),c&&(c.current=d.current),d.current&&n){if(n.destroyed){"swiper-slide"!==p&&f("swiper-slide");return}return n.on("_slideClass",g),()=>{n&&n.off("_slideClass",g)}}}),$(()=>{n&&d.current&&!n.destroyed&&f(n.getSlideClasses(d.current))},[n]);let v={isActive:p.indexOf("swiper-slide-active")>=0,isVisible:p.indexOf("swiper-slide-visible")>=0,isFullyVisible:p.indexOf("swiper-slide-fully-visible")>=0,isPrev:p.indexOf("swiper-slide-prev")>=0,isNext:p.indexOf("swiper-slide-next")>=0},y=()=>"function"==typeof t?t(v):t;return o.createElement(e,H({ref:d,className:F(`${p}${r?` ${r}`:""}`),"data-swiper-slide-index":s,onLoad:()=>{m(!0)}},u),i&&o.createElement(Z.Provider,{value:v},o.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"==typeof i?i:void 0},y(),a&&!h&&o.createElement("div",{className:"swiper-lazy-preloader",ref:e=>{e&&(e.lazyPreloaderManaged=!0)}}))),!i&&o.createElement(Z.Provider,{value:v},y(),a&&!h&&o.createElement("div",{className:"swiper-lazy-preloader",ref:e=>{e&&(e.lazyPreloaderManaged=!0)}})))});q.displayName="SwiperSlide"},18543:function(e,t,r){"use strict";r.d(t,{m6:function(){return Y}});let n=e=>{let t=s(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{let r=e.split("-");return""===r[0]&&1!==r.length&&r.shift(),i(r,t)||o(e)},getConflictingClassGroupIds:(e,t)=>{let i=r[e]||[];return t&&n[e]?[...i,...n[e]]:i}}},i=(e,t)=>{if(0===e.length)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),a=n?i(e.slice(1),n):void 0;if(a)return a;
25if(0===t.validators.length)return;let o=e.join("-");return t.validators.find(({validator:e})=>e(o))?.classGroupId},a=/^\[(.+)\]$/,o=e=>{if(a.test(e)){let t=a.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},s=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return d(Object.entries(e.classGroups),r).forEach(([e,r])=>{l(r,n,e,t)}),n},l=(e,t,r,n)=>{e.forEach(e=>{if("string"==typeof e){(""===e?t:u(t,e)).classGroupId=r;return}if("function"==typeof e){if(c(e)){l(e(n),t,r,n);return}t.validators.push({validator:e,classGroupId:r});return}Object.entries(e).forEach(([e,i])=>{l(i,u(t,e),r,n)})})},u=(e,t)=>{let r=e;return t.split("-").forEach(e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)}),r},c=e=>e.isThemeGetter,d=(e,t)=>t?e.map(([e,r])=>[e,r.map(e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,r])=>[t+e,r])):e)]):e,p=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,r=new Map,n=new Map,i=(i,a)=>{r.set(i,a),++t>e&&(t=0,n=r,r=new Map)};return{get(e){let t=r.get(e);return void 0!==t?t:void 0!==(t=n.get(e))?(i(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):i(e,t)}}},f=e=>{let{separator:t,experimentalParseClassName:r}=e,n=1===t.length,i=t[0],a=t.length,o=e=>{let r;let o=[],s=0,l=0;for(let u=0;u<e.length;u++){let c=e[u];if(0===s){if(c===i&&(n||e.slice(u,u+a)===t)){o.push(e.slice(l,u)),l=u+a;continue}if("/"===c){r=u;continue}}"["===c?s++:"]"===c&&s--}let u=0===o.length?e:e.substring(l),c=u.startsWith("!"),d=c?u.substring(1):u;return{modifiers:o,hasImportantModifier:c,baseClassName:d,maybePostfixModifierPosition:r&&r>l?r-l:void 0}};return r?e=>r({className:e,parseClassName:o}):o},h=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(e=>{"["===e[0]?(t.push(...r.sort(),e),r=[]):r.push(e)}),t.push(...r.sort()),t},m=e=>({cache:p(e.cacheSize),parseClassName:f(e),...n(e)}),g=/\s+/,v=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:i}=t,a=[],o=e.trim().split(g),s="";for(let e=o.length-1;e>=0;e-=1){let t=o[e],{modifiers:l,hasImportantModifier:u,baseClassName:c,maybePostfixModifierPosition:d}=r(t),p=!!d,f=n(p?c.substring(0,d):c);if(!f){if(!p||!(f=n(c))){s=t+(s.length>0?" "+s:s);continue}p=!1}let m=h(l).join(":"),g=u?m+"!":m,v=g+f;if(a.includes(v))continue;a.push(v);let y=i(f,p);for(let e=0;e<y.length;++e){let t=y[e];a.push(g+t)}s=t+(s.length>0?" "+s:s)}return s};function y(){let e,t,r=0,n="";for(;r<arguments.length;)(e=arguments[r++])&&(t=b(e))&&(n&&(n+=" "),n+=t);return n}let b=e=>{let t;if("string"==typeof e)return e;let r="";for(let n=0;n<e.length;n++)e[n]&&(t=b(e[n]))&&(r&&(r+=" "),r+=t);return r},x=e=>{let t=t=>t[e]||[];return t.isThemeGetter=!0,t},w=/^\[(?:([a-z-]+):)?(.+)\]$/i,E=/^\d+\/\d+$/,S=new Set(["px","full","screen"]),T=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,_=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,k=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,C=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,O=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,A=e=>P(e)||S.has(e)||E.test(e),I=e=>Z(e,"length",U),P=e=>!!e&&!Number.isNaN(Number(e)),M=e=>Z(e,"number",P),R=e=>!!e&&Number.isInteger(Number(e)),L=e=>e.endsWith("%")&&P(e.slice(0,-1)),j=e=>w.test(e),N=e=>T.test(e),D=new Set(["length","size","percentage"]),B=e=>Z(e,D,G),F=e=>Z(e,"position",G),z=new Set(["image","url"]),H=e=>Z(e,z,q),V=e=>Z(e,"",W),$=()=>!0,Z=(e,t,r)=>{let n=w.exec(e);return!!n&&(n[1]?"string"==typeof t?n[1]===t:t.has(n[1]):r(n[2]))},U=e=>_.test(e)&&!k.test(e),G=()=>!1,W=e=>C.test(e),q=e=>O.test(e),Y=function(e,...t){let r,n,i;let a=function(s){return n=(r=m(t.reduce((e,t)=>t(e),e()))).cache.get,i=r.cache.set,a=o,o(s)};function o(e){let t=n(e);if(t)return t;let a=v(e,r);return i(e,a),a}return function(){return a(y.apply(null,arguments))}}(()=>{let e=x("colors"),t=x("spacing"),r=x("blur"),n=x("brightness"),i=x("borderColor"),a=x("borderRadius"),o=x("borderSpacing"),s=x("borderWidth"),l=x("contrast"),u=x("grayscale"),c=x("hueRotate"),d=x("invert"),p=x("gap"),f=x("gradientColorStops"),h=x("gradientColorStopPositions"),m=x("inset"),g=x("margin"),v=x("opacity"),y=x("padding"),b=x("saturate"),w=x("scale"),E=x("sepia"),S=x("skew"),T=x("space"),_=x("translate"),k=()=>["auto","contain","none"],C=()=>["auto","hidden","clip","visible","scroll"],O=()=>["auto",j,t],D=()=>[j,t],z=()=>["",A,I],Z=()=>["auto",P,j],U=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],G=()=>["solid","dashed","dotted","double","none"],W=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],q=()=>["start","end","center","between","around","evenly","stretch"],Y=()=>["","0",j],K=()=>["auto","avoid","all","avoid-page","page","left","right","column"],X=()=>[P,j];return{cacheSize:500,separator:":",theme:{colors:[$],spacing:[A,I],blur:["none","",
vendor: 11,505 bytes, line 25
25N,j],brightness:X(),borderColor:[e],borderRadius:["none","","full",N,j],borderSpacing:D(),borderWidth:z(),contrast:X(),grayscale:Y(),hueRotate:X(),invert:Y(),gap:D(),gradientColorStops:[e],gradientColorStopPositions:[L,I],inset:O(),margin:O(),opacity:X(),padding:D(),saturate:X(),scale:X(),sepia:Y(),skew:X(),space:D(),translate:D()},classGroups:{aspect:[{aspect:["auto","square","video",j]}],container:["container"],columns:[{columns:[N]}],"break-after":[{"break-after":K()}],"break-before":[{"break-before":K()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...U(),j]}],overflow:[{overflow:C()}],"overflow-x":[{"overflow-x":C()}],"overflow-y":[{"overflow-y":C()}],overscroll:[{overscroll:k()}],"overscroll-x":[{"overscroll-x":k()}],"overscroll-y":[{"overscroll-y":k()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",R,j]}],basis:[{basis:O()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",j]}],grow:[{grow:Y()}],shrink:[{shrink:Y()}],order:[{order:["first","last","none",R,j]}],"grid-cols":[{"grid-cols":[$]}],"col-start-end":[{col:["auto",{span:["full",R,j]},j]}],"col-start":[{"col-start":Z()}],"col-end":[{"col-end":Z()}],"grid-rows":[{"grid-rows":[$]}],"row-start-end":[{row:["auto",{span:[R,j]},j]}],"row-start":[{"row-start":Z()}],"row-end":[{"row-end":Z()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",j]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",j]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",j,t]}],"min-w":[{"min-w":[j,t,"min","max","fit"]}],"max-w":[{"max-w":[j,t,"none","full","min","max","fit","prose",{screen:[N]},N]}],h:[{h:[j,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[j,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[j,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[j,t,"auto","min","max","fit"]}],"font-size":[{text:["base",N,I]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",M]}],"font-family":[{font:[$]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",j]}],"line-clamp":[{"line-clamp":["none",P,M]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",A,j]}],"list-image":[{"list-image":["none",j]}],"list-style-type":[{list:["none","disc","decimal",j]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...G(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",A,I]}],"underline-offset":[{"underline-offset":["auto",A,j]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:D()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",j]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",j]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...U(),F]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",B]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},H]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...G(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:G()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...G()]}],"outline-offset":[{"outline-offset":[A,j]}],"outline-w":[{outline:[A,I]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[A,I]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",N,V]}],"shadow-color":[{shadow:[$]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...W(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":W()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",N,j]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[b]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",j]}],duration:[{duration:X()}],ease:[{ease:["linear","in","out","in-out",j]}],delay:[{delay:X()}],animate:[{animate:["none","spin","ping","pulse","bounce",j]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[R,j]}],"translate-x":[{"translate-x":[_]}],"translate-y":[{"translate-y":[_]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",j]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",j]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":D()}],"scroll-mx":[{"scroll-mx":D()}],"scroll-my":[{"scroll-my":D()}],"scroll-ms":[{"scroll-ms":D()}],"scroll-me":[{"scroll-me":D()}],"scroll-mt":[{"scroll-mt":D()}],"scroll-mr":[{"scroll-mr":D()}],"scroll-mb":[{"scroll-mb":D()}],"scroll-ml":[{"scroll-ml":D()}],"scroll-p":[{"scroll-p":D()}],"scroll-px":[{"scroll-px":D()}],"scroll-py":[{"scroll-py":D()}],"scroll-ps":[{"scroll-ps":D()}],"scroll-pe":[{"scroll-pe":D()}],"scroll-pt":[{"scroll-pt":D()}],"scroll-pr":[{"scroll-pr":D()}],"scroll-pb":[{"scroll-pb":D()}],"scroll-pl":[{"scroll-pl":D()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
25],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",j]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[A,I,M]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}})},74952:function(e,t,r){"use strict";r.d(t,{ZT:function(){return i},_T:function(){return o},ev:function(){return l},mG:function(){return s},pi:function(){return a}});var n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var a=function(){return(a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function o(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function s(e,t,r,n){return new(r||(r=Promise))(function(i,a){function o(e){try{l(n.next(e))}catch(e){a(e)}}function s(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(o,s)}l((n=n.apply(e,t||[])).next())})}function l(e,t,r){if(r||2==arguments.length)for(var n,i=0,a=t.length;i<a;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError},42422:function(e,t,r){"use strict";r.d(t,{LI:function(){return a},OR:function(){return o},Sf:function(){return s},iP:function(){return u}});var n=r(2265),i=r(23825),a="undefined"!=typeof window?n.useLayoutEffect:n.useEffect;function o(e,t,r,i){let o=(0,n.useRef)(t);a(()=>{o.current=t},[t]),(0,n.useEffect)(()=>{let t=(null==r?void 0:r.current)??window;if(!(t&&t.addEventListener))return;let n=e=>{o.current(e)};return t.addEventListener(e,n,i),()=>{t.removeEventListener(e,n,i)}},[e,r,i])}function s(e,t=500,r){let a=(0,n.useRef)();!function(e){let t=(0,n.useRef)(e);t.current=e,(0,n.useEffect)(()=>()=>{t.current()},[])}(()=>{a.current&&a.current.cancel()});let o=(0,n.useMemo)(()=>{let n=i(e,t,r),o=(...e)=>n(...e);return o.cancel=()=>{n.cancel()},o.isPending=()=>!!a.current,o.flush=()=>n.flush(),o},[e,t,r]);return(0,n.useEffect)(()=>{a.current=i(e,t,r)},[e,t,r]),o}var l="undefined"==typeof window;function u(e={}){let{initializeWithValue:t=!0}=e;l&&(t=!1);
25let[r,i]=(0,n.useState)(()=>t?{width:window.innerWidth,height:window.innerHeight}:{width:void 0,height:void 0}),u=s(i,e.debounceDelay);function c(){(e.debounceDelay?u:i)({width:window.innerWidth,height:window.innerHeight})}return o("resize",c),a(()=>{c()},[]),r}},22069:function(e,t,r){"use strict";r.d(t,{Qz:function(){return s}});var n=r(29),i=class extends Error{name;details;constructor(e,t){super(e,t),this.name="ZodValidationError",this.details=function(e){if(e){let t=e.cause;if(t instanceof Error&&"ZodError"===t.name&&"issues"in t&&Array.isArray(t.issues))return t.issues}return[]}(t)}toString(){return this.message}},a=/[$_\p{ID_Start}][$\u200c\u200d\p{ID_Continue}]*/u,o="Validation error";function s(e,t={}){return new i(("messageBuilder"in t?t.messageBuilder:function(e={}){let{issueSeparator:t="; ",unionSeparator:r=", or ",prefixSeparator:i=": ",prefix:s=o,includePath:l=!0,maxIssuesInMessage:u=99}=e;return e=>{var c;return c=e.slice(0,u).map(e=>(function e(t){let{issue:r,issueSeparator:i,unionSeparator:o,includePath:s}=t;if(r.code===n.NL.invalid_union)return r.unionErrors.reduce((t,r)=>{let n=r.issues.map(t=>e({issue:t,issueSeparator:i,unionSeparator:o,includePath:s})).join(i);return t.includes(n)||t.push(n),t},[]).join(o);if(r.code===n.NL.invalid_arguments)return[r.message,...r.argumentsError.issues.map(t=>e({issue:t,issueSeparator:i,unionSeparator:o,includePath:s}))].join(i);if(r.code===n.NL.invalid_return_type)return[r.message,...r.returnTypeError.issues.map(t=>e({issue:t,issueSeparator:i,unionSeparator:o,includePath:s}))].join(i);if(s&&0!==r.path.length){var l;if(1===r.path.length){let e=r.path[0];if("number"==typeof e)return`${r.message} at index ${e}`}return`${r.message} at "${1===(l=r.path).length?l[0].toString():l.reduce((e,t)=>{if("number"==typeof t)return e+"["+t.toString()+"]";if(t.includes('"'))return e+'["'+t.replace(/"/g,'\\"')+'"]';if(!a.test(t))return e+'["'+t+'"]';let r=0===e.length?"":".";return e+r+t},"")}"`}return r.message})({issue:e,issueSeparator:t,unionSeparator:r,includePath:l})).join(t),null!==s?c.length>0?[s,c].join(i):s:c.length>0?c:o}}(t))([e]),{cause:new n.jm([e])})}},29:function(e,t,r){"use strict";let n;r.d(t,{NL:function(){return o},jm:function(){return s},z:function(){return ts}}),(e9=tt||(tt={})).assertEqual=e=>e,e9.assertIs=function(e){},e9.assertNever=function(e){throw Error()},e9.arrayToEnum=e=>{let t={};for(let r of e)t[r]=r;return t},e9.getValidEnumValues=e=>{let t=e9.objectKeys(e).filter(t=>"number"!=typeof e[e[t]]),r={};for(let n of t)r[n]=e[n];return e9.objectValues(r)},e9.objectValues=e=>e9.objectKeys(e).map(function(t){return e[t]}),e9.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{let t=[];for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t},e9.find=(e,t)=>{for(let r of e)if(t(r))return r},e9.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e,e9.joinValues=function(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)},e9.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t,(tr||(tr={})).mergeShapes=(e,t)=>({...e,...t});let i=tt.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),a=e=>{switch(typeof e){case"undefined":return i.undefined;case"string":return i.string;case"number":return isNaN(e)?i.nan:i.number;case"boolean":return i.boolean;case"function":return i.function;case"bigint":return i.bigint;case"symbol":return i.symbol;case"object":if(Array.isArray(e))return i.array;if(null===e)return i.null;if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return i.promise;if("undefined"!=typeof Map&&e instanceof Map)return i.map;if("undefined"!=typeof Set&&e instanceof Set)return i.set;if("undefined"!=typeof Date&&e instanceof Date)return i.date;return i.object;default:return i.unknown}}
vendor: 5,774 bytes, line 25
25,o=tt.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class s extends Error{constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};let t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){let t=e||function(e){return e.message},r={_errors:[]},n=e=>{for(let i of e.issues)if("invalid_union"===i.code)i.unionErrors.map(n);else if("invalid_return_type"===i.code)n(i.returnTypeError);else if("invalid_arguments"===i.code)n(i.argumentsError);else if(0===i.path.length)r._errors.push(t(i));else{let e=r,n=0;for(;n<i.path.length;){let r=i.path[n];n===i.path.length-1?(e[r]=e[r]||{_errors:[]},e[r]._errors.push(t(i))):e[r]=e[r]||{_errors:[]},e=e[r],n++}}};return n(this),r}static assert(e){if(!(e instanceof s))throw Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,tt.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(e=e=>e.message){let t={},r=[];for(let n of this.issues)n.path.length>0?(t[n.path[0]]=t[n.path[0]]||[],t[n.path[0]].push(e(n))):r.push(e(n));return{formErrors:r,fieldErrors:t}}get formErrors(){return this.flatten()}}s.create=e=>new s(e);let l=(e,t)=>{let r;switch(e.code){case o.invalid_type:r=e.received===i.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case o.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(e.expected,tt.jsonStringifyReplacer)}`;break;case o.unrecognized_keys:r=`Unrecognized key(s) in object: ${tt.joinValues(e.keys,", ")}`;break;case o.invalid_union:r="Invalid input";break;case o.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${tt.joinValues(e.options)}`;break;case o.invalid_enum_value:r=`Invalid enum value. Expected ${tt.joinValues(e.options)}, received '${e.received}'`;break;case o.invalid_arguments:r="Invalid function arguments";break;case o.invalid_return_type:r="Invalid function return type";break;case o.invalid_date:r="Invalid date";break;case o.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(r=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(r=`${r} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?r=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?r=`Invalid input: must end with "${e.validation.endsWith}"`:tt.assertNever(e.validation):r="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case o.too_small:r="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case o.too_big:r="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case o.custom:r="Invalid input";break;case o.invalid_intersection_types:r="Intersection results could not be merged";break;case o.not_multiple_of:r=`Number must be a multiple of ${e.multipleOf}`;break;case o.not_finite:r="Number must be finite";break;default:r=t.defaultError,tt.assertNever(e)}return{message:r}},u=l;function c(){return u}let d=e=>{let{data:t,path:r,errorMaps:n,issueData:i}=e,a=[...r,...i.path||[]],o={...i,path:a};if(void 0!==i.message)return{...i,path:a,message:i.message};let s="";for(let e of n.filter(e=>!!e).slice().reverse())s=e(o,{data:t,defaultError:s}).message;return{...i,path:a,message:s}};function p(e,t){let r=c(),n=d({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,r,r===l?void 0:l].filter(e=>!!e)});e.common.issues.push(n)}class f{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){let r=[];for(let n of t){if("aborted"===n.status)return h;"dirty"===n.status&&e.dirty(),r.push(n.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,t){let r=[];for(let e of t){let t=await e.key,n=await e.value;r.push({key:t,value:n})}return f.mergeObjectSync(e,r)}static mergeObjectSync(e,t){let r={};for(let n of t){let{key:t,value:i}=n;if("aborted"===t.status||"aborted"===i.status)return h;"dirty"===t.status&&e.dirty(),"dirty"===i.status&&e.dirty(),"__proto__"!==t.value&&(void 0!==i.value||n.alwaysSet)&&(r[t.value]=i.value)}return{status:e.value,value:r}}}let h=Object.freeze({status:"aborted"}),m=e=>({status:"dirty",value:e}),g=e=>
25({status:"valid",value:e}),v=e=>"aborted"===e.status,y=e=>"dirty"===e.status,b=e=>"valid"===e.status,x=e=>"undefined"!=typeof Promise&&e instanceof Promise;function w(e,t,r,n){if("a"===r&&!n)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)}function E(e,t,r,n,i){if("m"===n)throw TypeError("Private method is not writable");if("a"===n&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?i.call(e,r):i?i.value=r:t.set(e,r),r}"function"==typeof SuppressedError&&SuppressedError,(e7=tn||(tn={})).errToObj=e=>"string"==typeof e?{message:e}:e||{},e7.toString=e=>"string"==typeof e?e:null==e?void 0:e.message;class S{constructor(e,t,r,n){this._cachedPath=[],this.parent=e,this.data=t,this._path=r,this._key=n}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}let T=(e,t)=>{if(b(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let t=new s(e.common.issues);return this._error=t,this._error}}};function _(e){if(!e)return{};let{errorMap:t,invalid_type_error:r,required_error:n,description:i}=e;if(t&&(r||n))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:i}:{errorMap:(t,i)=>{var a,o;let{message:s}=e;return"invalid_enum_value"===t.code?{message:null!=s?s:i.defaultError}:void 0===i.data?{message:null!==(a=null!=s?s:n)&&void 0!==a?a:i.defaultError}:"invalid_type"!==t.code?{message:i.defaultError}:{message:null!==(o=null!=s?s:r)&&void 0!==o?o:i.defaultError}},description:i}}class k{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return a(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:a(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new f,ctx:{common:e.parent.common,data:e.data,parsedType:a(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(x(t))throw Error("Synchronous parse encountered promise.");return t}_parseAsync(e){return Promise.resolve(this._parse(e))}parse(e,t){let r=this.safeParse(e,t);if(r.success)return r.data;throw r.error}safeParse(e,t){var r;let n={common:{issues:[],async:null!==(r=null==t?void 0:t.async)&&void 0!==r&&r,contextualErrorMap:null==t?void 0:t.errorMap},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:a(e)},i=this._parseSync({data:e,path:n.path,parent:n});return T(n,i)}async parseAsync(e,t){let r=await this.safeParseAsync(e,t);if(r.success)return r.data;throw r.error}async safeParseAsync(e,t){let r={common:{issues:[],contextualErrorMap:null==t?void 0:t.errorMap,async:!0},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:a(e)},n=this._parse({data:e,path:r.path,parent:r});return T(r,await (x(n)?n:Promise.resolve(n)))}refine(e,t){let r=e=>"string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(e):t;return this._refinement((t,n)=>{let i=e(t),a=()=>n.addIssue({code:o.custom,...r(t)});return"undefined"!=typeof Promise&&i instanceof Promise?i.then(e=>!!e||(a(),!1)):!!i||(a(),!1)})}refinement(e,t){return this._refinement((r,n)=>!!e(r)||(n.addIssue("function"==typeof t?t(r,n):t),!1))}_refinement(e){return new eg({schema:this,typeName:to.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return ev.create(this,this._def)}nullable(){return ey.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Q.create(this,this._def)}promise(){return em.create(this,this._def)}or(e){return et.create([this,e],this._def)}and(e){return ei.create(this,e,this._def)}transform(e){return new eg({..._(this._def),schema:this,typeName:to.ZodEffects,effect:{type:"transform",transform:e}})}default(e){return new eb({..._(this._def),innerType:this,defaultValue:"function"==typeof e?e:()=>e,typeName:to.ZodDefault})}brand(){return new eS({typeName:to.ZodBranded,type:this,..._(this._def)})}catch(e){return new ex({..._(this._def),innerType:this,catchValue:"function"==typeof e?e:()=>e,typeName:to.ZodCatch})}describe(e){return new this.constructor({...this._def,description:e})}pipe(e){return eT.create(this,e)}readonly(){return e_.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let C=/^c[^\s-]{8,}
25$/i,O=/^[0-9a-z]+$/,A=/^[0-9A-HJKMNP-TV-Z]{26}$/,I=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,P=/^[a-z0-9_-]{21}$/i,M=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,R=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,L=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,j=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,N=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,D="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",B=RegExp(`^${D}$`);function F(e){let t="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:null==e.precision&&(t=`${t}(\\.\\d+)?`),t}function z(e){let t=`${D}T${F(e)}`,r=[];return r.push(e.local?"Z?":"Z"),e.offset&&r.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${r.join("|")})`,RegExp(`^${t}$`)}class H extends k{_parse(e){var t,r;let a;if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==i.string){let t=this._getOrReturnCtx(e);return p(t,{code:o.invalid_type,expected:i.string,received:t.parsedType}),h}let s=new f;for(let i of this._def.checks)if("min"===i.kind)e.data.length<i.value&&(p(a=this._getOrReturnCtx(e,a),{code:o.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),s.dirty());else if("max"===i.kind)e.data.length>i.value&&(p(a=this._getOrReturnCtx(e,a),{code:o.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),s.dirty());else if("length"===i.kind){let t=e.data.length>i.value,r=e.data.length<i.value;(t||r)&&(a=this._getOrReturnCtx(e,a),t?p(a,{code:o.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):r&&p(a,{code:o.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),s.dirty())}else if("email"===i.kind)R.test(e.data)||(p(a=this._getOrReturnCtx(e,a),{validation:"email",code:o.invalid_string,message:i.message}),s.dirty());else if("emoji"===i.kind)n||(n=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),n.test(e.data)||(p(a=this._getOrReturnCtx(e,a),{validation:"emoji",code:o.invalid_string,message:i.message}),s.dirty());else if("uuid"===i.kind)I.test(e.data)||(p(a=this._getOrReturnCtx(e,a),{validation:"uuid",code:o.invalid_string,message:i.message}),s.dirty());else if("nanoid"===i.kind)P.test(e.data)||(p(a=this._getOrReturnCtx(e,a),{validation:"nanoid",code:o.invalid_string,message:i.message}),s.dirty());else if("cuid"===i.kind)C.test(e.data)||(p(a=this._getOrReturnCtx(e,a),{validation:"cuid",code:o.invalid_string,message:i.message}),s.dirty());else if("cuid2"===i.kind)O.test(e.data)||(p(a=this._getOrReturnCtx(e,a),{validation:"cuid2",code:o.invalid_string,message:i.message}),s.dirty());else if("ulid"===i.kind)A.test(e.data)||(p(a=this._getOrReturnCtx(e,a),{validation:"ulid",code:o.invalid_string,message:i.message}),s.dirty());else if("url"===i.kind)try{new URL(e.data)}catch(t){p(a=this._getOrReturnCtx(e,a),{validation:"url",code:o.invalid_string,message:i.message}),s.dirty()}else"regex"===i.kind?(i.regex.lastIndex=0,i.regex.test(e.data)||(p(a=this._getOrReturnCtx(e,a),{validation:"regex",code:o.invalid_string,message:i.message}),s.dirty())):"trim"===i.kind?e.data=e.data.trim():"includes"===i.kind?e.data.includes(i.value,i.position)||(p(a=this._getOrReturnCtx(e,a),{code:o.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),s.dirty()):"toLowerCase"===i.kind?e.data=e.data.toLowerCase():"toUpperCase"===i.kind?e.data=e.data.toUpperCase():"startsWith"===i.kind?e.data.startsWith(i.value)||(p(a=this._getOrReturnCtx(e,a),{code:o.invalid_string,validation:{startsWith:i.value},message:i.message}),s.dirty()):"endsWith"===i.kind?e.data.endsWith(i.value)||(p(a=this._getOrReturnCtx(e,a),{code:o.invalid_string,validation:{endsWith:i.value},message:i.message}),s.dirty()):"datetime"===i.kind?z(i).test(e.data)||(p(a=this._getOrReturnCtx(e,a),{code:o.invalid_string,validation:"datetime",message:i.message}),s.dirty()):"date"===i.kind?B.test(e.data)||(p(a=this._getOrReturnCtx(e,a),{code:o.invalid_string,validation:"date",message:i.message}),s.dirty()):"time"===i.kind?RegExp(`^${F(i)}$`).test(e.data)||(p(a=this._getOrReturnCtx(e,a),{code:o.invalid_string,validation:"time",message:i.message}),s.dirty()):"duration"===i.kind?M.test(e.data)||(p(a=this._getOrReturnCtx(e,a),{validation:"duration",code:o.invalid_string,message:i.message}),s.dirty()):"ip"===i.kind?(t=e.data,("v4"===(r=i.version)||!r)&&L.test(t)||("v6"===r||!r)&&j.test(t)||(p(a=this._getOrReturnCtx(e,a),{validation:"ip",code:o.invalid_string,message:i.message}),s.dirty())):"base64"===i.kind?N.test(e.data)||(p(a=this._getOrReturnCtx(e,a),{validation:"base64",code:o.invalid_string,message:i.message}),s.dirty()):tt.assertNever(i);return{status:s.value,value:e.data}}_regex(e,t,r){return this.refinement(t=>e.test(t),{validation:t,code:o.invalid_string,...tn.errToObj(r)})}_addCheck(e){return new H({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...tn.errToObj(e)})}url(e){return this._addCheck({kind:"url",...tn.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...tn.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...tn.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...tn.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...tn.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...tn.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...tn.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...tn.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...tn.errToObj(e)})}datetime(e){var t,r;return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,offset:null!==(t=null==e?void 0:e.offset)&&void 0!==t&&t,local:null!==(r=null==e?void 0:e.local)&&void 0!==r&&r,...tn.errToObj(null==e?void 0:e.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return"string"==typeof e?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,...tn.errToObj(null==e?void 0:e.message)})}duration(e){return this._addCheck({kind:"duration",...tn.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...tn.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:null==t?void 0:t.position,...tn.errToObj(null==t?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...tn.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...tn.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...tn.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...tn.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...tn.errToObj(t)})}nonempty(e){return this.min(1,tn.errToObj(e))}trim(){return new H({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new H({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new H({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)}
25get isDate(){return!!this._def.checks.find(e=>"date"===e.kind)}get isTime(){return!!this._def.checks.find(e=>"time"===e.kind)}get isDuration(){return!!this._def.checks.find(e=>"duration"===e.kind)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)}get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isNANOID(){return!!this._def.checks.find(e=>"nanoid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)}get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)}get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)}get isBase64(){return!!this._def.checks.find(e=>"base64"===e.kind)}get minLength(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}H.create=e=>{var t;return new H({checks:[],typeName:to.ZodString,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,..._(e)})};class V extends k{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){let t;if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==i.number){let t=this._getOrReturnCtx(e);return p(t,{code:o.invalid_type,expected:i.number,received:t.parsedType}),h}let r=new f;for(let n of this._def.checks)"int"===n.kind?tt.isInteger(e.data)||(p(t=this._getOrReturnCtx(e,t),{code:o.invalid_type,expected:"integer",received:"float",message:n.message}),r.dirty()):"min"===n.kind?(n.inclusive?e.data<n.value:e.data<=n.value)&&(p(t=this._getOrReturnCtx(e,t),{code:o.too_small,minimum:n.value,type:"number",inclusive:n.inclusive,exact:!1,message:n.message}),r.dirty()):"max"===n.kind?(n.inclusive?e.data>n.value:e.data>=n.value)&&(p(t=this._getOrReturnCtx(e,t),{code:o.too_big,maximum:n.value,type:"number",inclusive:n.inclusive,exact:!1,message:n.message}),r.dirty()):"multipleOf"===n.kind?0!==function(e,t){let r=(e.toString().split(".")[1]||"").length,n=(t.toString().split(".")[1]||"").length,i=r>n?r:n;return parseInt(e.toFixed(i).replace(".",""))%parseInt(t.toFixed(i).replace(".",""))/Math.pow(10,i)}(e.data,n.value)&&(p(t=this._getOrReturnCtx(e,t),{code:o.not_multiple_of,multipleOf:n.value,message:n.message}),r.dirty()):"finite"===n.kind?Number.isFinite(e.data)||(p(t=this._getOrReturnCtx(e,t),{code:o.not_finite,message:n.message}),r.dirty()):tt.assertNever(n);return{status:r.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,tn.toString(t))}gt(e,t){return this.setLimit("min",e,!1,tn.toString(t))}lte(e,t){return this.setLimit("max",e,!0,tn.toString(t))}lt(e,t){return this.setLimit("max",e,!1,tn.toString(t))}setLimit(e,t,r,n){return new V({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:tn.toString(n)}]})}_addCheck(e){return new V({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:tn.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:tn.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:tn.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:tn.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:tn.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:tn.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:tn.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:tn.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:tn.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>"int"===e.kind||"multipleOf"===e.kind&&tt.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let r of this._def.checks){if("finite"===r.kind||"int"===r.kind||"multipleOf"===r.kind)return!0;"min"===r.kind?(null===t||r.value>t)&&(t=r.value):"max"===r.kind&&(null===e||r.value<e)&&(e=r.value)}return Number.isFinite(t)&&Number.isFinite(e)}}V.create=e=>new V({checks:[],typeName:to.ZodNumber,coerce:(null==e?void 0:e.coerce)||!1,..._(e)});class $ extends k{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){let t;if(this._def.coerce&&(e.data=BigInt(e.data)),this._getType(e)!==i.bigint){let t=this._getOrReturnCtx(e);return p(t,{code:o.invalid_type,expected:i.bigint,received:t.parsedType}),h}let r=new f;for(let n of this._def.checks)"min"===n.kind?(n.inclusive?e.data<n.value:e.data<=n.value)&&(p(t=this._getOrReturnCtx(e,t),{code:o.too_small,type:"bigint",minimum:n.value,inclusive:n.inclusive,message:n.message}),r.dirty()):"max"===n.kind?(n.inclusive?e.data>n.value:e.data>=n.value)&&(p(t=this._getOrReturnCtx(e,t),{code:o.too_big,type:"bigint",maximum:n.value,inclusive:n.inclusive,message:n.message}),r.dirty()):"multipleOf"===n.kind?e.data%n.value!==BigInt(0)&&(p(t=this._getOrReturnCtx(e,t),{code:o.not_multiple_of,multipleOf:n.value,message:n.message}),r.dirty()):tt.assertNever(n);return{status:r.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,tn.toString(t))}gt(e,t){return this.setLimit("min",e,!1,tn.toString(t))}lte(e,t){return this.setLimit("max",e,!0,tn.toString(t))}lt(e,t){return this.setLimit("max",e,!1,tn.toString(t))}setLimit(e,t,r,n){return new $({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:tn.toString(n)}]})}_addCheck(e){return new $({...this._def,checks:[...this._def.checks,e]})}
25positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:tn.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:tn.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:tn.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:tn.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:tn.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}$.create=e=>{var t;return new $({checks:[],typeName:to.ZodBigInt,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,..._(e)})};class Z extends k{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==i.boolean){let t=this._getOrReturnCtx(e);return p(t,{code:o.invalid_type,expected:i.boolean,received:t.parsedType}),h}return g(e.data)}}Z.create=e=>new Z({typeName:to.ZodBoolean,coerce:(null==e?void 0:e.coerce)||!1,..._(e)});class U extends k{_parse(e){let t;if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==i.date){let t=this._getOrReturnCtx(e);return p(t,{code:o.invalid_type,expected:i.date,received:t.parsedType}),h}if(isNaN(e.data.getTime()))return p(this._getOrReturnCtx(e),{code:o.invalid_date}),h;let r=new f;for(let n of this._def.checks)"min"===n.kind?e.data.getTime()<n.value&&(p(t=this._getOrReturnCtx(e,t),{code:o.too_small,message:n.message,inclusive:!0,exact:!1,minimum:n.value,type:"date"}),r.dirty()):"max"===n.kind?e.data.getTime()>n.value&&(p(t=this._getOrReturnCtx(e,t),{code:o.too_big,message:n.message,inclusive:!0,exact:!1,maximum:n.value,type:"date"}),r.dirty()):tt.assertNever(n);return{status:r.value,value:new Date(e.data.getTime())}}_addCheck(e){return new U({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:tn.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:tn.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return null!=e?new Date(e):null}}U.create=e=>new U({checks:[],coerce:(null==e?void 0:e.coerce)||!1,typeName:to.ZodDate,..._(e)});class G extends k{_parse(e){if(this._getType(e)!==i.symbol){let t=this._getOrReturnCtx(e);return p(t,{code:o.invalid_type,expected:i.symbol,received:t.parsedType}),h}return g(e.data)}}G.create=e=>new G({typeName:to.ZodSymbol,..._(e)});class W extends k{_parse(e){if(this._getType(e)!==i.undefined){let t=this._getOrReturnCtx(e);return p(t,{code:o.invalid_type,expected:i.undefined,received:t.parsedType}),h}return g(e.data)}}W.create=e=>new W({typeName:to.ZodUndefined,..._(e)});class q extends k{_parse(e){if(this._getType(e)!==i.null){let t=this._getOrReturnCtx(e);return p(t,{code:o.invalid_type,expected:i.null,received:t.parsedType}),h}return g(e.data)}}q.create=e=>new q({typeName:to.ZodNull,..._(e)});class Y extends k{constructor(){super(...arguments),this._any=!0}_parse(e){return g(e.data)}}Y.create=e=>new Y({typeName:to.ZodAny,..._(e)});class K extends k{constructor(){super(...arguments),this._unknown=!0}_parse(e){return g(e.data)}}K.create=e=>new K({typeName:to.ZodUnknown,..._(e)});class X extends k{_parse(e){let t=this._getOrReturnCtx(e);return p(t,{code:o.invalid_type,expected:i.never,received:t.parsedType}),h}}X.create=e=>new X({typeName:to.ZodNever,..._(e)});class J extends k{_parse(e){if(this._getType(e)!==i.undefined){let t=this._getOrReturnCtx(e);return p(t,{code:o.invalid_type,expected:i.void,received:t.parsedType}),h}return g(e.data)}}J.create=e=>new J({typeName:to.ZodVoid,..._(e)});class Q extends k{_parse(e){let{ctx:t,status:r}=this._processInputParams(e),n=this._def;if(t.parsedType!==i.array)return p(t,{code:o.invalid_type,expected:i.array,received:t.parsedType}),h;if(null!==n.exactLength){let e=t.data.length>n.exactLength.value,i=t.data.length<n.exactLength.value;(e||i)&&(p(t,{code:e?o.too_big:o.too_small,minimum:i?n.exactLength.value:void 0,maximum:e?n.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:n.exactLength.message}),r.dirty())}if(null!==n.minLength&&t.data.length<n.minLength.value&&(p(t,{code:o.too_small,minimum:n.minLength.value,type:"array",inclusive:!0,exact:!1,message:n.minLength.message}),r.dirty()),null!==n.maxLength&&t.data.length>n.maxLength.value&&(p(t,{code:o.too_big,maximum:n.maxLength.value,type:"array",inclusive:!0,exact:!1,message:n.maxLength.message}),r.dirty()),t.common.async)return Promise.all([...t.data].map((e,r)=>n.type._parseAsync(new S(t,e,t.path,r)))).then(e=>f.mergeArray(r,e));let a=[...t.data].map((e,r)=>n.type._parseSync(new S(t,e,t.path,r)));return f.mergeArray(r,a)}
25get element(){return this._def.type}min(e,t){return new Q({...this._def,minLength:{value:e,message:tn.toString(t)}})}max(e,t){return new Q({...this._def,maxLength:{value:e,message:tn.toString(t)}})}length(e,t){return new Q({...this._def,exactLength:{value:e,message:tn.toString(t)}})}nonempty(e){return this.min(1,e)}}Q.create=(e,t)=>new Q({type:e,minLength:null,maxLength:null,exactLength:null,typeName:to.ZodArray,..._(t)});class ee extends k{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let e=this._def.shape(),t=tt.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==i.object){let t=this._getOrReturnCtx(e);return p(t,{code:o.invalid_type,expected:i.object,received:t.parsedType}),h}let{status:t,ctx:r}=this._processInputParams(e),{shape:n,keys:a}=this._getCached(),s=[];if(!(this._def.catchall instanceof X&&"strip"===this._def.unknownKeys))for(let e in r.data)a.includes(e)||s.push(e);let l=[];for(let e of a){let t=n[e],i=r.data[e];l.push({key:{status:"valid",value:e},value:t._parse(new S(r,i,r.path,e)),alwaysSet:e in r.data})}if(this._def.catchall instanceof X){let e=this._def.unknownKeys;if("passthrough"===e)for(let e of s)l.push({key:{status:"valid",value:e},value:{status:"valid",value:r.data[e]}});else if("strict"===e)s.length>0&&(p(r,{code:o.unrecognized_keys,keys:s}),t.dirty());else if("strip"===e);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let e=this._def.catchall;for(let t of s){let n=r.data[t];l.push({key:{status:"valid",value:t},value:e._parse(new S(r,n,r.path,t)),alwaysSet:t in r.data})}}return r.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of l){let r=await t.key,n=await t.value;e.push({key:r,value:n,alwaysSet:t.alwaysSet})}return e}).then(e=>f.mergeObjectSync(t,e)):f.mergeObjectSync(t,l)}get shape(){return this._def.shape()}strict(e){return tn.errToObj,new ee({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,r)=>{var n,i,a,o;let s=null!==(a=null===(i=(n=this._def).errorMap)||void 0===i?void 0:i.call(n,t,r).message)&&void 0!==a?a:r.defaultError;return"unrecognized_keys"===t.code?{message:null!==(o=tn.errToObj(e).message)&&void 0!==o?o:s}:{message:s}}}:{}})}strip(){return new ee({...this._def,unknownKeys:"strip"})}passthrough(){return new ee({...this._def,unknownKeys:"passthrough"})}extend(e){return new ee({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new ee({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:to.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new ee({...this._def,catchall:e})}pick(e){let t={};return tt.objectKeys(e).forEach(r=>{e[r]&&this.shape[r]&&(t[r]=this.shape[r])}),new ee({...this._def,shape:()=>t})}omit(e){let t={};return tt.objectKeys(this.shape).forEach(r=>{e[r]||(t[r]=this.shape[r])}),new ee({...this._def,shape:()=>t})}deepPartial(){return function e(t){if(t instanceof ee){let r={};for(let n in t.shape){let i=t.shape[n];r[n]=ev.create(e(i))}return new ee({...t._def,shape:()=>r})}return t instanceof Q?new Q({...t._def,type:e(t.element)}):t instanceof ev?ev.create(e(t.unwrap())):t instanceof ey?ey.create(e(t.unwrap())):t instanceof ea?ea.create(t.items.map(t=>e(t))):t}(this)}partial(e){let t={};return tt.objectKeys(this.shape).forEach(r=>{let n=this.shape[r];e&&!e[r]?t[r]=n:t[r]=n.optional()}),new ee({...this._def,shape:()=>t})}required(e){let t={};return tt.objectKeys(this.shape).forEach(r=>{if(e&&!e[r])t[r]=this.shape[r];else{let e=this.shape[r];for(;e instanceof ev;)e=e._def.innerType;t[r]=e}}),new ee({...this._def,shape:()=>t})}keyof(){return ep(tt.objectKeys(this.shape))}}ee.create=(e,t)=>new ee({shape:()=>e,unknownKeys:"strip",catchall:X.create(),typeName:to.ZodObject,..._(t)}),ee.strictCreate=(e,t)=>new ee({shape:()=>e,unknownKeys:"strict",catchall:X.create(),typeName:to.ZodObject,..._(t)}),ee.lazycreate=(e,t)=>new ee({shape:e,unknownKeys:"strip",catchall:X.create(),typeName:to.ZodObject,..._(t)});class et extends k{_parse(e){let{ctx:t}=this._processInputParams(e),r=this._def.options;if(t.common.async)return Promise.all(r.map(async e=>{let r={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:r}),ctx:r}})).then(function(e){for(let t of e)if("valid"===t.result.status)return t.result;for(let r of e)if("dirty"===r.result.status)return t.common.issues.push(...r.ctx.common.issues),r.result;let r=e.map(e=>new s(e.ctx.common.issues));return p(t,{code:o.invalid_union,unionErrors:r}),h});{let e;let n=[];for(let i of r){let r={...t,common:{...t.common,issues:[]},parent:null},a=i._parseSync({data:t.data,path:t.path,parent:r});if("valid"===a.status)return a;"dirty"!==a.status||e||(e={result:a,ctx:r}),r.common.issues.length&&n.push(r.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let i=n.map(e=>new s(e));return p(t,{code:o.invalid_union,unionErrors:i}),h}}get options(){return this._def.options}}et.create=(e,t)=>
25new et({options:e,typeName:to.ZodUnion,..._(t)});let er=e=>{if(e instanceof ec)return er(e.schema);if(e instanceof eg)return er(e.innerType());if(e instanceof ed)return[e.value];if(e instanceof ef)return e.options;if(e instanceof eh)return tt.objectValues(e.enum);if(e instanceof eb)return er(e._def.innerType);if(e instanceof W)return[void 0];else if(e instanceof q)return[null];else if(e instanceof ev)return[void 0,...er(e.unwrap())];else if(e instanceof ey)return[null,...er(e.unwrap())];else if(e instanceof eS)return er(e.unwrap());else if(e instanceof e_)return er(e.unwrap());else if(e instanceof ex)return er(e._def.innerType);else return[]};class en extends k{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==i.object)return p(t,{code:o.invalid_type,expected:i.object,received:t.parsedType}),h;let r=this.discriminator,n=t.data[r],a=this.optionsMap.get(n);return a?t.common.async?a._parseAsync({data:t.data,path:t.path,parent:t}):a._parseSync({data:t.data,path:t.path,parent:t}):(p(t,{code:o.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),h)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,r){let n=new Map;for(let r of t){let t=er(r.shape[e]);if(!t.length)throw Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let i of t){if(n.has(i))throw Error(`Discriminator property ${String(e)} has duplicate value ${String(i)}`);n.set(i,r)}}return new en({typeName:to.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:n,..._(r)})}}class ei extends k{_parse(e){let{status:t,ctx:r}=this._processInputParams(e),n=(e,n)=>{if(v(e)||v(n))return h;let s=function e(t,r){let n=a(t),o=a(r);if(t===r)return{valid:!0,data:t};if(n===i.object&&o===i.object){let n=tt.objectKeys(r),i=tt.objectKeys(t).filter(e=>-1!==n.indexOf(e)),a={...t,...r};for(let n of i){let i=e(t[n],r[n]);if(!i.valid)return{valid:!1};a[n]=i.data}return{valid:!0,data:a}}if(n===i.array&&o===i.array){if(t.length!==r.length)return{valid:!1};let n=[];for(let i=0;i<t.length;i++){let a=e(t[i],r[i]);if(!a.valid)return{valid:!1};n.push(a.data)}return{valid:!0,data:n}}return n===i.date&&o===i.date&&+t==+r?{valid:!0,data:t}:{valid:!1}}(e.value,n.value);return s.valid?((y(e)||y(n))&&t.dirty(),{status:t.value,value:s.data}):(p(r,{code:o.invalid_intersection_types}),h)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([e,t])=>n(e,t)):n(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}ei.create=(e,t,r)=>new ei({left:e,right:t,typeName:to.ZodIntersection,..._(r)});class ea extends k{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==i.array)return p(r,{code:o.invalid_type,expected:i.array,received:r.parsedType}),h;if(r.data.length<this._def.items.length)return p(r,{code:o.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),h;!this._def.rest&&r.data.length>this._def.items.length&&(p(r,{code:o.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let n=[...r.data].map((e,t)=>{let n=this._def.items[t]||this._def.rest;return n?n._parse(new S(r,e,r.path,t)):null}).filter(e=>!!e);return r.common.async?Promise.all(n).then(e=>f.mergeArray(t,e)):f.mergeArray(t,n)}get items(){return this._def.items}rest(e){return new ea({...this._def,rest:e})}}ea.create=(e,t)=>{if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new ea({items:e,typeName:to.ZodTuple,rest:null,..._(t)})};class eo extends k{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==i.object)return p(r,{code:o.invalid_type,expected:i.object,received:r.parsedType}),h;let n=[],a=this._def.keyType,s=this._def.valueType;for(let e in r.data)n.push({key:a._parse(new S(r,e,r.path,e)),value:s._parse(new S(r,r.data[e],r.path,e)),alwaysSet:e in r.data});return r.common.async?f.mergeObjectAsync(t,n):f.mergeObjectSync(t,n)}
25get element(){return this._def.valueType}static create(e,t,r){return new eo(t instanceof k?{keyType:e,valueType:t,typeName:to.ZodRecord,..._(r)}:{keyType:H.create(),valueType:e,typeName:to.ZodRecord,..._(t)})}}class es extends k{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==i.map)return p(r,{code:o.invalid_type,expected:i.map,received:r.parsedType}),h;let n=this._def.keyType,a=this._def.valueType,s=[...r.data.entries()].map(([e,t],i)=>({key:n._parse(new S(r,e,r.path,[i,"key"])),value:a._parse(new S(r,t,r.path,[i,"value"]))}));if(r.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let r of s){let n=await r.key,i=await r.value;if("aborted"===n.status||"aborted"===i.status)return h;("dirty"===n.status||"dirty"===i.status)&&t.dirty(),e.set(n.value,i.value)}return{status:t.value,value:e}})}{let e=new Map;for(let r of s){let n=r.key,i=r.value;if("aborted"===n.status||"aborted"===i.status)return h;("dirty"===n.status||"dirty"===i.status)&&t.dirty(),e.set(n.value,i.value)}return{status:t.value,value:e}}}}es.create=(e,t,r)=>new es({valueType:t,keyType:e,typeName:to.ZodMap,..._(r)});class el extends k{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==i.set)return p(r,{code:o.invalid_type,expected:i.set,received:r.parsedType}),h;let n=this._def;null!==n.minSize&&r.data.size<n.minSize.value&&(p(r,{code:o.too_small,minimum:n.minSize.value,type:"set",inclusive:!0,exact:!1,message:n.minSize.message}),t.dirty()),null!==n.maxSize&&r.data.size>n.maxSize.value&&(p(r,{code:o.too_big,maximum:n.maxSize.value,type:"set",inclusive:!0,exact:!1,message:n.maxSize.message}),t.dirty());let a=this._def.valueType;function s(e){let r=new Set;for(let n of e){if("aborted"===n.status)return h;"dirty"===n.status&&t.dirty(),r.add(n.value)}return{status:t.value,value:r}}let l=[...r.data.values()].map((e,t)=>a._parse(new S(r,e,r.path,t)));return r.common.async?Promise.all(l).then(e=>s(e)):s(l)}min(e,t){return new el({...this._def,minSize:{value:e,message:tn.toString(t)}})}max(e,t){return new el({...this._def,maxSize:{value:e,message:tn.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}el.create=(e,t)=>new el({valueType:e,minSize:null,maxSize:null,typeName:to.ZodSet,..._(t)});class eu extends k{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==i.function)return p(t,{code:o.invalid_type,expected:i.function,received:t.parsedType}),h;function r(e,r){return d({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,c(),l].filter(e=>!!e),issueData:{code:o.invalid_arguments,argumentsError:r}})}function n(e,r){return d({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,c(),l].filter(e=>!!e),issueData:{code:o.invalid_return_type,returnTypeError:r}})}let a={errorMap:t.common.contextualErrorMap},u=t.data;if(this._def.returns instanceof em){let e=this;return g(async function(...t){let i=new s([]),o=await e._def.args.parseAsync(t,a).catch(e=>{throw i.addIssue(r(t,e)),i}),l=await Reflect.apply(u,this,o);return await e._def.returns._def.type.parseAsync(l,a).catch(e=>{throw i.addIssue(n(l,e)),i})})}{let e=this;return g(function(...t){let i=e._def.args.safeParse(t,a);if(!i.success)throw new s([r(t,i.error)]);let o=Reflect.apply(u,this,i.data),l=e._def.returns.safeParse(o,a);if(!l.success)throw new s([n(o,l.error)]);return l.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new eu({...this._def,args:ea.create(e).rest(K.create())})}returns(e){return new eu({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,r){return new eu({args:e||ea.create([]).rest(K.create()),returns:t||K.create(),typeName:to.ZodFunction,..._(r)})}}class ec extends k{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}ec.create=(e,t)=>
25new ec({getter:e,typeName:to.ZodLazy,..._(t)});class ed extends k{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return p(t,{received:t.data,code:o.invalid_literal,expected:this._def.value}),h}return{status:"valid",value:e.data}}get value(){return this._def.value}}function ep(e,t){return new ef({values:e,typeName:to.ZodEnum,..._(t)})}ed.create=(e,t)=>new ed({value:e,typeName:to.ZodLiteral,..._(t)});class ef extends k{constructor(){super(...arguments),ti.set(this,void 0)}_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),r=this._def.values;return p(t,{expected:tt.joinValues(r),received:t.parsedType,code:o.invalid_type}),h}if(w(this,ti,"f")||E(this,ti,new Set(this._def.values),"f"),!w(this,ti,"f").has(e.data)){let t=this._getOrReturnCtx(e),r=this._def.values;return p(t,{received:t.data,code:o.invalid_enum_value,options:r}),h}return g(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return ef.create(e,{...this._def,...t})}exclude(e,t=this._def){return ef.create(this.options.filter(t=>!e.includes(t)),{...this._def,...t})}}ti=new WeakMap,ef.create=ep;class eh extends k{constructor(){super(...arguments),ta.set(this,void 0)}_parse(e){let t=tt.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(e);if(r.parsedType!==i.string&&r.parsedType!==i.number){let e=tt.objectValues(t);return p(r,{expected:tt.joinValues(e),received:r.parsedType,code:o.invalid_type}),h}if(w(this,ta,"f")||E(this,ta,new Set(tt.getValidEnumValues(this._def.values)),"f"),!w(this,ta,"f").has(e.data)){let e=tt.objectValues(t);return p(r,{received:r.data,code:o.invalid_enum_value,options:e}),h}return g(e.data)}get enum(){return this._def.values}}ta=new WeakMap,eh.create=(e,t)=>new eh({values:e,typeName:to.ZodNativeEnum,..._(t)});class em extends k{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);return t.parsedType!==i.promise&&!1===t.common.async?(p(t,{code:o.invalid_type,expected:i.promise,received:t.parsedType}),h):g((t.parsedType===i.promise?t.data:Promise.resolve(t.data)).then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}em.create=(e,t)=>new em({type:e,typeName:to.ZodPromise,..._(t)});class eg extends k{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===to.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:r}=this._processInputParams(e),n=this._def.effect||null,i={addIssue:e=>{p(r,e),e.fatal?t.abort():t.dirty()},get path(){return r.path}};if(i.addIssue=i.addIssue.bind(i),"preprocess"===n.type){let e=n.transform(r.data,i);if(r.common.async)return Promise.resolve(e).then(async e=>{if("aborted"===t.value)return h;let n=await this._def.schema._parseAsync({data:e,path:r.path,parent:r});return"aborted"===n.status?h:"dirty"===n.status||"dirty"===t.value?m(n.value):n});{if("aborted"===t.value)return h;let n=this._def.schema._parseSync({data:e,path:r.path,parent:r});return"aborted"===n.status?h:"dirty"===n.status||"dirty"===t.value?m(n.value):n}}if("refinement"===n.type){let e=e=>{let t=n.refinement(e,i);if(r.common.async)return Promise.resolve(t);if(t instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1!==r.common.async)return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(r=>"aborted"===r.status?h:("dirty"===r.status&&t.dirty(),e(r.value).then(()=>({status:t.value,value:r.value}))));{let n=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return"aborted"===n.status?h:("dirty"===n.status&&t.dirty(),e(n.value),{status:t.value,value:n.value})}}if("transform"===n.type){if(!1!==r.common.async)return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(e=>b(e)?Promise.resolve(n.transform(e.value,i)).then(e=>({status:t.value,value:e})):e);{let e=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!b(e))return e;let a=n.transform(e.value,i);if(a instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:a}}}tt.assertNever(n)}}eg.create=(e,t,r)=>new eg({schema:e,typeName:to.ZodEffects,effect:t,..._(r)}),eg.createWithPreprocess=(e,t,r)=>new eg({schema:t,effect:{type:"preprocess",transform:e},typeName:to.ZodEffects,..._(r)});class ev extends k{_parse(e){return this._getType(e)===i.undefined?g(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}ev.create=(e,t)=>
25new ev({innerType:e,typeName:to.ZodOptional,..._(t)});class ey extends k{_parse(e){return this._getType(e)===i.null?g(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}ey.create=(e,t)=>new ey({innerType:e,typeName:to.ZodNullable,..._(t)});class eb extends k{_parse(e){let{ctx:t}=this._processInputParams(e),r=t.data;return t.parsedType===i.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}eb.create=(e,t)=>new eb({innerType:e,typeName:to.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,..._(t)});class ex extends k{_parse(e){let{ctx:t}=this._processInputParams(e),r={...t,common:{...t.common,issues:[]}},n=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return x(n)?n.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new s(r.common.issues)},input:r.data})})):{status:"valid",value:"valid"===n.status?n.value:this._def.catchValue({get error(){return new s(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}ex.create=(e,t)=>new ex({innerType:e,typeName:to.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,..._(t)});class ew extends k{_parse(e){if(this._getType(e)!==i.nan){let t=this._getOrReturnCtx(e);return p(t,{code:o.invalid_type,expected:i.nan,received:t.parsedType}),h}return{status:"valid",value:e.data}}}ew.create=e=>new ew({typeName:to.ZodNaN,..._(e)});let eE=Symbol("zod_brand");class eS extends k{_parse(e){let{ctx:t}=this._processInputParams(e),r=t.data;return this._def.type._parse({data:r,path:t.path,parent:t})}unwrap(){return this._def.type}}class eT extends k{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.common.async)return(async()=>{let e=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return"aborted"===e.status?h:"dirty"===e.status?(t.dirty(),m(e.value)):this._def.out._parseAsync({data:e.value,path:r.path,parent:r})})();{let e=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return"aborted"===e.status?h:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:r.path,parent:r})}}static create(e,t){return new eT({in:e,out:t,typeName:to.ZodPipeline})}}class e_ extends k{_parse(e){let t=this._def.innerType._parse(e),r=e=>(b(e)&&(e.value=Object.freeze(e.value)),e);return x(t)?t.then(e=>r(e)):r(t)}unwrap(){return this._def.innerType}}function ek(e,t={},r){return e?Y.create().superRefine((n,i)=>{var a,o;if(!e(n)){let e="function"==typeof t?t(n):"string"==typeof t?{message:t}:t,s=null===(o=null!==(a=e.fatal)&&void 0!==a?a:r)||void 0===o||o;i.addIssue({code:"custom",..."string"==typeof e?{message:e}:e,fatal:s})}}):Y.create()}e_.create=(e,t)=>new e_({innerType:e,typeName:to.ZodReadonly,..._(t)});let eC={object:ee.lazycreate};(te=to||(to={})).ZodString="ZodString",te.ZodNumber="ZodNumber",te.ZodNaN="ZodNaN",te.ZodBigInt="ZodBigInt",te.ZodBoolean="ZodBoolean",te.ZodDate="ZodDate",te.ZodSymbol="ZodSymbol",te.ZodUndefined="ZodUndefined",te.ZodNull="ZodNull",te.ZodAny="ZodAny",te.ZodUnknown="ZodUnknown",te.ZodNever="ZodNever",te.ZodVoid="ZodVoid",te.ZodArray="ZodArray",te.ZodObject="ZodObject",te.ZodUnion="ZodUnion",te.ZodDiscriminatedUnion="ZodDiscriminatedUnion",te.ZodIntersection="ZodIntersection",te.ZodTuple="ZodTuple",te.ZodRecord="ZodRecord",te.ZodMap="ZodMap",te.ZodSet="ZodSet",te.ZodFunction="ZodFunction",te.ZodLazy="ZodLazy",te.ZodLiteral="ZodLiteral",te.ZodEnum="ZodEnum",te.ZodEffects="ZodEffects",te.ZodNativeEnum="ZodNativeEnum",te.ZodOptional="ZodOptional",te.ZodNullable="ZodNullable",te.ZodDefault="ZodDefault",te.ZodCatch="ZodCatch",te.ZodPromise="ZodPromise",te.ZodBranded="ZodBranded",te.ZodPipeline="ZodPipeline",te.ZodReadonly="ZodReadonly";let eO=H.create,eA=V.create,eI=ew.create,eP=$.create,eM=Z.create,eR=U.create,eL=G.create,ej=W.create,eN=q.create,eD=Y.create,eB=K.create,eF=X.create,ez=J.create,eH=Q.create,eV=ee.create,e$=ee.strictCreate,eZ=et.create,eU=en.create,eG=ei.create,eW=ea.create,eq=eo.create,eY=es.create,eK=el.create,eX=eu.create,eJ=ec.create,eQ=ed.create,e0=ef.create,e1=eh.create,e2=em.create,e3=eg.create,e5=ev.create,e8=ey.create,e6=eg.createWithPreprocess,e4=eT.create;var e9,e7,te,tt,tr,tn,ti,ta,to,ts=Object.freeze({__proto__:null,defaultErrorMap:l,setErrorMap:function(e){u=e},getErrorMap:c,makeIssue:d,EMPTY_PATH:[],addIssueToContext:p,ParseStatus:f,INVALID:h,DIRTY:m,OK:g,isAborted:v,isDirty:y,isValid:b,isAsync:x,get util(){return tt},get objectUtil(){return tr},ZodParsedType:i,getParsedType:a,ZodType:k,datetimeRegex:z,ZodString:H,ZodNumber:V,ZodBigInt:$,ZodBoolean:Z,ZodDate:U,ZodSymbol:G,ZodUndefined:W,ZodNull:q,ZodAny:Y,ZodUnknown:K,ZodNever:X,ZodVoid:J,ZodArray:Q,ZodObject:ee,ZodUnion:et,ZodDiscriminatedUnion:en,ZodIntersection:ei,ZodTuple:ea,ZodRecord:eo,ZodMap:es,ZodSet:el,ZodFunction:eu,ZodLazy:ec,ZodLiteral:ed,ZodEnum:ef,ZodNativeEnum:eh,ZodPromise:em,ZodEffects:eg,ZodTransformer:eg,ZodOptional:ev,ZodNullable:ey,ZodDefault:eb,ZodCatch:ex,ZodNaN:ew,BRAND:eE,ZodBranded:eS,ZodPipeline:eT,ZodReadonly:e_,custom:ek,Schema:k,ZodSchema:k,late:eC,get ZodFirstPartyTypeKind(){return to},coerce:{string:e=>H.create({...e,coerce:!0}),number:e=>V.create({...e,coerce:!0}),boolean:e=>Z.create({...e,coerce:!0}),bigint:e=>$.create({...e,coerce:!0}),date:e=>U.create({...e,coerce:!0})},any:eD,array:eH,bigint:eP,boolean:eM,date:eR,discriminatedUnion:eU,effect:e3,enum:e0,function:eX,instanceof:(e,t={message:`Input not instance of ${e.name}`})=>ek(t=>t instanceof e,t),intersection:eG,lazy:eJ,literal:eQ,map:eY,nan:eI,nativeEnum:e1,never:eF,null:eN,nullable:e8,number:eA,object:eV,oboolean:()=>eM().optional(),onumber:()=>eA().optional(),optional:e5,ostring:()=>eO().optional(),pipeline:e4,preprocess:e6,promise:e2,record:eq,set:eK,strictObject:e$,string:eO,symbol
25:eL,transformer:e3,tuple:eW,undefined:ej,union:eZ,unknown:eB,void:ez,NEVER:h,ZodIssueCode:o,quotelessJson:e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:"),ZodError:s})},46893:function(e){"use strict";e.exports=JSON.parse('{"id":"google-analytics","description":"Install a Google Analytics tag on your website","website":"https://analytics.google.com/analytics/web/","scripts":[{"url":"https://www.googletagmanager.com/gtag/js","params":["id"],"strategy":"worker","location":"head","action":"append"},{"code":"window.dataLayer=window.dataLayer||[];window.gtag=function gtag(){window.dataLayer.push(arguments);};gtag(\'js\',new Date());gtag(\'config\',\'${args.id}\')","strategy":"worker","location":"head","action":"append"}]}')},46362:function(e){"use strict";e.exports=JSON.parse('{"id":"google-maps-embed","description":"Embed a Google Maps embed on your webpage","website":"https://developers.google.com/maps/documentation/embed/get-started","html":{"element":"iframe","attributes":{"loading":"lazy","src":{"url":"https://www.google.com/maps/embed/v1/place","slugParam":"mode","params":["key","q","center","zoom","maptype","language","region"]},"referrerpolicy":"no-referrer-when-downgrade","frameborder":"0","style":"border:0","allowfullscreen":true,"width":null,"height":null}}}')},95825:function(e){"use strict";e.exports=JSON.parse('{"id":"youtube-embed","description":"Embed a YouTube embed on your webpage.","website":"https://github.com/paulirish/lite-youtube-embed","html":{"element":"lite-youtube","attributes":{"videoid":null,"playlabel":null}},"stylesheets":["https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.css"],"scripts":[{"url":"https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.js","strategy":"idle","location":"head","action":"append"}]}')}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.